From 603feb630adce9fc03fe3088f6eb5cf66473273e Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 22 Aug 2017 12:34:47 +0300 Subject: [PATCH 001/601] Update redminekeys. --- redmine-net20-api/RedmineKeys.cs | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/redmine-net20-api/RedmineKeys.cs b/redmine-net20-api/RedmineKeys.cs index f47c6d07..82d85b21 100644 --- a/redmine-net20-api/RedmineKeys.cs +++ b/redmine-net20-api/RedmineKeys.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2016 - 2017 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -139,10 +139,18 @@ public static class RedmineKeys /// /// /// + public const string DIGEST = "digest"; + /// + /// + /// public const string DONE_RATIO = "done_ratio"; /// /// /// + public const string DOWNLOADS = "downloads"; + /// + /// + /// public const string DUE_DATE = "due_date"; /// /// @@ -175,6 +183,10 @@ public static class RedmineKeys /// /// /// + public const string FILE = "file"; + /// + /// + /// public const string FILENAME = "filename"; /// /// @@ -548,7 +560,6 @@ public static class RedmineKeys /// /// public const string TOTAL_COUNT = "total_count"; - /// /// /// @@ -614,6 +625,10 @@ public static class RedmineKeys /// /// /// + public const string VERSION_ID = "version_id"; + /// + /// + /// public const string VISIBLE = "visible"; /// /// From b52cb3ea1c85f90226daf66a1c907dc35dbf5687 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 22 Aug 2017 12:35:00 +0300 Subject: [PATCH 002/601] Add File type. --- redmine-net20-api/Types/File.cs | 163 +++++++++++++++++++++ redmine-net20-api/redmine-net20-api.csproj | 1 + 2 files changed, 164 insertions(+) create mode 100644 redmine-net20-api/Types/File.cs diff --git a/redmine-net20-api/Types/File.cs b/redmine-net20-api/Types/File.cs new file mode 100644 index 00000000..c312fdc4 --- /dev/null +++ b/redmine-net20-api/Types/File.cs @@ -0,0 +1,163 @@ +/* + Copyright 2011 - 2017 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + + + +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Internals; +using System; +using System.Xml; +using System.Xml.Schema; +using System.Xml.Serialization; + +namespace Redmine.Net.Api.Types +{ + [XmlRoot(RedmineKeys.FILE)] + public class File : Identifiable, IEquatable, IXmlSerializable + { + + [XmlElement(RedmineKeys.FILENAME)] + public string Filename { get; set; } + + [XmlElement(RedmineKeys.FILESIZE)] + public int Filesize { get; set; } + + [XmlElement(RedmineKeys.CONTENT_TYPE)] + public string ContentType { get; set; } + + [XmlElement(RedmineKeys.DESCRIPTION)] + public string Description { get; set; } + + [XmlElement(RedmineKeys.CONTENT_URL)] + public string ContentUrl { get; set; } + + [XmlElement(RedmineKeys.AUTHOR)] + public IdentifiableName Author { get; set; } + + [XmlElement(RedmineKeys.CREATED_ON)] + public DateTime? CreatedOn { get; set; } + + [XmlElement(RedmineKeys.VERSION)] + public IdentifiableName Version { get; set; } + + [XmlElement(RedmineKeys.DIGEST)] + public string Digest { get; set; } + + [XmlElement(RedmineKeys.DOWNLOADS)] + public int Downloads { get; set; } + + [XmlElement(RedmineKeys.TOKEN)] + public string Token { get; set; } + + public bool Equals(File other) + { + if (other == null) return false; + return (Id == other.Id + && Filename == other.Filename + && Filesize == other.Filesize + && Description == other.Description + && ContentType == other.ContentType + && ContentUrl == other.ContentUrl + && Author ==other.Author + && CreatedOn == other.CreatedOn + && Version == other.Version + && Digest == other.Digest + && Downloads == other.Downloads + && Token == other.Token + ); + } + + public override int GetHashCode() + { + var hashCode = base.GetHashCode(); + + hashCode = HashCodeHelper.GetHashCode(Filename, hashCode); + hashCode = HashCodeHelper.GetHashCode(Filesize, hashCode); + hashCode = HashCodeHelper.GetHashCode(ContentType, hashCode); + hashCode = HashCodeHelper.GetHashCode(Description, hashCode); + hashCode = HashCodeHelper.GetHashCode(Author, hashCode); + hashCode = HashCodeHelper.GetHashCode(ContentUrl, hashCode); + + hashCode = HashCodeHelper.GetHashCode(Author, hashCode); + hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(Version, hashCode); + hashCode = HashCodeHelper.GetHashCode(Digest, hashCode); + hashCode = HashCodeHelper.GetHashCode(Downloads, hashCode); + + return hashCode; + } + + public override string ToString() + { + return $"[File: Id={Id}, Name={Filename}]"; + } + + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as File); + } + + public XmlSchema GetSchema() + { + return null; + } + + public void ReadXml(XmlReader reader) + { + reader.Read(); + + while (!reader.EOF) + { + if (reader.IsEmptyElement && !reader.HasAttributes) + { + reader.Read(); + continue; + } + + switch (reader.Name) + { + case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; + case RedmineKeys.FILENAME: Filename = reader.ReadElementContentAsString(); break; + case RedmineKeys.FILESIZE: Filesize = reader.ReadElementContentAsInt(); break; + case RedmineKeys.CONTENT_TYPE: ContentType = reader.ReadElementContentAsString(); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; + case RedmineKeys.CONTENT_URL: ContentUrl = reader.ReadElementContentAsString(); break; + case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; + case RedmineKeys.CREATED_ON:CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.VERSION: Version = new IdentifiableName(reader); break; + case RedmineKeys.VERSION_ID: Version = new IdentifiableName() {Id = reader.ReadElementContentAsInt()}; break; + case RedmineKeys.DIGEST: Digest = reader.ReadElementContentAsString(); break; + case RedmineKeys.DOWNLOADS: Downloads = reader.ReadElementContentAsInt(); break; + case RedmineKeys.TOKEN:Token = reader.ReadElementContentAsString(); break; + default: + reader.Read(); + break; + } + } + } + + public void WriteXml(XmlWriter writer) + { + writer.WriteElementString(RedmineKeys.TOKEN, Token); + writer.WriteIdIfNotNull(Version, RedmineKeys.VERSION_ID); + writer.WriteElementString(RedmineKeys.FILENAME, Filename); + writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); + } + } +} \ No newline at end of file diff --git a/redmine-net20-api/redmine-net20-api.csproj b/redmine-net20-api/redmine-net20-api.csproj index 3a8feaa8..a745a7c6 100644 --- a/redmine-net20-api/redmine-net20-api.csproj +++ b/redmine-net20-api/redmine-net20-api.csproj @@ -80,6 +80,7 @@ + From 500ed5a95c4cfd3fdeedaabf5c39d52f4ece241e Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 22 Aug 2017 12:35:21 +0300 Subject: [PATCH 003/601] Update nuspec. --- redmine-net-api-signed.nuspec | 6 +++++- redmine-net-api.nuspec | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/redmine-net-api-signed.nuspec b/redmine-net-api-signed.nuspec index c509e083..d3710bf7 100755 --- a/redmine-net-api-signed.nuspec +++ b/redmine-net-api-signed.nuspec @@ -12,7 +12,7 @@ false Redmine .NET API is a communication library for Redmine project management application. - Copyright 2011 - 2016 + Copyright 2011 - 2017 en-GB Redmine API .NET Signed C# @@ -26,6 +26,10 @@ + + + + \ No newline at end of file diff --git a/redmine-net-api.nuspec b/redmine-net-api.nuspec index f5dc4a37..cfb8640c 100755 --- a/redmine-net-api.nuspec +++ b/redmine-net-api.nuspec @@ -12,7 +12,7 @@ false Redmine .NET API is a communication library for Redmine project management application. - Copyright 2011 - 2016 + Copyright 2011 - 2017 en-GB Redmine API .NET C# @@ -29,6 +29,9 @@ + + + \ No newline at end of file From b846f2a3f222b3a84ff08b21754cafcf7d6b1e4a Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 22 Aug 2017 13:28:44 +0300 Subject: [PATCH 004/601] Add File type to projects. --- redmine-net20-api/Internals/UrlHelper.cs | 30 ++++- redmine-net20-api/Types/File.cs | 2 +- .../redmine-net40-api-signed.csproj | 9 +- .../Internals/RedmineSerializerJson.cs | 3 +- .../JSonConverters/FileConverter.cs | 111 ++++++++++++++++++ redmine-net40-api/redmine-net40-api.csproj | 4 + .../redmine-net45-api-signed.csproj | 7 ++ redmine-net45-api/redmine-net45-api.csproj | 7 ++ .../redmine-net451-api-signed.csproj | 7 ++ redmine-net451-api/redmine-net451-api.csproj | 7 ++ .../redmine-net452-api-signed.csproj | 7 ++ redmine-net452-api/redmine-net452-api.csproj | 7 ++ .../Tests/Async/AttachmentAsyncTests.cs | 2 +- .../Tests/Sync/AttachmentTests.cs | 2 +- 14 files changed, 197 insertions(+), 8 deletions(-) create mode 100644 redmine-net40-api/JSonConverters/FileConverter.cs diff --git a/redmine-net20-api/Internals/UrlHelper.cs b/redmine-net20-api/Internals/UrlHelper.cs index 54dd765c..d40e30fa 100755 --- a/redmine-net20-api/Internals/UrlHelper.cs +++ b/redmine-net20-api/Internals/UrlHelper.cs @@ -56,8 +56,14 @@ internal static class UrlHelper const string ATTACHMENT_UPDATE_FORMAT = "{0}/attachments/issues/{1}.{2}"; /// + /// /// - const string CURRENT_USER_URI = "current"; + const string FILE_URL_FORMAT = "{0}/projects/{1}/files.{2}"; + + + /// + /// + const string CURRENT_USER_URI = "current"; /// /// Gets the upload URL. /// @@ -111,6 +117,15 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id, T ownerId, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLower()); } + if (type == typeof(File)) + { + if (string.IsNullOrEmpty(ownerId)) + { + throw new RedmineException("The owner id(project id) is mandatory!"); + } + return string.Format(FILE_URL_FORMAT, redmineManager.Host, ownerId, redmineManager.MimeFormat.ToString().ToLower()); + } + return string.Format(FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLower()); } @@ -190,7 +205,18 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle return string.Format(ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.ISSUES, issueId, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLower()); } - return string.Format(FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], + + if (type == typeof(File)) + { + var projectId = parameters.GetParameterValue(RedmineKeys.PROJECT_ID); + if (string.IsNullOrEmpty(projectId)) + { + throw new RedmineException("The project id is mandatory! \nCheck if you have included the parameter project_id to parameters."); + } + return string.Format(FILE_URL_FORMAT, redmineManager.Host, projectId, redmineManager.MimeFormat.ToString().ToLower()); + } + + return string.Format(FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLower()); } diff --git a/redmine-net20-api/Types/File.cs b/redmine-net20-api/Types/File.cs index c312fdc4..a6cfde2a 100644 --- a/redmine-net20-api/Types/File.cs +++ b/redmine-net20-api/Types/File.cs @@ -102,7 +102,7 @@ public override int GetHashCode() public override string ToString() { - return $"[File: Id={Id}, Name={Filename}]"; + return string.Format("[File: Id={0}, Name={1}]", Id, Filename); } public override bool Equals(object obj) diff --git a/redmine-net40-api-signed/redmine-net40-api-signed.csproj b/redmine-net40-api-signed/redmine-net40-api-signed.csproj index 8d333ac4..5245331d 100644 --- a/redmine-net40-api-signed/redmine-net40-api-signed.csproj +++ b/redmine-net40-api-signed/redmine-net40-api-signed.csproj @@ -70,10 +70,9 @@ - + Internals\HashCodeHelper.cs - Internals\DataHelper.cs @@ -159,6 +158,9 @@ Types\Error.cs + + Types\File.cs + Types\Group.cs @@ -321,6 +323,9 @@ JsonConverters\ErrorConverter.cs + + JsonConverters\FileConverter.cs + JsonConverters\GroupConverter.cs diff --git a/redmine-net40-api/Internals/RedmineSerializerJson.cs b/redmine-net40-api/Internals/RedmineSerializerJson.cs index 65a9be98..a01850f5 100755 --- a/redmine-net40-api/Internals/RedmineSerializerJson.cs +++ b/redmine-net40-api/Internals/RedmineSerializerJson.cs @@ -71,7 +71,8 @@ internal static partial class RedmineSerializer {typeof (ProjectEnabledModule), new ProjectEnabledModuleConverter()}, {typeof (CustomField), new CustomFieldConverter()}, {typeof (CustomFieldRole), new CustomFieldRoleConverter()}, - {typeof (CustomFieldPossibleValue), new CustomFieldPossibleValueConverter()} + {typeof (CustomFieldPossibleValue), new CustomFieldPossibleValueConverter()}, + {typeof (File), new FileConverter() } }; /// diff --git a/redmine-net40-api/JSonConverters/FileConverter.cs b/redmine-net40-api/JSonConverters/FileConverter.cs new file mode 100644 index 00000000..8ce81be5 --- /dev/null +++ b/redmine-net40-api/JSonConverters/FileConverter.cs @@ -0,0 +1,111 @@ +/* + Copyright 2011 - 2017 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Types; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class FileConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var file = new File { }; + + file.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); + file.ContentType = dictionary.GetValue(RedmineKeys.CONTENT_TYPE); + file.ContentUrl = dictionary.GetValue(RedmineKeys.CONTENT_URL); + file.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); + file.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); + file.Digest = dictionary.GetValue(RedmineKeys.DIGEST); + file.Downloads = dictionary.GetValue(RedmineKeys.DOWNLOADS); + file.Filename = dictionary.GetValue(RedmineKeys.FILENAME); + file.Filesize = dictionary.GetValue(RedmineKeys.FILESIZE); + file.Id = dictionary.GetValue(RedmineKeys.ID); + file.Token = dictionary.GetValue(RedmineKeys.TOKEN); + var versionId = dictionary.GetValue(RedmineKeys.VERSION_ID); + if (versionId.HasValue) + { + file.Version = new IdentifiableName { Id = versionId.Value }; + } + else + { + file.Version = dictionary.GetValueAsIdentifiableName(RedmineKeys.VERSION); + } + return file; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object’s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as File; + var result = new Dictionary(); + + if (entity != null) + { + result.Add(RedmineKeys.TOKEN, entity.Token); + result.WriteIdIfNotNull(entity.Version, RedmineKeys.VERSION_ID); + result.Add(RedmineKeys.FILENAME, entity.Filename); + result.Add(RedmineKeys.DESCRIPTION, entity.Description); + + var root = new Dictionary(); + root[RedmineKeys.FILE] = result; + return root; + } + return result; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] { typeof(File) }); } + } + + #endregion + } +} \ No newline at end of file diff --git a/redmine-net40-api/redmine-net40-api.csproj b/redmine-net40-api/redmine-net40-api.csproj index 2deafd0e..ff52cf1f 100644 --- a/redmine-net40-api/redmine-net40-api.csproj +++ b/redmine-net40-api/redmine-net40-api.csproj @@ -150,6 +150,9 @@ Types\Error.cs + + Types\File.cs + Types\Group.cs @@ -277,6 +280,7 @@ + diff --git a/redmine-net45-api-signed/redmine-net45-api-signed.csproj b/redmine-net45-api-signed/redmine-net45-api-signed.csproj index 9172bd43..b1d41cb3 100644 --- a/redmine-net45-api-signed/redmine-net45-api-signed.csproj +++ b/redmine-net45-api-signed/redmine-net45-api-signed.csproj @@ -156,6 +156,10 @@ Types\Error.cs + + Types\File.cs + + Types\Group.cs @@ -318,6 +322,9 @@ JsonConverters\ErrorConverter.cs + + JsonConverters\FileConverter.cs + JsonConverters\GroupConverter.cs diff --git a/redmine-net45-api/redmine-net45-api.csproj b/redmine-net45-api/redmine-net45-api.csproj index 3daa21aa..f2279076 100644 --- a/redmine-net45-api/redmine-net45-api.csproj +++ b/redmine-net45-api/redmine-net45-api.csproj @@ -150,6 +150,10 @@ Types\Error.cs + + Types\File.cs + + Types\Group.cs @@ -309,6 +313,9 @@ JSonConverters\ErrorConverter.cs + + JsonConverters\FileConverter.cs + JSonConverters\GroupConverter.cs diff --git a/redmine-net451-api-signed/redmine-net451-api-signed.csproj b/redmine-net451-api-signed/redmine-net451-api-signed.csproj index 0e1ccaf8..10f3170c 100644 --- a/redmine-net451-api-signed/redmine-net451-api-signed.csproj +++ b/redmine-net451-api-signed/redmine-net451-api-signed.csproj @@ -134,6 +134,10 @@ Types\Error.cs + + Types\File.cs + + Types\Group.cs @@ -296,6 +300,9 @@ JsonConverters\ErrorConverter.cs + + JsonConverters\FileConverter.cs + JsonConverters\GroupConverter.cs diff --git a/redmine-net451-api/redmine-net451-api.csproj b/redmine-net451-api/redmine-net451-api.csproj index 7ab73476..ae7b5695 100644 --- a/redmine-net451-api/redmine-net451-api.csproj +++ b/redmine-net451-api/redmine-net451-api.csproj @@ -128,6 +128,10 @@ Types\Error.cs + + Types\File.cs + + Types\Group.cs @@ -290,6 +294,9 @@ JsonConverters\ErrorConverter.cs + + JsonConverters\FileConverter.cs + JsonConverters\GroupConverter.cs diff --git a/redmine-net452-api-signed/redmine-net452-api-signed.csproj b/redmine-net452-api-signed/redmine-net452-api-signed.csproj index c85bf5bc..893dfe0c 100644 --- a/redmine-net452-api-signed/redmine-net452-api-signed.csproj +++ b/redmine-net452-api-signed/redmine-net452-api-signed.csproj @@ -125,6 +125,10 @@ Types\Error.cs + + Types\File.cs + + Types\Group.cs @@ -287,6 +291,9 @@ JsonConverters\ErrorConverter.cs + + JsonConverters\FileConverter.cs + JsonConverters\GroupConverter.cs diff --git a/redmine-net452-api/redmine-net452-api.csproj b/redmine-net452-api/redmine-net452-api.csproj index 997b0eb1..deef5251 100644 --- a/redmine-net452-api/redmine-net452-api.csproj +++ b/redmine-net452-api/redmine-net452-api.csproj @@ -126,6 +126,10 @@ Types\Error.cs + + Types\File.cs + + Types\Group.cs @@ -288,6 +292,9 @@ JsonConverters\ErrorConverter.cs + + JsonConverters\FileConverter.cs + JsonConverters\GroupConverter.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Async/AttachmentAsyncTests.cs b/xUnitTest-redmine-net45-api/Tests/Async/AttachmentAsyncTests.cs index 3af7db79..83d536e0 100755 --- a/xUnitTest-redmine-net45-api/Tests/Async/AttachmentAsyncTests.cs +++ b/xUnitTest-redmine-net45-api/Tests/Async/AttachmentAsyncTests.cs @@ -34,7 +34,7 @@ public async Task Should_Upload_Attachment() { //read document from specified path string documentPath = AppDomain.CurrentDomain.BaseDirectory+ "/uploadAttachment.pages"; - byte[] documentData = File.ReadAllBytes(documentPath); + byte[] documentData = System.IO.File.ReadAllBytes(documentPath); //upload attachment to redmine Upload attachment = await fixture.RedmineManager.UploadFileAsync(documentData); diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs b/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs index 7387b8e2..299a8fa0 100644 --- a/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs +++ b/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs @@ -71,7 +71,7 @@ public void Should_Upload_Attachment() const string ISSUE_SUBJECT = "Issue with attachments"; //read document from specified path - var documentData = File.ReadAllBytes(AppDomain.CurrentDomain.BaseDirectory + ATTACHMENT_LOCAL_PATH); + var documentData = System.IO.File.ReadAllBytes(AppDomain.CurrentDomain.BaseDirectory + ATTACHMENT_LOCAL_PATH); //upload attachment to redmine var attachment = fixture.RedmineManager.UploadFile(documentData); From 4e26e3304a4b8bd8b1987a9ab39c7234b580bd91 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 22 Aug 2017 13:54:02 +0300 Subject: [PATCH 005/601] Fix net452 project output and default namespace. --- .../redmine-net452-api-signed.csproj | 7 +++---- redmine-net452-api/redmine-net452-api.csproj | 12 +++++------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/redmine-net452-api-signed/redmine-net452-api-signed.csproj b/redmine-net452-api-signed/redmine-net452-api-signed.csproj index 893dfe0c..019d6ae1 100644 --- a/redmine-net452-api-signed/redmine-net452-api-signed.csproj +++ b/redmine-net452-api-signed/redmine-net452-api-signed.csproj @@ -7,7 +7,7 @@ {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7} Library Properties - redmine_net452_api_signed + Redmine.Net.Api redmine-net452-api-signed v4.5.2 512 @@ -125,10 +125,9 @@ Types\Error.cs - + Types\File.cs - Types\Group.cs @@ -291,7 +290,7 @@ JsonConverters\ErrorConverter.cs - + JsonConverters\FileConverter.cs diff --git a/redmine-net452-api/redmine-net452-api.csproj b/redmine-net452-api/redmine-net452-api.csproj index deef5251..b72ec528 100644 --- a/redmine-net452-api/redmine-net452-api.csproj +++ b/redmine-net452-api/redmine-net452-api.csproj @@ -7,8 +7,8 @@ {404B264F-363B-44AD-AE8D-2587C2E6FA82} Library Properties - redmine_net452_api - redmine_net452_api + Redmine.Net.Api + redmine-net452-api v4.5.2 512 @@ -40,10 +40,9 @@ - + Internals\HashCodeHelper.cs - Internals\DataHelper.cs @@ -126,10 +125,9 @@ Types\Error.cs - + Types\File.cs - Types\Group.cs @@ -292,7 +290,7 @@ JsonConverters\ErrorConverter.cs - + JsonConverters\FileConverter.cs From ac3bf54c62dbbfac4fdb7a67c759d15d01dd6660 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 22 Aug 2017 14:06:10 +0300 Subject: [PATCH 006/601] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 761b5df8..499509b7 100755 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ Resource | Read | Create | Update | Delete Users |x|x|x|x Versions |x|x|x|x Wiki Pages |x|x|x|x + Files |x|x|-|- ## Packages and Status @@ -40,6 +41,8 @@ redmine-net45-api | ![alt text](https://ci.appveyor.com/api/projects/status/gith redmine-net45-api-signed | ![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) redmine-net451-api | ![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) redmine-net451-api-signed | ![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) +redmine-net452-api | ![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) +redmine-net452-api-signed | ![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) ## WIKI From b2926d881cd182863cf185921d76f4e40adceea7 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 22 Aug 2017 14:06:41 +0300 Subject: [PATCH 007/601] Update appveyor.yml to build 4.5.2 project --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index a15fb638..07b8ab9e 100755 --- a/appveyor.yml +++ b/appveyor.yml @@ -25,6 +25,8 @@ build_script: - Msbuild.exe redmine-net45-api-signed/redmine-net45-api-signed.csproj /verbosity:minimal /p:BuildNetFX45=true - Msbuild.exe redmine-net451-api/redmine-net451-api.csproj /verbosity:minimal /p:BuildNetFX451=true - Msbuild.exe redmine-net451-api-signed/redmine-net451-api-signed.csproj /verbosity:minimal /p:BuildNetFX451=true + - Msbuild.exe redmine-net452-api/redmine-net452-api.csproj /verbosity:minimal /p:BuildNetFX452=true + - Msbuild.exe redmine-net452-api-signed/redmine-net452-api-signed.csproj /verbosity:minimal /p:BuildNetFX452=true before_build: - nuget restore From 278865eb7255a75e878728d8f540e1f59203b8de Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 22 Aug 2017 14:10:24 +0300 Subject: [PATCH 008/601] Another fix. --- redmine-net452-api-signed/redmine-net452-api-signed.csproj | 1 + redmine-net452-api/redmine-net452-api.csproj | 1 + 2 files changed, 2 insertions(+) diff --git a/redmine-net452-api-signed/redmine-net452-api-signed.csproj b/redmine-net452-api-signed/redmine-net452-api-signed.csproj index 019d6ae1..08319187 100644 --- a/redmine-net452-api-signed/redmine-net452-api-signed.csproj +++ b/redmine-net452-api-signed/redmine-net452-api-signed.csproj @@ -20,6 +20,7 @@ DEBUG;TRACE prompt 4 + bin\Debug\redmine-net452-api-signed.xml pdbonly diff --git a/redmine-net452-api/redmine-net452-api.csproj b/redmine-net452-api/redmine-net452-api.csproj index b72ec528..14512eaf 100644 --- a/redmine-net452-api/redmine-net452-api.csproj +++ b/redmine-net452-api/redmine-net452-api.csproj @@ -20,6 +20,7 @@ DEBUG;TRACE prompt 4 + bin\Debug\redmine-net452-api.xml pdbonly From 8dcbc2cfa7fec76e71abc9d9406185722448a0b1 Mon Sep 17 00:00:00 2001 From: k-fujimaru Date: Wed, 10 Jan 2018 13:43:41 +0900 Subject: [PATCH 009/601] Fix variable type Of Uploads in WikiPage. --- redmine-net20-api/Types/WikiPage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redmine-net20-api/Types/WikiPage.cs b/redmine-net20-api/Types/WikiPage.cs index f06fb41e..617d45d5 100644 --- a/redmine-net20-api/Types/WikiPage.cs +++ b/redmine-net20-api/Types/WikiPage.cs @@ -93,7 +93,7 @@ public class WikiPage : Identifiable, IXmlSerializable, IEquatableAvailability starting with redmine version 3.3 [XmlArray(RedmineKeys.UPLOADS)] [XmlArrayItem(RedmineKeys.UPLOAD)] - public IList Uploads { get; set; } + public IList Uploads { get; set; } #region Implementation of IXmlSerializable From e6a41633fa313f1705b0cf89e517cda5be855f1c Mon Sep 17 00:00:00 2001 From: Zapadi Date: Wed, 14 Mar 2018 12:57:56 +0200 Subject: [PATCH 010/601] no message --- .gitattributes | 0 .gitignore | 0 CONTRIBUTING.md | 0 redmine-net-api.sln | 0 redmine-net20-api/Exceptions/ForbiddenException.cs | 0 redmine-net20-api/Exceptions/InternalServerErrorException.cs | 0 redmine-net20-api/Extensions/NameValueCollectionExtensions.cs | 0 redmine-net20-api/Extensions/WebExtensions.cs | 0 redmine-net20-api/Internals/Func.cs | 0 redmine-net20-api/Internals/HashCodeHelper.cs | 0 redmine-net20-api/Internals/RedmineSerializer.cs | 0 redmine-net20-api/Internals/WebApiHelper.cs | 0 redmine-net20-api/MimeFormat.cs | 0 redmine-net20-api/Properties/AssemblyInfo.cs | 0 redmine-net20-api/RedmineKeys.cs | 0 redmine-net20-api/RedmineManager.cs | 0 redmine-net20-api/Types/File.cs | 0 redmine-net20-api/Types/IRedmineManager.cs | 0 redmine-net20-api/Types/IRedmineWebClient.cs | 0 redmine-net20-api/Types/Issue.cs | 0 redmine-net20-api/Types/IssueRelationType.cs | 0 redmine-net20-api/Types/Project.cs | 0 redmine-net20-api/Types/WikiPage.cs | 0 redmine-net20-api/redmine-net20-api.csproj | 0 redmine-net40-api-signed/Attachments.cs | 0 redmine-net40-api-signed/redmine-net40-api-signed.csproj | 0 redmine-net40-api/Async/RedmineManagerAsync.cs | 0 redmine-net40-api/Extensions/WebExtensions.cs | 0 redmine-net40-api/JSonConverters/CustomFieldConverter.cs | 0 .../JSonConverters/CustomFieldPossibleValueConverter.cs | 0 redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs | 0 redmine-net40-api/JSonConverters/FileConverter.cs | 0 redmine-net40-api/JSonConverters/GroupUserConverter.cs | 0 redmine-net40-api/JSonConverters/IssueConverter.cs | 0 redmine-net40-api/JSonConverters/ProjectConverter.cs | 0 redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs | 0 redmine-net40-api/JSonConverters/WikiPageConverter.cs | 0 redmine-net40-api/Properties/AssemblyInfo.cs | 0 redmine-net40-api/redmine-net40-api.csproj | 0 redmine-net45-api-signed/redmine-net45-api-signed.csproj | 0 redmine-net45-api/Extensions/DisposableExtension.cs | 0 redmine-net45-api/Extensions/FunctionalExtensions.cs | 0 redmine-net45-api/Internals/WebApiAsyncHelper.cs | 0 redmine-net45-api/redmine-net45-api.csproj | 0 redmine-net451-api-signed/redmine-net451-api-signed.csproj | 0 redmine-net451-api/redmine-net451-api.csproj | 0 redmine-net452-api-signed/Internals/HashCodeHelper.cs | 0 redmine-net452-api-signed/Properties/AssemblyInfo.cs | 0 redmine-net452-api-signed/redmine-net452-api-signed.csproj | 0 redmine-net452-api/Properties/AssemblyInfo.cs | 0 redmine-net452-api/redmine-net452-api.csproj | 0 xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs | 0 xUnitTest-redmine-net45-api/packages.config | 0 xUnitTest-redmine-net45-api/xUnitTest-redmine-net-api.csproj | 0 54 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .gitattributes mode change 100644 => 100755 .gitignore mode change 100644 => 100755 CONTRIBUTING.md mode change 100644 => 100755 redmine-net-api.sln mode change 100644 => 100755 redmine-net20-api/Exceptions/ForbiddenException.cs mode change 100644 => 100755 redmine-net20-api/Exceptions/InternalServerErrorException.cs mode change 100644 => 100755 redmine-net20-api/Extensions/NameValueCollectionExtensions.cs mode change 100644 => 100755 redmine-net20-api/Extensions/WebExtensions.cs mode change 100644 => 100755 redmine-net20-api/Internals/Func.cs mode change 100644 => 100755 redmine-net20-api/Internals/HashCodeHelper.cs mode change 100644 => 100755 redmine-net20-api/Internals/RedmineSerializer.cs mode change 100644 => 100755 redmine-net20-api/Internals/WebApiHelper.cs mode change 100644 => 100755 redmine-net20-api/MimeFormat.cs mode change 100644 => 100755 redmine-net20-api/Properties/AssemblyInfo.cs mode change 100644 => 100755 redmine-net20-api/RedmineKeys.cs mode change 100644 => 100755 redmine-net20-api/RedmineManager.cs mode change 100644 => 100755 redmine-net20-api/Types/File.cs mode change 100644 => 100755 redmine-net20-api/Types/IRedmineManager.cs mode change 100644 => 100755 redmine-net20-api/Types/IRedmineWebClient.cs mode change 100644 => 100755 redmine-net20-api/Types/Issue.cs mode change 100644 => 100755 redmine-net20-api/Types/IssueRelationType.cs mode change 100644 => 100755 redmine-net20-api/Types/Project.cs mode change 100644 => 100755 redmine-net20-api/Types/WikiPage.cs mode change 100644 => 100755 redmine-net20-api/redmine-net20-api.csproj mode change 100644 => 100755 redmine-net40-api-signed/Attachments.cs mode change 100644 => 100755 redmine-net40-api-signed/redmine-net40-api-signed.csproj mode change 100644 => 100755 redmine-net40-api/Async/RedmineManagerAsync.cs mode change 100644 => 100755 redmine-net40-api/Extensions/WebExtensions.cs mode change 100644 => 100755 redmine-net40-api/JSonConverters/CustomFieldConverter.cs mode change 100644 => 100755 redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs mode change 100644 => 100755 redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs mode change 100644 => 100755 redmine-net40-api/JSonConverters/FileConverter.cs mode change 100644 => 100755 redmine-net40-api/JSonConverters/GroupUserConverter.cs mode change 100644 => 100755 redmine-net40-api/JSonConverters/IssueConverter.cs mode change 100644 => 100755 redmine-net40-api/JSonConverters/ProjectConverter.cs mode change 100644 => 100755 redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs mode change 100644 => 100755 redmine-net40-api/JSonConverters/WikiPageConverter.cs mode change 100644 => 100755 redmine-net40-api/Properties/AssemblyInfo.cs mode change 100644 => 100755 redmine-net40-api/redmine-net40-api.csproj mode change 100644 => 100755 redmine-net45-api-signed/redmine-net45-api-signed.csproj mode change 100644 => 100755 redmine-net45-api/Extensions/DisposableExtension.cs mode change 100644 => 100755 redmine-net45-api/Extensions/FunctionalExtensions.cs mode change 100644 => 100755 redmine-net45-api/Internals/WebApiAsyncHelper.cs mode change 100644 => 100755 redmine-net45-api/redmine-net45-api.csproj mode change 100644 => 100755 redmine-net451-api-signed/redmine-net451-api-signed.csproj mode change 100644 => 100755 redmine-net451-api/redmine-net451-api.csproj mode change 100644 => 100755 redmine-net452-api-signed/Internals/HashCodeHelper.cs mode change 100644 => 100755 redmine-net452-api-signed/Properties/AssemblyInfo.cs mode change 100644 => 100755 redmine-net452-api-signed/redmine-net452-api-signed.csproj mode change 100644 => 100755 redmine-net452-api/Properties/AssemblyInfo.cs mode change 100644 => 100755 redmine-net452-api/redmine-net452-api.csproj mode change 100644 => 100755 xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs mode change 100644 => 100755 xUnitTest-redmine-net45-api/packages.config mode change 100644 => 100755 xUnitTest-redmine-net45-api/xUnitTest-redmine-net-api.csproj diff --git a/.gitattributes b/.gitattributes old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md old mode 100644 new mode 100755 diff --git a/redmine-net-api.sln b/redmine-net-api.sln old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Exceptions/ForbiddenException.cs b/redmine-net20-api/Exceptions/ForbiddenException.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Exceptions/InternalServerErrorException.cs b/redmine-net20-api/Exceptions/InternalServerErrorException.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Extensions/NameValueCollectionExtensions.cs b/redmine-net20-api/Extensions/NameValueCollectionExtensions.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Extensions/WebExtensions.cs b/redmine-net20-api/Extensions/WebExtensions.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Internals/Func.cs b/redmine-net20-api/Internals/Func.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Internals/HashCodeHelper.cs b/redmine-net20-api/Internals/HashCodeHelper.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Internals/RedmineSerializer.cs b/redmine-net20-api/Internals/RedmineSerializer.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Internals/WebApiHelper.cs b/redmine-net20-api/Internals/WebApiHelper.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/MimeFormat.cs b/redmine-net20-api/MimeFormat.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Properties/AssemblyInfo.cs b/redmine-net20-api/Properties/AssemblyInfo.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/RedmineKeys.cs b/redmine-net20-api/RedmineKeys.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/RedmineManager.cs b/redmine-net20-api/RedmineManager.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Types/File.cs b/redmine-net20-api/Types/File.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Types/IRedmineManager.cs b/redmine-net20-api/Types/IRedmineManager.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Types/IRedmineWebClient.cs b/redmine-net20-api/Types/IRedmineWebClient.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Types/Issue.cs b/redmine-net20-api/Types/Issue.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Types/IssueRelationType.cs b/redmine-net20-api/Types/IssueRelationType.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Types/Project.cs b/redmine-net20-api/Types/Project.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/Types/WikiPage.cs b/redmine-net20-api/Types/WikiPage.cs old mode 100644 new mode 100755 diff --git a/redmine-net20-api/redmine-net20-api.csproj b/redmine-net20-api/redmine-net20-api.csproj old mode 100644 new mode 100755 diff --git a/redmine-net40-api-signed/Attachments.cs b/redmine-net40-api-signed/Attachments.cs old mode 100644 new mode 100755 diff --git a/redmine-net40-api-signed/redmine-net40-api-signed.csproj b/redmine-net40-api-signed/redmine-net40-api-signed.csproj old mode 100644 new mode 100755 diff --git a/redmine-net40-api/Async/RedmineManagerAsync.cs b/redmine-net40-api/Async/RedmineManagerAsync.cs old mode 100644 new mode 100755 diff --git a/redmine-net40-api/Extensions/WebExtensions.cs b/redmine-net40-api/Extensions/WebExtensions.cs old mode 100644 new mode 100755 diff --git a/redmine-net40-api/JSonConverters/CustomFieldConverter.cs b/redmine-net40-api/JSonConverters/CustomFieldConverter.cs old mode 100644 new mode 100755 diff --git a/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs b/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs old mode 100644 new mode 100755 diff --git a/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs b/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs old mode 100644 new mode 100755 diff --git a/redmine-net40-api/JSonConverters/FileConverter.cs b/redmine-net40-api/JSonConverters/FileConverter.cs old mode 100644 new mode 100755 diff --git a/redmine-net40-api/JSonConverters/GroupUserConverter.cs b/redmine-net40-api/JSonConverters/GroupUserConverter.cs old mode 100644 new mode 100755 diff --git a/redmine-net40-api/JSonConverters/IssueConverter.cs b/redmine-net40-api/JSonConverters/IssueConverter.cs old mode 100644 new mode 100755 diff --git a/redmine-net40-api/JSonConverters/ProjectConverter.cs b/redmine-net40-api/JSonConverters/ProjectConverter.cs old mode 100644 new mode 100755 diff --git a/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs b/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs old mode 100644 new mode 100755 diff --git a/redmine-net40-api/JSonConverters/WikiPageConverter.cs b/redmine-net40-api/JSonConverters/WikiPageConverter.cs old mode 100644 new mode 100755 diff --git a/redmine-net40-api/Properties/AssemblyInfo.cs b/redmine-net40-api/Properties/AssemblyInfo.cs old mode 100644 new mode 100755 diff --git a/redmine-net40-api/redmine-net40-api.csproj b/redmine-net40-api/redmine-net40-api.csproj old mode 100644 new mode 100755 diff --git a/redmine-net45-api-signed/redmine-net45-api-signed.csproj b/redmine-net45-api-signed/redmine-net45-api-signed.csproj old mode 100644 new mode 100755 diff --git a/redmine-net45-api/Extensions/DisposableExtension.cs b/redmine-net45-api/Extensions/DisposableExtension.cs old mode 100644 new mode 100755 diff --git a/redmine-net45-api/Extensions/FunctionalExtensions.cs b/redmine-net45-api/Extensions/FunctionalExtensions.cs old mode 100644 new mode 100755 diff --git a/redmine-net45-api/Internals/WebApiAsyncHelper.cs b/redmine-net45-api/Internals/WebApiAsyncHelper.cs old mode 100644 new mode 100755 diff --git a/redmine-net45-api/redmine-net45-api.csproj b/redmine-net45-api/redmine-net45-api.csproj old mode 100644 new mode 100755 diff --git a/redmine-net451-api-signed/redmine-net451-api-signed.csproj b/redmine-net451-api-signed/redmine-net451-api-signed.csproj old mode 100644 new mode 100755 diff --git a/redmine-net451-api/redmine-net451-api.csproj b/redmine-net451-api/redmine-net451-api.csproj old mode 100644 new mode 100755 diff --git a/redmine-net452-api-signed/Internals/HashCodeHelper.cs b/redmine-net452-api-signed/Internals/HashCodeHelper.cs old mode 100644 new mode 100755 diff --git a/redmine-net452-api-signed/Properties/AssemblyInfo.cs b/redmine-net452-api-signed/Properties/AssemblyInfo.cs old mode 100644 new mode 100755 diff --git a/redmine-net452-api-signed/redmine-net452-api-signed.csproj b/redmine-net452-api-signed/redmine-net452-api-signed.csproj old mode 100644 new mode 100755 diff --git a/redmine-net452-api/Properties/AssemblyInfo.cs b/redmine-net452-api/Properties/AssemblyInfo.cs old mode 100644 new mode 100755 diff --git a/redmine-net452-api/redmine-net452-api.csproj b/redmine-net452-api/redmine-net452-api.csproj old mode 100644 new mode 100755 diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs b/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs old mode 100644 new mode 100755 diff --git a/xUnitTest-redmine-net45-api/packages.config b/xUnitTest-redmine-net45-api/packages.config old mode 100644 new mode 100755 diff --git a/xUnitTest-redmine-net45-api/xUnitTest-redmine-net-api.csproj b/xUnitTest-redmine-net45-api/xUnitTest-redmine-net-api.csproj old mode 100644 new mode 100755 From c55b4795572eee2e3026d6c7d616d9b2588d7ad6 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Wed, 14 Mar 2018 12:58:24 +0200 Subject: [PATCH 011/601] Added docker-compose.yml --- docker-compose.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100755 index 00000000..2433e66d --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,30 @@ +version: '2' + +services: + redmine: + ports: + - '8089:3000' + image: 'redmine:3.4.4' + container_name: 'redmine-web' + depends_on: + - postgres + links: + - postgres + restart: always + environment: + POSTGRES_PORT_5432_TCP: 5432 + POSTGRES_ENV_POSTGRES_USER: redmine + POSTGRES_ENV_POSTGRES_PASSWORD: redmine-pswd + volumes: + - ~/docker-vols/redmine/files/:/usr/src/redmine/files/ + postgres: + environment: + POSTGRES_USER: redmine + POSTGRES_PASSWORD: redmine-pswd + container_name: 'redmine-db' + image: 'postgres:9.5' + #restart: always + ports: + - '5432:5432' + volumes: + - ~/docker-vols/redmine/postgres:/var/lib/postgresql/data \ No newline at end of file From b9b39b819adf7c95a44e90d5763b777c6e457890 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Sat, 24 Mar 2018 20:37:33 +0200 Subject: [PATCH 012/601] Fixed #192 --- .../Async/RedmineManagerAsync.cs | 5 ++-- redmine-net20-api/Internals/UrlHelper.cs | 24 +++++++++++++++++++ redmine-net20-api/RedmineManager.cs | 5 ++-- .../Async/RedmineManagerAsync.cs | 4 ++-- .../Tests/Sync/AttachmentTests.cs | 2 +- 5 files changed, 33 insertions(+), 7 deletions(-) mode change 100755 => 100644 redmine-net20-api/Async/RedmineManagerAsync.cs mode change 100755 => 100644 redmine-net20-api/Internals/UrlHelper.cs mode change 100755 => 100644 redmine-net20-api/RedmineManager.cs mode change 100755 => 100644 redmine-net40-api/Async/RedmineManagerAsync.cs mode change 100755 => 100644 xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs diff --git a/redmine-net20-api/Async/RedmineManagerAsync.cs b/redmine-net20-api/Async/RedmineManagerAsync.cs old mode 100755 new mode 100644 index 40154158..51b6ff94 --- a/redmine-net20-api/Async/RedmineManagerAsync.cs +++ b/redmine-net20-api/Async/RedmineManagerAsync.cs @@ -235,10 +235,11 @@ public static Task DeleteObjectAsync(this RedmineManager redmineManager, stri /// /// The redmine manager. /// The data. + /// /// - public static Task UploadFileAsync(this RedmineManager redmineManager, byte[] data) + public static Task UploadFileAsync(this RedmineManager redmineManager, byte[] data, string fileName) { - return delegate { return redmineManager.UploadFile(data); }; + return delegate { return redmineManager.UploadFile(data, fileName); }; } /// diff --git a/redmine-net20-api/Internals/UrlHelper.cs b/redmine-net20-api/Internals/UrlHelper.cs old mode 100755 new mode 100644 index d40e30fa..99d3df9f --- a/redmine-net20-api/Internals/UrlHelper.cs +++ b/redmine-net20-api/Internals/UrlHelper.cs @@ -14,12 +14,14 @@ You may obtain a copy of the License at limitations under the License. */ +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Globalization; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; +using Version = Redmine.Net.Api.Types.Version; namespace Redmine.Net.Api.Internals { @@ -290,6 +292,28 @@ public static string GetUploadFileUrl(RedmineManager redmineManager) redmineManager.MimeFormat.ToString().ToLower()); } + /// + /// Gets the upload file URL. + /// + /// The redmine manager. + /// + /// + public static string GetUploadFileUrl(RedmineManager redmineManager, string fileName) + { + if (string.IsNullOrEmpty(fileName)) + { + throw new ArgumentNullException("fileName"); + } + + fileName = Uri.EscapeDataString(fileName); + + string uriString = string.Format(FORMAT, redmineManager.Host, RedmineKeys.UPLOADS, + redmineManager.MimeFormat.ToString().ToLower() + ) + "?filename=" + fileName; + + return Uri.EscapeUriString(uriString); + } + /// /// Gets the current user URL. /// diff --git a/redmine-net20-api/RedmineManager.cs b/redmine-net20-api/RedmineManager.cs old mode 100755 new mode 100644 index 111e21a7..9628d3d5 --- a/redmine-net20-api/RedmineManager.cs +++ b/redmine-net20-api/RedmineManager.cs @@ -607,6 +607,7 @@ public void DeleteWikiPage(string projectId, string pageName) /// Upload a file to server. /// /// The content of the file that will be uploaded on server. + /// /// /// Returns the token for uploaded file. /// @@ -617,9 +618,9 @@ public void DeleteWikiPage(string projectId, string pageName) /// /// /// - public Upload UploadFile(byte[] data) + public Upload UploadFile(byte[] data, string fileName) { - var url = UrlHelper.GetUploadFileUrl(this); + string url = UrlHelper.GetUploadFileUrl(this, fileName); return WebApiHelper.ExecuteUploadFile(this, url, data, "UploadFile"); } diff --git a/redmine-net40-api/Async/RedmineManagerAsync.cs b/redmine-net40-api/Async/RedmineManagerAsync.cs old mode 100755 new mode 100644 index 12ef40a6..95f6b19c --- a/redmine-net40-api/Async/RedmineManagerAsync.cs +++ b/redmine-net40-api/Async/RedmineManagerAsync.cs @@ -230,9 +230,9 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// The redmine manager. /// The data. /// - public static Task UploadFileAsync(this RedmineManager redmineManager, byte[] data) + public static Task UploadFileAsync(this RedmineManager redmineManager, byte[] data, string fileName) { - return Task.Factory.StartNew(() => redmineManager.UploadFile(data), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.UploadFile(data, fileName), TaskCreationOptions.LongRunning); } /// diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs b/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs old mode 100755 new mode 100644 index 299a8fa0..4087f73b --- a/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs +++ b/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs @@ -74,7 +74,7 @@ public void Should_Upload_Attachment() var documentData = System.IO.File.ReadAllBytes(AppDomain.CurrentDomain.BaseDirectory + ATTACHMENT_LOCAL_PATH); //upload attachment to redmine - var attachment = fixture.RedmineManager.UploadFile(documentData); + var attachment = fixture.RedmineManager.UploadFile(documentData, ATTACHMENT_LOCAL_PATH); //set attachment properties attachment.FileName = ATTACHMENT_NAME; From 929f7c7f9083f693b2f58b397ad99b92631e812b Mon Sep 17 00:00:00 2001 From: Zapadi Date: Sat, 24 Mar 2018 21:11:03 +0200 Subject: [PATCH 013/601] Added PrivateNotes to Journal. --- redmine-net20-api/Types/Journal.cs | 5 +++++ redmine-net40-api/JSonConverters/JournalConverter.cs | 1 + 2 files changed, 6 insertions(+) mode change 100755 => 100644 redmine-net20-api/Types/Journal.cs mode change 100755 => 100644 redmine-net40-api/JSonConverters/JournalConverter.cs diff --git a/redmine-net20-api/Types/Journal.cs b/redmine-net20-api/Types/Journal.cs old mode 100755 new mode 100644 index 59ab44cf..d49e28bc --- a/redmine-net20-api/Types/Journal.cs +++ b/redmine-net20-api/Types/Journal.cs @@ -57,6 +57,9 @@ public class Journal : Identifiable, IEquatable, IXmlSerializa [XmlElement(RedmineKeys.CREATED_ON, IsNullable = true)] public DateTime? CreatedOn { get; set; } + [XmlElement(RedmineKeys.PRIVATE_NOTES)] + public bool PrivateNotes { get; set; } + /// /// Gets or sets the details. /// @@ -98,6 +101,8 @@ public void ReadXml(XmlReader reader) case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.PRIVATE_NOTES: PrivateNotes = reader.ReadElementContentAsBoolean(); break; + case RedmineKeys.DETAILS: Details = reader.ReadElementContentAsCollection(); break; default: reader.Read(); break; diff --git a/redmine-net40-api/JSonConverters/JournalConverter.cs b/redmine-net40-api/JSonConverters/JournalConverter.cs old mode 100755 new mode 100644 index b37f4621..85e90ed7 --- a/redmine-net40-api/JSonConverters/JournalConverter.cs +++ b/redmine-net40-api/JSonConverters/JournalConverter.cs @@ -48,6 +48,7 @@ public override object Deserialize(IDictionary dictionary, Type journal.Id = dictionary.GetValue(RedmineKeys.ID); journal.Notes = dictionary.GetValue(RedmineKeys.NOTES); journal.User = dictionary.GetValueAsIdentifiableName(RedmineKeys.USER); + journal.PrivateNotes = dictionary.GetValue(RedmineKeys.PRIVATE_NOTES); journal.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); journal.Details = dictionary.GetValueAsCollection(RedmineKeys.DETAILS); From f6de39ddbd6f794ff94103924cb4a91eb6031fd2 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Sat, 24 Mar 2018 22:01:10 +0200 Subject: [PATCH 014/601] Added back IRedmineManager. #203 --- .../{Types => }/IRedmineManager.cs | 47 ++++++++++++++----- .../{Types => }/IRedmineWebClient.cs | 29 +++++++----- redmine-net20-api/RedmineManager.cs | 46 +++++++++--------- redmine-net20-api/RedmineWebClient.cs | 8 ++++ redmine-net20-api/redmine-net20-api.csproj | 2 +- .../redmine-net40-api-signed.csproj | 4 +- redmine-net40-api/redmine-net40-api.csproj | 4 +- .../redmine-net45-api-signed.csproj | 9 ++-- redmine-net45-api/redmine-net45-api.csproj | 9 ++-- .../redmine-net451-api-signed.csproj | 12 ++--- redmine-net451-api/redmine-net451-api.csproj | 12 ++--- .../redmine-net452-api-signed.csproj | 4 +- redmine-net452-api/redmine-net452-api.csproj | 4 +- 13 files changed, 109 insertions(+), 81 deletions(-) rename redmine-net20-api/{Types => }/IRedmineManager.cs (53%) mode change 100755 => 100644 rename redmine-net20-api/{Types => }/IRedmineWebClient.cs (90%) mode change 100755 => 100644 mode change 100755 => 100644 redmine-net20-api/RedmineWebClient.cs mode change 100755 => 100644 redmine-net20-api/redmine-net20-api.csproj mode change 100755 => 100644 redmine-net40-api-signed/redmine-net40-api-signed.csproj mode change 100755 => 100644 redmine-net40-api/redmine-net40-api.csproj mode change 100755 => 100644 redmine-net45-api-signed/redmine-net45-api-signed.csproj mode change 100755 => 100644 redmine-net45-api/redmine-net45-api.csproj mode change 100755 => 100644 redmine-net451-api-signed/redmine-net451-api-signed.csproj mode change 100755 => 100644 redmine-net451-api/redmine-net451-api.csproj mode change 100755 => 100644 redmine-net452-api-signed/redmine-net452-api-signed.csproj mode change 100755 => 100644 redmine-net452-api/redmine-net452-api.csproj diff --git a/redmine-net20-api/Types/IRedmineManager.cs b/redmine-net20-api/IRedmineManager.cs old mode 100755 new mode 100644 similarity index 53% rename from redmine-net20-api/Types/IRedmineManager.cs rename to redmine-net20-api/IRedmineManager.cs index e86a77b3..fee24f22 --- a/redmine-net20-api/Types/IRedmineManager.cs +++ b/redmine-net20-api/IRedmineManager.cs @@ -16,36 +16,57 @@ limitations under the License. using System.Collections.Generic; using System.Collections.Specialized; +using System.Net; +using System.Net.Security; +using System.Security.Cryptography.X509Certificates; namespace Redmine.Net.Api.Types { - interface IRedmineManager + public interface IRedmineManager { + string Host { get; } + string ApiKey { get; } int PageSize { get; set; } string ImpersonateUser { get; set; } + MimeFormat MimeFormat { get; } + IWebProxy Proxy { get; } + SecurityProtocolType SecurityProtocolType { get; } User GetCurrentUser(NameValueCollection parameters = null); - + void AddUserToGroup(int groupId, int userId); void RemoveUserFromGroup(int groupId, int userId); + void AddWatcherToIssue(int issueId, int userId); void RemoveWatcherFromIssue(int issueId, int userId); - WikiPage GetWikiPage(string projectId, NameValueCollection parameters, string pageName, uint version = 0); - IList GetAllWikiPages(string projectId); + WikiPage CreateOrUpdateWikiPage(string projectId, string pageName, WikiPage wikiPage); + WikiPage GetWikiPage(string projectId, NameValueCollection parameters, string pageName, uint version = 0); + List GetAllWikiPages(string projectId); void DeleteWikiPage(string projectId, string pageName); - Upload UploadFile(byte[] data); + + Upload UploadFile(byte[] data, string fileName); + void UpdateAttachment(int issueId, Attachment attachment); byte[] DownloadFile(string address); - List GetObjectList(NameValueCollection parameters) where T : class, new(); - List GetObjectList(NameValueCollection parameters, out int totalCount) where T : class, new(); - List GetTotalObjectList(NameValueCollection parameters) where T : class, new(); - List GetObjects (NameValueCollection parameters) where T: class, new(); - PaginatedObjects GetPaginatedObjects (NameValueCollection parameters)where T : class, new(); - T GetObject(string id, NameValueCollection parameters) where T : class, new(); - T CreateObject(T obj, string ownerId = null) where T : class, new(); + PaginatedObjects GetPaginatedObjects(NameValueCollection parameters) where T : class, new(); + + T GetObject(string id, NameValueCollection parameters) where T : class, new(); + List GetObjects(int limit, int offset, params string[] include) where T : class, new(); + List GetObjects(params string[] include) where T : class, new(); + + List GetObjects(NameValueCollection parameters) where T : class, new(); + + T CreateObject(T obj) where T : class, new(); + T CreateObject(T obj, string ownerId) where T : class, new(); + void UpdateObject(string id, T obj) where T : class, new(); void UpdateObject(string id, T obj, string projectId) where T : class, new(); - void DeleteObject(string id, NameValueCollection parameters) where T : class, new(); + + void DeleteObject(string id) where T : class, new(); + void DeleteObject(string id, NameValueCollection parameters) where T : class, new(); + + RedmineWebClient CreateWebClient(NameValueCollection parameters, bool uploadFile = false); + bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors error); } } \ No newline at end of file diff --git a/redmine-net20-api/Types/IRedmineWebClient.cs b/redmine-net20-api/IRedmineWebClient.cs old mode 100755 new mode 100644 similarity index 90% rename from redmine-net20-api/Types/IRedmineWebClient.cs rename to redmine-net20-api/IRedmineWebClient.cs index cda79526..e3e0ae69 --- a/redmine-net20-api/Types/IRedmineWebClient.cs +++ b/redmine-net20-api/IRedmineWebClient.cs @@ -21,25 +21,30 @@ limitations under the License. namespace Redmine.Net.Api.Types { - interface IRedmineWebClient{ - Uri BaseAddress { get; set; } - NameValueCollection QueryString { get; set; } - - bool UseDefaultCredentials { get; set; } - ICredentials Credentials { get; set; } + public interface IRedmineWebClient + { + string UserAgent { get; set; } bool UseProxy { get; set; } - IWebProxy Proxy { get; set; } - - TimeSpan Timeout { get; set; } bool UseCookies { get; set; } + + TimeSpan? Timeout { get; set; } + CookieContainer CookieContainer { get; set; } - - bool PreAuthenticate { get; set; } - RequestCachePolicy CachePolicy { get; set; } + bool PreAuthenticate { get; set; } bool KeepAlive { get; set; } + + NameValueCollection QueryString { get; set; } + + bool UseDefaultCredentials { get; set; } + + ICredentials Credentials { get; set; } + + IWebProxy Proxy { get; set; } + + RequestCachePolicy CachePolicy { get; set; } } } \ No newline at end of file diff --git a/redmine-net20-api/RedmineManager.cs b/redmine-net20-api/RedmineManager.cs index 9628d3d5..3d090fa8 100644 --- a/redmine-net20-api/RedmineManager.cs +++ b/redmine-net20-api/RedmineManager.cs @@ -36,7 +36,7 @@ namespace Redmine.Net.Api /// /// The main class to access Redmine API. /// - public class RedmineManager + public class RedmineManager : IRedmineManager { /// /// @@ -510,6 +510,28 @@ public void DeleteWikiPage(string projectId, string pageName) return resultList; } + /// + /// Creates a new Redmine object. + /// + /// The type of object to create. + /// The object to create. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// When trying to create an object with invalid or missing attribute parameters, you will get a 422 Unprocessable + /// Entity response. That means that the object could not be created. + /// + public T CreateObject(T obj) where T : class, new() + { + return CreateObject(obj, null); + } + /// /// Creates a new Redmine object. /// @@ -656,28 +678,6 @@ public byte[] DownloadFile(string address) return WebApiHelper.ExecuteDownloadFile(this, address, "DownloadFile"); } - /// - /// Creates a new Redmine object. - /// - /// The type of object to create. - /// The object to create. - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// When trying to create an object with invalid or missing attribute parameters, you will get a 422 Unprocessable - /// Entity response. That means that the object could not be created. - /// - public T CreateObject(T obj) where T : class, new() - { - return CreateObject(obj, null); - } - /// /// Creates the Redmine web client. /// diff --git a/redmine-net20-api/RedmineWebClient.cs b/redmine-net20-api/RedmineWebClient.cs old mode 100755 new mode 100644 index a544b0bd..b2948dda --- a/redmine-net20-api/RedmineWebClient.cs +++ b/redmine-net20-api/RedmineWebClient.cs @@ -16,6 +16,7 @@ limitations under the License. using System; using System.Net; +using Redmine.Net.Api.Types; namespace Redmine.Net.Api { @@ -26,6 +27,13 @@ public class RedmineWebClient : WebClient { private const string UA = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0"; + public RedmineWebClient() + { + UserAgent = UA; + } + + public string UserAgent { get; set; } + /// /// Gets or sets a value indicating whether [use proxy]. /// diff --git a/redmine-net20-api/redmine-net20-api.csproj b/redmine-net20-api/redmine-net20-api.csproj old mode 100755 new mode 100644 index a745a7c6..3ea37779 --- a/redmine-net20-api/redmine-net20-api.csproj +++ b/redmine-net20-api/redmine-net20-api.csproj @@ -102,7 +102,7 @@ - + diff --git a/redmine-net40-api-signed/redmine-net40-api-signed.csproj b/redmine-net40-api-signed/redmine-net40-api-signed.csproj old mode 100755 new mode 100644 index 5245331d..5fe6a57a --- a/redmine-net40-api-signed/redmine-net40-api-signed.csproj +++ b/redmine-net40-api-signed/redmine-net40-api-signed.csproj @@ -173,10 +173,10 @@ Types\IdentifiableName.cs - + Types\IRedmineManager.cs - + Types\IRedmineWebClient.cs diff --git a/redmine-net40-api/redmine-net40-api.csproj b/redmine-net40-api/redmine-net40-api.csproj old mode 100755 new mode 100644 index ff52cf1f..e860fbdf --- a/redmine-net40-api/redmine-net40-api.csproj +++ b/redmine-net40-api/redmine-net40-api.csproj @@ -165,10 +165,10 @@ Types\IdentifiableName.cs - + Types\IRedmineManager.cs - + Types\IRedmineWebClient.cs diff --git a/redmine-net45-api-signed/redmine-net45-api-signed.csproj b/redmine-net45-api-signed/redmine-net45-api-signed.csproj old mode 100755 new mode 100644 index b1d41cb3..c27b90ac --- a/redmine-net45-api-signed/redmine-net45-api-signed.csproj +++ b/redmine-net45-api-signed/redmine-net45-api-signed.csproj @@ -156,10 +156,9 @@ Types\Error.cs - + Types\File.cs - Types\Group.cs @@ -172,10 +171,10 @@ Types\IdentifiableName.cs - + Types\IRedmineManager.cs - + Types\IRedmineWebClient.cs @@ -322,7 +321,7 @@ JsonConverters\ErrorConverter.cs - + JsonConverters\FileConverter.cs diff --git a/redmine-net45-api/redmine-net45-api.csproj b/redmine-net45-api/redmine-net45-api.csproj old mode 100755 new mode 100644 index f2279076..62eee6e0 --- a/redmine-net45-api/redmine-net45-api.csproj +++ b/redmine-net45-api/redmine-net45-api.csproj @@ -150,10 +150,9 @@ Types\Error.cs - + Types\File.cs - Types\Group.cs @@ -166,10 +165,10 @@ Types\IdentifiableName.cs - + Types\IRedmineManager.cs - + Types\IRedmineWebClient.cs @@ -313,7 +312,7 @@ JSonConverters\ErrorConverter.cs - + JsonConverters\FileConverter.cs diff --git a/redmine-net451-api-signed/redmine-net451-api-signed.csproj b/redmine-net451-api-signed/redmine-net451-api-signed.csproj old mode 100755 new mode 100644 index 10f3170c..69fca0b2 --- a/redmine-net451-api-signed/redmine-net451-api-signed.csproj +++ b/redmine-net451-api-signed/redmine-net451-api-signed.csproj @@ -48,10 +48,9 @@ - + Internals\HashCodeHelper.cs - Internals\DataHelper.cs @@ -134,10 +133,9 @@ Types\Error.cs - + Types\File.cs - Types\Group.cs @@ -150,10 +148,10 @@ Types\IdentifiableName.cs - + Types\IRedmineManager.cs - + Types\IRedmineWebClient.cs @@ -300,7 +298,7 @@ JsonConverters\ErrorConverter.cs - + JsonConverters\FileConverter.cs diff --git a/redmine-net451-api/redmine-net451-api.csproj b/redmine-net451-api/redmine-net451-api.csproj old mode 100755 new mode 100644 index ae7b5695..90b2d138 --- a/redmine-net451-api/redmine-net451-api.csproj +++ b/redmine-net451-api/redmine-net451-api.csproj @@ -42,10 +42,9 @@ - + Internals\HashCodeHelper.cs - Internals\DataHelper.cs @@ -128,10 +127,9 @@ Types\Error.cs - + Types\File.cs - Types\Group.cs @@ -144,10 +142,10 @@ Types\IdentifiableName.cs - + Types\IRedmineManager.cs - + Types\IRedmineWebClient.cs @@ -294,7 +292,7 @@ JsonConverters\ErrorConverter.cs - + JsonConverters\FileConverter.cs diff --git a/redmine-net452-api-signed/redmine-net452-api-signed.csproj b/redmine-net452-api-signed/redmine-net452-api-signed.csproj old mode 100755 new mode 100644 index 08319187..342a3c75 --- a/redmine-net452-api-signed/redmine-net452-api-signed.csproj +++ b/redmine-net452-api-signed/redmine-net452-api-signed.csproj @@ -141,10 +141,10 @@ Types\IdentifiableName.cs - + Types\IRedmineManager.cs - + Types\IRedmineWebClient.cs diff --git a/redmine-net452-api/redmine-net452-api.csproj b/redmine-net452-api/redmine-net452-api.csproj old mode 100755 new mode 100644 index 14512eaf..fe828f7e --- a/redmine-net452-api/redmine-net452-api.csproj +++ b/redmine-net452-api/redmine-net452-api.csproj @@ -141,10 +141,10 @@ Types\IdentifiableName.cs - + Types\IRedmineManager.cs - + Types\IRedmineWebClient.cs From 7e70b59cfe6a43fd2f29ab1568a7733fd02da2e8 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Sat, 24 Mar 2018 22:35:46 +0200 Subject: [PATCH 015/601] Added missing ConfigureAwait(false) --- .../Async/RedmineManagerAsync.cs | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/redmine-net45-api/Async/RedmineManagerAsync.cs b/redmine-net45-api/Async/RedmineManagerAsync.cs index a519fb51..3dd3a996 100755 --- a/redmine-net45-api/Async/RedmineManagerAsync.cs +++ b/redmine-net45-api/Async/RedmineManagerAsync.cs @@ -39,7 +39,7 @@ public static class RedmineManagerAsync public static async Task GetCurrentUserAsync(this RedmineManager redmineManager, NameValueCollection parameters = null) { var uri = UrlHelper.GetCurrentUserUrl(redmineManager); - return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, "GetCurrentUserAsync", parameters); + return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, "GetCurrentUserAsync", parameters).ConfigureAwait(false); } /// @@ -69,7 +69,7 @@ public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, string pageName) { var uri = UrlHelper.GetDeleteWikirUrl(redmineManager, projectId, pageName); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "DeleteWikiPageAsync"); + await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "DeleteWikiPageAsync").ConfigureAwait(false); } /// @@ -84,7 +84,7 @@ public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, public static async Task UploadFileAsync(this RedmineManager redmineManager, byte[] data) { var uri = UrlHelper.GetUploadFileUrl(redmineManager); - return await WebApiAsyncHelper.ExecuteUploadFile(redmineManager, uri, data, "UploadFileAsync"); + return await WebApiAsyncHelper.ExecuteUploadFile(redmineManager, uri, data, "UploadFileAsync").ConfigureAwait(false); } /// @@ -95,7 +95,7 @@ public static async Task UploadFileAsync(this RedmineManager redmineMana /// public static async Task DownloadFileAsync(this RedmineManager redmineManager, string address) { - return await WebApiAsyncHelper.ExecuteDownloadFile(redmineManager, address, "DownloadFileAsync"); + return await WebApiAsyncHelper.ExecuteDownloadFile(redmineManager, address, "DownloadFileAsync").ConfigureAwait(false); } /// @@ -111,7 +111,7 @@ public static async Task GetWikiPageAsync(this RedmineManager redmineM NameValueCollection parameters, string pageName, uint version = 0) { var uri = UrlHelper.GetWikiPageUrl(redmineManager, projectId, parameters, pageName, version); - return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, "GetWikiPageAsync", parameters); + return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, "GetWikiPageAsync", parameters).ConfigureAwait(false); } /// @@ -124,7 +124,7 @@ public static async Task GetWikiPageAsync(this RedmineManager redmineM public static async Task> GetAllWikiPagesAsync(this RedmineManager redmineManager, NameValueCollection parameters, string projectId) { var uri = UrlHelper.GetWikisUrl(redmineManager, projectId); - return await WebApiAsyncHelper.ExecuteDownloadList(redmineManager, uri, "GetAllWikiPagesAsync", parameters); + return await WebApiAsyncHelper.ExecuteDownloadList(redmineManager, uri, "GetAllWikiPagesAsync", parameters).ConfigureAwait(false); } /// @@ -141,7 +141,7 @@ public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, var data = DataHelper.UserData(userId, redmineManager.MimeFormat); var uri = UrlHelper.GetAddUserToGroupUrl(redmineManager, groupId); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data, "AddUserToGroupAsync"); + await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data, "AddUserToGroupAsync").ConfigureAwait(false); } /// @@ -154,7 +154,7 @@ public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, public static async Task DeleteUserFromGroupAsync(this RedmineManager redmineManager, int groupId, int userId) { var uri = UrlHelper.GetRemoveUserFromGroupUrl(redmineManager, groupId, userId); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "DeleteUserFromGroupAsync"); + await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "DeleteUserFromGroupAsync").ConfigureAwait(false); } /// @@ -169,7 +169,7 @@ public static async Task AddWatcherAsync(this RedmineManager redmineManager, int var data = DataHelper.UserData(userId, redmineManager.MimeFormat); var uri = UrlHelper.GetAddWatcherUrl(redmineManager, issueId, userId); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data, "AddWatcherAsync"); + await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data, "AddWatcherAsync").ConfigureAwait(false); } /// @@ -182,7 +182,7 @@ public static async Task AddWatcherAsync(this RedmineManager redmineManager, int public static async Task RemoveWatcherAsync(this RedmineManager redmineManager, int issueId, int userId) { var uri = UrlHelper.GetRemoveWatcherUrl(redmineManager, issueId, userId); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "RemoveWatcherAsync"); + await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "RemoveWatcherAsync").ConfigureAwait(false); } /// @@ -197,7 +197,7 @@ public static async Task> GetPaginatedObjectsAsync(this R where T : class, new() { var uri = UrlHelper.GetListUrl(redmineManager, parameters); - return await WebApiAsyncHelper.ExecuteDownloadPaginatedList(redmineManager, uri, "GetPaginatedObjectsAsync", parameters); + return await WebApiAsyncHelper.ExecuteDownloadPaginatedList(redmineManager, uri, "GetPaginatedObjectsAsync", parameters).ConfigureAwait(false); } /// @@ -229,7 +229,7 @@ public static async Task> GetObjectsAsync(this RedmineManager redmine do { parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); - var tempResult = await redmineManager.GetPaginatedObjectsAsync(parameters); + var tempResult = await redmineManager.GetPaginatedObjectsAsync(parameters).ConfigureAwait(false); if (tempResult != null) { if (resultList == null) @@ -264,7 +264,7 @@ public static async Task GetObjectAsync(this RedmineManager redmineManager where T : class, new() { var uri = UrlHelper.GetGetUrl(redmineManager, id); - return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, "GetobjectAsync", parameters); + return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, "GetobjectAsync", parameters).ConfigureAwait(false); } /// @@ -277,7 +277,7 @@ public static async Task GetObjectAsync(this RedmineManager redmineManager public static async Task CreateObjectAsync(this RedmineManager redmineManager, T obj) where T : class, new() { - return await CreateObjectAsync(redmineManager, obj, null); + return await CreateObjectAsync(redmineManager, obj, null).ConfigureAwait(false); } /// @@ -313,7 +313,7 @@ public static async Task UpdateObjectAsync(this RedmineManager redmineManager var data = RedmineSerializer.Serialize(obj, redmineManager.MimeFormat); data = Regex.Replace(data, @"\r\n|\r|\n", "\r\n"); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.PUT, data, "UpdateObjectAsync"); + await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.PUT, data, "UpdateObjectAsync").ConfigureAwait(false); } /// @@ -328,7 +328,7 @@ public static async Task DeleteObjectAsync(this RedmineManager redmineManager where T : class, new() { var uri = UrlHelper.GetDeleteUrl(redmineManager, id); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "DeleteObjectAsync"); + await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "DeleteObjectAsync").ConfigureAwait(false); } } } \ No newline at end of file From f0c19d57eac5af613fb932d8d2e2a1db7639749d Mon Sep 17 00:00:00 2001 From: Zapadi Date: Sat, 24 Mar 2018 22:36:24 +0200 Subject: [PATCH 016/601] Fixed #204 --- .../Async/RedmineManagerAsync.cs | 6 ++- .../Internals/WebApiAsyncHelper.cs | 39 +++---------------- 2 files changed, 9 insertions(+), 36 deletions(-) mode change 100755 => 100644 redmine-net45-api/Async/RedmineManagerAsync.cs mode change 100755 => 100644 redmine-net45-api/Internals/WebApiAsyncHelper.cs diff --git a/redmine-net45-api/Async/RedmineManagerAsync.cs b/redmine-net45-api/Async/RedmineManagerAsync.cs old mode 100755 new mode 100644 index 3dd3a996..5f69ae04 --- a/redmine-net45-api/Async/RedmineManagerAsync.cs +++ b/redmine-net45-api/Async/RedmineManagerAsync.cs @@ -55,7 +55,8 @@ public static async Task CreateOrUpdateWikiPageAsync(this RedmineManag var uri = UrlHelper.GetWikiCreateOrUpdaterUrl(redmineManager, projectId, pageName); var data = RedmineSerializer.Serialize(wikiPage, redmineManager.MimeFormat); - return await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.PUT, data, "CreateOrUpdateWikiPageAsync"); + var response = await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.PUT, data, "CreateOrUpdateWikiPageAsync").ConfigureAwait(false); + return RedmineSerializer.Deserialize(response, redmineManager.MimeFormat); } /// @@ -294,7 +295,8 @@ public static async Task CreateObjectAsync(this RedmineManager redmineMana var uri = UrlHelper.GetCreateUrl(redmineManager, ownerId); var data = RedmineSerializer.Serialize(obj, redmineManager.MimeFormat); - return await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data, "CreateObjectAsync"); + var response = await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data, "CreateObjectAsync").ConfigureAwait(false); + return RedmineSerializer.Deserialize(response, redmineManager.MimeFormat); } /// diff --git a/redmine-net45-api/Internals/WebApiAsyncHelper.cs b/redmine-net45-api/Internals/WebApiAsyncHelper.cs old mode 100755 new mode 100644 index 33d40d84..ffc25615 --- a/redmine-net45-api/Internals/WebApiAsyncHelper.cs +++ b/redmine-net45-api/Internals/WebApiAsyncHelper.cs @@ -38,7 +38,7 @@ internal static class WebApiAsyncHelper /// The data. /// Name of the method. /// - public static async Task ExecuteUpload(RedmineManager redmineManager, string address, string actionType, string data, + public static async Task ExecuteUpload(RedmineManager redmineManager, string address, string actionType, string data, string methodName) { using (var wc = redmineManager.CreateWebClient(null)) @@ -48,7 +48,7 @@ public static async Task ExecuteUpload(RedmineManager redmineManager, string add if (actionType == HttpVerbs.POST || actionType == HttpVerbs.DELETE || actionType == HttpVerbs.PUT || actionType == HttpVerbs.PATCH) { - await wc.UploadStringTaskAsync(address, actionType, data).ConfigureAwait(false); + return await wc.UploadStringTaskAsync(address, actionType, data).ConfigureAwait(false); } } catch (WebException webException) @@ -56,41 +56,12 @@ public static async Task ExecuteUpload(RedmineManager redmineManager, string add webException.HandleWebException(methodName, redmineManager.MimeFormat); } } - } - /// - /// Executes the upload. - /// - /// - /// The redmine manager. - /// The address. - /// Type of the action. - /// The data. - /// Name of the method. - /// - public static async Task ExecuteUpload(RedmineManager redmineManager, string address, string actionType, string data, - string methodName) - where T : class, new() - { - using (var wc = redmineManager.CreateWebClient(null)) - { - try - { - if (actionType == HttpVerbs.POST || actionType == HttpVerbs.DELETE || actionType == HttpVerbs.PUT || - actionType == HttpVerbs.PATCH) - { - var response = await wc.UploadStringTaskAsync(address, actionType, data).ConfigureAwait(false); - return RedmineSerializer.Deserialize(response, redmineManager.MimeFormat); - } - } - catch (WebException webException) - { - webException.HandleWebException(methodName, redmineManager.MimeFormat); - } - return default(T); - } + return null; } + + /// /// Executes the download. /// From e0ccef9795b2b0c30c58bc814cbc7ba0f03809a8 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Sun, 25 Mar 2018 14:38:28 +0300 Subject: [PATCH 017/601] Fixed UploadFile. --- .../Async/RedmineManagerAsync.cs | 4 ++-- redmine-net20-api/IRedmineManager.cs | 2 +- redmine-net20-api/Internals/UrlHelper.cs | 22 ------------------- redmine-net20-api/RedmineManager.cs | 4 ++-- redmine-net20-api/Types/Project.cs | 3 +++ .../Async/RedmineManagerAsync.cs | 4 ++-- .../Tests/Sync/AttachmentTests.cs | 2 +- 7 files changed, 11 insertions(+), 30 deletions(-) mode change 100755 => 100644 redmine-net20-api/Types/Project.cs diff --git a/redmine-net20-api/Async/RedmineManagerAsync.cs b/redmine-net20-api/Async/RedmineManagerAsync.cs index 51b6ff94..afdbd828 100644 --- a/redmine-net20-api/Async/RedmineManagerAsync.cs +++ b/redmine-net20-api/Async/RedmineManagerAsync.cs @@ -237,9 +237,9 @@ public static Task DeleteObjectAsync(this RedmineManager redmineManager, stri /// The data. /// /// - public static Task UploadFileAsync(this RedmineManager redmineManager, byte[] data, string fileName) + public static Task UploadFileAsync(this RedmineManager redmineManager, byte[] data) { - return delegate { return redmineManager.UploadFile(data, fileName); }; + return delegate { return redmineManager.UploadFile(data); }; } /// diff --git a/redmine-net20-api/IRedmineManager.cs b/redmine-net20-api/IRedmineManager.cs index fee24f22..b31555d9 100644 --- a/redmine-net20-api/IRedmineManager.cs +++ b/redmine-net20-api/IRedmineManager.cs @@ -45,7 +45,7 @@ public interface IRedmineManager List GetAllWikiPages(string projectId); void DeleteWikiPage(string projectId, string pageName); - Upload UploadFile(byte[] data, string fileName); + Upload UploadFile(byte[] data); void UpdateAttachment(int issueId, Attachment attachment); byte[] DownloadFile(string address); diff --git a/redmine-net20-api/Internals/UrlHelper.cs b/redmine-net20-api/Internals/UrlHelper.cs index 99d3df9f..a71311bc 100644 --- a/redmine-net20-api/Internals/UrlHelper.cs +++ b/redmine-net20-api/Internals/UrlHelper.cs @@ -292,28 +292,6 @@ public static string GetUploadFileUrl(RedmineManager redmineManager) redmineManager.MimeFormat.ToString().ToLower()); } - /// - /// Gets the upload file URL. - /// - /// The redmine manager. - /// - /// - public static string GetUploadFileUrl(RedmineManager redmineManager, string fileName) - { - if (string.IsNullOrEmpty(fileName)) - { - throw new ArgumentNullException("fileName"); - } - - fileName = Uri.EscapeDataString(fileName); - - string uriString = string.Format(FORMAT, redmineManager.Host, RedmineKeys.UPLOADS, - redmineManager.MimeFormat.ToString().ToLower() - ) + "?filename=" + fileName; - - return Uri.EscapeUriString(uriString); - } - /// /// Gets the current user URL. /// diff --git a/redmine-net20-api/RedmineManager.cs b/redmine-net20-api/RedmineManager.cs index 3d090fa8..009b5c3f 100644 --- a/redmine-net20-api/RedmineManager.cs +++ b/redmine-net20-api/RedmineManager.cs @@ -640,9 +640,9 @@ public void DeleteWikiPage(string projectId, string pageName) /// /// /// - public Upload UploadFile(byte[] data, string fileName) + public Upload UploadFile(byte[] data) { - string url = UrlHelper.GetUploadFileUrl(this, fileName); + string url = UrlHelper.GetUploadFileUrl(this); return WebApiHelper.ExecuteUploadFile(this, url, data, "UploadFile"); } diff --git a/redmine-net20-api/Types/Project.cs b/redmine-net20-api/Types/Project.cs old mode 100755 new mode 100644 index 91e83c8a..e22c1fb4 --- a/redmine-net20-api/Types/Project.cs +++ b/redmine-net20-api/Types/Project.cs @@ -139,6 +139,9 @@ public class Project : IdentifiableName, IEquatable [XmlArrayItem(RedmineKeys.ENABLED_MODULE)] public IList EnabledModules { get; set; } + /// + /// + /// [XmlArray(RedmineKeys.TIME_ENTRY_ACTIVITIES)] [XmlArrayItem(RedmineKeys.TIME_ENTRY_ACTIVITY)] public IList TimeEntryActivities { get; set; } diff --git a/redmine-net40-api/Async/RedmineManagerAsync.cs b/redmine-net40-api/Async/RedmineManagerAsync.cs index 95f6b19c..12ef40a6 100644 --- a/redmine-net40-api/Async/RedmineManagerAsync.cs +++ b/redmine-net40-api/Async/RedmineManagerAsync.cs @@ -230,9 +230,9 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// The redmine manager. /// The data. /// - public static Task UploadFileAsync(this RedmineManager redmineManager, byte[] data, string fileName) + public static Task UploadFileAsync(this RedmineManager redmineManager, byte[] data) { - return Task.Factory.StartNew(() => redmineManager.UploadFile(data, fileName), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.UploadFile(data), TaskCreationOptions.LongRunning); } /// diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs b/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs index 4087f73b..299a8fa0 100644 --- a/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs +++ b/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs @@ -74,7 +74,7 @@ public void Should_Upload_Attachment() var documentData = System.IO.File.ReadAllBytes(AppDomain.CurrentDomain.BaseDirectory + ATTACHMENT_LOCAL_PATH); //upload attachment to redmine - var attachment = fixture.RedmineManager.UploadFile(documentData, ATTACHMENT_LOCAL_PATH); + var attachment = fixture.RedmineManager.UploadFile(documentData); //set attachment properties attachment.FileName = ATTACHMENT_NAME; From e3dd7ec38925ea234233f9090ec7a693f803d2b5 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Sun, 25 Mar 2018 14:39:14 +0300 Subject: [PATCH 018/601] Updated nuspecs. --- redmine-net-api-signed.nuspec | 4 ++-- redmine-net-api.nuspec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/redmine-net-api-signed.nuspec b/redmine-net-api-signed.nuspec index d3710bf7..6be5b86b 100755 --- a/redmine-net-api-signed.nuspec +++ b/redmine-net-api-signed.nuspec @@ -8,11 +8,11 @@ Adrian Popescu http://www.apache.org/licenses/LICENSE-2.0 https://github.com/zapadi/redmine-net-api - https://github.com/zapadi/redmine-net-api/blob/master/logo.png + https://github.com/zapadi/redmine-net-api/raw/master/logo.png false Redmine .NET API is a communication library for Redmine project management application. - Copyright 2011 - 2017 + Copyright 2011 - 2018 en-GB Redmine API .NET Signed C# diff --git a/redmine-net-api.nuspec b/redmine-net-api.nuspec index cfb8640c..35bc1421 100755 --- a/redmine-net-api.nuspec +++ b/redmine-net-api.nuspec @@ -8,11 +8,11 @@ Adrian Popescu http://www.apache.org/licenses/LICENSE-2.0 https://github.com/zapadi/redmine-net-api - https://github.com/zapadi/redmine-net-api/blob/master/logo.png + https://github.com/zapadi/redmine-net-api/raw/master/logo.png false Redmine .NET API is a communication library for Redmine project management application. - Copyright 2011 - 2017 + Copyright 2011 - 2018 en-GB Redmine API .NET C# From f9fd7dbd7c0fadd364cca12fd0df027524b0d34c Mon Sep 17 00:00:00 2001 From: Zapadi Date: Mon, 26 Mar 2018 18:45:09 +0300 Subject: [PATCH 019/601] Changed folder structure. --- NuGet/redmine-api-signed.nupkg | Bin 187694 -> 0 bytes NuGet/redmine-api.0.0.0.0.nupkg | Bin 265797 -> 0 bytes NuGet/redmine-api.nupkg | Bin 233417 -> 0 bytes .../docker-compose.yml | 0 .../redmine-net-api-signed.nuspec | 0 .../redmine-net-api.nuspec | 0 packages/repositories.config | 5 - redmine-net-api.sln | 274 ------------------ .../redmine-net40-api.csproj.user | 6 - src/redmine-net-api.sln | 143 +++++++++ .../redmine-net-api.sln.DotSettings | 0 .../Async/RedmineManagerAsync.cs | 0 .../Exceptions/ConflictException.cs | 0 .../Exceptions/ForbiddenException.cs | 0 .../InternalServerErrorException.cs | 0 .../NameResolutionFailureException.cs | 0 .../Exceptions/NotAcceptableException.cs | 0 .../Exceptions/NotFoundException.cs | 0 .../Exceptions/RedmineException.cs | 0 .../Exceptions/RedmineTimeoutException.cs | 0 .../Exceptions/UnauthorizedException.cs | 0 .../Extensions/CollectionExtensions.cs | 0 .../Extensions/ExtensionAttribute.cs | 0 .../Extensions/LoggerExtensions.cs | 0 .../NameValueCollectionExtensions.cs | 0 .../Extensions/WebExtensions.cs | 0 .../Extensions/XmlReaderExtensions.cs | 0 .../Extensions/XmlWriterExtensions.cs | 0 .../redmine-net20-api}/HttpVerbs.cs | 0 .../redmine-net20-api}/IRedmineManager.cs | 0 .../redmine-net20-api}/IRedmineWebClient.cs | 0 .../Internals/DataHelper.cs | 0 .../redmine-net20-api}/Internals/Func.cs | 0 .../Internals/HashCodeHelper.cs | 0 .../Internals/RedmineSerializer.cs | 0 .../redmine-net20-api}/Internals/UrlHelper.cs | 0 .../Internals/WebApiHelper.cs | 0 .../Internals/XmlStreamingDeserializer.cs | 0 .../Internals/XmlStreamingSerializer.cs | 0 .../Logging/ColorConsoleLogger.cs | 0 .../Logging/ConsoleLogger.cs | 0 .../redmine-net20-api}/Logging/ILogger.cs | 0 .../redmine-net20-api}/Logging/LogEntry.cs | 0 .../redmine-net20-api}/Logging/Logger.cs | 0 .../Logging/LoggerExtensions.cs | 0 .../Logging/LoggingEventType.cs | 0 .../Logging/RedmineConsoleTraceListener.cs | 0 .../redmine-net20-api}/Logging/TraceLogger.cs | 0 .../redmine-net20-api}/MimeFormat.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../redmine-net20-api}/RedmineKeys.cs | 0 .../redmine-net20-api}/RedmineManager.cs | 0 .../redmine-net20-api}/RedmineWebClient.cs | 0 .../redmine-net20-api}/Types/Attachment.cs | 0 .../redmine-net20-api}/Types/Attachments.cs | 0 .../redmine-net20-api}/Types/ChangeSet.cs | 0 .../redmine-net20-api}/Types/CustomField.cs | 0 .../Types/CustomFieldPossibleValue.cs | 0 .../Types/CustomFieldRole.cs | 0 .../Types/CustomFieldValue.cs | 0 .../redmine-net20-api}/Types/Detail.cs | 0 .../redmine-net20-api}/Types/Error.cs | 0 .../redmine-net20-api}/Types/File.cs | 0 .../redmine-net20-api}/Types/Group.cs | 0 .../redmine-net20-api}/Types/GroupUser.cs | 0 .../redmine-net20-api}/Types/IValue.cs | 0 .../redmine-net20-api}/Types/Identifiable.cs | 0 .../Types/IdentifiableName.cs | 0 .../redmine-net20-api}/Types/Issue.cs | 0 .../redmine-net20-api}/Types/IssueCategory.cs | 0 .../redmine-net20-api}/Types/IssueChild.cs | 0 .../Types/IssueCustomField.cs | 0 .../redmine-net20-api}/Types/IssuePriority.cs | 0 .../redmine-net20-api}/Types/IssueRelation.cs | 0 .../Types/IssueRelationType.cs | 0 .../redmine-net20-api}/Types/IssueStatus.cs | 0 .../redmine-net20-api}/Types/Journal.cs | 0 .../redmine-net20-api}/Types/Membership.cs | 0 .../Types/MembershipRole.cs | 0 .../redmine-net20-api}/Types/News.cs | 0 .../Types/PaginatedObjects.cs | 0 .../redmine-net20-api}/Types/Permission.cs | 0 .../redmine-net20-api}/Types/Project.cs | 0 .../Types/ProjectEnabledModule.cs | 0 .../Types/ProjectIssueCategory.cs | 0 .../Types/ProjectMembership.cs | 0 .../redmine-net20-api}/Types/ProjectStatus.cs | 0 .../Types/ProjectTracker.cs | 0 .../redmine-net20-api}/Types/Query.cs | 0 .../redmine-net20-api}/Types/Role.cs | 0 .../redmine-net20-api}/Types/TimeEntry.cs | 0 .../Types/TimeEntryActivity.cs | 0 .../redmine-net20-api}/Types/Tracker.cs | 0 .../Types/TrackerCustomField.cs | 0 .../redmine-net20-api}/Types/Upload.cs | 0 .../redmine-net20-api}/Types/User.cs | 0 .../redmine-net20-api}/Types/UserGroup.cs | 0 .../redmine-net20-api}/Types/UserStatus.cs | 0 .../redmine-net20-api}/Types/Version.cs | 0 .../redmine-net20-api}/Types/Watcher.cs | 0 .../redmine-net20-api}/Types/WikiPage.cs | 0 .../redmine-net20-api.csproj | 2 +- .../redmine-net40-api-signed}/Attachments.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../redmine-net-api.snk | Bin .../redmine-net40-api-signed.csproj | 2 +- .../Async/RedmineManagerAsync.cs | 0 .../Async/RedmineManagerAsyncExtensions.cs | 0 .../Extensions/CollectionExtensions.cs | 0 .../Extensions/JObjectExtensions.cs | 0 .../Extensions/JsonExtensions.cs | 0 .../Extensions/WebExtensions.cs | 0 .../Extensions/XmlReaderExtensions.cs | 0 .../Internals/RedmineSerializer.cs | 0 .../Internals/RedmineSerializerJson.cs | 0 .../Internals/RedmineSerializerJson2.cs | 0 .../JSonConverters/AttachmentConverter.cs | 0 .../JSonConverters/AttachmentsConverter.cs | 0 .../JSonConverters/ChangeSetConverter.cs | 0 .../JSonConverters/CustomFieldConverter.cs | 0 .../CustomFieldPossibleValueConverter.cs | 0 .../CustomFieldRoleConverter.cs | 0 .../JSonConverters/DetailConverter.cs | 0 .../JSonConverters/ErrorConverter.cs | 0 .../JSonConverters/FileConverter.cs | 0 .../JSonConverters/GroupConverter.cs | 0 .../JSonConverters/GroupUserConverter.cs | 0 .../IdentifiableNameConverter.cs | 0 .../JSonConverters/IssueCategoryConverter.cs | 0 .../JSonConverters/IssueChildConverter.cs | 0 .../JSonConverters/IssueConverter.cs | 0 .../IssueCustomFieldConverter.cs | 0 .../JSonConverters/IssuePriorityConverter.cs | 0 .../JSonConverters/IssueRelationConverter.cs | 0 .../JSonConverters/IssueStatusConverter.cs | 0 .../JSonConverters/JournalConverter.cs | 0 .../JSonConverters/MembershipConverter.cs | 0 .../JSonConverters/MembershipRoleConverter.cs | 0 .../JSonConverters/NewsConverter.cs | 0 .../JSonConverters/PermissionConverter.cs | 0 .../JSonConverters/ProjectConverter.cs | 0 .../ProjectEnabledModuleConverter.cs | 0 .../ProjectIssueCategoryConverter.cs | 0 .../ProjectMembershipConverter.cs | 0 .../JSonConverters/ProjectTrackerConverter.cs | 0 .../JSonConverters/QueryConverter.cs | 0 .../JSonConverters/RoleConverter.cs | 0 .../TimeEntryActivityConverter.cs | 0 .../JSonConverters/TimeEntryConverter.cs | 0 .../JSonConverters/TrackerConverter.cs | 0 .../TrackerCustomFieldConverter.cs | 0 .../JSonConverters/UploadConverter.cs | 0 .../JSonConverters/UserConverter.cs | 0 .../JSonConverters/UserGroupConverter.cs | 0 .../JSonConverters/VersionConverter.cs | 0 .../JSonConverters/WatcherConverter.cs | 0 .../JSonConverters/WikiPageConverter.cs | 0 .../JSonConverters2/IJsonConverter.cs | 0 .../JSonConverters2/IssueConverter.cs | 0 .../IssueCustomFieldConverter.cs | 0 .../JSonConverters2/UploadConverter.cs | 0 .../redmine-net40-api}/MimeFormat.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../redmine-net40-api.csproj | 2 +- .../Properties/AssemblyInfo.cs | 0 .../redmine-net-api.snk | Bin .../redmine-net45-api-signed.csproj | 2 +- .../Async/RedmineManagerAsync.cs | 0 .../Extensions/DisposableExtension.cs | 0 .../Extensions/FunctionalExtensions.cs | 0 .../Extensions/TaskExtensions.cs | 0 .../Internals/WebApiAsyncHelper.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../redmine-net45-api.csproj | 2 +- .../Properties/AssemblyInfo.cs | 0 .../redmine-net-api.snk | Bin .../redmine-net451-api-signed.csproj | 2 +- .../Properties/AssemblyInfo.cs | 0 .../redmine-net451-api.csproj | 2 +- .../Internals/HashCodeHelper.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../redmine-net452-api-signed.csproj | 2 +- .../Properties/AssemblyInfo.cs | 0 .../redmine-net452-api.csproj | 2 +- .../xUnitTest-redmine-net45-api}/Helper.cs | 0 .../Infrastructure/CaseOrder.cs | 0 .../Infrastructure/CollectionOrderer.cs | 0 .../Infrastructure/OrderAttribute.cs | 0 .../Infrastructure/RedmineCollection.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../RedmineFixture.cs | 0 .../Tests/Async/AttachmentAsyncTests.cs | 0 .../Tests/Async/IssueAsyncTests.cs | 0 .../Tests/Async/UserAsyncTests.cs | 0 .../Tests/Async/WikiPageAsyncTests.cs | 0 .../Tests/RedmineTest.cs | 0 .../Tests/Sync/AttachmentTests.cs | 0 .../Tests/Sync/CustomFieldTests.cs | 0 .../Tests/Sync/GroupTests.cs | 0 .../Tests/Sync/IssueCategoryTests.cs | 0 .../Tests/Sync/IssuePriorityTests.cs | 0 .../Tests/Sync/IssueRelationTests.cs | 0 .../Tests/Sync/IssueStatusTests.cs | 0 .../Tests/Sync/IssueTests.cs | 0 .../Tests/Sync/NewsTests.cs | 0 .../Tests/Sync/ProjectMembershipTests.cs | 0 .../Tests/Sync/ProjectTests.cs | 0 .../Tests/Sync/QueryTests.cs | 0 .../Tests/Sync/RoleTests.cs | 0 .../Tests/Sync/TimeEntryActivtiyTests.cs | 0 .../Tests/Sync/TimeEntryTests.cs | 0 .../Tests/Sync/TrackerTests.cs | 0 .../Tests/Sync/UserTests.cs | 0 .../Tests/Sync/VersionTests.cs | 0 .../Tests/Sync/WikiPageTests.cs | 0 .../packages.config | 12 + .../xUnitTest-redmine-net-api.csproj | 51 ++-- {NuGet => tools/NuGet}/NuGet.exe | Bin xUnitTest-redmine-net45-api/packages.config | 10 - 219 files changed, 195 insertions(+), 324 deletions(-) delete mode 100755 NuGet/redmine-api-signed.nupkg delete mode 100755 NuGet/redmine-api.0.0.0.0.nupkg delete mode 100755 NuGet/redmine-api.nupkg rename docker-compose.yml => build/docker-compose.yml (100%) rename redmine-net-api-signed.nuspec => build/redmine-net-api-signed.nuspec (100%) rename redmine-net-api.nuspec => build/redmine-net-api.nuspec (100%) delete mode 100755 packages/repositories.config delete mode 100755 redmine-net-api.sln delete mode 100755 redmine-net40-api/redmine-net40-api.csproj.user create mode 100644 src/redmine-net-api.sln rename redmine-net-api.sln.DotSettings => src/redmine-net-api.sln.DotSettings (100%) rename {redmine-net20-api => src/redmine-net20-api}/Async/RedmineManagerAsync.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Exceptions/ConflictException.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Exceptions/ForbiddenException.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Exceptions/InternalServerErrorException.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Exceptions/NameResolutionFailureException.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Exceptions/NotAcceptableException.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Exceptions/NotFoundException.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Exceptions/RedmineException.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Exceptions/RedmineTimeoutException.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Exceptions/UnauthorizedException.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Extensions/CollectionExtensions.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Extensions/ExtensionAttribute.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Extensions/LoggerExtensions.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Extensions/NameValueCollectionExtensions.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Extensions/WebExtensions.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Extensions/XmlReaderExtensions.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Extensions/XmlWriterExtensions.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/HttpVerbs.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/IRedmineManager.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/IRedmineWebClient.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Internals/DataHelper.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Internals/Func.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Internals/HashCodeHelper.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Internals/RedmineSerializer.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Internals/UrlHelper.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Internals/WebApiHelper.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Internals/XmlStreamingDeserializer.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Internals/XmlStreamingSerializer.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Logging/ColorConsoleLogger.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Logging/ConsoleLogger.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Logging/ILogger.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Logging/LogEntry.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Logging/Logger.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Logging/LoggerExtensions.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Logging/LoggingEventType.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Logging/RedmineConsoleTraceListener.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Logging/TraceLogger.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/MimeFormat.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Properties/AssemblyInfo.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/RedmineKeys.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/RedmineManager.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/RedmineWebClient.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Attachment.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Attachments.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/ChangeSet.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/CustomField.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/CustomFieldPossibleValue.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/CustomFieldRole.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/CustomFieldValue.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Detail.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Error.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/File.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Group.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/GroupUser.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/IValue.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Identifiable.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/IdentifiableName.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Issue.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/IssueCategory.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/IssueChild.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/IssueCustomField.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/IssuePriority.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/IssueRelation.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/IssueRelationType.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/IssueStatus.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Journal.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Membership.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/MembershipRole.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/News.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/PaginatedObjects.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Permission.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Project.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/ProjectEnabledModule.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/ProjectIssueCategory.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/ProjectMembership.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/ProjectStatus.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/ProjectTracker.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Query.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Role.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/TimeEntry.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/TimeEntryActivity.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Tracker.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/TrackerCustomField.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Upload.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/User.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/UserGroup.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/UserStatus.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Version.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/Watcher.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/Types/WikiPage.cs (100%) rename {redmine-net20-api => src/redmine-net20-api}/redmine-net20-api.csproj (99%) rename {redmine-net40-api-signed => src/redmine-net40-api-signed}/Attachments.cs (100%) rename {redmine-net40-api-signed => src/redmine-net40-api-signed}/Properties/AssemblyInfo.cs (100%) rename {redmine-net40-api-signed => src/redmine-net40-api-signed}/redmine-net-api.snk (100%) rename {redmine-net40-api-signed => src/redmine-net40-api-signed}/redmine-net40-api-signed.csproj (99%) rename {redmine-net40-api => src/redmine-net40-api}/Async/RedmineManagerAsync.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/Async/RedmineManagerAsyncExtensions.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/Extensions/CollectionExtensions.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/Extensions/JObjectExtensions.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/Extensions/JsonExtensions.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/Extensions/WebExtensions.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/Extensions/XmlReaderExtensions.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/Internals/RedmineSerializer.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/Internals/RedmineSerializerJson.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/Internals/RedmineSerializerJson2.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/AttachmentConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/AttachmentsConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/ChangeSetConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/CustomFieldConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/CustomFieldPossibleValueConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/CustomFieldRoleConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/DetailConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/ErrorConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/FileConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/GroupConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/GroupUserConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/IdentifiableNameConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/IssueCategoryConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/IssueChildConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/IssueConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/IssueCustomFieldConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/IssuePriorityConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/IssueRelationConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/IssueStatusConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/JournalConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/MembershipConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/MembershipRoleConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/NewsConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/PermissionConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/ProjectConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/ProjectEnabledModuleConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/ProjectIssueCategoryConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/ProjectMembershipConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/ProjectTrackerConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/QueryConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/RoleConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/TimeEntryActivityConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/TimeEntryConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/TrackerConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/TrackerCustomFieldConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/UploadConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/UserConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/UserGroupConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/VersionConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/WatcherConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters/WikiPageConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters2/IJsonConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters2/IssueConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters2/IssueCustomFieldConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/JSonConverters2/UploadConverter.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/MimeFormat.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/Properties/AssemblyInfo.cs (100%) rename {redmine-net40-api => src/redmine-net40-api}/redmine-net40-api.csproj (99%) rename {redmine-net45-api-signed => src/redmine-net45-api-signed}/Properties/AssemblyInfo.cs (100%) rename {redmine-net45-api-signed => src/redmine-net45-api-signed}/redmine-net-api.snk (100%) rename {redmine-net45-api-signed => src/redmine-net45-api-signed}/redmine-net45-api-signed.csproj (99%) rename {redmine-net45-api => src/redmine-net45-api}/Async/RedmineManagerAsync.cs (100%) rename {redmine-net45-api => src/redmine-net45-api}/Extensions/DisposableExtension.cs (100%) rename {redmine-net45-api => src/redmine-net45-api}/Extensions/FunctionalExtensions.cs (100%) rename {redmine-net45-api => src/redmine-net45-api}/Extensions/TaskExtensions.cs (100%) rename {redmine-net45-api => src/redmine-net45-api}/Internals/WebApiAsyncHelper.cs (100%) rename {redmine-net45-api => src/redmine-net45-api}/Properties/AssemblyInfo.cs (100%) rename {redmine-net45-api => src/redmine-net45-api}/redmine-net45-api.csproj (99%) rename {redmine-net451-api-signed => src/redmine-net451-api-signed}/Properties/AssemblyInfo.cs (100%) rename {redmine-net451-api-signed => src/redmine-net451-api-signed}/redmine-net-api.snk (100%) rename {redmine-net451-api-signed => src/redmine-net451-api-signed}/redmine-net451-api-signed.csproj (99%) rename {redmine-net451-api => src/redmine-net451-api}/Properties/AssemblyInfo.cs (100%) rename {redmine-net451-api => src/redmine-net451-api}/redmine-net451-api.csproj (99%) rename {redmine-net452-api-signed => src/redmine-net452-api-signed}/Internals/HashCodeHelper.cs (100%) rename {redmine-net452-api-signed => src/redmine-net452-api-signed}/Properties/AssemblyInfo.cs (100%) rename {redmine-net452-api-signed => src/redmine-net452-api-signed}/redmine-net452-api-signed.csproj (99%) rename {redmine-net452-api => src/redmine-net452-api}/Properties/AssemblyInfo.cs (100%) rename {redmine-net452-api => src/redmine-net452-api}/redmine-net452-api.csproj (99%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Helper.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Infrastructure/CaseOrder.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Infrastructure/CollectionOrderer.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Infrastructure/OrderAttribute.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Infrastructure/RedmineCollection.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Properties/AssemblyInfo.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/RedmineFixture.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Async/AttachmentAsyncTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Async/IssueAsyncTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Async/UserAsyncTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Async/WikiPageAsyncTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/RedmineTest.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/AttachmentTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/CustomFieldTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/GroupTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/IssueCategoryTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/IssuePriorityTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/IssueRelationTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/IssueStatusTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/IssueTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/NewsTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/ProjectMembershipTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/ProjectTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/QueryTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/RoleTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/TimeEntryActivtiyTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/TimeEntryTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/TrackerTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/UserTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/VersionTests.cs (100%) rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/Tests/Sync/WikiPageTests.cs (100%) create mode 100644 src/xUnitTest-redmine-net45-api/packages.config rename {xUnitTest-redmine-net45-api => src/xUnitTest-redmine-net45-api}/xUnitTest-redmine-net-api.csproj (51%) mode change 100755 => 100644 rename {NuGet => tools/NuGet}/NuGet.exe (100%) delete mode 100755 xUnitTest-redmine-net45-api/packages.config diff --git a/NuGet/redmine-api-signed.nupkg b/NuGet/redmine-api-signed.nupkg deleted file mode 100755 index 016db32009ac6e6b9580894a6ede51acfc055dfe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 187694 zcmb5V1ymiu(=Uj-yF+jS!QI`0CAbHck`u`-C?cIVR?zT1*t^h|TOFN(tB^xsJplNx#LUjo*2wu^*3q2B z-pIt-$Q;1J&dSQo@=u%pTL$HSmr0@KVGsC!Nwl>zakO)?GjnD(v9tXj!v5*?PaGR7 z3o8$ctr5`D4B+HUNug%sXbx}|qWt#|Q(H?Q;G2=XX|^M5=^4`B|@e6YsGKh-@DoFs0OP`1~WI- zBu~`7kajz;fk*jX+Fl0}x8s@Vxto4}PD6X+Y6%KlUFVsO3%*zspEjshnkj@nRJ0zj z7_zeLndiruwnSH!D35eQhSd*=N%C6|>N$r>787qpO`zDfYB3u*z`90}(fEYvCyvN| zEd7>qrVMu!S#}4q;a`R};E$+4&YwF|H zzhzVV+gPC!Ili_%FPO${(jt@s9#ZA7w|%ZkNjj4mcd@F-g|d#{SXFk2Hg}|DLW~%$Ix8)SwfAC=s;*k4ZMt3(LOyecKd+d+PKzH|BOH!n>#q6AZY&q#KzK?1qg8FWc|O4?Z0yWv&os-*!=I%a^~Zf zg)^`Mba}K-(Mw+zaaKUsqQ&S5#JpD!1qnh$EoCkqXj- z3IjgpBllAB*zj^C6uY{AQzbTC>OC;dHQSDVNauoYPeFxP|A+UI{q; zkUQHGIO|I#!;_7d&e^JHWtA6-h!gZ!fgdE2DM9it^P zU>Aqf2;1>A3-~3=&>>RkEi9OSuhJFKbKrBb_Fdw$34Lxrws)KPD(vMG?}&0AVYFbQ zyToaudw4)f`N7t3G+Ggs_vu4c5AIRtO25rB`^W4tvx>{#=!$%f*I_ zWniDc(RlUzc$xctNbwM8IV+WrR;L_xO=s1YyLFycqPH3P>ZbSzOs!G+`uS0WTCME6 zz1B@e-dIVoI|xJ`iqZD_<+(Arv|joe4c%*-P@}+af)ZH zlCJNRxzBCmJssIw=9^dke`Ffsxp^ngk~5`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u>L`I z%f{Veepp^VU^4LWqY+={D5}1;=o3r@?h;u(=MX;JDr317V=Nd-Blr=kcmp`M)~m7! zHoCb2fsk8bXaq_4yI%OJMd3AQ14z$ASQ)uZ{fz$UFOH z*J9u@FUQ1&k?a0F1A}EO$2{Eq71Lk|rosQfG=mhj=YGc2SQ2N_Q@+JG4Rn@*>UEQq8?`g}MzjPLS>%Q?R|MwVgl5{{W0KjRpV! diff --git a/NuGet/redmine-api.0.0.0.0.nupkg b/NuGet/redmine-api.0.0.0.0.nupkg deleted file mode 100755 index 17ed4fcf115a6de0d8bf5f2a585b26eb3160b154..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 265797 zcmY&fV{{!r({60s*toIP*iM7Swr$(Vjh!@3Ze!b4)7Vbq#XO(_nh5lu=8tX z&+g1ZNe&7c>&urf@Lz%ye#`ut_;^Qy`10lXUq||9<@@sn%-az@p+Rq*Z7ll1sGFTxZ6wfdZALX=XWTIX^#MYpvTsw?Zf$@S> z4G3GOo{}>*gV0_NOON3#lg9I#G82`8^|G$hUA@RD%TcOi($KcY%&upn_41slM9aAA zA3{rY8#f=&{?BJdP+z`a{PUZOxtYDSgE^D2lQpx0yQ`DAX`0Gp{5&gq55+aA2G6hg z3yA8(Q}uHCra7DD-9w0ysRcI5mU`lj@k;0IBrlkpkqE?oh=c8k3GRHsEkEHNe_ZZ_ zy}lkL(8#Jn9QI7$dC*Izr0txiya?+8DU&8PB$QNPle7gg&|KE zf|GI4Y)<6nd~WRN{X=kFXaiB}1}04PL?7g`4ilO#$fKyN0BO_HxAA+

D)kBv?q1 zdL~!djKV$*m_I|GEKLMNc(UxiLzCMP$1|I~a^rKJNWLG^pHcb(xNz`%ef4~OupxN` zSED~~3nj~@(OOX3s|XWMF+64A^Fyht%306egDdH4bKY4nc#to?c%Mc=B7f(--X$m@2V7D9+Wp5y+PSCiyOcngms0-%UhX+(YQXSx0A@O=1x{X?k1H*!gccg z)~?C>i4}X1vau-4)tT6Qd#%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>zNiKmNfo1jU6!EGS&S{y&wqDxv@Y diff --git a/docker-compose.yml b/build/docker-compose.yml similarity index 100% rename from docker-compose.yml rename to build/docker-compose.yml diff --git a/redmine-net-api-signed.nuspec b/build/redmine-net-api-signed.nuspec similarity index 100% rename from redmine-net-api-signed.nuspec rename to build/redmine-net-api-signed.nuspec diff --git a/redmine-net-api.nuspec b/build/redmine-net-api.nuspec similarity index 100% rename from redmine-net-api.nuspec rename to build/redmine-net-api.nuspec diff --git a/packages/repositories.config b/packages/repositories.config deleted file mode 100755 index cbea8908..00000000 --- a/packages/repositories.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/redmine-net-api.sln b/redmine-net-api.sln deleted file mode 100755 index d2da88b0..00000000 --- a/redmine-net-api.sln +++ /dev/null @@ -1,274 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26228.9 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net20-api", "redmine-net20-api\redmine-net20-api.csproj", "{DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net40-api", "redmine-net40-api\redmine-net40-api.csproj", "{0D9B763C-A16B-463B-BDDD-0A0467DCD32E}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net45-api", "redmine-net45-api\redmine-net45-api.csproj", "{89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net45-api-signed", "redmine-net45-api-signed\redmine-net45-api-signed.csproj", "{82796546-0F57-425B-BB77-751FA24D49D5}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net40-api-signed", "redmine-net40-api-signed\redmine-net40-api-signed.csproj", "{1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net451-api", "redmine-net451-api\redmine-net451-api.csproj", "{4AB94C09-8CFB-41C6-87D1-6B972E7F9307}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net451-api-signed", "redmine-net451-api-signed\redmine-net451-api-signed.csproj", "{6E6E642E-F35A-4EA7-A2D7-16725156BD33}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "xUnitTest-redmine-net-api", "xUnitTest-redmine-net45-api\xUnitTest-redmine-net-api.csproj", "{170210BF-5F03-4531-8A63-06E356CA284B}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net452-api", "redmine-net452-api\redmine-net452-api.csproj", "{404B264F-363B-44AD-AE8D-2587C2E6FA82}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net452-api-signed", "redmine-net452-api-signed\redmine-net452-api-signed.csproj", "{0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|Mixed Platforms = Debug|Mixed Platforms - Debug|x86 = Debug|x86 - DebugJSON|Any CPU = DebugJSON|Any CPU - DebugJSON|Mixed Platforms = DebugJSON|Mixed Platforms - DebugJSON|x86 = DebugJSON|x86 - DebugXML|Any CPU = DebugXML|Any CPU - DebugXML|Mixed Platforms = DebugXML|Mixed Platforms - DebugXML|x86 = DebugXML|x86 - Release|Any CPU = Release|Any CPU - Release|Mixed Platforms = Release|Mixed Platforms - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.Debug|x86.ActiveCfg = Debug|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.DebugJSON|Any CPU.ActiveCfg = DebugJSON|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.DebugJSON|Any CPU.Build.0 = DebugJSON|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.DebugJSON|Mixed Platforms.ActiveCfg = DebugJSON|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.DebugJSON|Mixed Platforms.Build.0 = DebugJSON|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.DebugJSON|x86.ActiveCfg = DebugJSON|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.DebugJSON|x86.Build.0 = DebugJSON|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.DebugXML|Any CPU.ActiveCfg = DebugXML|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.DebugXML|Any CPU.Build.0 = DebugXML|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.DebugXML|Mixed Platforms.ActiveCfg = DebugXML|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.DebugXML|Mixed Platforms.Build.0 = DebugXML|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.DebugXML|x86.ActiveCfg = DebugXML|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.DebugXML|x86.Build.0 = DebugXML|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.Release|Any CPU.Build.0 = Release|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD}.Release|x86.ActiveCfg = Release|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.Debug|x86.ActiveCfg = Debug|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.DebugJSON|Any CPU.ActiveCfg = DebugJSON|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.DebugJSON|Any CPU.Build.0 = DebugJSON|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.DebugJSON|Mixed Platforms.ActiveCfg = DebugJSON|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.DebugJSON|Mixed Platforms.Build.0 = DebugJSON|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.DebugJSON|x86.ActiveCfg = DebugJSON|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.DebugJSON|x86.Build.0 = DebugJSON|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.DebugXML|Any CPU.ActiveCfg = DebugXML|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.DebugXML|Any CPU.Build.0 = DebugXML|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.DebugXML|Mixed Platforms.ActiveCfg = DebugXML|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.DebugXML|Mixed Platforms.Build.0 = DebugXML|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.DebugXML|x86.ActiveCfg = DebugXML|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.DebugXML|x86.Build.0 = DebugXML|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.Release|Any CPU.Build.0 = Release|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E}.Release|x86.ActiveCfg = Release|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.Debug|x86.ActiveCfg = Debug|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.DebugJSON|Any CPU.ActiveCfg = DebugJSON|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.DebugJSON|Any CPU.Build.0 = DebugJSON|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.DebugJSON|Mixed Platforms.ActiveCfg = DebugJSON|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.DebugJSON|Mixed Platforms.Build.0 = DebugJSON|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.DebugJSON|x86.ActiveCfg = DebugJSON|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.DebugJSON|x86.Build.0 = DebugJSON|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.DebugXML|Any CPU.ActiveCfg = DebugXML|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.DebugXML|Any CPU.Build.0 = DebugXML|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.DebugXML|Mixed Platforms.ActiveCfg = DebugXML|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.DebugXML|Mixed Platforms.Build.0 = DebugXML|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.DebugXML|x86.ActiveCfg = DebugXML|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.DebugXML|x86.Build.0 = DebugXML|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.Release|Any CPU.Build.0 = Release|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4}.Release|x86.ActiveCfg = Release|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.Debug|x86.ActiveCfg = Debug|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.DebugJSON|Any CPU.ActiveCfg = DebugJSON|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.DebugJSON|Any CPU.Build.0 = DebugJSON|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.DebugJSON|Mixed Platforms.ActiveCfg = DebugJSON|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.DebugJSON|Mixed Platforms.Build.0 = DebugJSON|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.DebugJSON|x86.ActiveCfg = DebugJSON|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.DebugJSON|x86.Build.0 = DebugJSON|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.DebugXML|Any CPU.ActiveCfg = DebugXML|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.DebugXML|Any CPU.Build.0 = DebugXML|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.DebugXML|Mixed Platforms.ActiveCfg = DebugXML|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.DebugXML|Mixed Platforms.Build.0 = DebugXML|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.DebugXML|x86.ActiveCfg = DebugXML|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.DebugXML|x86.Build.0 = DebugXML|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.Release|Any CPU.Build.0 = Release|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {82796546-0F57-425B-BB77-751FA24D49D5}.Release|x86.ActiveCfg = Release|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.Debug|x86.ActiveCfg = Debug|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.DebugJSON|Any CPU.ActiveCfg = DebugJSON|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.DebugJSON|Any CPU.Build.0 = DebugJSON|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.DebugJSON|Mixed Platforms.ActiveCfg = DebugJSON|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.DebugJSON|Mixed Platforms.Build.0 = DebugJSON|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.DebugJSON|x86.ActiveCfg = DebugJSON|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.DebugJSON|x86.Build.0 = DebugJSON|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.DebugXML|Any CPU.ActiveCfg = DebugXML|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.DebugXML|Any CPU.Build.0 = DebugXML|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.DebugXML|Mixed Platforms.ActiveCfg = DebugXML|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.DebugXML|Mixed Platforms.Build.0 = DebugXML|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.DebugXML|x86.ActiveCfg = DebugXML|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.DebugXML|x86.Build.0 = DebugXML|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.Release|Any CPU.Build.0 = Release|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E}.Release|x86.ActiveCfg = Release|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.Debug|x86.ActiveCfg = Debug|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.DebugJSON|Mixed Platforms.ActiveCfg = Debug|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.DebugJSON|Mixed Platforms.Build.0 = Debug|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.DebugJSON|x86.ActiveCfg = Debug|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.DebugXML|Any CPU.Build.0 = Debug|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.DebugXML|Mixed Platforms.ActiveCfg = Debug|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.DebugXML|Mixed Platforms.Build.0 = Debug|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.DebugXML|x86.ActiveCfg = Debug|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.Release|Any CPU.Build.0 = Release|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307}.Release|x86.ActiveCfg = Release|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.Debug|x86.ActiveCfg = Debug|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.DebugJSON|Mixed Platforms.ActiveCfg = Debug|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.DebugJSON|Mixed Platforms.Build.0 = Debug|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.DebugJSON|x86.ActiveCfg = Debug|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.DebugXML|Any CPU.Build.0 = Debug|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.DebugXML|Mixed Platforms.ActiveCfg = Debug|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.DebugXML|Mixed Platforms.Build.0 = Debug|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.DebugXML|x86.ActiveCfg = Debug|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.Release|Any CPU.Build.0 = Release|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33}.Release|x86.ActiveCfg = Release|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.Debug|x86.ActiveCfg = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.Debug|x86.Build.0 = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.DebugJSON|Mixed Platforms.ActiveCfg = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.DebugJSON|Mixed Platforms.Build.0 = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.DebugJSON|x86.ActiveCfg = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.DebugJSON|x86.Build.0 = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.DebugXML|Any CPU.Build.0 = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.DebugXML|Mixed Platforms.ActiveCfg = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.DebugXML|Mixed Platforms.Build.0 = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.DebugXML|x86.ActiveCfg = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.DebugXML|x86.Build.0 = Debug|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.Release|Any CPU.Build.0 = Release|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.Release|x86.ActiveCfg = Release|Any CPU - {170210BF-5F03-4531-8A63-06E356CA284B}.Release|x86.Build.0 = Release|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.Debug|Any CPU.Build.0 = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.Debug|x86.ActiveCfg = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.Debug|x86.Build.0 = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.DebugJSON|Mixed Platforms.ActiveCfg = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.DebugJSON|Mixed Platforms.Build.0 = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.DebugJSON|x86.ActiveCfg = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.DebugJSON|x86.Build.0 = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.DebugXML|Any CPU.Build.0 = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.DebugXML|Mixed Platforms.ActiveCfg = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.DebugXML|Mixed Platforms.Build.0 = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.DebugXML|x86.ActiveCfg = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.DebugXML|x86.Build.0 = Debug|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.Release|Any CPU.ActiveCfg = Release|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.Release|Any CPU.Build.0 = Release|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.Release|x86.ActiveCfg = Release|Any CPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82}.Release|x86.Build.0 = Release|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.Debug|x86.ActiveCfg = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.Debug|x86.Build.0 = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.DebugJSON|Mixed Platforms.ActiveCfg = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.DebugJSON|Mixed Platforms.Build.0 = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.DebugJSON|x86.ActiveCfg = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.DebugJSON|x86.Build.0 = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.DebugXML|Any CPU.Build.0 = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.DebugXML|Mixed Platforms.ActiveCfg = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.DebugXML|Mixed Platforms.Build.0 = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.DebugXML|x86.ActiveCfg = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.DebugXML|x86.Build.0 = Debug|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.Release|Any CPU.Build.0 = Release|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.Release|x86.ActiveCfg = Release|Any CPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(CodealikeProperties) = postSolution - SolutionGuid = 74da85cc-5a0d-4590-a976-666d0b2d41cb - EndGlobalSection - GlobalSection(TestCaseManagementSettings) = postSolution - CategoryFile = redmine-net-api.vsmdi - EndGlobalSection -EndGlobal diff --git a/redmine-net40-api/redmine-net40-api.csproj.user b/redmine-net40-api/redmine-net40-api.csproj.user deleted file mode 100755 index a4a6cdff..00000000 --- a/redmine-net40-api/redmine-net40-api.csproj.user +++ /dev/null @@ -1,6 +0,0 @@ - - - - ProjectFiles - - \ No newline at end of file diff --git a/src/redmine-net-api.sln b/src/redmine-net-api.sln new file mode 100644 index 00000000..45cd9121 --- /dev/null +++ b/src/redmine-net-api.sln @@ -0,0 +1,143 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.26228.9 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{0DFF4758-5C19-4D8F-BA6C-76E618323F6A}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{F3F4278D-6271-4F77-BA88-41555D53CBD1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net20-api", "Y:\Redmine\redmine-net-api\src\redmine-net20-api\redmine-net20-api.csproj", "{0E6B9B72-445D-4E71-8D29-48C4A009AB03}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net40-api", "Y:\Redmine\redmine-net-api\src\redmine-net40-api\redmine-net40-api.csproj", "{22492A69-B890-4D5B-A2FC-E2F6C63935B8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net40-api-signed", "Y:\Redmine\redmine-net-api\src\redmine-net40-api-signed\redmine-net40-api-signed.csproj", "{00F410C6-E398-4F58-869B-34CD7275096A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net45-api", "Y:\Redmine\redmine-net-api\src\redmine-net45-api\redmine-net45-api.csproj", "{AEDFD095-F4B0-4630-B41A-9A22169456E9}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net45-api-signed", "Y:\Redmine\redmine-net-api\src\redmine-net45-api-signed\redmine-net45-api-signed.csproj", "{028B9120-A7FC-4B23-AA9C-F18087058F76}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net451-api", "Y:\Redmine\redmine-net-api\src\redmine-net451-api\redmine-net451-api.csproj", "{B67F0035-336C-4CDA-80A8-DE94EEDF5627}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net451-api-signed", "Y:\Redmine\redmine-net-api\src\redmine-net451-api-signed\redmine-net451-api-signed.csproj", "{7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net452-api", "Y:\Redmine\redmine-net-api\src\redmine-net452-api\redmine-net452-api.csproj", "{4EE7D8D8-AA65-442B-A928-580B4604B9AF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net452-api-signed", "Y:\Redmine\redmine-net-api\src\redmine-net452-api-signed\redmine-net452-api-signed.csproj", "{6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "xUnitTest-redmine-net-api", "Y:\Redmine\redmine-net-api\src\xUnitTest-redmine-net45-api\xUnitTest-redmine-net-api.csproj", "{900EF0B3-0233-45DA-811F-4C59483E8452}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + DebugJSON|Any CPU = DebugJSON|Any CPU + DebugXML|Any CPU = DebugXML|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugJSON|Any CPU.ActiveCfg = DebugJSON|Any CPU + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugJSON|Any CPU.Build.0 = DebugJSON|Any CPU + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugXML|Any CPU.ActiveCfg = DebugXML|Any CPU + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugXML|Any CPU.Build.0 = DebugXML|Any CPU + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.Release|Any CPU.Build.0 = Release|Any CPU + {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.DebugJSON|Any CPU.ActiveCfg = DebugJSON|Any CPU + {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.DebugJSON|Any CPU.Build.0 = DebugJSON|Any CPU + {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.DebugXML|Any CPU.ActiveCfg = DebugXML|Any CPU + {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.DebugXML|Any CPU.Build.0 = DebugXML|Any CPU + {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.Release|Any CPU.Build.0 = Release|Any CPU + {00F410C6-E398-4F58-869B-34CD7275096A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {00F410C6-E398-4F58-869B-34CD7275096A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {00F410C6-E398-4F58-869B-34CD7275096A}.DebugJSON|Any CPU.ActiveCfg = DebugJSON|Any CPU + {00F410C6-E398-4F58-869B-34CD7275096A}.DebugJSON|Any CPU.Build.0 = DebugJSON|Any CPU + {00F410C6-E398-4F58-869B-34CD7275096A}.DebugXML|Any CPU.ActiveCfg = DebugXML|Any CPU + {00F410C6-E398-4F58-869B-34CD7275096A}.DebugXML|Any CPU.Build.0 = DebugXML|Any CPU + {00F410C6-E398-4F58-869B-34CD7275096A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {00F410C6-E398-4F58-869B-34CD7275096A}.Release|Any CPU.Build.0 = Release|Any CPU + {AEDFD095-F4B0-4630-B41A-9A22169456E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AEDFD095-F4B0-4630-B41A-9A22169456E9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AEDFD095-F4B0-4630-B41A-9A22169456E9}.DebugJSON|Any CPU.ActiveCfg = DebugJSON|Any CPU + {AEDFD095-F4B0-4630-B41A-9A22169456E9}.DebugJSON|Any CPU.Build.0 = DebugJSON|Any CPU + {AEDFD095-F4B0-4630-B41A-9A22169456E9}.DebugXML|Any CPU.ActiveCfg = DebugXML|Any CPU + {AEDFD095-F4B0-4630-B41A-9A22169456E9}.DebugXML|Any CPU.Build.0 = DebugXML|Any CPU + {AEDFD095-F4B0-4630-B41A-9A22169456E9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AEDFD095-F4B0-4630-B41A-9A22169456E9}.Release|Any CPU.Build.0 = Release|Any CPU + {028B9120-A7FC-4B23-AA9C-F18087058F76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {028B9120-A7FC-4B23-AA9C-F18087058F76}.Debug|Any CPU.Build.0 = Debug|Any CPU + {028B9120-A7FC-4B23-AA9C-F18087058F76}.DebugJSON|Any CPU.ActiveCfg = DebugJSON|Any CPU + {028B9120-A7FC-4B23-AA9C-F18087058F76}.DebugJSON|Any CPU.Build.0 = DebugJSON|Any CPU + {028B9120-A7FC-4B23-AA9C-F18087058F76}.DebugXML|Any CPU.ActiveCfg = DebugXML|Any CPU + {028B9120-A7FC-4B23-AA9C-F18087058F76}.DebugXML|Any CPU.Build.0 = DebugXML|Any CPU + {028B9120-A7FC-4B23-AA9C-F18087058F76}.Release|Any CPU.ActiveCfg = Release|Any CPU + {028B9120-A7FC-4B23-AA9C-F18087058F76}.Release|Any CPU.Build.0 = Release|Any CPU + {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU + {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU + {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU + {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.DebugXML|Any CPU.Build.0 = Debug|Any CPU + {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.Release|Any CPU.Build.0 = Release|Any CPU + {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU + {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU + {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU + {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.DebugXML|Any CPU.Build.0 = Debug|Any CPU + {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.Release|Any CPU.Build.0 = Release|Any CPU + {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU + {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU + {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU + {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.DebugXML|Any CPU.Build.0 = Debug|Any CPU + {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.Release|Any CPU.Build.0 = Release|Any CPU + {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU + {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU + {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU + {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.DebugXML|Any CPU.Build.0 = Debug|Any CPU + {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.Release|Any CPU.Build.0 = Release|Any CPU + {900EF0B3-0233-45DA-811F-4C59483E8452}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {900EF0B3-0233-45DA-811F-4C59483E8452}.Debug|Any CPU.Build.0 = Debug|Any CPU + {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU + {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU + {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU + {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugXML|Any CPU.Build.0 = Debug|Any CPU + {900EF0B3-0233-45DA-811F-4C59483E8452}.Release|Any CPU.ActiveCfg = Release|Any CPU + {900EF0B3-0233-45DA-811F-4C59483E8452}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {0E6B9B72-445D-4E71-8D29-48C4A009AB03} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} + {22492A69-B890-4D5B-A2FC-E2F6C63935B8} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} + {00F410C6-E398-4F58-869B-34CD7275096A} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} + {AEDFD095-F4B0-4630-B41A-9A22169456E9} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} + {028B9120-A7FC-4B23-AA9C-F18087058F76} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} + {B67F0035-336C-4CDA-80A8-DE94EEDF5627} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} + {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} + {4EE7D8D8-AA65-442B-A928-580B4604B9AF} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} + {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} + {900EF0B3-0233-45DA-811F-4C59483E8452} = {F3F4278D-6271-4F77-BA88-41555D53CBD1} + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {4AA87D90-ABD0-4793-BE47-955B35FAE2BB} + EndGlobalSection + GlobalSection(CodealikeProperties) = postSolution + SolutionGuid = 74da85cc-5a0d-4590-a976-666d0b2d41cb + EndGlobalSection + GlobalSection(TestCaseManagementSettings) = postSolution + CategoryFile = redmine-net-api.vsmdi + EndGlobalSection +EndGlobal diff --git a/redmine-net-api.sln.DotSettings b/src/redmine-net-api.sln.DotSettings similarity index 100% rename from redmine-net-api.sln.DotSettings rename to src/redmine-net-api.sln.DotSettings diff --git a/redmine-net20-api/Async/RedmineManagerAsync.cs b/src/redmine-net20-api/Async/RedmineManagerAsync.cs similarity index 100% rename from redmine-net20-api/Async/RedmineManagerAsync.cs rename to src/redmine-net20-api/Async/RedmineManagerAsync.cs diff --git a/redmine-net20-api/Exceptions/ConflictException.cs b/src/redmine-net20-api/Exceptions/ConflictException.cs similarity index 100% rename from redmine-net20-api/Exceptions/ConflictException.cs rename to src/redmine-net20-api/Exceptions/ConflictException.cs diff --git a/redmine-net20-api/Exceptions/ForbiddenException.cs b/src/redmine-net20-api/Exceptions/ForbiddenException.cs similarity index 100% rename from redmine-net20-api/Exceptions/ForbiddenException.cs rename to src/redmine-net20-api/Exceptions/ForbiddenException.cs diff --git a/redmine-net20-api/Exceptions/InternalServerErrorException.cs b/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs similarity index 100% rename from redmine-net20-api/Exceptions/InternalServerErrorException.cs rename to src/redmine-net20-api/Exceptions/InternalServerErrorException.cs diff --git a/redmine-net20-api/Exceptions/NameResolutionFailureException.cs b/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs similarity index 100% rename from redmine-net20-api/Exceptions/NameResolutionFailureException.cs rename to src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs diff --git a/redmine-net20-api/Exceptions/NotAcceptableException.cs b/src/redmine-net20-api/Exceptions/NotAcceptableException.cs similarity index 100% rename from redmine-net20-api/Exceptions/NotAcceptableException.cs rename to src/redmine-net20-api/Exceptions/NotAcceptableException.cs diff --git a/redmine-net20-api/Exceptions/NotFoundException.cs b/src/redmine-net20-api/Exceptions/NotFoundException.cs similarity index 100% rename from redmine-net20-api/Exceptions/NotFoundException.cs rename to src/redmine-net20-api/Exceptions/NotFoundException.cs diff --git a/redmine-net20-api/Exceptions/RedmineException.cs b/src/redmine-net20-api/Exceptions/RedmineException.cs similarity index 100% rename from redmine-net20-api/Exceptions/RedmineException.cs rename to src/redmine-net20-api/Exceptions/RedmineException.cs diff --git a/redmine-net20-api/Exceptions/RedmineTimeoutException.cs b/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs similarity index 100% rename from redmine-net20-api/Exceptions/RedmineTimeoutException.cs rename to src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs diff --git a/redmine-net20-api/Exceptions/UnauthorizedException.cs b/src/redmine-net20-api/Exceptions/UnauthorizedException.cs similarity index 100% rename from redmine-net20-api/Exceptions/UnauthorizedException.cs rename to src/redmine-net20-api/Exceptions/UnauthorizedException.cs diff --git a/redmine-net20-api/Extensions/CollectionExtensions.cs b/src/redmine-net20-api/Extensions/CollectionExtensions.cs similarity index 100% rename from redmine-net20-api/Extensions/CollectionExtensions.cs rename to src/redmine-net20-api/Extensions/CollectionExtensions.cs diff --git a/redmine-net20-api/Extensions/ExtensionAttribute.cs b/src/redmine-net20-api/Extensions/ExtensionAttribute.cs similarity index 100% rename from redmine-net20-api/Extensions/ExtensionAttribute.cs rename to src/redmine-net20-api/Extensions/ExtensionAttribute.cs diff --git a/redmine-net20-api/Extensions/LoggerExtensions.cs b/src/redmine-net20-api/Extensions/LoggerExtensions.cs similarity index 100% rename from redmine-net20-api/Extensions/LoggerExtensions.cs rename to src/redmine-net20-api/Extensions/LoggerExtensions.cs diff --git a/redmine-net20-api/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net20-api/Extensions/NameValueCollectionExtensions.cs similarity index 100% rename from redmine-net20-api/Extensions/NameValueCollectionExtensions.cs rename to src/redmine-net20-api/Extensions/NameValueCollectionExtensions.cs diff --git a/redmine-net20-api/Extensions/WebExtensions.cs b/src/redmine-net20-api/Extensions/WebExtensions.cs similarity index 100% rename from redmine-net20-api/Extensions/WebExtensions.cs rename to src/redmine-net20-api/Extensions/WebExtensions.cs diff --git a/redmine-net20-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net20-api/Extensions/XmlReaderExtensions.cs similarity index 100% rename from redmine-net20-api/Extensions/XmlReaderExtensions.cs rename to src/redmine-net20-api/Extensions/XmlReaderExtensions.cs diff --git a/redmine-net20-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net20-api/Extensions/XmlWriterExtensions.cs similarity index 100% rename from redmine-net20-api/Extensions/XmlWriterExtensions.cs rename to src/redmine-net20-api/Extensions/XmlWriterExtensions.cs diff --git a/redmine-net20-api/HttpVerbs.cs b/src/redmine-net20-api/HttpVerbs.cs similarity index 100% rename from redmine-net20-api/HttpVerbs.cs rename to src/redmine-net20-api/HttpVerbs.cs diff --git a/redmine-net20-api/IRedmineManager.cs b/src/redmine-net20-api/IRedmineManager.cs similarity index 100% rename from redmine-net20-api/IRedmineManager.cs rename to src/redmine-net20-api/IRedmineManager.cs diff --git a/redmine-net20-api/IRedmineWebClient.cs b/src/redmine-net20-api/IRedmineWebClient.cs similarity index 100% rename from redmine-net20-api/IRedmineWebClient.cs rename to src/redmine-net20-api/IRedmineWebClient.cs diff --git a/redmine-net20-api/Internals/DataHelper.cs b/src/redmine-net20-api/Internals/DataHelper.cs similarity index 100% rename from redmine-net20-api/Internals/DataHelper.cs rename to src/redmine-net20-api/Internals/DataHelper.cs diff --git a/redmine-net20-api/Internals/Func.cs b/src/redmine-net20-api/Internals/Func.cs similarity index 100% rename from redmine-net20-api/Internals/Func.cs rename to src/redmine-net20-api/Internals/Func.cs diff --git a/redmine-net20-api/Internals/HashCodeHelper.cs b/src/redmine-net20-api/Internals/HashCodeHelper.cs similarity index 100% rename from redmine-net20-api/Internals/HashCodeHelper.cs rename to src/redmine-net20-api/Internals/HashCodeHelper.cs diff --git a/redmine-net20-api/Internals/RedmineSerializer.cs b/src/redmine-net20-api/Internals/RedmineSerializer.cs similarity index 100% rename from redmine-net20-api/Internals/RedmineSerializer.cs rename to src/redmine-net20-api/Internals/RedmineSerializer.cs diff --git a/redmine-net20-api/Internals/UrlHelper.cs b/src/redmine-net20-api/Internals/UrlHelper.cs similarity index 100% rename from redmine-net20-api/Internals/UrlHelper.cs rename to src/redmine-net20-api/Internals/UrlHelper.cs diff --git a/redmine-net20-api/Internals/WebApiHelper.cs b/src/redmine-net20-api/Internals/WebApiHelper.cs similarity index 100% rename from redmine-net20-api/Internals/WebApiHelper.cs rename to src/redmine-net20-api/Internals/WebApiHelper.cs diff --git a/redmine-net20-api/Internals/XmlStreamingDeserializer.cs b/src/redmine-net20-api/Internals/XmlStreamingDeserializer.cs similarity index 100% rename from redmine-net20-api/Internals/XmlStreamingDeserializer.cs rename to src/redmine-net20-api/Internals/XmlStreamingDeserializer.cs diff --git a/redmine-net20-api/Internals/XmlStreamingSerializer.cs b/src/redmine-net20-api/Internals/XmlStreamingSerializer.cs similarity index 100% rename from redmine-net20-api/Internals/XmlStreamingSerializer.cs rename to src/redmine-net20-api/Internals/XmlStreamingSerializer.cs diff --git a/redmine-net20-api/Logging/ColorConsoleLogger.cs b/src/redmine-net20-api/Logging/ColorConsoleLogger.cs similarity index 100% rename from redmine-net20-api/Logging/ColorConsoleLogger.cs rename to src/redmine-net20-api/Logging/ColorConsoleLogger.cs diff --git a/redmine-net20-api/Logging/ConsoleLogger.cs b/src/redmine-net20-api/Logging/ConsoleLogger.cs similarity index 100% rename from redmine-net20-api/Logging/ConsoleLogger.cs rename to src/redmine-net20-api/Logging/ConsoleLogger.cs diff --git a/redmine-net20-api/Logging/ILogger.cs b/src/redmine-net20-api/Logging/ILogger.cs similarity index 100% rename from redmine-net20-api/Logging/ILogger.cs rename to src/redmine-net20-api/Logging/ILogger.cs diff --git a/redmine-net20-api/Logging/LogEntry.cs b/src/redmine-net20-api/Logging/LogEntry.cs similarity index 100% rename from redmine-net20-api/Logging/LogEntry.cs rename to src/redmine-net20-api/Logging/LogEntry.cs diff --git a/redmine-net20-api/Logging/Logger.cs b/src/redmine-net20-api/Logging/Logger.cs similarity index 100% rename from redmine-net20-api/Logging/Logger.cs rename to src/redmine-net20-api/Logging/Logger.cs diff --git a/redmine-net20-api/Logging/LoggerExtensions.cs b/src/redmine-net20-api/Logging/LoggerExtensions.cs similarity index 100% rename from redmine-net20-api/Logging/LoggerExtensions.cs rename to src/redmine-net20-api/Logging/LoggerExtensions.cs diff --git a/redmine-net20-api/Logging/LoggingEventType.cs b/src/redmine-net20-api/Logging/LoggingEventType.cs similarity index 100% rename from redmine-net20-api/Logging/LoggingEventType.cs rename to src/redmine-net20-api/Logging/LoggingEventType.cs diff --git a/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs b/src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs similarity index 100% rename from redmine-net20-api/Logging/RedmineConsoleTraceListener.cs rename to src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs diff --git a/redmine-net20-api/Logging/TraceLogger.cs b/src/redmine-net20-api/Logging/TraceLogger.cs similarity index 100% rename from redmine-net20-api/Logging/TraceLogger.cs rename to src/redmine-net20-api/Logging/TraceLogger.cs diff --git a/redmine-net20-api/MimeFormat.cs b/src/redmine-net20-api/MimeFormat.cs similarity index 100% rename from redmine-net20-api/MimeFormat.cs rename to src/redmine-net20-api/MimeFormat.cs diff --git a/redmine-net20-api/Properties/AssemblyInfo.cs b/src/redmine-net20-api/Properties/AssemblyInfo.cs similarity index 100% rename from redmine-net20-api/Properties/AssemblyInfo.cs rename to src/redmine-net20-api/Properties/AssemblyInfo.cs diff --git a/redmine-net20-api/RedmineKeys.cs b/src/redmine-net20-api/RedmineKeys.cs similarity index 100% rename from redmine-net20-api/RedmineKeys.cs rename to src/redmine-net20-api/RedmineKeys.cs diff --git a/redmine-net20-api/RedmineManager.cs b/src/redmine-net20-api/RedmineManager.cs similarity index 100% rename from redmine-net20-api/RedmineManager.cs rename to src/redmine-net20-api/RedmineManager.cs diff --git a/redmine-net20-api/RedmineWebClient.cs b/src/redmine-net20-api/RedmineWebClient.cs similarity index 100% rename from redmine-net20-api/RedmineWebClient.cs rename to src/redmine-net20-api/RedmineWebClient.cs diff --git a/redmine-net20-api/Types/Attachment.cs b/src/redmine-net20-api/Types/Attachment.cs similarity index 100% rename from redmine-net20-api/Types/Attachment.cs rename to src/redmine-net20-api/Types/Attachment.cs diff --git a/redmine-net20-api/Types/Attachments.cs b/src/redmine-net20-api/Types/Attachments.cs similarity index 100% rename from redmine-net20-api/Types/Attachments.cs rename to src/redmine-net20-api/Types/Attachments.cs diff --git a/redmine-net20-api/Types/ChangeSet.cs b/src/redmine-net20-api/Types/ChangeSet.cs similarity index 100% rename from redmine-net20-api/Types/ChangeSet.cs rename to src/redmine-net20-api/Types/ChangeSet.cs diff --git a/redmine-net20-api/Types/CustomField.cs b/src/redmine-net20-api/Types/CustomField.cs similarity index 100% rename from redmine-net20-api/Types/CustomField.cs rename to src/redmine-net20-api/Types/CustomField.cs diff --git a/redmine-net20-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net20-api/Types/CustomFieldPossibleValue.cs similarity index 100% rename from redmine-net20-api/Types/CustomFieldPossibleValue.cs rename to src/redmine-net20-api/Types/CustomFieldPossibleValue.cs diff --git a/redmine-net20-api/Types/CustomFieldRole.cs b/src/redmine-net20-api/Types/CustomFieldRole.cs similarity index 100% rename from redmine-net20-api/Types/CustomFieldRole.cs rename to src/redmine-net20-api/Types/CustomFieldRole.cs diff --git a/redmine-net20-api/Types/CustomFieldValue.cs b/src/redmine-net20-api/Types/CustomFieldValue.cs similarity index 100% rename from redmine-net20-api/Types/CustomFieldValue.cs rename to src/redmine-net20-api/Types/CustomFieldValue.cs diff --git a/redmine-net20-api/Types/Detail.cs b/src/redmine-net20-api/Types/Detail.cs similarity index 100% rename from redmine-net20-api/Types/Detail.cs rename to src/redmine-net20-api/Types/Detail.cs diff --git a/redmine-net20-api/Types/Error.cs b/src/redmine-net20-api/Types/Error.cs similarity index 100% rename from redmine-net20-api/Types/Error.cs rename to src/redmine-net20-api/Types/Error.cs diff --git a/redmine-net20-api/Types/File.cs b/src/redmine-net20-api/Types/File.cs similarity index 100% rename from redmine-net20-api/Types/File.cs rename to src/redmine-net20-api/Types/File.cs diff --git a/redmine-net20-api/Types/Group.cs b/src/redmine-net20-api/Types/Group.cs similarity index 100% rename from redmine-net20-api/Types/Group.cs rename to src/redmine-net20-api/Types/Group.cs diff --git a/redmine-net20-api/Types/GroupUser.cs b/src/redmine-net20-api/Types/GroupUser.cs similarity index 100% rename from redmine-net20-api/Types/GroupUser.cs rename to src/redmine-net20-api/Types/GroupUser.cs diff --git a/redmine-net20-api/Types/IValue.cs b/src/redmine-net20-api/Types/IValue.cs similarity index 100% rename from redmine-net20-api/Types/IValue.cs rename to src/redmine-net20-api/Types/IValue.cs diff --git a/redmine-net20-api/Types/Identifiable.cs b/src/redmine-net20-api/Types/Identifiable.cs similarity index 100% rename from redmine-net20-api/Types/Identifiable.cs rename to src/redmine-net20-api/Types/Identifiable.cs diff --git a/redmine-net20-api/Types/IdentifiableName.cs b/src/redmine-net20-api/Types/IdentifiableName.cs similarity index 100% rename from redmine-net20-api/Types/IdentifiableName.cs rename to src/redmine-net20-api/Types/IdentifiableName.cs diff --git a/redmine-net20-api/Types/Issue.cs b/src/redmine-net20-api/Types/Issue.cs similarity index 100% rename from redmine-net20-api/Types/Issue.cs rename to src/redmine-net20-api/Types/Issue.cs diff --git a/redmine-net20-api/Types/IssueCategory.cs b/src/redmine-net20-api/Types/IssueCategory.cs similarity index 100% rename from redmine-net20-api/Types/IssueCategory.cs rename to src/redmine-net20-api/Types/IssueCategory.cs diff --git a/redmine-net20-api/Types/IssueChild.cs b/src/redmine-net20-api/Types/IssueChild.cs similarity index 100% rename from redmine-net20-api/Types/IssueChild.cs rename to src/redmine-net20-api/Types/IssueChild.cs diff --git a/redmine-net20-api/Types/IssueCustomField.cs b/src/redmine-net20-api/Types/IssueCustomField.cs similarity index 100% rename from redmine-net20-api/Types/IssueCustomField.cs rename to src/redmine-net20-api/Types/IssueCustomField.cs diff --git a/redmine-net20-api/Types/IssuePriority.cs b/src/redmine-net20-api/Types/IssuePriority.cs similarity index 100% rename from redmine-net20-api/Types/IssuePriority.cs rename to src/redmine-net20-api/Types/IssuePriority.cs diff --git a/redmine-net20-api/Types/IssueRelation.cs b/src/redmine-net20-api/Types/IssueRelation.cs similarity index 100% rename from redmine-net20-api/Types/IssueRelation.cs rename to src/redmine-net20-api/Types/IssueRelation.cs diff --git a/redmine-net20-api/Types/IssueRelationType.cs b/src/redmine-net20-api/Types/IssueRelationType.cs similarity index 100% rename from redmine-net20-api/Types/IssueRelationType.cs rename to src/redmine-net20-api/Types/IssueRelationType.cs diff --git a/redmine-net20-api/Types/IssueStatus.cs b/src/redmine-net20-api/Types/IssueStatus.cs similarity index 100% rename from redmine-net20-api/Types/IssueStatus.cs rename to src/redmine-net20-api/Types/IssueStatus.cs diff --git a/redmine-net20-api/Types/Journal.cs b/src/redmine-net20-api/Types/Journal.cs similarity index 100% rename from redmine-net20-api/Types/Journal.cs rename to src/redmine-net20-api/Types/Journal.cs diff --git a/redmine-net20-api/Types/Membership.cs b/src/redmine-net20-api/Types/Membership.cs similarity index 100% rename from redmine-net20-api/Types/Membership.cs rename to src/redmine-net20-api/Types/Membership.cs diff --git a/redmine-net20-api/Types/MembershipRole.cs b/src/redmine-net20-api/Types/MembershipRole.cs similarity index 100% rename from redmine-net20-api/Types/MembershipRole.cs rename to src/redmine-net20-api/Types/MembershipRole.cs diff --git a/redmine-net20-api/Types/News.cs b/src/redmine-net20-api/Types/News.cs similarity index 100% rename from redmine-net20-api/Types/News.cs rename to src/redmine-net20-api/Types/News.cs diff --git a/redmine-net20-api/Types/PaginatedObjects.cs b/src/redmine-net20-api/Types/PaginatedObjects.cs similarity index 100% rename from redmine-net20-api/Types/PaginatedObjects.cs rename to src/redmine-net20-api/Types/PaginatedObjects.cs diff --git a/redmine-net20-api/Types/Permission.cs b/src/redmine-net20-api/Types/Permission.cs similarity index 100% rename from redmine-net20-api/Types/Permission.cs rename to src/redmine-net20-api/Types/Permission.cs diff --git a/redmine-net20-api/Types/Project.cs b/src/redmine-net20-api/Types/Project.cs similarity index 100% rename from redmine-net20-api/Types/Project.cs rename to src/redmine-net20-api/Types/Project.cs diff --git a/redmine-net20-api/Types/ProjectEnabledModule.cs b/src/redmine-net20-api/Types/ProjectEnabledModule.cs similarity index 100% rename from redmine-net20-api/Types/ProjectEnabledModule.cs rename to src/redmine-net20-api/Types/ProjectEnabledModule.cs diff --git a/redmine-net20-api/Types/ProjectIssueCategory.cs b/src/redmine-net20-api/Types/ProjectIssueCategory.cs similarity index 100% rename from redmine-net20-api/Types/ProjectIssueCategory.cs rename to src/redmine-net20-api/Types/ProjectIssueCategory.cs diff --git a/redmine-net20-api/Types/ProjectMembership.cs b/src/redmine-net20-api/Types/ProjectMembership.cs similarity index 100% rename from redmine-net20-api/Types/ProjectMembership.cs rename to src/redmine-net20-api/Types/ProjectMembership.cs diff --git a/redmine-net20-api/Types/ProjectStatus.cs b/src/redmine-net20-api/Types/ProjectStatus.cs similarity index 100% rename from redmine-net20-api/Types/ProjectStatus.cs rename to src/redmine-net20-api/Types/ProjectStatus.cs diff --git a/redmine-net20-api/Types/ProjectTracker.cs b/src/redmine-net20-api/Types/ProjectTracker.cs similarity index 100% rename from redmine-net20-api/Types/ProjectTracker.cs rename to src/redmine-net20-api/Types/ProjectTracker.cs diff --git a/redmine-net20-api/Types/Query.cs b/src/redmine-net20-api/Types/Query.cs similarity index 100% rename from redmine-net20-api/Types/Query.cs rename to src/redmine-net20-api/Types/Query.cs diff --git a/redmine-net20-api/Types/Role.cs b/src/redmine-net20-api/Types/Role.cs similarity index 100% rename from redmine-net20-api/Types/Role.cs rename to src/redmine-net20-api/Types/Role.cs diff --git a/redmine-net20-api/Types/TimeEntry.cs b/src/redmine-net20-api/Types/TimeEntry.cs similarity index 100% rename from redmine-net20-api/Types/TimeEntry.cs rename to src/redmine-net20-api/Types/TimeEntry.cs diff --git a/redmine-net20-api/Types/TimeEntryActivity.cs b/src/redmine-net20-api/Types/TimeEntryActivity.cs similarity index 100% rename from redmine-net20-api/Types/TimeEntryActivity.cs rename to src/redmine-net20-api/Types/TimeEntryActivity.cs diff --git a/redmine-net20-api/Types/Tracker.cs b/src/redmine-net20-api/Types/Tracker.cs similarity index 100% rename from redmine-net20-api/Types/Tracker.cs rename to src/redmine-net20-api/Types/Tracker.cs diff --git a/redmine-net20-api/Types/TrackerCustomField.cs b/src/redmine-net20-api/Types/TrackerCustomField.cs similarity index 100% rename from redmine-net20-api/Types/TrackerCustomField.cs rename to src/redmine-net20-api/Types/TrackerCustomField.cs diff --git a/redmine-net20-api/Types/Upload.cs b/src/redmine-net20-api/Types/Upload.cs similarity index 100% rename from redmine-net20-api/Types/Upload.cs rename to src/redmine-net20-api/Types/Upload.cs diff --git a/redmine-net20-api/Types/User.cs b/src/redmine-net20-api/Types/User.cs similarity index 100% rename from redmine-net20-api/Types/User.cs rename to src/redmine-net20-api/Types/User.cs diff --git a/redmine-net20-api/Types/UserGroup.cs b/src/redmine-net20-api/Types/UserGroup.cs similarity index 100% rename from redmine-net20-api/Types/UserGroup.cs rename to src/redmine-net20-api/Types/UserGroup.cs diff --git a/redmine-net20-api/Types/UserStatus.cs b/src/redmine-net20-api/Types/UserStatus.cs similarity index 100% rename from redmine-net20-api/Types/UserStatus.cs rename to src/redmine-net20-api/Types/UserStatus.cs diff --git a/redmine-net20-api/Types/Version.cs b/src/redmine-net20-api/Types/Version.cs similarity index 100% rename from redmine-net20-api/Types/Version.cs rename to src/redmine-net20-api/Types/Version.cs diff --git a/redmine-net20-api/Types/Watcher.cs b/src/redmine-net20-api/Types/Watcher.cs similarity index 100% rename from redmine-net20-api/Types/Watcher.cs rename to src/redmine-net20-api/Types/Watcher.cs diff --git a/redmine-net20-api/Types/WikiPage.cs b/src/redmine-net20-api/Types/WikiPage.cs similarity index 100% rename from redmine-net20-api/Types/WikiPage.cs rename to src/redmine-net20-api/Types/WikiPage.cs diff --git a/redmine-net20-api/redmine-net20-api.csproj b/src/redmine-net20-api/redmine-net20-api.csproj similarity index 99% rename from redmine-net20-api/redmine-net20-api.csproj rename to src/redmine-net20-api/redmine-net20-api.csproj index 3ea37779..2c490e79 100644 --- a/redmine-net20-api/redmine-net20-api.csproj +++ b/src/redmine-net20-api/redmine-net20-api.csproj @@ -4,7 +4,7 @@ Debug AnyCPU - {DA3E3C1B-2C01-4FB5-968B-3769BBF382BD} + {0E6B9B72-445D-4E71-8D29-48C4A009AB03} Library Properties Redmine.Net.Api diff --git a/redmine-net40-api-signed/Attachments.cs b/src/redmine-net40-api-signed/Attachments.cs similarity index 100% rename from redmine-net40-api-signed/Attachments.cs rename to src/redmine-net40-api-signed/Attachments.cs diff --git a/redmine-net40-api-signed/Properties/AssemblyInfo.cs b/src/redmine-net40-api-signed/Properties/AssemblyInfo.cs similarity index 100% rename from redmine-net40-api-signed/Properties/AssemblyInfo.cs rename to src/redmine-net40-api-signed/Properties/AssemblyInfo.cs diff --git a/redmine-net40-api-signed/redmine-net-api.snk b/src/redmine-net40-api-signed/redmine-net-api.snk similarity index 100% rename from redmine-net40-api-signed/redmine-net-api.snk rename to src/redmine-net40-api-signed/redmine-net-api.snk diff --git a/redmine-net40-api-signed/redmine-net40-api-signed.csproj b/src/redmine-net40-api-signed/redmine-net40-api-signed.csproj similarity index 99% rename from redmine-net40-api-signed/redmine-net40-api-signed.csproj rename to src/redmine-net40-api-signed/redmine-net40-api-signed.csproj index 5fe6a57a..9d7fe5f8 100644 --- a/redmine-net40-api-signed/redmine-net40-api-signed.csproj +++ b/src/redmine-net40-api-signed/redmine-net40-api-signed.csproj @@ -4,7 +4,7 @@ Debug AnyCPU - {1E80FE6C-6607-42BD-B6E3-4FE68DBA8E5E} + {00F410C6-E398-4F58-869B-34CD7275096A} Library Properties Redmine.Net.Api diff --git a/redmine-net40-api/Async/RedmineManagerAsync.cs b/src/redmine-net40-api/Async/RedmineManagerAsync.cs similarity index 100% rename from redmine-net40-api/Async/RedmineManagerAsync.cs rename to src/redmine-net40-api/Async/RedmineManagerAsync.cs diff --git a/redmine-net40-api/Async/RedmineManagerAsyncExtensions.cs b/src/redmine-net40-api/Async/RedmineManagerAsyncExtensions.cs similarity index 100% rename from redmine-net40-api/Async/RedmineManagerAsyncExtensions.cs rename to src/redmine-net40-api/Async/RedmineManagerAsyncExtensions.cs diff --git a/redmine-net40-api/Extensions/CollectionExtensions.cs b/src/redmine-net40-api/Extensions/CollectionExtensions.cs similarity index 100% rename from redmine-net40-api/Extensions/CollectionExtensions.cs rename to src/redmine-net40-api/Extensions/CollectionExtensions.cs diff --git a/redmine-net40-api/Extensions/JObjectExtensions.cs b/src/redmine-net40-api/Extensions/JObjectExtensions.cs similarity index 100% rename from redmine-net40-api/Extensions/JObjectExtensions.cs rename to src/redmine-net40-api/Extensions/JObjectExtensions.cs diff --git a/redmine-net40-api/Extensions/JsonExtensions.cs b/src/redmine-net40-api/Extensions/JsonExtensions.cs similarity index 100% rename from redmine-net40-api/Extensions/JsonExtensions.cs rename to src/redmine-net40-api/Extensions/JsonExtensions.cs diff --git a/redmine-net40-api/Extensions/WebExtensions.cs b/src/redmine-net40-api/Extensions/WebExtensions.cs similarity index 100% rename from redmine-net40-api/Extensions/WebExtensions.cs rename to src/redmine-net40-api/Extensions/WebExtensions.cs diff --git a/redmine-net40-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net40-api/Extensions/XmlReaderExtensions.cs similarity index 100% rename from redmine-net40-api/Extensions/XmlReaderExtensions.cs rename to src/redmine-net40-api/Extensions/XmlReaderExtensions.cs diff --git a/redmine-net40-api/Internals/RedmineSerializer.cs b/src/redmine-net40-api/Internals/RedmineSerializer.cs similarity index 100% rename from redmine-net40-api/Internals/RedmineSerializer.cs rename to src/redmine-net40-api/Internals/RedmineSerializer.cs diff --git a/redmine-net40-api/Internals/RedmineSerializerJson.cs b/src/redmine-net40-api/Internals/RedmineSerializerJson.cs similarity index 100% rename from redmine-net40-api/Internals/RedmineSerializerJson.cs rename to src/redmine-net40-api/Internals/RedmineSerializerJson.cs diff --git a/redmine-net40-api/Internals/RedmineSerializerJson2.cs b/src/redmine-net40-api/Internals/RedmineSerializerJson2.cs similarity index 100% rename from redmine-net40-api/Internals/RedmineSerializerJson2.cs rename to src/redmine-net40-api/Internals/RedmineSerializerJson2.cs diff --git a/redmine-net40-api/JSonConverters/AttachmentConverter.cs b/src/redmine-net40-api/JSonConverters/AttachmentConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/AttachmentConverter.cs rename to src/redmine-net40-api/JSonConverters/AttachmentConverter.cs diff --git a/redmine-net40-api/JSonConverters/AttachmentsConverter.cs b/src/redmine-net40-api/JSonConverters/AttachmentsConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/AttachmentsConverter.cs rename to src/redmine-net40-api/JSonConverters/AttachmentsConverter.cs diff --git a/redmine-net40-api/JSonConverters/ChangeSetConverter.cs b/src/redmine-net40-api/JSonConverters/ChangeSetConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/ChangeSetConverter.cs rename to src/redmine-net40-api/JSonConverters/ChangeSetConverter.cs diff --git a/redmine-net40-api/JSonConverters/CustomFieldConverter.cs b/src/redmine-net40-api/JSonConverters/CustomFieldConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/CustomFieldConverter.cs rename to src/redmine-net40-api/JSonConverters/CustomFieldConverter.cs diff --git a/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs b/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs rename to src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs diff --git a/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs b/src/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs rename to src/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs diff --git a/redmine-net40-api/JSonConverters/DetailConverter.cs b/src/redmine-net40-api/JSonConverters/DetailConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/DetailConverter.cs rename to src/redmine-net40-api/JSonConverters/DetailConverter.cs diff --git a/redmine-net40-api/JSonConverters/ErrorConverter.cs b/src/redmine-net40-api/JSonConverters/ErrorConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/ErrorConverter.cs rename to src/redmine-net40-api/JSonConverters/ErrorConverter.cs diff --git a/redmine-net40-api/JSonConverters/FileConverter.cs b/src/redmine-net40-api/JSonConverters/FileConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/FileConverter.cs rename to src/redmine-net40-api/JSonConverters/FileConverter.cs diff --git a/redmine-net40-api/JSonConverters/GroupConverter.cs b/src/redmine-net40-api/JSonConverters/GroupConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/GroupConverter.cs rename to src/redmine-net40-api/JSonConverters/GroupConverter.cs diff --git a/redmine-net40-api/JSonConverters/GroupUserConverter.cs b/src/redmine-net40-api/JSonConverters/GroupUserConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/GroupUserConverter.cs rename to src/redmine-net40-api/JSonConverters/GroupUserConverter.cs diff --git a/redmine-net40-api/JSonConverters/IdentifiableNameConverter.cs b/src/redmine-net40-api/JSonConverters/IdentifiableNameConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/IdentifiableNameConverter.cs rename to src/redmine-net40-api/JSonConverters/IdentifiableNameConverter.cs diff --git a/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs b/src/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/IssueCategoryConverter.cs rename to src/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs diff --git a/redmine-net40-api/JSonConverters/IssueChildConverter.cs b/src/redmine-net40-api/JSonConverters/IssueChildConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/IssueChildConverter.cs rename to src/redmine-net40-api/JSonConverters/IssueChildConverter.cs diff --git a/redmine-net40-api/JSonConverters/IssueConverter.cs b/src/redmine-net40-api/JSonConverters/IssueConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/IssueConverter.cs rename to src/redmine-net40-api/JSonConverters/IssueConverter.cs diff --git a/redmine-net40-api/JSonConverters/IssueCustomFieldConverter.cs b/src/redmine-net40-api/JSonConverters/IssueCustomFieldConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/IssueCustomFieldConverter.cs rename to src/redmine-net40-api/JSonConverters/IssueCustomFieldConverter.cs diff --git a/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs b/src/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/IssuePriorityConverter.cs rename to src/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs diff --git a/redmine-net40-api/JSonConverters/IssueRelationConverter.cs b/src/redmine-net40-api/JSonConverters/IssueRelationConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/IssueRelationConverter.cs rename to src/redmine-net40-api/JSonConverters/IssueRelationConverter.cs diff --git a/redmine-net40-api/JSonConverters/IssueStatusConverter.cs b/src/redmine-net40-api/JSonConverters/IssueStatusConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/IssueStatusConverter.cs rename to src/redmine-net40-api/JSonConverters/IssueStatusConverter.cs diff --git a/redmine-net40-api/JSonConverters/JournalConverter.cs b/src/redmine-net40-api/JSonConverters/JournalConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/JournalConverter.cs rename to src/redmine-net40-api/JSonConverters/JournalConverter.cs diff --git a/redmine-net40-api/JSonConverters/MembershipConverter.cs b/src/redmine-net40-api/JSonConverters/MembershipConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/MembershipConverter.cs rename to src/redmine-net40-api/JSonConverters/MembershipConverter.cs diff --git a/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs b/src/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/MembershipRoleConverter.cs rename to src/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs diff --git a/redmine-net40-api/JSonConverters/NewsConverter.cs b/src/redmine-net40-api/JSonConverters/NewsConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/NewsConverter.cs rename to src/redmine-net40-api/JSonConverters/NewsConverter.cs diff --git a/redmine-net40-api/JSonConverters/PermissionConverter.cs b/src/redmine-net40-api/JSonConverters/PermissionConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/PermissionConverter.cs rename to src/redmine-net40-api/JSonConverters/PermissionConverter.cs diff --git a/redmine-net40-api/JSonConverters/ProjectConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/ProjectConverter.cs rename to src/redmine-net40-api/JSonConverters/ProjectConverter.cs diff --git a/redmine-net40-api/JSonConverters/ProjectEnabledModuleConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectEnabledModuleConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/ProjectEnabledModuleConverter.cs rename to src/redmine-net40-api/JSonConverters/ProjectEnabledModuleConverter.cs diff --git a/redmine-net40-api/JSonConverters/ProjectIssueCategoryConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectIssueCategoryConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/ProjectIssueCategoryConverter.cs rename to src/redmine-net40-api/JSonConverters/ProjectIssueCategoryConverter.cs diff --git a/redmine-net40-api/JSonConverters/ProjectMembershipConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectMembershipConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/ProjectMembershipConverter.cs rename to src/redmine-net40-api/JSonConverters/ProjectMembershipConverter.cs diff --git a/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs rename to src/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs diff --git a/redmine-net40-api/JSonConverters/QueryConverter.cs b/src/redmine-net40-api/JSonConverters/QueryConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/QueryConverter.cs rename to src/redmine-net40-api/JSonConverters/QueryConverter.cs diff --git a/redmine-net40-api/JSonConverters/RoleConverter.cs b/src/redmine-net40-api/JSonConverters/RoleConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/RoleConverter.cs rename to src/redmine-net40-api/JSonConverters/RoleConverter.cs diff --git a/redmine-net40-api/JSonConverters/TimeEntryActivityConverter.cs b/src/redmine-net40-api/JSonConverters/TimeEntryActivityConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/TimeEntryActivityConverter.cs rename to src/redmine-net40-api/JSonConverters/TimeEntryActivityConverter.cs diff --git a/redmine-net40-api/JSonConverters/TimeEntryConverter.cs b/src/redmine-net40-api/JSonConverters/TimeEntryConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/TimeEntryConverter.cs rename to src/redmine-net40-api/JSonConverters/TimeEntryConverter.cs diff --git a/redmine-net40-api/JSonConverters/TrackerConverter.cs b/src/redmine-net40-api/JSonConverters/TrackerConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/TrackerConverter.cs rename to src/redmine-net40-api/JSonConverters/TrackerConverter.cs diff --git a/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs b/src/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs rename to src/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs diff --git a/redmine-net40-api/JSonConverters/UploadConverter.cs b/src/redmine-net40-api/JSonConverters/UploadConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/UploadConverter.cs rename to src/redmine-net40-api/JSonConverters/UploadConverter.cs diff --git a/redmine-net40-api/JSonConverters/UserConverter.cs b/src/redmine-net40-api/JSonConverters/UserConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/UserConverter.cs rename to src/redmine-net40-api/JSonConverters/UserConverter.cs diff --git a/redmine-net40-api/JSonConverters/UserGroupConverter.cs b/src/redmine-net40-api/JSonConverters/UserGroupConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/UserGroupConverter.cs rename to src/redmine-net40-api/JSonConverters/UserGroupConverter.cs diff --git a/redmine-net40-api/JSonConverters/VersionConverter.cs b/src/redmine-net40-api/JSonConverters/VersionConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/VersionConverter.cs rename to src/redmine-net40-api/JSonConverters/VersionConverter.cs diff --git a/redmine-net40-api/JSonConverters/WatcherConverter.cs b/src/redmine-net40-api/JSonConverters/WatcherConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/WatcherConverter.cs rename to src/redmine-net40-api/JSonConverters/WatcherConverter.cs diff --git a/redmine-net40-api/JSonConverters/WikiPageConverter.cs b/src/redmine-net40-api/JSonConverters/WikiPageConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters/WikiPageConverter.cs rename to src/redmine-net40-api/JSonConverters/WikiPageConverter.cs diff --git a/redmine-net40-api/JSonConverters2/IJsonConverter.cs b/src/redmine-net40-api/JSonConverters2/IJsonConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters2/IJsonConverter.cs rename to src/redmine-net40-api/JSonConverters2/IJsonConverter.cs diff --git a/redmine-net40-api/JSonConverters2/IssueConverter.cs b/src/redmine-net40-api/JSonConverters2/IssueConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters2/IssueConverter.cs rename to src/redmine-net40-api/JSonConverters2/IssueConverter.cs diff --git a/redmine-net40-api/JSonConverters2/IssueCustomFieldConverter.cs b/src/redmine-net40-api/JSonConverters2/IssueCustomFieldConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters2/IssueCustomFieldConverter.cs rename to src/redmine-net40-api/JSonConverters2/IssueCustomFieldConverter.cs diff --git a/redmine-net40-api/JSonConverters2/UploadConverter.cs b/src/redmine-net40-api/JSonConverters2/UploadConverter.cs similarity index 100% rename from redmine-net40-api/JSonConverters2/UploadConverter.cs rename to src/redmine-net40-api/JSonConverters2/UploadConverter.cs diff --git a/redmine-net40-api/MimeFormat.cs b/src/redmine-net40-api/MimeFormat.cs similarity index 100% rename from redmine-net40-api/MimeFormat.cs rename to src/redmine-net40-api/MimeFormat.cs diff --git a/redmine-net40-api/Properties/AssemblyInfo.cs b/src/redmine-net40-api/Properties/AssemblyInfo.cs similarity index 100% rename from redmine-net40-api/Properties/AssemblyInfo.cs rename to src/redmine-net40-api/Properties/AssemblyInfo.cs diff --git a/redmine-net40-api/redmine-net40-api.csproj b/src/redmine-net40-api/redmine-net40-api.csproj similarity index 99% rename from redmine-net40-api/redmine-net40-api.csproj rename to src/redmine-net40-api/redmine-net40-api.csproj index e860fbdf..67dcf442 100644 --- a/redmine-net40-api/redmine-net40-api.csproj +++ b/src/redmine-net40-api/redmine-net40-api.csproj @@ -4,7 +4,7 @@ Debug AnyCPU - {0D9B763C-A16B-463B-BDDD-0A0467DCD32E} + {22492A69-B890-4D5B-A2FC-E2F6C63935B8} Library Properties Redmine.Net.Api diff --git a/redmine-net45-api-signed/Properties/AssemblyInfo.cs b/src/redmine-net45-api-signed/Properties/AssemblyInfo.cs similarity index 100% rename from redmine-net45-api-signed/Properties/AssemblyInfo.cs rename to src/redmine-net45-api-signed/Properties/AssemblyInfo.cs diff --git a/redmine-net45-api-signed/redmine-net-api.snk b/src/redmine-net45-api-signed/redmine-net-api.snk similarity index 100% rename from redmine-net45-api-signed/redmine-net-api.snk rename to src/redmine-net45-api-signed/redmine-net-api.snk diff --git a/redmine-net45-api-signed/redmine-net45-api-signed.csproj b/src/redmine-net45-api-signed/redmine-net45-api-signed.csproj similarity index 99% rename from redmine-net45-api-signed/redmine-net45-api-signed.csproj rename to src/redmine-net45-api-signed/redmine-net45-api-signed.csproj index c27b90ac..708c763d 100644 --- a/redmine-net45-api-signed/redmine-net45-api-signed.csproj +++ b/src/redmine-net45-api-signed/redmine-net45-api-signed.csproj @@ -4,7 +4,7 @@ Debug AnyCPU - {82796546-0F57-425B-BB77-751FA24D49D5} + {028B9120-A7FC-4B23-AA9C-F18087058F76} Library Properties Redmine.Net.Api diff --git a/redmine-net45-api/Async/RedmineManagerAsync.cs b/src/redmine-net45-api/Async/RedmineManagerAsync.cs similarity index 100% rename from redmine-net45-api/Async/RedmineManagerAsync.cs rename to src/redmine-net45-api/Async/RedmineManagerAsync.cs diff --git a/redmine-net45-api/Extensions/DisposableExtension.cs b/src/redmine-net45-api/Extensions/DisposableExtension.cs similarity index 100% rename from redmine-net45-api/Extensions/DisposableExtension.cs rename to src/redmine-net45-api/Extensions/DisposableExtension.cs diff --git a/redmine-net45-api/Extensions/FunctionalExtensions.cs b/src/redmine-net45-api/Extensions/FunctionalExtensions.cs similarity index 100% rename from redmine-net45-api/Extensions/FunctionalExtensions.cs rename to src/redmine-net45-api/Extensions/FunctionalExtensions.cs diff --git a/redmine-net45-api/Extensions/TaskExtensions.cs b/src/redmine-net45-api/Extensions/TaskExtensions.cs similarity index 100% rename from redmine-net45-api/Extensions/TaskExtensions.cs rename to src/redmine-net45-api/Extensions/TaskExtensions.cs diff --git a/redmine-net45-api/Internals/WebApiAsyncHelper.cs b/src/redmine-net45-api/Internals/WebApiAsyncHelper.cs similarity index 100% rename from redmine-net45-api/Internals/WebApiAsyncHelper.cs rename to src/redmine-net45-api/Internals/WebApiAsyncHelper.cs diff --git a/redmine-net45-api/Properties/AssemblyInfo.cs b/src/redmine-net45-api/Properties/AssemblyInfo.cs similarity index 100% rename from redmine-net45-api/Properties/AssemblyInfo.cs rename to src/redmine-net45-api/Properties/AssemblyInfo.cs diff --git a/redmine-net45-api/redmine-net45-api.csproj b/src/redmine-net45-api/redmine-net45-api.csproj similarity index 99% rename from redmine-net45-api/redmine-net45-api.csproj rename to src/redmine-net45-api/redmine-net45-api.csproj index 62eee6e0..a8d1c193 100644 --- a/redmine-net45-api/redmine-net45-api.csproj +++ b/src/redmine-net45-api/redmine-net45-api.csproj @@ -4,7 +4,7 @@ Debug AnyCPU - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4} + {AEDFD095-F4B0-4630-B41A-9A22169456E9} Library Properties Redmine.Net.Api diff --git a/redmine-net451-api-signed/Properties/AssemblyInfo.cs b/src/redmine-net451-api-signed/Properties/AssemblyInfo.cs similarity index 100% rename from redmine-net451-api-signed/Properties/AssemblyInfo.cs rename to src/redmine-net451-api-signed/Properties/AssemblyInfo.cs diff --git a/redmine-net451-api-signed/redmine-net-api.snk b/src/redmine-net451-api-signed/redmine-net-api.snk similarity index 100% rename from redmine-net451-api-signed/redmine-net-api.snk rename to src/redmine-net451-api-signed/redmine-net-api.snk diff --git a/redmine-net451-api-signed/redmine-net451-api-signed.csproj b/src/redmine-net451-api-signed/redmine-net451-api-signed.csproj similarity index 99% rename from redmine-net451-api-signed/redmine-net451-api-signed.csproj rename to src/redmine-net451-api-signed/redmine-net451-api-signed.csproj index 69fca0b2..2f071477 100644 --- a/redmine-net451-api-signed/redmine-net451-api-signed.csproj +++ b/src/redmine-net451-api-signed/redmine-net451-api-signed.csproj @@ -4,7 +4,7 @@ Debug AnyCPU - {6E6E642E-F35A-4EA7-A2D7-16725156BD33} + {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2} Library Properties Redmine.Net.Api diff --git a/redmine-net451-api/Properties/AssemblyInfo.cs b/src/redmine-net451-api/Properties/AssemblyInfo.cs similarity index 100% rename from redmine-net451-api/Properties/AssemblyInfo.cs rename to src/redmine-net451-api/Properties/AssemblyInfo.cs diff --git a/redmine-net451-api/redmine-net451-api.csproj b/src/redmine-net451-api/redmine-net451-api.csproj similarity index 99% rename from redmine-net451-api/redmine-net451-api.csproj rename to src/redmine-net451-api/redmine-net451-api.csproj index 90b2d138..af01477e 100644 --- a/redmine-net451-api/redmine-net451-api.csproj +++ b/src/redmine-net451-api/redmine-net451-api.csproj @@ -4,7 +4,7 @@ Debug AnyCPU - {4AB94C09-8CFB-41C6-87D1-6B972E7F9307} + {B67F0035-336C-4CDA-80A8-DE94EEDF5627} Library Properties Redmine.Net.Api diff --git a/redmine-net452-api-signed/Internals/HashCodeHelper.cs b/src/redmine-net452-api-signed/Internals/HashCodeHelper.cs similarity index 100% rename from redmine-net452-api-signed/Internals/HashCodeHelper.cs rename to src/redmine-net452-api-signed/Internals/HashCodeHelper.cs diff --git a/redmine-net452-api-signed/Properties/AssemblyInfo.cs b/src/redmine-net452-api-signed/Properties/AssemblyInfo.cs similarity index 100% rename from redmine-net452-api-signed/Properties/AssemblyInfo.cs rename to src/redmine-net452-api-signed/Properties/AssemblyInfo.cs diff --git a/redmine-net452-api-signed/redmine-net452-api-signed.csproj b/src/redmine-net452-api-signed/redmine-net452-api-signed.csproj similarity index 99% rename from redmine-net452-api-signed/redmine-net452-api-signed.csproj rename to src/redmine-net452-api-signed/redmine-net452-api-signed.csproj index 342a3c75..74528e37 100644 --- a/redmine-net452-api-signed/redmine-net452-api-signed.csproj +++ b/src/redmine-net452-api-signed/redmine-net452-api-signed.csproj @@ -4,7 +4,7 @@ Debug AnyCPU - {0AE35DA8-1D10-4FA4-8CF7-D1EC18A42FB7} + {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3} Library Properties Redmine.Net.Api diff --git a/redmine-net452-api/Properties/AssemblyInfo.cs b/src/redmine-net452-api/Properties/AssemblyInfo.cs similarity index 100% rename from redmine-net452-api/Properties/AssemblyInfo.cs rename to src/redmine-net452-api/Properties/AssemblyInfo.cs diff --git a/redmine-net452-api/redmine-net452-api.csproj b/src/redmine-net452-api/redmine-net452-api.csproj similarity index 99% rename from redmine-net452-api/redmine-net452-api.csproj rename to src/redmine-net452-api/redmine-net452-api.csproj index fe828f7e..dcf40829 100644 --- a/redmine-net452-api/redmine-net452-api.csproj +++ b/src/redmine-net452-api/redmine-net452-api.csproj @@ -4,7 +4,7 @@ Debug AnyCPU - {404B264F-363B-44AD-AE8D-2587C2E6FA82} + {4EE7D8D8-AA65-442B-A928-580B4604B9AF} Library Properties Redmine.Net.Api diff --git a/xUnitTest-redmine-net45-api/Helper.cs b/src/xUnitTest-redmine-net45-api/Helper.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Helper.cs rename to src/xUnitTest-redmine-net45-api/Helper.cs diff --git a/xUnitTest-redmine-net45-api/Infrastructure/CaseOrder.cs b/src/xUnitTest-redmine-net45-api/Infrastructure/CaseOrder.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Infrastructure/CaseOrder.cs rename to src/xUnitTest-redmine-net45-api/Infrastructure/CaseOrder.cs diff --git a/xUnitTest-redmine-net45-api/Infrastructure/CollectionOrderer.cs b/src/xUnitTest-redmine-net45-api/Infrastructure/CollectionOrderer.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Infrastructure/CollectionOrderer.cs rename to src/xUnitTest-redmine-net45-api/Infrastructure/CollectionOrderer.cs diff --git a/xUnitTest-redmine-net45-api/Infrastructure/OrderAttribute.cs b/src/xUnitTest-redmine-net45-api/Infrastructure/OrderAttribute.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Infrastructure/OrderAttribute.cs rename to src/xUnitTest-redmine-net45-api/Infrastructure/OrderAttribute.cs diff --git a/xUnitTest-redmine-net45-api/Infrastructure/RedmineCollection.cs b/src/xUnitTest-redmine-net45-api/Infrastructure/RedmineCollection.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Infrastructure/RedmineCollection.cs rename to src/xUnitTest-redmine-net45-api/Infrastructure/RedmineCollection.cs diff --git a/xUnitTest-redmine-net45-api/Properties/AssemblyInfo.cs b/src/xUnitTest-redmine-net45-api/Properties/AssemblyInfo.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Properties/AssemblyInfo.cs rename to src/xUnitTest-redmine-net45-api/Properties/AssemblyInfo.cs diff --git a/xUnitTest-redmine-net45-api/RedmineFixture.cs b/src/xUnitTest-redmine-net45-api/RedmineFixture.cs similarity index 100% rename from xUnitTest-redmine-net45-api/RedmineFixture.cs rename to src/xUnitTest-redmine-net45-api/RedmineFixture.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Async/AttachmentAsyncTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Async/AttachmentAsyncTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Async/AttachmentAsyncTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Async/AttachmentAsyncTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Async/IssueAsyncTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Async/IssueAsyncTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Async/IssueAsyncTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Async/IssueAsyncTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Async/UserAsyncTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Async/UserAsyncTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Async/UserAsyncTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Async/UserAsyncTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Async/WikiPageAsyncTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Async/WikiPageAsyncTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Async/WikiPageAsyncTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Async/WikiPageAsyncTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/RedmineTest.cs b/src/xUnitTest-redmine-net45-api/Tests/RedmineTest.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/RedmineTest.cs rename to src/xUnitTest-redmine-net45-api/Tests/RedmineTest.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/CustomFieldTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/CustomFieldTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/CustomFieldTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/CustomFieldTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/GroupTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/GroupTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/GroupTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/GroupTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/IssueCategoryTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/IssueCategoryTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/IssueCategoryTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/IssueCategoryTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/IssuePriorityTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/IssuePriorityTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/IssuePriorityTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/IssuePriorityTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/IssueRelationTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/IssueRelationTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/IssueRelationTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/IssueRelationTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/IssueStatusTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/IssueStatusTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/IssueStatusTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/IssueStatusTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/IssueTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/IssueTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/IssueTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/IssueTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/NewsTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/NewsTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/NewsTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/NewsTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/ProjectMembershipTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/ProjectMembershipTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/ProjectMembershipTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/ProjectMembershipTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/ProjectTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/ProjectTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/ProjectTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/ProjectTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/QueryTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/QueryTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/QueryTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/QueryTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/RoleTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/RoleTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/RoleTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/RoleTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/TimeEntryActivtiyTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/TimeEntryActivtiyTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/TimeEntryActivtiyTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/TimeEntryActivtiyTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/TimeEntryTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/TimeEntryTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/TimeEntryTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/TimeEntryTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/TrackerTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/TrackerTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/TrackerTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/TrackerTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/UserTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/UserTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/UserTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/UserTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/VersionTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/VersionTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/VersionTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/VersionTests.cs diff --git a/xUnitTest-redmine-net45-api/Tests/Sync/WikiPageTests.cs b/src/xUnitTest-redmine-net45-api/Tests/Sync/WikiPageTests.cs similarity index 100% rename from xUnitTest-redmine-net45-api/Tests/Sync/WikiPageTests.cs rename to src/xUnitTest-redmine-net45-api/Tests/Sync/WikiPageTests.cs diff --git a/src/xUnitTest-redmine-net45-api/packages.config b/src/xUnitTest-redmine-net45-api/packages.config new file mode 100644 index 00000000..0ba87640 --- /dev/null +++ b/src/xUnitTest-redmine-net45-api/packages.config @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/xUnitTest-redmine-net45-api/xUnitTest-redmine-net-api.csproj b/src/xUnitTest-redmine-net45-api/xUnitTest-redmine-net-api.csproj old mode 100755 new mode 100644 similarity index 51% rename from xUnitTest-redmine-net45-api/xUnitTest-redmine-net-api.csproj rename to src/xUnitTest-redmine-net45-api/xUnitTest-redmine-net-api.csproj index 6b1bf606..305ff40b --- a/xUnitTest-redmine-net45-api/xUnitTest-redmine-net-api.csproj +++ b/src/xUnitTest-redmine-net45-api/xUnitTest-redmine-net-api.csproj @@ -1,10 +1,15 @@  - + + + + Debug AnyCPU - {170210BF-5F03-4531-8A63-06E356CA284B} + {900EF0B3-0233-45DA-811F-4C59483E8452} Library xUnitTestredminenet45api xUnitTest-redmine-net45-api @@ -33,28 +38,24 @@ Program - ..\packages\xunit.runner.console.2.1.0\tools\xunit.console.exe%24{TargetFile} + false - - ..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll - True + + ..\..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll - - ..\packages\xunit.assert.2.2.0\lib\netstandard1.1\xunit.assert.dll - True + + ..\..\packages\xunit.assert.2.3.1\lib\netstandard1.1\xunit.assert.dll - - ..\packages\xunit.extensibility.core.2.2.0\lib\netstandard1.1\xunit.core.dll - True + + ..\..\packages\xunit.extensibility.core.2.3.1\lib\netstandard1.1\xunit.core.dll - - ..\packages\xunit.extensibility.execution.2.2.0\lib\net452\xunit.execution.desktop.dll - True + + ..\..\packages\xunit.extensibility.execution.2.3.1\lib\net452\xunit.execution.desktop.dll @@ -91,10 +92,15 @@ - + - - {89433E6E-F3D4-4B66-AC9A-1B7F4345BBA4} + + + + + + {AEDFD095-F4B0-4630-B41A-9A22169456E9} redmine-net45-api @@ -102,12 +108,17 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + + + + + + \ No newline at end of file diff --git a/NuGet/NuGet.exe b/tools/NuGet/NuGet.exe similarity index 100% rename from NuGet/NuGet.exe rename to tools/NuGet/NuGet.exe diff --git a/xUnitTest-redmine-net45-api/packages.config b/xUnitTest-redmine-net45-api/packages.config deleted file mode 100755 index 4d313c74..00000000 --- a/xUnitTest-redmine-net45-api/packages.config +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file From c4bd4dd48d65d64f25f454ede7eb397750924826 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Mon, 26 Mar 2018 19:28:51 +0300 Subject: [PATCH 020/601] Renamed projects. --- .../Helper.cs | 0 .../Infrastructure/CaseOrder.cs | 0 .../Infrastructure/CollectionOrderer.cs | 0 .../Infrastructure/OrderAttribute.cs | 0 .../Infrastructure/RedmineCollection.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../RedmineFixture.cs | 0 .../Tests/Async/AttachmentAsyncTests.cs | 0 .../Tests/Async/IssueAsyncTests.cs | 0 .../Tests/Async/UserAsyncTests.cs | 0 .../Tests/Async/WikiPageAsyncTests.cs | 0 .../Tests/RedmineTest.cs | 0 .../Tests/Sync/AttachmentTests.cs | 0 .../Tests/Sync/CustomFieldTests.cs | 0 .../Tests/Sync/GroupTests.cs | 0 .../Tests/Sync/IssueCategoryTests.cs | 0 .../Tests/Sync/IssuePriorityTests.cs | 0 .../Tests/Sync/IssueRelationTests.cs | 0 .../Tests/Sync/IssueStatusTests.cs | 0 .../Tests/Sync/IssueTests.cs | 0 .../Tests/Sync/NewsTests.cs | 0 .../Tests/Sync/ProjectMembershipTests.cs | 0 .../Tests/Sync/ProjectTests.cs | 0 .../Tests/Sync/QueryTests.cs | 0 .../Tests/Sync/RoleTests.cs | 0 .../Tests/Sync/TimeEntryActivtiyTests.cs | 0 .../Tests/Sync/TimeEntryTests.cs | 0 .../Tests/Sync/TrackerTests.cs | 0 .../Tests/Sync/UserTests.cs | 0 .../Tests/Sync/VersionTests.cs | 0 .../Tests/Sync/WikiPageTests.cs | 0 .../packages.config | 1 + .../redmine-net-api.Tests.csproj} | 41 ++++++++---------- src/redmine-net-api.sln | 6 +-- .../Properties/AssemblyInfo.cs | 0 .../redmine-net-api.snk | Bin .../redmine-net450-api-signed.csproj} | 10 ++--- .../Async/RedmineManagerAsync.cs | 0 .../Extensions/DisposableExtension.cs | 0 .../Extensions/FunctionalExtensions.cs | 0 .../Extensions/TaskExtensions.cs | 0 .../Internals/WebApiAsyncHelper.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../redmine-net450-api.csproj} | 0 .../redmine-net451-api-signed.csproj | 10 ++--- .../redmine-net451-api.csproj | 10 ++--- .../redmine-net452-api-signed.csproj | 10 ++--- .../redmine-net452-api.csproj | 10 ++--- 48 files changed, 47 insertions(+), 51 deletions(-) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Helper.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Infrastructure/CaseOrder.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Infrastructure/CollectionOrderer.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Infrastructure/OrderAttribute.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Infrastructure/RedmineCollection.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Properties/AssemblyInfo.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/RedmineFixture.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Async/AttachmentAsyncTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Async/IssueAsyncTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Async/UserAsyncTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Async/WikiPageAsyncTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/RedmineTest.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/AttachmentTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/CustomFieldTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/GroupTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/IssueCategoryTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/IssuePriorityTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/IssueRelationTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/IssueStatusTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/IssueTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/NewsTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/ProjectMembershipTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/ProjectTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/QueryTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/RoleTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/TimeEntryActivtiyTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/TimeEntryTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/TrackerTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/UserTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/VersionTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/Tests/Sync/WikiPageTests.cs (100%) rename src/{xUnitTest-redmine-net45-api => redmine-net-api.Tests}/packages.config (91%) rename src/{xUnitTest-redmine-net45-api/xUnitTest-redmine-net-api.csproj => redmine-net-api.Tests/redmine-net-api.Tests.csproj} (58%) rename src/{redmine-net45-api-signed => redmine-net450-api-signed}/Properties/AssemblyInfo.cs (100%) rename src/{redmine-net45-api-signed => redmine-net450-api-signed}/redmine-net-api.snk (100%) rename src/{redmine-net45-api-signed/redmine-net45-api-signed.csproj => redmine-net450-api-signed/redmine-net450-api-signed.csproj} (98%) rename src/{redmine-net45-api => redmine-net450-api}/Async/RedmineManagerAsync.cs (100%) rename src/{redmine-net45-api => redmine-net450-api}/Extensions/DisposableExtension.cs (100%) rename src/{redmine-net45-api => redmine-net450-api}/Extensions/FunctionalExtensions.cs (100%) rename src/{redmine-net45-api => redmine-net450-api}/Extensions/TaskExtensions.cs (100%) rename src/{redmine-net45-api => redmine-net450-api}/Internals/WebApiAsyncHelper.cs (100%) rename src/{redmine-net45-api => redmine-net450-api}/Properties/AssemblyInfo.cs (100%) rename src/{redmine-net45-api/redmine-net45-api.csproj => redmine-net450-api/redmine-net450-api.csproj} (100%) diff --git a/src/xUnitTest-redmine-net45-api/Helper.cs b/src/redmine-net-api.Tests/Helper.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Helper.cs rename to src/redmine-net-api.Tests/Helper.cs diff --git a/src/xUnitTest-redmine-net45-api/Infrastructure/CaseOrder.cs b/src/redmine-net-api.Tests/Infrastructure/CaseOrder.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Infrastructure/CaseOrder.cs rename to src/redmine-net-api.Tests/Infrastructure/CaseOrder.cs diff --git a/src/xUnitTest-redmine-net45-api/Infrastructure/CollectionOrderer.cs b/src/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Infrastructure/CollectionOrderer.cs rename to src/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs diff --git a/src/xUnitTest-redmine-net45-api/Infrastructure/OrderAttribute.cs b/src/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Infrastructure/OrderAttribute.cs rename to src/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs diff --git a/src/xUnitTest-redmine-net45-api/Infrastructure/RedmineCollection.cs b/src/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Infrastructure/RedmineCollection.cs rename to src/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs diff --git a/src/xUnitTest-redmine-net45-api/Properties/AssemblyInfo.cs b/src/redmine-net-api.Tests/Properties/AssemblyInfo.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Properties/AssemblyInfo.cs rename to src/redmine-net-api.Tests/Properties/AssemblyInfo.cs diff --git a/src/xUnitTest-redmine-net45-api/RedmineFixture.cs b/src/redmine-net-api.Tests/RedmineFixture.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/RedmineFixture.cs rename to src/redmine-net-api.Tests/RedmineFixture.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Async/AttachmentAsyncTests.cs b/src/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Async/AttachmentAsyncTests.cs rename to src/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Async/IssueAsyncTests.cs b/src/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Async/IssueAsyncTests.cs rename to src/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Async/UserAsyncTests.cs b/src/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Async/UserAsyncTests.cs rename to src/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Async/WikiPageAsyncTests.cs b/src/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Async/WikiPageAsyncTests.cs rename to src/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/RedmineTest.cs b/src/redmine-net-api.Tests/Tests/RedmineTest.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/RedmineTest.cs rename to src/redmine-net-api.Tests/Tests/RedmineTest.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs b/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/AttachmentTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/CustomFieldTests.cs b/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/CustomFieldTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/GroupTests.cs b/src/redmine-net-api.Tests/Tests/Sync/GroupTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/GroupTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/GroupTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/IssueCategoryTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/IssueCategoryTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/IssuePriorityTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/IssuePriorityTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/IssueRelationTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/IssueRelationTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/IssueStatusTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/IssueStatusTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/IssueTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/IssueTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/IssueTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/NewsTests.cs b/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/NewsTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/ProjectMembershipTests.cs b/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/ProjectMembershipTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/ProjectTests.cs b/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/ProjectTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/QueryTests.cs b/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/QueryTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/RoleTests.cs b/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/RoleTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/TimeEntryActivtiyTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/TimeEntryActivtiyTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/TimeEntryTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/TimeEntryTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/TrackerTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/TrackerTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/UserTests.cs b/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/UserTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/UserTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/VersionTests.cs b/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/VersionTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs diff --git a/src/xUnitTest-redmine-net45-api/Tests/Sync/WikiPageTests.cs b/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs similarity index 100% rename from src/xUnitTest-redmine-net45-api/Tests/Sync/WikiPageTests.cs rename to src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs diff --git a/src/xUnitTest-redmine-net45-api/packages.config b/src/redmine-net-api.Tests/packages.config similarity index 91% rename from src/xUnitTest-redmine-net45-api/packages.config rename to src/redmine-net-api.Tests/packages.config index 0ba87640..e492b60e 100644 --- a/src/xUnitTest-redmine-net45-api/packages.config +++ b/src/redmine-net-api.Tests/packages.config @@ -8,5 +8,6 @@ + \ No newline at end of file diff --git a/src/xUnitTest-redmine-net45-api/xUnitTest-redmine-net-api.csproj b/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj similarity index 58% rename from src/xUnitTest-redmine-net45-api/xUnitTest-redmine-net-api.csproj rename to src/redmine-net-api.Tests/redmine-net-api.Tests.csproj index 305ff40b..c2cec2ac 100644 --- a/src/xUnitTest-redmine-net45-api/xUnitTest-redmine-net-api.csproj +++ b/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -1,11 +1,8 @@  - - - - + + + Debug AnyCPU @@ -38,7 +35,6 @@ Program - false @@ -46,16 +42,19 @@ - ..\..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll + ..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll - ..\..\packages\xunit.assert.2.3.1\lib\netstandard1.1\xunit.assert.dll + ..\packages\xunit.assert.2.3.1\lib\netstandard1.1\xunit.assert.dll - ..\..\packages\xunit.extensibility.core.2.3.1\lib\netstandard1.1\xunit.core.dll + ..\packages\xunit.extensibility.core.2.3.1\lib\netstandard1.1\xunit.core.dll - ..\..\packages\xunit.extensibility.execution.2.3.1\lib\net452\xunit.execution.desktop.dll + ..\packages\xunit.extensibility.execution.2.3.1\lib\net452\xunit.execution.desktop.dll + + + ..\packages\xunit.runner.utility.2.3.1\lib\net452\xunit.runner.utility.net452.dll @@ -92,33 +91,29 @@ - - - + {AEDFD095-F4B0-4630-B41A-9A22169456E9} - redmine-net45-api + redmine-net450-api - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - + + + + - - + \ No newline at end of file diff --git a/src/redmine-net-api.sln b/src/redmine-net-api.sln index 45cd9121..0fedcdb5 100644 --- a/src/redmine-net-api.sln +++ b/src/redmine-net-api.sln @@ -13,9 +13,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net40-api", "Y:\Red EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net40-api-signed", "Y:\Redmine\redmine-net-api\src\redmine-net40-api-signed\redmine-net40-api-signed.csproj", "{00F410C6-E398-4F58-869B-34CD7275096A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net45-api", "Y:\Redmine\redmine-net-api\src\redmine-net45-api\redmine-net45-api.csproj", "{AEDFD095-F4B0-4630-B41A-9A22169456E9}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net450-api", "Y:\Redmine\redmine-net-api\src\redmine-net450-api\redmine-net450-api.csproj", "{AEDFD095-F4B0-4630-B41A-9A22169456E9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net45-api-signed", "Y:\Redmine\redmine-net-api\src\redmine-net45-api-signed\redmine-net45-api-signed.csproj", "{028B9120-A7FC-4B23-AA9C-F18087058F76}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net450-api-signed", "Y:\Redmine\redmine-net-api\src\redmine-net450-api-signed\redmine-net450-api-signed.csproj", "{028B9120-A7FC-4B23-AA9C-F18087058F76}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net451-api", "Y:\Redmine\redmine-net-api\src\redmine-net451-api\redmine-net451-api.csproj", "{B67F0035-336C-4CDA-80A8-DE94EEDF5627}" EndProject @@ -25,7 +25,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net452-api", "Y:\Re EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net452-api-signed", "Y:\Redmine\redmine-net-api\src\redmine-net452-api-signed\redmine-net452-api-signed.csproj", "{6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "xUnitTest-redmine-net-api", "Y:\Redmine\redmine-net-api\src\xUnitTest-redmine-net45-api\xUnitTest-redmine-net-api.csproj", "{900EF0B3-0233-45DA-811F-4C59483E8452}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net-api.Tests", "Y:\Redmine\redmine-net-api\src\redmine-net-api.Tests\redmine-net-api.Tests.csproj", "{900EF0B3-0233-45DA-811F-4C59483E8452}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/redmine-net45-api-signed/Properties/AssemblyInfo.cs b/src/redmine-net450-api-signed/Properties/AssemblyInfo.cs similarity index 100% rename from src/redmine-net45-api-signed/Properties/AssemblyInfo.cs rename to src/redmine-net450-api-signed/Properties/AssemblyInfo.cs diff --git a/src/redmine-net45-api-signed/redmine-net-api.snk b/src/redmine-net450-api-signed/redmine-net-api.snk similarity index 100% rename from src/redmine-net45-api-signed/redmine-net-api.snk rename to src/redmine-net450-api-signed/redmine-net-api.snk diff --git a/src/redmine-net45-api-signed/redmine-net45-api-signed.csproj b/src/redmine-net450-api-signed/redmine-net450-api-signed.csproj similarity index 98% rename from src/redmine-net45-api-signed/redmine-net45-api-signed.csproj rename to src/redmine-net450-api-signed/redmine-net450-api-signed.csproj index 708c763d..45103583 100644 --- a/src/redmine-net45-api-signed/redmine-net45-api-signed.csproj +++ b/src/redmine-net450-api-signed/redmine-net450-api-signed.csproj @@ -423,19 +423,19 @@ MimeFormat.cs - + Async\RedmineManagerAsync.cs - + Extensions\DisposableExtension.cs - + Extensions\FunctionalExtensions.cs - + Extensions\TaskExtensions.cs - + Internals\WebApiAsyncHelper.cs diff --git a/src/redmine-net45-api/Async/RedmineManagerAsync.cs b/src/redmine-net450-api/Async/RedmineManagerAsync.cs similarity index 100% rename from src/redmine-net45-api/Async/RedmineManagerAsync.cs rename to src/redmine-net450-api/Async/RedmineManagerAsync.cs diff --git a/src/redmine-net45-api/Extensions/DisposableExtension.cs b/src/redmine-net450-api/Extensions/DisposableExtension.cs similarity index 100% rename from src/redmine-net45-api/Extensions/DisposableExtension.cs rename to src/redmine-net450-api/Extensions/DisposableExtension.cs diff --git a/src/redmine-net45-api/Extensions/FunctionalExtensions.cs b/src/redmine-net450-api/Extensions/FunctionalExtensions.cs similarity index 100% rename from src/redmine-net45-api/Extensions/FunctionalExtensions.cs rename to src/redmine-net450-api/Extensions/FunctionalExtensions.cs diff --git a/src/redmine-net45-api/Extensions/TaskExtensions.cs b/src/redmine-net450-api/Extensions/TaskExtensions.cs similarity index 100% rename from src/redmine-net45-api/Extensions/TaskExtensions.cs rename to src/redmine-net450-api/Extensions/TaskExtensions.cs diff --git a/src/redmine-net45-api/Internals/WebApiAsyncHelper.cs b/src/redmine-net450-api/Internals/WebApiAsyncHelper.cs similarity index 100% rename from src/redmine-net45-api/Internals/WebApiAsyncHelper.cs rename to src/redmine-net450-api/Internals/WebApiAsyncHelper.cs diff --git a/src/redmine-net45-api/Properties/AssemblyInfo.cs b/src/redmine-net450-api/Properties/AssemblyInfo.cs similarity index 100% rename from src/redmine-net45-api/Properties/AssemblyInfo.cs rename to src/redmine-net450-api/Properties/AssemblyInfo.cs diff --git a/src/redmine-net45-api/redmine-net45-api.csproj b/src/redmine-net450-api/redmine-net450-api.csproj similarity index 100% rename from src/redmine-net45-api/redmine-net45-api.csproj rename to src/redmine-net450-api/redmine-net450-api.csproj diff --git a/src/redmine-net451-api-signed/redmine-net451-api-signed.csproj b/src/redmine-net451-api-signed/redmine-net451-api-signed.csproj index 2f071477..8825c10d 100644 --- a/src/redmine-net451-api-signed/redmine-net451-api-signed.csproj +++ b/src/redmine-net451-api-signed/redmine-net451-api-signed.csproj @@ -400,19 +400,19 @@ MimeFormat.cs - + Async\RedmineManagerAsync.cs - + Extensions\DisposableExtension.cs - + Extensions\FunctionalExtensions.cs - + Extensions\TaskExtensions.cs - + Internals\WebApiAsyncHelper.cs diff --git a/src/redmine-net451-api/redmine-net451-api.csproj b/src/redmine-net451-api/redmine-net451-api.csproj index af01477e..d5516638 100644 --- a/src/redmine-net451-api/redmine-net451-api.csproj +++ b/src/redmine-net451-api/redmine-net451-api.csproj @@ -394,19 +394,19 @@ MimeFormat.cs - + Async\RedmineManagerAsync.cs - + Extensions\DisposableExtension.cs - + Extensions\FunctionalExtensions.cs - + Extensions\TaskExtensions.cs - + Internals\WebApiAsyncHelper.cs diff --git a/src/redmine-net452-api-signed/redmine-net452-api-signed.csproj b/src/redmine-net452-api-signed/redmine-net452-api-signed.csproj index 74528e37..af07ff6d 100644 --- a/src/redmine-net452-api-signed/redmine-net452-api-signed.csproj +++ b/src/redmine-net452-api-signed/redmine-net452-api-signed.csproj @@ -393,19 +393,19 @@ MimeFormat.cs - + Async\RedmineManagerAsync.cs - + Extensions\DisposableExtension.cs - + Extensions\FunctionalExtensions.cs - + Extensions\TaskExtensions.cs - + Internals\WebApiAsyncHelper.cs diff --git a/src/redmine-net452-api/redmine-net452-api.csproj b/src/redmine-net452-api/redmine-net452-api.csproj index dcf40829..3615bf63 100644 --- a/src/redmine-net452-api/redmine-net452-api.csproj +++ b/src/redmine-net452-api/redmine-net452-api.csproj @@ -393,19 +393,19 @@ MimeFormat.cs - + Async\RedmineManagerAsync.cs - + Extensions\DisposableExtension.cs - + Extensions\FunctionalExtensions.cs - + Extensions\TaskExtensions.cs - + Internals\WebApiAsyncHelper.cs From d79229d0bbf2f9ae0c4e4b6a569f8d3119bc66bf Mon Sep 17 00:00:00 2001 From: Zapadi Date: Mon, 26 Mar 2018 19:29:25 +0300 Subject: [PATCH 021/601] Added TestConsole project. --- src/redmine-net-api.TestConsole/App.config | 6 +++ src/redmine-net-api.TestConsole/Program.cs | 15 ++++++ .../Properties/AssemblyInfo.cs | 36 +++++++++++++ .../redmine-net-api.TestConsole.csproj | 52 +++++++++++++++++++ src/redmine-net-api.sln | 11 ++++ 5 files changed, 120 insertions(+) create mode 100644 src/redmine-net-api.TestConsole/App.config create mode 100644 src/redmine-net-api.TestConsole/Program.cs create mode 100644 src/redmine-net-api.TestConsole/Properties/AssemblyInfo.cs create mode 100644 src/redmine-net-api.TestConsole/redmine-net-api.TestConsole.csproj diff --git a/src/redmine-net-api.TestConsole/App.config b/src/redmine-net-api.TestConsole/App.config new file mode 100644 index 00000000..b50c74f3 --- /dev/null +++ b/src/redmine-net-api.TestConsole/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/redmine-net-api.TestConsole/Program.cs b/src/redmine-net-api.TestConsole/Program.cs new file mode 100644 index 00000000..486fa534 --- /dev/null +++ b/src/redmine-net-api.TestConsole/Program.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace redmine_net_api.TestConsole +{ + class Program + { + static void Main(string[] args) + { + } + } +} diff --git a/src/redmine-net-api.TestConsole/Properties/AssemblyInfo.cs b/src/redmine-net-api.TestConsole/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..751fe4c9 --- /dev/null +++ b/src/redmine-net-api.TestConsole/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("redmine-net-api.TestConsole")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("redmine-net-api.TestConsole")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5a5d51bc-2800-44b4-9e12-05264bdcebf7")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// 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.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/redmine-net-api.TestConsole/redmine-net-api.TestConsole.csproj b/src/redmine-net-api.TestConsole/redmine-net-api.TestConsole.csproj new file mode 100644 index 00000000..ebd10940 --- /dev/null +++ b/src/redmine-net-api.TestConsole/redmine-net-api.TestConsole.csproj @@ -0,0 +1,52 @@ + + + + + Debug + AnyCPU + {5A5D51BC-2800-44B4-9E12-05264BDCEBF7} + Exe + redmine_net_api.TestConsole + redmine-net-api.TestConsole + v4.6.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/redmine-net-api.sln b/src/redmine-net-api.sln index 0fedcdb5..02700f64 100644 --- a/src/redmine-net-api.sln +++ b/src/redmine-net-api.sln @@ -27,6 +27,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net452-api-signed", EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net-api.Tests", "Y:\Redmine\redmine-net-api\src\redmine-net-api.Tests\redmine-net-api.Tests.csproj", "{900EF0B3-0233-45DA-811F-4C59483E8452}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net-api.TestConsole", "redmine-net-api.TestConsole\redmine-net-api.TestConsole.csproj", "{5A5D51BC-2800-44B4-9E12-05264BDCEBF7}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -115,6 +117,14 @@ Global {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugXML|Any CPU.Build.0 = Debug|Any CPU {900EF0B3-0233-45DA-811F-4C59483E8452}.Release|Any CPU.ActiveCfg = Release|Any CPU {900EF0B3-0233-45DA-811F-4C59483E8452}.Release|Any CPU.Build.0 = Release|Any CPU + {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU + {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU + {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU + {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.DebugXML|Any CPU.Build.0 = Debug|Any CPU + {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -130,6 +140,7 @@ Global {4EE7D8D8-AA65-442B-A928-580B4604B9AF} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} {900EF0B3-0233-45DA-811F-4C59483E8452} = {F3F4278D-6271-4F77-BA88-41555D53CBD1} + {5A5D51BC-2800-44B4-9E12-05264BDCEBF7} = {F3F4278D-6271-4F77-BA88-41555D53CBD1} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {4AA87D90-ABD0-4793-BE47-955B35FAE2BB} From d3aa10400dff29cca21364fe0c518be7504ad59b Mon Sep 17 00:00:00 2001 From: Zapadi Date: Mon, 26 Mar 2018 19:33:43 +0300 Subject: [PATCH 022/601] Small tests refactoring. --- src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs | 4 ++-- src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs | 2 -- src/redmine-net-api.Tests/Tests/Sync/UserTests.cs | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/UserTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs b/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs old mode 100755 new mode 100644 index fc7cbd31..878e576c --- a/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs @@ -109,7 +109,7 @@ public void Should_Create_Project_With_Required_Properties() var savedProject = fixture.RedmineManager.CreateObject(CreateTestProjectWithRequiredPropertiesSet()); Assert.NotNull(savedProject); - Assert.NotEqual(savedProject.Id, 0); + Assert.NotEqual(0, savedProject.Id); Assert.True(savedProject.Name.Equals(PROJECT_NAME), "Project name is invalid."); Assert.True(savedProject.Identifier.Equals(PROJECT_IDENTIFIER), "Project identifier is invalid."); } @@ -120,7 +120,7 @@ public void Should_Create_Project_With_All_Properties_Set() var savedProject = fixture.RedmineManager.CreateObject(CreateTestProjectWithAllPropertiesSet()); Assert.NotNull(savedProject); - Assert.NotEqual(savedProject.Id, 0); + Assert.NotEqual(0, savedProject.Id); Assert.True(savedProject.Identifier.Equals("rnaptap"), "Project identifier is invalid."); Assert.True(savedProject.Name.Equals("Redmine Net Api Project Test All Properties"), "Project name is invalid."); diff --git a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs old mode 100755 new mode 100644 index fa0019ea..e31e95fc --- a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs @@ -62,7 +62,6 @@ public void Should_Create_Time_Entry() Assert.NotNull(savedTimeEntry.SpentOn); Assert.True(DateTime.Compare(savedTimeEntry.SpentOn.Value.Date, NEW_TIME_ENTRY_DATE.Date) == 0, "Date is invalid."); - Assert.NotNull(savedTimeEntry.Hours); Assert.True(savedTimeEntry.Hours == NEW_TIME_ENTRY_HOURS, "Hours value is not valid."); Assert.NotNull(savedTimeEntry.Activity); Assert.True(savedTimeEntry.Activity.Id == NEW_TIME_ENTRY_ACTIVITY_ID, "Activity id is invalid."); @@ -103,7 +102,6 @@ public void Should_Get_Time_Entry_By_Id() Assert.IsType(timeEntry); Assert.NotNull(timeEntry.Project); Assert.NotNull(timeEntry.SpentOn); - Assert.NotNull(timeEntry.Hours); Assert.NotNull(timeEntry.Activity); } diff --git a/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs b/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs old mode 100755 new mode 100644 index 204d371a..4d22cbd0 --- a/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs @@ -62,7 +62,7 @@ public void Should_Create_User_With_Required_Properties() var savedUser = fixture.RedmineManager.CreateObject(CreateTestUserWithRequiredPropertiesSet()); Assert.NotNull(savedUser); - Assert.NotEqual(savedUser.Id, 0); + Assert.NotEqual(0, savedUser.Id); CREATED_USER_ID = savedUser.Id.ToString(); @@ -99,7 +99,7 @@ public void Should_Create_User_With_All_Properties_Set() }); Assert.NotNull(savedUser); - Assert.NotEqual(savedUser.Id, 0); + Assert.NotEqual(0, savedUser.Id); CREATED_USER_WITH_ALL_PROP_ID = savedUser.Id.ToString(); From 1e5fe442b2c3a00bb5331da37a617477eed9e282 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Mon, 26 Mar 2018 19:42:52 +0300 Subject: [PATCH 023/601] Added empty summary. --- .../Async/RedmineManagerAsync.cs | 1 - src/redmine-net20-api/IRedmineManager.cs | 173 ++++++++++++++++++ src/redmine-net20-api/IRedmineWebClient.cs | 39 ++++ src/redmine-net20-api/RedmineManager.cs | 1 - src/redmine-net20-api/RedmineWebClient.cs | 6 + src/redmine-net20-api/Types/File.cs | 66 +++++++ src/redmine-net20-api/Types/Journal.cs | 3 + src/redmine-net40-api-signed/Attachments.cs | 3 + 8 files changed, 290 insertions(+), 2 deletions(-) mode change 100755 => 100644 src/redmine-net20-api/Types/File.cs mode change 100755 => 100644 src/redmine-net40-api-signed/Attachments.cs diff --git a/src/redmine-net20-api/Async/RedmineManagerAsync.cs b/src/redmine-net20-api/Async/RedmineManagerAsync.cs index afdbd828..40154158 100644 --- a/src/redmine-net20-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net20-api/Async/RedmineManagerAsync.cs @@ -235,7 +235,6 @@ public static Task DeleteObjectAsync(this RedmineManager redmineManager, stri ///

/// The redmine manager. /// The data. - /// /// public static Task UploadFileAsync(this RedmineManager redmineManager, byte[] data) { diff --git a/src/redmine-net20-api/IRedmineManager.cs b/src/redmine-net20-api/IRedmineManager.cs index b31555d9..4c8b64c6 100644 --- a/src/redmine-net20-api/IRedmineManager.cs +++ b/src/redmine-net20-api/IRedmineManager.cs @@ -22,51 +22,224 @@ limitations under the License. namespace Redmine.Net.Api.Types { + /// + /// + /// public interface IRedmineManager { + /// + /// + /// string Host { get; } + /// + /// + /// string ApiKey { get; } + /// + /// + /// int PageSize { get; set; } + /// + /// + /// string ImpersonateUser { get; set; } + /// + /// + /// MimeFormat MimeFormat { get; } + /// + /// + /// IWebProxy Proxy { get; } + /// + /// + /// SecurityProtocolType SecurityProtocolType { get; } + /// + /// + /// + /// + /// User GetCurrentUser(NameValueCollection parameters = null); + /// + /// + /// + /// + /// void AddUserToGroup(int groupId, int userId); + /// + /// + /// + /// + /// void RemoveUserFromGroup(int groupId, int userId); + /// + /// + /// + /// + /// void AddWatcherToIssue(int issueId, int userId); + /// + /// + /// + /// + /// void RemoveWatcherFromIssue(int issueId, int userId); + /// + /// + /// + /// + /// + /// + /// WikiPage CreateOrUpdateWikiPage(string projectId, string pageName, WikiPage wikiPage); + /// + /// + /// + /// + /// + /// + /// + /// WikiPage GetWikiPage(string projectId, NameValueCollection parameters, string pageName, uint version = 0); + /// + /// + /// + /// + /// List GetAllWikiPages(string projectId); + /// + /// + /// + /// + /// void DeleteWikiPage(string projectId, string pageName); + /// + /// + /// + /// + /// Upload UploadFile(byte[] data); + /// + /// + /// + /// + /// void UpdateAttachment(int issueId, Attachment attachment); + /// + /// + /// + /// + /// byte[] DownloadFile(string address); + /// + /// + /// + /// + /// + /// PaginatedObjects GetPaginatedObjects(NameValueCollection parameters) where T : class, new(); + /// + /// + /// + /// + /// + /// + /// T GetObject(string id, NameValueCollection parameters) where T : class, new(); + /// + /// + /// + /// + /// + /// + /// + /// List GetObjects(int limit, int offset, params string[] include) where T : class, new(); + /// + /// + /// + /// + /// + /// List GetObjects(params string[] include) where T : class, new(); + /// + /// + /// + /// + /// + /// List GetObjects(NameValueCollection parameters) where T : class, new(); + /// + /// + /// + /// + /// + /// T CreateObject(T obj) where T : class, new(); + /// + /// + /// + /// + /// + /// + /// T CreateObject(T obj, string ownerId) where T : class, new(); + /// + /// + /// + /// + /// + /// void UpdateObject(string id, T obj) where T : class, new(); + /// + /// + /// + /// + /// + /// + /// void UpdateObject(string id, T obj, string projectId) where T : class, new(); + /// + /// + /// + /// + /// void DeleteObject(string id) where T : class, new(); + /// + /// + /// + /// + /// + /// void DeleteObject(string id, NameValueCollection parameters) where T : class, new(); + /// + /// + /// + /// + /// + /// RedmineWebClient CreateWebClient(NameValueCollection parameters, bool uploadFile = false); + /// + /// + /// + /// + /// + /// + /// + /// bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors error); } } \ No newline at end of file diff --git a/src/redmine-net20-api/IRedmineWebClient.cs b/src/redmine-net20-api/IRedmineWebClient.cs index e3e0ae69..4476393f 100644 --- a/src/redmine-net20-api/IRedmineWebClient.cs +++ b/src/redmine-net20-api/IRedmineWebClient.cs @@ -21,30 +21,69 @@ limitations under the License. namespace Redmine.Net.Api.Types { + /// + /// + /// public interface IRedmineWebClient { + /// + /// + /// string UserAgent { get; set; } + /// + /// + /// bool UseProxy { get; set; } + /// + /// + /// bool UseCookies { get; set; } + /// + /// + /// TimeSpan? Timeout { get; set; } + /// + /// + /// CookieContainer CookieContainer { get; set; } + /// + /// + /// bool PreAuthenticate { get; set; } + /// + /// + /// bool KeepAlive { get; set; } + /// + /// + /// NameValueCollection QueryString { get; set; } + /// + /// + /// bool UseDefaultCredentials { get; set; } + /// + /// + /// ICredentials Credentials { get; set; } + /// + /// + /// IWebProxy Proxy { get; set; } + /// + /// + /// RequestCachePolicy CachePolicy { get; set; } } } \ No newline at end of file diff --git a/src/redmine-net20-api/RedmineManager.cs b/src/redmine-net20-api/RedmineManager.cs index 009b5c3f..f0cb7932 100644 --- a/src/redmine-net20-api/RedmineManager.cs +++ b/src/redmine-net20-api/RedmineManager.cs @@ -629,7 +629,6 @@ public void DeleteWikiPage(string projectId, string pageName) /// Upload a file to server. ///
/// The content of the file that will be uploaded on server. - /// /// /// Returns the token for uploaded file. /// diff --git a/src/redmine-net20-api/RedmineWebClient.cs b/src/redmine-net20-api/RedmineWebClient.cs index b2948dda..e9353a4d 100644 --- a/src/redmine-net20-api/RedmineWebClient.cs +++ b/src/redmine-net20-api/RedmineWebClient.cs @@ -27,11 +27,17 @@ public class RedmineWebClient : WebClient { private const string UA = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0"; + /// + /// + /// public RedmineWebClient() { UserAgent = UA; } + /// + /// + /// public string UserAgent { get; set; } /// diff --git a/src/redmine-net20-api/Types/File.cs b/src/redmine-net20-api/Types/File.cs old mode 100755 new mode 100644 index a6cfde2a..8c093c56 --- a/src/redmine-net20-api/Types/File.cs +++ b/src/redmine-net20-api/Types/File.cs @@ -25,43 +25,84 @@ limitations under the License. namespace Redmine.Net.Api.Types { + /// + /// + /// [XmlRoot(RedmineKeys.FILE)] public class File : Identifiable, IEquatable, IXmlSerializable { + /// + /// + /// [XmlElement(RedmineKeys.FILENAME)] public string Filename { get; set; } + /// + /// + /// [XmlElement(RedmineKeys.FILESIZE)] public int Filesize { get; set; } + /// + /// + /// [XmlElement(RedmineKeys.CONTENT_TYPE)] public string ContentType { get; set; } + /// + /// + /// [XmlElement(RedmineKeys.DESCRIPTION)] public string Description { get; set; } + /// + /// + /// [XmlElement(RedmineKeys.CONTENT_URL)] public string ContentUrl { get; set; } + /// + /// + /// [XmlElement(RedmineKeys.AUTHOR)] public IdentifiableName Author { get; set; } + /// + /// + /// [XmlElement(RedmineKeys.CREATED_ON)] public DateTime? CreatedOn { get; set; } + /// + /// + /// [XmlElement(RedmineKeys.VERSION)] public IdentifiableName Version { get; set; } + /// + /// + /// [XmlElement(RedmineKeys.DIGEST)] public string Digest { get; set; } + /// + /// + /// [XmlElement(RedmineKeys.DOWNLOADS)] public int Downloads { get; set; } + /// + /// + /// [XmlElement(RedmineKeys.TOKEN)] public string Token { get; set; } + /// + /// + /// + /// + /// public bool Equals(File other) { if (other == null) return false; @@ -80,6 +121,10 @@ public bool Equals(File other) ); } + /// + /// + /// + /// public override int GetHashCode() { var hashCode = base.GetHashCode(); @@ -100,11 +145,20 @@ public override int GetHashCode() return hashCode; } + /// + /// + /// + /// public override string ToString() { return string.Format("[File: Id={0}, Name={1}]", Id, Filename); } + /// + /// + /// + /// + /// public override bool Equals(object obj) { if (ReferenceEquals(null, obj)) return false; @@ -113,11 +167,19 @@ public override bool Equals(object obj) return Equals(obj as File); } + /// + /// + /// + /// public XmlSchema GetSchema() { return null; } + /// + /// + /// + /// public void ReadXml(XmlReader reader) { reader.Read(); @@ -152,6 +214,10 @@ public void ReadXml(XmlReader reader) } } + /// + /// + /// + /// public void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.TOKEN, Token); diff --git a/src/redmine-net20-api/Types/Journal.cs b/src/redmine-net20-api/Types/Journal.cs index d49e28bc..c344e481 100644 --- a/src/redmine-net20-api/Types/Journal.cs +++ b/src/redmine-net20-api/Types/Journal.cs @@ -57,6 +57,9 @@ public class Journal : Identifiable, IEquatable, IXmlSerializa [XmlElement(RedmineKeys.CREATED_ON, IsNullable = true)] public DateTime? CreatedOn { get; set; } + /// + /// + /// [XmlElement(RedmineKeys.PRIVATE_NOTES)] public bool PrivateNotes { get; set; } diff --git a/src/redmine-net40-api-signed/Attachments.cs b/src/redmine-net40-api-signed/Attachments.cs old mode 100755 new mode 100644 index 2cd138df..430f631a --- a/src/redmine-net40-api-signed/Attachments.cs +++ b/src/redmine-net40-api-signed/Attachments.cs @@ -19,6 +19,9 @@ limitations under the License. namespace Redmine.Net.Api { + /// + /// + /// public class Attachments : Dictionary { From db07a1b721d5d33b21c5b4a626a5460917eefaff Mon Sep 17 00:00:00 2001 From: Zapadi Date: Mon, 26 Mar 2018 19:45:21 +0300 Subject: [PATCH 024/601] Updated copyright. --- src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/UserTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs | 2 +- src/redmine-net20-api/Exceptions/ConflictException.cs | 2 +- src/redmine-net20-api/Exceptions/ForbiddenException.cs | 2 +- .../Exceptions/InternalServerErrorException.cs | 2 +- .../Exceptions/NameResolutionFailureException.cs | 2 +- src/redmine-net20-api/Exceptions/NotAcceptableException.cs | 2 +- src/redmine-net20-api/Exceptions/NotFoundException.cs | 2 +- src/redmine-net20-api/Exceptions/RedmineException.cs | 2 +- src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs | 2 +- src/redmine-net20-api/Exceptions/UnauthorizedException.cs | 2 +- src/redmine-net20-api/Extensions/WebExtensions.cs | 2 +- src/redmine-net20-api/Extensions/XmlReaderExtensions.cs | 2 +- src/redmine-net20-api/Extensions/XmlWriterExtensions.cs | 2 +- src/redmine-net20-api/HttpVerbs.cs | 2 +- src/redmine-net20-api/IRedmineManager.cs | 2 +- src/redmine-net20-api/IRedmineWebClient.cs | 2 +- src/redmine-net20-api/Internals/DataHelper.cs | 2 +- src/redmine-net20-api/Internals/Func.cs | 2 +- src/redmine-net20-api/Internals/HashCodeHelper.cs | 2 +- src/redmine-net20-api/Internals/RedmineSerializer.cs | 2 +- src/redmine-net20-api/Internals/UrlHelper.cs | 2 +- src/redmine-net20-api/Internals/WebApiHelper.cs | 2 +- src/redmine-net20-api/Logging/ColorConsoleLogger.cs | 2 +- src/redmine-net20-api/Logging/ConsoleLogger.cs | 2 +- src/redmine-net20-api/Logging/ILogger.cs | 2 +- src/redmine-net20-api/Logging/LogEntry.cs | 2 +- src/redmine-net20-api/Logging/Logger.cs | 2 +- src/redmine-net20-api/Logging/LoggerExtensions.cs | 2 +- src/redmine-net20-api/Logging/LoggingEventType.cs | 2 +- src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs | 2 +- src/redmine-net20-api/Logging/TraceLogger.cs | 2 +- src/redmine-net20-api/MimeFormat.cs | 2 +- src/redmine-net20-api/RedmineManager.cs | 2 +- src/redmine-net20-api/RedmineWebClient.cs | 2 +- src/redmine-net20-api/Types/Attachment.cs | 2 +- src/redmine-net20-api/Types/Attachments.cs | 2 +- src/redmine-net20-api/Types/ChangeSet.cs | 2 +- src/redmine-net20-api/Types/CustomField.cs | 2 +- src/redmine-net20-api/Types/CustomFieldPossibleValue.cs | 2 +- src/redmine-net20-api/Types/CustomFieldRole.cs | 2 +- src/redmine-net20-api/Types/CustomFieldValue.cs | 2 +- src/redmine-net20-api/Types/Detail.cs | 2 +- src/redmine-net20-api/Types/Error.cs | 2 +- src/redmine-net20-api/Types/File.cs | 2 +- src/redmine-net20-api/Types/Group.cs | 2 +- src/redmine-net20-api/Types/GroupUser.cs | 2 +- src/redmine-net20-api/Types/IValue.cs | 2 +- src/redmine-net20-api/Types/Identifiable.cs | 2 +- src/redmine-net20-api/Types/IdentifiableName.cs | 2 +- src/redmine-net20-api/Types/IssueCategory.cs | 2 +- src/redmine-net20-api/Types/IssueChild.cs | 2 +- src/redmine-net20-api/Types/IssueCustomField.cs | 2 +- src/redmine-net20-api/Types/IssuePriority.cs | 2 +- src/redmine-net20-api/Types/IssueRelation.cs | 2 +- src/redmine-net20-api/Types/IssueRelationType.cs | 2 +- src/redmine-net20-api/Types/IssueStatus.cs | 2 +- src/redmine-net20-api/Types/Journal.cs | 2 +- src/redmine-net20-api/Types/Membership.cs | 2 +- src/redmine-net20-api/Types/MembershipRole.cs | 2 +- src/redmine-net20-api/Types/News.cs | 2 +- src/redmine-net20-api/Types/PaginatedObjects.cs | 2 +- src/redmine-net20-api/Types/Permission.cs | 2 +- src/redmine-net20-api/Types/Project.cs | 2 +- src/redmine-net20-api/Types/ProjectEnabledModule.cs | 2 +- src/redmine-net20-api/Types/ProjectIssueCategory.cs | 2 +- src/redmine-net20-api/Types/ProjectMembership.cs | 2 +- src/redmine-net20-api/Types/ProjectStatus.cs | 2 +- src/redmine-net20-api/Types/ProjectTracker.cs | 2 +- src/redmine-net20-api/Types/Query.cs | 2 +- src/redmine-net20-api/Types/Role.cs | 2 +- src/redmine-net20-api/Types/TimeEntry.cs | 2 +- src/redmine-net20-api/Types/TimeEntryActivity.cs | 2 +- src/redmine-net20-api/Types/Tracker.cs | 2 +- src/redmine-net20-api/Types/TrackerCustomField.cs | 2 +- src/redmine-net20-api/Types/Upload.cs | 2 +- src/redmine-net20-api/Types/User.cs | 2 +- src/redmine-net20-api/Types/UserGroup.cs | 2 +- src/redmine-net20-api/Types/UserStatus.cs | 2 +- src/redmine-net20-api/Types/Version.cs | 2 +- src/redmine-net20-api/Types/Watcher.cs | 2 +- src/redmine-net20-api/Types/WikiPage.cs | 2 +- src/redmine-net40-api/Async/RedmineManagerAsync.cs | 2 +- src/redmine-net40-api/Extensions/CollectionExtensions.cs | 2 +- src/redmine-net40-api/Extensions/JsonExtensions.cs | 2 +- src/redmine-net40-api/Extensions/WebExtensions.cs | 2 +- src/redmine-net40-api/Extensions/XmlReaderExtensions.cs | 2 +- src/redmine-net40-api/Internals/RedmineSerializer.cs | 2 +- src/redmine-net40-api/Internals/RedmineSerializerJson.cs | 2 +- src/redmine-net40-api/JSonConverters/AttachmentConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/AttachmentsConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/ChangeSetConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/CustomFieldConverter.cs | 2 +- .../JSonConverters/CustomFieldPossibleValueConverter.cs | 2 +- .../JSonConverters/CustomFieldRoleConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/DetailConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/ErrorConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/FileConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/GroupConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/GroupUserConverter.cs | 2 +- .../JSonConverters/IdentifiableNameConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/IssueChildConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/IssueConverter.cs | 2 +- .../JSonConverters/IssueCustomFieldConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/IssueRelationConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/IssueStatusConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/JournalConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/MembershipConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/NewsConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/PermissionConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/ProjectConverter.cs | 2 +- .../JSonConverters/ProjectEnabledModuleConverter.cs | 2 +- .../JSonConverters/ProjectIssueCategoryConverter.cs | 2 +- .../JSonConverters/ProjectMembershipConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/QueryConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/RoleConverter.cs | 2 +- .../JSonConverters/TimeEntryActivityConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/TimeEntryConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/TrackerConverter.cs | 2 +- .../JSonConverters/TrackerCustomFieldConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/UploadConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/UserConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/UserGroupConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/VersionConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/WatcherConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/WikiPageConverter.cs | 2 +- src/redmine-net40-api/MimeFormat.cs | 2 +- src/redmine-net450-api/Async/RedmineManagerAsync.cs | 2 +- src/redmine-net450-api/Extensions/DisposableExtension.cs | 2 +- src/redmine-net450-api/Extensions/FunctionalExtensions.cs | 2 +- src/redmine-net450-api/Extensions/TaskExtensions.cs | 2 +- src/redmine-net450-api/Internals/WebApiAsyncHelper.cs | 2 +- 150 files changed, 150 insertions(+), 150 deletions(-) mode change 100755 => 100644 src/redmine-net20-api/Exceptions/ConflictException.cs mode change 100755 => 100644 src/redmine-net20-api/Types/TimeEntry.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs b/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs index 299a8fa0..fa577841 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs b/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs index 14715666..b01660e0 100755 --- a/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs index dbe51317..f27b0df6 100755 --- a/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs index 06d677a0..3122bc29 100755 --- a/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs index bd9f978c..df418ccd 100755 --- a/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs b/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs index 3cf4fae7..200ab276 100755 --- a/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs b/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs index 72a5c550..0fc86a5e 100755 --- a/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs b/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs index 878e576c..c2940b31 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs b/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs index b9b531af..3cf1ac42 100755 --- a/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs b/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs index 44c030b1..bb4f4e03 100755 --- a/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs index 719fe4e4..491412a9 100755 --- a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs index e31e95fc..0dc29e67 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs index c6f88ceb..4c5293d3 100755 --- a/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs b/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs index 4d22cbd0..7ed24bce 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs b/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs index 0b3851af..51826945 100755 --- a/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs b/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs index a89da164..44c662df 100755 --- a/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/ConflictException.cs b/src/redmine-net20-api/Exceptions/ConflictException.cs old mode 100755 new mode 100644 index 1f1ee1f2..6a7f0aa0 --- a/src/redmine-net20-api/Exceptions/ConflictException.cs +++ b/src/redmine-net20-api/Exceptions/ConflictException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/ForbiddenException.cs b/src/redmine-net20-api/Exceptions/ForbiddenException.cs index 97f6fb77..512eae77 100755 --- a/src/redmine-net20-api/Exceptions/ForbiddenException.cs +++ b/src/redmine-net20-api/Exceptions/ForbiddenException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs b/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs index 2686df36..392ea006 100755 --- a/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs +++ b/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs b/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs index 7d7fcfa9..7bce7d57 100755 --- a/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs +++ b/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/NotAcceptableException.cs b/src/redmine-net20-api/Exceptions/NotAcceptableException.cs index 0405c6c1..1a550d4d 100755 --- a/src/redmine-net20-api/Exceptions/NotAcceptableException.cs +++ b/src/redmine-net20-api/Exceptions/NotAcceptableException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/NotFoundException.cs b/src/redmine-net20-api/Exceptions/NotFoundException.cs index 51fba2d4..78f93b62 100755 --- a/src/redmine-net20-api/Exceptions/NotFoundException.cs +++ b/src/redmine-net20-api/Exceptions/NotFoundException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/RedmineException.cs b/src/redmine-net20-api/Exceptions/RedmineException.cs index ea9e0289..a97f121f 100755 --- a/src/redmine-net20-api/Exceptions/RedmineException.cs +++ b/src/redmine-net20-api/Exceptions/RedmineException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs b/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs index 4dd6938b..f303c0d9 100755 --- a/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs +++ b/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/UnauthorizedException.cs b/src/redmine-net20-api/Exceptions/UnauthorizedException.cs index d94d30dd..00d90aa4 100755 --- a/src/redmine-net20-api/Exceptions/UnauthorizedException.cs +++ b/src/redmine-net20-api/Exceptions/UnauthorizedException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Extensions/WebExtensions.cs b/src/redmine-net20-api/Extensions/WebExtensions.cs index 18957c24..4f1a041c 100755 --- a/src/redmine-net20-api/Extensions/WebExtensions.cs +++ b/src/redmine-net20-api/Extensions/WebExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net20-api/Extensions/XmlReaderExtensions.cs index 1a5626ea..ec97e67e 100755 --- a/src/redmine-net20-api/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net20-api/Extensions/XmlReaderExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net20-api/Extensions/XmlWriterExtensions.cs index 6ba64341..2b593527 100755 --- a/src/redmine-net20-api/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net20-api/Extensions/XmlWriterExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/HttpVerbs.cs b/src/redmine-net20-api/HttpVerbs.cs index 88dafe62..71ce6a0a 100755 --- a/src/redmine-net20-api/HttpVerbs.cs +++ b/src/redmine-net20-api/HttpVerbs.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2017 Adrian Popescu. +Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/IRedmineManager.cs b/src/redmine-net20-api/IRedmineManager.cs index 4c8b64c6..02b690be 100644 --- a/src/redmine-net20-api/IRedmineManager.cs +++ b/src/redmine-net20-api/IRedmineManager.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/IRedmineWebClient.cs b/src/redmine-net20-api/IRedmineWebClient.cs index 4476393f..f8ac53c9 100644 --- a/src/redmine-net20-api/IRedmineWebClient.cs +++ b/src/redmine-net20-api/IRedmineWebClient.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Internals/DataHelper.cs b/src/redmine-net20-api/Internals/DataHelper.cs index cc61e88d..9afa5147 100755 --- a/src/redmine-net20-api/Internals/DataHelper.cs +++ b/src/redmine-net20-api/Internals/DataHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Internals/Func.cs b/src/redmine-net20-api/Internals/Func.cs index 5f2c21c6..26e4e615 100755 --- a/src/redmine-net20-api/Internals/Func.cs +++ b/src/redmine-net20-api/Internals/Func.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Internals/HashCodeHelper.cs b/src/redmine-net20-api/Internals/HashCodeHelper.cs index 1cde5a51..5af3ec1a 100755 --- a/src/redmine-net20-api/Internals/HashCodeHelper.cs +++ b/src/redmine-net20-api/Internals/HashCodeHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Internals/RedmineSerializer.cs b/src/redmine-net20-api/Internals/RedmineSerializer.cs index 1fb84a67..78700cf4 100755 --- a/src/redmine-net20-api/Internals/RedmineSerializer.cs +++ b/src/redmine-net20-api/Internals/RedmineSerializer.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Internals/UrlHelper.cs b/src/redmine-net20-api/Internals/UrlHelper.cs index a71311bc..7ebbffae 100644 --- a/src/redmine-net20-api/Internals/UrlHelper.cs +++ b/src/redmine-net20-api/Internals/UrlHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Internals/WebApiHelper.cs b/src/redmine-net20-api/Internals/WebApiHelper.cs index ff5f498f..81bef83b 100755 --- a/src/redmine-net20-api/Internals/WebApiHelper.cs +++ b/src/redmine-net20-api/Internals/WebApiHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/ColorConsoleLogger.cs b/src/redmine-net20-api/Logging/ColorConsoleLogger.cs index a5b538fc..96d38d0e 100755 --- a/src/redmine-net20-api/Logging/ColorConsoleLogger.cs +++ b/src/redmine-net20-api/Logging/ColorConsoleLogger.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/ConsoleLogger.cs b/src/redmine-net20-api/Logging/ConsoleLogger.cs index 6e67dec0..c4d9b79f 100755 --- a/src/redmine-net20-api/Logging/ConsoleLogger.cs +++ b/src/redmine-net20-api/Logging/ConsoleLogger.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/ILogger.cs b/src/redmine-net20-api/Logging/ILogger.cs index 79887d64..94b83c75 100755 --- a/src/redmine-net20-api/Logging/ILogger.cs +++ b/src/redmine-net20-api/Logging/ILogger.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/LogEntry.cs b/src/redmine-net20-api/Logging/LogEntry.cs index 9db551d7..e7377b1d 100755 --- a/src/redmine-net20-api/Logging/LogEntry.cs +++ b/src/redmine-net20-api/Logging/LogEntry.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/Logger.cs b/src/redmine-net20-api/Logging/Logger.cs index c5d5832c..eee4d8bf 100755 --- a/src/redmine-net20-api/Logging/Logger.cs +++ b/src/redmine-net20-api/Logging/Logger.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/LoggerExtensions.cs b/src/redmine-net20-api/Logging/LoggerExtensions.cs index eb721eac..43467d15 100755 --- a/src/redmine-net20-api/Logging/LoggerExtensions.cs +++ b/src/redmine-net20-api/Logging/LoggerExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/LoggingEventType.cs b/src/redmine-net20-api/Logging/LoggingEventType.cs index 4c30fb4c..44169d3f 100755 --- a/src/redmine-net20-api/Logging/LoggingEventType.cs +++ b/src/redmine-net20-api/Logging/LoggingEventType.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs b/src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs index 48404d74..588eb8b6 100755 --- a/src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs +++ b/src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/TraceLogger.cs b/src/redmine-net20-api/Logging/TraceLogger.cs index 902b552d..dc4e4ee3 100755 --- a/src/redmine-net20-api/Logging/TraceLogger.cs +++ b/src/redmine-net20-api/Logging/TraceLogger.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/MimeFormat.cs b/src/redmine-net20-api/MimeFormat.cs index 803c896d..ccb416de 100755 --- a/src/redmine-net20-api/MimeFormat.cs +++ b/src/redmine-net20-api/MimeFormat.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2017 Adrian Popescu. +Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/RedmineManager.cs b/src/redmine-net20-api/RedmineManager.cs index f0cb7932..8af6d5aa 100644 --- a/src/redmine-net20-api/RedmineManager.cs +++ b/src/redmine-net20-api/RedmineManager.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/RedmineWebClient.cs b/src/redmine-net20-api/RedmineWebClient.cs index e9353a4d..4befda3c 100644 --- a/src/redmine-net20-api/RedmineWebClient.cs +++ b/src/redmine-net20-api/RedmineWebClient.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Attachment.cs b/src/redmine-net20-api/Types/Attachment.cs index 9559a51d..0f86fd71 100755 --- a/src/redmine-net20-api/Types/Attachment.cs +++ b/src/redmine-net20-api/Types/Attachment.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Attachments.cs b/src/redmine-net20-api/Types/Attachments.cs index e2d357b7..212b9e5e 100755 --- a/src/redmine-net20-api/Types/Attachments.cs +++ b/src/redmine-net20-api/Types/Attachments.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/ChangeSet.cs b/src/redmine-net20-api/Types/ChangeSet.cs index 414a4216..a1961e33 100755 --- a/src/redmine-net20-api/Types/ChangeSet.cs +++ b/src/redmine-net20-api/Types/ChangeSet.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/CustomField.cs b/src/redmine-net20-api/Types/CustomField.cs index f89b5ce7..450d3648 100755 --- a/src/redmine-net20-api/Types/CustomField.cs +++ b/src/redmine-net20-api/Types/CustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net20-api/Types/CustomFieldPossibleValue.cs index a78fbe08..fb7ec761 100755 --- a/src/redmine-net20-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net20-api/Types/CustomFieldPossibleValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/CustomFieldRole.cs b/src/redmine-net20-api/Types/CustomFieldRole.cs index e0d0d58a..ead8d199 100755 --- a/src/redmine-net20-api/Types/CustomFieldRole.cs +++ b/src/redmine-net20-api/Types/CustomFieldRole.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/CustomFieldValue.cs b/src/redmine-net20-api/Types/CustomFieldValue.cs index f87f0a78..405ffa20 100755 --- a/src/redmine-net20-api/Types/CustomFieldValue.cs +++ b/src/redmine-net20-api/Types/CustomFieldValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Detail.cs b/src/redmine-net20-api/Types/Detail.cs index cda0232d..6891bc09 100755 --- a/src/redmine-net20-api/Types/Detail.cs +++ b/src/redmine-net20-api/Types/Detail.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Error.cs b/src/redmine-net20-api/Types/Error.cs index 463a8093..7deeea22 100755 --- a/src/redmine-net20-api/Types/Error.cs +++ b/src/redmine-net20-api/Types/Error.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/File.cs b/src/redmine-net20-api/Types/File.cs index 8c093c56..24f35d8c 100644 --- a/src/redmine-net20-api/Types/File.cs +++ b/src/redmine-net20-api/Types/File.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Group.cs b/src/redmine-net20-api/Types/Group.cs index 3f9afca1..c34f3401 100755 --- a/src/redmine-net20-api/Types/Group.cs +++ b/src/redmine-net20-api/Types/Group.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/GroupUser.cs b/src/redmine-net20-api/Types/GroupUser.cs index 7d5abf57..4240883a 100755 --- a/src/redmine-net20-api/Types/GroupUser.cs +++ b/src/redmine-net20-api/Types/GroupUser.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IValue.cs b/src/redmine-net20-api/Types/IValue.cs index f5ed0a1e..483bc6cb 100755 --- a/src/redmine-net20-api/Types/IValue.cs +++ b/src/redmine-net20-api/Types/IValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Identifiable.cs b/src/redmine-net20-api/Types/Identifiable.cs index 706b2a43..95ee2564 100755 --- a/src/redmine-net20-api/Types/Identifiable.cs +++ b/src/redmine-net20-api/Types/Identifiable.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IdentifiableName.cs b/src/redmine-net20-api/Types/IdentifiableName.cs index a45158b3..95a02fce 100755 --- a/src/redmine-net20-api/Types/IdentifiableName.cs +++ b/src/redmine-net20-api/Types/IdentifiableName.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IssueCategory.cs b/src/redmine-net20-api/Types/IssueCategory.cs index ed172866..339c93de 100755 --- a/src/redmine-net20-api/Types/IssueCategory.cs +++ b/src/redmine-net20-api/Types/IssueCategory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IssueChild.cs b/src/redmine-net20-api/Types/IssueChild.cs index eee5ddda..957f038f 100755 --- a/src/redmine-net20-api/Types/IssueChild.cs +++ b/src/redmine-net20-api/Types/IssueChild.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IssueCustomField.cs b/src/redmine-net20-api/Types/IssueCustomField.cs index c1336673..e5e96c97 100755 --- a/src/redmine-net20-api/Types/IssueCustomField.cs +++ b/src/redmine-net20-api/Types/IssueCustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IssuePriority.cs b/src/redmine-net20-api/Types/IssuePriority.cs index cd33e2eb..a97b06f1 100755 --- a/src/redmine-net20-api/Types/IssuePriority.cs +++ b/src/redmine-net20-api/Types/IssuePriority.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IssueRelation.cs b/src/redmine-net20-api/Types/IssueRelation.cs index 9f67c8bb..4c6221c2 100755 --- a/src/redmine-net20-api/Types/IssueRelation.cs +++ b/src/redmine-net20-api/Types/IssueRelation.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IssueRelationType.cs b/src/redmine-net20-api/Types/IssueRelationType.cs index a7d42514..c4405636 100755 --- a/src/redmine-net20-api/Types/IssueRelationType.cs +++ b/src/redmine-net20-api/Types/IssueRelationType.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IssueStatus.cs b/src/redmine-net20-api/Types/IssueStatus.cs index 30ce58d3..788615bc 100755 --- a/src/redmine-net20-api/Types/IssueStatus.cs +++ b/src/redmine-net20-api/Types/IssueStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Journal.cs b/src/redmine-net20-api/Types/Journal.cs index c344e481..2fbdaa6d 100644 --- a/src/redmine-net20-api/Types/Journal.cs +++ b/src/redmine-net20-api/Types/Journal.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Membership.cs b/src/redmine-net20-api/Types/Membership.cs index 1c1ca2c9..b5f35370 100755 --- a/src/redmine-net20-api/Types/Membership.cs +++ b/src/redmine-net20-api/Types/Membership.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/MembershipRole.cs b/src/redmine-net20-api/Types/MembershipRole.cs index 24a06b56..ac24c2c1 100755 --- a/src/redmine-net20-api/Types/MembershipRole.cs +++ b/src/redmine-net20-api/Types/MembershipRole.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/News.cs b/src/redmine-net20-api/Types/News.cs index d5132491..063d2c80 100755 --- a/src/redmine-net20-api/Types/News.cs +++ b/src/redmine-net20-api/Types/News.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/PaginatedObjects.cs b/src/redmine-net20-api/Types/PaginatedObjects.cs index 39ffad27..18c0b172 100755 --- a/src/redmine-net20-api/Types/PaginatedObjects.cs +++ b/src/redmine-net20-api/Types/PaginatedObjects.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Permission.cs b/src/redmine-net20-api/Types/Permission.cs index 8bc8a75d..28277dd6 100755 --- a/src/redmine-net20-api/Types/Permission.cs +++ b/src/redmine-net20-api/Types/Permission.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Project.cs b/src/redmine-net20-api/Types/Project.cs index e22c1fb4..0ff0da01 100644 --- a/src/redmine-net20-api/Types/Project.cs +++ b/src/redmine-net20-api/Types/Project.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/ProjectEnabledModule.cs b/src/redmine-net20-api/Types/ProjectEnabledModule.cs index 77280e0e..bcd12bdc 100755 --- a/src/redmine-net20-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net20-api/Types/ProjectEnabledModule.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2017 Adrian Popescu. +Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/ProjectIssueCategory.cs b/src/redmine-net20-api/Types/ProjectIssueCategory.cs index 28003cb6..a3ebd086 100755 --- a/src/redmine-net20-api/Types/ProjectIssueCategory.cs +++ b/src/redmine-net20-api/Types/ProjectIssueCategory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/ProjectMembership.cs b/src/redmine-net20-api/Types/ProjectMembership.cs index 5e3fc5aa..9dd18652 100755 --- a/src/redmine-net20-api/Types/ProjectMembership.cs +++ b/src/redmine-net20-api/Types/ProjectMembership.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/ProjectStatus.cs b/src/redmine-net20-api/Types/ProjectStatus.cs index 302d98e3..cab9e6fb 100755 --- a/src/redmine-net20-api/Types/ProjectStatus.cs +++ b/src/redmine-net20-api/Types/ProjectStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/ProjectTracker.cs b/src/redmine-net20-api/Types/ProjectTracker.cs index 6a1abca7..97ce1f65 100755 --- a/src/redmine-net20-api/Types/ProjectTracker.cs +++ b/src/redmine-net20-api/Types/ProjectTracker.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Query.cs b/src/redmine-net20-api/Types/Query.cs index 6d664bbe..d9b72927 100755 --- a/src/redmine-net20-api/Types/Query.cs +++ b/src/redmine-net20-api/Types/Query.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Role.cs b/src/redmine-net20-api/Types/Role.cs index 04f86b81..d1df1c5d 100755 --- a/src/redmine-net20-api/Types/Role.cs +++ b/src/redmine-net20-api/Types/Role.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/TimeEntry.cs b/src/redmine-net20-api/Types/TimeEntry.cs old mode 100755 new mode 100644 index 80e32e0d..0a1bb48c --- a/src/redmine-net20-api/Types/TimeEntry.cs +++ b/src/redmine-net20-api/Types/TimeEntry.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/TimeEntryActivity.cs b/src/redmine-net20-api/Types/TimeEntryActivity.cs index 971b96ac..f319c721 100755 --- a/src/redmine-net20-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net20-api/Types/TimeEntryActivity.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Tracker.cs b/src/redmine-net20-api/Types/Tracker.cs index c68958a4..da036a25 100755 --- a/src/redmine-net20-api/Types/Tracker.cs +++ b/src/redmine-net20-api/Types/Tracker.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/TrackerCustomField.cs b/src/redmine-net20-api/Types/TrackerCustomField.cs index 91305fd5..b8c0eb42 100755 --- a/src/redmine-net20-api/Types/TrackerCustomField.cs +++ b/src/redmine-net20-api/Types/TrackerCustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Upload.cs b/src/redmine-net20-api/Types/Upload.cs index 81005063..598801fa 100755 --- a/src/redmine-net20-api/Types/Upload.cs +++ b/src/redmine-net20-api/Types/Upload.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/User.cs b/src/redmine-net20-api/Types/User.cs index fd7cc476..83893fd0 100755 --- a/src/redmine-net20-api/Types/User.cs +++ b/src/redmine-net20-api/Types/User.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/UserGroup.cs b/src/redmine-net20-api/Types/UserGroup.cs index c7749959..d8098cc7 100755 --- a/src/redmine-net20-api/Types/UserGroup.cs +++ b/src/redmine-net20-api/Types/UserGroup.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/UserStatus.cs b/src/redmine-net20-api/Types/UserStatus.cs index cc5bb5dd..233edbe4 100755 --- a/src/redmine-net20-api/Types/UserStatus.cs +++ b/src/redmine-net20-api/Types/UserStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Version.cs b/src/redmine-net20-api/Types/Version.cs index f0ad797e..7db5880f 100755 --- a/src/redmine-net20-api/Types/Version.cs +++ b/src/redmine-net20-api/Types/Version.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Watcher.cs b/src/redmine-net20-api/Types/Watcher.cs index 400aeaa5..b7b15c13 100755 --- a/src/redmine-net20-api/Types/Watcher.cs +++ b/src/redmine-net20-api/Types/Watcher.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/WikiPage.cs b/src/redmine-net20-api/Types/WikiPage.cs index 617d45d5..56f8cc2e 100755 --- a/src/redmine-net20-api/Types/WikiPage.cs +++ b/src/redmine-net20-api/Types/WikiPage.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/Async/RedmineManagerAsync.cs b/src/redmine-net40-api/Async/RedmineManagerAsync.cs index 12ef40a6..5de6d63f 100644 --- a/src/redmine-net40-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net40-api/Async/RedmineManagerAsync.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/Extensions/CollectionExtensions.cs b/src/redmine-net40-api/Extensions/CollectionExtensions.cs index 87c135fe..dbc2beb0 100755 --- a/src/redmine-net40-api/Extensions/CollectionExtensions.cs +++ b/src/redmine-net40-api/Extensions/CollectionExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/Extensions/JsonExtensions.cs b/src/redmine-net40-api/Extensions/JsonExtensions.cs index 635f777b..b4f75745 100755 --- a/src/redmine-net40-api/Extensions/JsonExtensions.cs +++ b/src/redmine-net40-api/Extensions/JsonExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/Extensions/WebExtensions.cs b/src/redmine-net40-api/Extensions/WebExtensions.cs index 3e40a146..948c5c24 100755 --- a/src/redmine-net40-api/Extensions/WebExtensions.cs +++ b/src/redmine-net40-api/Extensions/WebExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net40-api/Extensions/XmlReaderExtensions.cs index f772e752..6afc1687 100755 --- a/src/redmine-net40-api/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net40-api/Extensions/XmlReaderExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/Internals/RedmineSerializer.cs b/src/redmine-net40-api/Internals/RedmineSerializer.cs index 24591449..e4ea8c46 100755 --- a/src/redmine-net40-api/Internals/RedmineSerializer.cs +++ b/src/redmine-net40-api/Internals/RedmineSerializer.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/Internals/RedmineSerializerJson.cs b/src/redmine-net40-api/Internals/RedmineSerializerJson.cs index a01850f5..f47a5136 100755 --- a/src/redmine-net40-api/Internals/RedmineSerializerJson.cs +++ b/src/redmine-net40-api/Internals/RedmineSerializerJson.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/AttachmentConverter.cs b/src/redmine-net40-api/JSonConverters/AttachmentConverter.cs index 013d2063..4d1b82c3 100755 --- a/src/redmine-net40-api/JSonConverters/AttachmentConverter.cs +++ b/src/redmine-net40-api/JSonConverters/AttachmentConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/AttachmentsConverter.cs b/src/redmine-net40-api/JSonConverters/AttachmentsConverter.cs index e75eb040..c4c39370 100755 --- a/src/redmine-net40-api/JSonConverters/AttachmentsConverter.cs +++ b/src/redmine-net40-api/JSonConverters/AttachmentsConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/ChangeSetConverter.cs b/src/redmine-net40-api/JSonConverters/ChangeSetConverter.cs index 4f4fcd0f..61a9520c 100755 --- a/src/redmine-net40-api/JSonConverters/ChangeSetConverter.cs +++ b/src/redmine-net40-api/JSonConverters/ChangeSetConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/CustomFieldConverter.cs b/src/redmine-net40-api/JSonConverters/CustomFieldConverter.cs index 510c230b..8cfb27c7 100755 --- a/src/redmine-net40-api/JSonConverters/CustomFieldConverter.cs +++ b/src/redmine-net40-api/JSonConverters/CustomFieldConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs b/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs index ff1a6aca..14bbe846 100755 --- a/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs +++ b/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs b/src/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs index 6d2504ca..60838586 100755 --- a/src/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs +++ b/src/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/DetailConverter.cs b/src/redmine-net40-api/JSonConverters/DetailConverter.cs index 6f6b7bb9..65939228 100755 --- a/src/redmine-net40-api/JSonConverters/DetailConverter.cs +++ b/src/redmine-net40-api/JSonConverters/DetailConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/ErrorConverter.cs b/src/redmine-net40-api/JSonConverters/ErrorConverter.cs index 1bcc1f00..cf687cbc 100755 --- a/src/redmine-net40-api/JSonConverters/ErrorConverter.cs +++ b/src/redmine-net40-api/JSonConverters/ErrorConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/FileConverter.cs b/src/redmine-net40-api/JSonConverters/FileConverter.cs index 8ce81be5..79dcd2fb 100755 --- a/src/redmine-net40-api/JSonConverters/FileConverter.cs +++ b/src/redmine-net40-api/JSonConverters/FileConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/GroupConverter.cs b/src/redmine-net40-api/JSonConverters/GroupConverter.cs index cb924b86..1b231eec 100755 --- a/src/redmine-net40-api/JSonConverters/GroupConverter.cs +++ b/src/redmine-net40-api/JSonConverters/GroupConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/GroupUserConverter.cs b/src/redmine-net40-api/JSonConverters/GroupUserConverter.cs index c12875e3..942cded1 100755 --- a/src/redmine-net40-api/JSonConverters/GroupUserConverter.cs +++ b/src/redmine-net40-api/JSonConverters/GroupUserConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IdentifiableNameConverter.cs b/src/redmine-net40-api/JSonConverters/IdentifiableNameConverter.cs index 48d44b4d..f6637622 100755 --- a/src/redmine-net40-api/JSonConverters/IdentifiableNameConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IdentifiableNameConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs b/src/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs index 2c173d36..3fe269ed 100755 --- a/src/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IssueChildConverter.cs b/src/redmine-net40-api/JSonConverters/IssueChildConverter.cs index 718119fe..58dfe680 100755 --- a/src/redmine-net40-api/JSonConverters/IssueChildConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssueChildConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IssueConverter.cs b/src/redmine-net40-api/JSonConverters/IssueConverter.cs index a032ae21..2c324a71 100755 --- a/src/redmine-net40-api/JSonConverters/IssueConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssueConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IssueCustomFieldConverter.cs b/src/redmine-net40-api/JSonConverters/IssueCustomFieldConverter.cs index 8ba8c10c..142f4713 100755 --- a/src/redmine-net40-api/JSonConverters/IssueCustomFieldConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssueCustomFieldConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs b/src/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs index b3f6ac6f..673fa61d 100755 --- a/src/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IssueRelationConverter.cs b/src/redmine-net40-api/JSonConverters/IssueRelationConverter.cs index 14ce53b4..33769028 100755 --- a/src/redmine-net40-api/JSonConverters/IssueRelationConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssueRelationConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IssueStatusConverter.cs b/src/redmine-net40-api/JSonConverters/IssueStatusConverter.cs index 8f806cc9..96170f7c 100755 --- a/src/redmine-net40-api/JSonConverters/IssueStatusConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssueStatusConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/JournalConverter.cs b/src/redmine-net40-api/JSonConverters/JournalConverter.cs index 85e90ed7..a69b7356 100644 --- a/src/redmine-net40-api/JSonConverters/JournalConverter.cs +++ b/src/redmine-net40-api/JSonConverters/JournalConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/MembershipConverter.cs b/src/redmine-net40-api/JSonConverters/MembershipConverter.cs index b213233a..f562467a 100755 --- a/src/redmine-net40-api/JSonConverters/MembershipConverter.cs +++ b/src/redmine-net40-api/JSonConverters/MembershipConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs b/src/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs index 3ab0f170..88929032 100755 --- a/src/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs +++ b/src/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/NewsConverter.cs b/src/redmine-net40-api/JSonConverters/NewsConverter.cs index c5922d16..5fc9c9dc 100755 --- a/src/redmine-net40-api/JSonConverters/NewsConverter.cs +++ b/src/redmine-net40-api/JSonConverters/NewsConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/PermissionConverter.cs b/src/redmine-net40-api/JSonConverters/PermissionConverter.cs index b02f432d..ab3ae24b 100755 --- a/src/redmine-net40-api/JSonConverters/PermissionConverter.cs +++ b/src/redmine-net40-api/JSonConverters/PermissionConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/ProjectConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectConverter.cs index 4d98dc77..493e7984 100755 --- a/src/redmine-net40-api/JSonConverters/ProjectConverter.cs +++ b/src/redmine-net40-api/JSonConverters/ProjectConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/ProjectEnabledModuleConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectEnabledModuleConverter.cs index 11227520..88ea625b 100755 --- a/src/redmine-net40-api/JSonConverters/ProjectEnabledModuleConverter.cs +++ b/src/redmine-net40-api/JSonConverters/ProjectEnabledModuleConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/ProjectIssueCategoryConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectIssueCategoryConverter.cs index d7956dcb..72c22288 100755 --- a/src/redmine-net40-api/JSonConverters/ProjectIssueCategoryConverter.cs +++ b/src/redmine-net40-api/JSonConverters/ProjectIssueCategoryConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/ProjectMembershipConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectMembershipConverter.cs index 7b513870..e7cbbcb5 100755 --- a/src/redmine-net40-api/JSonConverters/ProjectMembershipConverter.cs +++ b/src/redmine-net40-api/JSonConverters/ProjectMembershipConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs index 5f205d44..79f33c0e 100755 --- a/src/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs +++ b/src/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/QueryConverter.cs b/src/redmine-net40-api/JSonConverters/QueryConverter.cs index 4cabeb5e..b63054e9 100755 --- a/src/redmine-net40-api/JSonConverters/QueryConverter.cs +++ b/src/redmine-net40-api/JSonConverters/QueryConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/RoleConverter.cs b/src/redmine-net40-api/JSonConverters/RoleConverter.cs index d57464bb..bb849da2 100755 --- a/src/redmine-net40-api/JSonConverters/RoleConverter.cs +++ b/src/redmine-net40-api/JSonConverters/RoleConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/TimeEntryActivityConverter.cs b/src/redmine-net40-api/JSonConverters/TimeEntryActivityConverter.cs index 87b6e5fc..7daba93e 100755 --- a/src/redmine-net40-api/JSonConverters/TimeEntryActivityConverter.cs +++ b/src/redmine-net40-api/JSonConverters/TimeEntryActivityConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/TimeEntryConverter.cs b/src/redmine-net40-api/JSonConverters/TimeEntryConverter.cs index 435e86ae..0268dee6 100755 --- a/src/redmine-net40-api/JSonConverters/TimeEntryConverter.cs +++ b/src/redmine-net40-api/JSonConverters/TimeEntryConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/TrackerConverter.cs b/src/redmine-net40-api/JSonConverters/TrackerConverter.cs index a972f662..a5ff2647 100755 --- a/src/redmine-net40-api/JSonConverters/TrackerConverter.cs +++ b/src/redmine-net40-api/JSonConverters/TrackerConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs b/src/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs index 74b92a06..84244aaa 100755 --- a/src/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs +++ b/src/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/UploadConverter.cs b/src/redmine-net40-api/JSonConverters/UploadConverter.cs index 0b5bb165..23a7a4f9 100755 --- a/src/redmine-net40-api/JSonConverters/UploadConverter.cs +++ b/src/redmine-net40-api/JSonConverters/UploadConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/UserConverter.cs b/src/redmine-net40-api/JSonConverters/UserConverter.cs index f1d6003c..73e2d27a 100755 --- a/src/redmine-net40-api/JSonConverters/UserConverter.cs +++ b/src/redmine-net40-api/JSonConverters/UserConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/UserGroupConverter.cs b/src/redmine-net40-api/JSonConverters/UserGroupConverter.cs index 43636af8..4c42b123 100755 --- a/src/redmine-net40-api/JSonConverters/UserGroupConverter.cs +++ b/src/redmine-net40-api/JSonConverters/UserGroupConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/VersionConverter.cs b/src/redmine-net40-api/JSonConverters/VersionConverter.cs index 06b21466..4dbd5d21 100755 --- a/src/redmine-net40-api/JSonConverters/VersionConverter.cs +++ b/src/redmine-net40-api/JSonConverters/VersionConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/WatcherConverter.cs b/src/redmine-net40-api/JSonConverters/WatcherConverter.cs index 0c5b85d7..340872a9 100755 --- a/src/redmine-net40-api/JSonConverters/WatcherConverter.cs +++ b/src/redmine-net40-api/JSonConverters/WatcherConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/WikiPageConverter.cs b/src/redmine-net40-api/JSonConverters/WikiPageConverter.cs index 6ab11bcc..da33049a 100755 --- a/src/redmine-net40-api/JSonConverters/WikiPageConverter.cs +++ b/src/redmine-net40-api/JSonConverters/WikiPageConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/MimeFormat.cs b/src/redmine-net40-api/MimeFormat.cs index dc5cb605..323abd37 100755 --- a/src/redmine-net40-api/MimeFormat.cs +++ b/src/redmine-net40-api/MimeFormat.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2017 Adrian Popescu. +Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net450-api/Async/RedmineManagerAsync.cs b/src/redmine-net450-api/Async/RedmineManagerAsync.cs index 5f69ae04..ab9fab62 100644 --- a/src/redmine-net450-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net450-api/Async/RedmineManagerAsync.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2017 Adrian Popescu. +Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net450-api/Extensions/DisposableExtension.cs b/src/redmine-net450-api/Extensions/DisposableExtension.cs index 844d9e02..c36b12c5 100755 --- a/src/redmine-net450-api/Extensions/DisposableExtension.cs +++ b/src/redmine-net450-api/Extensions/DisposableExtension.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net450-api/Extensions/FunctionalExtensions.cs b/src/redmine-net450-api/Extensions/FunctionalExtensions.cs index 0134968f..c48fc3f8 100755 --- a/src/redmine-net450-api/Extensions/FunctionalExtensions.cs +++ b/src/redmine-net450-api/Extensions/FunctionalExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net450-api/Extensions/TaskExtensions.cs b/src/redmine-net450-api/Extensions/TaskExtensions.cs index 76961369..6884a9b9 100755 --- a/src/redmine-net450-api/Extensions/TaskExtensions.cs +++ b/src/redmine-net450-api/Extensions/TaskExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net450-api/Internals/WebApiAsyncHelper.cs b/src/redmine-net450-api/Internals/WebApiAsyncHelper.cs index ffc25615..8dcdda48 100644 --- a/src/redmine-net450-api/Internals/WebApiAsyncHelper.cs +++ b/src/redmine-net450-api/Internals/WebApiAsyncHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu. + Copyright 2011 - 2018 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. From f2802a58bd6f05c8ee2918b58a3dd5a887f51f1b Mon Sep 17 00:00:00 2001 From: Zapadi Date: Mon, 26 Mar 2018 19:53:09 +0300 Subject: [PATCH 025/601] Sealed exception and logging classes. --- .../Exceptions/ConflictException.cs | 11 +---------- .../Exceptions/ForbiddenException.cs | 11 +---------- .../Exceptions/InternalServerErrorException.cs | 11 +---------- .../NameResolutionFailureException.cs | 11 +---------- .../Exceptions/NotAcceptableException.cs | 11 +---------- .../Exceptions/NotFoundException.cs | 12 +----------- .../Exceptions/RedmineException.cs | 0 .../Exceptions/RedmineTimeoutException.cs | 18 +----------------- .../Exceptions/UnauthorizedException.cs | 18 +----------------- .../Logging/ColorConsoleLogger.cs | 2 +- src/redmine-net20-api/Logging/ConsoleLogger.cs | 2 +- src/redmine-net20-api/Logging/LogEntry.cs | 2 +- .../Logging/RedmineConsoleTraceListener.cs | 2 +- src/redmine-net20-api/Logging/TraceLogger.cs | 2 +- 14 files changed, 13 insertions(+), 100 deletions(-) mode change 100755 => 100644 src/redmine-net20-api/Exceptions/ForbiddenException.cs mode change 100755 => 100644 src/redmine-net20-api/Exceptions/InternalServerErrorException.cs mode change 100755 => 100644 src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs mode change 100755 => 100644 src/redmine-net20-api/Exceptions/NotAcceptableException.cs mode change 100755 => 100644 src/redmine-net20-api/Exceptions/NotFoundException.cs mode change 100755 => 100644 src/redmine-net20-api/Exceptions/RedmineException.cs mode change 100755 => 100644 src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs mode change 100755 => 100644 src/redmine-net20-api/Exceptions/UnauthorizedException.cs mode change 100755 => 100644 src/redmine-net20-api/Logging/ColorConsoleLogger.cs mode change 100755 => 100644 src/redmine-net20-api/Logging/ConsoleLogger.cs mode change 100755 => 100644 src/redmine-net20-api/Logging/LogEntry.cs mode change 100755 => 100644 src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs mode change 100755 => 100644 src/redmine-net20-api/Logging/TraceLogger.cs diff --git a/src/redmine-net20-api/Exceptions/ConflictException.cs b/src/redmine-net20-api/Exceptions/ConflictException.cs index 6a7f0aa0..c392ddf1 100644 --- a/src/redmine-net20-api/Exceptions/ConflictException.cs +++ b/src/redmine-net20-api/Exceptions/ConflictException.cs @@ -22,7 +22,7 @@ namespace Redmine.Net.Api.Exceptions /// /// /// - public class ConflictException : RedmineException + public sealed class ConflictException : RedmineException { /// /// Initializes a new instance of the class. @@ -71,14 +71,5 @@ public ConflictException(string format, Exception innerException, params object[ { } - /// - /// Initializes a new instance of the class. - /// - /// - /// - protected ConflictException(SerializationInfo info, StreamingContext context) - : base(info, context) - { - } } } \ No newline at end of file diff --git a/src/redmine-net20-api/Exceptions/ForbiddenException.cs b/src/redmine-net20-api/Exceptions/ForbiddenException.cs old mode 100755 new mode 100644 index 512eae77..362413fc --- a/src/redmine-net20-api/Exceptions/ForbiddenException.cs +++ b/src/redmine-net20-api/Exceptions/ForbiddenException.cs @@ -22,7 +22,7 @@ namespace Redmine.Net.Api.Exceptions /// /// /// - public class ForbiddenException : RedmineException + public sealed class ForbiddenException : RedmineException { /// /// Initializes a new instance of the class. @@ -71,14 +71,5 @@ public ForbiddenException(string format, Exception innerException, params object { } - /// - /// Initializes a new instance of the class. - /// - /// - /// - protected ForbiddenException(SerializationInfo info, StreamingContext context) - : base(info, context) - { - } } } \ No newline at end of file diff --git a/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs b/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs old mode 100755 new mode 100644 index 392ea006..39432357 --- a/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs +++ b/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs @@ -22,7 +22,7 @@ namespace Redmine.Net.Api.Exceptions /// /// /// - public class InternalServerErrorException : RedmineException + public sealed class InternalServerErrorException : RedmineException { /// /// Initializes a new instance of the class. @@ -71,14 +71,5 @@ public InternalServerErrorException(string format, Exception innerException, par { } - /// - /// Initializes a new instance of the class. - /// - /// - /// - protected InternalServerErrorException(SerializationInfo info, StreamingContext context) - : base(info, context) - { - } } } \ No newline at end of file diff --git a/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs b/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs old mode 100755 new mode 100644 index 7bce7d57..380d8c98 --- a/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs +++ b/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs @@ -22,7 +22,7 @@ namespace Redmine.Net.Api.Exceptions /// /// /// - public class NameResolutionFailureException : RedmineException + public sealed class NameResolutionFailureException : RedmineException { /// /// Initializes a new instance of the class. @@ -71,14 +71,5 @@ public NameResolutionFailureException(string format, Exception innerException, p { } - /// - /// Initializes a new instance of the class. - /// - /// - /// - protected NameResolutionFailureException(SerializationInfo info, StreamingContext context) - : base(info, context) - { - } } } \ No newline at end of file diff --git a/src/redmine-net20-api/Exceptions/NotAcceptableException.cs b/src/redmine-net20-api/Exceptions/NotAcceptableException.cs old mode 100755 new mode 100644 index 1a550d4d..6f8a2de5 --- a/src/redmine-net20-api/Exceptions/NotAcceptableException.cs +++ b/src/redmine-net20-api/Exceptions/NotAcceptableException.cs @@ -22,7 +22,7 @@ namespace Redmine.Net.Api.Exceptions /// /// /// - public class NotAcceptableException : RedmineException + public sealed class NotAcceptableException : RedmineException { /// /// Initializes a new instance of the class. @@ -71,14 +71,5 @@ public NotAcceptableException(string format, Exception innerException, params ob { } - /// - /// Initializes a new instance of the class. - /// - /// - /// - protected NotAcceptableException(SerializationInfo info, StreamingContext context) - : base(info, context) - { - } } } \ No newline at end of file diff --git a/src/redmine-net20-api/Exceptions/NotFoundException.cs b/src/redmine-net20-api/Exceptions/NotFoundException.cs old mode 100755 new mode 100644 index 78f93b62..476647c7 --- a/src/redmine-net20-api/Exceptions/NotFoundException.cs +++ b/src/redmine-net20-api/Exceptions/NotFoundException.cs @@ -23,7 +23,7 @@ namespace Redmine.Net.Api.Exceptions /// Thrown in case the objects requested for could not be found. /// /// - public class NotFoundException : RedmineException + public sealed class NotFoundException : RedmineException { /// /// Initializes a new instance of the class. @@ -71,15 +71,5 @@ public NotFoundException(string format, Exception innerException, params object[ : base(string.Format(format, args), innerException) { } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - protected NotFoundException(SerializationInfo info, StreamingContext context) - : base(info, context) - { - } } } \ No newline at end of file diff --git a/src/redmine-net20-api/Exceptions/RedmineException.cs b/src/redmine-net20-api/Exceptions/RedmineException.cs old mode 100755 new mode 100644 diff --git a/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs b/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs old mode 100755 new mode 100644 index f303c0d9..5034b8d3 --- a/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs +++ b/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs @@ -22,7 +22,7 @@ namespace Redmine.Net.Api.Exceptions /// /// /// - public class RedmineTimeoutException : RedmineException + public sealed class RedmineTimeoutException : RedmineException { /// /// Initializes a new instance of the class. @@ -73,21 +73,5 @@ public RedmineTimeoutException(string format, Exception innerException, params o : base(string.Format(format, args), innerException) { } - - /// - /// Initializes a new instance of the class. - /// - /// - /// The that holds the serialized object - /// data about the exception being thrown. - /// - /// - /// The that contains contextual - /// information about the source or destination. - /// - protected RedmineTimeoutException(SerializationInfo info, StreamingContext context) - : base(info, context) - { - } } } \ No newline at end of file diff --git a/src/redmine-net20-api/Exceptions/UnauthorizedException.cs b/src/redmine-net20-api/Exceptions/UnauthorizedException.cs old mode 100755 new mode 100644 index 00d90aa4..423ea14d --- a/src/redmine-net20-api/Exceptions/UnauthorizedException.cs +++ b/src/redmine-net20-api/Exceptions/UnauthorizedException.cs @@ -23,7 +23,7 @@ namespace Redmine.Net.Api.Exceptions /// Thrown in case something went wrong while trying to login. /// /// - public class UnauthorizedException : RedmineException + public sealed class UnauthorizedException : RedmineException { /// /// Initializes a new instance of the class. @@ -74,21 +74,5 @@ public UnauthorizedException(string format, Exception innerException, params obj : base(string.Format(format, args), innerException) { } - - /// - /// Initializes a new instance of the class. - /// - /// - /// The that holds the serialized object - /// data about the exception being thrown. - /// - /// - /// The that contains contextual - /// information about the source or destination. - /// - protected UnauthorizedException(SerializationInfo info, StreamingContext context) - : base(info, context) - { - } } } \ No newline at end of file diff --git a/src/redmine-net20-api/Logging/ColorConsoleLogger.cs b/src/redmine-net20-api/Logging/ColorConsoleLogger.cs old mode 100755 new mode 100644 index 96d38d0e..be9a29f1 --- a/src/redmine-net20-api/Logging/ColorConsoleLogger.cs +++ b/src/redmine-net20-api/Logging/ColorConsoleLogger.cs @@ -22,7 +22,7 @@ namespace Redmine.Net.Api.Logging /// /// /// - public class ColorConsoleLogger : ILogger + public sealed class ColorConsoleLogger : ILogger { private static readonly object locker = new object(); private readonly ConsoleColor? defaultConsoleColor = null; diff --git a/src/redmine-net20-api/Logging/ConsoleLogger.cs b/src/redmine-net20-api/Logging/ConsoleLogger.cs old mode 100755 new mode 100644 index c4d9b79f..c537516c --- a/src/redmine-net20-api/Logging/ConsoleLogger.cs +++ b/src/redmine-net20-api/Logging/ConsoleLogger.cs @@ -22,7 +22,7 @@ namespace Redmine.Net.Api.Logging /// /// /// - public class ConsoleLogger : ILogger + public sealed class ConsoleLogger : ILogger { private static readonly object locker = new object(); /// diff --git a/src/redmine-net20-api/Logging/LogEntry.cs b/src/redmine-net20-api/Logging/LogEntry.cs old mode 100755 new mode 100644 index e7377b1d..9df0e825 --- a/src/redmine-net20-api/Logging/LogEntry.cs +++ b/src/redmine-net20-api/Logging/LogEntry.cs @@ -21,7 +21,7 @@ namespace Redmine.Net.Api.Logging /// /// /// - public class LogEntry + public sealed class LogEntry { /// /// Initializes a new instance of the class. diff --git a/src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs b/src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs old mode 100755 new mode 100644 index 588eb8b6..6808ff5c --- a/src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs +++ b/src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs @@ -22,7 +22,7 @@ namespace Redmine.Net.Api.Logging /// /// /// - public class RedmineConsoleTraceListener : TraceListener + public sealed class RedmineConsoleTraceListener : TraceListener { #region implemented abstract members of TraceListener diff --git a/src/redmine-net20-api/Logging/TraceLogger.cs b/src/redmine-net20-api/Logging/TraceLogger.cs old mode 100755 new mode 100644 index dc4e4ee3..47e68fc3 --- a/src/redmine-net20-api/Logging/TraceLogger.cs +++ b/src/redmine-net20-api/Logging/TraceLogger.cs @@ -22,7 +22,7 @@ namespace Redmine.Net.Api.Logging /// /// /// - public class TraceLogger : ILogger + public sealed class TraceLogger : ILogger { /// /// Logs the specified entry. From 4529efd695d2655dcc79f9c62ed8644047c15c64 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Thu, 29 Mar 2018 00:13:17 +0300 Subject: [PATCH 026/601] Renamed test project. --- src/redmine-net-api.Tests/Helper.cs | 2 +- .../Infrastructure/CaseOrder.cs | 6 +++--- .../Infrastructure/CollectionOrderer.cs | 6 +++--- .../Infrastructure/OrderAttribute.cs | 2 +- .../Infrastructure/RedmineCollection.cs | 2 +- src/redmine-net-api.Tests/Properties/AssemblyInfo.cs | 2 +- src/redmine-net-api.Tests/RedmineFixture.cs | 2 +- .../Tests/Async/AttachmentAsyncTests.cs | 11 +++++------ .../Tests/Async/IssueAsyncTests.cs | 10 +++++----- .../Tests/Async/UserAsyncTests.cs | 12 ++++++------ .../Tests/Async/WikiPageAsyncTests.cs | 10 +++++----- src/redmine-net-api.Tests/Tests/RedmineTest.cs | 4 ++-- .../Tests/Sync/AttachmentTests.cs | 6 +++--- .../Tests/Sync/CustomFieldTests.cs | 3 ++- src/redmine-net-api.Tests/Tests/Sync/GroupTests.cs | 3 ++- .../Tests/Sync/IssueCategoryTests.cs | 6 +++--- .../Tests/Sync/IssuePriorityTests.cs | 2 +- .../Tests/Sync/IssueRelationTests.cs | 3 ++- .../Tests/Sync/IssueStatusTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/IssueTests.cs | 9 +++++---- src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs | 3 ++- .../Tests/Sync/ProjectMembershipTests.cs | 3 ++- src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs | 3 ++- src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs | 3 ++- src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs | 3 ++- .../Tests/Sync/TimeEntryActivtiyTests.cs | 3 ++- .../Tests/Sync/TimeEntryTests.cs | 3 ++- src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/UserTests.cs | 6 ++++-- src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs | 3 ++- .../Tests/Sync/WikiPageTests.cs | 3 ++- .../redmine-net-api.Tests.csproj | 4 ++-- 32 files changed, 78 insertions(+), 64 deletions(-) mode change 100755 => 100644 src/redmine-net-api.Tests/Helper.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Infrastructure/CaseOrder.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Properties/AssemblyInfo.cs mode change 100755 => 100644 src/redmine-net-api.Tests/RedmineFixture.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/RedmineTest.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/GroupTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/IssueTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs mode change 100755 => 100644 src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs diff --git a/src/redmine-net-api.Tests/Helper.cs b/src/redmine-net-api.Tests/Helper.cs old mode 100755 new mode 100644 index a29665ee..647b64f8 --- a/src/redmine-net-api.Tests/Helper.cs +++ b/src/redmine-net-api.Tests/Helper.cs @@ -1,6 +1,6 @@ using System.Configuration; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests { internal static class Helper { diff --git a/src/redmine-net-api.Tests/Infrastructure/CaseOrder.cs b/src/redmine-net-api.Tests/Infrastructure/CaseOrder.cs old mode 100755 new mode 100644 index e267eb1e..f2a0e911 --- a/src/redmine-net-api.Tests/Infrastructure/CaseOrder.cs +++ b/src/redmine-net-api.Tests/Infrastructure/CaseOrder.cs @@ -5,15 +5,15 @@ using Xunit.Abstractions; using Xunit.Sdk; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Infrastructure { /// /// Custom xUnit test case orderer that uses the OrderAttribute /// public class CaseOrderer : ITestCaseOrderer { - public const string TYPE_NAME = "xUnitTestredminenet45api.CaseOrderer"; - public const string ASSEMBY_NAME = "xUnitTest-redmine-net45-api"; + public const string TYPE_NAME = "redmine.net.api.Tests.Infrastructure.CaseOrderer"; + public const string ASSEMBY_NAME = "redmine-net-api.Tests"; public static readonly ConcurrentDictionary> QueuedTests = new ConcurrentDictionary>(); diff --git a/src/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs b/src/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs old mode 100755 new mode 100644 index 3136c1e9..906e2860 --- a/src/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs +++ b/src/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs @@ -5,15 +5,15 @@ using Xunit; using Xunit.Abstractions; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Infrastructure { /// /// Custom xUnit test collection orderer that uses the OrderAttribute /// public class CollectionOrderer : ITestCollectionOrderer { - public const string TYPE_NAME = "xUnitTestredminenet45api.CollectionOrderer"; - public const string ASSEMBY_NAME = "xUnitTest-redmine-net45-api"; + public const string TYPE_NAME = "redmine.net.api.Tests.Infrastructure.CollectionOrderer"; + public const string ASSEMBY_NAME = "redmine-net-api.Tests"; public IEnumerable OrderTestCollections(IEnumerable testCollections) { diff --git a/src/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs b/src/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs old mode 100755 new mode 100644 index 698e785f..2c3cce8e --- a/src/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs +++ b/src/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs @@ -1,6 +1,6 @@ using System; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Infrastructure { public class OrderAttribute : Attribute { diff --git a/src/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs b/src/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs old mode 100755 new mode 100644 index d65eae0c..3da13f61 --- a/src/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs +++ b/src/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs @@ -1,6 +1,6 @@ using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Infrastructure { [CollectionDefinition("RedmineCollection")] public class RedmineCollection : ICollectionFixture diff --git a/src/redmine-net-api.Tests/Properties/AssemblyInfo.cs b/src/redmine-net-api.Tests/Properties/AssemblyInfo.cs old mode 100755 new mode 100644 index 4c8b96f1..415116a3 --- a/src/redmine-net-api.Tests/Properties/AssemblyInfo.cs +++ b/src/redmine-net-api.Tests/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ using System.Reflection; -using xUnitTestredminenet45api; +using redmine.net.api.Tests.Infrastructure; using Xunit; // Information about this assembly is defined by the following attributes. diff --git a/src/redmine-net-api.Tests/RedmineFixture.cs b/src/redmine-net-api.Tests/RedmineFixture.cs old mode 100755 new mode 100644 index c707b38d..ce3dc36f --- a/src/redmine-net-api.Tests/RedmineFixture.cs +++ b/src/redmine-net-api.Tests/RedmineFixture.cs @@ -1,7 +1,7 @@ using System.Diagnostics; using Redmine.Net.Api; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests { public class RedmineFixture { diff --git a/src/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs b/src/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs old mode 100755 new mode 100644 index 83d536e0..ec48aba9 --- a/src/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs +++ b/src/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs @@ -1,13 +1,12 @@ using System; -using System.IO; -using System.Collections.Specialized; using System.Collections.Generic; -using Xunit; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Async; +using System.Collections.Specialized; using System.Threading.Tasks; +using Redmine.Net.Api.Async; +using Redmine.Net.Api.Types; +using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Async { [Collection("RedmineCollection")] public class AttachmentAsyncTests diff --git a/src/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs b/src/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs old mode 100755 new mode 100644 index bd447e7a..cd52bfdf --- a/src/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs +++ b/src/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs @@ -1,11 +1,11 @@ -using Xunit; +using System.Collections.Generic; +using System.Collections.Specialized; +using System.Threading.Tasks; using Redmine.Net.Api.Async; using Redmine.Net.Api.Types; -using System.Threading.Tasks; -using System.Collections.Specialized; -using System.Collections.Generic; +using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Async { [Collection("RedmineCollection")] public class IssueAsyncTests diff --git a/src/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs b/src/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs old mode 100755 new mode 100644 index 4c2f3203..e73a6bc4 --- a/src/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs +++ b/src/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs @@ -1,16 +1,16 @@ using System; -using Xunit; -using Redmine.Net.Api; -using Redmine.Net.Api.Async; -using Redmine.Net.Api.Types; -using System.Threading.Tasks; using System.Collections.Generic; using System.Collections.Specialized; using System.Globalization; using System.Linq; +using System.Threading.Tasks; +using Redmine.Net.Api; +using Redmine.Net.Api.Async; using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Types; +using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Async { [Collection("RedmineCollection")] public class UserAsyncTests diff --git a/src/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs b/src/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs old mode 100755 new mode 100644 index a2c651aa..d119c730 --- a/src/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs +++ b/src/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs @@ -1,12 +1,12 @@ -using Xunit; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Async; -using System.Collections.Generic; +using System.Collections.Generic; using System.Collections.Specialized; using System.Threading.Tasks; +using Redmine.Net.Api.Async; using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Types; +using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Async { [Collection("RedmineCollection")] public class WikiPageAsyncTests diff --git a/src/redmine-net-api.Tests/Tests/RedmineTest.cs b/src/redmine-net-api.Tests/Tests/RedmineTest.cs old mode 100755 new mode 100644 index 419af18e..b15ebad2 --- a/src/redmine-net-api.Tests/Tests/RedmineTest.cs +++ b/src/redmine-net-api.Tests/Tests/RedmineTest.cs @@ -1,10 +1,10 @@ using System; -using System.Runtime.Remoting; +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Xunit; -namespace xUnitTestredminenet45api.Tests +namespace redmine.net.api.Tests.Tests { [Trait("Redmine-api", "Credentials")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs b/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs index fa577841..f35adf20 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs @@ -17,13 +17,13 @@ limitations under the License. using System; using System.Collections.Generic; using System.Collections.Specialized; -using System.IO; +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api; +using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -using Redmine.Net.Api.Exceptions; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Attachments")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs b/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs old mode 100755 new mode 100644 index b01660e0..c46370dd --- a/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs @@ -14,10 +14,11 @@ You may obtain a copy of the License at limitations under the License. */ +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "CustomFields")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/GroupTests.cs b/src/redmine-net-api.Tests/Tests/Sync/GroupTests.cs old mode 100755 new mode 100644 index 55d71c05..c590e4f0 --- a/src/redmine-net-api.Tests/Tests/Sync/GroupTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/GroupTests.cs @@ -1,11 +1,12 @@ using System.Collections.Generic; using System.Collections.Specialized; +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Groups")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs old mode 100755 new mode 100644 index cc626486..aecc9e3b --- a/src/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs @@ -1,11 +1,11 @@ -using System; -using System.Collections.Specialized; +using System.Collections.Specialized; +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "IssueCategories")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs old mode 100755 new mode 100644 index f27b0df6..539c63aa --- a/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs @@ -17,7 +17,7 @@ limitations under the License. using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "IssuePriorities")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs old mode 100755 new mode 100644 index 3122bc29..93f72c99 --- a/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs @@ -15,12 +15,13 @@ limitations under the License. */ using System.Collections.Specialized; +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "IssueRelations")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs old mode 100755 new mode 100644 index df418ccd..95d80ea0 --- a/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs @@ -17,7 +17,7 @@ limitations under the License. using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "IssueStatuses")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueTests.cs old mode 100755 new mode 100644 index 4648b884..d7ae18ce --- a/src/redmine-net-api.Tests/Tests/Sync/IssueTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssueTests.cs @@ -1,12 +1,13 @@ using System; -using System.Collections.Specialized; using System.Collections.Generic; -using Xunit; +using System.Collections.Specialized; +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api; -using Redmine.Net.Api.Types; using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Types; +using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Issues")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs b/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs old mode 100755 new mode 100644 index 200ab276..fd981f71 --- a/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs @@ -15,11 +15,12 @@ limitations under the License. */ using System.Collections.Specialized; +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "News")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs b/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs old mode 100755 new mode 100644 index 0fc86a5e..b8a8361b --- a/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs @@ -16,12 +16,13 @@ limitations under the License. using System.Collections.Generic; using System.Collections.Specialized; +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "ProjectMemberships")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs b/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs index c2940b31..5fad4045 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs @@ -16,12 +16,13 @@ limitations under the License. using System.Collections.Generic; using System.Collections.Specialized; +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Projects")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs b/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs old mode 100755 new mode 100644 index 3cf1ac42..815014cb --- a/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs @@ -14,10 +14,11 @@ You may obtain a copy of the License at limitations under the License. */ +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Queries")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs b/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs old mode 100755 new mode 100644 index bb4f4e03..e16688ec --- a/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs @@ -14,10 +14,11 @@ You may obtain a copy of the License at limitations under the License. */ +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Roles")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs old mode 100755 new mode 100644 index 491412a9..ef67fd56 --- a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs @@ -14,10 +14,11 @@ You may obtain a copy of the License at limitations under the License. */ +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "TimeEntryActivities")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs index 0dc29e67..8e631181 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs @@ -15,11 +15,12 @@ limitations under the License. */ using System; +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "TimeEntries")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs old mode 100755 new mode 100644 index 4c5293d3..fce1f98d --- a/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs @@ -17,7 +17,7 @@ limitations under the License. using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Trackers")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs b/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs index 7ed24bce..05e6dd0c 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs @@ -16,12 +16,13 @@ limitations under the License. using System.Collections.Specialized; using System.Globalization; +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api; -using Redmine.Net.Api.Types; using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Users")] [Collection("RedmineCollection")] @@ -96,6 +97,7 @@ public void Should_Create_User_With_All_Properties_Set() Email = email, Password = password, MustChangePassword = true, + MailNotification = mailNotification }); Assert.NotNull(savedUser); diff --git a/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs b/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs old mode 100755 new mode 100644 index 51826945..7c52340d --- a/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs @@ -16,13 +16,14 @@ limitations under the License. using System; using System.Collections.Specialized; +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; using Version = Redmine.Net.Api.Types.Version; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Versions")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs b/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs old mode 100755 new mode 100644 index 44c662df..146ac0f4 --- a/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs @@ -17,12 +17,13 @@ limitations under the License. using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace xUnitTestredminenet45api +namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "WikiPages")] [Collection("RedmineCollection")] diff --git a/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj index c2cec2ac..57b20d99 100644 --- a/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -8,8 +8,8 @@ AnyCPU {900EF0B3-0233-45DA-811F-4C59483E8452} Library - xUnitTestredminenet45api - xUnitTest-redmine-net45-api + redmine.net.api.Tests + redmine-net-api.Tests v4.5.2 From 4f668212b6503da65241854e5265c11092cb47aa Mon Sep 17 00:00:00 2001 From: Zapadi Date: Thu, 29 Mar 2018 00:13:42 +0300 Subject: [PATCH 027/601] Added TestConsole project. --- src/redmine-net-api.TestConsole/Program.cs | 8 +------- .../redmine-net-api.TestConsole.csproj | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/redmine-net-api.TestConsole/Program.cs b/src/redmine-net-api.TestConsole/Program.cs index 486fa534..16987ff4 100644 --- a/src/redmine-net-api.TestConsole/Program.cs +++ b/src/redmine-net-api.TestConsole/Program.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace redmine_net_api.TestConsole +namespace redmine.net.api.TestConsole { class Program { diff --git a/src/redmine-net-api.TestConsole/redmine-net-api.TestConsole.csproj b/src/redmine-net-api.TestConsole/redmine-net-api.TestConsole.csproj index ebd10940..57ab6acd 100644 --- a/src/redmine-net-api.TestConsole/redmine-net-api.TestConsole.csproj +++ b/src/redmine-net-api.TestConsole/redmine-net-api.TestConsole.csproj @@ -6,7 +6,7 @@ AnyCPU {5A5D51BC-2800-44B4-9E12-05264BDCEBF7} Exe - redmine_net_api.TestConsole + redmine.net.api.TestConsole redmine-net-api.TestConsole v4.6.2 512 From 9a917e4ec0b677763f9ff62f8cf6ae8970eaace9 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Thu, 29 Mar 2018 00:21:23 +0300 Subject: [PATCH 028/601] Fixed #205 --- redmine-net452-api-signed/redmine-net-api.snk | Bin 0 -> 596 bytes .../redmine-net452-api-signed.csproj | 10 +++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 redmine-net452-api-signed/redmine-net-api.snk diff --git a/redmine-net452-api-signed/redmine-net-api.snk b/redmine-net452-api-signed/redmine-net-api.snk new file mode 100644 index 0000000000000000000000000000000000000000..232ce5648120f24d8b71496087763fe5ac612f90 GIT binary patch literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50098i*9JV*{ydH2BtR6AWtvZfy$bvQ zaF;`STQp38W|Mw*xI(29_nz6ewAF+1rvrgI&!(XbRes!v`U81-B|BC0(|`{nrj9CU zfkrN5sA&P>(JgcRtKpkA`om#v_Wueky?&})8q9_$5r4%`?*{+_!T9^18)? zEQmqHrK|as_>I9l%Mf8aNcd&FtItY+wZ(&`hd$Wx+)?AX1V()o$5auptv+11FGeI= zWk3!Dqn=(C&A{=;YU-0m*Rl!^qDFiAYpe}PkJ>9VvC6yW;F@^yk*6c(BQ|eQ zrb>sRKl6ZKhT6WpR=OX|U%v^l{$bI{jrJA|1P8Sdx*-YF?b2kFp`N-ZBRNv;2zwm; zZk%4MW^?b;v)^CVAZfVF%^uwz=&(h~c!_w+(>9M7IF=Xl#!*)u6fsCF-oIR5VPc0r`PQwi+^d9&c_x#cjDli23V*v5cOEhS?@G)tEY^Or> zE0Mx?>uDcmLs>MHrPr(ljAVDV*||p9;f(0=&tY`;C}-prompt 4 + + true + + + redmine-net-api.snk + @@ -438,9 +444,7 @@ - - redmine-net-api.snk - + \ No newline at end of file From 7d426d0476502181080afe62211d28564ea18321 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 29 Jul 2018 21:56:17 +0300 Subject: [PATCH 029/601] Update appveyor.yml --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 07b8ab9e..38dfdc2c 100755 --- a/appveyor.yml +++ b/appveyor.yml @@ -56,6 +56,6 @@ cache: deploy: - provider: NuGet api_key: - secure: PojoRMfsSOFs1hOuvSMRfR4+icliUzEg5hzjFjNUO03akBmKjWf22To/DYxSlzd/ + secure: aOykHyBK5mqqlzZwbLgZnkB9qwmidaTFaLbc2ZKM2sSwBEuMV0VRF5OgKuoRehY0 artifact: /.*\.nupkg/ skip_symbols: true From 3efcc24efe7a476f80cd5644b56c20e6eb3b72bd Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 29 Jul 2018 21:57:41 +0300 Subject: [PATCH 030/601] Update appveyor.yml --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 07b8ab9e..38dfdc2c 100755 --- a/appveyor.yml +++ b/appveyor.yml @@ -56,6 +56,6 @@ cache: deploy: - provider: NuGet api_key: - secure: PojoRMfsSOFs1hOuvSMRfR4+icliUzEg5hzjFjNUO03akBmKjWf22To/DYxSlzd/ + secure: aOykHyBK5mqqlzZwbLgZnkB9qwmidaTFaLbc2ZKM2sSwBEuMV0VRF5OgKuoRehY0 artifact: /.*\.nupkg/ skip_symbols: true From 5b8fb0044b3f9eefcad044b9cfa4c29cf1375bb3 Mon Sep 17 00:00:00 2001 From: k-fujimaru Date: Fri, 21 Sep 2018 09:31:22 +0900 Subject: [PATCH 031/601] Fixed project file path. --- src/redmine-net-api.sln | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/redmine-net-api.sln b/src/redmine-net-api.sln index 02700f64..2124d3f5 100644 --- a/src/redmine-net-api.sln +++ b/src/redmine-net-api.sln @@ -7,25 +7,25 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{0DFF4758-5C1 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{F3F4278D-6271-4F77-BA88-41555D53CBD1}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net20-api", "Y:\Redmine\redmine-net-api\src\redmine-net20-api\redmine-net20-api.csproj", "{0E6B9B72-445D-4E71-8D29-48C4A009AB03}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net20-api", "redmine-net20-api\redmine-net20-api.csproj", "{0E6B9B72-445D-4E71-8D29-48C4A009AB03}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net40-api", "Y:\Redmine\redmine-net-api\src\redmine-net40-api\redmine-net40-api.csproj", "{22492A69-B890-4D5B-A2FC-E2F6C63935B8}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net40-api", "redmine-net40-api\redmine-net40-api.csproj", "{22492A69-B890-4D5B-A2FC-E2F6C63935B8}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net40-api-signed", "Y:\Redmine\redmine-net-api\src\redmine-net40-api-signed\redmine-net40-api-signed.csproj", "{00F410C6-E398-4F58-869B-34CD7275096A}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net40-api-signed", "redmine-net40-api-signed\redmine-net40-api-signed.csproj", "{00F410C6-E398-4F58-869B-34CD7275096A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net450-api", "Y:\Redmine\redmine-net-api\src\redmine-net450-api\redmine-net450-api.csproj", "{AEDFD095-F4B0-4630-B41A-9A22169456E9}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net450-api", "redmine-net450-api\redmine-net450-api.csproj", "{AEDFD095-F4B0-4630-B41A-9A22169456E9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net450-api-signed", "Y:\Redmine\redmine-net-api\src\redmine-net450-api-signed\redmine-net450-api-signed.csproj", "{028B9120-A7FC-4B23-AA9C-F18087058F76}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net450-api-signed", "redmine-net450-api-signed\redmine-net450-api-signed.csproj", "{028B9120-A7FC-4B23-AA9C-F18087058F76}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net451-api", "Y:\Redmine\redmine-net-api\src\redmine-net451-api\redmine-net451-api.csproj", "{B67F0035-336C-4CDA-80A8-DE94EEDF5627}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net451-api", "redmine-net451-api\redmine-net451-api.csproj", "{B67F0035-336C-4CDA-80A8-DE94EEDF5627}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net451-api-signed", "Y:\Redmine\redmine-net-api\src\redmine-net451-api-signed\redmine-net451-api-signed.csproj", "{7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net451-api-signed", "redmine-net451-api-signed\redmine-net451-api-signed.csproj", "{7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net452-api", "Y:\Redmine\redmine-net-api\src\redmine-net452-api\redmine-net452-api.csproj", "{4EE7D8D8-AA65-442B-A928-580B4604B9AF}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net452-api", "redmine-net452-api\redmine-net452-api.csproj", "{4EE7D8D8-AA65-442B-A928-580B4604B9AF}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net452-api-signed", "Y:\Redmine\redmine-net-api\src\redmine-net452-api-signed\redmine-net452-api-signed.csproj", "{6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net452-api-signed", "redmine-net452-api-signed\redmine-net452-api-signed.csproj", "{6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net-api.Tests", "Y:\Redmine\redmine-net-api\src\redmine-net-api.Tests\redmine-net-api.Tests.csproj", "{900EF0B3-0233-45DA-811F-4C59483E8452}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net-api.Tests", "redmine-net-api.Tests\redmine-net-api.Tests.csproj", "{900EF0B3-0233-45DA-811F-4C59483E8452}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net-api.TestConsole", "redmine-net-api.TestConsole\redmine-net-api.TestConsole.csproj", "{5A5D51BC-2800-44B4-9E12-05264BDCEBF7}" EndProject From 163340a4f8825f5bc01a40cf33dc6796e62edc79 Mon Sep 17 00:00:00 2001 From: k-fujimaru Date: Fri, 21 Sep 2018 10:06:01 +0900 Subject: [PATCH 032/601] Added "label" element in CustomFieldPossibleValue --- src/redmine-net20-api/RedmineKeys.cs | 12 ++++++++---- .../Types/CustomFieldPossibleValue.cs | 18 ++++++++++++------ 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/redmine-net20-api/RedmineKeys.cs b/src/redmine-net20-api/RedmineKeys.cs index 82d85b21..f31258c3 100755 --- a/src/redmine-net20-api/RedmineKeys.cs +++ b/src/redmine-net20-api/RedmineKeys.cs @@ -618,10 +618,14 @@ public static class RedmineKeys /// /// public const string VALUE = "value"; - /// - /// - /// - public const string VERSION = "version"; + /// + /// + /// + public const string LABEL = "label"; + /// + /// + /// + public const string VERSION = "version"; /// /// /// diff --git a/src/redmine-net20-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net20-api/Types/CustomFieldPossibleValue.cs index fb7ec761..d8dff90b 100755 --- a/src/redmine-net20-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net20-api/Types/CustomFieldPossibleValue.cs @@ -32,12 +32,18 @@ public class CustomFieldPossibleValue : IEquatable [XmlElement(RedmineKeys.VALUE)] public string Value { get; set; } - /// - /// - /// - /// - /// - public bool Equals(CustomFieldPossibleValue other) + /// + /// + /// + [XmlElement( RedmineKeys.LABEL )] + public string Label { get; set; } + + /// + /// + /// + /// + /// + public bool Equals(CustomFieldPossibleValue other) { if (other == null) return false; return (Value == other.Value); From d9dd542d3ab19a8834234fc8e015ce4572454477 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Mon, 11 Feb 2019 20:25:14 +0200 Subject: [PATCH 033/601] Fixed #219 --- src/redmine-net20-api/Types/User.cs | 3 ++- src/redmine-net40-api/JSonConverters/UserConverter.cs | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) mode change 100755 => 100644 src/redmine-net20-api/Types/User.cs mode change 100755 => 100644 src/redmine-net40-api/JSonConverters/UserConverter.cs diff --git a/src/redmine-net20-api/Types/User.cs b/src/redmine-net20-api/Types/User.cs old mode 100755 new mode 100644 index 83893fd0..a48ed008 --- a/src/redmine-net20-api/Types/User.cs +++ b/src/redmine-net20-api/Types/User.cs @@ -16,6 +16,7 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Globalization; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; @@ -218,7 +219,7 @@ public void WriteXml(XmlWriter writer) writer.WriteElementString(RedmineKeys.PASSWORD, Password); writer.WriteValueOrEmpty(AuthenticationModeId, RedmineKeys.AUTH_SOURCE_ID); writer.WriteElementString(RedmineKeys.MUST_CHANGE_PASSWD, MustChangePassword.ToString().ToLowerInvariant()); - + writer.WriteElementString(RedmineKeys.STATUS, ((int)Status).ToString(CultureInfo.InvariantCulture)); writer.WriteArray(CustomFields, RedmineKeys.CUSTOM_FIELDS); } diff --git a/src/redmine-net40-api/JSonConverters/UserConverter.cs b/src/redmine-net40-api/JSonConverters/UserConverter.cs old mode 100755 new mode 100644 index 73e2d27a..fe14bec6 --- a/src/redmine-net40-api/JSonConverters/UserConverter.cs +++ b/src/redmine-net40-api/JSonConverters/UserConverter.cs @@ -16,6 +16,7 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Globalization; using System.Web.Script.Serialization; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; @@ -88,6 +89,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri result.Add(RedmineKeys.MAIL_NOTIFICATION, entity.MailNotification); result.Add(RedmineKeys.PASSWORD, entity.Password); result.Add(RedmineKeys.MUST_CHANGE_PASSWD, entity.MustChangePassword.ToString().ToLowerInvariant()); + result.Add(RedmineKeys.STATUS, ((int)entity.Status).ToString(CultureInfo.InvariantCulture)); result.WriteValueOrEmpty(entity.AuthenticationModeId, RedmineKeys.AUTH_SOURCE_ID); result.WriteArray(RedmineKeys.CUSTOM_FIELDS, entity.CustomFields, new IssueCustomFieldConverter(), serializer); From b325b71cc2368817ea5e7583db472fd24e8285d3 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Mon, 11 Feb 2019 20:31:49 +0200 Subject: [PATCH 034/601] Updated copyright. --- src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/UserTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs | 2 +- src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs | 2 +- src/redmine-net20-api/Exceptions/ConflictException.cs | 2 +- src/redmine-net20-api/Exceptions/ForbiddenException.cs | 2 +- .../Exceptions/InternalServerErrorException.cs | 2 +- .../Exceptions/NameResolutionFailureException.cs | 2 +- src/redmine-net20-api/Exceptions/NotAcceptableException.cs | 2 +- src/redmine-net20-api/Exceptions/NotFoundException.cs | 2 +- src/redmine-net20-api/Exceptions/RedmineException.cs | 2 +- src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs | 2 +- src/redmine-net20-api/Exceptions/UnauthorizedException.cs | 2 +- src/redmine-net20-api/Extensions/WebExtensions.cs | 2 +- src/redmine-net20-api/Extensions/XmlReaderExtensions.cs | 2 +- src/redmine-net20-api/Extensions/XmlWriterExtensions.cs | 2 +- src/redmine-net20-api/HttpVerbs.cs | 2 +- src/redmine-net20-api/IRedmineManager.cs | 2 +- src/redmine-net20-api/IRedmineWebClient.cs | 2 +- src/redmine-net20-api/Internals/DataHelper.cs | 2 +- src/redmine-net20-api/Internals/Func.cs | 2 +- src/redmine-net20-api/Internals/HashCodeHelper.cs | 2 +- src/redmine-net20-api/Internals/RedmineSerializer.cs | 2 +- src/redmine-net20-api/Internals/UrlHelper.cs | 2 +- src/redmine-net20-api/Internals/WebApiHelper.cs | 2 +- src/redmine-net20-api/Logging/ColorConsoleLogger.cs | 2 +- src/redmine-net20-api/Logging/ConsoleLogger.cs | 2 +- src/redmine-net20-api/Logging/ILogger.cs | 2 +- src/redmine-net20-api/Logging/LogEntry.cs | 2 +- src/redmine-net20-api/Logging/Logger.cs | 2 +- src/redmine-net20-api/Logging/LoggerExtensions.cs | 2 +- src/redmine-net20-api/Logging/LoggingEventType.cs | 2 +- src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs | 2 +- src/redmine-net20-api/Logging/TraceLogger.cs | 2 +- src/redmine-net20-api/MimeFormat.cs | 2 +- src/redmine-net20-api/RedmineManager.cs | 2 +- src/redmine-net20-api/RedmineWebClient.cs | 2 +- src/redmine-net20-api/Types/Attachment.cs | 2 +- src/redmine-net20-api/Types/Attachments.cs | 2 +- src/redmine-net20-api/Types/ChangeSet.cs | 2 +- src/redmine-net20-api/Types/CustomField.cs | 2 +- src/redmine-net20-api/Types/CustomFieldPossibleValue.cs | 2 +- src/redmine-net20-api/Types/CustomFieldRole.cs | 2 +- src/redmine-net20-api/Types/CustomFieldValue.cs | 2 +- src/redmine-net20-api/Types/Detail.cs | 2 +- src/redmine-net20-api/Types/Error.cs | 2 +- src/redmine-net20-api/Types/File.cs | 2 +- src/redmine-net20-api/Types/Group.cs | 2 +- src/redmine-net20-api/Types/GroupUser.cs | 2 +- src/redmine-net20-api/Types/IValue.cs | 2 +- src/redmine-net20-api/Types/Identifiable.cs | 2 +- src/redmine-net20-api/Types/IdentifiableName.cs | 2 +- src/redmine-net20-api/Types/IssueCategory.cs | 2 +- src/redmine-net20-api/Types/IssueChild.cs | 2 +- src/redmine-net20-api/Types/IssueCustomField.cs | 2 +- src/redmine-net20-api/Types/IssuePriority.cs | 2 +- src/redmine-net20-api/Types/IssueRelation.cs | 2 +- src/redmine-net20-api/Types/IssueRelationType.cs | 2 +- src/redmine-net20-api/Types/IssueStatus.cs | 2 +- src/redmine-net20-api/Types/Journal.cs | 2 +- src/redmine-net20-api/Types/Membership.cs | 2 +- src/redmine-net20-api/Types/MembershipRole.cs | 2 +- src/redmine-net20-api/Types/News.cs | 2 +- src/redmine-net20-api/Types/PaginatedObjects.cs | 2 +- src/redmine-net20-api/Types/Permission.cs | 2 +- src/redmine-net20-api/Types/Project.cs | 2 +- src/redmine-net20-api/Types/ProjectEnabledModule.cs | 2 +- src/redmine-net20-api/Types/ProjectIssueCategory.cs | 2 +- src/redmine-net20-api/Types/ProjectMembership.cs | 2 +- src/redmine-net20-api/Types/ProjectStatus.cs | 2 +- src/redmine-net20-api/Types/ProjectTracker.cs | 2 +- src/redmine-net20-api/Types/Query.cs | 2 +- src/redmine-net20-api/Types/Role.cs | 2 +- src/redmine-net20-api/Types/TimeEntry.cs | 2 +- src/redmine-net20-api/Types/TimeEntryActivity.cs | 2 +- src/redmine-net20-api/Types/Tracker.cs | 2 +- src/redmine-net20-api/Types/TrackerCustomField.cs | 2 +- src/redmine-net20-api/Types/Upload.cs | 2 +- src/redmine-net20-api/Types/User.cs | 2 +- src/redmine-net20-api/Types/UserGroup.cs | 2 +- src/redmine-net20-api/Types/UserStatus.cs | 2 +- src/redmine-net20-api/Types/Version.cs | 2 +- src/redmine-net20-api/Types/Watcher.cs | 2 +- src/redmine-net20-api/Types/WikiPage.cs | 2 +- src/redmine-net40-api/Async/RedmineManagerAsync.cs | 2 +- src/redmine-net40-api/Extensions/CollectionExtensions.cs | 2 +- src/redmine-net40-api/Extensions/JsonExtensions.cs | 2 +- src/redmine-net40-api/Extensions/WebExtensions.cs | 2 +- src/redmine-net40-api/Extensions/XmlReaderExtensions.cs | 2 +- src/redmine-net40-api/Internals/RedmineSerializer.cs | 2 +- src/redmine-net40-api/Internals/RedmineSerializerJson.cs | 2 +- src/redmine-net40-api/JSonConverters/AttachmentConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/AttachmentsConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/ChangeSetConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/CustomFieldConverter.cs | 2 +- .../JSonConverters/CustomFieldPossibleValueConverter.cs | 2 +- .../JSonConverters/CustomFieldRoleConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/DetailConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/ErrorConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/FileConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/GroupConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/GroupUserConverter.cs | 2 +- .../JSonConverters/IdentifiableNameConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/IssueChildConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/IssueConverter.cs | 2 +- .../JSonConverters/IssueCustomFieldConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/IssueRelationConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/IssueStatusConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/JournalConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/MembershipConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/NewsConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/PermissionConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/ProjectConverter.cs | 2 +- .../JSonConverters/ProjectEnabledModuleConverter.cs | 2 +- .../JSonConverters/ProjectIssueCategoryConverter.cs | 2 +- .../JSonConverters/ProjectMembershipConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/QueryConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/RoleConverter.cs | 2 +- .../JSonConverters/TimeEntryActivityConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/TimeEntryConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/TrackerConverter.cs | 2 +- .../JSonConverters/TrackerCustomFieldConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/UploadConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/UserConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/UserGroupConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/VersionConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/WatcherConverter.cs | 2 +- src/redmine-net40-api/JSonConverters/WikiPageConverter.cs | 2 +- src/redmine-net40-api/MimeFormat.cs | 2 +- src/redmine-net450-api/Async/RedmineManagerAsync.cs | 2 +- src/redmine-net450-api/Extensions/DisposableExtension.cs | 2 +- src/redmine-net450-api/Extensions/FunctionalExtensions.cs | 2 +- src/redmine-net450-api/Extensions/TaskExtensions.cs | 2 +- src/redmine-net450-api/Internals/WebApiAsyncHelper.cs | 2 +- 150 files changed, 150 insertions(+), 150 deletions(-) diff --git a/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs b/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs index f35adf20..4e1e3f3e 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs b/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs index c46370dd..e85646a6 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs index 539c63aa..f21c60d6 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs index 93f72c99..4d555169 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs index 95d80ea0..84088270 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs b/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs index fd981f71..b608e02f 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs b/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs index b8a8361b..f8986a89 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs b/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs index 5fad4045..ff9f64a0 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs b/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs index 815014cb..a09d8dc2 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs b/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs index e16688ec..a7b93801 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs index ef67fd56..e859a68f 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs index 8e631181..dc195bea 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs index fce1f98d..750370a3 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs b/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs index 05e6dd0c..6a431ba6 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs b/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs index 7c52340d..4ed61cee 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs b/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs index 146ac0f4..ad598d15 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/ConflictException.cs b/src/redmine-net20-api/Exceptions/ConflictException.cs index c392ddf1..b70ddf5b 100644 --- a/src/redmine-net20-api/Exceptions/ConflictException.cs +++ b/src/redmine-net20-api/Exceptions/ConflictException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/ForbiddenException.cs b/src/redmine-net20-api/Exceptions/ForbiddenException.cs index 362413fc..6d396815 100644 --- a/src/redmine-net20-api/Exceptions/ForbiddenException.cs +++ b/src/redmine-net20-api/Exceptions/ForbiddenException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs b/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs index 39432357..74076acc 100644 --- a/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs +++ b/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs b/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs index 380d8c98..220b9392 100644 --- a/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs +++ b/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/NotAcceptableException.cs b/src/redmine-net20-api/Exceptions/NotAcceptableException.cs index 6f8a2de5..c1ae2541 100644 --- a/src/redmine-net20-api/Exceptions/NotAcceptableException.cs +++ b/src/redmine-net20-api/Exceptions/NotAcceptableException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/NotFoundException.cs b/src/redmine-net20-api/Exceptions/NotFoundException.cs index 476647c7..e50970fd 100644 --- a/src/redmine-net20-api/Exceptions/NotFoundException.cs +++ b/src/redmine-net20-api/Exceptions/NotFoundException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/RedmineException.cs b/src/redmine-net20-api/Exceptions/RedmineException.cs index a97f121f..b28a41ae 100644 --- a/src/redmine-net20-api/Exceptions/RedmineException.cs +++ b/src/redmine-net20-api/Exceptions/RedmineException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs b/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs index 5034b8d3..b55503bb 100644 --- a/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs +++ b/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Exceptions/UnauthorizedException.cs b/src/redmine-net20-api/Exceptions/UnauthorizedException.cs index 423ea14d..d4a18179 100644 --- a/src/redmine-net20-api/Exceptions/UnauthorizedException.cs +++ b/src/redmine-net20-api/Exceptions/UnauthorizedException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Extensions/WebExtensions.cs b/src/redmine-net20-api/Extensions/WebExtensions.cs index 4f1a041c..be8df291 100755 --- a/src/redmine-net20-api/Extensions/WebExtensions.cs +++ b/src/redmine-net20-api/Extensions/WebExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net20-api/Extensions/XmlReaderExtensions.cs index ec97e67e..f4db31a9 100755 --- a/src/redmine-net20-api/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net20-api/Extensions/XmlReaderExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net20-api/Extensions/XmlWriterExtensions.cs index 2b593527..d521101e 100755 --- a/src/redmine-net20-api/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net20-api/Extensions/XmlWriterExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/HttpVerbs.cs b/src/redmine-net20-api/HttpVerbs.cs index 71ce6a0a..30a95d28 100755 --- a/src/redmine-net20-api/HttpVerbs.cs +++ b/src/redmine-net20-api/HttpVerbs.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2018 Adrian Popescu. +Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/IRedmineManager.cs b/src/redmine-net20-api/IRedmineManager.cs index 02b690be..8db25480 100644 --- a/src/redmine-net20-api/IRedmineManager.cs +++ b/src/redmine-net20-api/IRedmineManager.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/IRedmineWebClient.cs b/src/redmine-net20-api/IRedmineWebClient.cs index f8ac53c9..8e3bcfd2 100644 --- a/src/redmine-net20-api/IRedmineWebClient.cs +++ b/src/redmine-net20-api/IRedmineWebClient.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Internals/DataHelper.cs b/src/redmine-net20-api/Internals/DataHelper.cs index 9afa5147..d6f108ab 100755 --- a/src/redmine-net20-api/Internals/DataHelper.cs +++ b/src/redmine-net20-api/Internals/DataHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Internals/Func.cs b/src/redmine-net20-api/Internals/Func.cs index 26e4e615..380ff125 100755 --- a/src/redmine-net20-api/Internals/Func.cs +++ b/src/redmine-net20-api/Internals/Func.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Internals/HashCodeHelper.cs b/src/redmine-net20-api/Internals/HashCodeHelper.cs index 5af3ec1a..59c80263 100755 --- a/src/redmine-net20-api/Internals/HashCodeHelper.cs +++ b/src/redmine-net20-api/Internals/HashCodeHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Internals/RedmineSerializer.cs b/src/redmine-net20-api/Internals/RedmineSerializer.cs index 78700cf4..4a1cbdb4 100755 --- a/src/redmine-net20-api/Internals/RedmineSerializer.cs +++ b/src/redmine-net20-api/Internals/RedmineSerializer.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Internals/UrlHelper.cs b/src/redmine-net20-api/Internals/UrlHelper.cs index 7ebbffae..5efb6f25 100644 --- a/src/redmine-net20-api/Internals/UrlHelper.cs +++ b/src/redmine-net20-api/Internals/UrlHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Internals/WebApiHelper.cs b/src/redmine-net20-api/Internals/WebApiHelper.cs index 81bef83b..e5f22110 100755 --- a/src/redmine-net20-api/Internals/WebApiHelper.cs +++ b/src/redmine-net20-api/Internals/WebApiHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/ColorConsoleLogger.cs b/src/redmine-net20-api/Logging/ColorConsoleLogger.cs index be9a29f1..e7959dc9 100644 --- a/src/redmine-net20-api/Logging/ColorConsoleLogger.cs +++ b/src/redmine-net20-api/Logging/ColorConsoleLogger.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/ConsoleLogger.cs b/src/redmine-net20-api/Logging/ConsoleLogger.cs index c537516c..015b465a 100644 --- a/src/redmine-net20-api/Logging/ConsoleLogger.cs +++ b/src/redmine-net20-api/Logging/ConsoleLogger.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/ILogger.cs b/src/redmine-net20-api/Logging/ILogger.cs index 94b83c75..5d483046 100755 --- a/src/redmine-net20-api/Logging/ILogger.cs +++ b/src/redmine-net20-api/Logging/ILogger.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/LogEntry.cs b/src/redmine-net20-api/Logging/LogEntry.cs index 9df0e825..c91218cc 100644 --- a/src/redmine-net20-api/Logging/LogEntry.cs +++ b/src/redmine-net20-api/Logging/LogEntry.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/Logger.cs b/src/redmine-net20-api/Logging/Logger.cs index eee4d8bf..895f3a8e 100755 --- a/src/redmine-net20-api/Logging/Logger.cs +++ b/src/redmine-net20-api/Logging/Logger.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/LoggerExtensions.cs b/src/redmine-net20-api/Logging/LoggerExtensions.cs index 43467d15..5a55d1e8 100755 --- a/src/redmine-net20-api/Logging/LoggerExtensions.cs +++ b/src/redmine-net20-api/Logging/LoggerExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/LoggingEventType.cs b/src/redmine-net20-api/Logging/LoggingEventType.cs index 44169d3f..e539f868 100755 --- a/src/redmine-net20-api/Logging/LoggingEventType.cs +++ b/src/redmine-net20-api/Logging/LoggingEventType.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs b/src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs index 6808ff5c..531f4371 100644 --- a/src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs +++ b/src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Logging/TraceLogger.cs b/src/redmine-net20-api/Logging/TraceLogger.cs index 47e68fc3..324252dc 100644 --- a/src/redmine-net20-api/Logging/TraceLogger.cs +++ b/src/redmine-net20-api/Logging/TraceLogger.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/MimeFormat.cs b/src/redmine-net20-api/MimeFormat.cs index ccb416de..6959b8a3 100755 --- a/src/redmine-net20-api/MimeFormat.cs +++ b/src/redmine-net20-api/MimeFormat.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2018 Adrian Popescu. +Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/RedmineManager.cs b/src/redmine-net20-api/RedmineManager.cs index 8af6d5aa..a7b85be8 100644 --- a/src/redmine-net20-api/RedmineManager.cs +++ b/src/redmine-net20-api/RedmineManager.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/RedmineWebClient.cs b/src/redmine-net20-api/RedmineWebClient.cs index 4befda3c..6150486b 100644 --- a/src/redmine-net20-api/RedmineWebClient.cs +++ b/src/redmine-net20-api/RedmineWebClient.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Attachment.cs b/src/redmine-net20-api/Types/Attachment.cs index 0f86fd71..ebdf64d9 100755 --- a/src/redmine-net20-api/Types/Attachment.cs +++ b/src/redmine-net20-api/Types/Attachment.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Attachments.cs b/src/redmine-net20-api/Types/Attachments.cs index 212b9e5e..e2594976 100755 --- a/src/redmine-net20-api/Types/Attachments.cs +++ b/src/redmine-net20-api/Types/Attachments.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/ChangeSet.cs b/src/redmine-net20-api/Types/ChangeSet.cs index a1961e33..10b26548 100755 --- a/src/redmine-net20-api/Types/ChangeSet.cs +++ b/src/redmine-net20-api/Types/ChangeSet.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/CustomField.cs b/src/redmine-net20-api/Types/CustomField.cs index 450d3648..192f582d 100755 --- a/src/redmine-net20-api/Types/CustomField.cs +++ b/src/redmine-net20-api/Types/CustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net20-api/Types/CustomFieldPossibleValue.cs index d8dff90b..61ab24fa 100755 --- a/src/redmine-net20-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net20-api/Types/CustomFieldPossibleValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/CustomFieldRole.cs b/src/redmine-net20-api/Types/CustomFieldRole.cs index ead8d199..2c67f343 100755 --- a/src/redmine-net20-api/Types/CustomFieldRole.cs +++ b/src/redmine-net20-api/Types/CustomFieldRole.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/CustomFieldValue.cs b/src/redmine-net20-api/Types/CustomFieldValue.cs index 405ffa20..56ea6263 100755 --- a/src/redmine-net20-api/Types/CustomFieldValue.cs +++ b/src/redmine-net20-api/Types/CustomFieldValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Detail.cs b/src/redmine-net20-api/Types/Detail.cs index 6891bc09..fc946d62 100755 --- a/src/redmine-net20-api/Types/Detail.cs +++ b/src/redmine-net20-api/Types/Detail.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Error.cs b/src/redmine-net20-api/Types/Error.cs index 7deeea22..4898ec42 100755 --- a/src/redmine-net20-api/Types/Error.cs +++ b/src/redmine-net20-api/Types/Error.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/File.cs b/src/redmine-net20-api/Types/File.cs index 24f35d8c..86142eb5 100644 --- a/src/redmine-net20-api/Types/File.cs +++ b/src/redmine-net20-api/Types/File.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Group.cs b/src/redmine-net20-api/Types/Group.cs index c34f3401..9b53f74f 100755 --- a/src/redmine-net20-api/Types/Group.cs +++ b/src/redmine-net20-api/Types/Group.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/GroupUser.cs b/src/redmine-net20-api/Types/GroupUser.cs index 4240883a..415222bc 100755 --- a/src/redmine-net20-api/Types/GroupUser.cs +++ b/src/redmine-net20-api/Types/GroupUser.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IValue.cs b/src/redmine-net20-api/Types/IValue.cs index 483bc6cb..27777057 100755 --- a/src/redmine-net20-api/Types/IValue.cs +++ b/src/redmine-net20-api/Types/IValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Identifiable.cs b/src/redmine-net20-api/Types/Identifiable.cs index 95ee2564..e654dc09 100755 --- a/src/redmine-net20-api/Types/Identifiable.cs +++ b/src/redmine-net20-api/Types/Identifiable.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IdentifiableName.cs b/src/redmine-net20-api/Types/IdentifiableName.cs index 95a02fce..35808375 100755 --- a/src/redmine-net20-api/Types/IdentifiableName.cs +++ b/src/redmine-net20-api/Types/IdentifiableName.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IssueCategory.cs b/src/redmine-net20-api/Types/IssueCategory.cs index 339c93de..fbca4eb3 100755 --- a/src/redmine-net20-api/Types/IssueCategory.cs +++ b/src/redmine-net20-api/Types/IssueCategory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IssueChild.cs b/src/redmine-net20-api/Types/IssueChild.cs index 957f038f..e85bc39b 100755 --- a/src/redmine-net20-api/Types/IssueChild.cs +++ b/src/redmine-net20-api/Types/IssueChild.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IssueCustomField.cs b/src/redmine-net20-api/Types/IssueCustomField.cs index e5e96c97..994cf6b6 100755 --- a/src/redmine-net20-api/Types/IssueCustomField.cs +++ b/src/redmine-net20-api/Types/IssueCustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IssuePriority.cs b/src/redmine-net20-api/Types/IssuePriority.cs index a97b06f1..f6fc1227 100755 --- a/src/redmine-net20-api/Types/IssuePriority.cs +++ b/src/redmine-net20-api/Types/IssuePriority.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IssueRelation.cs b/src/redmine-net20-api/Types/IssueRelation.cs index 4c6221c2..fd2f59dc 100755 --- a/src/redmine-net20-api/Types/IssueRelation.cs +++ b/src/redmine-net20-api/Types/IssueRelation.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IssueRelationType.cs b/src/redmine-net20-api/Types/IssueRelationType.cs index c4405636..ebdf1c7c 100755 --- a/src/redmine-net20-api/Types/IssueRelationType.cs +++ b/src/redmine-net20-api/Types/IssueRelationType.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/IssueStatus.cs b/src/redmine-net20-api/Types/IssueStatus.cs index 788615bc..2c1bf821 100755 --- a/src/redmine-net20-api/Types/IssueStatus.cs +++ b/src/redmine-net20-api/Types/IssueStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Journal.cs b/src/redmine-net20-api/Types/Journal.cs index 2fbdaa6d..77ffa439 100644 --- a/src/redmine-net20-api/Types/Journal.cs +++ b/src/redmine-net20-api/Types/Journal.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Membership.cs b/src/redmine-net20-api/Types/Membership.cs index b5f35370..e4b7f846 100755 --- a/src/redmine-net20-api/Types/Membership.cs +++ b/src/redmine-net20-api/Types/Membership.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/MembershipRole.cs b/src/redmine-net20-api/Types/MembershipRole.cs index ac24c2c1..8978c685 100755 --- a/src/redmine-net20-api/Types/MembershipRole.cs +++ b/src/redmine-net20-api/Types/MembershipRole.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/News.cs b/src/redmine-net20-api/Types/News.cs index 063d2c80..ccf885ab 100755 --- a/src/redmine-net20-api/Types/News.cs +++ b/src/redmine-net20-api/Types/News.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/PaginatedObjects.cs b/src/redmine-net20-api/Types/PaginatedObjects.cs index 18c0b172..13250355 100755 --- a/src/redmine-net20-api/Types/PaginatedObjects.cs +++ b/src/redmine-net20-api/Types/PaginatedObjects.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Permission.cs b/src/redmine-net20-api/Types/Permission.cs index 28277dd6..01148283 100755 --- a/src/redmine-net20-api/Types/Permission.cs +++ b/src/redmine-net20-api/Types/Permission.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Project.cs b/src/redmine-net20-api/Types/Project.cs index 0ff0da01..2f0e57ba 100644 --- a/src/redmine-net20-api/Types/Project.cs +++ b/src/redmine-net20-api/Types/Project.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/ProjectEnabledModule.cs b/src/redmine-net20-api/Types/ProjectEnabledModule.cs index bcd12bdc..7723082e 100755 --- a/src/redmine-net20-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net20-api/Types/ProjectEnabledModule.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2018 Adrian Popescu. +Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/ProjectIssueCategory.cs b/src/redmine-net20-api/Types/ProjectIssueCategory.cs index a3ebd086..ec2d4f51 100755 --- a/src/redmine-net20-api/Types/ProjectIssueCategory.cs +++ b/src/redmine-net20-api/Types/ProjectIssueCategory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/ProjectMembership.cs b/src/redmine-net20-api/Types/ProjectMembership.cs index 9dd18652..962d4d77 100755 --- a/src/redmine-net20-api/Types/ProjectMembership.cs +++ b/src/redmine-net20-api/Types/ProjectMembership.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/ProjectStatus.cs b/src/redmine-net20-api/Types/ProjectStatus.cs index cab9e6fb..5c9dbd20 100755 --- a/src/redmine-net20-api/Types/ProjectStatus.cs +++ b/src/redmine-net20-api/Types/ProjectStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/ProjectTracker.cs b/src/redmine-net20-api/Types/ProjectTracker.cs index 97ce1f65..5aa09b55 100755 --- a/src/redmine-net20-api/Types/ProjectTracker.cs +++ b/src/redmine-net20-api/Types/ProjectTracker.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Query.cs b/src/redmine-net20-api/Types/Query.cs index d9b72927..4239ba75 100755 --- a/src/redmine-net20-api/Types/Query.cs +++ b/src/redmine-net20-api/Types/Query.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Role.cs b/src/redmine-net20-api/Types/Role.cs index d1df1c5d..a2cdaaac 100755 --- a/src/redmine-net20-api/Types/Role.cs +++ b/src/redmine-net20-api/Types/Role.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/TimeEntry.cs b/src/redmine-net20-api/Types/TimeEntry.cs index 0a1bb48c..4caa32f9 100644 --- a/src/redmine-net20-api/Types/TimeEntry.cs +++ b/src/redmine-net20-api/Types/TimeEntry.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/TimeEntryActivity.cs b/src/redmine-net20-api/Types/TimeEntryActivity.cs index f319c721..a7a01886 100755 --- a/src/redmine-net20-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net20-api/Types/TimeEntryActivity.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Tracker.cs b/src/redmine-net20-api/Types/Tracker.cs index da036a25..fa9c579c 100755 --- a/src/redmine-net20-api/Types/Tracker.cs +++ b/src/redmine-net20-api/Types/Tracker.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/TrackerCustomField.cs b/src/redmine-net20-api/Types/TrackerCustomField.cs index b8c0eb42..a5b0fe6e 100755 --- a/src/redmine-net20-api/Types/TrackerCustomField.cs +++ b/src/redmine-net20-api/Types/TrackerCustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Upload.cs b/src/redmine-net20-api/Types/Upload.cs index 598801fa..e8fc55ae 100755 --- a/src/redmine-net20-api/Types/Upload.cs +++ b/src/redmine-net20-api/Types/Upload.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/User.cs b/src/redmine-net20-api/Types/User.cs index a48ed008..92dacd7c 100644 --- a/src/redmine-net20-api/Types/User.cs +++ b/src/redmine-net20-api/Types/User.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/UserGroup.cs b/src/redmine-net20-api/Types/UserGroup.cs index d8098cc7..c4726b26 100755 --- a/src/redmine-net20-api/Types/UserGroup.cs +++ b/src/redmine-net20-api/Types/UserGroup.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/UserStatus.cs b/src/redmine-net20-api/Types/UserStatus.cs index 233edbe4..0581e354 100755 --- a/src/redmine-net20-api/Types/UserStatus.cs +++ b/src/redmine-net20-api/Types/UserStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Version.cs b/src/redmine-net20-api/Types/Version.cs index 7db5880f..287823d2 100755 --- a/src/redmine-net20-api/Types/Version.cs +++ b/src/redmine-net20-api/Types/Version.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/Watcher.cs b/src/redmine-net20-api/Types/Watcher.cs index b7b15c13..3afdacd5 100755 --- a/src/redmine-net20-api/Types/Watcher.cs +++ b/src/redmine-net20-api/Types/Watcher.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net20-api/Types/WikiPage.cs b/src/redmine-net20-api/Types/WikiPage.cs index 56f8cc2e..3ca2a6da 100755 --- a/src/redmine-net20-api/Types/WikiPage.cs +++ b/src/redmine-net20-api/Types/WikiPage.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/Async/RedmineManagerAsync.cs b/src/redmine-net40-api/Async/RedmineManagerAsync.cs index 5de6d63f..ca5cb1e9 100644 --- a/src/redmine-net40-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net40-api/Async/RedmineManagerAsync.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/Extensions/CollectionExtensions.cs b/src/redmine-net40-api/Extensions/CollectionExtensions.cs index dbc2beb0..78ff07ff 100755 --- a/src/redmine-net40-api/Extensions/CollectionExtensions.cs +++ b/src/redmine-net40-api/Extensions/CollectionExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/Extensions/JsonExtensions.cs b/src/redmine-net40-api/Extensions/JsonExtensions.cs index b4f75745..c8efb6c8 100755 --- a/src/redmine-net40-api/Extensions/JsonExtensions.cs +++ b/src/redmine-net40-api/Extensions/JsonExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/Extensions/WebExtensions.cs b/src/redmine-net40-api/Extensions/WebExtensions.cs index 948c5c24..10f38336 100755 --- a/src/redmine-net40-api/Extensions/WebExtensions.cs +++ b/src/redmine-net40-api/Extensions/WebExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net40-api/Extensions/XmlReaderExtensions.cs index 6afc1687..2a572410 100755 --- a/src/redmine-net40-api/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net40-api/Extensions/XmlReaderExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/Internals/RedmineSerializer.cs b/src/redmine-net40-api/Internals/RedmineSerializer.cs index e4ea8c46..d420391c 100755 --- a/src/redmine-net40-api/Internals/RedmineSerializer.cs +++ b/src/redmine-net40-api/Internals/RedmineSerializer.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/Internals/RedmineSerializerJson.cs b/src/redmine-net40-api/Internals/RedmineSerializerJson.cs index f47a5136..024d91fb 100755 --- a/src/redmine-net40-api/Internals/RedmineSerializerJson.cs +++ b/src/redmine-net40-api/Internals/RedmineSerializerJson.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/AttachmentConverter.cs b/src/redmine-net40-api/JSonConverters/AttachmentConverter.cs index 4d1b82c3..ac8fc98c 100755 --- a/src/redmine-net40-api/JSonConverters/AttachmentConverter.cs +++ b/src/redmine-net40-api/JSonConverters/AttachmentConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/AttachmentsConverter.cs b/src/redmine-net40-api/JSonConverters/AttachmentsConverter.cs index c4c39370..4a4fe365 100755 --- a/src/redmine-net40-api/JSonConverters/AttachmentsConverter.cs +++ b/src/redmine-net40-api/JSonConverters/AttachmentsConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/ChangeSetConverter.cs b/src/redmine-net40-api/JSonConverters/ChangeSetConverter.cs index 61a9520c..27db1d23 100755 --- a/src/redmine-net40-api/JSonConverters/ChangeSetConverter.cs +++ b/src/redmine-net40-api/JSonConverters/ChangeSetConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/CustomFieldConverter.cs b/src/redmine-net40-api/JSonConverters/CustomFieldConverter.cs index 8cfb27c7..489c647d 100755 --- a/src/redmine-net40-api/JSonConverters/CustomFieldConverter.cs +++ b/src/redmine-net40-api/JSonConverters/CustomFieldConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs b/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs index 14bbe846..c7185c4c 100755 --- a/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs +++ b/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs b/src/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs index 60838586..34f47b05 100755 --- a/src/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs +++ b/src/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/DetailConverter.cs b/src/redmine-net40-api/JSonConverters/DetailConverter.cs index 65939228..8399bfea 100755 --- a/src/redmine-net40-api/JSonConverters/DetailConverter.cs +++ b/src/redmine-net40-api/JSonConverters/DetailConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/ErrorConverter.cs b/src/redmine-net40-api/JSonConverters/ErrorConverter.cs index cf687cbc..d9bf391b 100755 --- a/src/redmine-net40-api/JSonConverters/ErrorConverter.cs +++ b/src/redmine-net40-api/JSonConverters/ErrorConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/FileConverter.cs b/src/redmine-net40-api/JSonConverters/FileConverter.cs index 79dcd2fb..4d849445 100755 --- a/src/redmine-net40-api/JSonConverters/FileConverter.cs +++ b/src/redmine-net40-api/JSonConverters/FileConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/GroupConverter.cs b/src/redmine-net40-api/JSonConverters/GroupConverter.cs index 1b231eec..f0930865 100755 --- a/src/redmine-net40-api/JSonConverters/GroupConverter.cs +++ b/src/redmine-net40-api/JSonConverters/GroupConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/GroupUserConverter.cs b/src/redmine-net40-api/JSonConverters/GroupUserConverter.cs index 942cded1..8fccb468 100755 --- a/src/redmine-net40-api/JSonConverters/GroupUserConverter.cs +++ b/src/redmine-net40-api/JSonConverters/GroupUserConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IdentifiableNameConverter.cs b/src/redmine-net40-api/JSonConverters/IdentifiableNameConverter.cs index f6637622..5c770a6f 100755 --- a/src/redmine-net40-api/JSonConverters/IdentifiableNameConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IdentifiableNameConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs b/src/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs index 3fe269ed..112c1468 100755 --- a/src/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IssueChildConverter.cs b/src/redmine-net40-api/JSonConverters/IssueChildConverter.cs index 58dfe680..a16b4993 100755 --- a/src/redmine-net40-api/JSonConverters/IssueChildConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssueChildConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IssueConverter.cs b/src/redmine-net40-api/JSonConverters/IssueConverter.cs index 2c324a71..973daa11 100755 --- a/src/redmine-net40-api/JSonConverters/IssueConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssueConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IssueCustomFieldConverter.cs b/src/redmine-net40-api/JSonConverters/IssueCustomFieldConverter.cs index 142f4713..3f34926b 100755 --- a/src/redmine-net40-api/JSonConverters/IssueCustomFieldConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssueCustomFieldConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs b/src/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs index 673fa61d..f3176403 100755 --- a/src/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IssueRelationConverter.cs b/src/redmine-net40-api/JSonConverters/IssueRelationConverter.cs index 33769028..c0529205 100755 --- a/src/redmine-net40-api/JSonConverters/IssueRelationConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssueRelationConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/IssueStatusConverter.cs b/src/redmine-net40-api/JSonConverters/IssueStatusConverter.cs index 96170f7c..d42e1b98 100755 --- a/src/redmine-net40-api/JSonConverters/IssueStatusConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssueStatusConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/JournalConverter.cs b/src/redmine-net40-api/JSonConverters/JournalConverter.cs index a69b7356..b9e83051 100644 --- a/src/redmine-net40-api/JSonConverters/JournalConverter.cs +++ b/src/redmine-net40-api/JSonConverters/JournalConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/MembershipConverter.cs b/src/redmine-net40-api/JSonConverters/MembershipConverter.cs index f562467a..9bafc7d7 100755 --- a/src/redmine-net40-api/JSonConverters/MembershipConverter.cs +++ b/src/redmine-net40-api/JSonConverters/MembershipConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs b/src/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs index 88929032..0992a1d4 100755 --- a/src/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs +++ b/src/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/NewsConverter.cs b/src/redmine-net40-api/JSonConverters/NewsConverter.cs index 5fc9c9dc..75df6ef1 100755 --- a/src/redmine-net40-api/JSonConverters/NewsConverter.cs +++ b/src/redmine-net40-api/JSonConverters/NewsConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/PermissionConverter.cs b/src/redmine-net40-api/JSonConverters/PermissionConverter.cs index ab3ae24b..4e8a1d22 100755 --- a/src/redmine-net40-api/JSonConverters/PermissionConverter.cs +++ b/src/redmine-net40-api/JSonConverters/PermissionConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/ProjectConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectConverter.cs index 493e7984..1a06ecff 100755 --- a/src/redmine-net40-api/JSonConverters/ProjectConverter.cs +++ b/src/redmine-net40-api/JSonConverters/ProjectConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/ProjectEnabledModuleConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectEnabledModuleConverter.cs index 88ea625b..6a2e093b 100755 --- a/src/redmine-net40-api/JSonConverters/ProjectEnabledModuleConverter.cs +++ b/src/redmine-net40-api/JSonConverters/ProjectEnabledModuleConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/ProjectIssueCategoryConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectIssueCategoryConverter.cs index 72c22288..4c33e2f2 100755 --- a/src/redmine-net40-api/JSonConverters/ProjectIssueCategoryConverter.cs +++ b/src/redmine-net40-api/JSonConverters/ProjectIssueCategoryConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/ProjectMembershipConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectMembershipConverter.cs index e7cbbcb5..fa782dc9 100755 --- a/src/redmine-net40-api/JSonConverters/ProjectMembershipConverter.cs +++ b/src/redmine-net40-api/JSonConverters/ProjectMembershipConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs index 79f33c0e..e1183213 100755 --- a/src/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs +++ b/src/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/QueryConverter.cs b/src/redmine-net40-api/JSonConverters/QueryConverter.cs index b63054e9..f92ff804 100755 --- a/src/redmine-net40-api/JSonConverters/QueryConverter.cs +++ b/src/redmine-net40-api/JSonConverters/QueryConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/RoleConverter.cs b/src/redmine-net40-api/JSonConverters/RoleConverter.cs index bb849da2..af14d6f1 100755 --- a/src/redmine-net40-api/JSonConverters/RoleConverter.cs +++ b/src/redmine-net40-api/JSonConverters/RoleConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/TimeEntryActivityConverter.cs b/src/redmine-net40-api/JSonConverters/TimeEntryActivityConverter.cs index 7daba93e..22e88762 100755 --- a/src/redmine-net40-api/JSonConverters/TimeEntryActivityConverter.cs +++ b/src/redmine-net40-api/JSonConverters/TimeEntryActivityConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/TimeEntryConverter.cs b/src/redmine-net40-api/JSonConverters/TimeEntryConverter.cs index 0268dee6..227ec6e8 100755 --- a/src/redmine-net40-api/JSonConverters/TimeEntryConverter.cs +++ b/src/redmine-net40-api/JSonConverters/TimeEntryConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/TrackerConverter.cs b/src/redmine-net40-api/JSonConverters/TrackerConverter.cs index a5ff2647..4fd15eab 100755 --- a/src/redmine-net40-api/JSonConverters/TrackerConverter.cs +++ b/src/redmine-net40-api/JSonConverters/TrackerConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs b/src/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs index 84244aaa..79ae155b 100755 --- a/src/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs +++ b/src/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/UploadConverter.cs b/src/redmine-net40-api/JSonConverters/UploadConverter.cs index 23a7a4f9..42e0e689 100755 --- a/src/redmine-net40-api/JSonConverters/UploadConverter.cs +++ b/src/redmine-net40-api/JSonConverters/UploadConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/UserConverter.cs b/src/redmine-net40-api/JSonConverters/UserConverter.cs index fe14bec6..a08baf4e 100644 --- a/src/redmine-net40-api/JSonConverters/UserConverter.cs +++ b/src/redmine-net40-api/JSonConverters/UserConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/UserGroupConverter.cs b/src/redmine-net40-api/JSonConverters/UserGroupConverter.cs index 4c42b123..c406e66b 100755 --- a/src/redmine-net40-api/JSonConverters/UserGroupConverter.cs +++ b/src/redmine-net40-api/JSonConverters/UserGroupConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/VersionConverter.cs b/src/redmine-net40-api/JSonConverters/VersionConverter.cs index 4dbd5d21..6e57cc47 100755 --- a/src/redmine-net40-api/JSonConverters/VersionConverter.cs +++ b/src/redmine-net40-api/JSonConverters/VersionConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/WatcherConverter.cs b/src/redmine-net40-api/JSonConverters/WatcherConverter.cs index 340872a9..d41a3062 100755 --- a/src/redmine-net40-api/JSonConverters/WatcherConverter.cs +++ b/src/redmine-net40-api/JSonConverters/WatcherConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/JSonConverters/WikiPageConverter.cs b/src/redmine-net40-api/JSonConverters/WikiPageConverter.cs index da33049a..d907ba94 100755 --- a/src/redmine-net40-api/JSonConverters/WikiPageConverter.cs +++ b/src/redmine-net40-api/JSonConverters/WikiPageConverter.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net40-api/MimeFormat.cs b/src/redmine-net40-api/MimeFormat.cs index 323abd37..b99bf3c6 100755 --- a/src/redmine-net40-api/MimeFormat.cs +++ b/src/redmine-net40-api/MimeFormat.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2018 Adrian Popescu. +Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net450-api/Async/RedmineManagerAsync.cs b/src/redmine-net450-api/Async/RedmineManagerAsync.cs index ab9fab62..629ea0ab 100644 --- a/src/redmine-net450-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net450-api/Async/RedmineManagerAsync.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2018 Adrian Popescu. +Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net450-api/Extensions/DisposableExtension.cs b/src/redmine-net450-api/Extensions/DisposableExtension.cs index c36b12c5..95f6e26a 100755 --- a/src/redmine-net450-api/Extensions/DisposableExtension.cs +++ b/src/redmine-net450-api/Extensions/DisposableExtension.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net450-api/Extensions/FunctionalExtensions.cs b/src/redmine-net450-api/Extensions/FunctionalExtensions.cs index c48fc3f8..b0a94161 100755 --- a/src/redmine-net450-api/Extensions/FunctionalExtensions.cs +++ b/src/redmine-net450-api/Extensions/FunctionalExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net450-api/Extensions/TaskExtensions.cs b/src/redmine-net450-api/Extensions/TaskExtensions.cs index 6884a9b9..b379e6fa 100755 --- a/src/redmine-net450-api/Extensions/TaskExtensions.cs +++ b/src/redmine-net450-api/Extensions/TaskExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net450-api/Internals/WebApiAsyncHelper.cs b/src/redmine-net450-api/Internals/WebApiAsyncHelper.cs index 8dcdda48..69b89410 100644 --- a/src/redmine-net450-api/Internals/WebApiAsyncHelper.cs +++ b/src/redmine-net450-api/Internals/WebApiAsyncHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2018 Adrian Popescu. + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. From 85989e4b050232577226f941685b7eacc3beedec Mon Sep 17 00:00:00 2001 From: Zapadi Date: Mon, 11 Feb 2019 21:08:58 +0200 Subject: [PATCH 035/601] Added Count & CountAsync #206 --- src/redmine-net20-api/IRedmineManager.cs | 16 +++++ src/redmine-net20-api/RedmineManager.cs | 60 +++++++++++++++---- .../Async/RedmineManagerAsync.cs | 11 ++++ .../Async/RedmineManagerAsync.cs | 42 +++++++++++++ 4 files changed, 119 insertions(+), 10 deletions(-) diff --git a/src/redmine-net20-api/IRedmineManager.cs b/src/redmine-net20-api/IRedmineManager.cs index 8db25480..743327d6 100644 --- a/src/redmine-net20-api/IRedmineManager.cs +++ b/src/redmine-net20-api/IRedmineManager.cs @@ -146,6 +146,22 @@ public interface IRedmineManager /// PaginatedObjects GetPaginatedObjects(NameValueCollection parameters) where T : class, new(); + /// + /// + /// + /// + /// + /// + int Count(params string[] include) where T : class, new(); + + /// + /// + /// + /// + /// + /// + int Count(NameValueCollection parameters) where T : class, new(); + /// /// /// diff --git a/src/redmine-net20-api/RedmineManager.cs b/src/redmine-net20-api/RedmineManager.cs index a7b85be8..3e00388d 100644 --- a/src/redmine-net20-api/RedmineManager.cs +++ b/src/redmine-net20-api/RedmineManager.cs @@ -188,7 +188,7 @@ public string Host get { return host; } private set { - host = value; + host = value; Uri uriResult; if (!Uri.TryCreate(host, UriKind.Absolute, out uriResult) || @@ -369,6 +369,34 @@ public void DeleteWikiPage(string projectId, string pageName) WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty, "DeleteWikiPage"); } + public int Count(NameValueCollection parameters) where T : class, new() + { + int totalCount = 0, pageSize = 1, offset = 0; + + if (parameters == null) + { + parameters = new NameValueCollection(); + } + + parameters.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); + parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); + + try + { + var tempResult = GetPaginatedObjects(parameters); + if (tempResult != null) + { + totalCount = tempResult.TotalCount; + } + } + catch (WebException wex) + { + wex.HandleWebException("CountAsync", MimeFormat); + } + + return totalCount; + } + /// /// Gets the redmine object based on id. /// @@ -407,6 +435,18 @@ public void DeleteWikiPage(string projectId, string pageName) return WebApiHelper.ExecuteDownloadList(this, url, "GetObjectList", parameters); } + public int Count(params string[] include) where T : class, new() + { + var parameters = new NameValueCollection(); + + if (include != null) + { + parameters.Add(RedmineKeys.INCLUDE, string.Join(",", include)); + } + + return Count(parameters); + } + /// /// Returns the complete list of objects. /// @@ -610,15 +650,15 @@ public void DeleteWikiPage(string projectId, string pageName) DeleteObject(id, null); } - /// - /// Deletes the Redmine object. - /// - /// The type of objects to delete. - /// The id of the object to delete - /// The parameters - /// - /// - public void DeleteObject(string id, NameValueCollection parameters = null) where T : class, new() + /// + /// Deletes the Redmine object. + /// + /// The type of objects to delete. + /// The id of the object to delete + /// The parameters + /// + /// + public void DeleteObject(string id, NameValueCollection parameters = null) where T : class, new() { var url = UrlHelper.GetDeleteUrl(this, id); WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty, "DeleteObject", parameters); diff --git a/src/redmine-net40-api/Async/RedmineManagerAsync.cs b/src/redmine-net40-api/Async/RedmineManagerAsync.cs index ca5cb1e9..8a571acc 100644 --- a/src/redmine-net40-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net40-api/Async/RedmineManagerAsync.cs @@ -160,6 +160,17 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage return CreateObjectAsync(redmineManager, obj, null); } + + public static Task CountAsync(this RedmineManager redmineManager, params string[] include) where T : class, new() + { + return Task.Factory.StartNew(()=> redmineManager.Count(include)); + } + + public static Task CountAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() + { + return Task.Factory.StartNew(() => redmineManager.Count(parameters)); + } + /// /// Creates the object asynchronous. /// diff --git a/src/redmine-net450-api/Async/RedmineManagerAsync.cs b/src/redmine-net450-api/Async/RedmineManagerAsync.cs index 629ea0ab..474e8a7a 100644 --- a/src/redmine-net450-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net450-api/Async/RedmineManagerAsync.cs @@ -186,6 +186,48 @@ public static async Task RemoveWatcherAsync(this RedmineManager redmineManager, await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "RemoveWatcherAsync").ConfigureAwait(false); } + + public static async Task CountAsync(this RedmineManager redmineManager, params string[] include) where T : class, new() + { + var parameters = new NameValueCollection(); + + if (include != null) + { + parameters.Add(RedmineKeys.INCLUDE, string.Join(",", include)); + } + + return await CountAsync(redmineManager,parameters).ConfigureAwait(false); + } + + public static async Task CountAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() + { + int totalCount = 0, pageSize = 1, offset = 0; + + if (parameters == null) + { + parameters = new NameValueCollection(); + } + + parameters.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); + parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); + + try + { + var tempResult = await GetPaginatedObjectsAsync(redmineManager,parameters); + if (tempResult != null) + { + totalCount = tempResult.TotalCount; + } + } + catch (WebException wex) + { + wex.HandleWebException("CountAsync", redmineManager.MimeFormat); + } + + return totalCount; + } + + /// /// Gets the paginated objects asynchronous. /// From fca01a859e21ea3abaed436af61393f3f29745ee Mon Sep 17 00:00:00 2001 From: Zapadi Date: Mon, 11 Feb 2019 21:17:23 +0200 Subject: [PATCH 036/601] Fixed #218. --- .../JSonConverters/CustomFieldPossibleValueConverter.cs | 1 + 1 file changed, 1 insertion(+) mode change 100755 => 100644 src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs diff --git a/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs b/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs old mode 100755 new mode 100644 index c7185c4c..97962642 --- a/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs +++ b/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs @@ -41,6 +41,7 @@ public override object Deserialize(IDictionary dictionary, Type var entity = new CustomFieldPossibleValue(); entity.Value = dictionary.GetValue(RedmineKeys.VALUE); + entity.Label = dictionary.GetValue(RedmineKeys.LABEL); return entity; } From 5d4886aff7b41b7957cad462b725641589a360dd Mon Sep 17 00:00:00 2001 From: Zapadi Date: Mon, 11 Feb 2019 21:20:14 +0200 Subject: [PATCH 037/601] Removed TaskCreationOptions.LongRunning. --- .../Async/RedmineManagerAsync.cs | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/redmine-net40-api/Async/RedmineManagerAsync.cs b/src/redmine-net40-api/Async/RedmineManagerAsync.cs index 8a571acc..a93dd571 100644 --- a/src/redmine-net40-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net40-api/Async/RedmineManagerAsync.cs @@ -34,7 +34,7 @@ public static class RedmineManagerAsync /// public static Task GetCurrentUserAsync(this RedmineManager redmineManager, NameValueCollection parameters = null) { - return Task.Factory.StartNew(() => redmineManager.GetCurrentUser(parameters), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.GetCurrentUser(parameters)); } /// @@ -47,7 +47,7 @@ public static Task GetCurrentUserAsync(this RedmineManager redmineManager, /// public static Task CreateOrUpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) { - return Task.Factory.StartNew(() => redmineManager.CreateOrUpdateWikiPage(projectId, pageName, wikiPage), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.CreateOrUpdateWikiPage(projectId, pageName, wikiPage)); } /// @@ -59,7 +59,7 @@ public static Task CreateOrUpdateWikiPageAsync(this RedmineManager red /// public static Task DeleteWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName) { - return Task.Factory.StartNew(() => redmineManager.DeleteWikiPage(projectId, pageName), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.DeleteWikiPage(projectId, pageName)); } /// @@ -73,7 +73,7 @@ public static Task DeleteWikiPageAsync(this RedmineManager redmineManager, strin /// public static Task GetWikiPageAsync(this RedmineManager redmineManager, string projectId, NameValueCollection parameters, string pageName, uint version = 0) { - return Task.Factory.StartNew(() => redmineManager.GetWikiPage(projectId, parameters, pageName, version), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.GetWikiPage(projectId, parameters, pageName, version)); } /// @@ -84,7 +84,7 @@ public static Task GetWikiPageAsync(this RedmineManager redmineManager /// public static Task> GetAllWikiPagesAsync(this RedmineManager redmineManager, string projectId) { - return Task.Factory.StartNew(() => redmineManager.GetAllWikiPages(projectId), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.GetAllWikiPages(projectId)); } /// @@ -96,7 +96,7 @@ public static Task> GetAllWikiPagesAsync(this RedmineManager redm /// public static Task AddUserToGroupAsync(this RedmineManager redmineManager, int groupId, int userId) { - return Task.Factory.StartNew(() => redmineManager.AddUserToGroup(groupId, userId), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.AddUserToGroup(groupId, userId)); } /// @@ -108,7 +108,7 @@ public static Task AddUserToGroupAsync(this RedmineManager redmineManager, int g /// public static Task RemoveUserFromGroupAsync(this RedmineManager redmineManager, int groupId, int userId) { - return Task.Factory.StartNew(() => redmineManager.RemoveUserFromGroup(groupId, userId), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.RemoveUserFromGroup(groupId, userId)); } /// @@ -120,7 +120,7 @@ public static Task RemoveUserFromGroupAsync(this RedmineManager redmineManager, /// public static Task AddWatcherToIssueAsync(this RedmineManager redmineManager, int issueId, int userId) { - return Task.Factory.StartNew(() => redmineManager.AddWatcherToIssue(issueId, userId), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.AddWatcherToIssue(issueId, userId)); } /// @@ -132,7 +132,7 @@ public static Task AddWatcherToIssueAsync(this RedmineManager redmineManager, in /// public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManager, int issueId, int userId) { - return Task.Factory.StartNew(() => redmineManager.RemoveWatcherFromIssue(issueId, userId), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.RemoveWatcherFromIssue(issueId, userId)); } /// @@ -145,7 +145,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task GetObjectAsync(this RedmineManager redmineManager, string id, NameValueCollection parameters) where T : class, new() { - return Task.Factory.StartNew(() => redmineManager.GetObject(id, parameters), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.GetObject(id, parameters)); } /// @@ -181,7 +181,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task CreateObjectAsync(this RedmineManager redmineManager, T obj, string ownerId) where T : class, new() { - return Task.Factory.StartNew(() => redmineManager.CreateObject(obj, ownerId), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.CreateObject(obj, ownerId)); } /// @@ -193,7 +193,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task> GetPaginatedObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { - return Task.Factory.StartNew(() => redmineManager.GetPaginatedObjects(parameters), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.GetPaginatedObjects(parameters)); } /// @@ -205,7 +205,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task> GetObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { - return Task.Factory.StartNew(() => redmineManager.GetObjects(parameters), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.GetObjects(parameters)); } /// @@ -219,7 +219,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T obj, string projectId = null) where T : class, new() { - return Task.Factory.StartNew(() => redmineManager.UpdateObject(id, obj, projectId), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.UpdateObject(id, obj, projectId)); } /// @@ -232,7 +232,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task DeleteObjectAsync(this RedmineManager redmineManager, string id, NameValueCollection parameters) where T : class, new() { - return Task.Factory.StartNew(() => redmineManager.DeleteObject(id), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.DeleteObject(id)); } /// @@ -243,7 +243,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task UploadFileAsync(this RedmineManager redmineManager, byte[] data) { - return Task.Factory.StartNew(() => redmineManager.UploadFile(data), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.UploadFile(data)); } /// @@ -254,7 +254,7 @@ public static Task UploadFileAsync(this RedmineManager redmineManager, b /// public static Task DownloadFileAsync(this RedmineManager redmineManager, string address) { - return Task.Factory.StartNew(() => redmineManager.DownloadFile(address), TaskCreationOptions.LongRunning); + return Task.Factory.StartNew(() => redmineManager.DownloadFile(address)); } } } \ No newline at end of file From 7edb79ac03f8571170bcd0452d97a50620949141 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Mon, 11 Feb 2019 22:12:45 +0200 Subject: [PATCH 038/601] Fixed appveyor.yml --- appveyor.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) mode change 100755 => 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml old mode 100755 new mode 100644 index 38dfdc2c..8fd746e7 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -os: Visual Studio 2015 +os: Visual Studio 2017 version: 2.0.{build} # environment: # COVERALLS_REPO_TOKEN: @@ -18,15 +18,15 @@ assembly_info: assembly_informational_version: '{version}' build_script: - - Msbuild.exe redmine-net20-api/redmine-net20-api.csproj /verbosity:minimal /p:BuildNetFX20=true - - Msbuild.exe redmine-net40-api/redmine-net40-api.csproj /verbosity:minimal /p:BuildNetFX40=true - - Msbuild.exe redmine-net40-api-signed/redmine-net40-api-signed.csproj /verbosity:minimal /p:BuildNetFX40=true - - Msbuild.exe redmine-net45-api/redmine-net45-api.csproj /verbosity:minimal /p:BuildNetFX45=true - - Msbuild.exe redmine-net45-api-signed/redmine-net45-api-signed.csproj /verbosity:minimal /p:BuildNetFX45=true - - Msbuild.exe redmine-net451-api/redmine-net451-api.csproj /verbosity:minimal /p:BuildNetFX451=true - - Msbuild.exe redmine-net451-api-signed/redmine-net451-api-signed.csproj /verbosity:minimal /p:BuildNetFX451=true - - Msbuild.exe redmine-net452-api/redmine-net452-api.csproj /verbosity:minimal /p:BuildNetFX452=true - - Msbuild.exe redmine-net452-api-signed/redmine-net452-api-signed.csproj /verbosity:minimal /p:BuildNetFX452=true + - Msbuild.exe src/redmine-net20-api/redmine-net20-api.csproj /verbosity:minimal /p:BuildNetFX20=true + - Msbuild.exe src/redmine-net40-api/redmine-net40-api.csproj /verbosity:minimal /p:BuildNetFX40=true + - Msbuild.exe src/redmine-net40-api-signed/redmine-net40-api-signed.csproj /verbosity:minimal /p:BuildNetFX40=true + - Msbuild.exe src/redmine-net45-api/redmine-net45-api.csproj /verbosity:minimal /p:BuildNetFX45=true + - Msbuild.exe src/redmine-net45-api-signed/redmine-net45-api-signed.csproj /verbosity:minimal /p:BuildNetFX45=true + - Msbuild.exe src/redmine-net451-api/redmine-net451-api.csproj /verbosity:minimal /p:BuildNetFX451=true + - Msbuild.exe src/redmine-net451-api-signed/redmine-net451-api-signed.csproj /verbosity:minimal /p:BuildNetFX451=true + - Msbuild.exe src/redmine-net452-api/redmine-net452-api.csproj /verbosity:minimal /p:BuildNetFX452=true + - Msbuild.exe src/redmine-net452-api-signed/redmine-net452-api-signed.csproj /verbosity:minimal /p:BuildNetFX452=true before_build: - nuget restore @@ -37,8 +37,8 @@ build: verbosity: detailed after_build: -- ps: nuget pack redmine-net-api.nuspec -Version $env:appveyor_build_version -- ps: nuget pack redmine-net-api-signed.nuspec -Version $env:appveyor_build_version +- ps: nuget pack build/redmine-net-api.nuspec -Version $env:appveyor_build_version +- ps: nuget pack build/redmine-net-api-signed.nuspec -Version $env:appveyor_build_version nuget: account_feed: true From 672e9e8b0bc7521d9986a194ba34a4ec8aba22ae Mon Sep 17 00:00:00 2001 From: Zapadi Date: Tue, 12 Feb 2019 00:04:02 +0200 Subject: [PATCH 039/601] Fixed AssemblyCopyright --- src/redmine-net20-api/Properties/AssemblyInfo.cs | 2 +- src/redmine-net40-api-signed/Properties/AssemblyInfo.cs | 2 +- src/redmine-net40-api/Properties/AssemblyInfo.cs | 2 +- src/redmine-net450-api-signed/Properties/AssemblyInfo.cs | 2 +- src/redmine-net450-api/Properties/AssemblyInfo.cs | 2 +- src/redmine-net451-api-signed/Properties/AssemblyInfo.cs | 2 +- src/redmine-net451-api/Properties/AssemblyInfo.cs | 2 +- src/redmine-net452-api-signed/Properties/AssemblyInfo.cs | 2 +- src/redmine-net452-api/Properties/AssemblyInfo.cs | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) mode change 100755 => 100644 src/redmine-net20-api/Properties/AssemblyInfo.cs mode change 100755 => 100644 src/redmine-net40-api-signed/Properties/AssemblyInfo.cs mode change 100755 => 100644 src/redmine-net40-api/Properties/AssemblyInfo.cs mode change 100755 => 100644 src/redmine-net450-api-signed/Properties/AssemblyInfo.cs mode change 100755 => 100644 src/redmine-net450-api/Properties/AssemblyInfo.cs mode change 100755 => 100644 src/redmine-net451-api-signed/Properties/AssemblyInfo.cs mode change 100755 => 100644 src/redmine-net451-api/Properties/AssemblyInfo.cs mode change 100755 => 100644 src/redmine-net452-api-signed/Properties/AssemblyInfo.cs mode change 100755 => 100644 src/redmine-net452-api/Properties/AssemblyInfo.cs diff --git a/src/redmine-net20-api/Properties/AssemblyInfo.cs b/src/redmine-net20-api/Properties/AssemblyInfo.cs old mode 100755 new mode 100644 index 7705517f..f59d0821 --- a/src/redmine-net20-api/Properties/AssemblyInfo.cs +++ b/src/redmine-net20-api/Properties/AssemblyInfo.cs @@ -9,7 +9,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("redmine-net20-api")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2017")] +[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/src/redmine-net40-api-signed/Properties/AssemblyInfo.cs b/src/redmine-net40-api-signed/Properties/AssemblyInfo.cs old mode 100755 new mode 100644 index 8c614b20..0942d453 --- a/src/redmine-net40-api-signed/Properties/AssemblyInfo.cs +++ b/src/redmine-net40-api-signed/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("redmine-net40-api-signed")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2017")] +[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/src/redmine-net40-api/Properties/AssemblyInfo.cs b/src/redmine-net40-api/Properties/AssemblyInfo.cs old mode 100755 new mode 100644 index 20c92ff7..84914b31 --- a/src/redmine-net40-api/Properties/AssemblyInfo.cs +++ b/src/redmine-net40-api/Properties/AssemblyInfo.cs @@ -9,7 +9,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("redmine-net40-api")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2017")] +[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/src/redmine-net450-api-signed/Properties/AssemblyInfo.cs b/src/redmine-net450-api-signed/Properties/AssemblyInfo.cs old mode 100755 new mode 100644 index 2787d537..6e7337ce --- a/src/redmine-net450-api-signed/Properties/AssemblyInfo.cs +++ b/src/redmine-net450-api-signed/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("redmine-net45-api-signed")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2017")] +[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/src/redmine-net450-api/Properties/AssemblyInfo.cs b/src/redmine-net450-api/Properties/AssemblyInfo.cs old mode 100755 new mode 100644 index 09a51c15..1e553dcd --- a/src/redmine-net450-api/Properties/AssemblyInfo.cs +++ b/src/redmine-net450-api/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("redmine-net45-api")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2017")] +[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/src/redmine-net451-api-signed/Properties/AssemblyInfo.cs b/src/redmine-net451-api-signed/Properties/AssemblyInfo.cs old mode 100755 new mode 100644 index 66f0ca76..5fead8c4 --- a/src/redmine-net451-api-signed/Properties/AssemblyInfo.cs +++ b/src/redmine-net451-api-signed/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("redmine-net451-api-signed")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2017")] +[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/src/redmine-net451-api/Properties/AssemblyInfo.cs b/src/redmine-net451-api/Properties/AssemblyInfo.cs old mode 100755 new mode 100644 index e0d22000..3119f037 --- a/src/redmine-net451-api/Properties/AssemblyInfo.cs +++ b/src/redmine-net451-api/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("redmine-net451-api")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2017")] +[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/src/redmine-net452-api-signed/Properties/AssemblyInfo.cs b/src/redmine-net452-api-signed/Properties/AssemblyInfo.cs old mode 100755 new mode 100644 index 38216cbb..69fe8e03 --- a/src/redmine-net452-api-signed/Properties/AssemblyInfo.cs +++ b/src/redmine-net452-api-signed/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("redmine-net452-api-signed")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2017")] +[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/src/redmine-net452-api/Properties/AssemblyInfo.cs b/src/redmine-net452-api/Properties/AssemblyInfo.cs old mode 100755 new mode 100644 index 6da8686d..1451e4e9 --- a/src/redmine-net452-api/Properties/AssemblyInfo.cs +++ b/src/redmine-net452-api/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("redmine-net452-api")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2017")] +[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] From ab8a21569cb77fe24826a2bba32767d1d39cbfe2 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Tue, 12 Feb 2019 00:05:10 +0200 Subject: [PATCH 040/601] Updated nuspec files. --- build/redmine-net-api-signed.nuspec | 34 ++++++++++++++------------ build/redmine-net-api.nuspec | 37 ++++++++++++++++------------- 2 files changed, 39 insertions(+), 32 deletions(-) mode change 100755 => 100644 build/redmine-net-api-signed.nuspec mode change 100755 => 100644 build/redmine-net-api.nuspec diff --git a/build/redmine-net-api-signed.nuspec b/build/redmine-net-api-signed.nuspec old mode 100755 new mode 100644 index 6be5b86b..8567a158 --- a/build/redmine-net-api-signed.nuspec +++ b/build/redmine-net-api-signed.nuspec @@ -6,30 +6,34 @@ Redmine .NET API Signed Adrian Popescu Adrian Popescu + http://www.apache.org/licenses/LICENSE-2.0 + Apache-2.0 https://github.com/zapadi/redmine-net-api https://github.com/zapadi/redmine-net-api/raw/master/logo.png - false + true Redmine .NET API is a communication library for Redmine project management application. - - Copyright 2011 - 2018 - en-GB - Redmine API .NET Signed C# + + Copyright ©2011-2019 Adrian Popescu + en-US + Redmine API .NET C# + + Bug fixes and performance improvements + - - - - - - + + + - - + + - - + + + + \ No newline at end of file diff --git a/build/redmine-net-api.nuspec b/build/redmine-net-api.nuspec old mode 100755 new mode 100644 index 35bc1421..d7f680c2 --- a/build/redmine-net-api.nuspec +++ b/build/redmine-net-api.nuspec @@ -7,31 +7,34 @@ Adrian Popescu Adrian Popescu http://www.apache.org/licenses/LICENSE-2.0 + Apache-2.0 https://github.com/zapadi/redmine-net-api https://github.com/zapadi/redmine-net-api/raw/master/logo.png - false + true Redmine .NET API is a communication library for Redmine project management application. - - Copyright 2011 - 2018 - en-GB + + Copyright ©2011-2019 Adrian Popescu + en-US Redmine API .NET C# - + + Bug fixes and performance improvements + - - - + + + - - + + - - + + - - + + - - - + + + \ No newline at end of file From e9fec5539854dba61c231a5ed768263f6b715c93 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Tue, 12 Feb 2019 00:07:29 +0200 Subject: [PATCH 041/601] Removed licenceUrl. --- build/redmine-net-api-signed.nuspec | 1 - build/redmine-net-api.nuspec | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/build/redmine-net-api-signed.nuspec b/build/redmine-net-api-signed.nuspec index 8567a158..bfde41ef 100644 --- a/build/redmine-net-api-signed.nuspec +++ b/build/redmine-net-api-signed.nuspec @@ -7,7 +7,6 @@ Adrian Popescu Adrian Popescu - http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0 https://github.com/zapadi/redmine-net-api https://github.com/zapadi/redmine-net-api/raw/master/logo.png diff --git a/build/redmine-net-api.nuspec b/build/redmine-net-api.nuspec index d7f680c2..3194be53 100644 --- a/build/redmine-net-api.nuspec +++ b/build/redmine-net-api.nuspec @@ -6,7 +6,7 @@ Redmine .NET API Adrian Popescu Adrian Popescu - http://www.apache.org/licenses/LICENSE-2.0 + Apache-2.0 https://github.com/zapadi/redmine-net-api https://github.com/zapadi/redmine-net-api/raw/master/logo.png From 4272873665a5f0d1300d7ba2637f9f80ea3394d8 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Tue, 12 Feb 2019 00:30:35 +0200 Subject: [PATCH 042/601] Replaced $id$ with assembly name --- build/redmine-net-api-signed.nuspec | 16 ++++++++-------- build/redmine-net-api.nuspec | 20 ++++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/build/redmine-net-api-signed.nuspec b/build/redmine-net-api-signed.nuspec index bfde41ef..429217ba 100644 --- a/build/redmine-net-api-signed.nuspec +++ b/build/redmine-net-api-signed.nuspec @@ -22,17 +22,17 @@ - - + + - - + + - - + + - - + + \ No newline at end of file diff --git a/build/redmine-net-api.nuspec b/build/redmine-net-api.nuspec index 3194be53..c2246bac 100644 --- a/build/redmine-net-api.nuspec +++ b/build/redmine-net-api.nuspec @@ -21,20 +21,20 @@ - - + + - - + + - - + + - - + + - - + + \ No newline at end of file From 215d3a289949e499949735f6f17109eac3cce7c0 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Tue, 12 Feb 2019 00:34:48 +0200 Subject: [PATCH 043/601] Fixed nuspec path --- build/redmine-net-api-signed.nuspec | 4 ++-- build/redmine-net-api.nuspec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/redmine-net-api-signed.nuspec b/build/redmine-net-api-signed.nuspec index 429217ba..2c7b8523 100644 --- a/build/redmine-net-api-signed.nuspec +++ b/build/redmine-net-api-signed.nuspec @@ -25,8 +25,8 @@ - - + + diff --git a/build/redmine-net-api.nuspec b/build/redmine-net-api.nuspec index c2246bac..700c00d6 100644 --- a/build/redmine-net-api.nuspec +++ b/build/redmine-net-api.nuspec @@ -27,8 +27,8 @@ - - + + From e34afe0a2101025c45cac223b4ed07cf67dce096 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Tue, 12 Feb 2019 00:51:07 +0200 Subject: [PATCH 044/601] Added documentation file (4.52) --- src/redmine-net452-api-signed/redmine-net452-api-signed.csproj | 1 + src/redmine-net452-api/redmine-net452-api.csproj | 1 + 2 files changed, 2 insertions(+) diff --git a/src/redmine-net452-api-signed/redmine-net452-api-signed.csproj b/src/redmine-net452-api-signed/redmine-net452-api-signed.csproj index d776d7b1..923f5d6f 100644 --- a/src/redmine-net452-api-signed/redmine-net452-api-signed.csproj +++ b/src/redmine-net452-api-signed/redmine-net452-api-signed.csproj @@ -29,6 +29,7 @@ TRACE prompt 4 + bin\Release\redmine-net452-api-signed.xml true diff --git a/src/redmine-net452-api/redmine-net452-api.csproj b/src/redmine-net452-api/redmine-net452-api.csproj index 3615bf63..632d71d0 100644 --- a/src/redmine-net452-api/redmine-net452-api.csproj +++ b/src/redmine-net452-api/redmine-net452-api.csproj @@ -29,6 +29,7 @@ TRACE prompt 4 + bin\Release\redmine-net452-api.xml From ce3e5301a755152ec482c1419c7f3420b4225525 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Thu, 14 Feb 2019 00:25:52 +0200 Subject: [PATCH 045/601] Fixed json issue deserialization. --- src/redmine-net40-api/Extensions/JsonExtensions.cs | 4 ++-- src/redmine-net40-api/JSonConverters/IssueConverter.cs | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/redmine-net40-api/Extensions/JsonExtensions.cs b/src/redmine-net40-api/Extensions/JsonExtensions.cs index c8efb6c8..cf02206a 100755 --- a/src/redmine-net40-api/Extensions/JsonExtensions.cs +++ b/src/redmine-net40-api/Extensions/JsonExtensions.cs @@ -155,10 +155,10 @@ public static T GetValue(this IDictionary dictionary, string var type = typeof(T); if (!dict.TryGetValue(key, out val)) return default(T); + if (val == null) return default(T); + if (type.IsGenericType && type.GetGenericTypeDefinition() == typeof(Nullable<>)) { - if (val == null) return default(T); - type = Nullable.GetUnderlyingType(type); } diff --git a/src/redmine-net40-api/JSonConverters/IssueConverter.cs b/src/redmine-net40-api/JSonConverters/IssueConverter.cs index 973daa11..03b0a16e 100755 --- a/src/redmine-net40-api/JSonConverters/IssueConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssueConverter.cs @@ -66,10 +66,10 @@ public override object Deserialize(IDictionary dictionary, Type issue.StartDate = dictionary.GetValue(RedmineKeys.START_DATE); issue.DueDate = dictionary.GetValue(RedmineKeys.DUE_DATE); issue.SpentHours = dictionary.GetValue(RedmineKeys.SPENT_HOURS); - issue.TotalSpentHours = dictionary.GetValue(RedmineKeys.TOTAL_SPENT_HOURS); - issue.DoneRatio = dictionary.GetValue(RedmineKeys.DONE_RATIO); + issue.TotalSpentHours = dictionary.GetValue(RedmineKeys.TOTAL_SPENT_HOURS); + issue.DoneRatio = dictionary.GetValue(RedmineKeys.DONE_RATIO); issue.EstimatedHours = dictionary.GetValue(RedmineKeys.ESTIMATED_HOURS); - issue.TotalEstimatedHours = dictionary.GetValue(RedmineKeys.TOTAL_ESTIMATED_HOURS); + issue.TotalEstimatedHours = dictionary.GetValue(RedmineKeys.TOTAL_ESTIMATED_HOURS); issue.ParentIssue = dictionary.GetValueAsIdentifiableName(RedmineKeys.PARENT); issue.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); @@ -91,7 +91,7 @@ public override object Deserialize(IDictionary dictionary, Type /// The object to serialize. /// The object that is responsible for the serialization. /// - /// An object that contains key/value pairs that represent the object�s data. + /// An object that contains key/value pairs that represent the object�s data. /// public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) { From 022852ee61e446de1fe48b54bf7b480c6ee6754d Mon Sep 17 00:00:00 2001 From: Zapadi Date: Sat, 23 Feb 2019 22:34:31 +0200 Subject: [PATCH 046/601] Fixed #222 --- src/redmine-net20-api/Types/Issue.cs | 2 +- src/redmine-net40-api/JSonConverters/IssueConverter.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100755 => 100644 src/redmine-net20-api/Types/Issue.cs mode change 100755 => 100644 src/redmine-net40-api/JSonConverters/IssueConverter.cs diff --git a/src/redmine-net20-api/Types/Issue.cs b/src/redmine-net20-api/Types/Issue.cs old mode 100755 new mode 100644 index b81b7337..cd33bcf8 --- a/src/redmine-net20-api/Types/Issue.cs +++ b/src/redmine-net20-api/Types/Issue.cs @@ -477,7 +477,7 @@ public void WriteXml(XmlWriter writer) writer.WriteIdIfNotNull(FixedVersion, RedmineKeys.FIXED_VERSION_ID); writer.WriteValueOrEmpty(EstimatedHours, RedmineKeys.ESTIMATED_HOURS); - writer.WriteIfNotDefaultOrNull(DoneRatio, RedmineKeys.DONE_RATIO); + writer.WriteValueOrEmpty(DoneRatio, RedmineKeys.DONE_RATIO); writer.WriteDateOrEmpty(StartDate, RedmineKeys.START_DATE); writer.WriteDateOrEmpty(DueDate, RedmineKeys.DUE_DATE); writer.WriteDateOrEmpty(UpdatedOn, RedmineKeys.UPDATED_ON); diff --git a/src/redmine-net40-api/JSonConverters/IssueConverter.cs b/src/redmine-net40-api/JSonConverters/IssueConverter.cs old mode 100755 new mode 100644 index 03b0a16e..f31def65 --- a/src/redmine-net40-api/JSonConverters/IssueConverter.cs +++ b/src/redmine-net40-api/JSonConverters/IssueConverter.cs @@ -120,7 +120,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri result.WriteIdOrEmpty(entity.ParentIssue, RedmineKeys.PARENT_ISSUE_ID); result.WriteDateOrEmpty(entity.StartDate, RedmineKeys.START_DATE); result.WriteDateOrEmpty(entity.DueDate, RedmineKeys.DUE_DATE); - result.WriteDateOrEmpty(entity.DueDate, RedmineKeys.UPDATED_ON); + result.WriteDateOrEmpty(entity.UpdatedOn, RedmineKeys.UPDATED_ON); if (entity.DoneRatio != null) result.Add(RedmineKeys.DONE_RATIO, entity.DoneRatio.Value.ToString(CultureInfo.InvariantCulture)); From dc609cd90af47123afadbd74dced8a5f06804dd5 Mon Sep 17 00:00:00 2001 From: mbuettner Date: Wed, 12 Jun 2019 08:34:37 +0200 Subject: [PATCH 047/601] Updated WriteXml for Project to attach tracker ids and enabled modules to api request --- src/redmine-net20-api/Types/Project.cs | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/redmine-net20-api/Types/Project.cs b/src/redmine-net20-api/Types/Project.cs index 2f0e57ba..d55c6c25 100644 --- a/src/redmine-net20-api/Types/Project.cs +++ b/src/redmine-net20-api/Types/Project.cs @@ -213,8 +213,20 @@ public override void WriteXml(XmlWriter writer) writer.WriteIdOrEmpty(Parent, RedmineKeys.PARENT_ID); writer.WriteElementString(RedmineKeys.HOMEPAGE, HomePage); - writer.WriteListElements(Trackers as List, RedmineKeys.TRACKER_IDS); - writer.WriteListElements(EnabledModules as List, RedmineKeys.ENABLED_MODULE_NAMES); + var trackers = new List(); + foreach (var tracker in Trackers) + { + trackers.Add(tracker as IValue); + + } + var enabledModules = new List(); + foreach (var enabledModule in EnabledModules) + { + enabledModules.Add(enabledModule as IValue); + } + + writer.WriteListElements(trackers, RedmineKeys.TRACKER_IDS); + writer.WriteListElements(enabledModules, RedmineKeys.ENABLED_MODULE_NAMES); if (Id == 0) return; From ef215b9effddc1b39f890aa7ca89283f9c0f6974 Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 23 Aug 2019 18:12:50 +0300 Subject: [PATCH 048/601] Fix #231 --- src/redmine-net20-api/RedmineManager.cs | 56 +++++++++++++++++-------- 1 file changed, 39 insertions(+), 17 deletions(-) diff --git a/src/redmine-net20-api/RedmineManager.cs b/src/redmine-net20-api/RedmineManager.cs index 3e00388d..552956be 100644 --- a/src/redmine-net20-api/RedmineManager.cs +++ b/src/redmine-net20-api/RedmineManager.cs @@ -65,6 +65,16 @@ public class RedmineManager : IRedmineManager {typeof(IssueCustomField), "custom_fields"}, {typeof(CustomField), "custom_fields"} }; + + private static readonly Dictionary typesWithOffset = new Dictionary{ + {typeof(Issue), true}, + {typeof(Project), true}, + {typeof(User), true}, + {typeof(News), true}, + {typeof(Query), true}, + {typeof(TimeEntry), true}, + {typeof(ProjectMembership), true}, + } private readonly string basicAuthorization; private readonly CredentialCache cache; @@ -524,24 +534,36 @@ public void DeleteWikiPage(string projectId, string pageName) try { - do + var hasOffset = typesWithOffset.ContainsKey(typeof(T)); + if(hasOffset) { - parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); - var tempResult = GetPaginatedObjects(parameters); - if (tempResult != null) + do + { + parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); + var tempResult = GetPaginatedObjects(parameters); + if (tempResult != null) + { + if (resultList == null) + { + resultList = tempResult.Objects; + totalCount = isLimitSet ? pageSize : tempResult.TotalCount; + } + else + { + resultList.AddRange(tempResult.Objects); + } + } + offset += pageSize; + } while (offset < totalCount); + } + else + { + var result = GetPaginatedObjects(parameters); + if (result != null) { - if (resultList == null) - { - resultList = tempResult.Objects; - totalCount = isLimitSet ? pageSize : tempResult.TotalCount; - } - else - { - resultList.AddRange(tempResult.Objects); - } - } - offset += pageSize; - } while (offset < totalCount); + return result.Objects; + } + } } catch (WebException wex) { @@ -792,4 +814,4 @@ public virtual bool RemoteCertValidate(object sender, X509Certificate cert, X509 return false; } } -} \ No newline at end of file +} From 6361dcc0a959ccbbf59f29f35ae21df78b666923 Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 23 Aug 2019 18:15:52 +0300 Subject: [PATCH 049/601] Fix commit --- src/redmine-net20-api/RedmineManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net20-api/RedmineManager.cs b/src/redmine-net20-api/RedmineManager.cs index 552956be..195490e8 100644 --- a/src/redmine-net20-api/RedmineManager.cs +++ b/src/redmine-net20-api/RedmineManager.cs @@ -74,7 +74,7 @@ public class RedmineManager : IRedmineManager {typeof(Query), true}, {typeof(TimeEntry), true}, {typeof(ProjectMembership), true}, - } + }; private readonly string basicAuthorization; private readonly CredentialCache cache; From 96e6fc4f75d1f1b2693197161b32973358873a4d Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 5 Sep 2019 09:54:14 +0300 Subject: [PATCH 050/601] Tmp Fix #233 --- src/redmine-net20-api/Types/Project.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/redmine-net20-api/Types/Project.cs b/src/redmine-net20-api/Types/Project.cs index d55c6c25..ab9481b3 100644 --- a/src/redmine-net20-api/Types/Project.cs +++ b/src/redmine-net20-api/Types/Project.cs @@ -208,7 +208,7 @@ public override void WriteXml(XmlWriter writer) writer.WriteElementString(RedmineKeys.NAME, Name); writer.WriteElementString(RedmineKeys.IDENTIFIER, Identifier); writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); - writer.WriteElementString(RedmineKeys.INHERIT_MEMBERS, InheritMembers.ToString().ToLowerInvariant()); + //writer.WriteElementString(RedmineKeys.INHERIT_MEMBERS, InheritMembers.ToString().ToLowerInvariant()); writer.WriteElementString(RedmineKeys.IS_PUBLIC, IsPublic.ToString().ToLowerInvariant()); writer.WriteIdOrEmpty(Parent, RedmineKeys.PARENT_ID); writer.WriteElementString(RedmineKeys.HOMEPAGE, HomePage); @@ -276,7 +276,7 @@ public override int GetHashCode() hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); hashCode = HashCodeHelper.GetHashCode(Status, hashCode); hashCode = HashCodeHelper.GetHashCode(IsPublic, hashCode); - hashCode = HashCodeHelper.GetHashCode(InheritMembers, hashCode); + //hashCode = HashCodeHelper.GetHashCode(InheritMembers, hashCode); hashCode = HashCodeHelper.GetHashCode(Trackers, hashCode); hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); hashCode = HashCodeHelper.GetHashCode(IssueCategories, hashCode); @@ -296,4 +296,4 @@ public override string ToString() Identifier, Description, Parent, HomePage, CreatedOn, UpdatedOn, Status, IsPublic, InheritMembers, Trackers, CustomFields, IssueCategories, EnabledModules, base.ToString()); } } -} \ No newline at end of file +} From 4dafc5924ce290e92d2615b5cd3a414f1fff38ea Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 5 Sep 2019 09:55:37 +0300 Subject: [PATCH 051/601] Tmp Fix #233 --- src/redmine-net40-api/JSonConverters/ProjectConverter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/redmine-net40-api/JSonConverters/ProjectConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectConverter.cs index 1a06ecff..70642bb5 100755 --- a/src/redmine-net40-api/JSonConverters/ProjectConverter.cs +++ b/src/redmine-net40-api/JSonConverters/ProjectConverter.cs @@ -85,7 +85,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri result.Add(RedmineKeys.IDENTIFIER, entity.Identifier); result.Add(RedmineKeys.DESCRIPTION, entity.Description); result.Add(RedmineKeys.HOMEPAGE, entity.HomePage); - result.Add(RedmineKeys.INHERIT_MEMBERS, entity.InheritMembers.ToString().ToLowerInvariant()); + //result.Add(RedmineKeys.INHERIT_MEMBERS, entity.InheritMembers.ToString().ToLowerInvariant()); result.Add(RedmineKeys.IS_PUBLIC, entity.IsPublic.ToString().ToLowerInvariant()); result.WriteIdOrEmpty(entity.Parent, RedmineKeys.PARENT_ID, string.Empty); result.WriteIdsArray(RedmineKeys.TRACKER_IDS, entity.Trackers); @@ -113,4 +113,4 @@ public override IEnumerable SupportedTypes #endregion } -} \ No newline at end of file +} From f03ec2026717f15c96664e47aec29ab249d28806 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 23 Oct 2019 16:27:31 +0300 Subject: [PATCH 052/601] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 499509b7..f62774a3 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ ![](https://github.com/zapadi/redmine-net-api/blob/master/logo.png) +![Nuget](https://img.shields.io/nuget/dt/redmine-net-api) +Buy Me A Coffee # redmine-net-api redmine-net-api is a library for communicating with a Redmine project management application. From 104b0d1ed812ae5e8090dc7bb6d4e943a4255c90 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 14 Nov 2019 11:35:43 +0200 Subject: [PATCH 053/601] Fix #236 --- src/redmine-net20-api/Types/User.cs | 23 +++++++++++++++---- .../JSonConverters/UserConverter.cs | 18 ++++++++++++--- 2 files changed, 34 insertions(+), 7 deletions(-) diff --git a/src/redmine-net20-api/Types/User.cs b/src/redmine-net20-api/Types/User.cs index 92dacd7c..214b70e0 100644 --- a/src/redmine-net20-api/Types/User.cs +++ b/src/redmine-net20-api/Types/User.cs @@ -215,12 +215,27 @@ public void WriteXml(XmlWriter writer) writer.WriteElementString(RedmineKeys.FIRSTNAME, FirstName); writer.WriteElementString(RedmineKeys.LASTNAME, LastName); writer.WriteElementString(RedmineKeys.MAIL, Email); - writer.WriteElementString(RedmineKeys.MAIL_NOTIFICATION, MailNotification); - writer.WriteElementString(RedmineKeys.PASSWORD, Password); - writer.WriteValueOrEmpty(AuthenticationModeId, RedmineKeys.AUTH_SOURCE_ID); + if(!string.IsNullOrEmpty(MailNotification)) + { + writer.WriteElementString(RedmineKeys.MAIL_NOTIFICATION, MailNotification); + } + + if (!string.IsNullOrEmpty(Password)) + { + writer.WriteElementString(RedmineKeys.PASSWORD, Password); + } + + if(AuthenticationModeId.HasValue) + { + writer.WriteValueOrEmpty(AuthenticationModeId, RedmineKeys.AUTH_SOURCE_ID); + } + writer.WriteElementString(RedmineKeys.MUST_CHANGE_PASSWD, MustChangePassword.ToString().ToLowerInvariant()); writer.WriteElementString(RedmineKeys.STATUS, ((int)Status).ToString(CultureInfo.InvariantCulture)); - writer.WriteArray(CustomFields, RedmineKeys.CUSTOM_FIELDS); + if(CustomFields != null) + { + writer.WriteArray(CustomFields, RedmineKeys.CUSTOM_FIELDS); + } } /// diff --git a/src/redmine-net40-api/JSonConverters/UserConverter.cs b/src/redmine-net40-api/JSonConverters/UserConverter.cs index a08baf4e..9c41557b 100644 --- a/src/redmine-net40-api/JSonConverters/UserConverter.cs +++ b/src/redmine-net40-api/JSonConverters/UserConverter.cs @@ -86,11 +86,23 @@ public override IDictionary Serialize(object obj, JavaScriptSeri result.Add(RedmineKeys.FIRSTNAME, entity.FirstName); result.Add(RedmineKeys.LASTNAME, entity.LastName); result.Add(RedmineKeys.MAIL, entity.Email); - result.Add(RedmineKeys.MAIL_NOTIFICATION, entity.MailNotification); - result.Add(RedmineKeys.PASSWORD, entity.Password); + if(!string.IsNullOrWhiteSpace(entity.MailNotification)) + { + result.Add(RedmineKeys.MAIL_NOTIFICATION, entity.MailNotification); + } + + if(!string.IsNullOrWhiteSpace(entity.Password)) + { + result.Add(RedmineKeys.PASSWORD, entity.Password); + } + result.Add(RedmineKeys.MUST_CHANGE_PASSWD, entity.MustChangePassword.ToString().ToLowerInvariant()); result.Add(RedmineKeys.STATUS, ((int)entity.Status).ToString(CultureInfo.InvariantCulture)); - result.WriteValueOrEmpty(entity.AuthenticationModeId, RedmineKeys.AUTH_SOURCE_ID); + + if(entity.AuthenticationModeId.HasValue) + { + result.WriteValueOrEmpty(entity.AuthenticationModeId, RedmineKeys.AUTH_SOURCE_ID); + } result.WriteArray(RedmineKeys.CUSTOM_FIELDS, entity.CustomFields, new IssueCustomFieldConverter(), serializer); From a14897a1db2371d5dc8d7a59b7f41e12938a0598 Mon Sep 17 00:00:00 2001 From: Padi Date: Mon, 18 Nov 2019 16:59:23 +0200 Subject: [PATCH 054/601] Update README.md --- README.md | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index f62774a3..4cdf8671 100755 --- a/README.md +++ b/README.md @@ -34,17 +34,10 @@ Resource | Read | Create | Update | Delete ## Packages and Status -Package | Build status | Nuget --------- | ------------ | ------- -redmine-net20-api | ![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) -redmine-net40-api | ![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) -redmine-net40-api-signed | ![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) -redmine-net45-api | ![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) -redmine-net45-api-signed | ![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) -redmine-net451-api | ![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) -redmine-net451-api-signed | ![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) -redmine-net452-api | ![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) -redmine-net452-api-signed | ![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) +Build status | Nuget + ------------ | ------- +![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) + ## WIKI From d5eef2931649c2cae6ece5141514458d9b8a8101 Mon Sep 17 00:00:00 2001 From: Padi Date: Mon, 18 Nov 2019 17:03:45 +0200 Subject: [PATCH 055/601] Update README.md --- README.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 4cdf8671..0c540592 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,11 @@ -![](https://github.com/zapadi/redmine-net-api/blob/master/logo.png) + ![Nuget](https://img.shields.io/nuget/dt/redmine-net-api) +![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) +[![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) Buy Me A Coffee -# redmine-net-api + + +# redmine-net-api ![](https://github.com/zapadi/redmine-net-api/blob/master/logo.png) redmine-net-api is a library for communicating with a Redmine project management application. @@ -32,13 +36,6 @@ Resource | Read | Create | Update | Delete Wiki Pages |x|x|x|x Files |x|x|-|- -## Packages and Status - -Build status | Nuget - ------------ | ------- -![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) | [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) - - ## WIKI Please review the wiki pages on how to use **redmine-net-api**. From 6c88278c2010674355e62a2943d7754fee99aec1 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 19 Nov 2019 12:34:30 +0200 Subject: [PATCH 056/601] Change csproj format & small refactoring --- build/docker-compose.yml | 8 +- src/redmine-net-api.Tests/Helper.cs | 10 +- .../Infrastructure/CaseOrder.cs | 4 +- .../Infrastructure/CollectionOrderer.cs | 5 +- .../Infrastructure/RedmineCollection.cs | 6 +- .../Properties/AssemblyInfo.cs | 34 -- src/redmine-net-api.Tests/RedmineFixture.cs | 3 +- .../Tests/Async/AttachmentAsyncTests.cs | 11 +- .../Tests/Async/IssueAsyncTests.cs | 10 +- .../Tests/Async/UserAsyncTests.cs | 8 +- .../Tests/Async/WikiPageAsyncTests.cs | 6 +- .../Tests/RedmineTest.cs | 7 +- .../Tests/Sync/AttachmentTests.cs | 3 +- .../Tests/Sync/CustomFieldTests.cs | 5 +- .../Tests/Sync/GroupTests.cs | 10 +- .../Tests/Sync/IssueCategoryTests.cs | 5 +- .../Tests/Sync/IssuePriorityTests.cs | 5 +- .../Tests/Sync/IssueRelationTests.cs | 4 +- .../Tests/Sync/IssueStatusTests.cs | 5 +- .../Tests/Sync/IssueTests.cs | 13 +- .../Tests/Sync/NewsTests.cs | 6 +- .../Tests/Sync/ProjectMembershipTests.cs | 7 +- .../Tests/Sync/ProjectTests.cs | 4 +- .../Tests/Sync/QueryTests.cs | 5 +- .../Tests/Sync/RoleTests.cs | 6 +- .../Tests/Sync/TimeEntryActivtiyTests.cs | 5 +- .../Tests/Sync/TimeEntryTests.cs | 5 +- .../Tests/Sync/TrackerTests.cs | 5 +- .../Tests/Sync/UserTests.cs | 22 +- .../Tests/Sync/VersionTests.cs | 7 +- .../Tests/Sync/WikiPageTests.cs | 6 +- .../redmine-net-api.Tests.csproj | 189 +++++----- src/redmine-net-api.sln | 115 +----- .../Async/RedmineManagerAsync.cs | 5 +- .../Async/RedmineManagerAsync40.cs} | 20 +- .../Async/RedmineManagerAsync45.cs} | 26 +- .../Exceptions/ConflictException.cs | 5 +- .../Exceptions/ForbiddenException.cs | 5 +- .../InternalServerErrorException.cs | 5 +- .../NameResolutionFailureException.cs | 5 +- .../Exceptions/NotAcceptableException.cs | 5 +- .../Exceptions/NotFoundException.cs | 5 +- .../Exceptions/RedmineException.cs | 15 +- .../Exceptions/RedmineTimeoutException.cs | 5 +- .../Exceptions/UnauthorizedException.cs | 5 +- .../Extensions/CollectionExtensions.cs | 65 +++- .../Extensions/JsonExtensions.cs | 21 +- .../NameValueCollectionExtensions.cs | 2 +- .../Extensions/StringExtensions.cs | 53 +++ .../Extensions/WebExtensions.cs | 112 +++--- .../Extensions/XmlReaderExtensions.cs | 162 +++++++-- .../Extensions/XmlWriterExtensions.cs | 11 +- src/redmine-net20-api/IRedmineManager.cs | 4 +- src/redmine-net20-api/Internals/DataHelper.cs | 4 +- src/redmine-net20-api/Internals/Func.cs | 6 +- .../Internals/HashCodeHelper.cs | 32 +- .../Internals/RedmineSerializer.cs | 152 +++++--- .../Internals/RedmineSerializerJson.cs | 11 +- src/redmine-net20-api/Internals/UrlHelper.cs | 50 +-- .../Internals/WebApiAsyncHelper.cs | 5 +- .../Internals/XmlStreamingDeserializer.cs | 58 ---- .../Internals/XmlStreamingSerializer.cs | 62 ---- .../JSonConverters/AttachmentConverter.cs | 100 ++++++ .../JSonConverters/AttachmentsConverter.cs | 82 +++++ .../JSonConverters/ChangeSetConverter.cs | 82 +++++ .../JSonConverters/CustomFieldConverter.cs | 93 +++++ .../CustomFieldPossibleValueConverter.cs | 77 +++++ .../CustomFieldRoleConverter.cs | 77 +++++ .../JSonConverters/DetailConverter.cs | 83 +++++ .../JSonConverters/ErrorConverter.cs | 77 +++++ .../JSonConverters/FileConverter.cs | 112 ++++++ .../JSonConverters/GroupConverter.cs | 98 ++++++ .../JSonConverters/GroupUserConverter.cs | 78 +++++ .../IdentifiableNameConverter.cs | 92 +++++ .../JSonConverters/IssueCategoryConverter.cs | 98 ++++++ .../JSonConverters/IssueChildConverter.cs | 76 ++++ .../JSonConverters/IssueConverter.cs | 156 +++++++++ .../IssueCustomFieldConverter.cs | 122 +++++++ .../JSonConverters/IssuePriorityConverter.cs | 78 +++++ .../JSonConverters/IssueRelationConverter.cs | 102 ++++++ .../JSonConverters/IssueStatusConverter.cs | 82 +++++ .../JSonConverters/JournalConverter.cs | 85 +++++ .../JSonConverters/MembershipConverter.cs | 82 +++++ .../JSonConverters/MembershipRoleConverter.cs | 82 +++++ .../JSonConverters/NewsConverter.cs | 85 +++++ .../JSonConverters/PermissionConverter.cs | 73 ++++ .../JSonConverters/ProjectConverter.cs | 119 +++++++ .../ProjectEnabledModuleConverter.cs | 78 +++++ .../ProjectIssueCategoryConverter.cs | 90 +++++ .../ProjectMembershipConverter.cs | 96 +++++ .../JSonConverters/ProjectTrackerConverter.cs | 78 +++++ .../JSonConverters/QueryConverter.cs | 83 +++++ .../JSonConverters/RoleConverter.cs | 92 +++++ .../TimeEntryActivityConverter.cs | 78 +++++ .../JSonConverters/TimeEntryConverter.cs | 121 +++++++ .../JSonConverters/TrackerConverter.cs | 81 +++++ .../TrackerCustomFieldConverter.cs | 68 ++++ .../JSonConverters/UploadConverter.cs | 93 +++++ .../JSonConverters/UserConverter.cs | 127 +++++++ .../JSonConverters/UserGroupConverter.cs | 68 ++++ .../JSonConverters/VersionConverter.cs | 107 ++++++ .../JSonConverters/WatcherConverter.cs | 85 +++++ .../JSonConverters/WikiPageConverter.cs | 99 ++++++ src/redmine-net20-api/MimeFormat.cs | 7 +- src/redmine-net20-api/RedmineManager.cs | 26 +- src/redmine-net20-api/Types/Attachment.cs | 8 +- src/redmine-net20-api/Types/CustomField.cs | 10 +- src/redmine-net20-api/Types/Detail.cs | 8 +- src/redmine-net20-api/Types/Error.cs | 2 +- src/redmine-net20-api/Types/Group.cs | 8 +- .../Types/IdentifiableName.cs | 6 +- src/redmine-net20-api/Types/Issue.cs | 18 +- src/redmine-net20-api/Types/IssueChild.cs | 2 +- .../Types/IssueCustomField.cs | 5 +- src/redmine-net20-api/Types/IssuePriority.cs | 3 +- src/redmine-net20-api/Types/IssueRelation.cs | 5 +- src/redmine-net20-api/Types/IssueStatus.cs | 1 + src/redmine-net20-api/Types/Journal.cs | 3 +- src/redmine-net20-api/Types/Membership.cs | 3 +- src/redmine-net20-api/Types/MembershipRole.cs | 5 +- src/redmine-net20-api/Types/News.cs | 7 +- src/redmine-net20-api/Types/Permission.cs | 2 +- src/redmine-net20-api/Types/Project.cs | 25 +- .../Types/ProjectMembership.cs | 1 + src/redmine-net20-api/Types/ProjectTracker.cs | 3 +- src/redmine-net20-api/Types/Role.cs | 1 + src/redmine-net20-api/Types/TimeEntry.cs | 16 +- .../Types/TimeEntryActivity.cs | 2 +- src/redmine-net20-api/Types/Tracker.cs | 2 +- src/redmine-net20-api/Types/Upload.cs | 8 +- src/redmine-net20-api/Types/User.cs | 30 +- src/redmine-net20-api/Types/Version.cs | 4 +- src/redmine-net20-api/Types/Watcher.cs | 3 +- .../redmine-net20-api.csproj | 327 ++++++++++-------- .../redmine-net40-api-signed.csproj | 4 +- .../Extensions/CollectionExtensions.cs | 62 ---- .../Extensions/WebExtensions.cs | 121 ------- .../Extensions/XmlReaderExtensions.cs | 219 ------------ .../Internals/RedmineSerializer.cs | 230 ------------ src/redmine-net40-api/MimeFormat.cs | 33 -- .../redmine-net40-api.csproj | 38 +- .../redmine-net450-api.csproj | 5 +- .../redmine-net452-api.csproj | 2 +- 143 files changed, 4809 insertions(+), 1651 deletions(-) delete mode 100644 src/redmine-net-api.Tests/Properties/AssemblyInfo.cs rename src/{redmine-net40-api/Async/RedmineManagerAsync.cs => redmine-net20-api/Async/RedmineManagerAsync40.cs} (96%) rename src/{redmine-net450-api/Async/RedmineManagerAsync.cs => redmine-net20-api/Async/RedmineManagerAsync45.cs} (95%) rename src/{redmine-net40-api => redmine-net20-api}/Extensions/JsonExtensions.cs (93%) mode change 100755 => 100644 create mode 100644 src/redmine-net20-api/Extensions/StringExtensions.cs mode change 100755 => 100644 src/redmine-net20-api/Internals/Func.cs rename src/{redmine-net40-api => redmine-net20-api}/Internals/RedmineSerializerJson.cs (98%) rename src/{redmine-net450-api => redmine-net20-api}/Internals/WebApiAsyncHelper.cs (99%) delete mode 100755 src/redmine-net20-api/Internals/XmlStreamingDeserializer.cs delete mode 100755 src/redmine-net20-api/Internals/XmlStreamingSerializer.cs create mode 100755 src/redmine-net20-api/JSonConverters/AttachmentConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/AttachmentsConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/ChangeSetConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/CustomFieldConverter.cs create mode 100644 src/redmine-net20-api/JSonConverters/CustomFieldPossibleValueConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/CustomFieldRoleConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/DetailConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/ErrorConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/FileConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/GroupConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/GroupUserConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/IdentifiableNameConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/IssueCategoryConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/IssueChildConverter.cs create mode 100644 src/redmine-net20-api/JSonConverters/IssueConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/IssueCustomFieldConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/IssuePriorityConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/IssueRelationConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/IssueStatusConverter.cs create mode 100644 src/redmine-net20-api/JSonConverters/JournalConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/MembershipConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/MembershipRoleConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/NewsConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/PermissionConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/ProjectConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/ProjectEnabledModuleConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/ProjectIssueCategoryConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/ProjectMembershipConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/ProjectTrackerConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/QueryConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/RoleConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/TimeEntryActivityConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/TimeEntryConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/TrackerConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/TrackerCustomFieldConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/UploadConverter.cs create mode 100644 src/redmine-net20-api/JSonConverters/UserConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/UserGroupConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/VersionConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/WatcherConverter.cs create mode 100755 src/redmine-net20-api/JSonConverters/WikiPageConverter.cs delete mode 100755 src/redmine-net40-api/Extensions/CollectionExtensions.cs delete mode 100755 src/redmine-net40-api/Extensions/WebExtensions.cs delete mode 100755 src/redmine-net40-api/Extensions/XmlReaderExtensions.cs delete mode 100755 src/redmine-net40-api/Internals/RedmineSerializer.cs delete mode 100755 src/redmine-net40-api/MimeFormat.cs diff --git a/build/docker-compose.yml b/build/docker-compose.yml index 2433e66d..1d017917 100755 --- a/build/docker-compose.yml +++ b/build/docker-compose.yml @@ -4,8 +4,8 @@ services: redmine: ports: - '8089:3000' - image: 'redmine:3.4.4' - container_name: 'redmine-web' + image: 'redmine:4.0.4' + container_name: 'redmine-web-404' depends_on: - postgres links: @@ -21,8 +21,8 @@ services: environment: POSTGRES_USER: redmine POSTGRES_PASSWORD: redmine-pswd - container_name: 'redmine-db' - image: 'postgres:9.5' + container_name: 'redmine-db-111' + image: 'postgres:11.1' #restart: always ports: - '5432:5432' diff --git a/src/redmine-net-api.Tests/Helper.cs b/src/redmine-net-api.Tests/Helper.cs index 647b64f8..b54b7cd3 100644 --- a/src/redmine-net-api.Tests/Helper.cs +++ b/src/redmine-net-api.Tests/Helper.cs @@ -14,11 +14,13 @@ internal static class Helper static Helper() { - Uri = ConfigurationManager.AppSettings["uri"]; - ApiKey = ConfigurationManager.AppSettings["apiKey"]; + Uri = "http://192.168.1.53:8089/"; - Username = ConfigurationManager.AppSettings["username"]; - Password = ConfigurationManager.AppSettings["password"]; + ApiKey = "a96e35d02bc6a6dbe655b83a2f6db57b82df2dff"; + + + Username = "zapadi"; + Password = "1qaz2wsx"; } } } diff --git a/src/redmine-net-api.Tests/Infrastructure/CaseOrder.cs b/src/redmine-net-api.Tests/Infrastructure/CaseOrder.cs index f2a0e911..1f36a704 100644 --- a/src/redmine-net-api.Tests/Infrastructure/CaseOrder.cs +++ b/src/redmine-net-api.Tests/Infrastructure/CaseOrder.cs @@ -1,3 +1,4 @@ +#if !(NET20 || NET40) using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; @@ -38,4 +39,5 @@ private static int GetOrder(TTestCase testCase) return attr != null ? attr.Index : 0; } } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs b/src/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs index 906e2860..ca8575de 100644 --- a/src/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs +++ b/src/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs @@ -1,3 +1,5 @@ +#if !(NET20 || NET40) + using System; using System.Collections.Generic; using System.Linq; @@ -39,4 +41,5 @@ private static int GetOrder(ITestCollection testCollection) return attr != null ? attr.Index : 0; } } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs b/src/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs index 3da13f61..f40dc201 100644 --- a/src/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs +++ b/src/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs @@ -1,4 +1,5 @@ -using Xunit; +#if !(NET20 || NET40) +using Xunit; namespace redmine.net.api.Tests.Infrastructure { @@ -7,4 +8,5 @@ public class RedmineCollection : ICollectionFixture { } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api.Tests/Properties/AssemblyInfo.cs b/src/redmine-net-api.Tests/Properties/AssemblyInfo.cs deleted file mode 100644 index 415116a3..00000000 --- a/src/redmine-net-api.Tests/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.Reflection; -using redmine.net.api.Tests.Infrastructure; -using Xunit; - -// Information about this assembly is defined by the following attributes. -// Change them to the values specific to your project. - -[assembly: AssemblyTitle("xUnitTest-redmine-net45-api")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". -// The form "{Major}.{Minor}.*" will automatically update the build and revision, -// and "{Major}.{Minor}.{Build}.*" will update just the revision. - -[assembly: AssemblyVersion("1.0.*")] - -// The following attributes are used to specify the signing key for the assembly, -// if desired. See the Mono documentation for more information about signing. - -//[assembly: AssemblyDelaySign(false)] -//[assembly: AssemblyKeyFile("")] - - - -[assembly: TestCaseOrderer(CaseOrderer.TYPE_NAME, CaseOrderer.ASSEMBY_NAME)] -[assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly, DisableTestParallelization = true)] -[assembly: TestCollectionOrderer(CollectionOrderer.TYPE_NAME, CollectionOrderer.ASSEMBY_NAME)] - diff --git a/src/redmine-net-api.Tests/RedmineFixture.cs b/src/redmine-net-api.Tests/RedmineFixture.cs index ce3dc36f..7c8a5a39 100644 --- a/src/redmine-net-api.Tests/RedmineFixture.cs +++ b/src/redmine-net-api.Tests/RedmineFixture.cs @@ -1,4 +1,5 @@ -using System.Diagnostics; + +using System.Diagnostics; using Redmine.Net.Api; namespace redmine.net.api.Tests diff --git a/src/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs b/src/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs index ec48aba9..ff57814c 100644 --- a/src/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs +++ b/src/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs @@ -1,9 +1,11 @@ -using System; +#if !(NET20 || NET40) +using Redmine.Net.Api.Async; +using Redmine.Net.Api.Types; +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Threading.Tasks; -using Redmine.Net.Api.Async; -using Redmine.Net.Api.Types; + using Xunit; namespace redmine.net.api.Tests.Tests.Async @@ -91,4 +93,5 @@ public async Task Sould_Download_Attachment() Assert.NotNull(document); } } -} \ No newline at end of file +} +#endif diff --git a/src/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs b/src/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs index cd52bfdf..2d7052ab 100644 --- a/src/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs +++ b/src/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs @@ -1,4 +1,5 @@ -using System.Collections.Generic; +#if !(NET20 || NET40) +using System.Collections.Generic; using System.Collections.Specialized; using System.Threading.Tasks; using Redmine.Net.Api.Async; @@ -22,7 +23,7 @@ public IssueAsyncTests(RedmineFixture fixture) [Fact] public async Task Should_Add_Watcher_To_Issue() { - await fixture.RedmineManager.AddWatcherAsync(WATCHER_ISSUE_ID, WATCHER_USER_ID); + await fixture.RedmineManager.AddWatcherToIssueAsync(WATCHER_ISSUE_ID, WATCHER_USER_ID); Issue issue = await fixture.RedmineManager.GetObjectAsync(WATCHER_ISSUE_ID.ToString(), new NameValueCollection { { "include", "watchers" } }); @@ -34,11 +35,12 @@ public async Task Should_Add_Watcher_To_Issue() [Fact] public async Task Should_Remove_Watcher_From_Issue() { - await fixture.RedmineManager.RemoveWatcherAsync(WATCHER_ISSUE_ID, WATCHER_USER_ID); + await fixture.RedmineManager.RemoveWatcherFromIssueAsync(WATCHER_ISSUE_ID, WATCHER_USER_ID); Issue issue = await fixture.RedmineManager.GetObjectAsync(WATCHER_ISSUE_ID.ToString(), new NameValueCollection { { "include", "watchers" } }); Assert.True(issue.Watchers == null || ((List)issue.Watchers).Find(w => w.Id == WATCHER_USER_ID) == null); } } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs b/src/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs index e73a6bc4..d37a2f45 100644 --- a/src/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs +++ b/src/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs @@ -1,4 +1,5 @@ -using System; +#if !(NET20 || NET40) +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Globalization; @@ -155,7 +156,7 @@ public async Task Should_Add_User_To_Group() [Fact] public async Task Should_Remove_User_From_Group() { - await fixture.RedmineManager.DeleteUserFromGroupAsync(GROUP_ID, int.Parse(USER_ID)); + await fixture.RedmineManager.RemoveUserFromGroupAsync(GROUP_ID, int.Parse(USER_ID)); User user = await fixture.RedmineManager.GetObjectAsync(USER_ID.ToString(CultureInfo.InvariantCulture), new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.GROUPS } }); @@ -204,4 +205,5 @@ public async Task Should_Delete_User() } } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs b/src/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs index d119c730..9336513d 100644 --- a/src/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs +++ b/src/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs @@ -1,4 +1,5 @@ -using System.Collections.Generic; +#if !(NET20 || NET40) +using System.Collections.Generic; using System.Collections.Specialized; using System.Threading.Tasks; using Redmine.Net.Api.Async; @@ -71,4 +72,5 @@ public async Task Should_Delete_WikiPage() } } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api.Tests/Tests/RedmineTest.cs b/src/redmine-net-api.Tests/Tests/RedmineTest.cs index b15ebad2..98f4acff 100644 --- a/src/redmine-net-api.Tests/Tests/RedmineTest.cs +++ b/src/redmine-net-api.Tests/Tests/RedmineTest.cs @@ -1,4 +1,5 @@ -using System; + +using System; using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; @@ -7,7 +8,9 @@ namespace redmine.net.api.Tests.Tests { [Trait("Redmine-api", "Credentials")] +#if !(NET20 || NET40) [Collection("RedmineCollection")] +#endif [Order(1)] public class RedmineTest { @@ -21,7 +24,7 @@ public void Should_Throw_Redmine_Exception_When_Host_Is_Null() [Fact] public void Should_Throw_Redmine_Exception_When_Host_Is_Empty() { - Assert.Throws(() => new RedmineManager(String.Empty, Helper.Username, Helper.Password)); + Assert.Throws(() => new RedmineManager(string.Empty, Helper.Username, Helper.Password)); } [Fact] diff --git a/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs b/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs index 4e1e3f3e..edec151e 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs @@ -26,7 +26,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Attachments")] +#if !(NET20 || NET40) [Collection("RedmineCollection")] +#endif public class AttachmentTests { public AttachmentTests(RedmineFixture fixture) @@ -100,7 +102,6 @@ public void Should_Upload_Attachment() Assert.NotNull(issue); Assert.NotNull(issue.Attachments); - Assert.All(issue.Attachments, a => Assert.IsType(a)); Assert.True(issue.Attachments.Count == 1, "Number of attachments ( " + issue.Attachments.Count + " ) != 1"); var firstAttachment = issue.Attachments[0]; diff --git a/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs b/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs index e85646a6..267efdbd 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs @@ -21,7 +21,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "CustomFields")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class CustomFieldTests { public CustomFieldTests(RedmineFixture fixture) @@ -39,7 +41,6 @@ public void Should_Get_All_CustomFields() var customFields = fixture.RedmineManager.GetObjects(); Assert.NotNull(customFields); - Assert.All(customFields, cf => Assert.IsType(cf)); Assert.True(customFields.Count == NUMBER_OF_CUSTOM_FIELDS, "Custom fields count(" + customFields.Count + ") != " + NUMBER_OF_CUSTOM_FIELDS); } diff --git a/src/redmine-net-api.Tests/Tests/Sync/GroupTests.cs b/src/redmine-net-api.Tests/Tests/Sync/GroupTests.cs index c590e4f0..d0f27027 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/GroupTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/GroupTests.cs @@ -9,7 +9,9 @@ namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Groups")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class GroupTests { public GroupTests(RedmineFixture fixture) @@ -62,7 +64,6 @@ public void Should_Update_Group() Assert.NotNull(updatedGroup); Assert.True(updatedGroup.Name.Equals(UPDATED_GROUP_NAME), "Group name was not updated."); Assert.NotNull(updatedGroup.Users); - Assert.All(updatedGroup.Users, u => Assert.IsType(u)); Assert.True(updatedGroup.Users.Find(u => u.Id == UPDATED_GROUP_USER_ID) != null, "User was not added to group."); } @@ -75,7 +76,6 @@ public void Should_Get_All_Groups() var groups = fixture.RedmineManager.GetObjects(); Assert.NotNull(groups); - Assert.All(groups, g => Assert.IsType(g)); Assert.True(groups.Count == NUMBER_OF_GROUPS, "Number of groups ( "+groups.Count+" ) != " + NUMBER_OF_GROUPS); } @@ -87,11 +87,9 @@ public void Should_Get_Group_With_All_Associated_Data() Assert.NotNull(group); - Assert.All(group.Memberships, m => Assert.IsType(m)); Assert.True(group.Memberships.Count == NUMBER_OF_MEMBERSHIPS, "Number of memberships != " + NUMBER_OF_MEMBERSHIPS); - Assert.All(group.Users, u => Assert.IsType(u)); Assert.True(group.Users.Count == NUMBER_OF_USERS, "Number of users ( "+ group.Users.Count +" ) != " + NUMBER_OF_USERS); Assert.True(group.Name.Equals("Test"), "Group name is not valid."); } @@ -103,7 +101,6 @@ public void Should_Get_Group_With_Memberships() new NameValueCollection {{RedmineKeys.INCLUDE, RedmineKeys.MEMBERSHIPS}}); Assert.NotNull(group); - Assert.All(group.Memberships, m => Assert.IsType(m)); Assert.True(group.Memberships.Count == NUMBER_OF_MEMBERSHIPS, "Number of memberships ( "+ group.Memberships.Count +" ) != " + NUMBER_OF_MEMBERSHIPS); } @@ -115,7 +112,6 @@ public void Should_Get_Group_With_Users() new NameValueCollection {{RedmineKeys.INCLUDE, RedmineKeys.USERS}}); Assert.NotNull(group); - Assert.All(group.Users, u => Assert.IsType(u)); Assert.True(group.Users.Count == NUMBER_OF_USERS, "Number of users ( "+ group.Users.Count +" ) != " + NUMBER_OF_USERS); } diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs index aecc9e3b..3c4bd254 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs @@ -8,7 +8,9 @@ namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "IssueCategories")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class IssueCategoryTests { public IssueCategoryTests(RedmineFixture fixture) @@ -64,7 +66,6 @@ public void Should_Get_All_IssueCategories_By_ProjectId() }); Assert.NotNull(issueCategories); - Assert.All(issueCategories, ic => Assert.IsType(ic)); Assert.True(issueCategories.Count == NUMBER_OF_ISSUE_CATEGORIES, "Number of issue categories ( "+issueCategories.Count+" ) != " + NUMBER_OF_ISSUE_CATEGORIES); } diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs index f21c60d6..cefbabe4 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs @@ -20,7 +20,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "IssuePriorities")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class IssuePriorityTests { public IssuePriorityTests(RedmineFixture fixture) @@ -37,7 +39,6 @@ public void Should_Get_All_Issue_Priority() var issuePriorities = fixture.RedmineManager.GetObjects(); Assert.NotNull(issuePriorities); - Assert.All(issuePriorities, ip => Assert.IsType(ip)); Assert.True(issuePriorities.Count == NUMBER_OF_ISSUE_PRIORITIES, "Issue priorities count(" + issuePriorities.Count + ") != " + NUMBER_OF_ISSUE_PRIORITIES); } diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs index 4d555169..3508d9fd 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs @@ -24,7 +24,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "IssueRelations")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class IssueRelationTests { public IssueRelationTests(RedmineFixture fixture) diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs index 84088270..815423e1 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs @@ -20,7 +20,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "IssueStatuses")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class IssueStatusTests { public IssueStatusTests(RedmineFixture fixture) @@ -37,7 +39,6 @@ public void Should_Get_All_Issue_Statuses() var issueStatuses = fixture.RedmineManager.GetObjects(); Assert.NotNull(issueStatuses); - Assert.All(issueStatuses, i => Assert.IsType(i)); Assert.True(issueStatuses.Count == NUMBER_OF_ISSUE_STATUSES, "Issue statuses count(" + issueStatuses.Count + ") != " + NUMBER_OF_ISSUE_STATUSES); } diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueTests.cs b/src/redmine-net-api.Tests/Tests/Sync/IssueTests.cs index d7ae18ce..dc6e4c3f 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/IssueTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/IssueTests.cs @@ -10,7 +10,9 @@ namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Issues")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class IssueTests { public IssueTests(RedmineFixture fixture) @@ -33,7 +35,6 @@ public void Should_Get_All_Issues() var issues = fixture.RedmineManager.GetObjects(); Assert.NotNull(issues); - Assert.All (issues, i => Assert.IsType (i)); } [Fact, Order(2)] @@ -45,7 +46,6 @@ public void Should_Get_Paginated_Issues() var issues = fixture.RedmineManager.GetPaginatedObjects(new NameValueCollection { { RedmineKeys.OFFSET, OFFSET.ToString() }, { RedmineKeys.LIMIT, NUMBER_OF_PAGINATED_ISSUES.ToString() }, { "sort", "id:desc" } }); Assert.NotNull(issues.Objects); - Assert.All (issues.Objects, i => Assert.IsType (i)); Assert.True(issues.Objects.Count <= NUMBER_OF_PAGINATED_ISSUES, "number of issues ( "+ issues.Objects.Count +" ) != " + NUMBER_OF_PAGINATED_ISSUES.ToString()); } @@ -55,7 +55,6 @@ public void Should_Get_Issues_By_Project_Id() var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.PROJECT_ID, PROJECT_ID } }); Assert.NotNull(issues); - Assert.All (issues, i => Assert.IsType (i)); } [Fact, Order(4)] @@ -66,7 +65,6 @@ public void Should_Get_Issues_By_subproject_Id() var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.SUBPROJECT_ID, SUBPROJECT_ID } }); Assert.NotNull(issues); - Assert.All (issues, i => Assert.IsType (i)); } [Fact, Order(5)] @@ -77,7 +75,6 @@ public void Should_Get_Issues_By_Project_Without_Subproject() var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.PROJECT_ID, PROJECT_ID }, { RedmineKeys.SUBPROJECT_ID, ALL_SUBPROJECTS } }); Assert.NotNull(issues); - Assert.All (issues, i => Assert.IsType (i)); } [Fact, Order(6)] @@ -87,7 +84,6 @@ public void Should_Get_Issues_By_Tracker() var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.TRACKER_ID, TRACKER_ID } }); Assert.NotNull(issues); - Assert.All (issues, i => Assert.IsType (i)); } [Fact, Order(7)] @@ -96,7 +92,6 @@ public void Should_Get_Issues_By_Status() const string STATUS_ID = "*"; var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.STATUS_ID, STATUS_ID } }); Assert.NotNull(issues); - Assert.All (issues, i => Assert.IsType (i)); } [Fact, Order(8)] @@ -106,7 +101,6 @@ public void Should_Get_Issues_By_Asignee() var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.ASSIGNED_TO_ID, ASSIGNED_TO_ID } }); Assert.NotNull(issues); - Assert.All (issues, i => Assert.IsType (i)); } [Fact, Order(9)] @@ -118,7 +112,6 @@ public void Should_Get_Issues_By_Custom_Field() var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { CUSTOM_FIELD_NAME, CUSTOM_FIELD_VALUE } }); Assert.NotNull(issues); - Assert.All (issues, i => Assert.IsType (i)); } [Fact, Order(10)] diff --git a/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs b/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs index b608e02f..1bacda60 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs @@ -23,7 +23,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "News")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class NewsTests { public NewsTests(RedmineFixture fixture) @@ -40,7 +42,6 @@ public void Should_Get_All_News() var news = fixture.RedmineManager.GetObjects(); Assert.NotNull(news); - Assert.All(news, n => Assert.IsType(n)); Assert.True(news.Count == NUMBER_OF_NEWS, "News count(" + news.Count + ") != " + NUMBER_OF_NEWS); } @@ -53,7 +54,6 @@ public void Should_Get_News_By_Project_Id() fixture.RedmineManager.GetObjects(new NameValueCollection {{RedmineKeys.PROJECT_ID, PROJECT_ID}}); Assert.NotNull(news); - Assert.All(news, n => Assert.IsType(n)); Assert.True(news.Count == NUMBER_OF_NEWS_BY_PROJECT_ID, "News count(" + news.Count + ") != " + NUMBER_OF_NEWS_BY_PROJECT_ID); } diff --git a/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs b/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs index f8986a89..6a6489e0 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs @@ -25,7 +25,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "ProjectMemberships")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class ProjectMembershipTests { public ProjectMembershipTests(RedmineFixture fixture) @@ -86,7 +88,6 @@ public void Should_Get_Memberships_By_Project_Identifier() Assert.NotNull(projectMemberships); Assert.True(projectMemberships.Count == NUMBER_OF_PROJECT_MEMBERSHIPS, "Project memberships count ( "+ projectMemberships.Count +" ) != " + NUMBER_OF_PROJECT_MEMBERSHIPS); - Assert.All(projectMemberships, pm => Assert.IsType(pm)); } [Fact, Order(3)] @@ -100,7 +101,6 @@ public void Should_Get_Project_Membership_By_Id() Assert.True(projectMembership.User != null || projectMembership.Group != null, "User and group are both null."); Assert.NotNull(projectMembership.Roles); - Assert.All(projectMembership.Roles, r => Assert.IsType(r)); } [Fact, Order(4)] @@ -118,7 +118,6 @@ public void Should_Update_Project_Membership() Assert.NotNull(updatedPm); Assert.NotNull(updatedPm.Roles); - Assert.All(updatedPm.Roles, r => Assert.IsType(r)); Assert.True(updatedPm.Roles.Find(r => r.Id == UPDATED_PROJECT_MEMBERSHIP_ROLE_ID) != null, string.Format("Role with id {0} was not found in roles list.", UPDATED_PROJECT_MEMBERSHIP_ROLE_ID)); } diff --git a/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs b/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs index ff9f64a0..eb8e3458 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs @@ -25,7 +25,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Projects")] +#if !(NET20 || NET40) [Collection("RedmineCollection")] +#endif [Order(1)] public class ProjectTests { @@ -169,12 +171,10 @@ public void Should_Get_Test_Project_With_All_Properties_Set() Assert.NotNull(project.Trackers); Assert.True(project.Trackers.Count == 2, "Trackers count != " + 2); - Assert.All(project.Trackers, t => Assert.IsType(t)); Assert.NotNull(project.EnabledModules); Assert.True(project.EnabledModules.Count == 2, "Enabled modules count (" + project.EnabledModules.Count + ") != " + 2); - Assert.All(project.EnabledModules, em => Assert.IsType(em)); } [Fact, Order(5)] diff --git a/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs b/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs index a09d8dc2..8297d5bb 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs @@ -21,7 +21,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Queries")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class QueryTests { public QueryTests(RedmineFixture fixture) @@ -38,7 +40,6 @@ public void Should_Get_All_Queries() var queries = fixture.RedmineManager.GetObjects(); Assert.NotNull(queries); - Assert.All(queries, q => Assert.IsType(q)); Assert.True(queries.Count == NUMBER_OF_QUERIES, "Queries count(" + queries.Count + ") != " + NUMBER_OF_QUERIES); } diff --git a/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs b/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs index a7b93801..6495b953 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs @@ -21,7 +21,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Roles")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class RoleTests { public RoleTests(RedmineFixture fixture) @@ -38,7 +40,6 @@ public void Should_Get_All_Roles() var roles = fixture.RedmineManager.GetObjects(); Assert.NotNull(roles); - Assert.All(roles, r => Assert.IsType(r)); Assert.True(roles.Count == NUMBER_OF_ROLES, "Roles count(" + roles.Count + ") != " + NUMBER_OF_ROLES); } @@ -55,7 +56,6 @@ public void Should_Get_Role_By_Id() Assert.True(role.Name.Equals(ROLE_NAME), "Role name is invalid."); Assert.NotNull(role.Permissions); - Assert.All(role.Permissions, p => Assert.IsType(p)); Assert.True(role.Permissions.Count == NUMBER_OF_ROLE_PERMISSIONS, "Permissions count(" + role.Permissions.Count + ") != " + NUMBER_OF_ROLE_PERMISSIONS); } diff --git a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs index e859a68f..1e25dda4 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs @@ -21,7 +21,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "TimeEntryActivities")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class TimeEntryActivityTests { public TimeEntryActivityTests(RedmineFixture fixture) @@ -39,7 +41,6 @@ public void Should_Get_All_TimeEntryActivities() var timeEntryActivities = fixture.RedmineManager.GetObjects(); Assert.NotNull(timeEntryActivities); - Assert.All(timeEntryActivities, t => Assert.IsType(t)); Assert.True(timeEntryActivities.Count == NUMBER_OF_TIME_ENTRY_ACTIVITIES, "Time entry activities count ( "+ timeEntryActivities.Count +" ) != " + NUMBER_OF_TIME_ENTRY_ACTIVITIES); } diff --git a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs index dc195bea..f798c7b4 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs @@ -23,7 +23,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "TimeEntries")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class TimeEntryTests { public TimeEntryTests(RedmineFixture fixture) @@ -89,7 +91,6 @@ public void Should_Get_All_Time_Entries() Assert.NotNull(timeEntries); Assert.NotEmpty(timeEntries); - Assert.All(timeEntries, t => Assert.IsType(t)); } [Fact, Order(3)] diff --git a/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs b/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs index 750370a3..d941c902 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs @@ -20,7 +20,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Trackers")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class TrackerTests { public TrackerTests(RedmineFixture fixture) @@ -38,7 +40,6 @@ public void RedmineTrackers_ShouldGetAllTrackers() var trackers = fixture.RedmineManager.GetObjects(); Assert.NotNull(trackers); - Assert.All(trackers, t => Assert.IsType(t)); Assert.True(trackers.Count == NUMBER_OF_TRACKERS, "Trackers count(" + trackers.Count + ") != " + NUMBER_OF_TRACKERS); } } diff --git a/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs b/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs index 6a431ba6..59fab743 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs @@ -25,7 +25,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Users")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif [Order(2)] public class UserTests { @@ -42,9 +44,9 @@ public UserTests(RedmineFixture fixture) private const string USER_EMAIL = "testUser@mail.com"; private static string CREATED_USER_ID; - private static string CREATED_USER_WITH_ALL_PROP_ID; + private static string CREATED_USER_WITH_ALL_PROP_ID; - private static User CreateTestUserWithRequiredPropertiesSet() + private static User CreateTestUserWithRequiredPropertiesSet() { var user = new User() { @@ -131,24 +133,26 @@ public void Should_Update_User() const string UPDATED_USER_LAST_NAME = "UpdatedLastName"; const string UPDATED_USER_EMAIL = "updatedEmail@mail.com"; - var user = fixture.RedmineManager.GetObject(CREATED_USER_ID, null); + var user = fixture.RedmineManager.GetObject("8", null); user.FirstName = UPDATED_USER_FIRST_NAME; user.LastName = UPDATED_USER_LAST_NAME; user.Email = UPDATED_USER_EMAIL; var exception = (RedmineException) - Record.Exception(() => fixture.RedmineManager.UpdateObject(CREATED_USER_ID, user)); + Record.Exception(() => fixture.RedmineManager.UpdateObject("8", user)); Assert.Null(exception); - var updatedUser = fixture.RedmineManager.GetObject(CREATED_USER_ID, null); + var updatedUser = fixture.RedmineManager.GetObject("8", null); Assert.True(updatedUser.FirstName.Equals(UPDATED_USER_FIRST_NAME), "User first name was not updated."); Assert.True(updatedUser.LastName.Equals(UPDATED_USER_LAST_NAME), "User last name was not updated."); Assert.True(updatedUser.Email.Equals(UPDATED_USER_EMAIL), "User email was not updated."); - } - [Fact, Order(6)] + // curl -v --user zapadi:1qaz2wsx -H 'Content-Type: application/json' -X PUT -d '{"user":{"login":"testuser","firstname":"UpdatedFirstName","lastname":"UpdatedLastName","mail":"updatedEmail@mail.com","must_change_passwd":"false","status":"1"}}' http://192.168.1.53:8089/users/8.json + } + + [Fact, Order(6)] public void Should_Not_Update_User_With_Invalid_Properties() { var user = fixture.RedmineManager.GetObject(CREATED_USER_ID, null); @@ -199,7 +203,6 @@ public void Should_Get_X_Users_From_Offset_Y() }); Assert.NotNull(result); - Assert.All(result.Objects, u => Assert.IsType(u)); } [Fact, Order(11)] @@ -211,7 +214,6 @@ public void Should_Get_Users_By_State() }); Assert.NotNull(users); - Assert.All(users, u => Assert.IsType(u)); } } } \ No newline at end of file diff --git a/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs b/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs index 4ed61cee..cc9abde9 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs @@ -16,9 +16,9 @@ limitations under the License. using System; using System.Collections.Specialized; -using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; +using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api.Types; using Xunit; using Version = Redmine.Net.Api.Types.Version; @@ -26,7 +26,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Versions")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class VersionTests { public VersionTests(RedmineFixture fixture) @@ -104,7 +106,6 @@ public void Should_Get_Versions_By_Project_Id() }); Assert.NotNull(versions); - Assert.All(versions, v => Assert.IsType(v)); Assert.True(versions.Count == NUMBER_OF_VERSIONS, "Versions count ( "+versions.Count+" ) != " + NUMBER_OF_VERSIONS); } diff --git a/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs b/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs index ad598d15..5674056e 100644 --- a/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs +++ b/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs @@ -26,7 +26,9 @@ limitations under the License. namespace redmine.net.api.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "WikiPages")] - [Collection("RedmineCollection")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif public class WikiPageTests { public WikiPageTests(RedmineFixture fixture) @@ -69,7 +71,6 @@ public void Should_Get_All_Wiki_Pages_By_Project_Id() var pages = (List) fixture.RedmineManager.GetAllWikiPages(PROJECT_ID); Assert.NotNull(pages); - Assert.All(pages, p => Assert.IsType(p)); Assert.True(pages.Count == NUMBER_OF_WIKI_PAGES, "Wiki pages count != " + NUMBER_OF_WIKI_PAGES); Assert.True(pages.Exists(p => p.Title == WIKI_PAGE_NAME), string.Format("Wiki page {0} does not exist", WIKI_PAGE_NAME)); @@ -95,7 +96,6 @@ public void Should_Get_Wiki_Page_By_Title_With_Attachments() Assert.NotNull(page); Assert.Equal(page.Title, WIKI_PAGE_NAME); Assert.NotNull(page.Attachments.ToList()); - Assert.All(page.Attachments.ToList(), a => Assert.IsType(a)); } [Fact, Order(5)] diff --git a/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj index 57b20d99..d7fffce9 100644 --- a/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -1,119 +1,94 @@  - - - - - - Debug - AnyCPU - {900EF0B3-0233-45DA-811F-4C59483E8452} - Library + + + + + false + net48 + net45;net451;net452;net46;net461;net462;net47;net471;net472;net48; + true redmine.net.api.Tests redmine-net-api.Tests - v4.5.2 - - - + - - true - full - false - bin\Debug - DEBUG;JSON;XML - prompt - 4 - false + + + NET20;NETFULL - - full - true - bin\Release - prompt - 4 - false + + + NET40;NETFULL - - Program - false + + + NET45;NETFULL - - - - - - ..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll - - - ..\packages\xunit.assert.2.3.1\lib\netstandard1.1\xunit.assert.dll - - - ..\packages\xunit.extensibility.core.2.3.1\lib\netstandard1.1\xunit.core.dll - - - ..\packages\xunit.extensibility.execution.2.3.1\lib\net452\xunit.execution.desktop.dll - - - ..\packages\xunit.runner.utility.2.3.1\lib\net452\xunit.runner.utility.net452.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + NET451;NETFULL + + + + NET452;NETFULL + + + + NET46;NETFULL + + + + NET461;NETFULL + + + + NET462;NETFULL + + + + + NET47;NETFULL + + + + NET471;NETFULL + + + + NET472;NETFULL + + + + NET48;NETFULL + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + - - - {AEDFD095-F4B0-4630-B41A-9A22169456E9} - redmine-net450-api - + + + + + - - + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + - - + + + + - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - - - + + \ No newline at end of file diff --git a/src/redmine-net-api.sln b/src/redmine-net-api.sln index 2124d3f5..40373ace 100644 --- a/src/redmine-net-api.sln +++ b/src/redmine-net-api.sln @@ -1,33 +1,15 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26228.9 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29503.13 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{0DFF4758-5C19-4D8F-BA6C-76E618323F6A}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{F3F4278D-6271-4F77-BA88-41555D53CBD1}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net20-api", "redmine-net20-api\redmine-net20-api.csproj", "{0E6B9B72-445D-4E71-8D29-48C4A009AB03}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "redmine-net20-api", "redmine-net20-api\redmine-net20-api.csproj", "{0E6B9B72-445D-4E71-8D29-48C4A009AB03}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net40-api", "redmine-net40-api\redmine-net40-api.csproj", "{22492A69-B890-4D5B-A2FC-E2F6C63935B8}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net40-api-signed", "redmine-net40-api-signed\redmine-net40-api-signed.csproj", "{00F410C6-E398-4F58-869B-34CD7275096A}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net450-api", "redmine-net450-api\redmine-net450-api.csproj", "{AEDFD095-F4B0-4630-B41A-9A22169456E9}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net450-api-signed", "redmine-net450-api-signed\redmine-net450-api-signed.csproj", "{028B9120-A7FC-4B23-AA9C-F18087058F76}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net451-api", "redmine-net451-api\redmine-net451-api.csproj", "{B67F0035-336C-4CDA-80A8-DE94EEDF5627}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net451-api-signed", "redmine-net451-api-signed\redmine-net451-api-signed.csproj", "{7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net452-api", "redmine-net452-api\redmine-net452-api.csproj", "{4EE7D8D8-AA65-442B-A928-580B4604B9AF}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net452-api-signed", "redmine-net452-api-signed\redmine-net452-api-signed.csproj", "{6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net-api.Tests", "redmine-net-api.Tests\redmine-net-api.Tests.csproj", "{900EF0B3-0233-45DA-811F-4C59483E8452}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net-api.TestConsole", "redmine-net-api.TestConsole\redmine-net-api.TestConsole.csproj", "{5A5D51BC-2800-44B4-9E12-05264BDCEBF7}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "redmine-net-api.Tests", "redmine-net-api.Tests\redmine-net-api.Tests.csproj", "{900EF0B3-0233-45DA-811F-4C59483E8452}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -39,76 +21,12 @@ Global GlobalSection(ProjectConfigurationPlatforms) = postSolution {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugJSON|Any CPU.ActiveCfg = DebugJSON|Any CPU - {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugJSON|Any CPU.Build.0 = DebugJSON|Any CPU - {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugXML|Any CPU.ActiveCfg = DebugXML|Any CPU - {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugXML|Any CPU.Build.0 = DebugXML|Any CPU + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugXML|Any CPU.Build.0 = Debug|Any CPU {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.Release|Any CPU.ActiveCfg = Release|Any CPU {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.Release|Any CPU.Build.0 = Release|Any CPU - {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.DebugJSON|Any CPU.ActiveCfg = DebugJSON|Any CPU - {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.DebugJSON|Any CPU.Build.0 = DebugJSON|Any CPU - {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.DebugXML|Any CPU.ActiveCfg = DebugXML|Any CPU - {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.DebugXML|Any CPU.Build.0 = DebugXML|Any CPU - {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {22492A69-B890-4D5B-A2FC-E2F6C63935B8}.Release|Any CPU.Build.0 = Release|Any CPU - {00F410C6-E398-4F58-869B-34CD7275096A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {00F410C6-E398-4F58-869B-34CD7275096A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {00F410C6-E398-4F58-869B-34CD7275096A}.DebugJSON|Any CPU.ActiveCfg = DebugJSON|Any CPU - {00F410C6-E398-4F58-869B-34CD7275096A}.DebugJSON|Any CPU.Build.0 = DebugJSON|Any CPU - {00F410C6-E398-4F58-869B-34CD7275096A}.DebugXML|Any CPU.ActiveCfg = DebugXML|Any CPU - {00F410C6-E398-4F58-869B-34CD7275096A}.DebugXML|Any CPU.Build.0 = DebugXML|Any CPU - {00F410C6-E398-4F58-869B-34CD7275096A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {00F410C6-E398-4F58-869B-34CD7275096A}.Release|Any CPU.Build.0 = Release|Any CPU - {AEDFD095-F4B0-4630-B41A-9A22169456E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AEDFD095-F4B0-4630-B41A-9A22169456E9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AEDFD095-F4B0-4630-B41A-9A22169456E9}.DebugJSON|Any CPU.ActiveCfg = DebugJSON|Any CPU - {AEDFD095-F4B0-4630-B41A-9A22169456E9}.DebugJSON|Any CPU.Build.0 = DebugJSON|Any CPU - {AEDFD095-F4B0-4630-B41A-9A22169456E9}.DebugXML|Any CPU.ActiveCfg = DebugXML|Any CPU - {AEDFD095-F4B0-4630-B41A-9A22169456E9}.DebugXML|Any CPU.Build.0 = DebugXML|Any CPU - {AEDFD095-F4B0-4630-B41A-9A22169456E9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AEDFD095-F4B0-4630-B41A-9A22169456E9}.Release|Any CPU.Build.0 = Release|Any CPU - {028B9120-A7FC-4B23-AA9C-F18087058F76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {028B9120-A7FC-4B23-AA9C-F18087058F76}.Debug|Any CPU.Build.0 = Debug|Any CPU - {028B9120-A7FC-4B23-AA9C-F18087058F76}.DebugJSON|Any CPU.ActiveCfg = DebugJSON|Any CPU - {028B9120-A7FC-4B23-AA9C-F18087058F76}.DebugJSON|Any CPU.Build.0 = DebugJSON|Any CPU - {028B9120-A7FC-4B23-AA9C-F18087058F76}.DebugXML|Any CPU.ActiveCfg = DebugXML|Any CPU - {028B9120-A7FC-4B23-AA9C-F18087058F76}.DebugXML|Any CPU.Build.0 = DebugXML|Any CPU - {028B9120-A7FC-4B23-AA9C-F18087058F76}.Release|Any CPU.ActiveCfg = Release|Any CPU - {028B9120-A7FC-4B23-AA9C-F18087058F76}.Release|Any CPU.Build.0 = Release|Any CPU - {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU - {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU - {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU - {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.DebugXML|Any CPU.Build.0 = Debug|Any CPU - {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B67F0035-336C-4CDA-80A8-DE94EEDF5627}.Release|Any CPU.Build.0 = Release|Any CPU - {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU - {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU - {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU - {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.DebugXML|Any CPU.Build.0 = Debug|Any CPU - {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2}.Release|Any CPU.Build.0 = Release|Any CPU - {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU - {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU - {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU - {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.DebugXML|Any CPU.Build.0 = Debug|Any CPU - {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4EE7D8D8-AA65-442B-A928-580B4604B9AF}.Release|Any CPU.Build.0 = Release|Any CPU - {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU - {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU - {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU - {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.DebugXML|Any CPU.Build.0 = Debug|Any CPU - {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3}.Release|Any CPU.Build.0 = Release|Any CPU {900EF0B3-0233-45DA-811F-4C59483E8452}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {900EF0B3-0233-45DA-811F-4C59483E8452}.Debug|Any CPU.Build.0 = Debug|Any CPU {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU @@ -117,30 +35,13 @@ Global {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugXML|Any CPU.Build.0 = Debug|Any CPU {900EF0B3-0233-45DA-811F-4C59483E8452}.Release|Any CPU.ActiveCfg = Release|Any CPU {900EF0B3-0233-45DA-811F-4C59483E8452}.Release|Any CPU.Build.0 = Release|Any CPU - {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU - {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU - {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU - {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.DebugXML|Any CPU.Build.0 = Debug|Any CPU - {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5A5D51BC-2800-44B4-9E12-05264BDCEBF7}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {0E6B9B72-445D-4E71-8D29-48C4A009AB03} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} - {22492A69-B890-4D5B-A2FC-E2F6C63935B8} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} - {00F410C6-E398-4F58-869B-34CD7275096A} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} - {AEDFD095-F4B0-4630-B41A-9A22169456E9} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} - {028B9120-A7FC-4B23-AA9C-F18087058F76} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} - {B67F0035-336C-4CDA-80A8-DE94EEDF5627} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} - {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} - {4EE7D8D8-AA65-442B-A928-580B4604B9AF} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} - {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} {900EF0B3-0233-45DA-811F-4C59483E8452} = {F3F4278D-6271-4F77-BA88-41555D53CBD1} - {5A5D51BC-2800-44B4-9E12-05264BDCEBF7} = {F3F4278D-6271-4F77-BA88-41555D53CBD1} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {4AA87D90-ABD0-4793-BE47-955B35FAE2BB} diff --git a/src/redmine-net20-api/Async/RedmineManagerAsync.cs b/src/redmine-net20-api/Async/RedmineManagerAsync.cs index 40154158..887ef118 100644 --- a/src/redmine-net20-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net20-api/Async/RedmineManagerAsync.cs @@ -1,3 +1,5 @@ + +#if NET20 using System.Collections.Generic; using System.Collections.Specialized; using Redmine.Net.Api.Types; @@ -252,4 +254,5 @@ public static Task DownloadFileAsync(this RedmineManager redmineManager, return delegate { return redmineManager.DownloadFile(address); }; } } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/src/redmine-net40-api/Async/RedmineManagerAsync.cs b/src/redmine-net20-api/Async/RedmineManagerAsync40.cs similarity index 96% rename from src/redmine-net40-api/Async/RedmineManagerAsync.cs rename to src/redmine-net20-api/Async/RedmineManagerAsync40.cs index a93dd571..ab178809 100644 --- a/src/redmine-net40-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net20-api/Async/RedmineManagerAsync40.cs @@ -14,6 +14,9 @@ You may obtain a copy of the License at limitations under the License. */ + +#if NET40 + using System.Collections.Generic; using System.Collections.Specialized; using System.Threading.Tasks; @@ -161,11 +164,25 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage } + /// + /// + /// + /// + /// + /// + /// public static Task CountAsync(this RedmineManager redmineManager, params string[] include) where T : class, new() { return Task.Factory.StartNew(()=> redmineManager.Count(include)); } + /// + /// + /// + /// + /// + /// + /// public static Task CountAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { return Task.Factory.StartNew(() => redmineManager.Count(parameters)); @@ -257,4 +274,5 @@ public static Task DownloadFileAsync(this RedmineManager redmineManager, return Task.Factory.StartNew(() => redmineManager.DownloadFile(address)); } } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/src/redmine-net450-api/Async/RedmineManagerAsync.cs b/src/redmine-net20-api/Async/RedmineManagerAsync45.cs similarity index 95% rename from src/redmine-net450-api/Async/RedmineManagerAsync.cs rename to src/redmine-net20-api/Async/RedmineManagerAsync45.cs index 474e8a7a..4642e872 100644 --- a/src/redmine-net450-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net20-api/Async/RedmineManagerAsync45.cs @@ -14,6 +14,8 @@ You may obtain a copy of the License at limitations under the License. */ +#if !(NET20 || NET40) + using System.Collections.Generic; using System.Collections.Specialized; using System.Globalization; @@ -152,7 +154,7 @@ public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, /// The group id. /// The user id. /// - public static async Task DeleteUserFromGroupAsync(this RedmineManager redmineManager, int groupId, int userId) + public static async Task RemoveUserFromGroupAsync(this RedmineManager redmineManager, int groupId, int userId) { var uri = UrlHelper.GetRemoveUserFromGroupUrl(redmineManager, groupId, userId); await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "DeleteUserFromGroupAsync").ConfigureAwait(false); @@ -165,7 +167,7 @@ public static async Task DeleteUserFromGroupAsync(this RedmineManager redmineMan /// The issue identifier. /// The user identifier. /// - public static async Task AddWatcherAsync(this RedmineManager redmineManager, int issueId, int userId) + public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManager, int issueId, int userId) { var data = DataHelper.UserData(userId, redmineManager.MimeFormat); var uri = UrlHelper.GetAddWatcherUrl(redmineManager, issueId, userId); @@ -180,13 +182,19 @@ public static async Task AddWatcherAsync(this RedmineManager redmineManager, int /// The issue identifier. /// The user identifier. /// - public static async Task RemoveWatcherAsync(this RedmineManager redmineManager, int issueId, int userId) + public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManager, int issueId, int userId) { var uri = UrlHelper.GetRemoveWatcherUrl(redmineManager, issueId, userId); await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "RemoveWatcherAsync").ConfigureAwait(false); } - + /// + /// + /// + /// + /// + /// + /// public static async Task CountAsync(this RedmineManager redmineManager, params string[] include) where T : class, new() { var parameters = new NameValueCollection(); @@ -199,6 +207,13 @@ public static async Task RemoveWatcherAsync(this RedmineManager redmineManager, return await CountAsync(redmineManager,parameters).ConfigureAwait(false); } + /// + /// + /// + /// + /// + /// + /// public static async Task CountAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { int totalCount = 0, pageSize = 1, offset = 0; @@ -375,4 +390,5 @@ public static async Task DeleteObjectAsync(this RedmineManager redmineManager await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "DeleteObjectAsync").ConfigureAwait(false); } } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/Exceptions/ConflictException.cs b/src/redmine-net20-api/Exceptions/ConflictException.cs index b70ddf5b..0acc079f 100644 --- a/src/redmine-net20-api/Exceptions/ConflictException.cs +++ b/src/redmine-net20-api/Exceptions/ConflictException.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Globalization; using System.Runtime.Serialization; namespace Redmine.Net.Api.Exceptions @@ -46,7 +47,7 @@ public ConflictException(string message) /// /// public ConflictException(string format, params object[] args) - : base(string.Format(format, args)) + : base(string.Format(CultureInfo.InvariantCulture,format, args)) { } @@ -67,7 +68,7 @@ public ConflictException(string message, Exception innerException) /// /// public ConflictException(string format, Exception innerException, params object[] args) - : base(string.Format(format, args), innerException) + : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) { } diff --git a/src/redmine-net20-api/Exceptions/ForbiddenException.cs b/src/redmine-net20-api/Exceptions/ForbiddenException.cs index 6d396815..e9c2fa2c 100644 --- a/src/redmine-net20-api/Exceptions/ForbiddenException.cs +++ b/src/redmine-net20-api/Exceptions/ForbiddenException.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Globalization; using System.Runtime.Serialization; namespace Redmine.Net.Api.Exceptions @@ -46,7 +47,7 @@ public ForbiddenException(string message) /// /// public ForbiddenException(string format, params object[] args) - : base(string.Format(format, args)) + : base(string.Format(CultureInfo.InvariantCulture,format, args)) { } @@ -67,7 +68,7 @@ public ForbiddenException(string message, Exception innerException) /// /// public ForbiddenException(string format, Exception innerException, params object[] args) - : base(string.Format(format, args), innerException) + : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) { } diff --git a/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs b/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs index 74076acc..be8e3e5c 100644 --- a/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs +++ b/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Globalization; using System.Runtime.Serialization; namespace Redmine.Net.Api.Exceptions @@ -46,7 +47,7 @@ public InternalServerErrorException(string message) /// /// public InternalServerErrorException(string format, params object[] args) - : base(string.Format(format, args)) + : base(string.Format(CultureInfo.InvariantCulture,format, args)) { } @@ -67,7 +68,7 @@ public InternalServerErrorException(string message, Exception innerException) /// /// public InternalServerErrorException(string format, Exception innerException, params object[] args) - : base(string.Format(format, args), innerException) + : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) { } diff --git a/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs b/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs index 220b9392..6a08cb46 100644 --- a/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs +++ b/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Globalization; using System.Runtime.Serialization; namespace Redmine.Net.Api.Exceptions @@ -46,7 +47,7 @@ public NameResolutionFailureException(string message) /// /// public NameResolutionFailureException(string format, params object[] args) - : base(string.Format(format, args)) + : base(string.Format(CultureInfo.InvariantCulture,format, args)) { } @@ -67,7 +68,7 @@ public NameResolutionFailureException(string message, Exception innerException) /// /// public NameResolutionFailureException(string format, Exception innerException, params object[] args) - : base(string.Format(format, args), innerException) + : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) { } diff --git a/src/redmine-net20-api/Exceptions/NotAcceptableException.cs b/src/redmine-net20-api/Exceptions/NotAcceptableException.cs index c1ae2541..281e0cfb 100644 --- a/src/redmine-net20-api/Exceptions/NotAcceptableException.cs +++ b/src/redmine-net20-api/Exceptions/NotAcceptableException.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Globalization; using System.Runtime.Serialization; namespace Redmine.Net.Api.Exceptions @@ -46,7 +47,7 @@ public NotAcceptableException(string message) /// /// public NotAcceptableException(string format, params object[] args) - : base(string.Format(format, args)) + : base(string.Format(CultureInfo.InvariantCulture,format, args)) { } @@ -67,7 +68,7 @@ public NotAcceptableException(string message, Exception innerException) /// /// public NotAcceptableException(string format, Exception innerException, params object[] args) - : base(string.Format(format, args), innerException) + : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) { } diff --git a/src/redmine-net20-api/Exceptions/NotFoundException.cs b/src/redmine-net20-api/Exceptions/NotFoundException.cs index e50970fd..b28ca9d3 100644 --- a/src/redmine-net20-api/Exceptions/NotFoundException.cs +++ b/src/redmine-net20-api/Exceptions/NotFoundException.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Globalization; using System.Runtime.Serialization; namespace Redmine.Net.Api.Exceptions @@ -47,7 +48,7 @@ public NotFoundException(string message) /// /// public NotFoundException(string format, params object[] args) - : base(string.Format(format, args)) + : base(string.Format(CultureInfo.InvariantCulture,format, args)) { } @@ -68,7 +69,7 @@ public NotFoundException(string message, Exception innerException) /// /// public NotFoundException(string format, Exception innerException, params object[] args) - : base(string.Format(format, args), innerException) + : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) { } } diff --git a/src/redmine-net20-api/Exceptions/RedmineException.cs b/src/redmine-net20-api/Exceptions/RedmineException.cs index b28a41ae..d917780b 100644 --- a/src/redmine-net20-api/Exceptions/RedmineException.cs +++ b/src/redmine-net20-api/Exceptions/RedmineException.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Globalization; using System.Runtime.Serialization; namespace Redmine.Net.Api.Exceptions @@ -47,7 +48,7 @@ public RedmineException(string message) /// The format. /// The arguments. public RedmineException(string format, params object[] args) - : base(string.Format(format, args)) + : base(string.Format(CultureInfo.InvariantCulture,format, args)) { } @@ -68,18 +69,10 @@ public RedmineException(string message, Exception innerException) /// The inner exception. /// The arguments. public RedmineException(string format, Exception innerException, params object[] args) - : base(string.Format(format, args), innerException) + : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) { } - /// - /// Initializes a new instance of the class. - /// - /// The that holds the serialized object data about the exception being thrown. - /// The that contains contextual information about the source or destination. - protected RedmineException(SerializationInfo info, StreamingContext context) - : base(info, context) - { - } + } } \ No newline at end of file diff --git a/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs b/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs index b55503bb..cc4a17f9 100644 --- a/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs +++ b/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Globalization; using System.Runtime.Serialization; namespace Redmine.Net.Api.Exceptions @@ -46,7 +47,7 @@ public RedmineTimeoutException(string message) /// The format. /// The arguments. public RedmineTimeoutException(string format, params object[] args) - : base(string.Format(format, args)) + : base(string.Format(CultureInfo.InvariantCulture,format, args)) { } @@ -70,7 +71,7 @@ public RedmineTimeoutException(string message, Exception innerException) /// The inner exception. /// The arguments. public RedmineTimeoutException(string format, Exception innerException, params object[] args) - : base(string.Format(format, args), innerException) + : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) { } } diff --git a/src/redmine-net20-api/Exceptions/UnauthorizedException.cs b/src/redmine-net20-api/Exceptions/UnauthorizedException.cs index d4a18179..32991005 100644 --- a/src/redmine-net20-api/Exceptions/UnauthorizedException.cs +++ b/src/redmine-net20-api/Exceptions/UnauthorizedException.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Globalization; using System.Runtime.Serialization; namespace Redmine.Net.Api.Exceptions @@ -47,7 +48,7 @@ public UnauthorizedException(string message) /// The format. /// The arguments. public UnauthorizedException(string format, params object[] args) - : base(string.Format(format, args)) + : base(string.Format(CultureInfo.InvariantCulture,format, args)) { } @@ -71,7 +72,7 @@ public UnauthorizedException(string message, Exception innerException) /// The inner exception. /// The arguments. public UnauthorizedException(string format, Exception innerException, params object[] args) - : base(string.Format(format, args), innerException) + : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) { } } diff --git a/src/redmine-net20-api/Extensions/CollectionExtensions.cs b/src/redmine-net20-api/Extensions/CollectionExtensions.cs index fe17f3d9..187e6f1a 100755 --- a/src/redmine-net20-api/Extensions/CollectionExtensions.cs +++ b/src/redmine-net20-api/Extensions/CollectionExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2016 Adrian Popescu + Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -16,16 +16,19 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Text; namespace Redmine.Net.Api.Extensions { /// /// /// + + public static class CollectionExtensions { /// - /// Clones the specified list to clone. + /// Clones the specified list to clone. /// /// /// The list to clone. @@ -34,13 +37,14 @@ public static IList Clone(this IList listToClone) where T : ICloneable { if (listToClone == null) return null; IList clonedList = new List(); - foreach (T item in listToClone) - clonedList.Add((T)item.Clone()); + foreach (var item in listToClone) + clonedList.Add((T) item.Clone()); return clonedList; } + /// - /// Equalses the specified list to compare. + /// Equalses the specified list to compare. /// /// /// The list. @@ -48,14 +52,55 @@ public static IList Clone(this IList listToClone) where T : ICloneable /// public static bool Equals(this IList list, IList listToCompare) where T : class { - if (listToCompare == null) return false; - - if (list.Count != listToCompare.Count) return false; + if (list ==null || listToCompare == null) return false; +#if NET20 + if (list.Count != listToCompare.Count) + { + return false; + } var index = 0; - while (index < list.Count && (list[index] as T).Equals(listToCompare[index] as T)) index++; - + while (index < list.Count && (list[index] as T).Equals(listToCompare[index] as T)) + { + index++; + } + return index == list.Count; +#else + var set = new HashSet(list); + var setToCompare = new HashSet(listToCompare); + + return set.SetEquals(setToCompare); +#endif + } + + /// + /// + /// + /// + public static string Dump(this IEnumerable collection) where TIn : class + { + if (collection == null) + { + return null; + } + + StringBuilder sb = new StringBuilder(); + foreach (var item in collection) + { + sb.Append(",").Append(item); + } + + sb[0] = '{'; + sb.Append("}"); + + var str = sb.ToString(); +#if NET20 + sb = null; +#else + sb.Clear(); +#endif + return str; } } } \ No newline at end of file diff --git a/src/redmine-net40-api/Extensions/JsonExtensions.cs b/src/redmine-net20-api/Extensions/JsonExtensions.cs old mode 100755 new mode 100644 similarity index 93% rename from src/redmine-net40-api/Extensions/JsonExtensions.cs rename to src/redmine-net20-api/Extensions/JsonExtensions.cs index cf02206a..91292ae1 --- a/src/redmine-net40-api/Extensions/JsonExtensions.cs +++ b/src/redmine-net20-api/Extensions/JsonExtensions.cs @@ -14,6 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ +#if !NET20 using System; using System.Collections; using System.Collections.Generic; @@ -39,7 +40,7 @@ public static class JsonExtensions /// The key. public static void WriteIdIfNotNull(this Dictionary dictionary, IdentifiableName ident, string key) { - if (ident != null) dictionary.Add(key, ident.Id); + if (ident != null) dictionary.Add(key, ident.Id.ToString(CultureInfo.InvariantCulture)); } /// @@ -51,7 +52,7 @@ public static void WriteIdIfNotNull(this Dictionary dictionary, /// The empty value. public static void WriteIdOrEmpty(this Dictionary dictionary, IdentifiableName ident, string key, string emptyValue = null) { - if (ident != null) dictionary.Add(key, ident.Id); + if (ident != null) dictionary.Add(key, ident.Id.ToString(CultureInfo.InvariantCulture)); else dictionary.Add(key, emptyValue); } @@ -126,7 +127,7 @@ public static void WriteValueOrEmpty(this Dictionary dictiona if (!val.HasValue || EqualityComparer.Default.Equals(val.Value, default(T))) dictionary.Add(tag, string.Empty); else - dictionary.Add(tag, val.Value); + dictionary.Add(tag, val.Value.ToString()); } /// @@ -138,7 +139,7 @@ public static void WriteValueOrEmpty(this Dictionary dictiona /// The tag. public static void WriteValueOrDefault(this Dictionary dictionary, T? val, string tag) where T : struct { - dictionary.Add(tag, val ?? default(T)); + dictionary.Add(tag, val.GetValueOrDefault().ToString()); } /// @@ -150,10 +151,9 @@ public static void WriteValueOrDefault(this Dictionary dictio /// public static T GetValue(this IDictionary dictionary, string key) { - object val; var dict = dictionary; var type = typeof(T); - if (!dict.TryGetValue(key, out val)) return default(T); + if (!dict.TryGetValue(key, out var val)) return default(T); if (val == null) return default(T); @@ -177,8 +177,7 @@ public static T GetValue(this IDictionary dictionary, string /// public static IdentifiableName GetValueAsIdentifiableName(this IDictionary dictionary, string key) { - object val; - if (!dictionary.TryGetValue(key, out val)) return null; + if (!dictionary.TryGetValue(key, out var val)) return null; var ser = new JavaScriptSerializer(); ser.RegisterConverters(new[] { new IdentifiableNameConverter() }); @@ -196,8 +195,7 @@ public static IdentifiableName GetValueAsIdentifiableName(this IDictionary public static List GetValueAsCollection(this IDictionary dictionary, string key) where T : new() { - object val; - if (!dictionary.TryGetValue(key, out val)) return null; + if (!dictionary.TryGetValue(key, out var val)) return null; var ser = new JavaScriptSerializer(); ser.RegisterConverters(new[] { RedmineSerializer.JsonConverters[typeof(T)] }); @@ -220,4 +218,5 @@ public static IdentifiableName GetValueAsIdentifiableName(this IDictionary + /// + /// + public static class StringExtensions + { + /// + /// + /// + /// + /// + public static bool IsNullOrWhiteSpace(this string value) + { +#if NET20 + if (value == null) + { + return true; + } + + for (int index = 0; index < value.Length; ++index) + { + if (!char.IsWhiteSpace(value[index])) + { + return false; + } + } + return true; +#else + return string.IsNullOrWhiteSpace(value); +#endif + } + + /// + /// + /// + /// + /// + /// + public static string Truncate(this string text, int maximumLength) + { + if (!text.IsNullOrWhiteSpace()) + { + if (text.Length > maximumLength) + { + text = text.Substring(0, maximumLength); + } + } + + return text; + } + } +} \ No newline at end of file diff --git a/src/redmine-net20-api/Extensions/WebExtensions.cs b/src/redmine-net20-api/Extensions/WebExtensions.cs index be8df291..30971246 100755 --- a/src/redmine-net20-api/Extensions/WebExtensions.cs +++ b/src/redmine-net20-api/Extensions/WebExtensions.cs @@ -14,18 +14,18 @@ You may obtain a copy of the License at limitations under the License. */ -using System; using System.Collections.Generic; using System.IO; + using System.Net; -using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Logging; using Redmine.Net.Api.Types; +using Redmine.Net.Api.Exceptions; namespace Redmine.Net.Api.Extensions { /// + /// /// public static class WebExtensions { @@ -35,65 +35,66 @@ public static class WebExtensions /// The exception. /// The method. /// The MIME format. - /// Timeout! - /// Bad domain name! - /// - /// - /// - /// - /// The page that you are trying to update is staled! - /// + /// Timeout! + /// Bad domain name! + /// + /// + /// + /// + /// The page that you are trying to update is staled! + /// /// - /// + /// public static void HandleWebException(this WebException exception, string method, MimeFormat mimeFormat) { if (exception == null) return; switch (exception.Status) { - case WebExceptionStatus.Timeout: - throw new RedmineTimeoutException("Timeout!", exception); - case WebExceptionStatus.NameResolutionFailure: - throw new NameResolutionFailureException("Bad domain name!", exception); + case WebExceptionStatus.Timeout: throw new RedmineTimeoutException("Timeout!", exception); + case WebExceptionStatus.NameResolutionFailure: throw new NameResolutionFailureException("Bad domain name!", exception); case WebExceptionStatus.ProtocolError: - { - var response = (HttpWebResponse) exception.Response; - switch ((int) response.StatusCode) { - case (int) HttpStatusCode.NotFound: - throw new NotFoundException(response.StatusDescription, exception); - - case (int) HttpStatusCode.InternalServerError: - throw new InternalServerErrorException(response.StatusDescription, exception); - - case (int) HttpStatusCode.Unauthorized: - throw new UnauthorizedException(response.StatusDescription, exception); - - case (int) HttpStatusCode.Forbidden: - throw new ForbiddenException(response.StatusDescription, exception); - - case (int) HttpStatusCode.Conflict: - throw new ConflictException("The page that you are trying to update is staled!", exception); - - case 422: - var errors = GetRedmineExceptions(exception.Response, mimeFormat); - var message = string.Empty; - if (errors != null) - { - foreach (var error in errors) - message = message + error.Info + "\n"; - } - throw new RedmineException( - method + " has invalid or missing attribute parameters: " + message, exception); - - case (int) HttpStatusCode.NotAcceptable: - throw new NotAcceptableException(response.StatusDescription, exception); + var response = (HttpWebResponse)exception.Response; + switch ((int)response.StatusCode) + { + + case (int)HttpStatusCode.NotFound: + throw new NotFoundException (response.StatusDescription, exception); + + case (int)HttpStatusCode.InternalServerError: + throw new InternalServerErrorException(response.StatusDescription, exception); + + case (int)HttpStatusCode.Unauthorized: + throw new UnauthorizedException(response.StatusDescription, exception); + + case (int)HttpStatusCode.Forbidden: + throw new ForbiddenException(response.StatusDescription, exception); + + case (int)HttpStatusCode.Conflict: + throw new ConflictException("The page that you are trying to update is staled!", exception); + + case 422: + + var errors = GetRedmineExceptions(exception.Response, mimeFormat); + string message = string.Empty; + if (errors != null) + { + for (var index = 0; index < errors.Count; index++) + { + var error = errors[index]; + message = message + (error.Info + "\n"); + } + } + throw new RedmineException( + $"{method} has invalid or missing attribute parameters: {message}", exception); + + case (int)HttpStatusCode.NotAcceptable: throw new NotAcceptableException(response.StatusDescription, exception); + } } - } break; - default: - throw new RedmineException(exception.Message, exception); + default: throw new RedmineException(exception.Message, exception); } } @@ -112,15 +113,10 @@ private static List GetRedmineExceptions(this WebResponse webResponse, Mi { var responseFromServer = reader.ReadToEnd(); - if (string.IsNullOrEmpty(responseFromServer.Trim())) return null; - try - { - var result = RedmineSerializer.DeserializeList(responseFromServer, mimeFormat); - return result.Objects; - } - catch (Exception ex) + if (!responseFromServer.IsNullOrWhiteSpace()) { - Logger.Current.Error(ex.Message); + var errors = RedmineSerializer.DeserializeList(responseFromServer, mimeFormat); + return errors.Objects; } } return null; diff --git a/src/redmine-net20-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net20-api/Extensions/XmlReaderExtensions.cs index f4db31a9..9bc95d7c 100755 --- a/src/redmine-net20-api/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net20-api/Extensions/XmlReaderExtensions.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; @@ -24,10 +25,14 @@ limitations under the License. namespace Redmine.Net.Api.Extensions { /// - /// /// - public static partial class XmlExtensions + public static class XmlReaderExtensions { + /// + /// Date time format for journals, attachments etc. + /// + private const string INCLUDE_DATE_TIME_FORMAT = "yyyy'-'MM'-'dd HH':'mm':'ss UTC"; + /// /// Reads the attribute as int. /// @@ -37,8 +42,11 @@ public static partial class XmlExtensions public static int ReadAttributeAsInt(this XmlReader reader, string attributeName) { var attribute = reader.GetAttribute(attributeName); - int result; - if (string.IsNullOrEmpty(attribute) || !int.TryParse(attribute, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out result)) return default(int); + + if (attribute.IsNullOrWhiteSpace() || !int.TryParse(attribute, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out var result)) + { + return default(int); + } return result; } @@ -52,8 +60,11 @@ public static int ReadAttributeAsInt(this XmlReader reader, string attributeName public static int? ReadAttributeAsNullableInt(this XmlReader reader, string attributeName) { var attribute = reader.GetAttribute(attributeName); - int result; - if (string.IsNullOrEmpty(attribute) || !int.TryParse(attribute, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out result)) return default(int?); + + if (attribute.IsNullOrWhiteSpace() || !int.TryParse(attribute, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out var result)) + { + return default(int?); + } return result; } @@ -67,8 +78,11 @@ public static int ReadAttributeAsInt(this XmlReader reader, string attributeName public static bool ReadAttributeAsBoolean(this XmlReader reader, string attributeName) { var attribute = reader.GetAttribute(attributeName); - bool result; - if (string.IsNullOrEmpty(attribute) || !bool.TryParse(attribute, out result)) return false; + + if (attribute.IsNullOrWhiteSpace() || !bool.TryParse(attribute, out var result)) + { + return false; + } return result; } @@ -80,9 +94,15 @@ public static bool ReadAttributeAsBoolean(this XmlReader reader, string attribut /// public static DateTime? ReadElementContentAsNullableDateTime(this XmlReader reader) { - var str = reader.ReadElementContentAsString(); - DateTime result; - if (string.IsNullOrEmpty(str) || !DateTime.TryParse(str, out result)) return null; + var content = reader.ReadElementContentAsString(); + + if (content.IsNullOrWhiteSpace() || !DateTime.TryParse(content, out var result)) + { + if (!DateTime.TryParseExact(content, INCLUDE_DATE_TIME_FORMAT, CultureInfo.InvariantCulture, DateTimeStyles.None, out result)) + { + return null; + } + } return result; } @@ -94,9 +114,11 @@ public static bool ReadAttributeAsBoolean(this XmlReader reader, string attribut /// public static float? ReadElementContentAsNullableFloat(this XmlReader reader) { - var str = reader.ReadElementContentAsString(); - float result; - if (string.IsNullOrEmpty(str) || !float.TryParse(str, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out result)) return null; + var content = reader.ReadElementContentAsString(); + if (content.IsNullOrWhiteSpace() || !float.TryParse(content, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out var result)) + { + return null; + } return result; } @@ -108,9 +130,12 @@ public static bool ReadAttributeAsBoolean(this XmlReader reader, string attribut /// public static int? ReadElementContentAsNullableInt(this XmlReader reader) { - var str = reader.ReadElementContentAsString(); - int result; - if (string.IsNullOrEmpty(str) || !int.TryParse(str, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out result)) return null; + var content = reader.ReadElementContentAsString(); + + if (content.IsNullOrWhiteSpace() || !int.TryParse(content, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out var result)) + { + return null; + } return result; } @@ -122,9 +147,12 @@ public static bool ReadAttributeAsBoolean(this XmlReader reader, string attribut /// public static decimal? ReadElementContentAsNullableDecimal(this XmlReader reader) { - var str = reader.ReadElementContentAsString(); - decimal result; - if (string.IsNullOrEmpty(str) || !decimal.TryParse(str, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out result)) return null; + var content = reader.ReadElementContentAsString(); + + if (content.IsNullOrWhiteSpace() || !decimal.TryParse(content, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out var result)) + { + return null; + } return result; } @@ -137,12 +165,13 @@ public static bool ReadAttributeAsBoolean(this XmlReader reader, string attribut /// public static List ReadElementContentAsCollection(this XmlReader reader) where T : class { - var result = new List(); - var serializer = new XmlSerializer(typeof(T)); - var xml = reader.ReadOuterXml(); - using (var sr = new StringReader(xml)) + List result = null; + XmlSerializer serializer = null; + var outerXml = reader.ReadOuterXml(); + + using (var stringReader = new StringReader(outerXml)) { - using (var xmlTextReader = new XmlTextReader(sr)) + using (var xmlTextReader = new XmlTextReader(stringReader)) { xmlTextReader.ReadStartElement(); while (!xmlTextReader.EOF) @@ -153,26 +182,99 @@ public static List ReadElementContentAsCollection(this XmlReader reader) w continue; } - T obj; + T entity; + + if (serializer == null) + { + serializer = new XmlSerializer(typeof(T)); + } if (xmlTextReader.IsEmptyElement && xmlTextReader.HasAttributes) { - obj = serializer.Deserialize(xmlTextReader) as T; + entity = serializer.Deserialize(xmlTextReader) as T; } else { + if (xmlTextReader.NodeType != XmlNodeType.Element) + { + xmlTextReader.Read(); + continue; + } + var subTree = xmlTextReader.ReadSubtree(); - obj = serializer.Deserialize(subTree) as T; + entity = serializer.Deserialize(subTree) as T; + } + + if (entity != null) + { + if (result == null) + { + result = new List(); + } + + result.Add(entity); } - if (obj != null) - result.Add(obj); if (!xmlTextReader.IsEmptyElement) + { xmlTextReader.Read(); + } } } } return result; } + + /// + /// Reads the element content as enumerable. + /// + /// + /// The reader. + /// + public static IEnumerable ReadElementContentAsEnumerable(this XmlReader reader) where T : class + { + XmlSerializer serializer = null; + var outerXml = reader.ReadOuterXml(); + using (var stringReader = new StringReader(outerXml)) + { + using (var xmlTextReader = new XmlTextReader(stringReader)) + { + xmlTextReader.ReadStartElement(); + while (!xmlTextReader.EOF) + { + if (xmlTextReader.NodeType == XmlNodeType.EndElement) + { + xmlTextReader.ReadEndElement(); + continue; + } + + T entity; + if (serializer == null) + { + serializer = new XmlSerializer(typeof(T)); + } + + if (xmlTextReader.IsEmptyElement && xmlTextReader.HasAttributes) + { + entity = serializer.Deserialize(xmlTextReader) as T; + } + else + { + var subTree = xmlTextReader.ReadSubtree(); + entity = serializer.Deserialize(subTree) as T; + } + if (entity != null) + { + yield return entity; + } + + if (!xmlTextReader.IsEmptyElement) + { + xmlTextReader.Read(); + } + } + } + } + } } } \ No newline at end of file diff --git a/src/redmine-net20-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net20-api/Extensions/XmlWriterExtensions.cs index d521101e..4fa3e5c1 100755 --- a/src/redmine-net20-api/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net20-api/Extensions/XmlWriterExtensions.cs @@ -100,8 +100,13 @@ public static void WriteArray(this XmlWriter writer, IEnumerable collection, str foreach (var item in collection) { - new XmlSerializer(type, new XmlAttributeOverrides(), new Type[] { }, new XmlRootAttribute(root), + #if (NET20 || NET40 || NET45 || NET451 || NET452) + new XmlSerializer(type, new XmlAttributeOverrides(), new Type[]{}, new XmlRootAttribute(root), defaultNamespace).Serialize(writer, item); +#else + new XmlSerializer(type, new XmlAttributeOverrides(), Array.Empty(), new XmlRootAttribute(root), + defaultNamespace).Serialize(writer, item); + #endif } writer.WriteEndElement(); @@ -165,7 +170,7 @@ public static void WriteIfNotDefaultOrNull(this XmlWriter writer, T? val, str { if (!val.HasValue) return; if (!EqualityComparer.Default.Equals(val.Value, default(T))) - writer.WriteElementString(tag, string.Format(NumberFormatInfo.InvariantInfo, "{0}", val.Value)); + writer.WriteElementString(tag, string.Format(NumberFormatInfo.InvariantInfo, "{0}", val.Value.ToString())); } /// @@ -180,7 +185,7 @@ public static void WriteValueOrEmpty(this XmlWriter writer, T? val, string ta if (!val.HasValue || EqualityComparer.Default.Equals(val.Value, default(T))) writer.WriteElementString(tag, string.Empty); else - writer.WriteElementString(tag, string.Format(NumberFormatInfo.InvariantInfo, "{0}", val.Value)); + writer.WriteElementString(tag, string.Format(NumberFormatInfo.InvariantInfo, "{0}", val.Value.ToString())); } /// diff --git a/src/redmine-net20-api/IRedmineManager.cs b/src/redmine-net20-api/IRedmineManager.cs index 743327d6..4a39c132 100644 --- a/src/redmine-net20-api/IRedmineManager.cs +++ b/src/redmine-net20-api/IRedmineManager.cs @@ -254,8 +254,8 @@ public interface IRedmineManager /// /// /// - /// + /// /// - bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors error); + bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors sslPolicyErrors); } } \ No newline at end of file diff --git a/src/redmine-net20-api/Internals/DataHelper.cs b/src/redmine-net20-api/Internals/DataHelper.cs index d6f108ab..dce5dd76 100755 --- a/src/redmine-net20-api/Internals/DataHelper.cs +++ b/src/redmine-net20-api/Internals/DataHelper.cs @@ -30,8 +30,8 @@ internal static class DataHelper public static string UserData(int userId, MimeFormat mimeFormat) { return mimeFormat == MimeFormat.Xml - ? "" + userId + "" - : "{\"user_id\":\"" + userId + "\"}"; + ? $"{userId}" + : $"{{\"user_id\":\"{userId}\"}}"; } } } \ No newline at end of file diff --git a/src/redmine-net20-api/Internals/Func.cs b/src/redmine-net20-api/Internals/Func.cs old mode 100755 new mode 100644 index 380ff125..d279f3eb --- a/src/redmine-net20-api/Internals/Func.cs +++ b/src/redmine-net20-api/Internals/Func.cs @@ -14,7 +14,8 @@ You may obtain a copy of the License at limitations under the License. */ -namespace Redmine.Net.Api.Internals +#if NET20 +namespace System { /// /// @@ -66,4 +67,5 @@ namespace Redmine.Net.Api.Internals /// The arg4. /// public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/Internals/HashCodeHelper.cs b/src/redmine-net20-api/Internals/HashCodeHelper.cs index 59c80263..c33d5f28 100755 --- a/src/redmine-net20-api/Internals/HashCodeHelper.cs +++ b/src/redmine-net20-api/Internals/HashCodeHelper.cs @@ -14,6 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ +using System; using System.Collections.Generic; namespace Redmine.Net.Api.Internals @@ -32,19 +33,17 @@ internal static class HashCodeHelper /// /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. /// - public static int GetHashCode(IList list, int hash) + public static int GetHashCode(IList list, int hash) where T : class { unchecked { var hashCode = hash; - if (list != null) + if (list == null) return hashCode; + hashCode = (hashCode * 13) + list.Count; + foreach (var t in list) { - hashCode = (hashCode * 13) + list.Count; - foreach (T t in list) - { - hashCode *= 13; - if (t != null) hashCode = hashCode + t.GetHashCode(); - } + hashCode *= 13; + if (t != null) hashCode += t.GetHashCode(); } return hashCode; @@ -66,7 +65,22 @@ public static int GetHashCode(T entity, int hash) { var hashCode = hash; - hashCode = (hashCode * 397) ^ (entity == null ? 0 : entity.GetHashCode()); + var type = typeof(T); + + var isNullable = Nullable.GetUnderlyingType(type) != null; + if (isNullable) + { + type = type.UnderlyingSystemType; + } + + if (type.IsValueType) + { + hashCode = (hashCode * 397) ^ entity.GetHashCode(); + } + else + { + hashCode = (hashCode * 397) ^ (entity?.GetHashCode() ?? 0); + } return hashCode; } diff --git a/src/redmine-net20-api/Internals/RedmineSerializer.cs b/src/redmine-net20-api/Internals/RedmineSerializer.cs index 4a1cbdb4..9cbb0943 100755 --- a/src/redmine-net20-api/Internals/RedmineSerializer.cs +++ b/src/redmine-net20-api/Internals/RedmineSerializer.cs @@ -16,6 +16,9 @@ limitations under the License. using System; using System.IO; +#if !NET20 +using System.Linq; +#endif using System.Xml; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; @@ -24,11 +27,9 @@ limitations under the License. namespace Redmine.Net.Api.Internals { - /// - /// - /// - internal static class RedmineSerializer - { + internal static partial class RedmineSerializer + { + private static readonly XmlWriterSettings xws = new XmlWriterSettings {OmitXmlDeclaration = true}; /// /// Serializes the specified System.Object and writes the XML document to a string. /// @@ -38,16 +39,14 @@ internal static class RedmineSerializer /// The System.String that contains the XML document. /// /// - /// // ReSharper disable once InconsistentNaming private static string ToXML(T obj) where T : class { - var xws = new XmlWriterSettings { OmitXmlDeclaration = true }; using (var stringWriter = new StringWriter()) { using (var xmlWriter = XmlWriter.Create(stringWriter, xws)) { - var sr = new XmlSerializer(typeof(T)); + var sr = new XmlSerializer(typeof (T)); sr.Serialize(xmlWriter, obj); return stringWriter.ToString(); } @@ -67,86 +66,152 @@ private static string ToXML(T obj) where T : class // ReSharper disable once InconsistentNaming private static T FromXML(string xml) where T : class { - using (var text = new StringReader(xml)) + if(xml.IsNullOrWhiteSpace()) throw new ArgumentNullException(nameof(xml)); + + using (var text = new XmlTextReader(xml)) { - var sr = new XmlSerializer(typeof(T)); + var sr = new XmlSerializer(typeof (T)); return sr.Deserialize(text) as T; } } /// - /// Deserializes the XML document contained by the specific System.String. + /// Serializes the specified type T and writes the XML document to a string. /// - /// The System.String that contains the XML document to deserialize. - /// The type of objects to deserialize. - /// - /// The System.Object being deserialized. - /// - /// An error occurred during deserialization. The original exception is available - /// using the System.Exception.InnerException property. - // ReSharper disable once InconsistentNaming - private static object FromXML(string xml, Type type) + /// + /// The object. + /// The MIME format. + /// + /// Serialization error + public static string Serialize(T obj, MimeFormat mimeFormat) where T : class, new() { - using (var text = new StringReader(xml)) + try + { +#if !NET20 + if (mimeFormat == MimeFormat.Json) + { + return JsonSerializer(obj); + } +#endif + return ToXML(obj); + } + catch (Exception ex) { - var sr = new XmlSerializer(type); - return sr.Deserialize(text); + throw new RedmineException("Serialization error", ex); } } /// - /// Serializes the specified object. + /// Deserializes the XML document contained by the specific System.String. /// /// - /// The object. + /// The response. /// The MIME format. /// - public static string Serialize(T obj, MimeFormat mimeFormat) where T : class, new() + /// + /// Could not deserialize null! + /// or + /// Deserialization error + /// + /// + /// + /// + public static T Deserialize(string response, MimeFormat mimeFormat) where T : class, new() { - return ToXML(obj); + if (string.IsNullOrEmpty(response)) throw new RedmineException("Could not deserialize null!"); + try + { +#if !NET20 + if (mimeFormat == MimeFormat.Json) + { + var type = typeof (T); + var jsonRoot = (string) null; + if (type == typeof (IssueCategory)) jsonRoot = RedmineKeys.ISSUE_CATEGORY; + if (type == typeof (IssueRelation)) jsonRoot = RedmineKeys.RELATION; + if (type == typeof (TimeEntry)) jsonRoot = RedmineKeys.TIME_ENTRY; + if (type == typeof (ProjectMembership)) jsonRoot = RedmineKeys.MEMBERSHIP; + if (type == typeof (WikiPage)) jsonRoot = RedmineKeys.WIKI_PAGE; + return JsonDeserialize(response, jsonRoot); + } +#endif + return FromXML(response); + } + catch (Exception ex) + { + throw new RedmineException("Deserialization error",ex); + } } /// - /// Deserializes the specified response. + /// Deserializes the list. /// /// /// The response. /// The MIME format. /// - /// could not deserialize: + response - public static T Deserialize(string response, MimeFormat mimeFormat) where T : class, new() + /// + /// Could not deserialize null! + /// or + /// Deserialization error + /// + public static PaginatedObjects DeserializeList(string response, MimeFormat mimeFormat) + where T : class, new() { - if (string.IsNullOrEmpty(response)) throw new RedmineException("could not deserialize: " + response); + try + { + if (response.IsNullOrWhiteSpace()) throw new RedmineException("Could not deserialize null!"); +#if !NET20 + if (mimeFormat == MimeFormat.Json) + { + return JSonDeserializeList(response); + } +#endif + return XmlDeserializeList(response); + } - return FromXML(response); + catch (Exception ex) + { + throw new RedmineException("Deserialization error", ex); + } } +#if !NET20 /// - /// Deserializes the list. + /// js the son deserialize list. /// /// /// The response. - /// The MIME format. /// - /// web response is null! - public static PaginatedObjects DeserializeList(string response, MimeFormat mimeFormat) where T : class, new() + private static PaginatedObjects JSonDeserializeList(string response) where T : class, new() { - if (string.IsNullOrEmpty(response)) throw new RedmineException("web response is null!"); + var type = typeof(T); + var jsonRoot = (string)null; + if (type == typeof(Error)) jsonRoot = RedmineKeys.ERRORS; + if (type == typeof(WikiPage)) jsonRoot = RedmineKeys.WIKI_PAGES; + if (type == typeof(IssuePriority)) jsonRoot = RedmineKeys.ISSUE_PRIORITIES; + if (type == typeof(TimeEntryActivity)) jsonRoot = RedmineKeys.TIME_ENTRY_ACTIVITIES; - return XmlDeserializeList(response); - } + if (string.IsNullOrEmpty(jsonRoot)) + jsonRoot = RedmineManager.Sufixes[type]; + var result = JsonDeserializeToList(response, jsonRoot, out int totalItems, out int offset); + + return new PaginatedObjects() + { + TotalCount = totalItems, + Offset = offset, + Objects = result.ToList() + }; + } +#endif /// /// XMLs the deserialize list. /// /// /// The response. /// - /// could not deserialize: + response private static PaginatedObjects XmlDeserializeList(string response) where T : class, new() { - if (string.IsNullOrEmpty(response)) throw new RedmineException("could not deserialize: " + response); - using (var stringReader = new StringReader(response)) { using (var xmlReader = new XmlTextReader(stringReader)) @@ -156,11 +221,12 @@ private static object FromXML(string xml, Type type) xmlReader.Read(); var totalItems = xmlReader.ReadAttributeAsInt(RedmineKeys.TOTAL_COUNT); - + var offset = xmlReader.ReadAttributeAsInt(RedmineKeys.OFFSET); var result = xmlReader.ReadElementContentAsCollection(); return new PaginatedObjects() { TotalCount = totalItems, + Offset = offset, Objects = result }; } diff --git a/src/redmine-net40-api/Internals/RedmineSerializerJson.cs b/src/redmine-net20-api/Internals/RedmineSerializerJson.cs similarity index 98% rename from src/redmine-net40-api/Internals/RedmineSerializerJson.cs rename to src/redmine-net20-api/Internals/RedmineSerializerJson.cs index 024d91fb..2395db87 100755 --- a/src/redmine-net40-api/Internals/RedmineSerializerJson.cs +++ b/src/redmine-net20-api/Internals/RedmineSerializerJson.cs @@ -13,7 +13,7 @@ You may obtain a copy of the License at See the License for the specific language governing permissions and limitations under the License. */ - +#if !NET20 using System; using System.Collections.Generic; using System.Web.Script.Serialization; @@ -149,7 +149,7 @@ public static List JsonDeserializeToList(string jsonString, string root, o /// public static object JsonDeserialize(string jsonString, Type type, string root) { - if (string.IsNullOrEmpty(jsonString)) throw new ArgumentNullException("jsonString"); + if (string.IsNullOrEmpty(jsonString)) throw new ArgumentNullException(nameof(jsonString)); var serializer = new JavaScriptSerializer(); serializer.RegisterConverters(new[] { jsonConverters[type] }); @@ -198,7 +198,7 @@ private static object JsonDeserializeToList(string jsonString, string root, Type { totalCount = 0; offset = 0; - if (string.IsNullOrEmpty(jsonString)) throw new ArgumentNullException("jsonString"); + if (string.IsNullOrEmpty(jsonString)) throw new ArgumentNullException(nameof(jsonString)); var serializer = new JavaScriptSerializer(); serializer.RegisterConverters(new[] { jsonConverters[type] }); @@ -227,7 +227,7 @@ private static object JsonDeserializeToList(string jsonString, string root, Type } else { - info += item as string + " "; + info += $"{item as string} "; } } var err = new Error { Info = info }; @@ -240,4 +240,5 @@ private static object JsonDeserializeToList(string jsonString, string root, Type return arrayList; } } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/Internals/UrlHelper.cs b/src/redmine-net20-api/Internals/UrlHelper.cs index 5efb6f25..f869daa1 100644 --- a/src/redmine-net20-api/Internals/UrlHelper.cs +++ b/src/redmine-net20-api/Internals/UrlHelper.cs @@ -84,7 +84,7 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id, T if (!RedmineManager.Sufixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); return string.Format(REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], id, - redmineManager.MimeFormat.ToString().ToLower()); + redmineManager.MimeFormat.ToString().ToLowerInvariant()); } /// @@ -110,13 +110,13 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id, T { if (string.IsNullOrEmpty(ownerId)) throw new RedmineException("The owner id(project id) is mandatory!"); return string.Format(ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.PROJECTS, - ownerId, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLower()); + ownerId, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLowerInvariant()); } if (type == typeof(IssueRelation)) { if (string.IsNullOrEmpty(ownerId)) throw new RedmineException("The owner id(issue id) is mandatory!"); return string.Format(ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.ISSUES, - ownerId, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLower()); + ownerId, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLowerInvariant()); } if (type == typeof(File)) @@ -125,11 +125,11 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id, T { throw new RedmineException("The owner id(project id) is mandatory!"); } - return string.Format(FILE_URL_FORMAT, redmineManager.Host, ownerId, redmineManager.MimeFormat.ToString().ToLower()); + return string.Format(FILE_URL_FORMAT, redmineManager.Host, ownerId, redmineManager.MimeFormat.ToString().ToLowerInvariant()); } return string.Format(FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], - redmineManager.MimeFormat.ToString().ToLower()); + redmineManager.MimeFormat.ToString().ToLowerInvariant()); } /// @@ -148,7 +148,7 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id, T if (!RedmineManager.Sufixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); return string.Format(REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], id, - redmineManager.MimeFormat.ToString().ToLower()); + redmineManager.MimeFormat.ToString().ToLowerInvariant()); } /// @@ -166,7 +166,7 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id, T if (!RedmineManager.Sufixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); return string.Format(REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], id, - redmineManager.MimeFormat.ToString().ToLower()); + redmineManager.MimeFormat.ToString().ToLowerInvariant()); } /// @@ -196,7 +196,7 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle throw new RedmineException("The project id is mandatory! \nCheck if you have included the parameter project_id to parameters."); return string.Format(ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.PROJECTS, - projectId, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLower()); + projectId, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLowerInvariant()); } if (type == typeof(IssueRelation)) { @@ -205,7 +205,7 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle throw new RedmineException("The issue id is mandatory! \nCheck if you have included the parameter issue_id to parameters"); return string.Format(ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.ISSUES, - issueId, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLower()); + issueId, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLowerInvariant()); } if (type == typeof(File)) @@ -215,11 +215,11 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle { throw new RedmineException("The project id is mandatory! \nCheck if you have included the parameter project_id to parameters."); } - return string.Format(FILE_URL_FORMAT, redmineManager.Host, projectId, redmineManager.MimeFormat.ToString().ToLower()); + return string.Format(FILE_URL_FORMAT, redmineManager.Host, projectId, redmineManager.MimeFormat.ToString().ToLowerInvariant()); } return string.Format(FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], - redmineManager.MimeFormat.ToString().ToLower()); + redmineManager.MimeFormat.ToString().ToLowerInvariant()); } /// @@ -231,7 +231,7 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle public static string GetWikisUrl(RedmineManager redmineManager, string projectId) { return string.Format(WIKI_INDEX_FORMAT, redmineManager.Host, projectId, - redmineManager.MimeFormat.ToString().ToLower()); + redmineManager.MimeFormat.ToString().ToLowerInvariant()); } /// @@ -248,9 +248,9 @@ public static string GetWikiPageUrl(RedmineManager redmineManager, string projec { var uri = version == 0 ? string.Format(WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, - redmineManager.MimeFormat.ToString().ToLower()) + redmineManager.MimeFormat.ToString().ToLowerInvariant()) : string.Format(WIKI_VERSION_FORMAT, redmineManager.Host, projectId, pageName, version, - redmineManager.MimeFormat.ToString().ToLower()); + redmineManager.MimeFormat.ToString().ToLowerInvariant()); return uri; } @@ -264,7 +264,7 @@ public static string GetAddUserToGroupUrl(RedmineManager redmineManager, int gro { return string.Format(REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[typeof(Group)], - groupId + "/users", redmineManager.MimeFormat.ToString().ToLower()); + $"{groupId}/users", redmineManager.MimeFormat.ToString().ToLowerInvariant()); } /// @@ -278,7 +278,7 @@ public static string GetRemoveUserFromGroupUrl(RedmineManager redmineManager, in { return string.Format(REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[typeof(Group)], - groupId + "/users/" + userId, redmineManager.MimeFormat.ToString().ToLower()); + $"{groupId}/users/{userId}", redmineManager.MimeFormat.ToString().ToLowerInvariant()); } /// @@ -289,7 +289,7 @@ public static string GetRemoveUserFromGroupUrl(RedmineManager redmineManager, in public static string GetUploadFileUrl(RedmineManager redmineManager) { return string.Format(FORMAT, redmineManager.Host, RedmineKeys.UPLOADS, - redmineManager.MimeFormat.ToString().ToLower()); + redmineManager.MimeFormat.ToString().ToLowerInvariant()); } /// @@ -301,7 +301,7 @@ public static string GetCurrentUserUrl(RedmineManager redmineManager) { return string.Format(REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[typeof(User)], CURRENT_USER_URI, - redmineManager.MimeFormat.ToString().ToLower()); + redmineManager.MimeFormat.ToString().ToLowerInvariant()); } /// @@ -314,7 +314,7 @@ public static string GetCurrentUserUrl(RedmineManager redmineManager) public static string GetWikiCreateOrUpdaterUrl(RedmineManager redmineManager, string projectId, string pageName) { return string.Format(WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, - redmineManager.MimeFormat.ToString().ToLower()); + redmineManager.MimeFormat.ToString().ToLowerInvariant()); } /// @@ -327,7 +327,7 @@ public static string GetWikiCreateOrUpdaterUrl(RedmineManager redmineManager, st public static string GetDeleteWikirUrl(RedmineManager redmineManager, string projectId, string pageName) { return string.Format(WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, - redmineManager.MimeFormat.ToString().ToLower()); + redmineManager.MimeFormat.ToString().ToLowerInvariant()); } /// @@ -340,8 +340,8 @@ public static string GetDeleteWikirUrl(RedmineManager redmineManager, string pro public static string GetAddWatcherUrl(RedmineManager redmineManager, int issueId, int userId) { return string.Format(REQUEST_FORMAT, redmineManager.Host, - RedmineManager.Sufixes[typeof(Issue)], issueId + "/watchers", - redmineManager.MimeFormat.ToString().ToLower()); + RedmineManager.Sufixes[typeof(Issue)], $"{issueId}/watchers", + redmineManager.MimeFormat.ToString().ToLowerInvariant()); } /// @@ -354,8 +354,8 @@ public static string GetAddWatcherUrl(RedmineManager redmineManager, int issueId public static string GetRemoveWatcherUrl(RedmineManager redmineManager, int issueId, int userId) { return string.Format(REQUEST_FORMAT, redmineManager.Host, - RedmineManager.Sufixes[typeof(Issue)], issueId + "/watchers/" + userId, - redmineManager.MimeFormat.ToString().ToLower()); + RedmineManager.Sufixes[typeof(Issue)], $"{issueId}/watchers/{userId}", + redmineManager.MimeFormat.ToString().ToLowerInvariant()); } /// @@ -367,7 +367,7 @@ public static string GetRemoveWatcherUrl(RedmineManager redmineManager, int issu public static string GetAttachmentUpdateUrl(RedmineManager redmineManager, int issueId) { return string.Format(ATTACHMENT_UPDATE_FORMAT, redmineManager.Host, issueId, - redmineManager.MimeFormat.ToString().ToLower()); + redmineManager.MimeFormat.ToString().ToLowerInvariant()); } } } \ No newline at end of file diff --git a/src/redmine-net450-api/Internals/WebApiAsyncHelper.cs b/src/redmine-net20-api/Internals/WebApiAsyncHelper.cs similarity index 99% rename from src/redmine-net450-api/Internals/WebApiAsyncHelper.cs rename to src/redmine-net20-api/Internals/WebApiAsyncHelper.cs index 69b89410..704207fe 100644 --- a/src/redmine-net450-api/Internals/WebApiAsyncHelper.cs +++ b/src/redmine-net20-api/Internals/WebApiAsyncHelper.cs @@ -13,7 +13,7 @@ You may obtain a copy of the License at See the License for the specific language governing permissions and limitations under the License. */ - +#if !(NET20 || NET40) using System.Collections.Generic; using System.Collections.Specialized; using System.Net; @@ -198,4 +198,5 @@ public static async Task ExecuteUploadFile(RedmineManager redmineManager } } } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/Internals/XmlStreamingDeserializer.cs b/src/redmine-net20-api/Internals/XmlStreamingDeserializer.cs deleted file mode 100755 index 6e939e7b..00000000 --- a/src/redmine-net20-api/Internals/XmlStreamingDeserializer.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System.IO; -using System.Xml; -using System.Xml.Serialization; - -namespace Redmine.Net.Api -{ - /// - /// - /// - /// - /// http://florianreischl.blogspot.ro/search/label/c%23 - public class XmlStreamingDeserializer - { - static XmlSerializerNamespaces ns; - XmlSerializer serializer; - XmlReader reader; - - static XmlStreamingDeserializer() - { - ns = new XmlSerializerNamespaces(); - ns.Add("", ""); - } - - private XmlStreamingDeserializer() - { - serializer = new XmlSerializer(typeof(T)); - } - - public XmlStreamingDeserializer(TextReader reader) - : this(XmlReader.Create(reader)) - { - } - - public XmlStreamingDeserializer(XmlReader reader) - : this() - { - this.reader = reader; - } - - public void Close() - { - reader.Close(); - } - - public T Deserialize() - { - while (reader.Read()) - { - if (reader.NodeType == XmlNodeType.Element && reader.Depth == 1 && reader.Name == typeof(T).Name) - { - XmlReader xmlReader = reader.ReadSubtree(); - return (T)serializer.Deserialize(xmlReader); - } - } - return default(T); - } - } -} \ No newline at end of file diff --git a/src/redmine-net20-api/Internals/XmlStreamingSerializer.cs b/src/redmine-net20-api/Internals/XmlStreamingSerializer.cs deleted file mode 100755 index 56549eee..00000000 --- a/src/redmine-net20-api/Internals/XmlStreamingSerializer.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System.IO; -using System.Xml; -using System.Xml.Serialization; - -namespace Redmine.Net.Api -{ - /// - /// - /// - /// - /// http://florianreischl.blogspot.ro/search/label/c%23 - public class XmlStreamingSerializer - { - static XmlSerializerNamespaces ns; - XmlSerializer serializer = new XmlSerializer(typeof(T)); - XmlWriter writer; - bool finished; - - static XmlStreamingSerializer() - { - ns = new XmlSerializerNamespaces(); - ns.Add("", ""); - } - - private XmlStreamingSerializer() - { - serializer = new XmlSerializer(typeof(T)); - } - - public XmlStreamingSerializer(TextWriter w) - : this(XmlWriter.Create(w)) - { - } - - public XmlStreamingSerializer(XmlWriter writer) - : this() - { - this.writer = writer; - writer.WriteStartDocument(); - writer.WriteStartElement("ArrayOf" + typeof(T).Name); - } - - public void Finish() - { - writer.WriteEndDocument(); - writer.Flush(); - finished = true; - } - - public void Close() - { - if (!finished) - Finish(); - writer.Close(); - } - - public void Serialize(T item) - { - serializer.Serialize(writer, item, ns); - } - } -} \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/AttachmentConverter.cs b/src/redmine-net20-api/JSonConverters/AttachmentConverter.cs new file mode 100755 index 00000000..7122a92a --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/AttachmentConverter.cs @@ -0,0 +1,100 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 + + +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + + +namespace Redmine.Net.Api.JSonConverters +{ + /// + /// + /// + /// + internal class AttachmentConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// An instance of property data stored as name/value pairs. + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var attachment = new Attachment(); + + attachment.Id = dictionary.GetValue(RedmineKeys.ID); + attachment.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); + attachment.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); + attachment.ContentType = dictionary.GetValue(RedmineKeys.CONTENT_TYPE); + attachment.ContentUrl = dictionary.GetValue(RedmineKeys.CONTENT_URL); + attachment.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); + attachment.FileName = dictionary.GetValue(RedmineKeys.FILENAME); + attachment.FileSize = dictionary.GetValue(RedmineKeys.FILESIZE); + + return attachment; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as Attachment; + var result = new Dictionary(); + + if (entity != null) + { + result.Add(RedmineKeys.FILENAME, entity.FileName); + result.Add(RedmineKeys.DESCRIPTION, entity.Description); + } + + var root = new Dictionary(); + root[RedmineKeys.ATTACHMENT] = result; + + return root; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes { get { return new List(new[] { typeof(Attachment) }); } } + + #endregion + } +} + +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/AttachmentsConverter.cs b/src/redmine-net20-api/JSonConverters/AttachmentsConverter.cs new file mode 100755 index 00000000..9b1b209d --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/AttachmentsConverter.cs @@ -0,0 +1,82 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System.Globalization; +#if !NET20 +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class AttachmentsConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// An instance of property data stored as name/value pairs. + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object’s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as Attachments; + var result = new Dictionary(); + + if (entity != null) + { + foreach (var entry in entity) + { + var attachment = new AttachmentConverter().Serialize(entry.Value, serializer); + result.Add(entry.Key.ToString(CultureInfo.InvariantCulture), attachment.First().Value); + } + } + + var root = new Dictionary(); + root[RedmineKeys.ATTACHMENTS] = result; + + return root; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes { get { return new List(new[] { typeof(Attachments) }); } } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/ChangeSetConverter.cs b/src/redmine-net20-api/JSonConverters/ChangeSetConverter.cs new file mode 100755 index 00000000..f73ee73a --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/ChangeSetConverter.cs @@ -0,0 +1,82 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Types; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class ChangeSetConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// An instance of property data stored as name/value pairs. + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var changeSet = new ChangeSet + { + Revision = dictionary.GetValue(RedmineKeys.REVISION), + Comments = dictionary.GetValue(RedmineKeys.COMMENTS), + User = dictionary.GetValueAsIdentifiableName(RedmineKeys.USER), + CommittedOn = dictionary.GetValue(RedmineKeys.COMMITTED_ON) + }; + + + return changeSet; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(ChangeSet)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/CustomFieldConverter.cs b/src/redmine-net20-api/JSonConverters/CustomFieldConverter.cs new file mode 100755 index 00000000..db516280 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/CustomFieldConverter.cs @@ -0,0 +1,93 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class CustomFieldConverter : IdentifiableNameConverter + { + #region Overrides of JavaScriptConverter + + /// + /// Deserializes the specified dictionary. + /// + /// The dictionary. + /// The type. + /// The serializer. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var customField = new CustomField(); + + customField.Id = dictionary.GetValue(RedmineKeys.ID); + customField.Name = dictionary.GetValue(RedmineKeys.NAME); + customField.CustomizedType = dictionary.GetValue(RedmineKeys.CUSTOMIZED_TYPE); + customField.FieldFormat = dictionary.GetValue(RedmineKeys.FIELD_FORMAT); + customField.Regexp = dictionary.GetValue(RedmineKeys.REGEXP); + customField.MinLength = dictionary.GetValue(RedmineKeys.MIN_LENGTH); + customField.MaxLength = dictionary.GetValue(RedmineKeys.MAX_LENGTH); + customField.IsRequired = dictionary.GetValue(RedmineKeys.IS_REQUIRED); + customField.IsFilter = dictionary.GetValue(RedmineKeys.IS_FILTER); + customField.Searchable = dictionary.GetValue(RedmineKeys.SEARCHABLE); + customField.Multiple = dictionary.GetValue(RedmineKeys.MULTIPLE); + customField.DefaultValue = dictionary.GetValue(RedmineKeys.DEFAULT_VALUE); + customField.Visible = dictionary.GetValue(RedmineKeys.VISIBLE); + customField.PossibleValues = + dictionary.GetValueAsCollection(RedmineKeys.POSSIBLE_VALUES); + customField.Trackers = dictionary.GetValueAsCollection(RedmineKeys.TRACKERS); + customField.Roles = dictionary.GetValueAsCollection(RedmineKeys.ROLES); + + + return customField; + } + + return null; + } + + /// + /// Serializes the specified object. + /// + /// The object. + /// The serializer. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// Gets the supported types. + /// + /// + /// The supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(CustomField)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/CustomFieldPossibleValueConverter.cs b/src/redmine-net20-api/JSonConverters/CustomFieldPossibleValueConverter.cs new file mode 100644 index 00000000..cc36315a --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/CustomFieldPossibleValueConverter.cs @@ -0,0 +1,77 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class CustomFieldPossibleValueConverter : IdentifiableNameConverter + { + #region Overrides of JavaScriptConverter + + /// + /// Deserializes the specified dictionary. + /// + /// The dictionary. + /// The type. + /// The serializer. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var entity = new CustomFieldPossibleValue(); + + entity.Value = dictionary.GetValue(RedmineKeys.VALUE); + entity.Label = dictionary.GetValue(RedmineKeys.LABEL); + + return entity; + } + + return null; + } + + /// + /// Serializes the specified object. + /// + /// The object. + /// The serializer. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// Gets the supported types. + /// + /// + /// The supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(CustomFieldPossibleValue)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/CustomFieldRoleConverter.cs b/src/redmine-net20-api/JSonConverters/CustomFieldRoleConverter.cs new file mode 100755 index 00000000..6d93f6fe --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/CustomFieldRoleConverter.cs @@ -0,0 +1,77 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Types; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class CustomFieldRoleConverter : IdentifiableNameConverter + { + #region Overrides of JavaScriptConverter + + /// + /// Deserializes the specified dictionary. + /// + /// The dictionary. + /// The type. + /// The serializer. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var entity = new CustomFieldRole(); + + entity.Id = dictionary.GetValue(RedmineKeys.ID); + entity.Name = dictionary.GetValue(RedmineKeys.NAME); + + return entity; + } + + return null; + } + + /// + /// Serializes the specified object. + /// + /// The object. + /// The serializer. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// Gets the supported types. + /// + /// + /// The supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(CustomFieldRole)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/DetailConverter.cs b/src/redmine-net20-api/JSonConverters/DetailConverter.cs new file mode 100755 index 00000000..4984a2fd --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/DetailConverter.cs @@ -0,0 +1,83 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Types; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class DetailConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var detail = new Detail(); + + detail.NewValue = dictionary.GetValue(RedmineKeys.NEW_VALUE); + detail.OldValue = dictionary.GetValue(RedmineKeys.OLD_VALUE); + detail.Property = dictionary.GetValue(RedmineKeys.PROPERTY); + detail.Name = dictionary.GetValue(RedmineKeys.NAME); + + return detail; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(Detail)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/ErrorConverter.cs b/src/redmine-net20-api/JSonConverters/ErrorConverter.cs new file mode 100755 index 00000000..e19fdc00 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/ErrorConverter.cs @@ -0,0 +1,77 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Types; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class ErrorConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var error = new Error {Info = dictionary.GetValue(RedmineKeys.ERROR)}; + return error; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(Error)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/FileConverter.cs b/src/redmine-net20-api/JSonConverters/FileConverter.cs new file mode 100755 index 00000000..8165083e --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/FileConverter.cs @@ -0,0 +1,112 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Types; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class FileConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var file = new File { }; + + file.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); + file.ContentType = dictionary.GetValue(RedmineKeys.CONTENT_TYPE); + file.ContentUrl = dictionary.GetValue(RedmineKeys.CONTENT_URL); + file.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); + file.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); + file.Digest = dictionary.GetValue(RedmineKeys.DIGEST); + file.Downloads = dictionary.GetValue(RedmineKeys.DOWNLOADS); + file.Filename = dictionary.GetValue(RedmineKeys.FILENAME); + file.Filesize = dictionary.GetValue(RedmineKeys.FILESIZE); + file.Id = dictionary.GetValue(RedmineKeys.ID); + file.Token = dictionary.GetValue(RedmineKeys.TOKEN); + var versionId = dictionary.GetValue(RedmineKeys.VERSION_ID); + if (versionId.HasValue) + { + file.Version = new IdentifiableName { Id = versionId.Value }; + } + else + { + file.Version = dictionary.GetValueAsIdentifiableName(RedmineKeys.VERSION); + } + return file; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object’s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as File; + var result = new Dictionary(); + + if (entity != null) + { + result.Add(RedmineKeys.TOKEN, entity.Token); + result.WriteIdIfNotNull(entity.Version, RedmineKeys.VERSION_ID); + result.Add(RedmineKeys.FILENAME, entity.Filename); + result.Add(RedmineKeys.DESCRIPTION, entity.Description); + + var root = new Dictionary(); + root[RedmineKeys.FILE] = result; + return root; + } + return result; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] { typeof(File) }); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/GroupConverter.cs b/src/redmine-net20-api/JSonConverters/GroupConverter.cs new file mode 100755 index 00000000..02083800 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/GroupConverter.cs @@ -0,0 +1,98 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Types; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class GroupConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var group = new Group(); + + group.Id = dictionary.GetValue(RedmineKeys.ID); + group.Name = dictionary.GetValue(RedmineKeys.NAME); + group.Users = dictionary.GetValueAsCollection(RedmineKeys.USERS); + group.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); + group.Memberships = dictionary.GetValueAsCollection(RedmineKeys.MEMBERSHIPS); + + return group; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as Group; + + var result = new Dictionary(); + + if (entity != null) + { + result.Add(RedmineKeys.NAME, entity.Name); + result.WriteIdsArray(RedmineKeys.USER_IDS, entity.Users); + + var root = new Dictionary(); + root[RedmineKeys.GROUP] = result; + return root; + } + + return result; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(Group)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/GroupUserConverter.cs b/src/redmine-net20-api/JSonConverters/GroupUserConverter.cs new file mode 100755 index 00000000..9b65c69a --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/GroupUserConverter.cs @@ -0,0 +1,78 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + + +namespace Redmine.Net.Api.JSonConverters +{ + internal class GroupUserConverter : IdentifiableNameConverter + { + #region Overrides of JavaScriptConverter + + /// + /// Deserializes the specified dictionary. + /// + /// The dictionary. + /// The type. + /// The serializer. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var userGroup = new GroupUser(); + + userGroup.Id = dictionary.GetValue(RedmineKeys.ID); + userGroup.Name = dictionary.GetValue(RedmineKeys.NAME); + + return userGroup; + } + + return null; + } + + /// + /// Serializes the specified object. + /// + /// The object. + /// The serializer. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// Gets the supported types. + /// + /// + /// The supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(GroupUser)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/IdentifiableNameConverter.cs b/src/redmine-net20-api/JSonConverters/IdentifiableNameConverter.cs new file mode 100755 index 00000000..3b0e94f3 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/IdentifiableNameConverter.cs @@ -0,0 +1,92 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Types; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class IdentifiableNameConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var entity = new IdentifiableName(); + + entity.Id = dictionary.GetValue(RedmineKeys.ID); + entity.Name = dictionary.GetValue(RedmineKeys.NAME); + + return entity; + } + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as IdentifiableName; + var result = new Dictionary(); + + if (entity != null) + { + result.WriteIdIfNotNull(entity, RedmineKeys.ID); + + if (!string.IsNullOrEmpty(entity.Name)) + result.Add(RedmineKeys.NAME, entity.Name); + return result; + } + + return result; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(IdentifiableName)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/IssueCategoryConverter.cs b/src/redmine-net20-api/JSonConverters/IssueCategoryConverter.cs new file mode 100755 index 00000000..ae698a96 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/IssueCategoryConverter.cs @@ -0,0 +1,98 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Types; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class IssueCategoryConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var issueCategory = new IssueCategory(); + + issueCategory.Id = dictionary.GetValue(RedmineKeys.ID); + issueCategory.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); + issueCategory.AsignTo = dictionary.GetValueAsIdentifiableName(RedmineKeys.ASSIGNED_TO); + issueCategory.Name = dictionary.GetValue(RedmineKeys.NAME); + + return issueCategory; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as IssueCategory; + var result = new Dictionary(); + + if (entity != null) + { + result.Add(RedmineKeys.NAME, entity.Name); + result.WriteIdIfNotNull(entity.Project, RedmineKeys.PROJECT_ID); + result.WriteIdIfNotNull(entity.AsignTo, RedmineKeys.ASSIGNED_TO_ID); + + var root = new Dictionary(); + + root[RedmineKeys.ISSUE_CATEGORY] = result; + return root; + } + + return result; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(IssueCategory)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/IssueChildConverter.cs b/src/redmine-net20-api/JSonConverters/IssueChildConverter.cs new file mode 100755 index 00000000..082eeb60 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/IssueChildConverter.cs @@ -0,0 +1,76 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Types; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class IssueChildConverter : JavaScriptConverter + { + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(IssueChild)}); } + } + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// An instance of property data stored as name/value pairs. + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var issueChild = new IssueChild + { + Id = dictionary.GetValue(RedmineKeys.ID), + Tracker = dictionary.GetValueAsIdentifiableName(RedmineKeys.TRACKER), + Subject = dictionary.GetValue(RedmineKeys.SUBJECT) + }; + + return issueChild; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/IssueConverter.cs b/src/redmine-net20-api/JSonConverters/IssueConverter.cs new file mode 100644 index 00000000..d3f14331 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/IssueConverter.cs @@ -0,0 +1,156 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + + +namespace Redmine.Net.Api.JSonConverters +{ + internal class IssueConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var issue = new Issue(); + + issue.Id = dictionary.GetValue(RedmineKeys.ID); + issue.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); + issue.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); + issue.Tracker = dictionary.GetValueAsIdentifiableName(RedmineKeys.TRACKER); + issue.Status = dictionary.GetValueAsIdentifiableName(RedmineKeys.STATUS); + issue.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); + issue.UpdatedOn = dictionary.GetValue(RedmineKeys.UPDATED_ON); + issue.ClosedOn = dictionary.GetValue(RedmineKeys.CLOSED_ON); + issue.Priority = dictionary.GetValueAsIdentifiableName(RedmineKeys.PRIORITY); + issue.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); + issue.AssignedTo = dictionary.GetValueAsIdentifiableName(RedmineKeys.ASSIGNED_TO); + issue.Category = dictionary.GetValueAsIdentifiableName(RedmineKeys.CATEGORY); + issue.FixedVersion = dictionary.GetValueAsIdentifiableName(RedmineKeys.FIXED_VERSION); + issue.Subject = dictionary.GetValue(RedmineKeys.SUBJECT); + issue.Notes = dictionary.GetValue(RedmineKeys.NOTES); + issue.IsPrivate = dictionary.GetValue(RedmineKeys.IS_PRIVATE); + issue.StartDate = dictionary.GetValue(RedmineKeys.START_DATE); + issue.DueDate = dictionary.GetValue(RedmineKeys.DUE_DATE); + issue.SpentHours = dictionary.GetValue(RedmineKeys.SPENT_HOURS); + issue.TotalSpentHours = dictionary.GetValue(RedmineKeys.TOTAL_SPENT_HOURS); + issue.DoneRatio = dictionary.GetValue(RedmineKeys.DONE_RATIO); + issue.EstimatedHours = dictionary.GetValue(RedmineKeys.ESTIMATED_HOURS); + issue.TotalEstimatedHours = dictionary.GetValue(RedmineKeys.TOTAL_ESTIMATED_HOURS); + issue.ParentIssue = dictionary.GetValueAsIdentifiableName(RedmineKeys.PARENT); + + issue.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); + issue.Attachments = dictionary.GetValueAsCollection(RedmineKeys.ATTACHMENTS); + issue.Relations = dictionary.GetValueAsCollection(RedmineKeys.RELATIONS); + issue.Journals = dictionary.GetValueAsCollection(RedmineKeys.JOURNALS); + issue.Changesets = dictionary.GetValueAsCollection(RedmineKeys.CHANGESETS); + issue.Watchers = dictionary.GetValueAsCollection(RedmineKeys.WATCHERS); + issue.Children = dictionary.GetValueAsCollection(RedmineKeys.CHILDREN); + return issue; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as Issue; + var result = new Dictionary(); + + if (entity != null) + { + result.Add(RedmineKeys.SUBJECT, entity.Subject); + result.Add(RedmineKeys.DESCRIPTION, entity.Description); + result.Add(RedmineKeys.NOTES, entity.Notes); + if (entity.Id != 0) + { + result.Add(RedmineKeys.PRIVATE_NOTES, entity.PrivateNotes.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + } + result.Add(RedmineKeys.IS_PRIVATE, entity.IsPrivate.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + result.WriteIdIfNotNull(entity.Project, RedmineKeys.PROJECT_ID); + result.WriteIdIfNotNull(entity.Priority, RedmineKeys.PRIORITY_ID); + result.WriteIdIfNotNull(entity.Status, RedmineKeys.STATUS_ID); + result.WriteIdIfNotNull(entity.Category, RedmineKeys.CATEGORY_ID); + result.WriteIdIfNotNull(entity.Tracker, RedmineKeys.TRACKER_ID); + result.WriteIdIfNotNull(entity.AssignedTo, RedmineKeys.ASSIGNED_TO_ID); + result.WriteIdIfNotNull(entity.FixedVersion, RedmineKeys.FIXED_VERSION_ID); + result.WriteValueOrEmpty(entity.EstimatedHours, RedmineKeys.ESTIMATED_HOURS); + + result.WriteIdOrEmpty(entity.ParentIssue, RedmineKeys.PARENT_ISSUE_ID); + result.WriteDateOrEmpty(entity.StartDate, RedmineKeys.START_DATE); + result.WriteDateOrEmpty(entity.DueDate, RedmineKeys.DUE_DATE); + result.WriteDateOrEmpty(entity.UpdatedOn, RedmineKeys.UPDATED_ON); + + if (entity.DoneRatio != null) + result.Add(RedmineKeys.DONE_RATIO, entity.DoneRatio.Value.ToString(CultureInfo.InvariantCulture)); + + if (entity.SpentHours != null) + result.Add(RedmineKeys.SPENT_HOURS, entity.SpentHours.Value.ToString(CultureInfo.InvariantCulture)); + + result.WriteArray(RedmineKeys.UPLOADS, entity.Uploads, new UploadConverter(), serializer); + result.WriteArray(RedmineKeys.CUSTOM_FIELDS, entity.CustomFields, new IssueCustomFieldConverter(), + serializer); + + result.WriteIdsArray(RedmineKeys.WATCHER_USER_IDS, entity.Watchers); + + var root = new Dictionary(); + root[RedmineKeys.ISSUE] = result; + return root; + } + + return result; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(Issue)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/IssueCustomFieldConverter.cs b/src/redmine-net20-api/JSonConverters/IssueCustomFieldConverter.cs new file mode 100755 index 00000000..19170bd3 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/IssueCustomFieldConverter.cs @@ -0,0 +1,122 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System.Globalization; +#if !NET20 +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Types; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class IssueCustomFieldConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var customField = new IssueCustomField(); + + customField.Id = dictionary.GetValue(RedmineKeys.ID); + customField.Name = dictionary.GetValue(RedmineKeys.NAME); + customField.Multiple = dictionary.GetValue(RedmineKeys.MULTIPLE); + + var val = dictionary.GetValue(RedmineKeys.VALUE); + + if (val != null) + { + if (customField.Values == null) customField.Values = new List(); + var list = val as ArrayList; + if (list != null) + { + foreach (var value in list) + { + customField.Values.Add(new CustomFieldValue {Info = Convert.ToString(value, CultureInfo.InvariantCulture)}); + } + } + else + { + customField.Values.Add(new CustomFieldValue {Info = Convert.ToString(val, CultureInfo.InvariantCulture)}); + } + } + return customField; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as IssueCustomField; + + var result = new Dictionary(); + + if (entity == null) return result; + if (entity.Values == null) return null; + var itemsCount = entity.Values.Count; + + result.Add(RedmineKeys.ID, entity.Id.ToString(CultureInfo.InvariantCulture)); + if (itemsCount > 1) + { + result.Add(RedmineKeys.VALUE, entity.Values.Select(x => x.Info).ToArray()); + } + else + { + result.Add(RedmineKeys.VALUE, itemsCount > 0 ? entity.Values[0].Info : null); + } + + return result; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(IssueCustomField)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/IssuePriorityConverter.cs b/src/redmine-net20-api/JSonConverters/IssuePriorityConverter.cs new file mode 100755 index 00000000..6205a98e --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/IssuePriorityConverter.cs @@ -0,0 +1,78 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class IssuePriorityConverter : JavaScriptConverter + { + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(IssuePriority)}); } + } + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var issuePriority = new IssuePriority(); + + issuePriority.Id = dictionary.GetValue(RedmineKeys.ID); + issuePriority.Name = dictionary.GetValue(RedmineKeys.NAME); + issuePriority.IsDefault = dictionary.GetValue(RedmineKeys.IS_DEFAULT); + + return issuePriority; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/IssueRelationConverter.cs b/src/redmine-net20-api/JSonConverters/IssueRelationConverter.cs new file mode 100755 index 00000000..0c42b0c5 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/IssueRelationConverter.cs @@ -0,0 +1,102 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System.Globalization; +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class IssueRelationConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var issueRelation = new IssueRelation(); + + issueRelation.Id = dictionary.GetValue(RedmineKeys.ID); + issueRelation.IssueId = dictionary.GetValue(RedmineKeys.ISSUE_ID); + issueRelation.IssueToId = dictionary.GetValue(RedmineKeys.ISSUE_TO_ID); + issueRelation.Type = dictionary.GetValue(RedmineKeys.RELATION_TYPE); + issueRelation.Delay = dictionary.GetValue(RedmineKeys.DELAY); + + return issueRelation; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as IssueRelation; + + var result = new Dictionary(); + + if (entity != null) + { + result.Add(RedmineKeys.ISSUE_TO_ID, entity.IssueToId.ToString(CultureInfo.InvariantCulture)); + result.Add(RedmineKeys.RELATION_TYPE, entity.Type.ToString()); + if (entity.Type == IssueRelationType.precedes || entity.Type == IssueRelationType.follows) + result.WriteValueOrEmpty(entity.Delay, RedmineKeys.DELAY); + + var root = new Dictionary(); + root[RedmineKeys.RELATION] = result; + return root; + } + + return result; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(IssueRelation)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/IssueStatusConverter.cs b/src/redmine-net20-api/JSonConverters/IssueStatusConverter.cs new file mode 100755 index 00000000..0965ce90 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/IssueStatusConverter.cs @@ -0,0 +1,82 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class IssueStatusConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var issueStatus = new IssueStatus(); + + issueStatus.Id = dictionary.GetValue(RedmineKeys.ID); + issueStatus.Name = dictionary.GetValue(RedmineKeys.NAME); + issueStatus.IsClosed = dictionary.GetValue(RedmineKeys.IS_CLOSED); + issueStatus.IsDefault = dictionary.GetValue(RedmineKeys.IS_DEFAULT); + return issueStatus; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(IssueStatus)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/JournalConverter.cs b/src/redmine-net20-api/JSonConverters/JournalConverter.cs new file mode 100644 index 00000000..7336f90d --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/JournalConverter.cs @@ -0,0 +1,85 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class JournalConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var journal = new Journal(); + + journal.Id = dictionary.GetValue(RedmineKeys.ID); + journal.Notes = dictionary.GetValue(RedmineKeys.NOTES); + journal.User = dictionary.GetValueAsIdentifiableName(RedmineKeys.USER); + journal.PrivateNotes = dictionary.GetValue(RedmineKeys.PRIVATE_NOTES); + journal.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); + journal.Details = dictionary.GetValueAsCollection(RedmineKeys.DETAILS); + + return journal; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(Journal)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/MembershipConverter.cs b/src/redmine-net20-api/JSonConverters/MembershipConverter.cs new file mode 100755 index 00000000..784de771 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/MembershipConverter.cs @@ -0,0 +1,82 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class MembershipConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var membership = new Membership(); + + membership.Id = dictionary.GetValue(RedmineKeys.ID); + membership.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); + membership.Roles = dictionary.GetValueAsCollection(RedmineKeys.ROLES); + + return membership; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(Membership)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/MembershipRoleConverter.cs b/src/redmine-net20-api/JSonConverters/MembershipRoleConverter.cs new file mode 100755 index 00000000..cd9b57c0 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/MembershipRoleConverter.cs @@ -0,0 +1,82 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class MembershipRoleConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var membershipRole = new MembershipRole(); + + membershipRole.Id = dictionary.GetValue(RedmineKeys.ID); + membershipRole.Inherited = dictionary.GetValue(RedmineKeys.INHERITED); + membershipRole.Name = dictionary.GetValue(RedmineKeys.NAME); + + return membershipRole; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(MembershipRole)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/NewsConverter.cs b/src/redmine-net20-api/JSonConverters/NewsConverter.cs new file mode 100755 index 00000000..fb1ce0b2 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/NewsConverter.cs @@ -0,0 +1,85 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class NewsConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var news = new News(); + + news.Id = dictionary.GetValue(RedmineKeys.ID); + news.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); + news.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); + news.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); + news.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); + news.Summary = dictionary.GetValue(RedmineKeys.SUMMARY); + news.Title = dictionary.GetValue(RedmineKeys.TITLE); + + return news; + } + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(News)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/PermissionConverter.cs b/src/redmine-net20-api/JSonConverters/PermissionConverter.cs new file mode 100755 index 00000000..dd4905d2 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/PermissionConverter.cs @@ -0,0 +1,73 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class PermissionConverter : JavaScriptConverter + { + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(Permission)}); } + } + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var permission = new Permission {Info = dictionary.GetValue(RedmineKeys.PERMISSION)}; + return permission; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/ProjectConverter.cs b/src/redmine-net20-api/JSonConverters/ProjectConverter.cs new file mode 100755 index 00000000..9f897864 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/ProjectConverter.cs @@ -0,0 +1,119 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System.Globalization; +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Types; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class ProjectConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var project = new Project(); + + project.Id = dictionary.GetValue(RedmineKeys.ID); + project.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); + project.HomePage = dictionary.GetValue(RedmineKeys.HOMEPAGE); + project.Name = dictionary.GetValue(RedmineKeys.NAME); + project.Identifier = dictionary.GetValue(RedmineKeys.IDENTIFIER); + project.Status = dictionary.GetValue(RedmineKeys.STATUS); + project.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); + project.UpdatedOn = dictionary.GetValue(RedmineKeys.UPDATED_ON); + project.Trackers = dictionary.GetValueAsCollection(RedmineKeys.TRACKERS); + project.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); + project.IsPublic = dictionary.GetValue(RedmineKeys.IS_PUBLIC); + project.Parent = dictionary.GetValueAsIdentifiableName(RedmineKeys.PARENT); + project.IssueCategories = dictionary.GetValueAsCollection(RedmineKeys.ISSUE_CATEGORIES); + project.EnabledModules = dictionary.GetValueAsCollection(RedmineKeys.ENABLED_MODULES); + project.TimeEntryActivities = dictionary.GetValueAsCollection(RedmineKeys.TIME_ENTRY_ACTIVITIES); + return project; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object’s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as Project; + var result = new Dictionary(); + + if (entity != null) + { + result.Add(RedmineKeys.NAME, entity.Name); + result.Add(RedmineKeys.IDENTIFIER, entity.Identifier); + result.Add(RedmineKeys.DESCRIPTION, entity.Description); + result.Add(RedmineKeys.HOMEPAGE, entity.HomePage); + //result.Add(RedmineKeys.INHERIT_MEMBERS, entity.InheritMembers.ToString().ToLowerInvariant()); + result.Add(RedmineKeys.IS_PUBLIC, entity.IsPublic.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + result.WriteIdOrEmpty(entity.Parent, RedmineKeys.PARENT_ID, string.Empty); + result.WriteIdsArray(RedmineKeys.TRACKER_IDS, entity.Trackers); + result.WriteNamesArray(RedmineKeys.ENABLED_MODULE_NAMES, entity.EnabledModules); + if (entity.Id > 0) + { + result.WriteArray(RedmineKeys.CUSTOM_FIELDS, entity.CustomFields, new IssueCustomFieldConverter(), + serializer); + } + var root = new Dictionary(); + root[RedmineKeys.PROJECT] = result; + return root; + } + + return result; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] { typeof(Project) }); } + } + + #endregion + } +} +#endif diff --git a/src/redmine-net20-api/JSonConverters/ProjectEnabledModuleConverter.cs b/src/redmine-net20-api/JSonConverters/ProjectEnabledModuleConverter.cs new file mode 100755 index 00000000..8ec50390 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/ProjectEnabledModuleConverter.cs @@ -0,0 +1,78 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class ProjectEnabledModuleConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var projectEnableModule = new ProjectEnabledModule(); + projectEnableModule.Id = dictionary.GetValue(RedmineKeys.ID); + projectEnableModule.Name = dictionary.GetValue(RedmineKeys.NAME); + return projectEnableModule; + } + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(ProjectEnabledModule)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/ProjectIssueCategoryConverter.cs b/src/redmine-net20-api/JSonConverters/ProjectIssueCategoryConverter.cs new file mode 100755 index 00000000..44d366d7 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/ProjectIssueCategoryConverter.cs @@ -0,0 +1,90 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class ProjectIssueCategoryConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var projectTracker = new ProjectIssueCategory(); + projectTracker.Id = dictionary.GetValue(RedmineKeys.ID); + projectTracker.Name = dictionary.GetValue(RedmineKeys.NAME); + return projectTracker; + } + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as ProjectIssueCategory; + var result = new Dictionary(); + + if (entity != null) + { + result.Add(RedmineKeys.ID, entity.Id); + result.Add(RedmineKeys.NAME, entity.Name); + + var root = new Dictionary(); + root[RedmineKeys.ISSUE_CATEGORY] = result; + return root; + } + return result; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(ProjectIssueCategory)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/ProjectMembershipConverter.cs b/src/redmine-net20-api/JSonConverters/ProjectMembershipConverter.cs new file mode 100755 index 00000000..9e22e06b --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/ProjectMembershipConverter.cs @@ -0,0 +1,96 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class ProjectMembershipConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var projectMembership = new ProjectMembership(); + + projectMembership.Id = dictionary.GetValue(RedmineKeys.ID); + projectMembership.Group = dictionary.GetValueAsIdentifiableName(RedmineKeys.GROUP); + projectMembership.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); + projectMembership.Roles = dictionary.GetValueAsCollection(RedmineKeys.ROLES); + projectMembership.User = dictionary.GetValueAsIdentifiableName(RedmineKeys.USER); + + return projectMembership; + } + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as ProjectMembership; + var result = new Dictionary(); + + if (entity != null) + { + result.WriteIdIfNotNull(entity.User, RedmineKeys.USER_ID); + result.WriteIdsArray(RedmineKeys.ROLE_IDS, entity.Roles); + + var root = new Dictionary(); + root[RedmineKeys.MEMBERSHIP] = result; + return root; + } + + return result; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(ProjectMembership)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/ProjectTrackerConverter.cs b/src/redmine-net20-api/JSonConverters/ProjectTrackerConverter.cs new file mode 100755 index 00000000..cc41bdf4 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/ProjectTrackerConverter.cs @@ -0,0 +1,78 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class ProjectTrackerConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var projectTracker = new ProjectTracker(); + projectTracker.Id = dictionary.GetValue(RedmineKeys.ID); + projectTracker.Name = dictionary.GetValue(RedmineKeys.NAME); + return projectTracker; + } + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(ProjectTracker)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/QueryConverter.cs b/src/redmine-net20-api/JSonConverters/QueryConverter.cs new file mode 100755 index 00000000..75bb5410 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/QueryConverter.cs @@ -0,0 +1,83 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class QueryConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var query = new Query(); + + query.Id = dictionary.GetValue(RedmineKeys.ID); + query.IsPublic = dictionary.GetValue(RedmineKeys.IS_PUBLIC); + query.ProjectId = dictionary.GetValue(RedmineKeys.PROJECT_ID); + query.Name = dictionary.GetValue(RedmineKeys.NAME); + + return query; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(Query)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/RoleConverter.cs b/src/redmine-net20-api/JSonConverters/RoleConverter.cs new file mode 100755 index 00000000..754a21f3 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/RoleConverter.cs @@ -0,0 +1,92 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class RoleConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var role = new Role(); + + role.Id = dictionary.GetValue(RedmineKeys.ID); + role.Name = dictionary.GetValue(RedmineKeys.NAME); + + var permissions = dictionary.GetValue(RedmineKeys.PERMISSIONS); + if (permissions != null) + { + role.Permissions = new List(); + foreach (var permission in permissions) + { + var perms = new Permission {Info = permission.ToString()}; + role.Permissions.Add(perms); + } + } + + return role; + } + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(Role)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/TimeEntryActivityConverter.cs b/src/redmine-net20-api/JSonConverters/TimeEntryActivityConverter.cs new file mode 100755 index 00000000..8ee50dfb --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/TimeEntryActivityConverter.cs @@ -0,0 +1,78 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class TimeEntryActivityConverter : JavaScriptConverter + { + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(TimeEntryActivity)}); } + } + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var timeEntryActivity = new TimeEntryActivity + { + Id = dictionary.GetValue(RedmineKeys.ID), + Name = dictionary.GetValue(RedmineKeys.NAME), + IsDefault = dictionary.GetValue(RedmineKeys.IS_DEFAULT) + }; + return timeEntryActivity; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/TimeEntryConverter.cs b/src/redmine-net20-api/JSonConverters/TimeEntryConverter.cs new file mode 100755 index 00000000..1da798c6 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/TimeEntryConverter.cs @@ -0,0 +1,121 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Types; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class TimeEntryConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var timeEntry = new TimeEntry(); + + timeEntry.Id = dictionary.GetValue(RedmineKeys.ID); + timeEntry.Activity = + dictionary.GetValueAsIdentifiableName(dictionary.ContainsKey(RedmineKeys.ACTIVITY) + ? RedmineKeys.ACTIVITY + : RedmineKeys.ACTIVITY_ID); + timeEntry.Comments = dictionary.GetValue(RedmineKeys.COMMENTS); + timeEntry.Hours = dictionary.GetValue(RedmineKeys.HOURS); + timeEntry.Issue = + dictionary.GetValueAsIdentifiableName(dictionary.ContainsKey(RedmineKeys.ISSUE) + ? RedmineKeys.ISSUE + : RedmineKeys.ISSUE_ID); + timeEntry.Project = + dictionary.GetValueAsIdentifiableName(dictionary.ContainsKey(RedmineKeys.PROJECT) + ? RedmineKeys.PROJECT + : RedmineKeys.PROJECT_ID); + timeEntry.SpentOn = dictionary.GetValue(RedmineKeys.SPENT_ON); + timeEntry.User = dictionary.GetValueAsIdentifiableName(RedmineKeys.USER); + timeEntry.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); + timeEntry.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); + timeEntry.UpdatedOn = dictionary.GetValue(RedmineKeys.UPDATED_ON); + + return timeEntry; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as TimeEntry; + var result = new Dictionary(); + + if (entity != null) + { + result.WriteIdIfNotNull(entity.Issue, RedmineKeys.ISSUE_ID); + result.WriteIdIfNotNull(entity.Project, RedmineKeys.PROJECT_ID); + result.WriteIdIfNotNull(entity.Activity, RedmineKeys.ACTIVITY_ID); + + if (!entity.SpentOn.HasValue) entity.SpentOn = DateTime.Now; + + result.WriteDateOrEmpty(entity.SpentOn, RedmineKeys.SPENT_ON); + result.Add(RedmineKeys.HOURS, entity.Hours); + result.Add(RedmineKeys.COMMENTS, entity.Comments); + result.WriteArray(RedmineKeys.CUSTOM_FIELDS, entity.CustomFields, new IssueCustomFieldConverter(), + serializer); + + var root = new Dictionary(); + root[RedmineKeys.TIME_ENTRY] = result; + return root; + } + + return result; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(TimeEntry)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/TrackerConverter.cs b/src/redmine-net20-api/JSonConverters/TrackerConverter.cs new file mode 100755 index 00000000..a402c1a8 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/TrackerConverter.cs @@ -0,0 +1,81 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class TrackerConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var tracker = new Tracker + { + Id = dictionary.GetValue(RedmineKeys.ID), + Name = dictionary.GetValue(RedmineKeys.NAME) + }; + return tracker; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + return null; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(Tracker)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/TrackerCustomFieldConverter.cs b/src/redmine-net20-api/JSonConverters/TrackerCustomFieldConverter.cs new file mode 100755 index 00000000..51b699b0 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/TrackerCustomFieldConverter.cs @@ -0,0 +1,68 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class TrackerCustomFieldConverter : IdentifiableNameConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var entity = new TrackerCustomField(); + + entity.Id = dictionary.GetValue(RedmineKeys.ID); + entity.Name = dictionary.GetValue(RedmineKeys.NAME); + + return entity; + } + + return null; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(TrackerCustomField)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/UploadConverter.cs b/src/redmine-net20-api/JSonConverters/UploadConverter.cs new file mode 100755 index 00000000..1400509c --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/UploadConverter.cs @@ -0,0 +1,93 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class UploadConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var upload = new Upload(); + + upload.ContentType = dictionary.GetValue(RedmineKeys.CONTENT_TYPE); + upload.FileName = dictionary.GetValue(RedmineKeys.FILENAME); + upload.Token = dictionary.GetValue(RedmineKeys.TOKEN); + upload.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); + return upload; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as Upload; + var result = new Dictionary(); + + if (entity != null) + { + result.Add(RedmineKeys.CONTENT_TYPE, entity.ContentType); + result.Add(RedmineKeys.FILENAME, entity.FileName); + result.Add(RedmineKeys.TOKEN, entity.Token); + result.Add(RedmineKeys.DESCRIPTION, entity.Description); + } + + return result; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(Upload)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/UserConverter.cs b/src/redmine-net20-api/JSonConverters/UserConverter.cs new file mode 100644 index 00000000..6a688835 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/UserConverter.cs @@ -0,0 +1,127 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class UserConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var user = new User(); + user.Login = dictionary.GetValue(RedmineKeys.LOGIN); + user.Id = dictionary.GetValue(RedmineKeys.ID); + user.FirstName = dictionary.GetValue(RedmineKeys.FIRSTNAME); + user.LastName = dictionary.GetValue(RedmineKeys.LASTNAME); + user.Email = dictionary.GetValue(RedmineKeys.MAIL); + user.MailNotification = dictionary.GetValue(RedmineKeys.MAIL_NOTIFICATION); + user.AuthenticationModeId = dictionary.GetValue(RedmineKeys.AUTH_SOURCE_ID); + user.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); + user.LastLoginOn = dictionary.GetValue(RedmineKeys.LAST_LOGIN_ON); + user.ApiKey = dictionary.GetValue(RedmineKeys.API_KEY); + user.Status = dictionary.GetValue(RedmineKeys.STATUS); + user.MustChangePassword = dictionary.GetValue(RedmineKeys.MUST_CHANGE_PASSWD); + user.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); + user.Memberships = dictionary.GetValueAsCollection(RedmineKeys.MEMBERSHIPS); + user.Groups = dictionary.GetValueAsCollection(RedmineKeys.GROUPS); + + return user; + } + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as User; + + var result = new Dictionary(); + + if (entity != null) + { + result.Add(RedmineKeys.LOGIN, entity.Login); + result.Add(RedmineKeys.FIRSTNAME, entity.FirstName); + result.Add(RedmineKeys.LASTNAME, entity.LastName); + result.Add(RedmineKeys.MAIL, entity.Email); + if(!string.IsNullOrWhiteSpace(entity.MailNotification)) + { + result.Add(RedmineKeys.MAIL_NOTIFICATION, entity.MailNotification); + } + + if(!string.IsNullOrWhiteSpace(entity.Password)) + { + result.Add(RedmineKeys.PASSWORD, entity.Password); + } + + result.Add(RedmineKeys.MUST_CHANGE_PASSWD, entity.MustChangePassword.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + result.Add(RedmineKeys.STATUS, ((int)entity.Status).ToString(CultureInfo.InvariantCulture)); + + if(entity.AuthenticationModeId.HasValue) + { + result.WriteValueOrEmpty(entity.AuthenticationModeId, RedmineKeys.AUTH_SOURCE_ID); + } + result.WriteArray(RedmineKeys.CUSTOM_FIELDS, entity.CustomFields, new IssueCustomFieldConverter(), + serializer); + + var root = new Dictionary(); + root[RedmineKeys.USER] = result; + return root; + } + return result; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(User)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/UserGroupConverter.cs b/src/redmine-net20-api/JSonConverters/UserGroupConverter.cs new file mode 100755 index 00000000..e295464a --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/UserGroupConverter.cs @@ -0,0 +1,68 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class UserGroupConverter : IdentifiableNameConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(UserGroup)}); } + } + + #endregion + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var userGroup = new UserGroup(); + + userGroup.Id = dictionary.GetValue(RedmineKeys.ID); + userGroup.Name = dictionary.GetValue(RedmineKeys.NAME); + + return userGroup; + } + + return null; + } + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/VersionConverter.cs b/src/redmine-net20-api/JSonConverters/VersionConverter.cs new file mode 100755 index 00000000..8a081573 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/VersionConverter.cs @@ -0,0 +1,107 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; +using Version = Redmine.Net.Api.Types.Version; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class VersionConverter : JavaScriptConverter + { + #region Overrides of JavaScriptConverter + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var version = new Version(); + + version.Id = dictionary.GetValue(RedmineKeys.ID); + version.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); + version.Name = dictionary.GetValue(RedmineKeys.NAME); + version.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); + version.UpdatedOn = dictionary.GetValue(RedmineKeys.UPDATED_ON); + version.DueDate = dictionary.GetValue(RedmineKeys.DUE_DATE); + version.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); + version.Sharing = dictionary.GetValue(RedmineKeys.SHARING); + version.Status = dictionary.GetValue(RedmineKeys.STATUS); + version.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); + + return version; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as Version; + + var result = new Dictionary(); + + if (entity != null) + { + result.Add(RedmineKeys.NAME, entity.Name); + result.Add(RedmineKeys.STATUS, entity.Status.ToString().ToLowerInvariant()); + result.Add(RedmineKeys.SHARING, entity.Sharing.ToString().ToLowerInvariant()); + result.Add(RedmineKeys.DESCRIPTION, entity.Description); + + var root = new Dictionary(); + result.WriteDateOrEmpty(entity.DueDate, RedmineKeys.DUE_DATE); + root[RedmineKeys.VERSION] = result; + return root; + } + + return result; + } + + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(Version)}); } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/WatcherConverter.cs b/src/redmine-net20-api/JSonConverters/WatcherConverter.cs new file mode 100755 index 00000000..6752be08 --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/WatcherConverter.cs @@ -0,0 +1,85 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class WatcherConverter : JavaScriptConverter + { + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] {typeof(Watcher)}); } + } + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var watcher = new Watcher(); + + watcher.Id = dictionary.GetValue(RedmineKeys.ID); + watcher.Name = dictionary.GetValue(RedmineKeys.NAME); + + return watcher; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as Watcher; + var result = new Dictionary(); + + if (entity != null) + { + result.Add(RedmineKeys.ID, entity.Id); + } + + return result; + } + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/JSonConverters/WikiPageConverter.cs b/src/redmine-net20-api/JSonConverters/WikiPageConverter.cs new file mode 100755 index 00000000..d5111b6d --- /dev/null +++ b/src/redmine-net20-api/JSonConverters/WikiPageConverter.cs @@ -0,0 +1,99 @@ +/* + Copyright 2011 - 2019 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +#if !NET20 +using System; +using System.Collections.Generic; +using System.Web.Script.Serialization; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.JSonConverters +{ + internal class WikiPageConverter : JavaScriptConverter + { + /// + /// When overridden in a derived class, gets a collection of the supported types. + /// + public override IEnumerable SupportedTypes + { + get { return new List(new[] { typeof(WikiPage) }); } + } + + /// + /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. + /// + /// + /// An instance of property data stored + /// as name/value pairs. + /// + /// The type of the resulting object. + /// The instance. + /// + /// The deserialized object. + /// + public override object Deserialize(IDictionary dictionary, Type type, + JavaScriptSerializer serializer) + { + if (dictionary != null) + { + var tracker = new WikiPage(); + + tracker.Id = dictionary.GetValue(RedmineKeys.ID); + tracker.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); + tracker.Comments = dictionary.GetValue(RedmineKeys.COMMENTS); + tracker.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); + tracker.Text = dictionary.GetValue(RedmineKeys.TEXT); + tracker.Title = dictionary.GetValue(RedmineKeys.TITLE); + tracker.UpdatedOn = dictionary.GetValue(RedmineKeys.UPDATED_ON); + tracker.Version = dictionary.GetValue(RedmineKeys.VERSION); + tracker.Attachments = dictionary.GetValueAsCollection(RedmineKeys.ATTACHMENTS); + + return tracker; + } + + return null; + } + + /// + /// When overridden in a derived class, builds a dictionary of name/value pairs. + /// + /// The object to serialize. + /// The object that is responsible for the serialization. + /// + /// An object that contains key/value pairs that represent the object�s data. + /// + public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) + { + var entity = obj as WikiPage; + var result = new Dictionary(); + + if (entity != null) + { + result.Add(RedmineKeys.TEXT, entity.Text); + result.Add(RedmineKeys.COMMENTS, entity.Comments); + result.WriteValueOrEmpty(entity.Version, RedmineKeys.VERSION); + result.WriteArray(RedmineKeys.UPLOADS, entity.Uploads, new UploadConverter(), serializer); + + var root = new Dictionary(); + root[RedmineKeys.WIKI_PAGE] = result; + return root; + } + + return result; + } + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net20-api/MimeFormat.cs b/src/redmine-net20-api/MimeFormat.cs index 6959b8a3..b99bf3c6 100755 --- a/src/redmine-net20-api/MimeFormat.cs +++ b/src/redmine-net20-api/MimeFormat.cs @@ -14,6 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ + namespace Redmine.Net.Api { /// @@ -23,6 +24,10 @@ public enum MimeFormat { /// /// - Xml + Xml, + /// + /// The json + /// + Json } } \ No newline at end of file diff --git a/src/redmine-net20-api/RedmineManager.cs b/src/redmine-net20-api/RedmineManager.cs index 195490e8..bc393d61 100644 --- a/src/redmine-net20-api/RedmineManager.cs +++ b/src/redmine-net20-api/RedmineManager.cs @@ -26,7 +26,7 @@ limitations under the License. using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Logging; + using Redmine.Net.Api.Types; using Group = Redmine.Net.Api.Types.Group; using Version = Redmine.Net.Api.Types.Version; @@ -204,7 +204,7 @@ private set if (!Uri.TryCreate(host, UriKind.Absolute, out uriResult) || !(uriResult.Scheme == Uri.UriSchemeHttp || uriResult.Scheme == Uri.UriSchemeHttps)) { - host = "http://" + host; + host = $"http://{host}/"; } if (!Uri.TryCreate(host, UriKind.Absolute, out uriResult)) @@ -364,7 +364,7 @@ public List GetAllWikiPages(string projectId) { var url = UrlHelper.GetWikisUrl(this, projectId); var result = WebApiHelper.ExecuteDownloadList(this, url, "GetAllWikiPages"); - return result != null ? result.Objects : null; + return result?.Objects; } /// @@ -379,6 +379,12 @@ public void DeleteWikiPage(string projectId, string pageName) WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty, "DeleteWikiPage"); } + /// + /// + /// + /// + /// + /// public int Count(NameValueCollection parameters) where T : class, new() { int totalCount = 0, pageSize = 1, offset = 0; @@ -445,6 +451,12 @@ public void DeleteWikiPage(string projectId, string pageName) return WebApiHelper.ExecuteDownloadList(this, url, "GetObjectList", parameters); } + /// + /// + /// + /// + /// + /// public int Count(params string[] include) where T : class, new() { var parameters = new NameValueCollection(); @@ -799,17 +811,17 @@ public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, /// The sender. /// The cert. /// The chain. - /// The error. + /// The error. /// /// - public virtual bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors error) + public virtual bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors sslPolicyErrors) { - if (error == SslPolicyErrors.None) + if (sslPolicyErrors == SslPolicyErrors.None) { return true; } - Logger.Current.Error("X509Certificate [{0}] Policy Error: '{1}'", cert.Subject, error); + // Logger.Current.Error("X509Certificate [{0}] Policy Error: '{1}'", cert.Subject, error); return false; } diff --git a/src/redmine-net20-api/Types/Attachment.cs b/src/redmine-net20-api/Types/Attachment.cs index ebdf64d9..ac171889 100755 --- a/src/redmine-net20-api/Types/Attachment.cs +++ b/src/redmine-net20-api/Types/Attachment.cs @@ -34,7 +34,7 @@ public class Attachment : Identifiable, IXmlSerializable, IEquatable /// /// The name of the file. [XmlElement(RedmineKeys.FILENAME)] - public String FileName { get; set; } + public string FileName { get; set; } /// /// Gets or sets the size of the file. @@ -48,21 +48,21 @@ public class Attachment : Identifiable, IXmlSerializable, IEquatable /// /// The type of the content. [XmlElement(RedmineKeys.CONTENT_TYPE)] - public String ContentType { get; set; } + public string ContentType { get; set; } /// /// Gets or sets the description. /// /// The description. [XmlElement(RedmineKeys.DESCRIPTION)] - public String Description { get; set; } + public string Description { get; set; } /// /// Gets or sets the content URL. /// /// The content URL. [XmlElement(RedmineKeys.CONTENT_URL)] - public String ContentUrl { get; set; } + public string ContentUrl { get; set; } /// /// Gets or sets the author. diff --git a/src/redmine-net20-api/Types/CustomField.cs b/src/redmine-net20-api/Types/CustomField.cs index 192f582d..a4bc7a69 100755 --- a/src/redmine-net20-api/Types/CustomField.cs +++ b/src/redmine-net20-api/Types/CustomField.cs @@ -191,13 +191,13 @@ public bool Equals(CustomField other) && Multiple == other.Multiple && Searchable == other.Searchable && Visible == other.Visible - && CustomizedType.Equals(other.CustomizedType) - && DefaultValue.Equals(other.DefaultValue) - && FieldFormat.Equals(other.FieldFormat) + && CustomizedType.Equals(other.CustomizedType, StringComparison.OrdinalIgnoreCase) + && DefaultValue.Equals(other.DefaultValue, StringComparison.OrdinalIgnoreCase) + && FieldFormat.Equals(other.FieldFormat, StringComparison.OrdinalIgnoreCase) && MaxLength == other.MaxLength && MinLength == other.MinLength - && Name.Equals(other.Name) - && Regexp.Equals(other.Regexp) + && Name.Equals(other.Name, StringComparison.OrdinalIgnoreCase) + && Regexp.Equals(other.Regexp, StringComparison.OrdinalIgnoreCase) && PossibleValues.Equals(other.PossibleValues) && Roles.Equals(other.Roles) && Trackers.Equals(other.Trackers); diff --git a/src/redmine-net20-api/Types/Detail.cs b/src/redmine-net20-api/Types/Detail.cs index fc946d62..23838086 100755 --- a/src/redmine-net20-api/Types/Detail.cs +++ b/src/redmine-net20-api/Types/Detail.cs @@ -114,10 +114,10 @@ public void WriteXml(XmlWriter writer) { } public bool Equals(Detail other) { if (other == null) return false; - return (Property != null ? Property.Equals(other.Property) : other.Property == null) - && (Name != null ? Name.Equals(other.Name) : other.Name == null) - && (OldValue != null ? OldValue.Equals(other.OldValue) : other.OldValue == null) - && (NewValue != null ? NewValue.Equals(other.NewValue) : other.NewValue == null); + return (Property?.Equals(other.Property, StringComparison.OrdinalIgnoreCase) ?? other.Property == null) + && (Name?.Equals(other.Name, StringComparison.OrdinalIgnoreCase) ?? other.Name == null) + && (OldValue?.Equals(other.OldValue, StringComparison.OrdinalIgnoreCase) ?? other.OldValue == null) + && (NewValue?.Equals(other.NewValue, StringComparison.OrdinalIgnoreCase) ?? other.NewValue == null); } /// diff --git a/src/redmine-net20-api/Types/Error.cs b/src/redmine-net20-api/Types/Error.cs index 4898ec42..b5576229 100755 --- a/src/redmine-net20-api/Types/Error.cs +++ b/src/redmine-net20-api/Types/Error.cs @@ -43,7 +43,7 @@ public bool Equals(Error other) { if (other == null) return false; - return Info.Equals(other.Info); + return Info.Equals(other.Info, StringComparison.OrdinalIgnoreCase); } /// diff --git a/src/redmine-net20-api/Types/Group.cs b/src/redmine-net20-api/Types/Group.cs index 9b53f74f..b71ce6d1 100755 --- a/src/redmine-net20-api/Types/Group.cs +++ b/src/redmine-net20-api/Types/Group.cs @@ -112,9 +112,9 @@ public bool Equals(Group other) if (other == null) return false; return Id == other.Id && Name == other.Name - && (Users != null ? Users.Equals(other.Users) : other.Users == null) - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) - && (Memberships != null ? Memberships.Equals(other.Memberships) : other.Memberships == null); + && (Users?.Equals(other.Users) ?? other.Users == null) + && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null) + && (Memberships?.Equals(other.Memberships) ?? other.Memberships == null); } /// @@ -164,7 +164,7 @@ public override string ToString() /// /// /// - public int GetGroupUserId(object gu) + public static int GetGroupUserId(object gu) { return ((GroupUser)gu).Id; } diff --git a/src/redmine-net20-api/Types/IdentifiableName.cs b/src/redmine-net20-api/Types/IdentifiableName.cs index 35808375..5f585dfe 100755 --- a/src/redmine-net20-api/Types/IdentifiableName.cs +++ b/src/redmine-net20-api/Types/IdentifiableName.cs @@ -54,7 +54,7 @@ private void Initialize(XmlReader reader) /// /// The name. [XmlAttribute(RedmineKeys.NAME)] - public String Name { get; set; } + public string Name { get; set; } /// /// @@ -68,7 +68,7 @@ private void Initialize(XmlReader reader) /// public virtual void ReadXml(XmlReader reader) { - Id = Convert.ToInt32(reader.GetAttribute(RedmineKeys.ID)); + Id = Convert.ToInt32(reader.GetAttribute(RedmineKeys.ID), CultureInfo.InvariantCulture); Name = reader.GetAttribute(RedmineKeys.NAME); reader.Read(); } @@ -88,7 +88,7 @@ public virtual void WriteXml(XmlWriter writer) /// public override string ToString() { - return string.Format("[IdentifiableName: Id={0}, Name={1}]", Id, Name); + return string.Format(CultureInfo.InvariantCulture,"[IdentifiableName: Id={0}, Name={1}]", Id.ToString(CultureInfo.InvariantCulture), Name); } /// diff --git a/src/redmine-net20-api/Types/Issue.cs b/src/redmine-net20-api/Types/Issue.cs index cd33bcf8..4f11d017 100644 --- a/src/redmine-net20-api/Types/Issue.cs +++ b/src/redmine-net20-api/Types/Issue.cs @@ -80,14 +80,14 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// /// The subject. [XmlElement(RedmineKeys.SUBJECT)] - public String Subject { get; set; } + public string Subject { get; set; } /// /// Gets or sets the description. /// /// The description. [XmlElement(RedmineKeys.DESCRIPTION)] - public String Description { get; set; } + public string Description { get; set; } /// /// Gets or sets the start date. @@ -540,21 +540,21 @@ public bool Equals(Issue other) && DueDate == other.DueDate && DoneRatio == other.DoneRatio && EstimatedHours == other.EstimatedHours - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) + && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null) && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn && AssignedTo == other.AssignedTo && FixedVersion == other.FixedVersion && Notes == other.Notes - && (Watchers != null ? Watchers.Equals(other.Watchers) : other.Watchers == null) + && (Watchers?.Equals(other.Watchers) ?? other.Watchers == null) && ClosedOn == other.ClosedOn && SpentHours == other.SpentHours && PrivateNotes == other.PrivateNotes - && (Attachments != null ? Attachments.Equals(other.Attachments) : other.Attachments == null) - && (Changesets!= null ? Changesets.Equals(other.Changesets) : other.Changesets == null) - && (Children != null ? Children.Equals(other.Children) : other.Children == null) - && (Journals != null ? Journals.Equals(other.Journals) : other.Journals == null) - && (Relations != null ? Relations.Equals(other.Relations) : other.Relations == null) + && (Attachments?.Equals(other.Attachments) ?? other.Attachments == null) + && (Changesets?.Equals(other.Changesets) ?? other.Changesets == null) + && (Children?.Equals(other.Children) ?? other.Children == null) + && (Journals?.Equals(other.Journals) ?? other.Journals == null) + && (Relations?.Equals(other.Relations) ?? other.Relations == null) ); } diff --git a/src/redmine-net20-api/Types/IssueChild.cs b/src/redmine-net20-api/Types/IssueChild.cs index e85bc39b..392c5834 100755 --- a/src/redmine-net20-api/Types/IssueChild.cs +++ b/src/redmine-net20-api/Types/IssueChild.cs @@ -40,7 +40,7 @@ public class IssueChild : Identifiable, IXmlSerializable, IEquatable /// /// The subject. [XmlElement(RedmineKeys.SUBJECT)] - public String Subject { get; set; } + public string Subject { get; set; } /// /// diff --git a/src/redmine-net20-api/Types/IssueCustomField.cs b/src/redmine-net20-api/Types/IssueCustomField.cs index 994cf6b6..c21650a0 100755 --- a/src/redmine-net20-api/Types/IssueCustomField.cs +++ b/src/redmine-net20-api/Types/IssueCustomField.cs @@ -50,7 +50,7 @@ public class IssueCustomField : IdentifiableName, IEquatable, /// public override void ReadXml(XmlReader reader) { - Id = Convert.ToInt32(reader.GetAttribute(RedmineKeys.ID)); + Id = Convert.ToInt32(reader.GetAttribute(RedmineKeys.ID), CultureInfo.InvariantCulture); Name = reader.GetAttribute(RedmineKeys.NAME); Multiple = reader.ReadAttributeAsBoolean(RedmineKeys.MULTIPLE); @@ -139,8 +139,9 @@ public override int GetHashCode() /// /// /// - public string GetValue(object item) + public static string GetValue(object item) { + if (item == null) throw new ArgumentNullException(nameof(item)); return ((CustomFieldValue)item).Info; } } diff --git a/src/redmine-net20-api/Types/IssuePriority.cs b/src/redmine-net20-api/Types/IssuePriority.cs index f6fc1227..68643b3e 100755 --- a/src/redmine-net20-api/Types/IssuePriority.cs +++ b/src/redmine-net20-api/Types/IssuePriority.cs @@ -38,9 +38,10 @@ public class IssuePriority : IdentifiableName, IEquatable /// /// Generates an object from its XML representation. /// - /// The stream from which the object is deserialized. + /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { + if (reader == null) throw new ArgumentNullException(nameof(reader)); reader.Read(); while (!reader.EOF) { diff --git a/src/redmine-net20-api/Types/IssueRelation.cs b/src/redmine-net20-api/Types/IssueRelation.cs index fd2f59dc..59d49430 100755 --- a/src/redmine-net20-api/Types/IssueRelation.cs +++ b/src/redmine-net20-api/Types/IssueRelation.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Globalization; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; @@ -69,6 +70,7 @@ public class IssueRelation : Identifiable, IXmlSerializable, IEqu /// public void ReadXml(XmlReader reader) { + if (reader == null) throw new ArgumentNullException(nameof(reader)); if (!reader.IsEmptyElement) reader.Read(); while (!reader.EOF) { @@ -125,7 +127,8 @@ public void ReadXml(XmlReader reader) /// public void WriteXml(XmlWriter writer) { - writer.WriteElementString(RedmineKeys.ISSUE_TO_ID, IssueToId.ToString()); + if (writer == null) throw new ArgumentNullException(nameof(writer)); + writer.WriteElementString(RedmineKeys.ISSUE_TO_ID, IssueToId.ToString(CultureInfo.InvariantCulture)); writer.WriteElementString(RedmineKeys.RELATION_TYPE, Type.ToString()); if (Type == IssueRelationType.precedes || Type == IssueRelationType.follows) writer.WriteValueOrEmpty(Delay, RedmineKeys.DELAY); diff --git a/src/redmine-net20-api/Types/IssueStatus.cs b/src/redmine-net20-api/Types/IssueStatus.cs index 2c1bf821..e0b24cf9 100755 --- a/src/redmine-net20-api/Types/IssueStatus.cs +++ b/src/redmine-net20-api/Types/IssueStatus.cs @@ -49,6 +49,7 @@ public class IssueStatus : IdentifiableName, IEquatable /// public override void ReadXml(XmlReader reader) { + if (reader == null) throw new ArgumentNullException(nameof(reader)); reader.Read(); while (!reader.EOF) { diff --git a/src/redmine-net20-api/Types/Journal.cs b/src/redmine-net20-api/Types/Journal.cs index 77ffa439..c83c3bcd 100644 --- a/src/redmine-net20-api/Types/Journal.cs +++ b/src/redmine-net20-api/Types/Journal.cs @@ -85,6 +85,7 @@ public class Journal : Identifiable, IEquatable, IXmlSerializa /// public void ReadXml(XmlReader reader) { + if (reader == null) throw new ArgumentNullException(nameof(reader)); Id = reader.ReadAttributeAsInt(RedmineKeys.ID); reader.Read(); @@ -131,7 +132,7 @@ public bool Equals(Journal other) && User == other.User && Notes == other.Notes && CreatedOn == other.CreatedOn - && (Details != null ? Details.Equals(other.Details) : other.Details == null ); + && (Details?.Equals(other.Details) ?? other.Details == null); } /// diff --git a/src/redmine-net20-api/Types/Membership.cs b/src/redmine-net20-api/Types/Membership.cs index e4b7f846..85d247ed 100755 --- a/src/redmine-net20-api/Types/Membership.cs +++ b/src/redmine-net20-api/Types/Membership.cs @@ -57,6 +57,7 @@ public class Membership : Identifiable, IEquatable, IXml /// public void ReadXml(XmlReader reader) { + if (reader == null) throw new ArgumentNullException(nameof(reader)); reader.Read(); while (!reader.EOF) { @@ -95,7 +96,7 @@ public bool Equals(Membership other) if (other == null) return false; return (Id == other.Id && (Project != null ? Project.Equals(other.Project) : other.Project == null) && - (Roles != null ? Roles.Equals(other.Roles) : other.Roles == null)); + (Roles?.Equals(other.Roles) ?? other.Roles == null)); } /// diff --git a/src/redmine-net20-api/Types/MembershipRole.cs b/src/redmine-net20-api/Types/MembershipRole.cs index 8978c685..be1500e4 100755 --- a/src/redmine-net20-api/Types/MembershipRole.cs +++ b/src/redmine-net20-api/Types/MembershipRole.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Globalization; using System.Xml; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; @@ -43,7 +44,8 @@ public class MembershipRole : IdentifiableName, IEquatable /// The reader. public override void ReadXml(XmlReader reader) { - Id = Convert.ToInt32(reader.GetAttribute(RedmineKeys.ID)); + if (reader == null) throw new ArgumentNullException(nameof(reader)); + Id = Convert.ToInt32(reader.GetAttribute(RedmineKeys.ID), CultureInfo.InvariantCulture); Name = reader.GetAttribute(RedmineKeys.NAME); Inherited = reader.ReadAttributeAsBoolean(RedmineKeys.INHERITED); reader.Read(); @@ -55,6 +57,7 @@ public override void ReadXml(XmlReader reader) /// public override void WriteXml(XmlWriter writer) { + if (writer == null) throw new ArgumentNullException(nameof(writer)); writer.WriteValue(Id); } diff --git a/src/redmine-net20-api/Types/News.cs b/src/redmine-net20-api/Types/News.cs index ccf885ab..f5921e75 100755 --- a/src/redmine-net20-api/Types/News.cs +++ b/src/redmine-net20-api/Types/News.cs @@ -48,21 +48,21 @@ public class News : Identifiable, IEquatable, IXmlSerializable /// /// The title. [XmlElement(RedmineKeys.TITLE)] - public String Title { get; set; } + public string Title { get; set; } /// /// Gets or sets the summary. /// /// The summary. [XmlElement(RedmineKeys.SUMMARY)] - public String Summary { get; set; } + public string Summary { get; set; } /// /// Gets or sets the description. /// /// The description. [XmlElement(RedmineKeys.DESCRIPTION)] - public String Description { get; set; } + public string Description { get; set; } /// /// Gets or sets the created on. @@ -83,6 +83,7 @@ public class News : Identifiable, IEquatable, IXmlSerializable /// public void ReadXml(XmlReader reader) { + if (reader == null) throw new ArgumentNullException(nameof(reader)); reader.Read(); while (!reader.EOF) { diff --git a/src/redmine-net20-api/Types/Permission.cs b/src/redmine-net20-api/Types/Permission.cs index 01148283..dcd3e137 100755 --- a/src/redmine-net20-api/Types/Permission.cs +++ b/src/redmine-net20-api/Types/Permission.cs @@ -39,7 +39,7 @@ public class Permission : IEquatable /// public bool Equals(Permission other) { - return Info == other.Info; + return other != null && Info == other.Info; } /// diff --git a/src/redmine-net20-api/Types/Project.cs b/src/redmine-net20-api/Types/Project.cs index ab9481b3..3505f376 100644 --- a/src/redmine-net20-api/Types/Project.cs +++ b/src/redmine-net20-api/Types/Project.cs @@ -16,6 +16,7 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Globalization; using System.Xml; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; @@ -34,14 +35,14 @@ public class Project : IdentifiableName, IEquatable /// /// The identifier. [XmlElement(RedmineKeys.IDENTIFIER)] - public String Identifier { get; set; } + public string Identifier { get; set; } /// /// Gets or sets the description. /// /// The description. [XmlElement(RedmineKeys.DESCRIPTION)] - public String Description { get; set; } + public string Description { get; set; } /// /// Gets or sets the parent. @@ -55,7 +56,7 @@ public class Project : IdentifiableName, IEquatable /// /// The home page. [XmlElement(RedmineKeys.HOMEPAGE)] - public String HomePage { get; set; } + public string HomePage { get; set; } /// /// Gets or sets the created on. @@ -152,6 +153,7 @@ public class Project : IdentifiableName, IEquatable /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { + if (reader == null) throw new ArgumentNullException(nameof(reader)); reader.Read(); while (!reader.EOF) { @@ -205,11 +207,12 @@ public override void ReadXml(XmlReader reader) /// public override void WriteXml(XmlWriter writer) { + if (writer == null) throw new ArgumentNullException(nameof(writer)); writer.WriteElementString(RedmineKeys.NAME, Name); writer.WriteElementString(RedmineKeys.IDENTIFIER, Identifier); writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); //writer.WriteElementString(RedmineKeys.INHERIT_MEMBERS, InheritMembers.ToString().ToLowerInvariant()); - writer.WriteElementString(RedmineKeys.IS_PUBLIC, IsPublic.ToString().ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.IS_PUBLIC, IsPublic.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); writer.WriteIdOrEmpty(Parent, RedmineKeys.PARENT_ID); writer.WriteElementString(RedmineKeys.HOMEPAGE, HomePage); @@ -243,19 +246,19 @@ public bool Equals(Project other) if (other == null) return false; return ( Id == other.Id - && Identifier.Equals(other.Identifier) - && Description.Equals(other.Description) + && Identifier.Equals(other.Identifier, StringComparison.OrdinalIgnoreCase) + && Description.Equals(other.Description, StringComparison.OrdinalIgnoreCase) && (Parent != null ? Parent.Equals(other.Parent) : other.Parent == null) - && (HomePage != null ? HomePage.Equals(other.HomePage) : other.HomePage == null) + && (HomePage?.Equals(other.HomePage, StringComparison.OrdinalIgnoreCase) ?? other.HomePage == null) && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn && Status == other.Status && IsPublic == other.IsPublic && InheritMembers == other.InheritMembers - && (Trackers != null ? Trackers.Equals(other.Trackers) : other.Trackers == null) - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) - && (IssueCategories != null ? IssueCategories.Equals(other.IssueCategories) : other.IssueCategories == null) - && (EnabledModules != null ? EnabledModules.Equals(other.EnabledModules) : other.EnabledModules == null) + && (Trackers?.Equals(other.Trackers) ?? other.Trackers == null) + && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null) + && (IssueCategories?.Equals(other.IssueCategories) ?? other.IssueCategories == null) + && (EnabledModules?.Equals(other.EnabledModules) ?? other.EnabledModules == null) ); } diff --git a/src/redmine-net20-api/Types/ProjectMembership.cs b/src/redmine-net20-api/Types/ProjectMembership.cs index 962d4d77..3dc0e494 100755 --- a/src/redmine-net20-api/Types/ProjectMembership.cs +++ b/src/redmine-net20-api/Types/ProjectMembership.cs @@ -94,6 +94,7 @@ public bool Equals(ProjectMembership other) /// public void ReadXml(XmlReader reader) { + if (reader == null) throw new ArgumentNullException(nameof(reader)); reader.Read(); while (!reader.EOF) { diff --git a/src/redmine-net20-api/Types/ProjectTracker.cs b/src/redmine-net20-api/Types/ProjectTracker.cs index 5aa09b55..518a419c 100755 --- a/src/redmine-net20-api/Types/ProjectTracker.cs +++ b/src/redmine-net20-api/Types/ProjectTracker.cs @@ -14,6 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ +using System.Globalization; using System.Xml.Serialization; namespace Redmine.Net.Api.Types @@ -27,7 +28,7 @@ public class ProjectTracker : IdentifiableName, IValue /// /// /// - public string Value{get{return Id.ToString ();}} + public string Value{get{return Id.ToString (CultureInfo.InvariantCulture);}} /// /// diff --git a/src/redmine-net20-api/Types/Role.cs b/src/redmine-net20-api/Types/Role.cs index a2cdaaac..774c03ea 100755 --- a/src/redmine-net20-api/Types/Role.cs +++ b/src/redmine-net20-api/Types/Role.cs @@ -45,6 +45,7 @@ public class Role : IdentifiableName, IEquatable /// public override void ReadXml(XmlReader reader) { + if (reader == null) throw new ArgumentNullException(nameof(reader)); reader.Read(); while (!reader.EOF) { diff --git a/src/redmine-net20-api/Types/TimeEntry.cs b/src/redmine-net20-api/Types/TimeEntry.cs index 4caa32f9..d5de2b17 100644 --- a/src/redmine-net20-api/Types/TimeEntry.cs +++ b/src/redmine-net20-api/Types/TimeEntry.cs @@ -82,20 +82,10 @@ public class TimeEntry : Identifiable, ICloneable, IEquatable /// The comments. [XmlAttribute(RedmineKeys.COMMENTS)] - public String Comments + public string Comments { get { return comments; } - set - { - if (!string.IsNullOrEmpty(value)) - { - if (value.Length > 255) - { - value = value.Substring(0, 255); - } - } - comments = value; - } + set { comments = value.Truncate(255); } } /// @@ -224,7 +214,7 @@ public bool Equals(TimeEntry other) && User == other.User && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null)); + && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null)); } /// diff --git a/src/redmine-net20-api/Types/TimeEntryActivity.cs b/src/redmine-net20-api/Types/TimeEntryActivity.cs index a7a01886..36f8d338 100755 --- a/src/redmine-net20-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net20-api/Types/TimeEntryActivity.cs @@ -38,7 +38,7 @@ public class TimeEntryActivity : IdentifiableName, IEquatable /// /// Generates an object from its XML representation. /// - /// The stream from which the object is deserialized. + /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { reader.Read(); diff --git a/src/redmine-net20-api/Types/Tracker.cs b/src/redmine-net20-api/Types/Tracker.cs index fa9c579c..de431525 100755 --- a/src/redmine-net20-api/Types/Tracker.cs +++ b/src/redmine-net20-api/Types/Tracker.cs @@ -35,7 +35,7 @@ public override void WriteXml(XmlWriter writer) { } /// /// Generates an object from its XML representation. /// - /// The stream from which the object is deserialized. + /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { reader.Read(); diff --git a/src/redmine-net20-api/Types/Upload.cs b/src/redmine-net20-api/Types/Upload.cs index e8fc55ae..f7476ecc 100755 --- a/src/redmine-net20-api/Types/Upload.cs +++ b/src/redmine-net20-api/Types/Upload.cs @@ -72,10 +72,10 @@ public class Upload : IEquatable public bool Equals(Upload other) { return other != null - && Token.Equals(other.Token) - && FileName.Equals(other.FileName) - && Description.Equals(other.Description) - && ContentType.Equals(other.ContentType); + && Token.Equals(other.Token, StringComparison.OrdinalIgnoreCase) + && FileName.Equals(other.FileName, StringComparison.OrdinalIgnoreCase) + && Description.Equals(other.Description, StringComparison.OrdinalIgnoreCase) + && ContentType.Equals(other.ContentType, StringComparison.OrdinalIgnoreCase); } /// diff --git a/src/redmine-net20-api/Types/User.cs b/src/redmine-net20-api/Types/User.cs index 214b70e0..c9d89852 100644 --- a/src/redmine-net20-api/Types/User.cs +++ b/src/redmine-net20-api/Types/User.cs @@ -36,7 +36,7 @@ public class User : Identifiable, IXmlSerializable, IEquatable /// /// The login. [XmlElement(RedmineKeys.LOGIN)] - public String Login { get; set; } + public string Login { get; set; } /// /// Gets or sets the user password. @@ -50,21 +50,21 @@ public class User : Identifiable, IXmlSerializable, IEquatable /// /// The first name. [XmlElement(RedmineKeys.FIRSTNAME)] - public String FirstName { get; set; } + public string FirstName { get; set; } /// /// Gets or sets the last name. /// /// The last name. [XmlElement(RedmineKeys.LASTNAME)] - public String LastName { get; set; } + public string LastName { get; set; } /// /// Gets or sets the email. /// /// The email. [XmlElement(RedmineKeys.MAIL)] - public String Email { get; set; } + public string Email { get; set; } /// /// Gets or sets the authentication mode id. @@ -73,7 +73,7 @@ public class User : Identifiable, IXmlSerializable, IEquatable /// The authentication mode id. /// [XmlElement(RedmineKeys.AUTH_SOURCE_ID, IsNullable = true)] - public Int32? AuthenticationModeId { get; set; } + public int? AuthenticationModeId { get; set; } /// /// Gets or sets the created on. @@ -230,7 +230,7 @@ public void WriteXml(XmlWriter writer) writer.WriteValueOrEmpty(AuthenticationModeId, RedmineKeys.AUTH_SOURCE_ID); } - writer.WriteElementString(RedmineKeys.MUST_CHANGE_PASSWD, MustChangePassword.ToString().ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.MUST_CHANGE_PASSWD, MustChangePassword.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); writer.WriteElementString(RedmineKeys.STATUS, ((int)Status).ToString(CultureInfo.InvariantCulture)); if(CustomFields != null) { @@ -248,21 +248,21 @@ public bool Equals(User other) if (other == null) return false; return ( Id == other.Id - && Login.Equals(other.Login) + && Login.Equals(other.Login, StringComparison.OrdinalIgnoreCase) //&& Password.Equals(other.Password) - && FirstName.Equals(other.FirstName) - && LastName.Equals(other.LastName) - && Email.Equals(other.Email) - && MailNotification.Equals(other.MailNotification) - && (ApiKey != null ? ApiKey.Equals(other.ApiKey) : other.ApiKey == null) + && FirstName.Equals(other.FirstName, StringComparison.OrdinalIgnoreCase) + && LastName.Equals(other.LastName, StringComparison.OrdinalIgnoreCase) + && Email.Equals(other.Email, StringComparison.OrdinalIgnoreCase) + && MailNotification.Equals(other.MailNotification, StringComparison.OrdinalIgnoreCase) + && (ApiKey?.Equals(other.ApiKey, StringComparison.OrdinalIgnoreCase) ?? other.ApiKey == null) && AuthenticationModeId == other.AuthenticationModeId && CreatedOn == other.CreatedOn && LastLoginOn == other.LastLoginOn && Status == other.Status && MustChangePassword == other.MustChangePassword - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) - && (Memberships != null ? Memberships.Equals(other.Memberships): other.Memberships == null) - && (Groups != null ? Groups.Equals(other.Groups) : other.Groups == null) + && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null) + && (Memberships?.Equals(other.Memberships) ?? other.Memberships == null) + && (Groups?.Equals(other.Groups) ?? other.Groups == null) ); } diff --git a/src/redmine-net20-api/Types/Version.cs b/src/redmine-net20-api/Types/Version.cs index 287823d2..e239f53c 100755 --- a/src/redmine-net20-api/Types/Version.cs +++ b/src/redmine-net20-api/Types/Version.cs @@ -41,7 +41,7 @@ public class Version : IdentifiableName, IEquatable /// /// The description. [XmlElement(RedmineKeys.DESCRIPTION)] - public String Description { get; set; } + public string Description { get; set; } /// /// Gets or sets the status. @@ -158,7 +158,7 @@ public bool Equals(Version other) && Sharing == other.Sharing && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null)); + && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null)); } /// diff --git a/src/redmine-net20-api/Types/Watcher.cs b/src/redmine-net20-api/Types/Watcher.cs index 3afdacd5..5eb461bf 100755 --- a/src/redmine-net20-api/Types/Watcher.cs +++ b/src/redmine-net20-api/Types/Watcher.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Globalization; using System.Xml.Serialization; namespace Redmine.Net.Api.Types @@ -33,7 +34,7 @@ public string Value { get { - return Id.ToString(); + return Id.ToString(CultureInfo.InvariantCulture); } } diff --git a/src/redmine-net20-api/redmine-net20-api.csproj b/src/redmine-net20-api/redmine-net20-api.csproj index 2c490e79..762bbb62 100644 --- a/src/redmine-net20-api/redmine-net20-api.csproj +++ b/src/redmine-net20-api/redmine-net20-api.csproj @@ -1,163 +1,188 @@  - - - - Debug - AnyCPU - {0E6B9B72-445D-4E71-8D29-48C4A009AB03} - Library - Properties + + + + net48 + net20;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48; + + false + Redmine.Net.Api - redmine-net20-api - v2.0 - 512 - + redmine-net-api + + true + + TRACE + + x64 or x86 + + Debug;Release + + PackageReference + + AnyCPU;x64 + + + + + + NET20;NETFULL + + + + NET40;NETFULL + + + + NET45;NETFULL + + + + NET451;NETFULL + + + + NET452;NETFULL + + + + NET46;NETFULL + + + + NET461;NETFULL + + + + NET462;NETFULL + + + + + NET47;NETFULL - + + + NET471;NETFULL + + + + NET472;NETFULL + + + + NET48;NETFULL + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + full true + + + + full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - bin\Debug\redmine-net20-api.XML - - - none - true - bin\Release\ - TRACE - prompt - 4 - bin\Release\redmine-net20-api.XML + true - + + + ..\bin\Release\ + pdbonly true - bin\DebugXML\ - DEBUG;TRACE - full - AnyCPU - prompt - MinimumRecommendedRules.ruleset - 4 - false - + + + ..\bin\Release\ + pdbonly true - bin\DebugJSON\ - DEBUG;TRACE - full - AnyCPU - prompt - MinimumRecommendedRules.ruleset - 4 - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Component - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + <_Parameter1>$(MSBuildProjectName).Tests + - - - - + \ No newline at end of file diff --git a/src/redmine-net40-api-signed/redmine-net40-api-signed.csproj b/src/redmine-net40-api-signed/redmine-net40-api-signed.csproj index 9d7fe5f8..7726d305 100644 --- a/src/redmine-net40-api-signed/redmine-net40-api-signed.csproj +++ b/src/redmine-net40-api-signed/redmine-net40-api-signed.csproj @@ -281,8 +281,8 @@ Types\WikiPage.cs - - Async\RedmineManagerAsync.cs + + Async\RedmineManagerAsync40.cs Extensions\CollectionExtensions.cs diff --git a/src/redmine-net40-api/Extensions/CollectionExtensions.cs b/src/redmine-net40-api/Extensions/CollectionExtensions.cs deleted file mode 100755 index 78ff07ff..00000000 --- a/src/redmine-net40-api/Extensions/CollectionExtensions.cs +++ /dev/null @@ -1,62 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; - -namespace Redmine.Net.Api.Extensions -{ - /// - /// - /// - - - public static class CollectionExtensions - { - /// - /// Clones the specified list to clone. - /// - /// - /// The list to clone. - /// - public static IList Clone(this IList listToClone) where T : ICloneable - { - if (listToClone == null) return null; - IList clonedList = new List(); - foreach (var item in listToClone) - clonedList.Add((T) item.Clone()); - return clonedList; - } - - - /// - /// Equalses the specified list to compare. - /// - /// - /// The list. - /// The list to compare. - /// - public static bool Equals(this IList list, IList listToCompare) where T : class - { - if (listToCompare == null) return false; - - var set = new HashSet(list); - var setToCompare = new HashSet(listToCompare); - - return set.SetEquals(setToCompare); - } - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/Extensions/WebExtensions.cs b/src/redmine-net40-api/Extensions/WebExtensions.cs deleted file mode 100755 index 10f38336..00000000 --- a/src/redmine-net40-api/Extensions/WebExtensions.cs +++ /dev/null @@ -1,121 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Net; -using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Exceptions; - -namespace Redmine.Net.Api.Extensions -{ - /// - /// - /// - public static class WebExtensions - { - /// - /// Handles the web exception. - /// - /// The exception. - /// The method. - /// The MIME format. - /// Timeout! - /// Bad domain name! - /// - /// - /// - /// - /// The page that you are trying to update is staled! - /// - /// - /// - public static void HandleWebException(this WebException exception, string method, MimeFormat mimeFormat) - { - if (exception == null) return; - - switch (exception.Status) - { - case WebExceptionStatus.Timeout: throw new RedmineTimeoutException("Timeout!", exception); - case WebExceptionStatus.NameResolutionFailure: throw new NameResolutionFailureException("Bad domain name!", exception); - case WebExceptionStatus.ProtocolError: - { - var response = (HttpWebResponse)exception.Response; - switch ((int)response.StatusCode) - { - - case (int)HttpStatusCode.NotFound: - throw new NotFoundException (response.StatusDescription, exception); - - case (int)HttpStatusCode.InternalServerError: - throw new InternalServerErrorException(response.StatusDescription, exception); - - case (int)HttpStatusCode.Unauthorized: - throw new UnauthorizedException(response.StatusDescription, exception); - - case (int)HttpStatusCode.Forbidden: - throw new ForbiddenException(response.StatusDescription, exception); - - case (int)HttpStatusCode.Conflict: - throw new ConflictException("The page that you are trying to update is staled!", exception); - - case 422: - - var errors = GetRedmineExceptions(exception.Response, mimeFormat); - string message = string.Empty; - if (errors != null) - { - message = errors.Aggregate(message, (current, error) => current + (error.Info + "\n")); - } - throw new RedmineException(method + " has invalid or missing attribute parameters: " + message, exception); - - case (int)HttpStatusCode.NotAcceptable: throw new NotAcceptableException(response.StatusDescription, exception); - } - } - break; - - default: throw new RedmineException(exception.Message, exception); - } - } - - /// - /// Gets the redmine exceptions. - /// - /// The web response. - /// The MIME format. - /// - private static List GetRedmineExceptions(this WebResponse webResponse, MimeFormat mimeFormat) - { - using (var dataStream = webResponse.GetResponseStream()) - { - if (dataStream == null) return null; - using (var reader = new StreamReader(dataStream)) - { - var responseFromServer = reader.ReadToEnd(); - - if (responseFromServer.Trim().Length > 0) - { - var errors = RedmineSerializer.DeserializeList(responseFromServer, mimeFormat); - return errors.Objects; - } - } - return null; - } - } - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net40-api/Extensions/XmlReaderExtensions.cs deleted file mode 100755 index 2a572410..00000000 --- a/src/redmine-net40-api/Extensions/XmlReaderExtensions.cs +++ /dev/null @@ -1,219 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Globalization; -using System.IO; -using System.Xml; -using System.Xml.Serialization; - -namespace Redmine.Net.Api.Extensions -{ - /// - /// - public static class XmlReaderExtensions - { - /// - /// Reads the attribute as int. - /// - /// The reader. - /// Name of the attribute. - /// - public static int ReadAttributeAsInt(this XmlReader reader, string attributeName) - { - var attribute = reader.GetAttribute(attributeName); - int result; - if (string.IsNullOrWhiteSpace(attribute) || - !int.TryParse(attribute, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out result)) - return default(int); - return result; - } - - /// - /// Reads the attribute as nullable int. - /// - /// The reader. - /// Name of the attribute. - /// - public static int? ReadAttributeAsNullableInt(this XmlReader reader, string attributeName) - { - var attribute = reader.GetAttribute(attributeName); - int result; - if (string.IsNullOrWhiteSpace(attribute) || - !int.TryParse(attribute, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out result)) return null; - return result; - } - - /// - /// Reads the attribute as boolean. - /// - /// The reader. - /// Name of the attribute. - /// - public static bool ReadAttributeAsBoolean(this XmlReader reader, string attributeName) - { - var attribute = reader.GetAttribute(attributeName); - bool result; - if (string.IsNullOrWhiteSpace(attribute) || !bool.TryParse(attribute, out result)) return false; - - return result; - } - - /// - /// Reads the element content as nullable date time. - /// - /// The reader. - /// - public static DateTime? ReadElementContentAsNullableDateTime(this XmlReader reader) - { - var str = reader.ReadElementContentAsString(); - - // Format for journals, attachments etc. - var format = "yyyy'-'MM'-'dd HH':'mm':'ss UTC"; - - DateTime result; - if (string.IsNullOrWhiteSpace(str) || !DateTime.TryParse(str, out result)) - { - if (!DateTime.TryParseExact(str, format, CultureInfo.InvariantCulture, DateTimeStyles.None, out result)) - return null; - } - return result; - } - - /// - /// Reads the element content as nullable float. - /// - /// The reader. - /// - public static float? ReadElementContentAsNullableFloat(this XmlReader reader) - { - var str = reader.ReadElementContentAsString(); - - float result; - if (string.IsNullOrWhiteSpace(str) || - !float.TryParse(str, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out result)) return null; - - return result; - } - - /// - /// Reads the element content as nullable int. - /// - /// The reader. - /// - public static int? ReadElementContentAsNullableInt(this XmlReader reader) - { - var str = reader.ReadElementContentAsString(); - - int result; - if (string.IsNullOrWhiteSpace(str) || - !int.TryParse(str, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out result)) return null; - - return result; - } - - /// - /// Reads the element content as nullable decimal. - /// - /// The reader. - /// - public static decimal? ReadElementContentAsNullableDecimal(this XmlReader reader) - { - var str = reader.ReadElementContentAsString(); - - decimal result; - if (string.IsNullOrWhiteSpace(str) || - !decimal.TryParse(str, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out result)) return null; - - return result; - } - - /// - /// Reads the element content as collection. - /// - /// - /// The reader. - /// - public static List ReadElementContentAsCollection(this XmlReader reader) where T : class - { - var result = new List(); - var serializer = new XmlSerializer(typeof(T)); - var xml = reader.ReadOuterXml(); - using (var sr = new StringReader(xml)) - { - var r = new XmlTextReader(sr); - r.ReadStartElement(); - while (!r.EOF) - { - if (r.NodeType == XmlNodeType.EndElement) - { - r.ReadEndElement(); - continue; - } - - T temp; - - if (r.IsEmptyElement && r.HasAttributes) - { - temp = serializer.Deserialize(r) as T; - } - else - { - var subTree = r.ReadSubtree(); - temp = serializer.Deserialize(subTree) as T; - } - if (temp != null) result.Add(temp); - if (!r.IsEmptyElement) r.Read(); - } - } - return result; - } - - /// - /// Reads the element content as collection. - /// - /// The reader. - /// The type. - /// - public static ArrayList ReadElementContentAsCollection(this XmlReader reader, Type type) - { - var result = new ArrayList(); - var serializer = new XmlSerializer(type); - var xml = reader.ReadOuterXml(); - using (var sr = new StringReader(xml)) - { - var r = new XmlTextReader(sr); - r.ReadStartElement(); - while (!r.EOF) - { - if (r.NodeType == XmlNodeType.EndElement) - { - r.ReadEndElement(); - continue; - } - - var subTree = r.ReadSubtree(); - var temp = serializer.Deserialize(subTree); - if (temp != null) result.Add(temp); - r.Read(); - } - } - return result; - } - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/Internals/RedmineSerializer.cs b/src/redmine-net40-api/Internals/RedmineSerializer.cs deleted file mode 100755 index d420391c..00000000 --- a/src/redmine-net40-api/Internals/RedmineSerializer.cs +++ /dev/null @@ -1,230 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.IO; -using System.Linq; -using System.Xml; -using System.Xml.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Exceptions; - -namespace Redmine.Net.Api.Internals -{ - internal static partial class RedmineSerializer - { - /// - /// Serializes the specified System.Object and writes the XML document to a string. - /// - /// The type of objects to serialize. - /// The object to serialize. - /// - /// The System.String that contains the XML document. - /// - /// - // ReSharper disable once InconsistentNaming - private static string ToXML(T obj) where T : class - { - var xws = new XmlWriterSettings {OmitXmlDeclaration = true}; - using (var stringWriter = new StringWriter()) - { - using (var xmlWriter = XmlWriter.Create(stringWriter, xws)) - { - var sr = new XmlSerializer(typeof (T)); - sr.Serialize(xmlWriter, obj); - return stringWriter.ToString(); - } - } - } - - /// - /// Deserializes the XML document contained by the specific System.String. - /// - /// The type of objects to deserialize. - /// The System.String that contains the XML document to deserialize. - /// - /// The T object being deserialized. - /// - /// An error occurred during deserialization. The original exception is available - /// using the System.Exception.InnerException property. - // ReSharper disable once InconsistentNaming - private static T FromXML(string xml) where T : class - { - using (var text = new StringReader(xml)) - { - var sr = new XmlSerializer(typeof (T)); - return sr.Deserialize(text) as T; - } - } - - /// - /// Serializes the specified type T and writes the XML document to a string. - /// - /// - /// The object. - /// The MIME format. - /// - /// Serialization error - public static string Serialize(T obj, MimeFormat mimeFormat) where T : class, new() - { - try - { - if (mimeFormat == MimeFormat.Json) - { - return JsonSerializer(obj); - } - return ToXML(obj); - } - catch (Exception ex) - { - throw new RedmineException("Serialization error", ex); - } - } - - /// - /// Deserializes the XML document contained by the specific System.String. - /// - /// - /// The response. - /// The MIME format. - /// - /// - /// Could not deserialize null! - /// or - /// Deserialization error - /// - /// - /// - /// - public static T Deserialize(string response, MimeFormat mimeFormat) where T : class, new() - { - if (string.IsNullOrEmpty(response)) throw new RedmineException("Could not deserialize null!"); - try - { - if (mimeFormat == MimeFormat.Json) - { - var type = typeof (T); - var jsonRoot = (string) null; - if (type == typeof (IssueCategory)) jsonRoot = RedmineKeys.ISSUE_CATEGORY; - if (type == typeof (IssueRelation)) jsonRoot = RedmineKeys.RELATION; - if (type == typeof (TimeEntry)) jsonRoot = RedmineKeys.TIME_ENTRY; - if (type == typeof (ProjectMembership)) jsonRoot = RedmineKeys.MEMBERSHIP; - if (type == typeof (WikiPage)) jsonRoot = RedmineKeys.WIKI_PAGE; - return JsonDeserialize(response, jsonRoot); - } - - return FromXML(response); - } - catch (Exception ex) - { - throw new RedmineException("Deserialization error",ex); - } - } - - /// - /// Deserializes the list. - /// - /// - /// The response. - /// The MIME format. - /// - /// - /// Could not deserialize null! - /// or - /// Deserialization error - /// - public static PaginatedObjects DeserializeList(string response, MimeFormat mimeFormat) - where T : class, new() - { - try - { - if (string.IsNullOrWhiteSpace(response)) throw new RedmineException("Could not deserialize null!"); - - if (mimeFormat == MimeFormat.Json) - { - return JSonDeserializeList(response); - } - - return XmlDeserializeList(response); - } - - catch (Exception ex) - { - throw new RedmineException("Deserialization error", ex); - } - } - - /// - /// js the son deserialize list. - /// - /// - /// The response. - /// - private static PaginatedObjects JSonDeserializeList(string response) where T : class, new() - { - - int totalItems, offset; - var type = typeof(T); - var jsonRoot = (string)null; - if (type == typeof(Error)) jsonRoot = RedmineKeys.ERRORS; - if (type == typeof(WikiPage)) jsonRoot = RedmineKeys.WIKI_PAGES; - if (type == typeof(IssuePriority)) jsonRoot = RedmineKeys.ISSUE_PRIORITIES; - if (type == typeof(TimeEntryActivity)) jsonRoot = RedmineKeys.TIME_ENTRY_ACTIVITIES; - - if (string.IsNullOrEmpty(jsonRoot)) - jsonRoot = RedmineManager.Sufixes[type]; - - var result = JsonDeserializeToList(response, jsonRoot, out totalItems, out offset); - - return new PaginatedObjects() - { - TotalCount = totalItems, - Offset = offset, - Objects = result.ToList() - }; - } - - /// - /// XMLs the deserialize list. - /// - /// - /// The response. - /// - private static PaginatedObjects XmlDeserializeList(string response) where T : class, new() - { - using (var stringReader = new StringReader(response)) - { - using (var xmlReader = new XmlTextReader(stringReader)) - { - xmlReader.WhitespaceHandling = WhitespaceHandling.None; - xmlReader.Read(); - xmlReader.Read(); - - var totalItems = xmlReader.ReadAttributeAsInt(RedmineKeys.TOTAL_COUNT); - var offset = xmlReader.ReadAttributeAsInt(RedmineKeys.OFFSET); - var result = xmlReader.ReadElementContentAsCollection(); - return new PaginatedObjects() - { - TotalCount = totalItems, - Offset = offset, - Objects = result - }; - } - } - } - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/MimeFormat.cs b/src/redmine-net40-api/MimeFormat.cs deleted file mode 100755 index b99bf3c6..00000000 --- a/src/redmine-net40-api/MimeFormat.cs +++ /dev/null @@ -1,33 +0,0 @@ -/* -Copyright 2011 - 2019 Adrian Popescu. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - - -namespace Redmine.Net.Api -{ - /// - /// - /// - public enum MimeFormat - { - /// - /// - Xml, - /// - /// The json - /// - Json - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/redmine-net40-api.csproj b/src/redmine-net40-api/redmine-net40-api.csproj index 67dcf442..a413fc34 100644 --- a/src/redmine-net40-api/redmine-net40-api.csproj +++ b/src/redmine-net40-api/redmine-net40-api.csproj @@ -270,8 +270,6 @@ Types\WikiPage.cs - - @@ -313,45 +311,15 @@ - - - - - Types\IValue.cs - - - Exceptions\NotFoundException.cs - - - Exceptions\RedmineException.cs - - - Exceptions\RedmineTimeoutException.cs - - - Exceptions\NameResolutionFailureException.cs - - - Exceptions\InternalServerErrorException.cs - - - Exceptions\UnauthorizedException.cs - - - Exceptions\ForbiddenException.cs - - - Exceptions\ConflictException.cs - - - Exceptions\NotAcceptableException.cs - + + + - \ No newline at end of file diff --git a/src/redmine-net40-api/Async/RedmineManagerAsyncExtensions.cs b/src/redmine-net40-api/Async/RedmineManagerAsyncExtensions.cs deleted file mode 100755 index 30fb842f..00000000 --- a/src/redmine-net40-api/Async/RedmineManagerAsyncExtensions.cs +++ /dev/null @@ -1,324 +0,0 @@ -/* - Copyright 2011 - 2016 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Globalization; -using System.Net; -using System.Text; -using System.Threading.Tasks; -using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.Extensions -{ - public static class RedmineManagerAsyncExtensions - { - public static Task GetCurrentUserAsync(this RedmineManager redmineManager, NameValueCollection parameters = null) - { - var task = Task.Factory.StartNew(() => - { - var uri = UrlHelper.GetCurrentUserUrl(redmineManager); - - using (var wc = redmineManager.CreateWebClient(parameters)) - { - return wc.DownloadString(uri); - } - }); - - return task.ContinueWith(t => RedmineSerializer.Deserialize(t.Result, redmineManager.MimeFormat)); - } - - public static Task CreateOrUpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) - { - var task = Task.Factory.StartNew(() => - { - var uri = UrlHelper.GetWikiCreateOrUpdaterUrl(redmineManager, projectId, pageName); - var data = RedmineSerializer.Serialize(wikiPage,redmineManager.MimeFormat); - - using (var wc = redmineManager.CreateWebClient(null)) - { - var response = wc.UploadString(uri, RedmineManager.PUT, data); - return RedmineSerializer.Deserialize(response, redmineManager.MimeFormat); - } - }, TaskCreationOptions.LongRunning); - - return task; - } - - public static Task DeleteWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName) - { - var uri = UrlHelper.GetDeleteWikirUrl(redmineManager, projectId, pageName); - return Task.Factory.StartNew(() => - { - using (var wc = redmineManager.CreateWebClient(null)) - { - wc.UploadString(uri, RedmineManager.DELETE, string.Empty); - } - }, TaskCreationOptions.LongRunning); - } - - public static Task GetWikiPageAsync(this RedmineManager redmineManager, string projectId, NameValueCollection parameters, string pageName, uint version = 0) - { - var task = Task.Factory.StartNew(() => - { - var uri = UrlHelper.GetWikiPageUrl(redmineManager, projectId, parameters, pageName, version); - using (var wc = redmineManager.CreateWebClient(parameters)) - { - try - { - var response = wc.DownloadString(uri); - return RedmineSerializer.Deserialize(response, redmineManager.MimeFormat); - } - catch (WebException wex) - { - wex.HandleWebException("GetWikiPageAsync", redmineManager.MimeFormat); - } - return null; - } - }, TaskCreationOptions.LongRunning); - return task; - } - - public static Task> GetAllWikiPagesAsync(this RedmineManager redmineManager, NameValueCollection parameters, string projectId) - { - var task = Task.Factory.StartNew(() => - { - var uri = UrlHelper.GetWikisUrl(redmineManager, projectId); - using (var wc = redmineManager.CreateWebClient(parameters)) - { - var response = wc.DownloadString(uri); - return RedmineSerializer.DeserializeList(response, redmineManager.MimeFormat); - } - }, TaskCreationOptions.LongRunning); - return task; - } - - public static Task AddUserToGroupAsync(this RedmineManager redmineManager, int groupId, int userId) - { - var data = redmineManager.MimeFormat == MimeFormat.xml - ? "" + userId + "" - : "{\"user_id\":\"" + userId + "\"}"; - var task = Task.Factory.StartNew(() => - { - var uri = UrlHelper.GetAddUserToGroupUrl(redmineManager, groupId); - using (var wc = redmineManager.CreateWebClient(null)) - { - wc.UploadString(uri, RedmineManager.POST, data); - } - }, TaskCreationOptions.LongRunning); - return task; - } - - public static Task RemoveUserFromGroupAsync(this RedmineManager redmineManager, int groupId, int userId) - { - var task = Task.Factory.StartNew(() => - { - var uri = UrlHelper.GetRemoveUserFromGroupUrl(redmineManager, groupId, userId); - using (var wc = redmineManager.CreateWebClient(null)) - { - wc.UploadString(uri, RedmineManager.DELETE, string.Empty); - } - }, TaskCreationOptions.LongRunning); - return task; - } - - public static Task AddWatcherToIssueAsync(this RedmineManager redmineManager, int issueId, int userId) - { - var data = redmineManager.MimeFormat == MimeFormat.xml - ? "" + userId + "" - : "{\"user_id\":\"" + userId + "\"}"; - var task = Task.Factory.StartNew(() => - { - var uri = UrlHelper.GetAddWatcherUrl(redmineManager, issueId, userId); - - using (var wc = redmineManager.CreateWebClient(null)) - { - wc.UploadString(uri, RedmineManager.POST, data); - } - }, TaskCreationOptions.LongRunning); - return task; - } - - public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManager, int issueId, int userId) - { - var task = Task.Factory.StartNew(() => - { - var uri = UrlHelper.GetRemoveWatcherUrl(redmineManager, issueId, userId); - using (var wc = redmineManager.CreateWebClient(null)) - { - wc.UploadString(uri, RedmineManager.DELETE, string.Empty); - } - }, TaskCreationOptions.LongRunning); - return task; - } - - public static Task GetObjectAsync(this RedmineManager redmineManager, string id, NameValueCollection parameters) where T : class, new() - { - var task = Task.Factory.StartNew(() => - { - var url = UrlHelper.GetGetUrl(redmineManager, id); - using (var wc = redmineManager.CreateWebClient(parameters)) - { - try - { - var response = wc.DownloadString(url); - return RedmineSerializer.Deserialize(response, redmineManager.MimeFormat); - } - catch (WebException wex) - { - wex.HandleWebException("GetObject", redmineManager.MimeFormat); - } - return null; - } - }, TaskCreationOptions.LongRunning); - return task; - } - - public static Task CreateObjectAsync(this RedmineManager redmineManager, T obj) where T : class, new() - { - return CreateObjectAsync(redmineManager, obj, null); - } - - public static Task CreateObjectAsync(this RedmineManager redmineManager, T obj, string ownerId) where T : class, new() - { - var task = Task.Factory.StartNew(() => - { - var url = UrlHelper.GetCreateUrl(redmineManager, ownerId); - var data = RedmineSerializer.Serialize(obj,redmineManager.MimeFormat); - - using (var wc = redmineManager.CreateWebClient(null)) - { - var response = wc.UploadString(url, RedmineManager.POST, data); - return RedmineSerializer.Deserialize(response, redmineManager.MimeFormat); - } - }, TaskCreationOptions.LongRunning); - return task; - } - - public static Task> GetPaginatedObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() - { - var task = Task.Factory.StartNew(() => - { - var url = UrlHelper.GetListUrl(redmineManager, parameters); - using (var wc = redmineManager.CreateWebClient(parameters)) - { - var response = wc.DownloadString(url); - return RedmineSerializer.DeserializeList(response, redmineManager.MimeFormat); - } - }, TaskCreationOptions.LongRunning); - return task; - } - - public static Task> GetObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() - { - var task = Task.Factory.StartNew(() => - { - int totalCount = 0, pageSize; - List resultList = null; - if (parameters == null) parameters = new NameValueCollection(); - int offset = 0; - int.TryParse(parameters[RedmineKeys.LIMIT], out pageSize); - if (pageSize == default(int)) - { - pageSize = redmineManager.PageSize > 0 ? redmineManager.PageSize : 25; - parameters.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); - } - do - { - parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); - var requestTask = redmineManager.GetPaginatedObjectsAsync(parameters).ContinueWith(t => - { - if (t.Result != null) - { - if (resultList == null) - { - resultList = t.Result.Objects; - totalCount = t.Result.TotalCount; - } - else - resultList.AddRange(t.Result.Objects); - } - offset += pageSize; - }); - requestTask.Wait(TimeSpan.FromMilliseconds(5000)); - } while (offset < totalCount); - return resultList; - }); - return task; - } - - public static Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T obj, string projectId = null) where T : class, new() - { - var task = Task.Factory.StartNew(() => - { - var url = UrlHelper.GetUploadUrl(redmineManager, id, obj, projectId); - using (var wc = redmineManager.CreateWebClient(null)) - { - var data = RedmineSerializer.Serialize(obj,redmineManager.MimeFormat); - wc.UploadString(url, RedmineManager.PUT, data); - } - }, TaskCreationOptions.LongRunning); - return task; - } - - public static Task DeleteObjectAsync(this RedmineManager redmineManager, string id, NameValueCollection parameters) where T : class, new() - { - var task = Task.Factory.StartNew(() => - { - var uri = UrlHelper.GetDeleteUrl(redmineManager, id); - - using (var wc = redmineManager.CreateWebClient(parameters)) - { - wc.UploadString(uri, RedmineManager.DELETE, string.Empty); - } - }, TaskCreationOptions.LongRunning); - return task; - } - - public static Task UploadFileAsync(this RedmineManager redmineManager, byte[] data) - { - var task = Task.Factory.StartNew(() => - { - var uri = UrlHelper.GetUploadFileUrl(redmineManager); - using (var wc = redmineManager.CreateWebClient(null, true)) - { - var response = wc.UploadData(uri, RedmineManager.POST, data); - - var responseString = Encoding.ASCII.GetString(response); - return RedmineSerializer.Deserialize(responseString, redmineManager.MimeFormat); - } - }, TaskCreationOptions.LongRunning); - - return task; - } - - public static Task DownloadFileAsync(this RedmineManager redmineManager, string address) - { - var task = Task.Factory.StartNew(() => - { - using (var wc = redmineManager.CreateWebClient(null)) - { - wc.Headers.Add(HttpRequestHeader.Accept, "application/octet-stream"); - var response = wc.DownloadData(address); - return response; - } - }, TaskCreationOptions.LongRunning); - return task; - } - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/Extensions/JObjectExtensions.cs b/src/redmine-net40-api/Extensions/JObjectExtensions.cs deleted file mode 100755 index 729bf8eb..00000000 --- a/src/redmine-net40-api/Extensions/JObjectExtensions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Web.Script.Serialization; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using Redmine.Net.Api.JSonConverters; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.Extensions -{ - public static class JObjectExtensions - { - public static IdentifiableName GetValueAsIdentifiableName(this JObject obj, string key) - { - JToken val; - - if (!obj.TryGetValue(key, out val)) return null; - - //var ser = new JavaScriptSerializer(); - //ser.RegisterConverters(new[] { new IdentifiableNameConverter() }); - - //var result = ser.ConvertToType(val); - //return result; - - return val.ToObject(); - } - - public static List GetValueAsCollection(this JObject obj, string key) where T : new() - { - JToken val; - - if (!obj.TryGetValue(key, out val)) return null; - - //var ser = new JavaScriptSerializer(); - //ser.RegisterConverters(new[] { RedmineSerializer.JsonConverters[typeof(T)] }); - - //var list = new List(); - - //var arrayList = val as ArrayList; - //if (arrayList != null) - //{ - // list.AddRange(from object item in arrayList select ser.ConvertToType(item)); - //} - //else - //{ - // var dict = val as Dictionary; - // if (dict != null) - // { - // list.AddRange(dict.Select(pair => ser.ConvertToType(pair.Value))); - // } - //} - //return list; - - return null; - } - } -} diff --git a/src/redmine-net40-api/Internals/RedmineSerializerJson2.cs b/src/redmine-net40-api/Internals/RedmineSerializerJson2.cs deleted file mode 100755 index a0f197b5..00000000 --- a/src/redmine-net40-api/Internals/RedmineSerializerJson2.cs +++ /dev/null @@ -1,212 +0,0 @@ -/* - Copyright 2011 - 2016 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using Redmine.Net.Api.JSonConverters2; -using Redmine.Net.Api.Types; -using Version = Redmine.Net.Api.Types.Version; - -namespace Redmine.Net.Api.Internals -{ - internal static partial class RedmineSerializer - { - private static readonly Dictionary jsonConverters = new Dictionary - { - {typeof (Issue), new IssueConverter()}, - {typeof (UploadConverter), new UploadConverter()}, - {typeof (IssueCustomField), new IssueCustomFieldConverter()} - //{typeof (Issue), new IssueConverter()}, - //{typeof (Project), new ProjectConverter()}, - //{typeof (User), new UserConverter()}, - //{typeof (UserGroup), new UserGroupConverter()}, - //{typeof (News), new NewsConverter()}, - //{typeof (Query), new QueryConverter()}, - //{typeof (Version), new VersionConverter()}, - //{typeof (Attachment), new AttachmentConverter()}, - //{typeof (Attachments), new AttachmentsConverter()}, - //{typeof (IssueRelation), new IssueRelationConverter()}, - //{typeof (TimeEntry), new TimeEntryConverter()}, - //{typeof (IssueStatus),new IssueStatusConverter()}, - //{typeof (Tracker),new TrackerConverter()}, - //{typeof (TrackerCustomField),new TrackerCustomFieldConverter()}, - //{typeof (IssueCategory), new IssueCategoryConverter()}, - //{typeof (Role), new RoleConverter()}, - //{typeof (ProjectMembership), new ProjectMembershipConverter()}, - //{typeof (Group), new GroupConverter()}, - //{typeof (GroupUser), new GroupUserConverter()}, - //{typeof (Error), new ErrorConverter()}, - //{typeof (IssueCustomField), new IssueCustomFieldConverter()}, - //{typeof (ProjectTracker), new ProjectTrackerConverter()}, - //{typeof (Journal), new JournalConverter()}, - //{typeof (TimeEntryActivity), new TimeEntryActivityConverter()}, - //{typeof (IssuePriority), new IssuePriorityConverter()}, - //{typeof (WikiPage), new WikiPageConverter()}, - //{typeof (Detail), new DetailConverter()}, - //{typeof (ChangeSet), new ChangeSetConverter()}, - //{typeof (Membership), new MembershipConverter()}, - //{typeof (MembershipRole), new MembershipRoleConverter()}, - //{typeof (IdentifiableName), new IdentifiableNameConverter()}, - //{typeof (Permission), new PermissionConverter()}, - //{typeof (IssueChild), new IssueChildConverter()}, - //{typeof (ProjectIssueCategory), new ProjectIssueCategoryConverter()}, - //{typeof (Watcher), new WatcherConverter()}, - //{typeof (Upload), new UploadConverter()}, - //{typeof (ProjectEnabledModule), new ProjectEnabledModuleConverter()}, - //{typeof (CustomField), new CustomFieldConverter()}, - //{typeof (CustomFieldRole), new CustomFieldRoleConverter()}, - //{typeof (CustomFieldPossibleValue), new CustomFieldPossibleValueConverter()} - }; - - public static Dictionary JsonConverters { get { return jsonConverters; } } - - public static string JsonSerializer(T type) where T : new() - { - var sb = new StringBuilder(); - - using (var sw = new StringWriter(sb)) - { - using (JsonWriter writer = new JsonTextWriter(sw)) - { - writer.Formatting = Formatting.Indented; - var converter = jsonConverters[typeof(T)]; - var serializer = new JsonSerializer(); - converter.Serialize(writer, type, serializer); - - return sb.ToString(); - } - } - } - - /// - /// JSON Deserialization - /// - public static List JsonDeserializeToList(string jsonString, string root) where T : class, new() - { - int totalCount; - return JsonDeserializeToList(jsonString, root, out totalCount); - } - - /// - /// JSON Deserialization - /// - public static List JsonDeserializeToList(string jsonString, string root, out int totalCount) where T : class,new() - { - var result = JsonDeserializeToList(jsonString, root, typeof(T), out totalCount); - return result == null ? null : ((ArrayList)result).OfType().ToList(); - } - - public static T JsonDeserialize(string jsonString, string root) where T : new() - { - var type = typeof(T); - var result = JsonDeserialize(jsonString, type, root); - - if (result == null) return default(T); - - return (T)result; - } - - public static object JsonDeserialize(string jsonString, Type type, string root) - { - if (string.IsNullOrEmpty(jsonString)) return null; - - var serializer = new JsonSerializer(); - var converter = jsonConverters[type]; - var jObject = JObject.Parse(jsonString); - var rootName = root ?? type.Name.ToLowerInvariant(); - var rootObject = jObject[rootName]; - - if (rootObject == null) return null; - - jObject = JObject.Parse(rootObject.ToString()); - - return converter.Deserialize(jObject, serializer); - } - - private static void AddToList(JsonSerializer serializer, IList list, Type type, JToken obj) - { - //foreach (var item in obj.ToObject()) - //{ - // if (item is ArrayList) - // { - // AddToList(serializer, list, type, new JToken(item)); - // } - // else - // { - // var converter = jsonConverters[type]; - // var o = converter.Deserialize(obj, serializer); - - // list.Add(o); - // } - //} - } - - private static object JsonDeserializeToList(string jsonString, string root, Type type, out int totalCount) - { - totalCount = 0; - - if (string.IsNullOrEmpty(jsonString)) return null; - - var serializer = new JsonSerializer(); - var converter = jsonConverters[type]; - var jObject = JObject.Parse(jsonString); - - JToken obj, tc; - - if (jObject.TryGetValue(RedmineKeys.TOTAL_COUNT, out tc)) totalCount = tc.Value(); - if (!jObject.TryGetValue(root.ToLowerInvariant(), out obj)) return null; - - jObject = JObject.Parse(obj.ToString()); - - var result = converter.Deserialize(jObject, serializer); - var arrayList = new ArrayList(); - - if (type == typeof(Error)) - { - string info = null; - - foreach (var item in jObject.ToObject()) - { - var innerArrayList = item as ArrayList; - if (innerArrayList != null) - { - info = innerArrayList.Cast() - .Aggregate(info, (current, item2) => current + (item2 as string + " ")); - } - else - { - info += item as string + " "; - } - } - - var err = new Error { Info = info }; - arrayList.Add(err); - } - else - { - AddToList(serializer, arrayList, type, obj); - } - - return arrayList; - } - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/AttachmentConverter.cs b/src/redmine-net40-api/JSonConverters/AttachmentConverter.cs deleted file mode 100755 index ac8fc98c..00000000 --- a/src/redmine-net40-api/JSonConverters/AttachmentConverter.cs +++ /dev/null @@ -1,96 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - - -namespace Redmine.Net.Api.JSonConverters -{ - /// - /// - /// - /// - internal class AttachmentConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// An instance of property data stored as name/value pairs. - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var attachment = new Attachment(); - - attachment.Id = dictionary.GetValue(RedmineKeys.ID); - attachment.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); - attachment.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); - attachment.ContentType = dictionary.GetValue(RedmineKeys.CONTENT_TYPE); - attachment.ContentUrl = dictionary.GetValue(RedmineKeys.CONTENT_URL); - attachment.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - attachment.FileName = dictionary.GetValue(RedmineKeys.FILENAME); - attachment.FileSize = dictionary.GetValue(RedmineKeys.FILESIZE); - - return attachment; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Attachment; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.FILENAME, entity.FileName); - result.Add(RedmineKeys.DESCRIPTION, entity.Description); - } - - var root = new Dictionary(); - root[RedmineKeys.ATTACHMENT] = result; - - return root; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes { get { return new List(new[] { typeof(Attachment) }); } } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/AttachmentsConverter.cs b/src/redmine-net40-api/JSonConverters/AttachmentsConverter.cs deleted file mode 100755 index 4a4fe365..00000000 --- a/src/redmine-net40-api/JSonConverters/AttachmentsConverter.cs +++ /dev/null @@ -1,79 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class AttachmentsConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// An instance of property data stored as name/value pairs. - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object’s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Attachments; - var result = new Dictionary(); - - if (entity != null) - { - foreach (var entry in entity) - { - var attachment = new AttachmentConverter().Serialize(entry.Value, serializer); - result.Add(entry.Key.ToString(), attachment.First().Value); - } - } - - var root = new Dictionary(); - root[RedmineKeys.ATTACHMENTS] = result; - - return root; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes { get { return new List(new[] { typeof(Attachments) }); } } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/ChangeSetConverter.cs b/src/redmine-net40-api/JSonConverters/ChangeSetConverter.cs deleted file mode 100755 index 27db1d23..00000000 --- a/src/redmine-net40-api/JSonConverters/ChangeSetConverter.cs +++ /dev/null @@ -1,81 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class ChangeSetConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// An instance of property data stored as name/value pairs. - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var changeSet = new ChangeSet - { - Revision = dictionary.GetValue(RedmineKeys.REVISION), - Comments = dictionary.GetValue(RedmineKeys.COMMENTS), - User = dictionary.GetValueAsIdentifiableName(RedmineKeys.USER), - CommittedOn = dictionary.GetValue(RedmineKeys.COMMITTED_ON) - }; - - - return changeSet; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(ChangeSet)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/CustomFieldConverter.cs b/src/redmine-net40-api/JSonConverters/CustomFieldConverter.cs deleted file mode 100755 index 489c647d..00000000 --- a/src/redmine-net40-api/JSonConverters/CustomFieldConverter.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class CustomFieldConverter : IdentifiableNameConverter - { - #region Overrides of JavaScriptConverter - - /// - /// Deserializes the specified dictionary. - /// - /// The dictionary. - /// The type. - /// The serializer. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var customField = new CustomField(); - - customField.Id = dictionary.GetValue(RedmineKeys.ID); - customField.Name = dictionary.GetValue(RedmineKeys.NAME); - customField.CustomizedType = dictionary.GetValue(RedmineKeys.CUSTOMIZED_TYPE); - customField.FieldFormat = dictionary.GetValue(RedmineKeys.FIELD_FORMAT); - customField.Regexp = dictionary.GetValue(RedmineKeys.REGEXP); - customField.MinLength = dictionary.GetValue(RedmineKeys.MIN_LENGTH); - customField.MaxLength = dictionary.GetValue(RedmineKeys.MAX_LENGTH); - customField.IsRequired = dictionary.GetValue(RedmineKeys.IS_REQUIRED); - customField.IsFilter = dictionary.GetValue(RedmineKeys.IS_FILTER); - customField.Searchable = dictionary.GetValue(RedmineKeys.SEARCHABLE); - customField.Multiple = dictionary.GetValue(RedmineKeys.MULTIPLE); - customField.DefaultValue = dictionary.GetValue(RedmineKeys.DEFAULT_VALUE); - customField.Visible = dictionary.GetValue(RedmineKeys.VISIBLE); - customField.PossibleValues = - dictionary.GetValueAsCollection(RedmineKeys.POSSIBLE_VALUES); - customField.Trackers = dictionary.GetValueAsCollection(RedmineKeys.TRACKERS); - customField.Roles = dictionary.GetValueAsCollection(RedmineKeys.ROLES); - - - return customField; - } - - return null; - } - - /// - /// Serializes the specified object. - /// - /// The object. - /// The serializer. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// Gets the supported types. - /// - /// - /// The supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(CustomField)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs b/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs deleted file mode 100644 index 97962642..00000000 --- a/src/redmine-net40-api/JSonConverters/CustomFieldPossibleValueConverter.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class CustomFieldPossibleValueConverter : IdentifiableNameConverter - { - #region Overrides of JavaScriptConverter - - /// - /// Deserializes the specified dictionary. - /// - /// The dictionary. - /// The type. - /// The serializer. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var entity = new CustomFieldPossibleValue(); - - entity.Value = dictionary.GetValue(RedmineKeys.VALUE); - entity.Label = dictionary.GetValue(RedmineKeys.LABEL); - - return entity; - } - - return null; - } - - /// - /// Serializes the specified object. - /// - /// The object. - /// The serializer. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// Gets the supported types. - /// - /// - /// The supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(CustomFieldPossibleValue)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs b/src/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs deleted file mode 100755 index 34f47b05..00000000 --- a/src/redmine-net40-api/JSonConverters/CustomFieldRoleConverter.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class CustomFieldRoleConverter : IdentifiableNameConverter - { - #region Overrides of JavaScriptConverter - - /// - /// Deserializes the specified dictionary. - /// - /// The dictionary. - /// The type. - /// The serializer. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var entity = new CustomFieldRole(); - - entity.Id = dictionary.GetValue(RedmineKeys.ID); - entity.Name = dictionary.GetValue(RedmineKeys.NAME); - - return entity; - } - - return null; - } - - /// - /// Serializes the specified object. - /// - /// The object. - /// The serializer. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// Gets the supported types. - /// - /// - /// The supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(CustomFieldRole)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/DetailConverter.cs b/src/redmine-net40-api/JSonConverters/DetailConverter.cs deleted file mode 100755 index 8399bfea..00000000 --- a/src/redmine-net40-api/JSonConverters/DetailConverter.cs +++ /dev/null @@ -1,82 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class DetailConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var detail = new Detail(); - - detail.NewValue = dictionary.GetValue(RedmineKeys.NEW_VALUE); - detail.OldValue = dictionary.GetValue(RedmineKeys.OLD_VALUE); - detail.Property = dictionary.GetValue(RedmineKeys.PROPERTY); - detail.Name = dictionary.GetValue(RedmineKeys.NAME); - - return detail; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(Detail)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/ErrorConverter.cs b/src/redmine-net40-api/JSonConverters/ErrorConverter.cs deleted file mode 100755 index d9bf391b..00000000 --- a/src/redmine-net40-api/JSonConverters/ErrorConverter.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class ErrorConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var error = new Error {Info = dictionary.GetValue(RedmineKeys.ERROR)}; - return error; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(Error)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/FileConverter.cs b/src/redmine-net40-api/JSonConverters/FileConverter.cs deleted file mode 100755 index 4d849445..00000000 --- a/src/redmine-net40-api/JSonConverters/FileConverter.cs +++ /dev/null @@ -1,111 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class FileConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var file = new File { }; - - file.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); - file.ContentType = dictionary.GetValue(RedmineKeys.CONTENT_TYPE); - file.ContentUrl = dictionary.GetValue(RedmineKeys.CONTENT_URL); - file.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - file.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); - file.Digest = dictionary.GetValue(RedmineKeys.DIGEST); - file.Downloads = dictionary.GetValue(RedmineKeys.DOWNLOADS); - file.Filename = dictionary.GetValue(RedmineKeys.FILENAME); - file.Filesize = dictionary.GetValue(RedmineKeys.FILESIZE); - file.Id = dictionary.GetValue(RedmineKeys.ID); - file.Token = dictionary.GetValue(RedmineKeys.TOKEN); - var versionId = dictionary.GetValue(RedmineKeys.VERSION_ID); - if (versionId.HasValue) - { - file.Version = new IdentifiableName { Id = versionId.Value }; - } - else - { - file.Version = dictionary.GetValueAsIdentifiableName(RedmineKeys.VERSION); - } - return file; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object’s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as File; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.TOKEN, entity.Token); - result.WriteIdIfNotNull(entity.Version, RedmineKeys.VERSION_ID); - result.Add(RedmineKeys.FILENAME, entity.Filename); - result.Add(RedmineKeys.DESCRIPTION, entity.Description); - - var root = new Dictionary(); - root[RedmineKeys.FILE] = result; - return root; - } - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] { typeof(File) }); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/GroupConverter.cs b/src/redmine-net40-api/JSonConverters/GroupConverter.cs deleted file mode 100755 index f0930865..00000000 --- a/src/redmine-net40-api/JSonConverters/GroupConverter.cs +++ /dev/null @@ -1,97 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class GroupConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var group = new Group(); - - group.Id = dictionary.GetValue(RedmineKeys.ID); - group.Name = dictionary.GetValue(RedmineKeys.NAME); - group.Users = dictionary.GetValueAsCollection(RedmineKeys.USERS); - group.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); - group.Memberships = dictionary.GetValueAsCollection(RedmineKeys.MEMBERSHIPS); - - return group; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Group; - - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.NAME, entity.Name); - result.WriteIdsArray(RedmineKeys.USER_IDS, entity.Users); - - var root = new Dictionary(); - root[RedmineKeys.GROUP] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(Group)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/GroupUserConverter.cs b/src/redmine-net40-api/JSonConverters/GroupUserConverter.cs deleted file mode 100755 index 8fccb468..00000000 --- a/src/redmine-net40-api/JSonConverters/GroupUserConverter.cs +++ /dev/null @@ -1,77 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - - -namespace Redmine.Net.Api.JSonConverters -{ - internal class GroupUserConverter : IdentifiableNameConverter - { - #region Overrides of JavaScriptConverter - - /// - /// Deserializes the specified dictionary. - /// - /// The dictionary. - /// The type. - /// The serializer. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var userGroup = new GroupUser(); - - userGroup.Id = dictionary.GetValue(RedmineKeys.ID); - userGroup.Name = dictionary.GetValue(RedmineKeys.NAME); - - return userGroup; - } - - return null; - } - - /// - /// Serializes the specified object. - /// - /// The object. - /// The serializer. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// Gets the supported types. - /// - /// - /// The supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(GroupUser)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/IdentifiableNameConverter.cs b/src/redmine-net40-api/JSonConverters/IdentifiableNameConverter.cs deleted file mode 100755 index 5c770a6f..00000000 --- a/src/redmine-net40-api/JSonConverters/IdentifiableNameConverter.cs +++ /dev/null @@ -1,91 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IdentifiableNameConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var entity = new IdentifiableName(); - - entity.Id = dictionary.GetValue(RedmineKeys.ID); - entity.Name = dictionary.GetValue(RedmineKeys.NAME); - - return entity; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as IdentifiableName; - var result = new Dictionary(); - - if (entity != null) - { - result.WriteIdIfNotNull(entity, RedmineKeys.ID); - - if (!string.IsNullOrEmpty(entity.Name)) - result.Add(RedmineKeys.NAME, entity.Name); - return result; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(IdentifiableName)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs b/src/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs deleted file mode 100755 index 112c1468..00000000 --- a/src/redmine-net40-api/JSonConverters/IssueCategoryConverter.cs +++ /dev/null @@ -1,97 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IssueCategoryConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var issueCategory = new IssueCategory(); - - issueCategory.Id = dictionary.GetValue(RedmineKeys.ID); - issueCategory.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); - issueCategory.AsignTo = dictionary.GetValueAsIdentifiableName(RedmineKeys.ASSIGNED_TO); - issueCategory.Name = dictionary.GetValue(RedmineKeys.NAME); - - return issueCategory; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as IssueCategory; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.NAME, entity.Name); - result.WriteIdIfNotNull(entity.Project, RedmineKeys.PROJECT_ID); - result.WriteIdIfNotNull(entity.AsignTo, RedmineKeys.ASSIGNED_TO_ID); - - var root = new Dictionary(); - - root[RedmineKeys.ISSUE_CATEGORY] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(IssueCategory)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/IssueChildConverter.cs b/src/redmine-net40-api/JSonConverters/IssueChildConverter.cs deleted file mode 100755 index a16b4993..00000000 --- a/src/redmine-net40-api/JSonConverters/IssueChildConverter.cs +++ /dev/null @@ -1,75 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IssueChildConverter : JavaScriptConverter - { - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(IssueChild)}); } - } - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// An instance of property data stored as name/value pairs. - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var issueChild = new IssueChild - { - Id = dictionary.GetValue(RedmineKeys.ID), - Tracker = dictionary.GetValueAsIdentifiableName(RedmineKeys.TRACKER), - Subject = dictionary.GetValue(RedmineKeys.SUBJECT) - }; - - return issueChild; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/IssueConverter.cs b/src/redmine-net40-api/JSonConverters/IssueConverter.cs deleted file mode 100644 index f31def65..00000000 --- a/src/redmine-net40-api/JSonConverters/IssueConverter.cs +++ /dev/null @@ -1,155 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IssueConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var issue = new Issue(); - - issue.Id = dictionary.GetValue(RedmineKeys.ID); - issue.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); - issue.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); - issue.Tracker = dictionary.GetValueAsIdentifiableName(RedmineKeys.TRACKER); - issue.Status = dictionary.GetValueAsIdentifiableName(RedmineKeys.STATUS); - issue.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - issue.UpdatedOn = dictionary.GetValue(RedmineKeys.UPDATED_ON); - issue.ClosedOn = dictionary.GetValue(RedmineKeys.CLOSED_ON); - issue.Priority = dictionary.GetValueAsIdentifiableName(RedmineKeys.PRIORITY); - issue.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); - issue.AssignedTo = dictionary.GetValueAsIdentifiableName(RedmineKeys.ASSIGNED_TO); - issue.Category = dictionary.GetValueAsIdentifiableName(RedmineKeys.CATEGORY); - issue.FixedVersion = dictionary.GetValueAsIdentifiableName(RedmineKeys.FIXED_VERSION); - issue.Subject = dictionary.GetValue(RedmineKeys.SUBJECT); - issue.Notes = dictionary.GetValue(RedmineKeys.NOTES); - issue.IsPrivate = dictionary.GetValue(RedmineKeys.IS_PRIVATE); - issue.StartDate = dictionary.GetValue(RedmineKeys.START_DATE); - issue.DueDate = dictionary.GetValue(RedmineKeys.DUE_DATE); - issue.SpentHours = dictionary.GetValue(RedmineKeys.SPENT_HOURS); - issue.TotalSpentHours = dictionary.GetValue(RedmineKeys.TOTAL_SPENT_HOURS); - issue.DoneRatio = dictionary.GetValue(RedmineKeys.DONE_RATIO); - issue.EstimatedHours = dictionary.GetValue(RedmineKeys.ESTIMATED_HOURS); - issue.TotalEstimatedHours = dictionary.GetValue(RedmineKeys.TOTAL_ESTIMATED_HOURS); - issue.ParentIssue = dictionary.GetValueAsIdentifiableName(RedmineKeys.PARENT); - - issue.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); - issue.Attachments = dictionary.GetValueAsCollection(RedmineKeys.ATTACHMENTS); - issue.Relations = dictionary.GetValueAsCollection(RedmineKeys.RELATIONS); - issue.Journals = dictionary.GetValueAsCollection(RedmineKeys.JOURNALS); - issue.Changesets = dictionary.GetValueAsCollection(RedmineKeys.CHANGESETS); - issue.Watchers = dictionary.GetValueAsCollection(RedmineKeys.WATCHERS); - issue.Children = dictionary.GetValueAsCollection(RedmineKeys.CHILDREN); - return issue; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Issue; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.SUBJECT, entity.Subject); - result.Add(RedmineKeys.DESCRIPTION, entity.Description); - result.Add(RedmineKeys.NOTES, entity.Notes); - if (entity.Id != 0) - { - result.Add(RedmineKeys.PRIVATE_NOTES, entity.PrivateNotes.ToString().ToLowerInvariant()); - } - result.Add(RedmineKeys.IS_PRIVATE, entity.IsPrivate.ToString().ToLowerInvariant()); - result.WriteIdIfNotNull(entity.Project, RedmineKeys.PROJECT_ID); - result.WriteIdIfNotNull(entity.Priority, RedmineKeys.PRIORITY_ID); - result.WriteIdIfNotNull(entity.Status, RedmineKeys.STATUS_ID); - result.WriteIdIfNotNull(entity.Category, RedmineKeys.CATEGORY_ID); - result.WriteIdIfNotNull(entity.Tracker, RedmineKeys.TRACKER_ID); - result.WriteIdIfNotNull(entity.AssignedTo, RedmineKeys.ASSIGNED_TO_ID); - result.WriteIdIfNotNull(entity.FixedVersion, RedmineKeys.FIXED_VERSION_ID); - result.WriteValueOrEmpty(entity.EstimatedHours, RedmineKeys.ESTIMATED_HOURS); - - result.WriteIdOrEmpty(entity.ParentIssue, RedmineKeys.PARENT_ISSUE_ID); - result.WriteDateOrEmpty(entity.StartDate, RedmineKeys.START_DATE); - result.WriteDateOrEmpty(entity.DueDate, RedmineKeys.DUE_DATE); - result.WriteDateOrEmpty(entity.UpdatedOn, RedmineKeys.UPDATED_ON); - - if (entity.DoneRatio != null) - result.Add(RedmineKeys.DONE_RATIO, entity.DoneRatio.Value.ToString(CultureInfo.InvariantCulture)); - - if (entity.SpentHours != null) - result.Add(RedmineKeys.SPENT_HOURS, entity.SpentHours.Value.ToString(CultureInfo.InvariantCulture)); - - result.WriteArray(RedmineKeys.UPLOADS, entity.Uploads, new UploadConverter(), serializer); - result.WriteArray(RedmineKeys.CUSTOM_FIELDS, entity.CustomFields, new IssueCustomFieldConverter(), - serializer); - - result.WriteIdsArray(RedmineKeys.WATCHER_USER_IDS, entity.Watchers); - - var root = new Dictionary(); - root[RedmineKeys.ISSUE] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(Issue)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/IssueCustomFieldConverter.cs b/src/redmine-net40-api/JSonConverters/IssueCustomFieldConverter.cs deleted file mode 100755 index 3f34926b..00000000 --- a/src/redmine-net40-api/JSonConverters/IssueCustomFieldConverter.cs +++ /dev/null @@ -1,119 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IssueCustomFieldConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var customField = new IssueCustomField(); - - customField.Id = dictionary.GetValue(RedmineKeys.ID); - customField.Name = dictionary.GetValue(RedmineKeys.NAME); - customField.Multiple = dictionary.GetValue(RedmineKeys.MULTIPLE); - - var val = dictionary.GetValue(RedmineKeys.VALUE); - - if (val != null) - { - if (customField.Values == null) customField.Values = new List(); - var list = val as ArrayList; - if (list != null) - { - foreach (var value in list) - { - customField.Values.Add(new CustomFieldValue {Info = Convert.ToString(value)}); - } - } - else - { - customField.Values.Add(new CustomFieldValue {Info = Convert.ToString(val)}); - } - } - return customField; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as IssueCustomField; - - var result = new Dictionary(); - - if (entity == null) return result; - if (entity.Values == null) return null; - var itemsCount = entity.Values.Count; - - result.Add(RedmineKeys.ID, entity.Id); - if (itemsCount > 1) - { - result.Add(RedmineKeys.VALUE, entity.Values.Select(x => x.Info).ToArray()); - } - else - { - result.Add(RedmineKeys.VALUE, itemsCount > 0 ? entity.Values[0].Info : null); - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(IssueCustomField)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs b/src/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs deleted file mode 100755 index f3176403..00000000 --- a/src/redmine-net40-api/JSonConverters/IssuePriorityConverter.cs +++ /dev/null @@ -1,77 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IssuePriorityConverter : JavaScriptConverter - { - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(IssuePriority)}); } - } - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var issuePriority = new IssuePriority(); - - issuePriority.Id = dictionary.GetValue(RedmineKeys.ID); - issuePriority.Name = dictionary.GetValue(RedmineKeys.NAME); - issuePriority.IsDefault = dictionary.GetValue(RedmineKeys.IS_DEFAULT); - - return issuePriority; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/IssueRelationConverter.cs b/src/redmine-net40-api/JSonConverters/IssueRelationConverter.cs deleted file mode 100755 index c0529205..00000000 --- a/src/redmine-net40-api/JSonConverters/IssueRelationConverter.cs +++ /dev/null @@ -1,99 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IssueRelationConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var issueRelation = new IssueRelation(); - - issueRelation.Id = dictionary.GetValue(RedmineKeys.ID); - issueRelation.IssueId = dictionary.GetValue(RedmineKeys.ISSUE_ID); - issueRelation.IssueToId = dictionary.GetValue(RedmineKeys.ISSUE_TO_ID); - issueRelation.Type = dictionary.GetValue(RedmineKeys.RELATION_TYPE); - issueRelation.Delay = dictionary.GetValue(RedmineKeys.DELAY); - - return issueRelation; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as IssueRelation; - - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.ISSUE_TO_ID, entity.IssueToId); - result.Add(RedmineKeys.RELATION_TYPE, entity.Type.ToString()); - if (entity.Type == IssueRelationType.precedes || entity.Type == IssueRelationType.follows) - result.WriteValueOrEmpty(entity.Delay, RedmineKeys.DELAY); - - var root = new Dictionary(); - root[RedmineKeys.RELATION] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(IssueRelation)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/IssueStatusConverter.cs b/src/redmine-net40-api/JSonConverters/IssueStatusConverter.cs deleted file mode 100755 index d42e1b98..00000000 --- a/src/redmine-net40-api/JSonConverters/IssueStatusConverter.cs +++ /dev/null @@ -1,81 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IssueStatusConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var issueStatus = new IssueStatus(); - - issueStatus.Id = dictionary.GetValue(RedmineKeys.ID); - issueStatus.Name = dictionary.GetValue(RedmineKeys.NAME); - issueStatus.IsClosed = dictionary.GetValue(RedmineKeys.IS_CLOSED); - issueStatus.IsDefault = dictionary.GetValue(RedmineKeys.IS_DEFAULT); - return issueStatus; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(IssueStatus)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/JournalConverter.cs b/src/redmine-net40-api/JSonConverters/JournalConverter.cs deleted file mode 100644 index b9e83051..00000000 --- a/src/redmine-net40-api/JSonConverters/JournalConverter.cs +++ /dev/null @@ -1,84 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class JournalConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var journal = new Journal(); - - journal.Id = dictionary.GetValue(RedmineKeys.ID); - journal.Notes = dictionary.GetValue(RedmineKeys.NOTES); - journal.User = dictionary.GetValueAsIdentifiableName(RedmineKeys.USER); - journal.PrivateNotes = dictionary.GetValue(RedmineKeys.PRIVATE_NOTES); - journal.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - journal.Details = dictionary.GetValueAsCollection(RedmineKeys.DETAILS); - - return journal; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(Journal)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/MembershipConverter.cs b/src/redmine-net40-api/JSonConverters/MembershipConverter.cs deleted file mode 100755 index 9bafc7d7..00000000 --- a/src/redmine-net40-api/JSonConverters/MembershipConverter.cs +++ /dev/null @@ -1,81 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class MembershipConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var membership = new Membership(); - - membership.Id = dictionary.GetValue(RedmineKeys.ID); - membership.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); - membership.Roles = dictionary.GetValueAsCollection(RedmineKeys.ROLES); - - return membership; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(Membership)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs b/src/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs deleted file mode 100755 index 0992a1d4..00000000 --- a/src/redmine-net40-api/JSonConverters/MembershipRoleConverter.cs +++ /dev/null @@ -1,81 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class MembershipRoleConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var membershipRole = new MembershipRole(); - - membershipRole.Id = dictionary.GetValue(RedmineKeys.ID); - membershipRole.Inherited = dictionary.GetValue(RedmineKeys.INHERITED); - membershipRole.Name = dictionary.GetValue(RedmineKeys.NAME); - - return membershipRole; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(MembershipRole)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/NewsConverter.cs b/src/redmine-net40-api/JSonConverters/NewsConverter.cs deleted file mode 100755 index 75df6ef1..00000000 --- a/src/redmine-net40-api/JSonConverters/NewsConverter.cs +++ /dev/null @@ -1,84 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class NewsConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var news = new News(); - - news.Id = dictionary.GetValue(RedmineKeys.ID); - news.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); - news.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - news.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); - news.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); - news.Summary = dictionary.GetValue(RedmineKeys.SUMMARY); - news.Title = dictionary.GetValue(RedmineKeys.TITLE); - - return news; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(News)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/PermissionConverter.cs b/src/redmine-net40-api/JSonConverters/PermissionConverter.cs deleted file mode 100755 index 4e8a1d22..00000000 --- a/src/redmine-net40-api/JSonConverters/PermissionConverter.cs +++ /dev/null @@ -1,72 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class PermissionConverter : JavaScriptConverter - { - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(Permission)}); } - } - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var permission = new Permission {Info = dictionary.GetValue(RedmineKeys.PERMISSION)}; - return permission; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/ProjectConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectConverter.cs deleted file mode 100755 index 70642bb5..00000000 --- a/src/redmine-net40-api/JSonConverters/ProjectConverter.cs +++ /dev/null @@ -1,116 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class ProjectConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var project = new Project(); - - project.Id = dictionary.GetValue(RedmineKeys.ID); - project.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); - project.HomePage = dictionary.GetValue(RedmineKeys.HOMEPAGE); - project.Name = dictionary.GetValue(RedmineKeys.NAME); - project.Identifier = dictionary.GetValue(RedmineKeys.IDENTIFIER); - project.Status = dictionary.GetValue(RedmineKeys.STATUS); - project.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - project.UpdatedOn = dictionary.GetValue(RedmineKeys.UPDATED_ON); - project.Trackers = dictionary.GetValueAsCollection(RedmineKeys.TRACKERS); - project.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); - project.IsPublic = dictionary.GetValue(RedmineKeys.IS_PUBLIC); - project.Parent = dictionary.GetValueAsIdentifiableName(RedmineKeys.PARENT); - project.IssueCategories = dictionary.GetValueAsCollection(RedmineKeys.ISSUE_CATEGORIES); - project.EnabledModules = dictionary.GetValueAsCollection(RedmineKeys.ENABLED_MODULES); - project.TimeEntryActivities = dictionary.GetValueAsCollection(RedmineKeys.TIME_ENTRY_ACTIVITIES); - return project; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object’s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Project; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.NAME, entity.Name); - result.Add(RedmineKeys.IDENTIFIER, entity.Identifier); - result.Add(RedmineKeys.DESCRIPTION, entity.Description); - result.Add(RedmineKeys.HOMEPAGE, entity.HomePage); - //result.Add(RedmineKeys.INHERIT_MEMBERS, entity.InheritMembers.ToString().ToLowerInvariant()); - result.Add(RedmineKeys.IS_PUBLIC, entity.IsPublic.ToString().ToLowerInvariant()); - result.WriteIdOrEmpty(entity.Parent, RedmineKeys.PARENT_ID, string.Empty); - result.WriteIdsArray(RedmineKeys.TRACKER_IDS, entity.Trackers); - result.WriteNamesArray(RedmineKeys.ENABLED_MODULE_NAMES, entity.EnabledModules); - if (entity.Id > 0) - { - result.WriteArray(RedmineKeys.CUSTOM_FIELDS, entity.CustomFields, new IssueCustomFieldConverter(), - serializer); - } - var root = new Dictionary(); - root[RedmineKeys.PROJECT] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] { typeof(Project) }); } - } - - #endregion - } -} diff --git a/src/redmine-net40-api/JSonConverters/ProjectEnabledModuleConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectEnabledModuleConverter.cs deleted file mode 100755 index 6a2e093b..00000000 --- a/src/redmine-net40-api/JSonConverters/ProjectEnabledModuleConverter.cs +++ /dev/null @@ -1,77 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class ProjectEnabledModuleConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var projectEnableModule = new ProjectEnabledModule(); - projectEnableModule.Id = dictionary.GetValue(RedmineKeys.ID); - projectEnableModule.Name = dictionary.GetValue(RedmineKeys.NAME); - return projectEnableModule; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(ProjectEnabledModule)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/ProjectIssueCategoryConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectIssueCategoryConverter.cs deleted file mode 100755 index 4c33e2f2..00000000 --- a/src/redmine-net40-api/JSonConverters/ProjectIssueCategoryConverter.cs +++ /dev/null @@ -1,89 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class ProjectIssueCategoryConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var projectTracker = new ProjectIssueCategory(); - projectTracker.Id = dictionary.GetValue(RedmineKeys.ID); - projectTracker.Name = dictionary.GetValue(RedmineKeys.NAME); - return projectTracker; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as ProjectIssueCategory; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.ID, entity.Id); - result.Add(RedmineKeys.NAME, entity.Name); - - var root = new Dictionary(); - root[RedmineKeys.ISSUE_CATEGORY] = result; - return root; - } - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(ProjectIssueCategory)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/ProjectMembershipConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectMembershipConverter.cs deleted file mode 100755 index fa782dc9..00000000 --- a/src/redmine-net40-api/JSonConverters/ProjectMembershipConverter.cs +++ /dev/null @@ -1,95 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class ProjectMembershipConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var projectMembership = new ProjectMembership(); - - projectMembership.Id = dictionary.GetValue(RedmineKeys.ID); - projectMembership.Group = dictionary.GetValueAsIdentifiableName(RedmineKeys.GROUP); - projectMembership.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); - projectMembership.Roles = dictionary.GetValueAsCollection(RedmineKeys.ROLES); - projectMembership.User = dictionary.GetValueAsIdentifiableName(RedmineKeys.USER); - - return projectMembership; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as ProjectMembership; - var result = new Dictionary(); - - if (entity != null) - { - result.WriteIdIfNotNull(entity.User, RedmineKeys.USER_ID); - result.WriteIdsArray(RedmineKeys.ROLE_IDS, entity.Roles); - - var root = new Dictionary(); - root[RedmineKeys.MEMBERSHIP] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(ProjectMembership)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs b/src/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs deleted file mode 100755 index e1183213..00000000 --- a/src/redmine-net40-api/JSonConverters/ProjectTrackerConverter.cs +++ /dev/null @@ -1,77 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class ProjectTrackerConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var projectTracker = new ProjectTracker(); - projectTracker.Id = dictionary.GetValue(RedmineKeys.ID); - projectTracker.Name = dictionary.GetValue(RedmineKeys.NAME); - return projectTracker; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(ProjectTracker)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/QueryConverter.cs b/src/redmine-net40-api/JSonConverters/QueryConverter.cs deleted file mode 100755 index f92ff804..00000000 --- a/src/redmine-net40-api/JSonConverters/QueryConverter.cs +++ /dev/null @@ -1,82 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class QueryConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var query = new Query(); - - query.Id = dictionary.GetValue(RedmineKeys.ID); - query.IsPublic = dictionary.GetValue(RedmineKeys.IS_PUBLIC); - query.ProjectId = dictionary.GetValue(RedmineKeys.PROJECT_ID); - query.Name = dictionary.GetValue(RedmineKeys.NAME); - - return query; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(Query)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/RoleConverter.cs b/src/redmine-net40-api/JSonConverters/RoleConverter.cs deleted file mode 100755 index af14d6f1..00000000 --- a/src/redmine-net40-api/JSonConverters/RoleConverter.cs +++ /dev/null @@ -1,91 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class RoleConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var role = new Role(); - - role.Id = dictionary.GetValue(RedmineKeys.ID); - role.Name = dictionary.GetValue(RedmineKeys.NAME); - - var permissions = dictionary.GetValue(RedmineKeys.PERMISSIONS); - if (permissions != null) - { - role.Permissions = new List(); - foreach (var permission in permissions) - { - var perms = new Permission {Info = permission.ToString()}; - role.Permissions.Add(perms); - } - } - - return role; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(Role)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/TimeEntryActivityConverter.cs b/src/redmine-net40-api/JSonConverters/TimeEntryActivityConverter.cs deleted file mode 100755 index 22e88762..00000000 --- a/src/redmine-net40-api/JSonConverters/TimeEntryActivityConverter.cs +++ /dev/null @@ -1,77 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class TimeEntryActivityConverter : JavaScriptConverter - { - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(TimeEntryActivity)}); } - } - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var timeEntryActivity = new TimeEntryActivity - { - Id = dictionary.GetValue(RedmineKeys.ID), - Name = dictionary.GetValue(RedmineKeys.NAME), - IsDefault = dictionary.GetValue(RedmineKeys.IS_DEFAULT) - }; - return timeEntryActivity; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/TimeEntryConverter.cs b/src/redmine-net40-api/JSonConverters/TimeEntryConverter.cs deleted file mode 100755 index 227ec6e8..00000000 --- a/src/redmine-net40-api/JSonConverters/TimeEntryConverter.cs +++ /dev/null @@ -1,120 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class TimeEntryConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var timeEntry = new TimeEntry(); - - timeEntry.Id = dictionary.GetValue(RedmineKeys.ID); - timeEntry.Activity = - dictionary.GetValueAsIdentifiableName(dictionary.ContainsKey(RedmineKeys.ACTIVITY) - ? RedmineKeys.ACTIVITY - : RedmineKeys.ACTIVITY_ID); - timeEntry.Comments = dictionary.GetValue(RedmineKeys.COMMENTS); - timeEntry.Hours = dictionary.GetValue(RedmineKeys.HOURS); - timeEntry.Issue = - dictionary.GetValueAsIdentifiableName(dictionary.ContainsKey(RedmineKeys.ISSUE) - ? RedmineKeys.ISSUE - : RedmineKeys.ISSUE_ID); - timeEntry.Project = - dictionary.GetValueAsIdentifiableName(dictionary.ContainsKey(RedmineKeys.PROJECT) - ? RedmineKeys.PROJECT - : RedmineKeys.PROJECT_ID); - timeEntry.SpentOn = dictionary.GetValue(RedmineKeys.SPENT_ON); - timeEntry.User = dictionary.GetValueAsIdentifiableName(RedmineKeys.USER); - timeEntry.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); - timeEntry.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - timeEntry.UpdatedOn = dictionary.GetValue(RedmineKeys.UPDATED_ON); - - return timeEntry; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as TimeEntry; - var result = new Dictionary(); - - if (entity != null) - { - result.WriteIdIfNotNull(entity.Issue, RedmineKeys.ISSUE_ID); - result.WriteIdIfNotNull(entity.Project, RedmineKeys.PROJECT_ID); - result.WriteIdIfNotNull(entity.Activity, RedmineKeys.ACTIVITY_ID); - - if (!entity.SpentOn.HasValue) entity.SpentOn = DateTime.Now; - - result.WriteDateOrEmpty(entity.SpentOn, RedmineKeys.SPENT_ON); - result.Add(RedmineKeys.HOURS, entity.Hours); - result.Add(RedmineKeys.COMMENTS, entity.Comments); - result.WriteArray(RedmineKeys.CUSTOM_FIELDS, entity.CustomFields, new IssueCustomFieldConverter(), - serializer); - - var root = new Dictionary(); - root[RedmineKeys.TIME_ENTRY] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(TimeEntry)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/TrackerConverter.cs b/src/redmine-net40-api/JSonConverters/TrackerConverter.cs deleted file mode 100755 index 4fd15eab..00000000 --- a/src/redmine-net40-api/JSonConverters/TrackerConverter.cs +++ /dev/null @@ -1,80 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class TrackerConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var tracker = new Tracker - { - Id = dictionary.GetValue(RedmineKeys.ID), - Name = dictionary.GetValue(RedmineKeys.NAME) - }; - return tracker; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(Tracker)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs b/src/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs deleted file mode 100755 index 79ae155b..00000000 --- a/src/redmine-net40-api/JSonConverters/TrackerCustomFieldConverter.cs +++ /dev/null @@ -1,67 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class TrackerCustomFieldConverter : IdentifiableNameConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var entity = new TrackerCustomField(); - - entity.Id = dictionary.GetValue(RedmineKeys.ID); - entity.Name = dictionary.GetValue(RedmineKeys.NAME); - - return entity; - } - - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(TrackerCustomField)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/UploadConverter.cs b/src/redmine-net40-api/JSonConverters/UploadConverter.cs deleted file mode 100755 index 42e0e689..00000000 --- a/src/redmine-net40-api/JSonConverters/UploadConverter.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class UploadConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var upload = new Upload(); - - upload.ContentType = dictionary.GetValue(RedmineKeys.CONTENT_TYPE); - upload.FileName = dictionary.GetValue(RedmineKeys.FILENAME); - upload.Token = dictionary.GetValue(RedmineKeys.TOKEN); - upload.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); - return upload; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Upload; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.CONTENT_TYPE, entity.ContentType); - result.Add(RedmineKeys.FILENAME, entity.FileName); - result.Add(RedmineKeys.TOKEN, entity.Token); - result.Add(RedmineKeys.DESCRIPTION, entity.Description); - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(Upload)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/UserConverter.cs b/src/redmine-net40-api/JSonConverters/UserConverter.cs deleted file mode 100644 index 9c41557b..00000000 --- a/src/redmine-net40-api/JSonConverters/UserConverter.cs +++ /dev/null @@ -1,126 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class UserConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var user = new User(); - user.Login = dictionary.GetValue(RedmineKeys.LOGIN); - user.Id = dictionary.GetValue(RedmineKeys.ID); - user.FirstName = dictionary.GetValue(RedmineKeys.FIRSTNAME); - user.LastName = dictionary.GetValue(RedmineKeys.LASTNAME); - user.Email = dictionary.GetValue(RedmineKeys.MAIL); - user.MailNotification = dictionary.GetValue(RedmineKeys.MAIL_NOTIFICATION); - user.AuthenticationModeId = dictionary.GetValue(RedmineKeys.AUTH_SOURCE_ID); - user.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - user.LastLoginOn = dictionary.GetValue(RedmineKeys.LAST_LOGIN_ON); - user.ApiKey = dictionary.GetValue(RedmineKeys.API_KEY); - user.Status = dictionary.GetValue(RedmineKeys.STATUS); - user.MustChangePassword = dictionary.GetValue(RedmineKeys.MUST_CHANGE_PASSWD); - user.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); - user.Memberships = dictionary.GetValueAsCollection(RedmineKeys.MEMBERSHIPS); - user.Groups = dictionary.GetValueAsCollection(RedmineKeys.GROUPS); - - return user; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as User; - - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.LOGIN, entity.Login); - result.Add(RedmineKeys.FIRSTNAME, entity.FirstName); - result.Add(RedmineKeys.LASTNAME, entity.LastName); - result.Add(RedmineKeys.MAIL, entity.Email); - if(!string.IsNullOrWhiteSpace(entity.MailNotification)) - { - result.Add(RedmineKeys.MAIL_NOTIFICATION, entity.MailNotification); - } - - if(!string.IsNullOrWhiteSpace(entity.Password)) - { - result.Add(RedmineKeys.PASSWORD, entity.Password); - } - - result.Add(RedmineKeys.MUST_CHANGE_PASSWD, entity.MustChangePassword.ToString().ToLowerInvariant()); - result.Add(RedmineKeys.STATUS, ((int)entity.Status).ToString(CultureInfo.InvariantCulture)); - - if(entity.AuthenticationModeId.HasValue) - { - result.WriteValueOrEmpty(entity.AuthenticationModeId, RedmineKeys.AUTH_SOURCE_ID); - } - result.WriteArray(RedmineKeys.CUSTOM_FIELDS, entity.CustomFields, new IssueCustomFieldConverter(), - serializer); - - var root = new Dictionary(); - root[RedmineKeys.USER] = result; - return root; - } - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(User)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/UserGroupConverter.cs b/src/redmine-net40-api/JSonConverters/UserGroupConverter.cs deleted file mode 100755 index c406e66b..00000000 --- a/src/redmine-net40-api/JSonConverters/UserGroupConverter.cs +++ /dev/null @@ -1,67 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class UserGroupConverter : IdentifiableNameConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(UserGroup)}); } - } - - #endregion - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var userGroup = new UserGroup(); - - userGroup.Id = dictionary.GetValue(RedmineKeys.ID); - userGroup.Name = dictionary.GetValue(RedmineKeys.NAME); - - return userGroup; - } - - return null; - } - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/VersionConverter.cs b/src/redmine-net40-api/JSonConverters/VersionConverter.cs deleted file mode 100755 index 6e57cc47..00000000 --- a/src/redmine-net40-api/JSonConverters/VersionConverter.cs +++ /dev/null @@ -1,106 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; -using Version = Redmine.Net.Api.Types.Version; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class VersionConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var version = new Version(); - - version.Id = dictionary.GetValue(RedmineKeys.ID); - version.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); - version.Name = dictionary.GetValue(RedmineKeys.NAME); - version.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - version.UpdatedOn = dictionary.GetValue(RedmineKeys.UPDATED_ON); - version.DueDate = dictionary.GetValue(RedmineKeys.DUE_DATE); - version.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); - version.Sharing = dictionary.GetValue(RedmineKeys.SHARING); - version.Status = dictionary.GetValue(RedmineKeys.STATUS); - version.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); - - return version; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Version; - - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.NAME, entity.Name); - result.Add(RedmineKeys.STATUS, entity.Status.ToString().ToLowerInvariant()); - result.Add(RedmineKeys.SHARING, entity.Sharing.ToString().ToLowerInvariant()); - result.Add(RedmineKeys.DESCRIPTION, entity.Description); - - var root = new Dictionary(); - result.WriteDateOrEmpty(entity.DueDate, RedmineKeys.DUE_DATE); - root[RedmineKeys.VERSION] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(Version)}); } - } - - #endregion - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/WatcherConverter.cs b/src/redmine-net40-api/JSonConverters/WatcherConverter.cs deleted file mode 100755 index d41a3062..00000000 --- a/src/redmine-net40-api/JSonConverters/WatcherConverter.cs +++ /dev/null @@ -1,84 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class WatcherConverter : JavaScriptConverter - { - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] {typeof(Watcher)}); } - } - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var watcher = new Watcher(); - - watcher.Id = dictionary.GetValue(RedmineKeys.ID); - watcher.Name = dictionary.GetValue(RedmineKeys.NAME); - - return watcher; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Watcher; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.ID, entity.Id); - } - - return result; - } - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters/WikiPageConverter.cs b/src/redmine-net40-api/JSonConverters/WikiPageConverter.cs deleted file mode 100755 index d907ba94..00000000 --- a/src/redmine-net40-api/JSonConverters/WikiPageConverter.cs +++ /dev/null @@ -1,98 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class WikiPageConverter : JavaScriptConverter - { - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new List(new[] { typeof(WikiPage) }); } - } - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var tracker = new WikiPage(); - - tracker.Id = dictionary.GetValue(RedmineKeys.ID); - tracker.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); - tracker.Comments = dictionary.GetValue(RedmineKeys.COMMENTS); - tracker.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - tracker.Text = dictionary.GetValue(RedmineKeys.TEXT); - tracker.Title = dictionary.GetValue(RedmineKeys.TITLE); - tracker.UpdatedOn = dictionary.GetValue(RedmineKeys.UPDATED_ON); - tracker.Version = dictionary.GetValue(RedmineKeys.VERSION); - tracker.Attachments = dictionary.GetValueAsCollection(RedmineKeys.ATTACHMENTS); - - return tracker; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as WikiPage; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.TEXT, entity.Text); - result.Add(RedmineKeys.COMMENTS, entity.Comments); - result.WriteValueOrEmpty(entity.Version, RedmineKeys.VERSION); - result.WriteArray(RedmineKeys.UPLOADS, entity.Uploads, new UploadConverter(), serializer); - - var root = new Dictionary(); - root[RedmineKeys.WIKI_PAGE] = result; - return root; - } - - return result; - } - } -} \ No newline at end of file diff --git a/src/redmine-net40-api/JSonConverters2/IJsonConverter.cs b/src/redmine-net40-api/JSonConverters2/IJsonConverter.cs deleted file mode 100755 index 3617b563..00000000 --- a/src/redmine-net40-api/JSonConverters2/IJsonConverter.cs +++ /dev/null @@ -1,17 +0,0 @@ -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; - -namespace Redmine.Net.Api.JSonConverters2 -{ - //public interface IJsonConverter : IJsonConverter - //{ - // void Serialize(JsonWriter writer, T obj, JsonSerializer serializer); - // new T Deserialize(JObject obj, JsonSerializer serializer); - //} - - public interface IJsonConverter - { - void Serialize(JsonWriter writer, object obj, JsonSerializer serializer); - object Deserialize(JObject obj, JsonSerializer serializer); - } -} diff --git a/src/redmine-net40-api/JSonConverters2/IssueConverter.cs b/src/redmine-net40-api/JSonConverters2/IssueConverter.cs deleted file mode 100755 index 704be682..00000000 --- a/src/redmine-net40-api/JSonConverters2/IssueConverter.cs +++ /dev/null @@ -1,105 +0,0 @@ -using System; -using System.Globalization; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters2 -{ - public class IssueConverter : IJsonConverter - { - public void Serialize(JsonWriter writer, object obj, JsonSerializer serializer) - { - if (obj == null) return; - - var issue = (Issue) obj; - - writer.WriteStartObject(); - writer.WriteValue(RedmineKeys.ISSUE); - - writer.WriteProperty(RedmineKeys.SUBJECT, issue.Subject); - writer.WriteProperty(RedmineKeys.DESCRIPTION, issue.Description); - writer.WriteProperty(RedmineKeys.NOTES, issue.Notes); - - if (issue.Id != 0) - { - writer.WriteProperty(RedmineKeys.PRIVATE_NOTES, issue.PrivateNotes); - } - - writer.WriteProperty(RedmineKeys.IS_PRIVATE, issue.IsPrivate); - - writer.WriteIdIfNotNull(RedmineKeys.PROJECT_ID, issue.Project); - writer.WriteIdIfNotNull(RedmineKeys.PRIORITY_ID, issue.Priority); - writer.WriteIdIfNotNull(RedmineKeys.STATUS_ID, issue.Status); - writer.WriteIdIfNotNull(RedmineKeys.CATEGORY_ID, issue.Category); - writer.WriteIdIfNotNull(RedmineKeys.TRACKER_ID, issue.Tracker); - writer.WriteIdIfNotNull(RedmineKeys.ASSIGNED_TO_ID, issue.AssignedTo); - writer.WriteIdIfNotNull(RedmineKeys.FIXED_VERSION_ID, issue.FixedVersion); - writer.WriteValueOrEmpty(RedmineKeys.ESTIMATED_HOURS, issue.EstimatedHours); - - writer.WriteIdOrEmpty(RedmineKeys.PARENT_ISSUE_ID, issue.ParentIssue); - writer.WriteDateOrEmpty(RedmineKeys.START_DATE, issue.StartDate); - writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, issue.DueDate); - writer.WriteDateOrEmpty(RedmineKeys.UPDATED_ON, issue.DueDate); - - if (issue.DoneRatio != null) - writer.WriteProperty(RedmineKeys.DONE_RATIO, issue.DoneRatio.Value.ToString(CultureInfo.InvariantCulture)); - - if (issue.SpentHours != null) - writer.WriteProperty(RedmineKeys.SPENT_HOURS, issue.SpentHours.Value.ToString(CultureInfo.InvariantCulture)); - - writer.WriteArray(RedmineKeys.UPLOADS, issue.Uploads, new UploadConverter(), serializer); - writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, issue.CustomFields, new IssueCustomFieldConverter(), serializer); - - writer.WriteIdsArray(RedmineKeys.WATCHER_USER_IDS, issue.Watchers); - - writer.WriteEndObject(); - } - - public object Deserialize(JObject obj, JsonSerializer serializer) - { - if (obj == null) return null; - - var issue = new Issue - { - Id = obj.Value(RedmineKeys.ID), - Description = obj.Value(RedmineKeys.DESCRIPTION), - - Project = obj.GetValueAsIdentifiableName(RedmineKeys.PROJECT), - Tracker = obj.GetValueAsIdentifiableName(RedmineKeys.TRACKER), - Status = obj.GetValueAsIdentifiableName(RedmineKeys.STATUS), - - CreatedOn = obj.Value(RedmineKeys.CREATED_ON), - UpdatedOn = obj.Value(RedmineKeys.UPDATED_ON), - ClosedOn = obj.Value(RedmineKeys.CLOSED_ON), - - Priority = obj.GetValueAsIdentifiableName(RedmineKeys.PRIORITY), - Author = obj.GetValueAsIdentifiableName(RedmineKeys.AUTHOR), - AssignedTo = obj.GetValueAsIdentifiableName(RedmineKeys.ASSIGNED_TO), - Category = obj.GetValueAsIdentifiableName(RedmineKeys.CATEGORY), - FixedVersion = obj.GetValueAsIdentifiableName(RedmineKeys.FIXED_VERSION), - - Subject = obj.Value(RedmineKeys.SUBJECT), - Notes = obj.Value(RedmineKeys.NOTES), - IsPrivate = obj.Value(RedmineKeys.IS_PRIVATE), - StartDate = obj.Value(RedmineKeys.START_DATE), - DueDate = obj.Value(RedmineKeys.DUE_DATE), - SpentHours = obj.Value(RedmineKeys.SPENT_HOURS), - DoneRatio = obj.Value(RedmineKeys.DONE_RATIO), - EstimatedHours = obj.Value(RedmineKeys.ESTIMATED_HOURS), - - ParentIssue = obj.GetValueAsIdentifiableName(RedmineKeys.PARENT), - CustomFields = obj.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS), - Attachments = obj.GetValueAsCollection(RedmineKeys.ATTACHMENTS), - Relations = obj.GetValueAsCollection(RedmineKeys.RELATIONS), - Journals = obj.GetValueAsCollection(RedmineKeys.JOURNALS), - Changesets = obj.GetValueAsCollection(RedmineKeys.CHANGESETS), - Watchers = obj.GetValueAsCollection(RedmineKeys.WATCHERS), - Children = obj.GetValueAsCollection(RedmineKeys.CHILDREN) - }; - - return issue; - } - } -} diff --git a/src/redmine-net40-api/JSonConverters2/IssueCustomFieldConverter.cs b/src/redmine-net40-api/JSonConverters2/IssueCustomFieldConverter.cs deleted file mode 100755 index d93d870a..00000000 --- a/src/redmine-net40-api/JSonConverters2/IssueCustomFieldConverter.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters2 -{ - public class IssueCustomFieldConverter : IJsonConverter - { - public void Serialize(JsonWriter writer, object obj, JsonSerializer serializer) - { - if (obj == null) return; - - var item = (IssueCustomField)obj; - - if (item.Values == null) return; - - var count = item.Values.Count; - - if (count > 1) - { - writer.WriteProperty(RedmineKeys.VALUE, item.Values.Select(x => x.Info).ToArray()); - } - else - { - writer.WriteProperty(RedmineKeys.VALUE, count > 0 ? item.Values[0].Info : null); - } - } - - public object Deserialize(JObject obj, JsonSerializer serializer) - { - if (obj == null) return null; - - var customField = new IssueCustomField - { - Id = obj.Value(RedmineKeys.ID), - Name = obj.Value(RedmineKeys.NAME), - Multiple = obj.Value(RedmineKeys.MULTIPLE) - }; - - var val = obj.Value(RedmineKeys.VALUE); - var items = serializer.Deserialize(new JTokenReader(val.ToString()), typeof(List)) as List; - - customField.Values = items; - - if (items == null) return customField; - if (customField.Values == null) customField.Values = new List(); - - var list = val as ArrayList; - - if (list != null) - { - foreach (string value in list) - { - customField.Values.Add(new CustomFieldValue {Info = value}); - } - } - else - { - customField.Values.Add(new CustomFieldValue {Info = val as string}); - } - - return customField; - } - } -} diff --git a/src/redmine-net40-api/JSonConverters2/UploadConverter.cs b/src/redmine-net40-api/JSonConverters2/UploadConverter.cs deleted file mode 100755 index ea0bc540..00000000 --- a/src/redmine-net40-api/JSonConverters2/UploadConverter.cs +++ /dev/null @@ -1,36 +0,0 @@ -using Newtonsoft.Json.Linq; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters2 -{ - public class UploadConverter : IJsonConverter - { - public void Serialize(Newtonsoft.Json.JsonWriter writer, object obj, Newtonsoft.Json.JsonSerializer serializer) - { - if (obj == null) return; - - var item = (Upload)obj; - - writer.WriteProperty(RedmineKeys.CONTENT_TYPE, item.ContentType); - writer.WriteProperty(RedmineKeys.FILENAME, item.FileName); - writer.WriteProperty(RedmineKeys.TOKEN, item.Token); - writer.WriteProperty(RedmineKeys.DESCRIPTION, item.Description); - } - - public object Deserialize(JObject obj, Newtonsoft.Json.JsonSerializer serializer) - { - if (obj == null) return null; - - var upload = new Upload - { - ContentType = obj.Value(RedmineKeys.CONTENT_TYPE), - FileName = obj.Value(RedmineKeys.FILENAME), - Token = obj.Value(RedmineKeys.TOKEN), - Description = obj.Value(RedmineKeys.DESCRIPTION) - }; - - return upload; - } - } -} diff --git a/src/redmine-net40-api/Properties/AssemblyInfo.cs b/src/redmine-net40-api/Properties/AssemblyInfo.cs deleted file mode 100644 index 84914b31..00000000 --- a/src/redmine-net40-api/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("redmine-net40-api")] -[assembly: AssemblyDescription("redmine-net-api is a library for communicating with a Redmine project management application.")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("redmine-net40-api")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("8b72d103-5fba-4423-9698-ad097635a743")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// 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.0.4")] -[assembly: AssemblyFileVersion("1.0.4")] diff --git a/src/redmine-net40-api/redmine-net40-api.csproj b/src/redmine-net40-api/redmine-net40-api.csproj deleted file mode 100644 index a413fc34..00000000 --- a/src/redmine-net40-api/redmine-net40-api.csproj +++ /dev/null @@ -1,331 +0,0 @@ - - - - - Debug - AnyCPU - {22492A69-B890-4D5B-A2FC-E2F6C63935B8} - Library - Properties - Redmine.Net.Api - redmine-net40-api - v4.0 - 512 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - bin\Debug\redmine-net40-api.XML - - - none - true - bin\Release\ - TRACE - prompt - 4 - bin\Release\redmine-net40-api.XML - - - true - bin\DebugXML\ - DEBUG;TRACE - full - AnyCPU - prompt - MinimumRecommendedRules.ruleset - 4 - false - - - true - bin\DebugJSON\ - DEBUG;TRACE - full - AnyCPU - prompt - MinimumRecommendedRules.ruleset - 4 - false - - - - - - - - - - - - - - Extensions\Extensions.cs - - - Internals\HashCodeHelper.cs - - - Internals\UrlHelper.cs - - - Internals\DataHelper.cs - - - Extensions\NameValueCollectionExtensions.cs - - - HttpVerbs.cs - - - Internals\WebApiHelper.cs - - - Logging\ColorConsoleLogger.cs - - - Logging\ConsoleLogger.cs - - - Logging\ILogger.cs - - - Logging\LogEntry.cs - - - Logging\Logger.cs - - - Logging\LoggerExtensions.cs - - - Logging\LoggingEventType.cs - - - Logging\RedmineConsoleTraceListener.cs - - - Logging\TraceLogger.cs - - - RedmineKeys.cs - - - RedmineManager.cs - - - RedmineWebClient.cs - Component - - - Types\Attachment.cs - - - Types\Attachments.cs - - - Types\ChangeSet.cs - - - Types\CustomField.cs - - - Types\CustomFieldPossibleValue.cs - - - Types\CustomFieldRole.cs - - - Types\CustomFieldValue.cs - - - Types\Detail.cs - - - Types\Error.cs - - - Types\File.cs - - - Types\Group.cs - - - Types\GroupUser.cs - - - Types\Identifiable.cs - - - Types\IdentifiableName.cs - - - Types\IRedmineManager.cs - - - Types\IRedmineWebClient.cs - - - Types\Issue.cs - - - Types\IssueCategory.cs - - - Types\IssueChild.cs - - - Types\IssueCustomField.cs - - - Types\IssuePriority.cs - - - Types\IssueRelation.cs - - - Types\IssueRelationType.cs - - - Types\IssueStatus.cs - - - Types\Journal.cs - - - Types\Membership.cs - - - Types\MembershipRole.cs - - - Types\News.cs - - - Types\PaginatedObjects.cs - - - Types\Permission.cs - - - Types\Project.cs - - - Types\ProjectEnabledModule.cs - - - Types\ProjectIssueCategory.cs - - - Types\ProjectMembership.cs - - - Types\ProjectStatus.cs - - - Types\ProjectTracker.cs - - - Types\Query.cs - - - Types\Role.cs - - - Types\TimeEntry.cs - - - Types\TimeEntryActivity.cs - - - Types\Tracker.cs - - - Types\TrackerCustomField.cs - - - Types\Upload.cs - - - Types\User.cs - - - Types\UserGroup.cs - - - Types\UserStatus.cs - - - Types\Version.cs - - - Types\Watcher.cs - - - Types\WikiPage.cs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Types\IValue.cs - - - - - - - - - \ No newline at end of file diff --git a/src/redmine-net450-api-signed/Properties/AssemblyInfo.cs b/src/redmine-net450-api-signed/Properties/AssemblyInfo.cs deleted file mode 100644 index 6e7337ce..00000000 --- a/src/redmine-net450-api-signed/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("redmine-net45-api-signed")] -[assembly: AssemblyDescription("redmine-net-api is a library for communicating with a Redmine project management application.")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("redmine-net45-api-signed")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("1d1fb5e7-61a9-4ac5-9a84-5714f08e09cb")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// 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.0.4")] -[assembly: AssemblyFileVersion("1.0.4")] diff --git a/src/redmine-net450-api-signed/redmine-net-api.snk b/src/redmine-net450-api-signed/redmine-net-api.snk deleted file mode 100755 index 6d40dc4bcf3a42efef28da84214dbd403deeb96e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50096IN-UAP2W7Z8Taq6HFlob3_zbGu}!n%`6YC2Vydx!NK+V zp`C9Rl^AXD@alQQf6TU;crI}udV(guj5H)*NQxvl^&$`zNi{a459MV*S05dQcQmf` zI$7fmYu~1esGxWp-hS=Af}lAbvrp2c_y5|i2m;JL!0Nnh?AW#RbcST{j(*V+V~?shO8SZNI?@B31WDMLDn9D3Dof3n&O^Ip zugL!?xxb@*0?a|hARq7-i|P_6divVkIr62Ee2=d)&>*{6A?_!)a9wo+Pm0@#Z@A zNJCL>`vp`*no - - - - Debug - AnyCPU - {028B9120-A7FC-4B23-AA9C-F18087058F76} - Library - Properties - Redmine.Net.Api - redmine-net45-api-signed - v4.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - bin\Debug\redmine-net45-api-signed.XML - - - none - true - bin\Release\ - TRACE - prompt - 4 - bin\Release\redmine-net45-api-signed.XML - - - true - - - redmine-net-api.snk - - - true - bin\DebugXML\ - DEBUG;TRACE - full - AnyCPU - prompt - MinimumRecommendedRules.ruleset - 4 - false - - - true - bin\DebugJSON\ - DEBUG;TRACE - full - AnyCPU - prompt - MinimumRecommendedRules.ruleset - 4 - false - - - - - - - - - - - - - - - Internals\HashCodeHelper.cs - - - Internals\DataHelper.cs - - - Extensions\NameValueCollectionExtensions.cs - - - HttpVerbs.cs - - - Internals\UrlHelper.cs - - - Extensions\XmlWriterExtensions.cs - - - Internals\WebApiHelper.cs - - - Logging\ColorConsoleLogger.cs - - - Logging\ConsoleLogger.cs - - - Logging\ILogger.cs - - - Logging\LogEntry.cs - - - Logging\Logger.cs - - - Logging\LoggerExtensions.cs - - - Logging\LoggingEventType.cs - - - Logging\RedmineConsoleTraceListener.cs - - - Logging\TraceLogger.cs - - - RedmineKeys.cs - - - RedmineManager.cs - - - RedmineWebClient.cs - Component - - - Types\Attachment.cs - - - Types\Attachments.cs - - - Types\ChangeSet.cs - - - Types\CustomField.cs - - - Types\CustomFieldPossibleValue.cs - - - Types\CustomFieldRole.cs - - - Types\CustomFieldValue.cs - - - Types\Detail.cs - - - Types\Error.cs - - - Types\File.cs - - - Types\Group.cs - - - Types\GroupUser.cs - - - Types\Identifiable.cs - - - Types\IdentifiableName.cs - - - Types\IRedmineManager.cs - - - Types\IRedmineWebClient.cs - - - Types\Issue.cs - - - Types\IssueCategory.cs - - - Types\IssueChild.cs - - - Types\IssueCustomField.cs - - - Types\IssuePriority.cs - - - Types\IssueRelation.cs - - - Types\IssueRelationType.cs - - - Types\IssueStatus.cs - - - Types\IValue.cs - - - Types\Journal.cs - - - Types\Membership.cs - - - Types\MembershipRole.cs - - - Types\News.cs - - - Types\PaginatedObjects.cs - - - Types\Permission.cs - - - Types\Project.cs - - - Types\ProjectEnabledModule.cs - - - Types\ProjectIssueCategory.cs - - - Types\ProjectMembership.cs - - - Types\ProjectStatus.cs - - - Types\ProjectTracker.cs - - - Types\Query.cs - - - Types\Role.cs - - - Types\TimeEntry.cs - - - Types\TimeEntryActivity.cs - - - Types\Tracker.cs - - - Types\TrackerCustomField.cs - - - Types\Upload.cs - - - Types\User.cs - - - Types\UserGroup.cs - - - Types\UserStatus.cs - - - Types\Version.cs - - - Types\Watcher.cs - - - Types\WikiPage.cs - - - Extensions\CollectionExtensions.cs - - - Extensions\JsonExtensions.cs - - - Extensions\WebExtensions.cs - - - Extensions\XmlReaderExtensions.cs - - - Internals\RedmineSerializer.cs - - - Internals\RedmineSerializerJson.cs - - - JsonConverters\AttachmentConverter.cs - - - JsonConverters\AttachmentsConverter.cs - - - JsonConverters\ChangeSetConverter.cs - - - JsonConverters\CustomFieldConverter.cs - - - JsonConverters\CustomFieldPossibleValueConverter.cs - - - JsonConverters\CustomFieldRoleConverter.cs - - - JsonConverters\DetailConverter.cs - - - JsonConverters\ErrorConverter.cs - - - JsonConverters\FileConverter.cs - - - JsonConverters\GroupConverter.cs - - - JsonConverters\GroupUserConverter.cs - - - JsonConverters\IdentifiableNameConverter.cs - - - JsonConverters\IssueCategoryConverter.cs - - - JsonConverters\IssueChildConverter.cs - - - JsonConverters\IssueConverter.cs - - - JsonConverters\IssueCustomFieldConverter.cs - - - JsonConverters\IssuePriorityConverter.cs - - - JsonConverters\IssueRelationConverter.cs - - - JsonConverters\IssueStatusConverter.cs - - - JsonConverters\JournalConverter.cs - - - JsonConverters\MembershipConverter.cs - - - JsonConverters\MembershipRoleConverter.cs - - - JsonConverters\NewsConverter.cs - - - JsonConverters\PermissionConverter.cs - - - JsonConverters\ProjectConverter.cs - - - JsonConverters\ProjectEnabledModuleConverter.cs - - - JsonConverters\ProjectIssueCategoryConverter.cs - - - JsonConverters\ProjectMembershipConverter.cs - - - JsonConverters\ProjectTrackerConverter.cs - - - JsonConverters\QueryConverter.cs - - - JsonConverters\RoleConverter.cs - - - JsonConverters\TimeEntryActivityConverter.cs - - - JsonConverters\TimeEntryConverter.cs - - - JsonConverters\TrackerConverter.cs - - - JsonConverters\TrackerCustomFieldConverter.cs - - - JsonConverters\UploadConverter.cs - - - JsonConverters\UserConverter.cs - - - JsonConverters\UserGroupConverter.cs - - - JsonConverters\VersionConverter.cs - - - JsonConverters\WatcherConverter.cs - - - JsonConverters\WikiPageConverter.cs - - - MimeFormat.cs - - - Async\RedmineManagerAsync.cs - - - Extensions\DisposableExtension.cs - - - Extensions\FunctionalExtensions.cs - - - Extensions\TaskExtensions.cs - - - Internals\WebApiAsyncHelper.cs - - - - Exceptions\NotFoundException.cs - - - Exceptions\RedmineException.cs - - - Exceptions\RedmineTimeoutException.cs - - - Exceptions\NameResolutionFailureException.cs - - - InternalServerErrorException.cs - - - Exceptions\UnauthorizedException.cs - - - Exceptions\ForbiddenException.cs - - - Exceptions\ConflictException.cs - - - Exceptions\NotAcceptableException.cs - - - - - - - - - \ No newline at end of file diff --git a/src/redmine-net450-api/Extensions/DisposableExtension.cs b/src/redmine-net450-api/Extensions/DisposableExtension.cs deleted file mode 100755 index 95f6e26a..00000000 --- a/src/redmine-net450-api/Extensions/DisposableExtension.cs +++ /dev/null @@ -1,40 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; - -namespace Redmine.Net.Api.Extensions -{ - /// - /// - /// - public static class DisposableExtension - { - /// - /// Usings the specified resource factory. - /// - /// The type of the resource. - /// The type of the result. - /// The resource factory. - /// The function. - /// - public static TResult Using(Func resourceFactory, Func fn) - where TResource : IDisposable - { - using (var resource = resourceFactory()) return fn(resource); - } - } -} \ No newline at end of file diff --git a/src/redmine-net450-api/Extensions/FunctionalExtensions.cs b/src/redmine-net450-api/Extensions/FunctionalExtensions.cs deleted file mode 100755 index b0a94161..00000000 --- a/src/redmine-net450-api/Extensions/FunctionalExtensions.cs +++ /dev/null @@ -1,105 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; - -namespace Redmine.Net.Api.Extensions -{ - /// - /// - /// - public static class FunctionalExtensions - { - - /// - /// The Tee extension method takes it�s name from the corresponding UNIX command which is used in command pipelines to cause a side-effect with a given input and return the original value. - /// - /// This. - /// Action. - /// The 1st type parameter. - public static T Tee(this T @this, Action action) - { - action(@this); - return @this; - } - - /// - /// Maps the specified function. - /// - /// The type of the source. - /// The type of the result. - /// The this. - /// The function. - /// - public static TResult Map(this TSource @this, Func fn) - { - return fn(@this); - } - - /// - /// Curries the specified function. - /// - /// - /// - /// - /// The function. - /// - public static Func> Curry(this Func func) - { - return a => b => func(a, b); - } - - /// - /// Curries the specified function. - /// - /// - /// - /// - /// - /// The function. - /// - public static Func>> Curry(this Func func) - { - return a => b => c => func(a, b, c); - } - - /// - /// Caches the specified function. - /// - /// - /// The function. - /// The interval. - /// - public static Func Cache(Func func, int interval) - { - var cachedValue = func(); - var timeCached= DateTime.Now; - - Func cachedFunc = () => - { - if((DateTime.Now - timeCached).Seconds >= interval) - { - timeCached = DateTime.Now; - cachedValue = func(); - } - - return cachedValue; - }; - - return cachedFunc; - } - } -} \ No newline at end of file diff --git a/src/redmine-net450-api/Extensions/TaskExtensions.cs b/src/redmine-net450-api/Extensions/TaskExtensions.cs deleted file mode 100755 index b379e6fa..00000000 --- a/src/redmine-net450-api/Extensions/TaskExtensions.cs +++ /dev/null @@ -1,136 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Threading.Tasks; - -namespace Redmine.Net.Api.Extensions -{ - - /// - /// - /// - public static class TaskExtensions - { - - /// - /// Maps the asynchronous. - /// - /// The type of the source. - /// The type of the result. - /// The this. - /// The function. - /// - public static async Task MapAsync(this Task @this, Func> fn) - { - return await fn(await @this); - } - - /// - /// Maps the asynchronous. - /// - /// The type of the source. - /// The type of the result. - /// The this. - /// The function. - /// - public static async Task MapAsync(this TSource @this, Func> fn) - { - return await fn(@this); - } - - /// - /// Maps the asynchronous. - /// - /// The type of the source. - /// The type of the result. - /// The this. - /// The function. - /// - public static async Task MapAsync(this Task @this, Func fn) - { - return fn(await @this); - } - - /// - /// Tees the asynchronous. - /// - /// The type of the source. - /// The type of the result. - /// The this. - /// The act. - /// - public static async Task TeeAsync(this TSource @this, Func> act) - { - await act(@this); - return @this; - } - - /// - /// Tees the asynchronous. - /// - /// - /// The this. - /// The act. - /// - public static async Task TeeAsync(this Task @this, Action act) - { - act(await @this); - return await @this; - } - - /// - /// Tees the asynchronous. - /// - /// The type of the source. - /// The type of the result. - /// The this. - /// The act. - /// - public static async Task TeeAsync(this Task @this, Func> act) - { - await act(await @this); - return await @this; - } - - /// - /// Tees the asynchronous. - /// - /// The type of the source. - /// The this. - /// The act. - /// - public static async Task TeeAsync(this TSource @this, Func> act) - { - await act(@this); - return @this; - } - - /// - /// Tees the specified act. - /// - /// The type of the source. - /// The type of the result. - /// The this. - /// The act. - /// - public static async Task Tee(this Task @this, Func act) - { - act(await @this); - return await @this; - } - } -} \ No newline at end of file diff --git a/src/redmine-net450-api/Properties/AssemblyInfo.cs b/src/redmine-net450-api/Properties/AssemblyInfo.cs deleted file mode 100644 index 1e553dcd..00000000 --- a/src/redmine-net450-api/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("redmine-net45-api")] -[assembly: AssemblyDescription("redmine-net-api is a library for communicating with a Redmine project management application.")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("redmine-net45-api")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("310d3e49-5865-4b90-b645-dad29b388ac8")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// 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.0.4")] -[assembly: AssemblyFileVersion("1.0.4")] diff --git a/src/redmine-net450-api/redmine-net450-api.csproj b/src/redmine-net450-api/redmine-net450-api.csproj deleted file mode 100644 index e8190258..00000000 --- a/src/redmine-net450-api/redmine-net450-api.csproj +++ /dev/null @@ -1,464 +0,0 @@ - - - - - Debug - AnyCPU - {AEDFD095-F4B0-4630-B41A-9A22169456E9} - Library - Properties - Redmine.Net.Api - redmine-net45-api - v4.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - bin\Debug\redmine-net45-api.XML - - - none - true - bin\Release\ - TRACE - prompt - 4 - bin\Release\redmine-net45-api.XML - - - true - bin\DebugXML\ - DEBUG;TRACE - full - AnyCPU - prompt - MinimumRecommendedRules.ruleset - 4 - false - - - true - bin\DebugJSON\ - DEBUG;TRACE - full - AnyCPU - prompt - MinimumRecommendedRules.ruleset - 4 - false - - - - - - - - - - - - - - - Internals\HashCodeHelper.cs - - - Internals\DataHelper.cs - - - Extensions\XmlWriterExtensions.cs - - - Extensions\NameValueCollectionExtensions.cs - - - HttpVerbs.cs - - - Internals\UrlHelper.cs - - - Internals\WebApiHelper.cs - - - Logging\ColorConsoleLogger.cs - - - Logging\ConsoleLogger.cs - - - Logging\ILogger.cs - - - Logging\LogEntry.cs - - - Logging\Logger.cs - - - Logging\LoggerExtensions.cs - - - Logging\LoggingEventType.cs - - - Logging\RedmineConsoleTraceListener.cs - - - Logging\TraceLogger.cs - - - RedmineKeys.cs - - - RedmineManager.cs - - - RedmineWebClient.cs - Component - - - Types\Attachment.cs - - - Types\Attachments.cs - - - Types\ChangeSet.cs - - - Types\CustomField.cs - - - Types\CustomFieldPossibleValue.cs - - - Types\CustomFieldRole.cs - - - Types\CustomFieldValue.cs - - - Types\Detail.cs - - - Types\Error.cs - - - Types\File.cs - - - Types\Group.cs - - - Types\GroupUser.cs - - - Types\Identifiable.cs - - - Types\IdentifiableName.cs - - - Types\IRedmineManager.cs - - - Types\IRedmineWebClient.cs - - - Types\Issue.cs - - - Types\IssueCategory.cs - - - Types\IssueChild.cs - - - Types\IssueCustomField.cs - - - Types\IssuePriority.cs - - - Types\IssueRelation.cs - - - Types\IssueRelationType.cs - - - Types\IssueStatus.cs - - - Types\Journal.cs - - - Types\Membership.cs - - - Types\MembershipRole.cs - - - Types\News.cs - - - Types\PaginatedObjects.cs - - - Types\Permission.cs - - - Types\Project.cs - - - Types\ProjectEnabledModule.cs - - - Types\ProjectIssueCategory.cs - - - Types\ProjectMembership.cs - - - Types\ProjectStatus.cs - - - Types\ProjectTracker.cs - - - Types\Query.cs - - - Types\Role.cs - - - Types\TimeEntry.cs - - - Types\TimeEntryActivity.cs - - - Types\Tracker.cs - - - Types\TrackerCustomField.cs - - - Types\Upload.cs - - - Types\User.cs - - - Types\UserGroup.cs - - - Types\UserStatus.cs - - - Types\Version.cs - - - Types\Watcher.cs - - - Types\WikiPage.cs - - - Extensions\CollectionExtensions.cs - - - Extensions\JsonExtensions.cs - - - Extensions\WebExtensions.cs - - - Extensions\XmlReaderExtensions.cs - - - Internals\RedmineSerializer.cs - - - Internals\RedmineSerializerJson.cs - - - JSonConverters\AttachmentConverter.cs - - - JSonConverters\AttachmentsConverter.cs - - - JSonConverters\ChangeSetConverter.cs - - - JSonConverters\CustomFieldConverter.cs - - - JSonConverters\CustomFieldPossibleValueConverter.cs - - - JSonConverters\CustomFieldRoleConverter.cs - - - JSonConverters\DetailConverter.cs - - - JSonConverters\ErrorConverter.cs - - - JsonConverters\FileConverter.cs - - - JSonConverters\GroupConverter.cs - - - JSonConverters\GroupUserConverter.cs - - - JSonConverters\IdentifiableNameConverter.cs - - - JSonConverters\IssueCategoryConverter.cs - - - JSonConverters\IssueChildConverter.cs - - - JSonConverters\IssueConverter.cs - - - JSonConverters\IssueCustomFieldConverter.cs - - - JSonConverters\IssuePriorityConverter.cs - - - JSonConverters\IssueRelationConverter.cs - - - JSonConverters\IssueStatusConverter.cs - - - JSonConverters\JournalConverter.cs - - - JSonConverters\MembershipConverter.cs - - - JSonConverters\MembershipRoleConverter.cs - - - JSonConverters\NewsConverter.cs - - - JSonConverters\PermissionConverter.cs - - - JSonConverters\ProjectConverter.cs - - - JSonConverters\ProjectEnabledModuleConverter.cs - - - JSonConverters\ProjectIssueCategoryConverter.cs - - - JSonConverters\ProjectMembershipConverter.cs - - - JSonConverters\ProjectTrackerConverter.cs - - - JSonConverters\QueryConverter.cs - - - JSonConverters\RoleConverter.cs - - - JSonConverters\TimeEntryActivityConverter.cs - - - JSonConverters\TimeEntryConverter.cs - - - JSonConverters\TrackerConverter.cs - - - JSonConverters\TrackerCustomFieldConverter.cs - - - JSonConverters\UploadConverter.cs - - - JSonConverters\UserConverter.cs - - - JSonConverters\UserGroupConverter.cs - - - JSonConverters\VersionConverter.cs - - - JSonConverters\WatcherConverter.cs - - - JSonConverters\WikiPageConverter.cs - - - MimeFormat.cs - - - - - - - Types\IValue.cs - - - Exceptions\NotFoundException.cs - - - Exceptions\RedmineException.cs - - - Exceptions\RedmineTimeoutException.cs - - - Exceptions\NameResolutionFailureException.cs - - - Exceptions\InternalServerErrorException.cs - - - Exceptions\UnauthorizedException.cs - - - Exceptions\ForbiddenException.cs - - - Exceptions\ConflictException.cs - - - Exceptions\NotAcceptableException.cs - - - - - - - - - \ No newline at end of file diff --git a/src/redmine-net451-api-signed/Properties/AssemblyInfo.cs b/src/redmine-net451-api-signed/Properties/AssemblyInfo.cs deleted file mode 100644 index 5fead8c4..00000000 --- a/src/redmine-net451-api-signed/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("redmine-net451-api-signed")] -[assembly: AssemblyDescription("redmine-net-api is a library for communicating with a Redmine project management application.")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("redmine-net451-api-signed")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("42de2d03-79b1-475d-9f39-4a1acea67297")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// 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.0.4.0")] -[assembly: AssemblyFileVersion("1.0.4.0")] diff --git a/src/redmine-net451-api-signed/redmine-net-api.snk b/src/redmine-net451-api-signed/redmine-net-api.snk deleted file mode 100755 index 9bc3c18fa396f7f21f34cb39af87c94da753e446..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50097JhH$|Om5knNbcroe2Z&qJt2a_rxL?`8Y-_p1Hlja}r`6m`Q;mf7#QGzQrhxCY?fqYn+e7$m`H3ETq#B z1s1D$y)N0w9JpDEbC=#6?mi@J2nYoygYW_H!bbX*5r&;GFR!J_^`<6BjvQS3V?b38 zq*6Bf{0ztRc-{Q>b334}+O}G!``r64EWLEDki1+)5shPCi4n%h$NEV^%+?*>r8PLz zFEpgWH_*vcio!WQZUU4)Z$8`1-9y%4|IJ>k3-mmFRlIOC!@s_1Fx5maAEh4oIo{7^ zV(S_-Vmi!uca%g&p=vjbD}(bYwH-5e<+IZ6+n+%rplsIH8_c-tXy2ttp+y5QjX>te zv>U)+-XHrE#bR+&6o%v^UPJVF;w?7!8V56@4)R#HI^&noK7%iYTy&bN=}L_iN-?Pe zs$<+Z99tzgv zYddaxg8|Lc(61YXk{<7fo?4w^c1cKzJJZmSZP!M=s+Byd-gq9|l@WmYu0zJ`j5E@l iRu(`pg{ek4Nqo%YyKq>e%VaH*xx1o|qf9Bj(5AdBKp} - - - - Debug - AnyCPU - {7FB65A2A-946B-4ACD-A6A2-85FA6D517CC2} - Library - Properties - Redmine.Net.Api - redmine-net451-api-signed - v4.5.1 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - bin\Debug\redmine-net451-api-signed.XML - - - none - true - bin\Release\ - TRACE - prompt - 4 - bin\Release\redmine-net451-api-signed.XML - - - true - - - redmine-net-api.snk - - - - - - - - - - - - - - Internals\HashCodeHelper.cs - - - Internals\DataHelper.cs - - - Extensions\XmlWriterExtensions.cs - - - Extensions\NameValueCollectionExtensions.cs - - - HttpVerbs.cs - - - Internals\UrlHelper.cs - - - Internals\WebApiHelper.cs - - - Logging\ColorConsoleLogger.cs - - - Logging\ConsoleLogger.cs - - - Logging\ILogger.cs - - - Logging\LogEntry.cs - - - Logging\Logger.cs - - - Logging\LoggerExtensions.cs - - - Logging\LoggingEventType.cs - - - Logging\RedmineConsoleTraceListener.cs - - - Logging\TraceLogger.cs - - - RedmineKeys.cs - - - RedmineManager.cs - - - RedmineWebClient.cs - Component - - - Types\Attachment.cs - - - Types\Attachments.cs - - - Types\ChangeSet.cs - - - Types\CustomField.cs - - - Types\CustomFieldPossibleValue.cs - - - Types\CustomFieldRole.cs - - - Types\CustomFieldValue.cs - - - Types\Detail.cs - - - Types\Error.cs - - - Types\File.cs - - - Types\Group.cs - - - Types\GroupUser.cs - - - Types\Identifiable.cs - - - Types\IdentifiableName.cs - - - Types\IRedmineManager.cs - - - Types\IRedmineWebClient.cs - - - Types\Issue.cs - - - Types\IssueCategory.cs - - - Types\IssueChild.cs - - - Types\IssueCustomField.cs - - - Types\IssuePriority.cs - - - Types\IssueRelation.cs - - - Types\IssueRelationType.cs - - - Types\IssueStatus.cs - - - Types\IValue.cs - - - Types\Journal.cs - - - Types\Membership.cs - - - Types\MembershipRole.cs - - - Types\News.cs - - - Types\PaginatedObjects.cs - - - Types\Permission.cs - - - Types\Project.cs - - - Types\ProjectEnabledModule.cs - - - Types\ProjectIssueCategory.cs - - - Types\ProjectMembership.cs - - - Types\ProjectStatus.cs - - - Types\ProjectTracker.cs - - - Types\Query.cs - - - Types\Role.cs - - - Types\TimeEntry.cs - - - Types\TimeEntryActivity.cs - - - Types\Tracker.cs - - - Types\TrackerCustomField.cs - - - Types\Upload.cs - - - Types\User.cs - - - Types\UserGroup.cs - - - Types\UserStatus.cs - - - Types\Version.cs - - - Types\Watcher.cs - - - Types\WikiPage.cs - - - Extensions\CollectionExtensions.cs - - - Extensions\JsonExtensions.cs - - - Extensions\WebExtensions.cs - - - Extensions\XmlReaderExtensions.cs - - - Internals\RedmineSerializer.cs - - - Internals\RedmineSerializerJson.cs - - - JsonConverters\AttachmentConverter.cs - - - JsonConverters\AttachmentsConverter.cs - - - JsonConverters\ChangeSetConverter.cs - - - JsonConverters\CustomFieldConverter.cs - - - JsonConverters\CustomFieldPossibleValueConverter.cs - - - JsonConverters\CustomFieldRoleConverter.cs - - - JsonConverters\DetailConverter.cs - - - JsonConverters\ErrorConverter.cs - - - JsonConverters\FileConverter.cs - - - JsonConverters\GroupConverter.cs - - - JsonConverters\GroupUserConverter.cs - - - JsonConverters\IdentifiableNameConverter.cs - - - JsonConverters\IssueCategoryConverter.cs - - - JsonConverters\IssueChildConverter.cs - - - JsonConverters\IssueConverter.cs - - - JsonConverters\IssueCustomFieldConverter.cs - - - JsonConverters\IssuePriorityConverter.cs - - - JsonConverters\IssueRelationConverter.cs - - - JsonConverters\IssueStatusConverter.cs - - - JsonConverters\JournalConverter.cs - - - JsonConverters\MembershipConverter.cs - - - JsonConverters\MembershipRoleConverter.cs - - - JsonConverters\NewsConverter.cs - - - JsonConverters\PermissionConverter.cs - - - JsonConverters\ProjectConverter.cs - - - JsonConverters\ProjectEnabledModuleConverter.cs - - - JsonConverters\ProjectIssueCategoryConverter.cs - - - JsonConverters\ProjectMembershipConverter.cs - - - JsonConverters\ProjectTrackerConverter.cs - - - JsonConverters\QueryConverter.cs - - - JsonConverters\RoleConverter.cs - - - JsonConverters\TimeEntryActivityConverter.cs - - - JsonConverters\TimeEntryConverter.cs - - - JsonConverters\TrackerConverter.cs - - - JsonConverters\TrackerCustomFieldConverter.cs - - - JsonConverters\UploadConverter.cs - - - JsonConverters\UserConverter.cs - - - JsonConverters\UserGroupConverter.cs - - - JsonConverters\VersionConverter.cs - - - JsonConverters\WatcherConverter.cs - - - JsonConverters\WikiPageConverter.cs - - - MimeFormat.cs - - - Async\RedmineManagerAsync.cs - - - Extensions\DisposableExtension.cs - - - Extensions\FunctionalExtensions.cs - - - Extensions\TaskExtensions.cs - - - Internals\WebApiAsyncHelper.cs - - - - Exceptions\NotFoundException.cs - - - Exceptions\RedmineException.cs - - - Exceptions\RedmineTimeoutException.cs - - - Exceptions\NameResolutionFailureException.cs - - - Exceptions\InternalServerErrorException.cs - - - Exceptions\UnauthorizedException.cs - - - Exceptions\ForbiddenException.cs - - - Exceptions\ConflictException.cs - - - Exceptions\NotAcceptableException.cs - - - - - - - - \ No newline at end of file diff --git a/src/redmine-net451-api/Properties/AssemblyInfo.cs b/src/redmine-net451-api/Properties/AssemblyInfo.cs deleted file mode 100644 index 3119f037..00000000 --- a/src/redmine-net451-api/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("redmine-net451-api")] -[assembly: AssemblyDescription("redmine-net-api is a library for communicating with a Redmine project management application.")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("redmine-net451-api")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("dc861b73-64ca-4bf8-a6ba-73db00934aa9")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// 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.0.4.0")] -[assembly: AssemblyFileVersion("1.0.4.0")] diff --git a/src/redmine-net451-api/redmine-net451-api.csproj b/src/redmine-net451-api/redmine-net451-api.csproj deleted file mode 100644 index d5516638..00000000 --- a/src/redmine-net451-api/redmine-net451-api.csproj +++ /dev/null @@ -1,449 +0,0 @@ - - - - - Debug - AnyCPU - {B67F0035-336C-4CDA-80A8-DE94EEDF5627} - Library - Properties - Redmine.Net.Api - redmine-net451-api - v4.5.1 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - bin\Debug\redmine-net451-api.XML - - - none - true - bin\Release\ - TRACE - prompt - 4 - bin\Release\redmine-net451-api.XML - - - - - - - - - - - - - - Internals\HashCodeHelper.cs - - - Internals\DataHelper.cs - - - Extensions\NameValueCollectionExtensions.cs - - - Extensions\XmlWriterExtensions.cs - - - HttpVerbs.cs - - - Internals\UrlHelper.cs - - - Internals\WebApiHelper.cs - - - Logging\ColorConsoleLogger.cs - - - Logging\ConsoleLogger.cs - - - Logging\ILogger.cs - - - Logging\LogEntry.cs - - - Logging\Logger.cs - - - Logging\LoggerExtensions.cs - - - Logging\LoggingEventType.cs - - - Logging\RedmineConsoleTraceListener.cs - - - Logging\TraceLogger.cs - - - RedmineKeys.cs - - - RedmineManager.cs - - - RedmineWebClient.cs - Component - - - Types\Attachment.cs - - - Types\Attachments.cs - - - Types\ChangeSet.cs - - - Types\CustomField.cs - - - Types\CustomFieldPossibleValue.cs - - - Types\CustomFieldRole.cs - - - Types\CustomFieldValue.cs - - - Types\Detail.cs - - - Types\Error.cs - - - Types\File.cs - - - Types\Group.cs - - - Types\GroupUser.cs - - - Types\Identifiable.cs - - - Types\IdentifiableName.cs - - - Types\IRedmineManager.cs - - - Types\IRedmineWebClient.cs - - - Types\Issue.cs - - - Types\IssueCategory.cs - - - Types\IssueChild.cs - - - Types\IssueCustomField.cs - - - Types\IssuePriority.cs - - - Types\IssueRelation.cs - - - Types\IssueRelationType.cs - - - Types\IssueStatus.cs - - - Types\IValue.cs - - - Types\Journal.cs - - - Types\Membership.cs - - - Types\MembershipRole.cs - - - Types\News.cs - - - Types\PaginatedObjects.cs - - - Types\Permission.cs - - - Types\Project.cs - - - Types\ProjectEnabledModule.cs - - - Types\ProjectIssueCategory.cs - - - Types\ProjectMembership.cs - - - Types\ProjectStatus.cs - - - Types\ProjectTracker.cs - - - Types\Query.cs - - - Types\Role.cs - - - Types\TimeEntry.cs - - - Types\TimeEntryActivity.cs - - - Types\Tracker.cs - - - Types\TrackerCustomField.cs - - - Types\Upload.cs - - - Types\User.cs - - - Types\UserGroup.cs - - - Types\UserStatus.cs - - - Types\Version.cs - - - Types\Watcher.cs - - - Types\WikiPage.cs - - - Extensions\CollectionExtensions.cs - - - Extensions\JsonExtensions.cs - - - Extensions\WebExtensions.cs - - - Extensions\XmlReaderExtensions.cs - - - Internals\RedmineSerializer.cs - - - Internals\RedmineSerializerJson.cs - - - JsonConverters\AttachmentConverter.cs - - - JsonConverters\AttachmentsConverter.cs - - - JsonConverters\ChangeSetConverter.cs - - - JsonConverters\CustomFieldConverter.cs - - - JsonConverters\CustomFieldPossibleValueConverter.cs - - - JsonConverters\CustomFieldRoleConverter.cs - - - JsonConverters\DetailConverter.cs - - - JsonConverters\ErrorConverter.cs - - - JsonConverters\FileConverter.cs - - - JsonConverters\GroupConverter.cs - - - JsonConverters\GroupUserConverter.cs - - - JsonConverters\IdentifiableNameConverter.cs - - - JsonConverters\IssueCategoryConverter.cs - - - JsonConverters\IssueChildConverter.cs - - - JsonConverters\IssueConverter.cs - - - JsonConverters\IssueCustomFieldConverter.cs - - - JsonConverters\IssuePriorityConverter.cs - - - JsonConverters\IssueRelationConverter.cs - - - JsonConverters\IssueStatusConverter.cs - - - JsonConverters\JournalConverter.cs - - - JsonConverters\MembershipConverter.cs - - - JsonConverters\MembershipRoleConverter.cs - - - JsonConverters\NewsConverter.cs - - - JsonConverters\PermissionConverter.cs - - - JsonConverters\ProjectConverter.cs - - - JsonConverters\ProjectEnabledModuleConverter.cs - - - JsonConverters\ProjectIssueCategoryConverter.cs - - - JsonConverters\ProjectMembershipConverter.cs - - - JsonConverters\ProjectTrackerConverter.cs - - - JsonConverters\QueryConverter.cs - - - JsonConverters\RoleConverter.cs - - - JsonConverters\TimeEntryActivityConverter.cs - - - JsonConverters\TimeEntryConverter.cs - - - JsonConverters\TrackerConverter.cs - - - JsonConverters\TrackerCustomFieldConverter.cs - - - JsonConverters\UploadConverter.cs - - - JsonConverters\UserConverter.cs - - - JsonConverters\UserGroupConverter.cs - - - JsonConverters\VersionConverter.cs - - - JsonConverters\WatcherConverter.cs - - - JsonConverters\WikiPageConverter.cs - - - MimeFormat.cs - - - Async\RedmineManagerAsync.cs - - - Extensions\DisposableExtension.cs - - - Extensions\FunctionalExtensions.cs - - - Extensions\TaskExtensions.cs - - - Internals\WebApiAsyncHelper.cs - - - - Exceptions\NotFoundException.cs - - - Exceptions\RedmineException.cs - - - Exceptions\RedmineTimeoutException.cs - - - Exceptions\NameResolutionFailureException.cs - - - Exceptions\InternalServerErrorException.cs - - - Exceptions\UnauthorizedException.cs - - - Exceptions\ForbiddenException.cs - - - Exceptions\ConflictException.cs - - - Exceptions\NotAcceptableException.cs - - - - - \ No newline at end of file diff --git a/src/redmine-net452-api-signed/Internals/HashCodeHelper.cs b/src/redmine-net452-api-signed/Internals/HashCodeHelper.cs deleted file mode 100755 index 1cde5a51..00000000 --- a/src/redmine-net452-api-signed/Internals/HashCodeHelper.cs +++ /dev/null @@ -1,75 +0,0 @@ -/* - Copyright 2011 - 2017 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Collections.Generic; - -namespace Redmine.Net.Api.Internals -{ - /// - /// - /// - internal static class HashCodeHelper - { - /// - /// Returns a hash code for the list. - /// - /// - /// The list. - /// The hash. - /// - /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - /// - public static int GetHashCode(IList list, int hash) - { - unchecked - { - var hashCode = hash; - if (list != null) - { - hashCode = (hashCode * 13) + list.Count; - foreach (T t in list) - { - hashCode *= 13; - if (t != null) hashCode = hashCode + t.GetHashCode(); - } - } - - return hashCode; - } - } - - /// - /// Returns a hash code for this instance. - /// - /// - /// The entity. - /// The hash. - /// - /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - /// - public static int GetHashCode(T entity, int hash) - { - unchecked - { - var hashCode = hash; - - hashCode = (hashCode * 397) ^ (entity == null ? 0 : entity.GetHashCode()); - - return hashCode; - } - } - } -} \ No newline at end of file diff --git a/src/redmine-net452-api-signed/Properties/AssemblyInfo.cs b/src/redmine-net452-api-signed/Properties/AssemblyInfo.cs deleted file mode 100644 index 69fe8e03..00000000 --- a/src/redmine-net452-api-signed/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("redmine-net452-api-signed")] -[assembly: AssemblyDescription("redmine-net-api is a library for communicating with a Redmine project management application.")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("redmine-net452-api-signed")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("0ae35da8-1d10-4fa4-8cf7-d1ec18a42fb7")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// 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.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/redmine-net452-api-signed/redmine-net-api.snk b/src/redmine-net452-api-signed/redmine-net-api.snk deleted file mode 100644 index 232ce5648120f24d8b71496087763fe5ac612f90..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50098i*9JV*{ydH2BtR6AWtvZfy$bvQ zaF;`STQp38W|Mw*xI(29_nz6ewAF+1rvrgI&!(XbRes!v`U81-B|BC0(|`{nrj9CU zfkrN5sA&P>(JgcRtKpkA`om#v_Wueky?&})8q9_$5r4%`?*{+_!T9^18)? zEQmqHrK|as_>I9l%Mf8aNcd&FtItY+wZ(&`hd$Wx+)?AX1V()o$5auptv+11FGeI= zWk3!Dqn=(C&A{=;YU-0m*Rl!^qDFiAYpe}PkJ>9VvC6yW;F@^yk*6c(BQ|eQ zrb>sRKl6ZKhT6WpR=OX|U%v^l{$bI{jrJA|1P8Sdx*-YF?b2kFp`N-ZBRNv;2zwm; zZk%4MW^?b;v)^CVAZfVF%^uwz=&(h~c!_w+(>9M7IF=Xl#!*)u6fsCF-oIR5VPc0r`PQwi+^d9&c_x#cjDli23V*v5cOEhS?@G)tEY^Or> zE0Mx?>uDcmLs>MHrPr(ljAVDV*||p9;f(0=&tY`;C}- - - - - Debug - AnyCPU - {6CBF5FC3-7783-44E7-90CA-8D12B165B9C3} - Library - Properties - Redmine.Net.Api - redmine-net452-api-signed - v4.5.2 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - bin\Debug\redmine-net452-api-signed.xml - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - bin\Release\redmine-net452-api-signed.xml - - - true - - - redmine-net-api.snk - - - - - - - - - - - - - - Internals\HashCodeHelper.cs - - - Internals\DataHelper.cs - - - Extensions\NameValueCollectionExtensions.cs - - - Extensions\XmlWriterExtensions.cs - - - HttpVerbs.cs - - - Internals\UrlHelper.cs - - - Internals\WebApiHelper.cs - - - Logging\ColorConsoleLogger.cs - - - Logging\ConsoleLogger.cs - - - Logging\ILogger.cs - - - Logging\LogEntry.cs - - - Logging\Logger.cs - - - Logging\LoggerExtensions.cs - - - Logging\LoggingEventType.cs - - - Logging\RedmineConsoleTraceListener.cs - - - Logging\TraceLogger.cs - - - RedmineKeys.cs - - - RedmineManager.cs - - - RedmineWebClient.cs - Component - - - Types\Attachment.cs - - - Types\Attachments.cs - - - Types\ChangeSet.cs - - - Types\CustomField.cs - - - Types\CustomFieldPossibleValue.cs - - - Types\CustomFieldRole.cs - - - Types\CustomFieldValue.cs - - - Types\Detail.cs - - - Types\Error.cs - - - Types\File.cs - - - Types\Group.cs - - - Types\GroupUser.cs - - - Types\Identifiable.cs - - - Types\IdentifiableName.cs - - - Types\IRedmineManager.cs - - - Types\IRedmineWebClient.cs - - - Types\Issue.cs - - - Types\IssueCategory.cs - - - Types\IssueChild.cs - - - Types\IssueCustomField.cs - - - Types\IssuePriority.cs - - - Types\IssueRelation.cs - - - Types\IssueRelationType.cs - - - Types\IssueStatus.cs - - - Types\IValue.cs - - - Types\Journal.cs - - - Types\Membership.cs - - - Types\MembershipRole.cs - - - Types\News.cs - - - Types\PaginatedObjects.cs - - - Types\Permission.cs - - - Types\Project.cs - - - Types\ProjectEnabledModule.cs - - - Types\ProjectIssueCategory.cs - - - Types\ProjectMembership.cs - - - Types\ProjectStatus.cs - - - Types\ProjectTracker.cs - - - Types\Query.cs - - - Types\Role.cs - - - Types\TimeEntry.cs - - - Types\TimeEntryActivity.cs - - - Types\Tracker.cs - - - Types\TrackerCustomField.cs - - - Types\Upload.cs - - - Types\User.cs - - - Types\UserGroup.cs - - - Types\UserStatus.cs - - - Types\Version.cs - - - Types\Watcher.cs - - - Types\WikiPage.cs - - - Extensions\CollectionExtensions.cs - - - Extensions\JsonExtensions.cs - - - Extensions\WebExtensions.cs - - - Extensions\XmlReaderExtensions.cs - - - Internals\RedmineSerializer.cs - - - Internals\RedmineSerializerJson.cs - - - JsonConverters\AttachmentConverter.cs - - - JsonConverters\AttachmentsConverter.cs - - - JsonConverters\ChangeSetConverter.cs - - - JsonConverters\CustomFieldConverter.cs - - - JsonConverters\CustomFieldPossibleValueConverter.cs - - - JsonConverters\CustomFieldRoleConverter.cs - - - JsonConverters\DetailConverter.cs - - - JsonConverters\ErrorConverter.cs - - - JsonConverters\FileConverter.cs - - - JsonConverters\GroupConverter.cs - - - JsonConverters\GroupUserConverter.cs - - - JsonConverters\IdentifiableNameConverter.cs - - - JsonConverters\IssueCategoryConverter.cs - - - JsonConverters\IssueChildConverter.cs - - - JsonConverters\IssueConverter.cs - - - JsonConverters\IssueCustomFieldConverter.cs - - - JsonConverters\IssuePriorityConverter.cs - - - JsonConverters\IssueRelationConverter.cs - - - JsonConverters\IssueStatusConverter.cs - - - JsonConverters\JournalConverter.cs - - - JsonConverters\MembershipConverter.cs - - - JsonConverters\MembershipRoleConverter.cs - - - JsonConverters\NewsConverter.cs - - - JsonConverters\PermissionConverter.cs - - - JsonConverters\ProjectConverter.cs - - - JsonConverters\ProjectEnabledModuleConverter.cs - - - JsonConverters\ProjectIssueCategoryConverter.cs - - - JsonConverters\ProjectMembershipConverter.cs - - - JsonConverters\ProjectTrackerConverter.cs - - - JsonConverters\QueryConverter.cs - - - JsonConverters\RoleConverter.cs - - - JsonConverters\TimeEntryActivityConverter.cs - - - JsonConverters\TimeEntryConverter.cs - - - JsonConverters\TrackerConverter.cs - - - JsonConverters\TrackerCustomFieldConverter.cs - - - JsonConverters\UploadConverter.cs - - - JsonConverters\UserConverter.cs - - - JsonConverters\UserGroupConverter.cs - - - JsonConverters\VersionConverter.cs - - - JsonConverters\WatcherConverter.cs - - - JsonConverters\WikiPageConverter.cs - - - MimeFormat.cs - - - Async\RedmineManagerAsync.cs - - - Extensions\DisposableExtension.cs - - - Extensions\FunctionalExtensions.cs - - - Extensions\TaskExtensions.cs - - - Internals\WebApiAsyncHelper.cs - - - - Exceptions\NotFoundException.cs - - - Exceptions\RedmineException.cs - - - Exceptions\RedmineTimeoutException.cs - - - Exceptions\NameResolutionFailureException.cs - - - Exceptions\InternalServerErrorException.cs - - - Exceptions\UnauthorizedException.cs - - - Exceptions\ForbiddenException.cs - - - Exceptions\ConflictException.cs - - - Exceptions\NotAcceptableException.cs - - - - - - - \ No newline at end of file diff --git a/src/redmine-net452-api/Properties/AssemblyInfo.cs b/src/redmine-net452-api/Properties/AssemblyInfo.cs deleted file mode 100644 index 1451e4e9..00000000 --- a/src/redmine-net452-api/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("redmine-net452-api")] -[assembly: AssemblyDescription("redmine-net-api is a library for communicating with a Redmine project management application.")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("redmine-net452-api")] -[assembly: AssemblyCopyright("Copyright © Adrian Popescu 2011 - 2019")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("404b264f-363b-44ad-ae8d-2587c2e6fa82")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// 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.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/redmine-net452-api/redmine-net452-api.csproj b/src/redmine-net452-api/redmine-net452-api.csproj deleted file mode 100644 index 5522823a..00000000 --- a/src/redmine-net452-api/redmine-net452-api.csproj +++ /dev/null @@ -1,442 +0,0 @@ - - - - - Debug - AnyCPU - {4EE7D8D8-AA65-442B-A928-580B4604B9AF} - Library - Properties - Redmine.Net.Api - redmine-net452-api - v4.5.2 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - bin\Debug\redmine-net452-api.xml - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - bin\Release\redmine-net452-api.xml - - - - - - - - - - - - - - Internals\HashCodeHelper.cs - - - Internals\DataHelper.cs - - - Extensions\NameValueCollectionExtensions.cs - - - Extensions\XmlWriterExtensions.cs - - - HttpVerbs.cs - - - Internals\UrlHelper.cs - - - Internals\WebApiHelper.cs - - - Logging\ColorConsoleLogger.cs - - - Logging\ConsoleLogger.cs - - - Logging\ILogger.cs - - - Logging\LogEntry.cs - - - Logging\Logger.cs - - - Logging\LoggerExtensions.cs - - - Logging\LoggingEventType.cs - - - Logging\RedmineConsoleTraceListener.cs - - - Logging\TraceLogger.cs - - - RedmineKeys.cs - - - RedmineManager.cs - - - RedmineWebClient.cs - Component - - - Types\Attachment.cs - - - Types\Attachments.cs - - - Types\ChangeSet.cs - - - Types\CustomField.cs - - - Types\CustomFieldPossibleValue.cs - - - Types\CustomFieldRole.cs - - - Types\CustomFieldValue.cs - - - Types\Detail.cs - - - Types\Error.cs - - - Types\File.cs - - - Types\Group.cs - - - Types\GroupUser.cs - - - Types\Identifiable.cs - - - Types\IdentifiableName.cs - - - Types\IRedmineManager.cs - - - Types\IRedmineWebClient.cs - - - Types\Issue.cs - - - Types\IssueCategory.cs - - - Types\IssueChild.cs - - - Types\IssueCustomField.cs - - - Types\IssuePriority.cs - - - Types\IssueRelation.cs - - - Types\IssueRelationType.cs - - - Types\IssueStatus.cs - - - Types\IValue.cs - - - Types\Journal.cs - - - Types\Membership.cs - - - Types\MembershipRole.cs - - - Types\News.cs - - - Types\PaginatedObjects.cs - - - Types\Permission.cs - - - Types\Project.cs - - - Types\ProjectEnabledModule.cs - - - Types\ProjectIssueCategory.cs - - - Types\ProjectMembership.cs - - - Types\ProjectStatus.cs - - - Types\ProjectTracker.cs - - - Types\Query.cs - - - Types\Role.cs - - - Types\TimeEntry.cs - - - Types\TimeEntryActivity.cs - - - Types\Tracker.cs - - - Types\TrackerCustomField.cs - - - Types\Upload.cs - - - Types\User.cs - - - Types\UserGroup.cs - - - Types\UserStatus.cs - - - Types\Version.cs - - - Types\Watcher.cs - - - Types\WikiPage.cs - - - Extensions\CollectionExtensions.cs - - - Extensions\JsonExtensions.cs - - - Extensions\WebExtensions.cs - - - Extensions\XmlReaderExtensions.cs - - - Internals\RedmineSerializer.cs - - - Internals\RedmineSerializerJson.cs - - - JsonConverters\AttachmentConverter.cs - - - JsonConverters\AttachmentsConverter.cs - - - JsonConverters\ChangeSetConverter.cs - - - JsonConverters\CustomFieldConverter.cs - - - JsonConverters\CustomFieldPossibleValueConverter.cs - - - JsonConverters\CustomFieldRoleConverter.cs - - - JsonConverters\DetailConverter.cs - - - JsonConverters\ErrorConverter.cs - - - JsonConverters\FileConverter.cs - - - JsonConverters\GroupConverter.cs - - - JsonConverters\GroupUserConverter.cs - - - JsonConverters\IdentifiableNameConverter.cs - - - JsonConverters\IssueCategoryConverter.cs - - - JsonConverters\IssueChildConverter.cs - - - JsonConverters\IssueConverter.cs - - - JsonConverters\IssueCustomFieldConverter.cs - - - JsonConverters\IssuePriorityConverter.cs - - - JsonConverters\IssueRelationConverter.cs - - - JsonConverters\IssueStatusConverter.cs - - - JsonConverters\JournalConverter.cs - - - JsonConverters\MembershipConverter.cs - - - JsonConverters\MembershipRoleConverter.cs - - - JsonConverters\NewsConverter.cs - - - JsonConverters\PermissionConverter.cs - - - JsonConverters\ProjectConverter.cs - - - JsonConverters\ProjectEnabledModuleConverter.cs - - - JsonConverters\ProjectIssueCategoryConverter.cs - - - JsonConverters\ProjectMembershipConverter.cs - - - JsonConverters\ProjectTrackerConverter.cs - - - JsonConverters\QueryConverter.cs - - - JsonConverters\RoleConverter.cs - - - JsonConverters\TimeEntryActivityConverter.cs - - - JsonConverters\TimeEntryConverter.cs - - - JsonConverters\TrackerConverter.cs - - - JsonConverters\TrackerCustomFieldConverter.cs - - - JsonConverters\UploadConverter.cs - - - JsonConverters\UserConverter.cs - - - JsonConverters\UserGroupConverter.cs - - - JsonConverters\VersionConverter.cs - - - JsonConverters\WatcherConverter.cs - - - JsonConverters\WikiPageConverter.cs - - - MimeFormat.cs - - - Async\RedmineManagerAsync.cs - - - Extensions\DisposableExtension.cs - - - Extensions\FunctionalExtensions.cs - - - Extensions\TaskExtensions.cs - - - Internals\WebApiAsyncHelper.cs - - - - Exceptions\NotFoundException.cs - - - Exceptions\RedmineException.cs - - - Exceptions\RedmineTimeoutException.cs - - - Exceptions\NameResolutionFailureException.cs - - - Exceptions\InternalServerErrorException.cs - - - Exceptions\UnauthorizedException.cs - - - Exceptions\ForbiddenException.cs - - - Exceptions\ConflictException.cs - - - Exceptions\NotAcceptableException.cs - - - - \ No newline at end of file From b0951c2ac1830dc55399cc1b2064408ccdffec87 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 19 Nov 2019 15:05:33 +0200 Subject: [PATCH 058/601] Rename project --- src/redmine-net-api.Tests/redmine-net-api.Tests.csproj | 5 ++--- src/redmine-net-api.sln | 2 +- .../Async/RedmineManagerAsync.cs | 0 .../Async/RedmineManagerAsync40.cs | 0 .../Async/RedmineManagerAsync45.cs | 0 .../Exceptions/ConflictException.cs | 0 .../Exceptions/ForbiddenException.cs | 0 .../Exceptions/InternalServerErrorException.cs | 0 .../Exceptions/NameResolutionFailureException.cs | 0 .../Exceptions/NotAcceptableException.cs | 0 .../Exceptions/NotFoundException.cs | 0 .../Exceptions/RedmineException.cs | 0 .../Exceptions/RedmineTimeoutException.cs | 0 .../Exceptions/UnauthorizedException.cs | 0 .../Extensions/CollectionExtensions.cs | 0 .../Extensions/ExtensionAttribute.cs | 0 .../Extensions/JsonExtensions.cs | 0 .../Extensions/LoggerExtensions.cs | 0 .../Extensions/NameValueCollectionExtensions.cs | 0 .../Extensions/StringExtensions.cs | 0 .../Extensions/WebExtensions.cs | 0 .../Extensions/XmlReaderExtensions.cs | 0 .../Extensions/XmlWriterExtensions.cs | 0 src/{redmine-net20-api => redmine-net-api}/HttpVerbs.cs | 0 .../IRedmineManager.cs | 0 .../IRedmineWebClient.cs | 0 .../Internals/DataHelper.cs | 0 src/{redmine-net20-api => redmine-net-api}/Internals/Func.cs | 0 .../Internals/HashCodeHelper.cs | 0 .../Internals/RedmineSerializer.cs | 0 .../Internals/RedmineSerializerJson.cs | 0 .../Internals/UrlHelper.cs | 0 .../Internals/WebApiAsyncHelper.cs | 0 .../Internals/WebApiHelper.cs | 0 .../JSonConverters/AttachmentConverter.cs | 0 .../JSonConverters/AttachmentsConverter.cs | 0 .../JSonConverters/ChangeSetConverter.cs | 0 .../JSonConverters/CustomFieldConverter.cs | 0 .../JSonConverters/CustomFieldPossibleValueConverter.cs | 0 .../JSonConverters/CustomFieldRoleConverter.cs | 0 .../JSonConverters/DetailConverter.cs | 0 .../JSonConverters/ErrorConverter.cs | 0 .../JSonConverters/FileConverter.cs | 0 .../JSonConverters/GroupConverter.cs | 0 .../JSonConverters/GroupUserConverter.cs | 0 .../JSonConverters/IdentifiableNameConverter.cs | 0 .../JSonConverters/IssueCategoryConverter.cs | 0 .../JSonConverters/IssueChildConverter.cs | 0 .../JSonConverters/IssueConverter.cs | 0 .../JSonConverters/IssueCustomFieldConverter.cs | 0 .../JSonConverters/IssuePriorityConverter.cs | 0 .../JSonConverters/IssueRelationConverter.cs | 0 .../JSonConverters/IssueStatusConverter.cs | 0 .../JSonConverters/JournalConverter.cs | 0 .../JSonConverters/MembershipConverter.cs | 0 .../JSonConverters/MembershipRoleConverter.cs | 0 .../JSonConverters/NewsConverter.cs | 0 .../JSonConverters/PermissionConverter.cs | 0 .../JSonConverters/ProjectConverter.cs | 0 .../JSonConverters/ProjectEnabledModuleConverter.cs | 0 .../JSonConverters/ProjectIssueCategoryConverter.cs | 0 .../JSonConverters/ProjectMembershipConverter.cs | 0 .../JSonConverters/ProjectTrackerConverter.cs | 0 .../JSonConverters/QueryConverter.cs | 0 .../JSonConverters/RoleConverter.cs | 0 .../JSonConverters/TimeEntryActivityConverter.cs | 0 .../JSonConverters/TimeEntryConverter.cs | 0 .../JSonConverters/TrackerConverter.cs | 0 .../JSonConverters/TrackerCustomFieldConverter.cs | 0 .../JSonConverters/UploadConverter.cs | 0 .../JSonConverters/UserConverter.cs | 0 .../JSonConverters/UserGroupConverter.cs | 0 .../JSonConverters/VersionConverter.cs | 0 .../JSonConverters/WatcherConverter.cs | 0 .../JSonConverters/WikiPageConverter.cs | 0 .../Logging/ColorConsoleLogger.cs | 0 .../Logging/ConsoleLogger.cs | 0 .../Logging/ILogger.cs | 0 .../Logging/LogEntry.cs | 0 src/{redmine-net20-api => redmine-net-api}/Logging/Logger.cs | 0 .../Logging/LoggerExtensions.cs | 0 .../Logging/LoggingEventType.cs | 0 .../Logging/RedmineConsoleTraceListener.cs | 0 .../Logging/TraceLogger.cs | 0 src/{redmine-net20-api => redmine-net-api}/MimeFormat.cs | 0 .../Properties/AssemblyInfo.cs | 0 src/{redmine-net20-api => redmine-net-api}/RedmineKeys.cs | 0 src/{redmine-net20-api => redmine-net-api}/RedmineManager.cs | 0 .../RedmineWebClient.cs | 0 .../Types/Attachment.cs | 0 .../Types/Attachments.cs | 0 .../Types/ChangeSet.cs | 0 .../Types/CustomField.cs | 0 .../Types/CustomFieldPossibleValue.cs | 0 .../Types/CustomFieldRole.cs | 0 .../Types/CustomFieldValue.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/Detail.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/Error.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/File.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/Group.cs | 0 .../Types/GroupUser.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/IValue.cs | 0 .../Types/Identifiable.cs | 0 .../Types/IdentifiableName.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/Issue.cs | 0 .../Types/IssueCategory.cs | 0 .../Types/IssueChild.cs | 0 .../Types/IssueCustomField.cs | 0 .../Types/IssuePriority.cs | 0 .../Types/IssueRelation.cs | 0 .../Types/IssueRelationType.cs | 0 .../Types/IssueStatus.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/Journal.cs | 0 .../Types/Membership.cs | 0 .../Types/MembershipRole.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/News.cs | 0 .../Types/PaginatedObjects.cs | 0 .../Types/Permission.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/Project.cs | 0 .../Types/ProjectEnabledModule.cs | 0 .../Types/ProjectIssueCategory.cs | 0 .../Types/ProjectMembership.cs | 0 .../Types/ProjectStatus.cs | 0 .../Types/ProjectTracker.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/Query.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/Role.cs | 0 .../Types/TimeEntry.cs | 0 .../Types/TimeEntryActivity.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/Tracker.cs | 0 .../Types/TrackerCustomField.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/Upload.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/User.cs | 0 .../Types/UserGroup.cs | 0 .../Types/UserStatus.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/Version.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/Watcher.cs | 0 src/{redmine-net20-api => redmine-net-api}/Types/WikiPage.cs | 0 .../redmine-net-api.csproj} | 0 138 files changed, 3 insertions(+), 4 deletions(-) rename src/{redmine-net20-api => redmine-net-api}/Async/RedmineManagerAsync.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Async/RedmineManagerAsync40.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Async/RedmineManagerAsync45.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Exceptions/ConflictException.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Exceptions/ForbiddenException.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Exceptions/InternalServerErrorException.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Exceptions/NameResolutionFailureException.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Exceptions/NotAcceptableException.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Exceptions/NotFoundException.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Exceptions/RedmineException.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Exceptions/RedmineTimeoutException.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Exceptions/UnauthorizedException.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Extensions/CollectionExtensions.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Extensions/ExtensionAttribute.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Extensions/JsonExtensions.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Extensions/LoggerExtensions.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Extensions/NameValueCollectionExtensions.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Extensions/StringExtensions.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Extensions/WebExtensions.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Extensions/XmlReaderExtensions.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Extensions/XmlWriterExtensions.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/HttpVerbs.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/IRedmineManager.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/IRedmineWebClient.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Internals/DataHelper.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Internals/Func.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Internals/HashCodeHelper.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Internals/RedmineSerializer.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Internals/RedmineSerializerJson.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Internals/UrlHelper.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Internals/WebApiAsyncHelper.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Internals/WebApiHelper.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/AttachmentConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/AttachmentsConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/ChangeSetConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/CustomFieldConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/CustomFieldPossibleValueConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/CustomFieldRoleConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/DetailConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/ErrorConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/FileConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/GroupConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/GroupUserConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/IdentifiableNameConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/IssueCategoryConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/IssueChildConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/IssueConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/IssueCustomFieldConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/IssuePriorityConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/IssueRelationConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/IssueStatusConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/JournalConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/MembershipConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/MembershipRoleConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/NewsConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/PermissionConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/ProjectConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/ProjectEnabledModuleConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/ProjectIssueCategoryConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/ProjectMembershipConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/ProjectTrackerConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/QueryConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/RoleConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/TimeEntryActivityConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/TimeEntryConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/TrackerConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/TrackerCustomFieldConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/UploadConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/UserConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/UserGroupConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/VersionConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/WatcherConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/JSonConverters/WikiPageConverter.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Logging/ColorConsoleLogger.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Logging/ConsoleLogger.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Logging/ILogger.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Logging/LogEntry.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Logging/Logger.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Logging/LoggerExtensions.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Logging/LoggingEventType.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Logging/RedmineConsoleTraceListener.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Logging/TraceLogger.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/MimeFormat.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Properties/AssemblyInfo.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/RedmineKeys.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/RedmineManager.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/RedmineWebClient.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Attachment.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Attachments.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/ChangeSet.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/CustomField.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/CustomFieldPossibleValue.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/CustomFieldRole.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/CustomFieldValue.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Detail.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Error.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/File.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Group.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/GroupUser.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/IValue.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Identifiable.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/IdentifiableName.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Issue.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/IssueCategory.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/IssueChild.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/IssueCustomField.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/IssuePriority.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/IssueRelation.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/IssueRelationType.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/IssueStatus.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Journal.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Membership.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/MembershipRole.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/News.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/PaginatedObjects.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Permission.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Project.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/ProjectEnabledModule.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/ProjectIssueCategory.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/ProjectMembership.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/ProjectStatus.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/ProjectTracker.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Query.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Role.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/TimeEntry.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/TimeEntryActivity.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Tracker.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/TrackerCustomField.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Upload.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/User.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/UserGroup.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/UserStatus.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Version.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/Watcher.cs (100%) rename src/{redmine-net20-api => redmine-net-api}/Types/WikiPage.cs (100%) rename src/{redmine-net20-api/redmine-net20-api.csproj => redmine-net-api/redmine-net-api.csproj} (100%) diff --git a/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj index d7fffce9..73725264 100644 --- a/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -85,9 +85,8 @@ - - - + + diff --git a/src/redmine-net-api.sln b/src/redmine-net-api.sln index 40373ace..02c0b032 100644 --- a/src/redmine-net-api.sln +++ b/src/redmine-net-api.sln @@ -7,7 +7,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{0DFF4758-5C1 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{F3F4278D-6271-4F77-BA88-41555D53CBD1}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "redmine-net20-api", "redmine-net20-api\redmine-net20-api.csproj", "{0E6B9B72-445D-4E71-8D29-48C4A009AB03}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "redmine-net-api", "redmine-net-api\redmine-net-api.csproj", "{0E6B9B72-445D-4E71-8D29-48C4A009AB03}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "redmine-net-api.Tests", "redmine-net-api.Tests\redmine-net-api.Tests.csproj", "{900EF0B3-0233-45DA-811F-4C59483E8452}" EndProject diff --git a/src/redmine-net20-api/Async/RedmineManagerAsync.cs b/src/redmine-net-api/Async/RedmineManagerAsync.cs similarity index 100% rename from src/redmine-net20-api/Async/RedmineManagerAsync.cs rename to src/redmine-net-api/Async/RedmineManagerAsync.cs diff --git a/src/redmine-net20-api/Async/RedmineManagerAsync40.cs b/src/redmine-net-api/Async/RedmineManagerAsync40.cs similarity index 100% rename from src/redmine-net20-api/Async/RedmineManagerAsync40.cs rename to src/redmine-net-api/Async/RedmineManagerAsync40.cs diff --git a/src/redmine-net20-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs similarity index 100% rename from src/redmine-net20-api/Async/RedmineManagerAsync45.cs rename to src/redmine-net-api/Async/RedmineManagerAsync45.cs diff --git a/src/redmine-net20-api/Exceptions/ConflictException.cs b/src/redmine-net-api/Exceptions/ConflictException.cs similarity index 100% rename from src/redmine-net20-api/Exceptions/ConflictException.cs rename to src/redmine-net-api/Exceptions/ConflictException.cs diff --git a/src/redmine-net20-api/Exceptions/ForbiddenException.cs b/src/redmine-net-api/Exceptions/ForbiddenException.cs similarity index 100% rename from src/redmine-net20-api/Exceptions/ForbiddenException.cs rename to src/redmine-net-api/Exceptions/ForbiddenException.cs diff --git a/src/redmine-net20-api/Exceptions/InternalServerErrorException.cs b/src/redmine-net-api/Exceptions/InternalServerErrorException.cs similarity index 100% rename from src/redmine-net20-api/Exceptions/InternalServerErrorException.cs rename to src/redmine-net-api/Exceptions/InternalServerErrorException.cs diff --git a/src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs b/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs similarity index 100% rename from src/redmine-net20-api/Exceptions/NameResolutionFailureException.cs rename to src/redmine-net-api/Exceptions/NameResolutionFailureException.cs diff --git a/src/redmine-net20-api/Exceptions/NotAcceptableException.cs b/src/redmine-net-api/Exceptions/NotAcceptableException.cs similarity index 100% rename from src/redmine-net20-api/Exceptions/NotAcceptableException.cs rename to src/redmine-net-api/Exceptions/NotAcceptableException.cs diff --git a/src/redmine-net20-api/Exceptions/NotFoundException.cs b/src/redmine-net-api/Exceptions/NotFoundException.cs similarity index 100% rename from src/redmine-net20-api/Exceptions/NotFoundException.cs rename to src/redmine-net-api/Exceptions/NotFoundException.cs diff --git a/src/redmine-net20-api/Exceptions/RedmineException.cs b/src/redmine-net-api/Exceptions/RedmineException.cs similarity index 100% rename from src/redmine-net20-api/Exceptions/RedmineException.cs rename to src/redmine-net-api/Exceptions/RedmineException.cs diff --git a/src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs b/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs similarity index 100% rename from src/redmine-net20-api/Exceptions/RedmineTimeoutException.cs rename to src/redmine-net-api/Exceptions/RedmineTimeoutException.cs diff --git a/src/redmine-net20-api/Exceptions/UnauthorizedException.cs b/src/redmine-net-api/Exceptions/UnauthorizedException.cs similarity index 100% rename from src/redmine-net20-api/Exceptions/UnauthorizedException.cs rename to src/redmine-net-api/Exceptions/UnauthorizedException.cs diff --git a/src/redmine-net20-api/Extensions/CollectionExtensions.cs b/src/redmine-net-api/Extensions/CollectionExtensions.cs similarity index 100% rename from src/redmine-net20-api/Extensions/CollectionExtensions.cs rename to src/redmine-net-api/Extensions/CollectionExtensions.cs diff --git a/src/redmine-net20-api/Extensions/ExtensionAttribute.cs b/src/redmine-net-api/Extensions/ExtensionAttribute.cs similarity index 100% rename from src/redmine-net20-api/Extensions/ExtensionAttribute.cs rename to src/redmine-net-api/Extensions/ExtensionAttribute.cs diff --git a/src/redmine-net20-api/Extensions/JsonExtensions.cs b/src/redmine-net-api/Extensions/JsonExtensions.cs similarity index 100% rename from src/redmine-net20-api/Extensions/JsonExtensions.cs rename to src/redmine-net-api/Extensions/JsonExtensions.cs diff --git a/src/redmine-net20-api/Extensions/LoggerExtensions.cs b/src/redmine-net-api/Extensions/LoggerExtensions.cs similarity index 100% rename from src/redmine-net20-api/Extensions/LoggerExtensions.cs rename to src/redmine-net-api/Extensions/LoggerExtensions.cs diff --git a/src/redmine-net20-api/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs similarity index 100% rename from src/redmine-net20-api/Extensions/NameValueCollectionExtensions.cs rename to src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs diff --git a/src/redmine-net20-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs similarity index 100% rename from src/redmine-net20-api/Extensions/StringExtensions.cs rename to src/redmine-net-api/Extensions/StringExtensions.cs diff --git a/src/redmine-net20-api/Extensions/WebExtensions.cs b/src/redmine-net-api/Extensions/WebExtensions.cs similarity index 100% rename from src/redmine-net20-api/Extensions/WebExtensions.cs rename to src/redmine-net-api/Extensions/WebExtensions.cs diff --git a/src/redmine-net20-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net-api/Extensions/XmlReaderExtensions.cs similarity index 100% rename from src/redmine-net20-api/Extensions/XmlReaderExtensions.cs rename to src/redmine-net-api/Extensions/XmlReaderExtensions.cs diff --git a/src/redmine-net20-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs similarity index 100% rename from src/redmine-net20-api/Extensions/XmlWriterExtensions.cs rename to src/redmine-net-api/Extensions/XmlWriterExtensions.cs diff --git a/src/redmine-net20-api/HttpVerbs.cs b/src/redmine-net-api/HttpVerbs.cs similarity index 100% rename from src/redmine-net20-api/HttpVerbs.cs rename to src/redmine-net-api/HttpVerbs.cs diff --git a/src/redmine-net20-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs similarity index 100% rename from src/redmine-net20-api/IRedmineManager.cs rename to src/redmine-net-api/IRedmineManager.cs diff --git a/src/redmine-net20-api/IRedmineWebClient.cs b/src/redmine-net-api/IRedmineWebClient.cs similarity index 100% rename from src/redmine-net20-api/IRedmineWebClient.cs rename to src/redmine-net-api/IRedmineWebClient.cs diff --git a/src/redmine-net20-api/Internals/DataHelper.cs b/src/redmine-net-api/Internals/DataHelper.cs similarity index 100% rename from src/redmine-net20-api/Internals/DataHelper.cs rename to src/redmine-net-api/Internals/DataHelper.cs diff --git a/src/redmine-net20-api/Internals/Func.cs b/src/redmine-net-api/Internals/Func.cs similarity index 100% rename from src/redmine-net20-api/Internals/Func.cs rename to src/redmine-net-api/Internals/Func.cs diff --git a/src/redmine-net20-api/Internals/HashCodeHelper.cs b/src/redmine-net-api/Internals/HashCodeHelper.cs similarity index 100% rename from src/redmine-net20-api/Internals/HashCodeHelper.cs rename to src/redmine-net-api/Internals/HashCodeHelper.cs diff --git a/src/redmine-net20-api/Internals/RedmineSerializer.cs b/src/redmine-net-api/Internals/RedmineSerializer.cs similarity index 100% rename from src/redmine-net20-api/Internals/RedmineSerializer.cs rename to src/redmine-net-api/Internals/RedmineSerializer.cs diff --git a/src/redmine-net20-api/Internals/RedmineSerializerJson.cs b/src/redmine-net-api/Internals/RedmineSerializerJson.cs similarity index 100% rename from src/redmine-net20-api/Internals/RedmineSerializerJson.cs rename to src/redmine-net-api/Internals/RedmineSerializerJson.cs diff --git a/src/redmine-net20-api/Internals/UrlHelper.cs b/src/redmine-net-api/Internals/UrlHelper.cs similarity index 100% rename from src/redmine-net20-api/Internals/UrlHelper.cs rename to src/redmine-net-api/Internals/UrlHelper.cs diff --git a/src/redmine-net20-api/Internals/WebApiAsyncHelper.cs b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs similarity index 100% rename from src/redmine-net20-api/Internals/WebApiAsyncHelper.cs rename to src/redmine-net-api/Internals/WebApiAsyncHelper.cs diff --git a/src/redmine-net20-api/Internals/WebApiHelper.cs b/src/redmine-net-api/Internals/WebApiHelper.cs similarity index 100% rename from src/redmine-net20-api/Internals/WebApiHelper.cs rename to src/redmine-net-api/Internals/WebApiHelper.cs diff --git a/src/redmine-net20-api/JSonConverters/AttachmentConverter.cs b/src/redmine-net-api/JSonConverters/AttachmentConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/AttachmentConverter.cs rename to src/redmine-net-api/JSonConverters/AttachmentConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/AttachmentsConverter.cs b/src/redmine-net-api/JSonConverters/AttachmentsConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/AttachmentsConverter.cs rename to src/redmine-net-api/JSonConverters/AttachmentsConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/ChangeSetConverter.cs b/src/redmine-net-api/JSonConverters/ChangeSetConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/ChangeSetConverter.cs rename to src/redmine-net-api/JSonConverters/ChangeSetConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/CustomFieldConverter.cs b/src/redmine-net-api/JSonConverters/CustomFieldConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/CustomFieldConverter.cs rename to src/redmine-net-api/JSonConverters/CustomFieldConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/CustomFieldPossibleValueConverter.cs b/src/redmine-net-api/JSonConverters/CustomFieldPossibleValueConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/CustomFieldPossibleValueConverter.cs rename to src/redmine-net-api/JSonConverters/CustomFieldPossibleValueConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/CustomFieldRoleConverter.cs b/src/redmine-net-api/JSonConverters/CustomFieldRoleConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/CustomFieldRoleConverter.cs rename to src/redmine-net-api/JSonConverters/CustomFieldRoleConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/DetailConverter.cs b/src/redmine-net-api/JSonConverters/DetailConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/DetailConverter.cs rename to src/redmine-net-api/JSonConverters/DetailConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/ErrorConverter.cs b/src/redmine-net-api/JSonConverters/ErrorConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/ErrorConverter.cs rename to src/redmine-net-api/JSonConverters/ErrorConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/FileConverter.cs b/src/redmine-net-api/JSonConverters/FileConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/FileConverter.cs rename to src/redmine-net-api/JSonConverters/FileConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/GroupConverter.cs b/src/redmine-net-api/JSonConverters/GroupConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/GroupConverter.cs rename to src/redmine-net-api/JSonConverters/GroupConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/GroupUserConverter.cs b/src/redmine-net-api/JSonConverters/GroupUserConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/GroupUserConverter.cs rename to src/redmine-net-api/JSonConverters/GroupUserConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/IdentifiableNameConverter.cs b/src/redmine-net-api/JSonConverters/IdentifiableNameConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/IdentifiableNameConverter.cs rename to src/redmine-net-api/JSonConverters/IdentifiableNameConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/IssueCategoryConverter.cs b/src/redmine-net-api/JSonConverters/IssueCategoryConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/IssueCategoryConverter.cs rename to src/redmine-net-api/JSonConverters/IssueCategoryConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/IssueChildConverter.cs b/src/redmine-net-api/JSonConverters/IssueChildConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/IssueChildConverter.cs rename to src/redmine-net-api/JSonConverters/IssueChildConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/IssueConverter.cs b/src/redmine-net-api/JSonConverters/IssueConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/IssueConverter.cs rename to src/redmine-net-api/JSonConverters/IssueConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/IssueCustomFieldConverter.cs b/src/redmine-net-api/JSonConverters/IssueCustomFieldConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/IssueCustomFieldConverter.cs rename to src/redmine-net-api/JSonConverters/IssueCustomFieldConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/IssuePriorityConverter.cs b/src/redmine-net-api/JSonConverters/IssuePriorityConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/IssuePriorityConverter.cs rename to src/redmine-net-api/JSonConverters/IssuePriorityConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/IssueRelationConverter.cs b/src/redmine-net-api/JSonConverters/IssueRelationConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/IssueRelationConverter.cs rename to src/redmine-net-api/JSonConverters/IssueRelationConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/IssueStatusConverter.cs b/src/redmine-net-api/JSonConverters/IssueStatusConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/IssueStatusConverter.cs rename to src/redmine-net-api/JSonConverters/IssueStatusConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/JournalConverter.cs b/src/redmine-net-api/JSonConverters/JournalConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/JournalConverter.cs rename to src/redmine-net-api/JSonConverters/JournalConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/MembershipConverter.cs b/src/redmine-net-api/JSonConverters/MembershipConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/MembershipConverter.cs rename to src/redmine-net-api/JSonConverters/MembershipConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/MembershipRoleConverter.cs b/src/redmine-net-api/JSonConverters/MembershipRoleConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/MembershipRoleConverter.cs rename to src/redmine-net-api/JSonConverters/MembershipRoleConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/NewsConverter.cs b/src/redmine-net-api/JSonConverters/NewsConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/NewsConverter.cs rename to src/redmine-net-api/JSonConverters/NewsConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/PermissionConverter.cs b/src/redmine-net-api/JSonConverters/PermissionConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/PermissionConverter.cs rename to src/redmine-net-api/JSonConverters/PermissionConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/ProjectConverter.cs b/src/redmine-net-api/JSonConverters/ProjectConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/ProjectConverter.cs rename to src/redmine-net-api/JSonConverters/ProjectConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/ProjectEnabledModuleConverter.cs b/src/redmine-net-api/JSonConverters/ProjectEnabledModuleConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/ProjectEnabledModuleConverter.cs rename to src/redmine-net-api/JSonConverters/ProjectEnabledModuleConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/ProjectIssueCategoryConverter.cs b/src/redmine-net-api/JSonConverters/ProjectIssueCategoryConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/ProjectIssueCategoryConverter.cs rename to src/redmine-net-api/JSonConverters/ProjectIssueCategoryConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/ProjectMembershipConverter.cs b/src/redmine-net-api/JSonConverters/ProjectMembershipConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/ProjectMembershipConverter.cs rename to src/redmine-net-api/JSonConverters/ProjectMembershipConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/ProjectTrackerConverter.cs b/src/redmine-net-api/JSonConverters/ProjectTrackerConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/ProjectTrackerConverter.cs rename to src/redmine-net-api/JSonConverters/ProjectTrackerConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/QueryConverter.cs b/src/redmine-net-api/JSonConverters/QueryConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/QueryConverter.cs rename to src/redmine-net-api/JSonConverters/QueryConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/RoleConverter.cs b/src/redmine-net-api/JSonConverters/RoleConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/RoleConverter.cs rename to src/redmine-net-api/JSonConverters/RoleConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/TimeEntryActivityConverter.cs b/src/redmine-net-api/JSonConverters/TimeEntryActivityConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/TimeEntryActivityConverter.cs rename to src/redmine-net-api/JSonConverters/TimeEntryActivityConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/TimeEntryConverter.cs b/src/redmine-net-api/JSonConverters/TimeEntryConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/TimeEntryConverter.cs rename to src/redmine-net-api/JSonConverters/TimeEntryConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/TrackerConverter.cs b/src/redmine-net-api/JSonConverters/TrackerConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/TrackerConverter.cs rename to src/redmine-net-api/JSonConverters/TrackerConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/TrackerCustomFieldConverter.cs b/src/redmine-net-api/JSonConverters/TrackerCustomFieldConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/TrackerCustomFieldConverter.cs rename to src/redmine-net-api/JSonConverters/TrackerCustomFieldConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/UploadConverter.cs b/src/redmine-net-api/JSonConverters/UploadConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/UploadConverter.cs rename to src/redmine-net-api/JSonConverters/UploadConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/UserConverter.cs b/src/redmine-net-api/JSonConverters/UserConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/UserConverter.cs rename to src/redmine-net-api/JSonConverters/UserConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/UserGroupConverter.cs b/src/redmine-net-api/JSonConverters/UserGroupConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/UserGroupConverter.cs rename to src/redmine-net-api/JSonConverters/UserGroupConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/VersionConverter.cs b/src/redmine-net-api/JSonConverters/VersionConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/VersionConverter.cs rename to src/redmine-net-api/JSonConverters/VersionConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/WatcherConverter.cs b/src/redmine-net-api/JSonConverters/WatcherConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/WatcherConverter.cs rename to src/redmine-net-api/JSonConverters/WatcherConverter.cs diff --git a/src/redmine-net20-api/JSonConverters/WikiPageConverter.cs b/src/redmine-net-api/JSonConverters/WikiPageConverter.cs similarity index 100% rename from src/redmine-net20-api/JSonConverters/WikiPageConverter.cs rename to src/redmine-net-api/JSonConverters/WikiPageConverter.cs diff --git a/src/redmine-net20-api/Logging/ColorConsoleLogger.cs b/src/redmine-net-api/Logging/ColorConsoleLogger.cs similarity index 100% rename from src/redmine-net20-api/Logging/ColorConsoleLogger.cs rename to src/redmine-net-api/Logging/ColorConsoleLogger.cs diff --git a/src/redmine-net20-api/Logging/ConsoleLogger.cs b/src/redmine-net-api/Logging/ConsoleLogger.cs similarity index 100% rename from src/redmine-net20-api/Logging/ConsoleLogger.cs rename to src/redmine-net-api/Logging/ConsoleLogger.cs diff --git a/src/redmine-net20-api/Logging/ILogger.cs b/src/redmine-net-api/Logging/ILogger.cs similarity index 100% rename from src/redmine-net20-api/Logging/ILogger.cs rename to src/redmine-net-api/Logging/ILogger.cs diff --git a/src/redmine-net20-api/Logging/LogEntry.cs b/src/redmine-net-api/Logging/LogEntry.cs similarity index 100% rename from src/redmine-net20-api/Logging/LogEntry.cs rename to src/redmine-net-api/Logging/LogEntry.cs diff --git a/src/redmine-net20-api/Logging/Logger.cs b/src/redmine-net-api/Logging/Logger.cs similarity index 100% rename from src/redmine-net20-api/Logging/Logger.cs rename to src/redmine-net-api/Logging/Logger.cs diff --git a/src/redmine-net20-api/Logging/LoggerExtensions.cs b/src/redmine-net-api/Logging/LoggerExtensions.cs similarity index 100% rename from src/redmine-net20-api/Logging/LoggerExtensions.cs rename to src/redmine-net-api/Logging/LoggerExtensions.cs diff --git a/src/redmine-net20-api/Logging/LoggingEventType.cs b/src/redmine-net-api/Logging/LoggingEventType.cs similarity index 100% rename from src/redmine-net20-api/Logging/LoggingEventType.cs rename to src/redmine-net-api/Logging/LoggingEventType.cs diff --git a/src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs b/src/redmine-net-api/Logging/RedmineConsoleTraceListener.cs similarity index 100% rename from src/redmine-net20-api/Logging/RedmineConsoleTraceListener.cs rename to src/redmine-net-api/Logging/RedmineConsoleTraceListener.cs diff --git a/src/redmine-net20-api/Logging/TraceLogger.cs b/src/redmine-net-api/Logging/TraceLogger.cs similarity index 100% rename from src/redmine-net20-api/Logging/TraceLogger.cs rename to src/redmine-net-api/Logging/TraceLogger.cs diff --git a/src/redmine-net20-api/MimeFormat.cs b/src/redmine-net-api/MimeFormat.cs similarity index 100% rename from src/redmine-net20-api/MimeFormat.cs rename to src/redmine-net-api/MimeFormat.cs diff --git a/src/redmine-net20-api/Properties/AssemblyInfo.cs b/src/redmine-net-api/Properties/AssemblyInfo.cs similarity index 100% rename from src/redmine-net20-api/Properties/AssemblyInfo.cs rename to src/redmine-net-api/Properties/AssemblyInfo.cs diff --git a/src/redmine-net20-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs similarity index 100% rename from src/redmine-net20-api/RedmineKeys.cs rename to src/redmine-net-api/RedmineKeys.cs diff --git a/src/redmine-net20-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs similarity index 100% rename from src/redmine-net20-api/RedmineManager.cs rename to src/redmine-net-api/RedmineManager.cs diff --git a/src/redmine-net20-api/RedmineWebClient.cs b/src/redmine-net-api/RedmineWebClient.cs similarity index 100% rename from src/redmine-net20-api/RedmineWebClient.cs rename to src/redmine-net-api/RedmineWebClient.cs diff --git a/src/redmine-net20-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs similarity index 100% rename from src/redmine-net20-api/Types/Attachment.cs rename to src/redmine-net-api/Types/Attachment.cs diff --git a/src/redmine-net20-api/Types/Attachments.cs b/src/redmine-net-api/Types/Attachments.cs similarity index 100% rename from src/redmine-net20-api/Types/Attachments.cs rename to src/redmine-net-api/Types/Attachments.cs diff --git a/src/redmine-net20-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs similarity index 100% rename from src/redmine-net20-api/Types/ChangeSet.cs rename to src/redmine-net-api/Types/ChangeSet.cs diff --git a/src/redmine-net20-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs similarity index 100% rename from src/redmine-net20-api/Types/CustomField.cs rename to src/redmine-net-api/Types/CustomField.cs diff --git a/src/redmine-net20-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs similarity index 100% rename from src/redmine-net20-api/Types/CustomFieldPossibleValue.cs rename to src/redmine-net-api/Types/CustomFieldPossibleValue.cs diff --git a/src/redmine-net20-api/Types/CustomFieldRole.cs b/src/redmine-net-api/Types/CustomFieldRole.cs similarity index 100% rename from src/redmine-net20-api/Types/CustomFieldRole.cs rename to src/redmine-net-api/Types/CustomFieldRole.cs diff --git a/src/redmine-net20-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs similarity index 100% rename from src/redmine-net20-api/Types/CustomFieldValue.cs rename to src/redmine-net-api/Types/CustomFieldValue.cs diff --git a/src/redmine-net20-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs similarity index 100% rename from src/redmine-net20-api/Types/Detail.cs rename to src/redmine-net-api/Types/Detail.cs diff --git a/src/redmine-net20-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs similarity index 100% rename from src/redmine-net20-api/Types/Error.cs rename to src/redmine-net-api/Types/Error.cs diff --git a/src/redmine-net20-api/Types/File.cs b/src/redmine-net-api/Types/File.cs similarity index 100% rename from src/redmine-net20-api/Types/File.cs rename to src/redmine-net-api/Types/File.cs diff --git a/src/redmine-net20-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs similarity index 100% rename from src/redmine-net20-api/Types/Group.cs rename to src/redmine-net-api/Types/Group.cs diff --git a/src/redmine-net20-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs similarity index 100% rename from src/redmine-net20-api/Types/GroupUser.cs rename to src/redmine-net-api/Types/GroupUser.cs diff --git a/src/redmine-net20-api/Types/IValue.cs b/src/redmine-net-api/Types/IValue.cs similarity index 100% rename from src/redmine-net20-api/Types/IValue.cs rename to src/redmine-net-api/Types/IValue.cs diff --git a/src/redmine-net20-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs similarity index 100% rename from src/redmine-net20-api/Types/Identifiable.cs rename to src/redmine-net-api/Types/Identifiable.cs diff --git a/src/redmine-net20-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs similarity index 100% rename from src/redmine-net20-api/Types/IdentifiableName.cs rename to src/redmine-net-api/Types/IdentifiableName.cs diff --git a/src/redmine-net20-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs similarity index 100% rename from src/redmine-net20-api/Types/Issue.cs rename to src/redmine-net-api/Types/Issue.cs diff --git a/src/redmine-net20-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs similarity index 100% rename from src/redmine-net20-api/Types/IssueCategory.cs rename to src/redmine-net-api/Types/IssueCategory.cs diff --git a/src/redmine-net20-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs similarity index 100% rename from src/redmine-net20-api/Types/IssueChild.cs rename to src/redmine-net-api/Types/IssueChild.cs diff --git a/src/redmine-net20-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs similarity index 100% rename from src/redmine-net20-api/Types/IssueCustomField.cs rename to src/redmine-net-api/Types/IssueCustomField.cs diff --git a/src/redmine-net20-api/Types/IssuePriority.cs b/src/redmine-net-api/Types/IssuePriority.cs similarity index 100% rename from src/redmine-net20-api/Types/IssuePriority.cs rename to src/redmine-net-api/Types/IssuePriority.cs diff --git a/src/redmine-net20-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs similarity index 100% rename from src/redmine-net20-api/Types/IssueRelation.cs rename to src/redmine-net-api/Types/IssueRelation.cs diff --git a/src/redmine-net20-api/Types/IssueRelationType.cs b/src/redmine-net-api/Types/IssueRelationType.cs similarity index 100% rename from src/redmine-net20-api/Types/IssueRelationType.cs rename to src/redmine-net-api/Types/IssueRelationType.cs diff --git a/src/redmine-net20-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs similarity index 100% rename from src/redmine-net20-api/Types/IssueStatus.cs rename to src/redmine-net-api/Types/IssueStatus.cs diff --git a/src/redmine-net20-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs similarity index 100% rename from src/redmine-net20-api/Types/Journal.cs rename to src/redmine-net-api/Types/Journal.cs diff --git a/src/redmine-net20-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs similarity index 100% rename from src/redmine-net20-api/Types/Membership.cs rename to src/redmine-net-api/Types/Membership.cs diff --git a/src/redmine-net20-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs similarity index 100% rename from src/redmine-net20-api/Types/MembershipRole.cs rename to src/redmine-net-api/Types/MembershipRole.cs diff --git a/src/redmine-net20-api/Types/News.cs b/src/redmine-net-api/Types/News.cs similarity index 100% rename from src/redmine-net20-api/Types/News.cs rename to src/redmine-net-api/Types/News.cs diff --git a/src/redmine-net20-api/Types/PaginatedObjects.cs b/src/redmine-net-api/Types/PaginatedObjects.cs similarity index 100% rename from src/redmine-net20-api/Types/PaginatedObjects.cs rename to src/redmine-net-api/Types/PaginatedObjects.cs diff --git a/src/redmine-net20-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs similarity index 100% rename from src/redmine-net20-api/Types/Permission.cs rename to src/redmine-net-api/Types/Permission.cs diff --git a/src/redmine-net20-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs similarity index 100% rename from src/redmine-net20-api/Types/Project.cs rename to src/redmine-net-api/Types/Project.cs diff --git a/src/redmine-net20-api/Types/ProjectEnabledModule.cs b/src/redmine-net-api/Types/ProjectEnabledModule.cs similarity index 100% rename from src/redmine-net20-api/Types/ProjectEnabledModule.cs rename to src/redmine-net-api/Types/ProjectEnabledModule.cs diff --git a/src/redmine-net20-api/Types/ProjectIssueCategory.cs b/src/redmine-net-api/Types/ProjectIssueCategory.cs similarity index 100% rename from src/redmine-net20-api/Types/ProjectIssueCategory.cs rename to src/redmine-net-api/Types/ProjectIssueCategory.cs diff --git a/src/redmine-net20-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs similarity index 100% rename from src/redmine-net20-api/Types/ProjectMembership.cs rename to src/redmine-net-api/Types/ProjectMembership.cs diff --git a/src/redmine-net20-api/Types/ProjectStatus.cs b/src/redmine-net-api/Types/ProjectStatus.cs similarity index 100% rename from src/redmine-net20-api/Types/ProjectStatus.cs rename to src/redmine-net-api/Types/ProjectStatus.cs diff --git a/src/redmine-net20-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs similarity index 100% rename from src/redmine-net20-api/Types/ProjectTracker.cs rename to src/redmine-net-api/Types/ProjectTracker.cs diff --git a/src/redmine-net20-api/Types/Query.cs b/src/redmine-net-api/Types/Query.cs similarity index 100% rename from src/redmine-net20-api/Types/Query.cs rename to src/redmine-net-api/Types/Query.cs diff --git a/src/redmine-net20-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs similarity index 100% rename from src/redmine-net20-api/Types/Role.cs rename to src/redmine-net-api/Types/Role.cs diff --git a/src/redmine-net20-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs similarity index 100% rename from src/redmine-net20-api/Types/TimeEntry.cs rename to src/redmine-net-api/Types/TimeEntry.cs diff --git a/src/redmine-net20-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs similarity index 100% rename from src/redmine-net20-api/Types/TimeEntryActivity.cs rename to src/redmine-net-api/Types/TimeEntryActivity.cs diff --git a/src/redmine-net20-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs similarity index 100% rename from src/redmine-net20-api/Types/Tracker.cs rename to src/redmine-net-api/Types/Tracker.cs diff --git a/src/redmine-net20-api/Types/TrackerCustomField.cs b/src/redmine-net-api/Types/TrackerCustomField.cs similarity index 100% rename from src/redmine-net20-api/Types/TrackerCustomField.cs rename to src/redmine-net-api/Types/TrackerCustomField.cs diff --git a/src/redmine-net20-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs similarity index 100% rename from src/redmine-net20-api/Types/Upload.cs rename to src/redmine-net-api/Types/Upload.cs diff --git a/src/redmine-net20-api/Types/User.cs b/src/redmine-net-api/Types/User.cs similarity index 100% rename from src/redmine-net20-api/Types/User.cs rename to src/redmine-net-api/Types/User.cs diff --git a/src/redmine-net20-api/Types/UserGroup.cs b/src/redmine-net-api/Types/UserGroup.cs similarity index 100% rename from src/redmine-net20-api/Types/UserGroup.cs rename to src/redmine-net-api/Types/UserGroup.cs diff --git a/src/redmine-net20-api/Types/UserStatus.cs b/src/redmine-net-api/Types/UserStatus.cs similarity index 100% rename from src/redmine-net20-api/Types/UserStatus.cs rename to src/redmine-net-api/Types/UserStatus.cs diff --git a/src/redmine-net20-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs similarity index 100% rename from src/redmine-net20-api/Types/Version.cs rename to src/redmine-net-api/Types/Version.cs diff --git a/src/redmine-net20-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs similarity index 100% rename from src/redmine-net20-api/Types/Watcher.cs rename to src/redmine-net-api/Types/Watcher.cs diff --git a/src/redmine-net20-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs similarity index 100% rename from src/redmine-net20-api/Types/WikiPage.cs rename to src/redmine-net-api/Types/WikiPage.cs diff --git a/src/redmine-net20-api/redmine-net20-api.csproj b/src/redmine-net-api/redmine-net-api.csproj similarity index 100% rename from src/redmine-net20-api/redmine-net20-api.csproj rename to src/redmine-net-api/redmine-net-api.csproj From 25683cebc2125fc668b5416e5e24bbd4c235ed5f Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 19 Nov 2019 15:16:56 +0200 Subject: [PATCH 059/601] Change solution folders structure --- src/redmine-net-api.sln => redmine-net-api.sln | 6 ++++-- src/redmine-net-api.sln.DotSettings | 3 --- {src => tests}/redmine-net-api.Tests/Helper.cs | 0 .../redmine-net-api.Tests/Infrastructure/CaseOrder.cs | 0 .../Infrastructure/CollectionOrderer.cs | 0 .../redmine-net-api.Tests/Infrastructure/OrderAttribute.cs | 0 .../Infrastructure/RedmineCollection.cs | 0 {src => tests}/redmine-net-api.Tests/RedmineFixture.cs | 0 .../Tests/Async/AttachmentAsyncTests.cs | 0 .../redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs | 0 .../redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs | 0 .../redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs | 0 {src => tests}/redmine-net-api.Tests/Tests/RedmineTest.cs | 0 .../redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/GroupTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/IssueTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/NewsTests.cs | 0 .../Tests/Sync/ProjectMembershipTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/ProjectTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/QueryTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/RoleTests.cs | 0 .../Tests/Sync/TimeEntryActivtiyTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/TrackerTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/UserTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/VersionTests.cs | 0 .../redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs | 0 {src => tests}/redmine-net-api.Tests/packages.config | 0 .../redmine-net-api.Tests/redmine-net-api.Tests.csproj | 2 +- 34 files changed, 5 insertions(+), 6 deletions(-) rename src/redmine-net-api.sln => redmine-net-api.sln (89%) delete mode 100755 src/redmine-net-api.sln.DotSettings rename {src => tests}/redmine-net-api.Tests/Helper.cs (100%) rename {src => tests}/redmine-net-api.Tests/Infrastructure/CaseOrder.cs (100%) rename {src => tests}/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs (100%) rename {src => tests}/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs (100%) rename {src => tests}/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs (100%) rename {src => tests}/redmine-net-api.Tests/RedmineFixture.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/RedmineTest.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/GroupTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/IssueTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/NewsTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/QueryTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/RoleTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/UserTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/VersionTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs (100%) rename {src => tests}/redmine-net-api.Tests/packages.config (100%) rename {src => tests}/redmine-net-api.Tests/redmine-net-api.Tests.csproj (97%) diff --git a/src/redmine-net-api.sln b/redmine-net-api.sln similarity index 89% rename from src/redmine-net-api.sln rename to redmine-net-api.sln index 02c0b032..8f0cd011 100644 --- a/src/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -7,9 +7,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{0DFF4758-5C1 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{F3F4278D-6271-4F77-BA88-41555D53CBD1}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "redmine-net-api", "redmine-net-api\redmine-net-api.csproj", "{0E6B9B72-445D-4E71-8D29-48C4A009AB03}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "redmine-net-api", "src\redmine-net-api\redmine-net-api.csproj", "{0E6B9B72-445D-4E71-8D29-48C4A009AB03}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "redmine-net-api.Tests", "redmine-net-api.Tests\redmine-net-api.Tests.csproj", "{900EF0B3-0233-45DA-811F-4C59483E8452}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "redmine-net-api.Tests", "tests\redmine-net-api.Tests\redmine-net-api.Tests.csproj", "{900EF0B3-0233-45DA-811F-4C59483E8452}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionFolder", "SolutionFolder", "{E8C35EC2-DD90-46E8-9B63-84EFD5F2FDE3}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/redmine-net-api.sln.DotSettings b/src/redmine-net-api.sln.DotSettings deleted file mode 100755 index 372a1f5b..00000000 --- a/src/redmine-net-api.sln.DotSettings +++ /dev/null @@ -1,3 +0,0 @@ - - JSON - XML \ No newline at end of file diff --git a/src/redmine-net-api.Tests/Helper.cs b/tests/redmine-net-api.Tests/Helper.cs similarity index 100% rename from src/redmine-net-api.Tests/Helper.cs rename to tests/redmine-net-api.Tests/Helper.cs diff --git a/src/redmine-net-api.Tests/Infrastructure/CaseOrder.cs b/tests/redmine-net-api.Tests/Infrastructure/CaseOrder.cs similarity index 100% rename from src/redmine-net-api.Tests/Infrastructure/CaseOrder.cs rename to tests/redmine-net-api.Tests/Infrastructure/CaseOrder.cs diff --git a/src/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs b/tests/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs similarity index 100% rename from src/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs rename to tests/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs diff --git a/src/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs b/tests/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs similarity index 100% rename from src/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs rename to tests/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs diff --git a/src/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs b/tests/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs similarity index 100% rename from src/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs rename to tests/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs diff --git a/src/redmine-net-api.Tests/RedmineFixture.cs b/tests/redmine-net-api.Tests/RedmineFixture.cs similarity index 100% rename from src/redmine-net-api.Tests/RedmineFixture.cs rename to tests/redmine-net-api.Tests/RedmineFixture.cs diff --git a/src/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs rename to tests/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs rename to tests/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs rename to tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs rename to tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs diff --git a/src/redmine-net-api.Tests/Tests/RedmineTest.cs b/tests/redmine-net-api.Tests/Tests/RedmineTest.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/RedmineTest.cs rename to tests/redmine-net-api.Tests/Tests/RedmineTest.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/GroupTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/GroupTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/IssueTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/IssueTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/NewsTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/QueryTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/RoleTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/UserTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/UserTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/VersionTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs diff --git a/src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs similarity index 100% rename from src/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs rename to tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs diff --git a/src/redmine-net-api.Tests/packages.config b/tests/redmine-net-api.Tests/packages.config similarity index 100% rename from src/redmine-net-api.Tests/packages.config rename to tests/redmine-net-api.Tests/packages.config diff --git a/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj similarity index 97% rename from src/redmine-net-api.Tests/redmine-net-api.Tests.csproj rename to tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index 73725264..efdec128 100644 --- a/src/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -86,7 +86,7 @@ - + From d8b9f9d465c440cc97748bcfc11d972ff1407bbf Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 19 Nov 2019 15:26:39 +0200 Subject: [PATCH 060/601] Cleanup folders --- build/redmine-net-api-signed.nuspec | 38 ----------------- build/redmine-net-api.nuspec | 40 ------------------ .../docker-compose.yml => docker-compose.yml | 0 tools/NuGet/NuGet.exe | Bin 3957976 -> 0 bytes 4 files changed, 78 deletions(-) delete mode 100644 build/redmine-net-api-signed.nuspec delete mode 100644 build/redmine-net-api.nuspec rename build/docker-compose.yml => docker-compose.yml (100%) mode change 100755 => 100644 delete mode 100755 tools/NuGet/NuGet.exe diff --git a/build/redmine-net-api-signed.nuspec b/build/redmine-net-api-signed.nuspec deleted file mode 100644 index 2c7b8523..00000000 --- a/build/redmine-net-api-signed.nuspec +++ /dev/null @@ -1,38 +0,0 @@ - - - - redmine-api-signed - 0.0.0.0 - Redmine .NET API Signed - Adrian Popescu - Adrian Popescu - - Apache-2.0 - https://github.com/zapadi/redmine-net-api - https://github.com/zapadi/redmine-net-api/raw/master/logo.png - true - Redmine .NET API is a communication library for Redmine project management application. - - Copyright ©2011-2019 Adrian Popescu - en-US - Redmine API .NET C# - - Bug fixes and performance improvements - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/redmine-net-api.nuspec b/build/redmine-net-api.nuspec deleted file mode 100644 index 700c00d6..00000000 --- a/build/redmine-net-api.nuspec +++ /dev/null @@ -1,40 +0,0 @@ - - - - redmine-api - 0.0.0.0 - Redmine .NET API - Adrian Popescu - Adrian Popescu - - Apache-2.0 - https://github.com/zapadi/redmine-net-api - https://github.com/zapadi/redmine-net-api/raw/master/logo.png - true - Redmine .NET API is a communication library for Redmine project management application. - - Copyright ©2011-2019 Adrian Popescu - en-US - Redmine API .NET C# - - Bug fixes and performance improvements - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/docker-compose.yml b/docker-compose.yml old mode 100755 new mode 100644 similarity index 100% rename from build/docker-compose.yml rename to docker-compose.yml diff --git a/tools/NuGet/NuGet.exe b/tools/NuGet/NuGet.exe deleted file mode 100755 index 6bb79fe5379d098fabcabf69f3e5c9e8214c229b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3957976 zcmb?^34B~t_5aJ8$(xy%N!w}CN!qkcTAFZ~&^GKzD5Xe2_LjYry{xUk!#8EILmm-O z_KJ##ASlIMWKrBu5ET&@pdxNa6%(cj)RHoP^^zN&J8Pb;tP>bYH~oqFDR!TPQ>XLN-ZoY%GXysqUdj_f)&IQ@)8&CULTnDom19OsaRg!BCC zdmU>_d(Lqini|rMGi!kUu?3oS!bm?N}h$*g1UTf zszQ?>d2*db=e2!iIfcK^bD9vlbDHCw@Z)LD&2Py#&;DqdGdvP$l=xh?)PTk+;1{*< z3&*$yYUR6$A%flHkU$-$rLWQ12l#;I5*Hv#hwlyS41j?K`bxwTQb8jC18qz~yC8`a zJb4Bw1Pl2B=>YAiuG@BcX-?M;M<4ys)m3Byh{|6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jS`WkZ^W%U24iA|NqIU}!UBWrNH!kY^aYY}3>-xyxOX9VT!!3O> z?&>i(acRtq4Zbp7_gtK7#Q8pFQK*V5DCuAUJm?u`Aj;k2F`=kx-&s29Z*Js8*Z5ZuzsC+>>YZ>4hu^D=z+GJo^9N$js4&<2;rgR-elSiy7SA4mbNX0Z z)FsxWU9W!^~oW36y^&_~V zpTu=N0k`x-+|@7R#8a_z5>D%Pa87@Si~3_+(VyeGo`PHYd)(E(U_KaT>eud1T$~V} z&&2)o=xK0W&w#tn#>}iZ{e1LXIH%{wl^0^?BDk)zxTTlEi5KJ9<#1ZBjEk?t`5L&Q z*TuP4<2)bydh{l^H7R0(cAWlqdro0!=Or}Z$L)5CF5?}jV7gzI{5 z+|v8wu08}OzK#7y;... + Redmine .NET API Client 1.0.0 2.0.0 $(VersionSuffix) From ece9b6facfefdd8c1d52af27d32417164eaa8f50 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 14:20:34 +0200 Subject: [PATCH 067/601] Pass an explicit TaskScheduler to Task.Factory.StartNew (.NET40) --- .../Async/RedmineManagerAsync40.cs | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync40.cs b/src/redmine-net-api/Async/RedmineManagerAsync40.cs index ab178809..2b8a1f39 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync40.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync40.cs @@ -15,8 +15,8 @@ limitations under the License. */ +using System.Threading; #if NET40 - using System.Collections.Generic; using System.Collections.Specialized; using System.Threading.Tasks; @@ -37,7 +37,7 @@ public static class RedmineManagerAsync /// public static Task GetCurrentUserAsync(this RedmineManager redmineManager, NameValueCollection parameters = null) { - return Task.Factory.StartNew(() => redmineManager.GetCurrentUser(parameters)); + return Task.Factory.StartNew(() => redmineManager.GetCurrentUser(parameters), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -50,7 +50,7 @@ public static Task GetCurrentUserAsync(this RedmineManager redmineManager, /// public static Task CreateOrUpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) { - return Task.Factory.StartNew(() => redmineManager.CreateOrUpdateWikiPage(projectId, pageName, wikiPage)); + return Task.Factory.StartNew(() => redmineManager.CreateOrUpdateWikiPage(projectId, pageName, wikiPage), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -62,7 +62,7 @@ public static Task CreateOrUpdateWikiPageAsync(this RedmineManager red /// public static Task DeleteWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName) { - return Task.Factory.StartNew(() => redmineManager.DeleteWikiPage(projectId, pageName)); + return Task.Factory.StartNew(() => redmineManager.DeleteWikiPage(projectId, pageName), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -76,7 +76,7 @@ public static Task DeleteWikiPageAsync(this RedmineManager redmineManager, strin /// public static Task GetWikiPageAsync(this RedmineManager redmineManager, string projectId, NameValueCollection parameters, string pageName, uint version = 0) { - return Task.Factory.StartNew(() => redmineManager.GetWikiPage(projectId, parameters, pageName, version)); + return Task.Factory.StartNew(() => redmineManager.GetWikiPage(projectId, parameters, pageName, version), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -87,7 +87,7 @@ public static Task GetWikiPageAsync(this RedmineManager redmineManager /// public static Task> GetAllWikiPagesAsync(this RedmineManager redmineManager, string projectId) { - return Task.Factory.StartNew(() => redmineManager.GetAllWikiPages(projectId)); + return Task.Factory.StartNew(() => redmineManager.GetAllWikiPages(projectId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -99,7 +99,7 @@ public static Task> GetAllWikiPagesAsync(this RedmineManager redm /// public static Task AddUserToGroupAsync(this RedmineManager redmineManager, int groupId, int userId) { - return Task.Factory.StartNew(() => redmineManager.AddUserToGroup(groupId, userId)); + return Task.Factory.StartNew(() => redmineManager.AddUserToGroup(groupId, userId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -111,7 +111,7 @@ public static Task AddUserToGroupAsync(this RedmineManager redmineManager, int g /// public static Task RemoveUserFromGroupAsync(this RedmineManager redmineManager, int groupId, int userId) { - return Task.Factory.StartNew(() => redmineManager.RemoveUserFromGroup(groupId, userId)); + return Task.Factory.StartNew(() => redmineManager.RemoveUserFromGroup(groupId, userId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -123,7 +123,7 @@ public static Task RemoveUserFromGroupAsync(this RedmineManager redmineManager, /// public static Task AddWatcherToIssueAsync(this RedmineManager redmineManager, int issueId, int userId) { - return Task.Factory.StartNew(() => redmineManager.AddWatcherToIssue(issueId, userId)); + return Task.Factory.StartNew(() => redmineManager.AddWatcherToIssue(issueId, userId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -135,7 +135,7 @@ public static Task AddWatcherToIssueAsync(this RedmineManager redmineManager, in /// public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManager, int issueId, int userId) { - return Task.Factory.StartNew(() => redmineManager.RemoveWatcherFromIssue(issueId, userId)); + return Task.Factory.StartNew(() => redmineManager.RemoveWatcherFromIssue(issueId, userId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -148,7 +148,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task GetObjectAsync(this RedmineManager redmineManager, string id, NameValueCollection parameters) where T : class, new() { - return Task.Factory.StartNew(() => redmineManager.GetObject(id, parameters)); + return Task.Factory.StartNew(() => redmineManager.GetObject(id, parameters), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -173,7 +173,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task CountAsync(this RedmineManager redmineManager, params string[] include) where T : class, new() { - return Task.Factory.StartNew(()=> redmineManager.Count(include)); + return Task.Factory.StartNew(()=> redmineManager.Count(include), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -185,7 +185,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task CountAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { - return Task.Factory.StartNew(() => redmineManager.Count(parameters)); + return Task.Factory.StartNew(() => redmineManager.Count(parameters), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -198,7 +198,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task CreateObjectAsync(this RedmineManager redmineManager, T obj, string ownerId) where T : class, new() { - return Task.Factory.StartNew(() => redmineManager.CreateObject(obj, ownerId)); + return Task.Factory.StartNew(() => redmineManager.CreateObject(obj, ownerId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -210,7 +210,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task> GetPaginatedObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { - return Task.Factory.StartNew(() => redmineManager.GetPaginatedObjects(parameters)); + return Task.Factory.StartNew(() => redmineManager.GetPaginatedObjects(parameters), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -222,7 +222,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task> GetObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { - return Task.Factory.StartNew(() => redmineManager.GetObjects(parameters)); + return Task.Factory.StartNew(() => redmineManager.GetObjects(parameters), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -236,7 +236,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T obj, string projectId = null) where T : class, new() { - return Task.Factory.StartNew(() => redmineManager.UpdateObject(id, obj, projectId)); + return Task.Factory.StartNew(() => redmineManager.UpdateObject(id, obj, projectId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -249,7 +249,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task DeleteObjectAsync(this RedmineManager redmineManager, string id, NameValueCollection parameters) where T : class, new() { - return Task.Factory.StartNew(() => redmineManager.DeleteObject(id)); + return Task.Factory.StartNew(() => redmineManager.DeleteObject(id), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -260,7 +260,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// public static Task UploadFileAsync(this RedmineManager redmineManager, byte[] data) { - return Task.Factory.StartNew(() => redmineManager.UploadFile(data)); + return Task.Factory.StartNew(() => redmineManager.UploadFile(data), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -271,7 +271,7 @@ public static Task UploadFileAsync(this RedmineManager redmineManager, b /// public static Task DownloadFileAsync(this RedmineManager redmineManager, string address) { - return Task.Factory.StartNew(() => redmineManager.DownloadFile(address)); + return Task.Factory.StartNew(() => redmineManager.DownloadFile(address), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } } } From 760b14e73ccf5b9070136337d6d8e9620bbc5eee Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 14:21:58 +0200 Subject: [PATCH 068/601] Add Serializable attribute to redmine exceptions --- src/redmine-net-api/Exceptions/ConflictException.cs | 10 ++++++++++ src/redmine-net-api/Exceptions/ForbiddenException.cs | 11 +++++++++++ .../Exceptions/InternalServerErrorException.cs | 11 +++++++++++ .../Exceptions/NameResolutionFailureException.cs | 10 ++++++++++ .../Exceptions/NotAcceptableException.cs | 10 ++++++++++ src/redmine-net-api/Exceptions/NotFoundException.cs | 11 +++++++++++ src/redmine-net-api/Exceptions/RedmineException.cs | 11 ++++++++++- .../Exceptions/RedmineTimeoutException.cs | 11 +++++++++++ .../Exceptions/UnauthorizedException.cs | 12 ++++++++++++ 9 files changed, 96 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Exceptions/ConflictException.cs b/src/redmine-net-api/Exceptions/ConflictException.cs index 0acc079f..43e4a5ad 100644 --- a/src/redmine-net-api/Exceptions/ConflictException.cs +++ b/src/redmine-net-api/Exceptions/ConflictException.cs @@ -23,6 +23,7 @@ namespace Redmine.Net.Api.Exceptions /// /// /// + [Serializable] public sealed class ConflictException : RedmineException { /// @@ -72,5 +73,14 @@ public ConflictException(string format, Exception innerException, params object[ { } + /// + /// + /// + /// + /// + private ConflictException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) + { + + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/ForbiddenException.cs b/src/redmine-net-api/Exceptions/ForbiddenException.cs index e9c2fa2c..de49d5f4 100644 --- a/src/redmine-net-api/Exceptions/ForbiddenException.cs +++ b/src/redmine-net-api/Exceptions/ForbiddenException.cs @@ -23,6 +23,7 @@ namespace Redmine.Net.Api.Exceptions /// /// /// + [Serializable] public sealed class ForbiddenException : RedmineException { /// @@ -72,5 +73,15 @@ public ForbiddenException(string format, Exception innerException, params object { } + /// + /// + /// + /// + /// + /// + private ForbiddenException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) + { + + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/InternalServerErrorException.cs b/src/redmine-net-api/Exceptions/InternalServerErrorException.cs index be8e3e5c..dea797e9 100644 --- a/src/redmine-net-api/Exceptions/InternalServerErrorException.cs +++ b/src/redmine-net-api/Exceptions/InternalServerErrorException.cs @@ -23,6 +23,7 @@ namespace Redmine.Net.Api.Exceptions /// /// /// + [Serializable] public sealed class InternalServerErrorException : RedmineException { /// @@ -72,5 +73,15 @@ public InternalServerErrorException(string format, Exception innerException, par { } + /// + /// + /// + /// + /// + /// + private InternalServerErrorException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) + { + + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs b/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs index 6a08cb46..dd0e48c0 100644 --- a/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs +++ b/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs @@ -23,6 +23,7 @@ namespace Redmine.Net.Api.Exceptions /// /// /// + [Serializable] public sealed class NameResolutionFailureException : RedmineException { /// @@ -72,5 +73,14 @@ public NameResolutionFailureException(string format, Exception innerException, p { } + /// + /// + /// + /// + /// + private NameResolutionFailureException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) + { + + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/NotAcceptableException.cs b/src/redmine-net-api/Exceptions/NotAcceptableException.cs index 281e0cfb..90aee858 100644 --- a/src/redmine-net-api/Exceptions/NotAcceptableException.cs +++ b/src/redmine-net-api/Exceptions/NotAcceptableException.cs @@ -23,6 +23,7 @@ namespace Redmine.Net.Api.Exceptions /// /// /// + [Serializable] public sealed class NotAcceptableException : RedmineException { /// @@ -72,5 +73,14 @@ public NotAcceptableException(string format, Exception innerException, params ob { } + /// + /// + /// + /// + /// + private NotAcceptableException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) + { + + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/NotFoundException.cs b/src/redmine-net-api/Exceptions/NotFoundException.cs index b28ca9d3..dbd29178 100644 --- a/src/redmine-net-api/Exceptions/NotFoundException.cs +++ b/src/redmine-net-api/Exceptions/NotFoundException.cs @@ -24,6 +24,7 @@ namespace Redmine.Net.Api.Exceptions /// Thrown in case the objects requested for could not be found. /// /// + [Serializable] public sealed class NotFoundException : RedmineException { /// @@ -72,5 +73,15 @@ public NotFoundException(string format, Exception innerException, params object[ : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) { } + + /// + /// + /// + /// + /// + private NotFoundException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) + { + + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/RedmineException.cs b/src/redmine-net-api/Exceptions/RedmineException.cs index d917780b..0867b830 100644 --- a/src/redmine-net-api/Exceptions/RedmineException.cs +++ b/src/redmine-net-api/Exceptions/RedmineException.cs @@ -24,6 +24,7 @@ namespace Redmine.Net.Api.Exceptions /// Thrown in case something went wrong in Redmine /// /// + [Serializable] public class RedmineException : Exception { /// @@ -73,6 +74,14 @@ public RedmineException(string format, Exception innerException, params object[] { } - + /// + /// + /// + /// + /// + protected RedmineException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) + { + + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs b/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs index cc4a17f9..8f0da618 100644 --- a/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs +++ b/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs @@ -23,6 +23,7 @@ namespace Redmine.Net.Api.Exceptions /// /// /// + [Serializable] public sealed class RedmineTimeoutException : RedmineException { /// @@ -74,5 +75,15 @@ public RedmineTimeoutException(string format, Exception innerException, params o : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) { } + + /// + /// + /// + /// + /// + private RedmineTimeoutException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) + { + + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/UnauthorizedException.cs b/src/redmine-net-api/Exceptions/UnauthorizedException.cs index 32991005..4283b14c 100644 --- a/src/redmine-net-api/Exceptions/UnauthorizedException.cs +++ b/src/redmine-net-api/Exceptions/UnauthorizedException.cs @@ -24,6 +24,7 @@ namespace Redmine.Net.Api.Exceptions /// Thrown in case something went wrong while trying to login. /// /// + [Serializable] public sealed class UnauthorizedException : RedmineException { /// @@ -75,5 +76,16 @@ public UnauthorizedException(string format, Exception innerException, params obj : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) { } + + /// + /// + /// + /// + /// + /// + private UnauthorizedException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) + { + + } } } \ No newline at end of file From cb57c40bb440b83554124511a72b3ec49e53187c Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 14:22:50 +0200 Subject: [PATCH 069/601] Add missing ConfigureAwait(false) --- src/redmine-net-api/Async/RedmineManagerAsync45.cs | 2 +- src/redmine-net-api/Internals/WebApiAsyncHelper.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index 4642e872..e2cae408 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -228,7 +228,7 @@ public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmine try { - var tempResult = await GetPaginatedObjectsAsync(redmineManager,parameters); + var tempResult = await GetPaginatedObjectsAsync(redmineManager,parameters).ConfigureAwait(false); if (tempResult != null) { totalCount = tempResult.TotalCount; diff --git a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs index 704207fe..4912030a 100644 --- a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs +++ b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs @@ -162,7 +162,7 @@ public static async Task ExecuteDownloadFile(RedmineManager redmineManag { try { - return await wc.DownloadDataTaskAsync(address); + return await wc.DownloadDataTaskAsync(address).ConfigureAwait(false); } catch (WebException webException) { @@ -186,7 +186,7 @@ public static async Task ExecuteUploadFile(RedmineManager redmineManager { try { - var response = await wc.UploadDataTaskAsync(address, data); + var response = await wc.UploadDataTaskAsync(address, data).ConfigureAwait(false); var responseString = Encoding.ASCII.GetString(response); return RedmineSerializer.Deserialize(responseString, redmineManager.MimeFormat); } From a4ff18d281c0427cac44a64adec30341c209d4a6 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 14:24:41 +0200 Subject: [PATCH 070/601] Add XmlTextReaderBuilder --- .../Extensions/XmlReaderExtensions.cs | 5 +- .../Internals/RedmineSerializer.cs | 6 +-- .../Internals/XmlTextReaderBuilder.cs | 54 +++++++++++++++++++ 3 files changed, 60 insertions(+), 5 deletions(-) create mode 100644 src/redmine-net-api/Internals/XmlTextReaderBuilder.cs diff --git a/src/redmine-net-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net-api/Extensions/XmlReaderExtensions.cs index 9bc95d7c..00f9a7e5 100755 --- a/src/redmine-net-api/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlReaderExtensions.cs @@ -21,6 +21,7 @@ limitations under the License. using System.IO; using System.Xml; using System.Xml.Serialization; +using Redmine.Net.Api.Internals; namespace Redmine.Net.Api.Extensions { @@ -171,7 +172,7 @@ public static List ReadElementContentAsCollection(this XmlReader reader) w using (var stringReader = new StringReader(outerXml)) { - using (var xmlTextReader = new XmlTextReader(stringReader)) + using (var xmlTextReader = XmlTextReaderBuilder.Create(stringReader)) { xmlTextReader.ReadStartElement(); while (!xmlTextReader.EOF) @@ -237,7 +238,7 @@ public static IEnumerable ReadElementContentAsEnumerable(this XmlReader re var outerXml = reader.ReadOuterXml(); using (var stringReader = new StringReader(outerXml)) { - using (var xmlTextReader = new XmlTextReader(stringReader)) + using (var xmlTextReader = XmlTextReaderBuilder.Create(stringReader)) { xmlTextReader.ReadStartElement(); while (!xmlTextReader.EOF) diff --git a/src/redmine-net-api/Internals/RedmineSerializer.cs b/src/redmine-net-api/Internals/RedmineSerializer.cs index 9cbb0943..8045bac5 100755 --- a/src/redmine-net-api/Internals/RedmineSerializer.cs +++ b/src/redmine-net-api/Internals/RedmineSerializer.cs @@ -68,7 +68,7 @@ private static T FromXML(string xml) where T : class { if(xml.IsNullOrWhiteSpace()) throw new ArgumentNullException(nameof(xml)); - using (var text = new XmlTextReader(xml)) + using (var text = XmlTextReaderBuilder.Create(xml)) { var sr = new XmlSerializer(typeof (T)); return sr.Deserialize(text) as T; @@ -214,9 +214,9 @@ public static PaginatedObjects DeserializeList(string response, MimeFormat { using (var stringReader = new StringReader(response)) { - using (var xmlReader = new XmlTextReader(stringReader)) + using (var xmlReader = XmlTextReaderBuilder.Create(stringReader)) { - xmlReader.WhitespaceHandling = WhitespaceHandling.None; + xmlReader.Read(); xmlReader.Read(); diff --git a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs new file mode 100644 index 00000000..b5af4dd1 --- /dev/null +++ b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs @@ -0,0 +1,54 @@ +using System.IO; +using System.Xml; + +namespace Redmine.Net.Api.Internals +{ + internal static class XmlTextReaderBuilder + { +#if NET20 + public static XmlReader Create(StringReader stringReader) + { + return XmlReader.Create(stringReader, new XmlReaderSettings() + { + ProhibitDtd = true, + XmlResolver = null, + IgnoreComments = true, + IgnoreWhitespace = true, + }); + + } + + public static XmlReader Create(string stringReader) + { + return XmlReader.Create(stringReader, new XmlReaderSettings() + { + ProhibitDtd = true, + XmlResolver = null, + IgnoreComments = true, + IgnoreWhitespace = true, + }); + + } +#else + public static XmlTextReader Create(StringReader stringReader) + { + return new XmlTextReader(stringReader) + { + DtdProcessing = DtdProcessing.Prohibit, + XmlResolver = null, + WhitespaceHandling = WhitespaceHandling.None + }; + } + + public static XmlTextReader Create(string stringReader) + { + return new XmlTextReader(stringReader) + { + DtdProcessing = DtdProcessing.Prohibit, + XmlResolver = null, + WhitespaceHandling = WhitespaceHandling.None + }; + } +#endif + } +} \ No newline at end of file From 466d143078708c4d867612853768afdd94cf7bde Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 14:27:59 +0200 Subject: [PATCH 071/601] string.Format to interpolation --- src/redmine-net-api/Types/Attachment.cs | 4 ++-- src/redmine-net-api/Types/ChangeSet.cs | 2 +- src/redmine-net-api/Types/CustomField.cs | 4 ++-- src/redmine-net-api/Types/CustomFieldPossibleValue.cs | 2 +- src/redmine-net-api/Types/CustomFieldRole.cs | 2 +- src/redmine-net-api/Types/CustomFieldValue.cs | 4 ++-- src/redmine-net-api/Types/Detail.cs | 2 +- src/redmine-net-api/Types/Error.cs | 2 +- src/redmine-net-api/Types/File.cs | 2 +- src/redmine-net-api/Types/Group.cs | 5 +++-- src/redmine-net-api/Types/GroupUser.cs | 2 +- src/redmine-net-api/Types/Identifiable.cs | 2 +- src/redmine-net-api/Types/Issue.cs | 8 +++----- src/redmine-net-api/Types/IssueCategory.cs | 2 +- src/redmine-net-api/Types/IssueChild.cs | 4 ++-- src/redmine-net-api/Types/IssueCustomField.cs | 2 +- src/redmine-net-api/Types/IssuePriority.cs | 2 +- src/redmine-net-api/Types/IssueRelation.cs | 3 ++- src/redmine-net-api/Types/IssueStatus.cs | 2 +- src/redmine-net-api/Types/Journal.cs | 2 +- src/redmine-net-api/Types/Membership.cs | 2 +- src/redmine-net-api/Types/MembershipRole.cs | 2 +- src/redmine-net-api/Types/News.cs | 4 ++-- src/redmine-net-api/Types/Permission.cs | 2 +- src/redmine-net-api/Types/Project.cs | 6 +++--- src/redmine-net-api/Types/ProjectEnabledModule.cs | 2 +- src/redmine-net-api/Types/ProjectIssueCategory.cs | 2 +- src/redmine-net-api/Types/ProjectMembership.cs | 3 ++- src/redmine-net-api/Types/ProjectTracker.cs | 2 +- src/redmine-net-api/Types/Query.cs | 2 +- src/redmine-net-api/Types/Role.cs | 2 +- src/redmine-net-api/Types/TimeEntry.cs | 4 ++-- src/redmine-net-api/Types/TimeEntryActivity.cs | 2 +- src/redmine-net-api/Types/Tracker.cs | 2 +- src/redmine-net-api/Types/TrackerCustomField.cs | 2 +- src/redmine-net-api/Types/Upload.cs | 3 ++- src/redmine-net-api/Types/User.cs | 6 +++--- src/redmine-net-api/Types/UserGroup.cs | 2 +- src/redmine-net-api/Types/Version.cs | 6 +++--- src/redmine-net-api/Types/Watcher.cs | 2 +- src/redmine-net-api/Types/WikiPage.cs | 4 ++-- 41 files changed, 61 insertions(+), 59 deletions(-) diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index ac171889..4a125135 100755 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -173,8 +173,8 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[Attachment: {7}, FileName={0}, FileSize={1}, ContentType={2}, Description={3}, ContentUrl={4}, Author={5}, CreatedOn={6}]", - FileName, FileSize, ContentType, Description, ContentUrl, Author, CreatedOn, base.ToString()); + return + $"[Attachment: {base.ToString()}, FileName={FileName}, FileSize={FileSize}, ContentType={ContentType}, Description={Description}, ContentUrl={ContentUrl}, Author={Author}, CreatedOn={CreatedOn}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs index 10b26548..ec41ad24 100755 --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -146,7 +146,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("Revision: {0}, User: '{1}', CommitedOn: {2}, Comments: '{3}'", Revision, User, CommittedOn, Comments); + return $"Revision: {Revision}, User: '{User}', CommitedOn: {CommittedOn}, Comments: '{Comments}'"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index a4bc7a69..f197cdbb 100755 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -251,8 +251,8 @@ public override int GetHashCode() /// public override string ToString () { - return string.Format ("[CustomField: Id={0}, Name={1}, CustomizedType={2}, FieldFormat={3}, Regexp={4}, MinLength={5}, MaxLength={6}, IsRequired={7}, IsFilter={8}, Searchable={9}, Multiple={10}, DefaultValue={11}, Visible={12}, PossibleValues={13}, Trackers={14}, Roles={15}]", - Id, Name, CustomizedType, FieldFormat, Regexp, MinLength, MaxLength, IsRequired, IsFilter, Searchable, Multiple, DefaultValue, Visible, PossibleValues, Trackers, Roles); + return + $"[CustomField: Id={Id}, Name={Name}, CustomizedType={CustomizedType}, FieldFormat={FieldFormat}, Regexp={Regexp}, MinLength={MinLength}, MaxLength={MaxLength}, IsRequired={IsRequired}, IsFilter={IsFilter}, Searchable={Searchable}, Multiple={Multiple}, DefaultValue={DefaultValue}, Visible={Visible}, PossibleValues={PossibleValues}, Trackers={Trackers}, Roles={Roles}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs index 61ab24fa..ff138076 100755 --- a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs @@ -82,7 +82,7 @@ public override int GetHashCode() /// public override string ToString () { - return string.Format ("[CustomFieldPossibleValue: {0}]", base.ToString()); + return $"[CustomFieldPossibleValue: {base.ToString()}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/CustomFieldRole.cs b/src/redmine-net-api/Types/CustomFieldRole.cs index 2c67f343..213b5948 100755 --- a/src/redmine-net-api/Types/CustomFieldRole.cs +++ b/src/redmine-net-api/Types/CustomFieldRole.cs @@ -30,7 +30,7 @@ public class CustomFieldRole : IdentifiableName /// public override string ToString () { - return string.Format ("[CustomFieldRole: {0}]", base.ToString()); + return $"[CustomFieldRole: {base.ToString()}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index 56ea6263..31fa884e 100755 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -75,7 +75,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[CustomFieldValue: Info={0}]", Info); + return $"[CustomFieldValue: Info={Info}]"; } /// diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs index 23838086..c0943f6d 100755 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -157,7 +157,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[Detail: Property={0}, Name={1}, OldValue={2}, NewValue={3}]", Property, Name, OldValue, NewValue); + return $"[Detail: Property={Property}, Name={Name}, OldValue={OldValue}, NewValue={NewValue}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs index b5576229..96fb26b7 100755 --- a/src/redmine-net-api/Types/Error.cs +++ b/src/redmine-net-api/Types/Error.cs @@ -52,7 +52,7 @@ public bool Equals(Error other) /// public override string ToString() { - return string.Format("[Error: Info={0}]", Info); + return $"[Error: Info={Info}]"; } /// diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index 86142eb5..f7ca5b81 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -151,7 +151,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[File: Id={0}, Name={1}]", Id, Filename); + return $"[File: Id={Id}, Name={Filename}]"; } /// diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index b71ce6d1..fe4e6900 100755 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -156,7 +156,8 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[Group: Id={0}, Name={1}, Users={2}, CustomFields={3}, Memberships={4}]", Id, Name, Users, CustomFields, Memberships); + return + $"[Group: Id={Id}, Name={Name}, Users={Users}, CustomFields={CustomFields}, Memberships={Memberships}]"; } /// diff --git a/src/redmine-net-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs index 415222bc..e3f10928 100755 --- a/src/redmine-net-api/Types/GroupUser.cs +++ b/src/redmine-net-api/Types/GroupUser.cs @@ -30,7 +30,7 @@ public class GroupUser : IdentifiableName /// public override string ToString () { - return string.Format ("[GroupUser: {0}]", base.ToString()); + return $"[GroupUser: {base.ToString()}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs index e654dc09..d9934286 100755 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -101,7 +101,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[Identifiable: Id={0}]", Id); + return $"[Identifiable: Id={Id}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 4f11d017..0c88696f 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2017 Adrian Popescu, Dorin Huzum. Licensed under the Apache License, Version 2.0 (the "License"); @@ -564,10 +564,8 @@ public bool Equals(Issue other) /// public override string ToString() { - return string.Format("[Issue: {30}, Project={0}, Tracker={1}, Status={2}, Priority={3}, Author={4}, Category={5}, Subject={6}, Description={7}, StartDate={8}, DueDate={9}, DoneRatio={10}, PrivateNotes={11}, EstimatedHours={12}, SpentHours={13}, CustomFields={14}, CreatedOn={15}, UpdatedOn={16}, ClosedOn={17}, Notes={18}, AssignedTo={19}, ParentIssue={20}, FixedVersion={21}, IsPrivate={22}, Journals={23}, Changesets={24}, Attachments={25}, Relations={26}, Children={27}, Uploads={28}, Watchers={29}]", - Project, Tracker, Status, Priority, Author, Category, Subject, Description, StartDate, DueDate, DoneRatio, PrivateNotes, - EstimatedHours, SpentHours, CustomFields, CreatedOn, UpdatedOn, ClosedOn, Notes, AssignedTo, ParentIssue, FixedVersion, - IsPrivate, Journals, Changesets, Attachments, Relations, Children, Uploads, Watchers, base.ToString()); + return + $"[Issue: {base.ToString()}, Project={Project}, Tracker={Tracker}, Status={Status}, Priority={Priority}, Author={Author}, Category={Category}, Subject={Subject}, Description={Description}, StartDate={StartDate}, DueDate={DueDate}, DoneRatio={DoneRatio}, PrivateNotes={PrivateNotes}, EstimatedHours={EstimatedHours}, SpentHours={SpentHours}, CustomFields={CustomFields}, CreatedOn={CreatedOn}, UpdatedOn={UpdatedOn}, ClosedOn={ClosedOn}, Notes={Notes}, AssignedTo={AssignedTo}, ParentIssue={ParentIssue}, FixedVersion={FixedVersion}, IsPrivate={IsPrivate}, Journals={Journals}, Changesets={Changesets}, Attachments={Attachments}, Relations={Relations}, Children={Children}, Uploads={Uploads}, Watchers={Watchers}]"; } /// diff --git a/src/redmine-net-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs index fbca4eb3..bc0a26ad 100755 --- a/src/redmine-net-api/Types/IssueCategory.cs +++ b/src/redmine-net-api/Types/IssueCategory.cs @@ -137,7 +137,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[IssueCategory: {3}, Project={0}, AsignTo={1}, Name={2}]", Project, AsignTo, Name, base.ToString()); + return $"[IssueCategory: {base.ToString()}, Project={Project}, AsignTo={AsignTo}, Name={Name}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs index 392c5834..7dd10276 100755 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -125,7 +125,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[IssueChild: {0}, Tracker={1}, Subject={2}]", base.ToString(), Tracker, Subject); + return $"[IssueChild: {base.ToString()}, Tracker={Tracker}, Subject={Subject}]"; } } } diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index c21650a0..fb779dea 100755 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -114,7 +114,7 @@ public object Clone() /// public override string ToString() { - return string.Format("[IssueCustomField: {2} Values={0}, Multiple={1}]", Values, Multiple, base.ToString()); + return $"[IssueCustomField: {base.ToString()} Values={Values}, Multiple={Multiple}]"; } /// diff --git a/src/redmine-net-api/Types/IssuePriority.cs b/src/redmine-net-api/Types/IssuePriority.cs index 68643b3e..87754916 100755 --- a/src/redmine-net-api/Types/IssuePriority.cs +++ b/src/redmine-net-api/Types/IssuePriority.cs @@ -120,7 +120,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[IssuePriority: Id={0}, Name={1}, IsDefault={2}]", Id, Name, IsDefault); + return $"[IssuePriority: Id={Id}, Name={Name}, IsDefault={IsDefault}]"; } #endregion diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 59d49430..fa8a533a 100755 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -169,7 +169,8 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[IssueRelation: {4}, IssueId={0}, IssueToId={1}, Type={2}, Delay={3}]", IssueId, IssueToId, Type, Delay, base.ToString()); + return + $"[IssueRelation: {base.ToString()}, IssueId={IssueId}, IssueToId={IssueToId}, Type={Type}, Delay={Delay}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs index e0b24cf9..63a2bd69 100755 --- a/src/redmine-net-api/Types/IssueStatus.cs +++ b/src/redmine-net-api/Types/IssueStatus.cs @@ -114,7 +114,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[IssueStatus: {2}, IsDefault={0}, IsClosed={1}]", IsDefault, IsClosed, base.ToString()); + return $"[IssueStatus: {base.ToString()}, IsDefault={IsDefault}, IsClosed={IsClosed}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index c83c3bcd..66cdb5d7 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -172,7 +172,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[Journal: Id={0}, User={1}, Notes={2}, CreatedOn={3}, Details={4}]", Id, User, Notes, CreatedOn, Details); + return $"[Journal: Id={Id}, User={User}, Notes={Notes}, CreatedOn={CreatedOn}, Details={Details}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index 85d247ed..44e22724 100755 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -121,7 +121,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[Membership: {2}, Project={0}, Roles={1}]", Project, Roles, base.ToString()); + return $"[Membership: {base.ToString()}, Project={Project}, Roles={Roles}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs index be1500e4..edfe3bae 100755 --- a/src/redmine-net-api/Types/MembershipRole.cs +++ b/src/redmine-net-api/Types/MembershipRole.cs @@ -94,7 +94,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[MembershipRole: {1}, Inherited={0}]", Inherited, base.ToString()); + return $"[MembershipRole: {base.ToString()}, Inherited={Inherited}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index f5921e75..80bd3664 100755 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -162,8 +162,8 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[News: {6}, Project={0}, Author={1}, Title={2}, Summary={3}, Description={4}, CreatedOn={5}]", - Project, Author, Title, Summary, Description, CreatedOn, base.ToString()); + return + $"[News: {base.ToString()}, Project={Project}, Author={Author}, Title={Title}, Summary={Summary}, Description={Description}, CreatedOn={CreatedOn}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index dcd3e137..9706629d 100755 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -75,7 +75,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[Permission: Info={0}]", Info); + return $"[Permission: Info={Info}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 3505f376..3179e516 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -295,8 +295,8 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[Project: {13}, Identifier={0}, Description={1}, Parent={2}, HomePage={3}, CreatedOn={4}, UpdatedOn={5}, Status={6}, IsPublic={7}, InheritMembers={8}, Trackers={9}, CustomFields={10}, IssueCategories={11}, EnabledModules={12}]", - Identifier, Description, Parent, HomePage, CreatedOn, UpdatedOn, Status, IsPublic, InheritMembers, Trackers, CustomFields, IssueCategories, EnabledModules, base.ToString()); + return + $"[Project: {base.ToString()}, Identifier={Identifier}, Description={Description}, Parent={Parent}, HomePage={HomePage}, CreatedOn={CreatedOn}, UpdatedOn={UpdatedOn}, Status={Status}, IsPublic={IsPublic}, InheritMembers={InheritMembers}, Trackers={Trackers}, CustomFields={CustomFields}, IssueCategories={IssueCategories}, EnabledModules={EnabledModules}]"; } } } diff --git a/src/redmine-net-api/Types/ProjectEnabledModule.cs b/src/redmine-net-api/Types/ProjectEnabledModule.cs index 7723082e..23e71027 100755 --- a/src/redmine-net-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net-api/Types/ProjectEnabledModule.cs @@ -40,7 +40,7 @@ public string Value /// public override string ToString() { - return string.Format("[ProjectEnabledModule: {0}]", base.ToString()); + return $"[ProjectEnabledModule: {base.ToString()}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/ProjectIssueCategory.cs b/src/redmine-net-api/Types/ProjectIssueCategory.cs index ec2d4f51..4c4d58c3 100755 --- a/src/redmine-net-api/Types/ProjectIssueCategory.cs +++ b/src/redmine-net-api/Types/ProjectIssueCategory.cs @@ -30,7 +30,7 @@ public class ProjectIssueCategory : IdentifiableName /// public override string ToString () { - return string.Format ("[ProjectIssueCategory: {0}]", base.ToString()); + return $"[ProjectIssueCategory: {base.ToString()}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index 3dc0e494..6175d16c 100755 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -154,7 +154,8 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[ProjectMembership: {4}, Project={0}, User={1}, Group={2}, Roles={3}]", Project, User, Group, Roles, base.ToString()); + return + $"[ProjectMembership: {base.ToString()}, Project={Project}, User={User}, Group={Group}, Roles={Roles}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs index 518a419c..ccd5d6e5 100755 --- a/src/redmine-net-api/Types/ProjectTracker.cs +++ b/src/redmine-net-api/Types/ProjectTracker.cs @@ -36,7 +36,7 @@ public class ProjectTracker : IdentifiableName, IValue /// public override string ToString () { - return string.Format ("[ProjectTracker: {0}]", base.ToString()); + return $"[ProjectTracker: {base.ToString()}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Query.cs b/src/redmine-net-api/Types/Query.cs index 4239ba75..160deacf 100755 --- a/src/redmine-net-api/Types/Query.cs +++ b/src/redmine-net-api/Types/Query.cs @@ -113,7 +113,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[Query: {2}, IsPublic={0}, ProjectId={1}]", IsPublic, ProjectId, base.ToString()); + return $"[Query: {base.ToString()}, IsPublic={IsPublic}, ProjectId={ProjectId}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index 774c03ea..fcf6fa93 100755 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -120,7 +120,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[Role: Id={0}, Name={1}, Permissions={2}]", Id, Name, Permissions); + return $"[Role: Id={Id}, Name={Name}, Permissions={Permissions}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index d5de2b17..68f67281 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -246,8 +246,8 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[TimeEntry: {10}, Issue={0}, Project={1}, SpentOn={2}, Hours={3}, Activity={4}, User={5}, Comments={6}, CreatedOn={7}, UpdatedOn={8}, CustomFields={9}]", - Issue, Project, SpentOn, Hours, Activity, User, Comments, CreatedOn, UpdatedOn, CustomFields, base.ToString()); + return + $"[TimeEntry: {base.ToString()}, Issue={Issue}, Project={Project}, SpentOn={SpentOn}, Hours={Hours}, Activity={Activity}, User={User}, Comments={Comments}, CreatedOn={CreatedOn}, UpdatedOn={UpdatedOn}, CustomFields={CustomFields}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index 36f8d338..2c6a9f12 100755 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -122,7 +122,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[TimeEntryActivity: Id={0}, Name={1}, IsDefault={2}]", Id, Name, IsDefault); + return $"[TimeEntryActivity: Id={Id}, Name={Name}, IsDefault={IsDefault}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs index de431525..74d1c5c2 100755 --- a/src/redmine-net-api/Types/Tracker.cs +++ b/src/redmine-net-api/Types/Tracker.cs @@ -106,7 +106,7 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[Tracker: Id={0}, Name={1}]", Id, Name); + return $"[Tracker: Id={Id}, Name={Name}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/TrackerCustomField.cs b/src/redmine-net-api/Types/TrackerCustomField.cs index a5b0fe6e..2ce4ba12 100755 --- a/src/redmine-net-api/Types/TrackerCustomField.cs +++ b/src/redmine-net-api/Types/TrackerCustomField.cs @@ -43,7 +43,7 @@ public override void ReadXml(XmlReader reader) /// public override string ToString () { - return string.Format ("[TrackerCustomField: {0}]", base.ToString()); + return $"[TrackerCustomField: {base.ToString()}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index f7476ecc..cef6b530 100755 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -114,7 +114,8 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[Upload: Token={0}, FileName={1}, ContentType={2}, Description={3}]", Token, FileName, ContentType, Description); + return + $"[Upload: Token={Token}, FileName={FileName}, ContentType={ContentType}, Description={Description}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index c9d89852..e5e66cad 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -300,8 +300,8 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[User: {14}, Login={0}, Password={1}, FirstName={2}, LastName={3}, Email={4}, EmailNotification={5}, AuthenticationModeId={6}, CreatedOn={7}, LastLoginOn={8}, ApiKey={9}, Status={10}, MustChangePassword={11}, CustomFields={12}, Memberships={13}, Groups={14}]", - Login, Password, FirstName, LastName, Email, MailNotification, AuthenticationModeId, CreatedOn, LastLoginOn, ApiKey, Status, MustChangePassword, CustomFields, Memberships, Groups, base.ToString()); + return + $"[User: {Groups}, Login={Login}, Password={Password}, FirstName={FirstName}, LastName={LastName}, Email={Email}, EmailNotification={MailNotification}, AuthenticationModeId={AuthenticationModeId}, CreatedOn={CreatedOn}, LastLoginOn={LastLoginOn}, ApiKey={ApiKey}, Status={Status}, MustChangePassword={MustChangePassword}, CustomFields={CustomFields}, Memberships={Memberships}, Groups={Groups}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/UserGroup.cs b/src/redmine-net-api/Types/UserGroup.cs index c4726b26..f38211be 100755 --- a/src/redmine-net-api/Types/UserGroup.cs +++ b/src/redmine-net-api/Types/UserGroup.cs @@ -30,7 +30,7 @@ public class UserGroup : IdentifiableName /// public override string ToString () { - return string.Format ("[UserGroup: {0}]", base.ToString()); + return $"[UserGroup: {base.ToString()}]"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index e239f53c..64d3d66f 100755 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -188,8 +188,8 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[Version: {8}, Project={0}, Description={1}, Status={2}, DueDate={3}, Sharing={4}, CreatedOn={5}, UpdatedOn={6}, CustomFields={7}]", - Project, Description, Status, DueDate, Sharing, CreatedOn, UpdatedOn, CustomFields, base.ToString()); + return + $"[Version: {base.ToString()}, Project={Project}, Description={Description}, Status={Status}, DueDate={DueDate}, Sharing={Sharing}, CreatedOn={CreatedOn}, UpdatedOn={UpdatedOn}, CustomFields={CustomFields}]"; } } diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index 5eb461bf..adfcdd63 100755 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -46,7 +46,7 @@ public string Value /// public override string ToString() { - return string.Format("[Watcher: {0}]", base.ToString()); + return $"[Watcher: {base.ToString()}]"; } /// diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index 3ca2a6da..9adfbff3 100755 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -205,8 +205,8 @@ public override int GetHashCode() /// public override string ToString() { - return string.Format("[WikiPage: {8}, Title={0}, Text={1}, Comments={2}, Version={3}, Author={4}, CreatedOn={5}, UpdatedOn={6}, Attachments={7}]", - Title, Text, Comments, Version, Author, CreatedOn, UpdatedOn, Attachments, base.ToString()); + return + $"[WikiPage: {base.ToString()}, Title={Title}, Text={Text}, Comments={Comments}, Version={Version}, Author={Author}, CreatedOn={CreatedOn}, UpdatedOn={UpdatedOn}, Attachments={Attachments}]"; } #endregion From 7c697af0fad1589c5c967d966d13198110d82b7c Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 14:33:26 +0200 Subject: [PATCH 072/601] Remove json converter extra List allocation --- src/redmine-net-api/JSonConverters/AttachmentConverter.cs | 5 ++++- src/redmine-net-api/JSonConverters/AttachmentsConverter.cs | 7 +++++-- src/redmine-net-api/JSonConverters/ChangeSetConverter.cs | 2 +- src/redmine-net-api/JSonConverters/CustomFieldConverter.cs | 2 +- .../JSonConverters/CustomFieldPossibleValueConverter.cs | 2 +- .../JSonConverters/CustomFieldRoleConverter.cs | 2 +- src/redmine-net-api/JSonConverters/DetailConverter.cs | 2 +- src/redmine-net-api/JSonConverters/ErrorConverter.cs | 2 +- src/redmine-net-api/JSonConverters/FileConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/GroupConverter.cs | 2 +- src/redmine-net-api/JSonConverters/GroupUserConverter.cs | 2 +- .../JSonConverters/IdentifiableNameConverter.cs | 2 +- .../JSonConverters/IssueCategoryConverter.cs | 2 +- src/redmine-net-api/JSonConverters/IssueChildConverter.cs | 2 +- src/redmine-net-api/JSonConverters/IssueConverter.cs | 2 +- .../JSonConverters/IssueCustomFieldConverter.cs | 2 +- .../JSonConverters/IssuePriorityConverter.cs | 2 +- .../JSonConverters/IssueRelationConverter.cs | 2 +- src/redmine-net-api/JSonConverters/IssueStatusConverter.cs | 2 +- src/redmine-net-api/JSonConverters/JournalConverter.cs | 2 +- src/redmine-net-api/JSonConverters/MembershipConverter.cs | 2 +- .../JSonConverters/MembershipRoleConverter.cs | 2 +- src/redmine-net-api/JSonConverters/NewsConverter.cs | 2 +- src/redmine-net-api/JSonConverters/PermissionConverter.cs | 2 +- src/redmine-net-api/JSonConverters/ProjectConverter.cs | 4 ++-- .../JSonConverters/ProjectEnabledModuleConverter.cs | 2 +- .../JSonConverters/ProjectIssueCategoryConverter.cs | 2 +- .../JSonConverters/ProjectMembershipConverter.cs | 2 +- .../JSonConverters/ProjectTrackerConverter.cs | 2 +- src/redmine-net-api/JSonConverters/QueryConverter.cs | 2 +- src/redmine-net-api/JSonConverters/RoleConverter.cs | 2 +- .../JSonConverters/TimeEntryActivityConverter.cs | 2 +- src/redmine-net-api/JSonConverters/TimeEntryConverter.cs | 2 +- src/redmine-net-api/JSonConverters/TrackerConverter.cs | 2 +- .../JSonConverters/TrackerCustomFieldConverter.cs | 2 +- src/redmine-net-api/JSonConverters/UploadConverter.cs | 2 +- src/redmine-net-api/JSonConverters/UserConverter.cs | 2 +- src/redmine-net-api/JSonConverters/UserGroupConverter.cs | 2 +- src/redmine-net-api/JSonConverters/VersionConverter.cs | 2 +- src/redmine-net-api/JSonConverters/WatcherConverter.cs | 2 +- src/redmine-net-api/JSonConverters/WikiPageConverter.cs | 2 +- 41 files changed, 50 insertions(+), 44 deletions(-) diff --git a/src/redmine-net-api/JSonConverters/AttachmentConverter.cs b/src/redmine-net-api/JSonConverters/AttachmentConverter.cs index 7122a92a..e8b608a8 100755 --- a/src/redmine-net-api/JSonConverters/AttachmentConverter.cs +++ b/src/redmine-net-api/JSonConverters/AttachmentConverter.cs @@ -91,7 +91,10 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// /// When overridden in a derived class, gets a collection of the supported types. /// - public override IEnumerable SupportedTypes { get { return new List(new[] { typeof(Attachment) }); } } + public override IEnumerable SupportedTypes + { + get { return new[] {typeof(Attachment)}; } + } #endregion } diff --git a/src/redmine-net-api/JSonConverters/AttachmentsConverter.cs b/src/redmine-net-api/JSonConverters/AttachmentsConverter.cs index 9b1b209d..149f21c7 100755 --- a/src/redmine-net-api/JSonConverters/AttachmentsConverter.cs +++ b/src/redmine-net-api/JSonConverters/AttachmentsConverter.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -74,7 +74,10 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// /// When overridden in a derived class, gets a collection of the supported types. /// - public override IEnumerable SupportedTypes { get { return new List(new[] { typeof(Attachments) }); } } + public override IEnumerable SupportedTypes + { + get { return new[] {typeof(Attachments)}; } + } #endregion } diff --git a/src/redmine-net-api/JSonConverters/ChangeSetConverter.cs b/src/redmine-net-api/JSonConverters/ChangeSetConverter.cs index f73ee73a..bcb1b7dd 100755 --- a/src/redmine-net-api/JSonConverters/ChangeSetConverter.cs +++ b/src/redmine-net-api/JSonConverters/ChangeSetConverter.cs @@ -73,7 +73,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(ChangeSet)}); } + get { return new[] {typeof(ChangeSet)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/CustomFieldConverter.cs b/src/redmine-net-api/JSonConverters/CustomFieldConverter.cs index db516280..98bcbf6f 100755 --- a/src/redmine-net-api/JSonConverters/CustomFieldConverter.cs +++ b/src/redmine-net-api/JSonConverters/CustomFieldConverter.cs @@ -84,7 +84,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(CustomField)}); } + get { return new[] {typeof(CustomField)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/CustomFieldPossibleValueConverter.cs b/src/redmine-net-api/JSonConverters/CustomFieldPossibleValueConverter.cs index cc36315a..434ae939 100644 --- a/src/redmine-net-api/JSonConverters/CustomFieldPossibleValueConverter.cs +++ b/src/redmine-net-api/JSonConverters/CustomFieldPossibleValueConverter.cs @@ -68,7 +68,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(CustomFieldPossibleValue)}); } + get { return new[] {typeof(CustomFieldPossibleValue)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/CustomFieldRoleConverter.cs b/src/redmine-net-api/JSonConverters/CustomFieldRoleConverter.cs index 6d93f6fe..dc18c821 100755 --- a/src/redmine-net-api/JSonConverters/CustomFieldRoleConverter.cs +++ b/src/redmine-net-api/JSonConverters/CustomFieldRoleConverter.cs @@ -68,7 +68,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(CustomFieldRole)}); } + get { return new[] {typeof(CustomFieldRole)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/DetailConverter.cs b/src/redmine-net-api/JSonConverters/DetailConverter.cs index 4984a2fd..721d8002 100755 --- a/src/redmine-net-api/JSonConverters/DetailConverter.cs +++ b/src/redmine-net-api/JSonConverters/DetailConverter.cs @@ -74,7 +74,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(Detail)}); } + get { return new[] {typeof(Detail)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/ErrorConverter.cs b/src/redmine-net-api/JSonConverters/ErrorConverter.cs index e19fdc00..178be9af 100755 --- a/src/redmine-net-api/JSonConverters/ErrorConverter.cs +++ b/src/redmine-net-api/JSonConverters/ErrorConverter.cs @@ -68,7 +68,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(Error)}); } + get { return new[] {typeof(Error)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/FileConverter.cs b/src/redmine-net-api/JSonConverters/FileConverter.cs index 8165083e..cf1ea60f 100755 --- a/src/redmine-net-api/JSonConverters/FileConverter.cs +++ b/src/redmine-net-api/JSonConverters/FileConverter.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -103,7 +103,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] { typeof(File) }); } + get { return new[] { typeof(File) }; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/GroupConverter.cs b/src/redmine-net-api/JSonConverters/GroupConverter.cs index 02083800..7c647b57 100755 --- a/src/redmine-net-api/JSonConverters/GroupConverter.cs +++ b/src/redmine-net-api/JSonConverters/GroupConverter.cs @@ -89,7 +89,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(Group)}); } + get { return new[] {typeof(Group)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/GroupUserConverter.cs b/src/redmine-net-api/JSonConverters/GroupUserConverter.cs index 9b65c69a..2ac9d56f 100755 --- a/src/redmine-net-api/JSonConverters/GroupUserConverter.cs +++ b/src/redmine-net-api/JSonConverters/GroupUserConverter.cs @@ -69,7 +69,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(GroupUser)}); } + get { return new[] {typeof(GroupUser)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/IdentifiableNameConverter.cs b/src/redmine-net-api/JSonConverters/IdentifiableNameConverter.cs index 3b0e94f3..8a907d97 100755 --- a/src/redmine-net-api/JSonConverters/IdentifiableNameConverter.cs +++ b/src/redmine-net-api/JSonConverters/IdentifiableNameConverter.cs @@ -83,7 +83,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(IdentifiableName)}); } + get { return new[] {typeof(IdentifiableName)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/IssueCategoryConverter.cs b/src/redmine-net-api/JSonConverters/IssueCategoryConverter.cs index ae698a96..528c0b8d 100755 --- a/src/redmine-net-api/JSonConverters/IssueCategoryConverter.cs +++ b/src/redmine-net-api/JSonConverters/IssueCategoryConverter.cs @@ -89,7 +89,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(IssueCategory)}); } + get { return new[] {typeof(IssueCategory)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/IssueChildConverter.cs b/src/redmine-net-api/JSonConverters/IssueChildConverter.cs index 082eeb60..4a631515 100755 --- a/src/redmine-net-api/JSonConverters/IssueChildConverter.cs +++ b/src/redmine-net-api/JSonConverters/IssueChildConverter.cs @@ -29,7 +29,7 @@ internal class IssueChildConverter : JavaScriptConverter /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(IssueChild)}); } + get { return new[] {typeof(IssueChild)}; } } /// diff --git a/src/redmine-net-api/JSonConverters/IssueConverter.cs b/src/redmine-net-api/JSonConverters/IssueConverter.cs index d3f14331..5c5ba3a8 100644 --- a/src/redmine-net-api/JSonConverters/IssueConverter.cs +++ b/src/redmine-net-api/JSonConverters/IssueConverter.cs @@ -147,7 +147,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(Issue)}); } + get { return new[] {typeof(Issue)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/IssueCustomFieldConverter.cs b/src/redmine-net-api/JSonConverters/IssueCustomFieldConverter.cs index 19170bd3..c12ece96 100755 --- a/src/redmine-net-api/JSonConverters/IssueCustomFieldConverter.cs +++ b/src/redmine-net-api/JSonConverters/IssueCustomFieldConverter.cs @@ -113,7 +113,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(IssueCustomField)}); } + get { return new[] {typeof(IssueCustomField)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/IssuePriorityConverter.cs b/src/redmine-net-api/JSonConverters/IssuePriorityConverter.cs index 6205a98e..836e0374 100755 --- a/src/redmine-net-api/JSonConverters/IssuePriorityConverter.cs +++ b/src/redmine-net-api/JSonConverters/IssuePriorityConverter.cs @@ -29,7 +29,7 @@ internal class IssuePriorityConverter : JavaScriptConverter /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(IssuePriority)}); } + get { return new[] {typeof(IssuePriority)}; } } /// diff --git a/src/redmine-net-api/JSonConverters/IssueRelationConverter.cs b/src/redmine-net-api/JSonConverters/IssueRelationConverter.cs index 0c42b0c5..3fbefa61 100755 --- a/src/redmine-net-api/JSonConverters/IssueRelationConverter.cs +++ b/src/redmine-net-api/JSonConverters/IssueRelationConverter.cs @@ -93,7 +93,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(IssueRelation)}); } + get { return new[] {typeof(IssueRelation)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/IssueStatusConverter.cs b/src/redmine-net-api/JSonConverters/IssueStatusConverter.cs index 0965ce90..702afda1 100755 --- a/src/redmine-net-api/JSonConverters/IssueStatusConverter.cs +++ b/src/redmine-net-api/JSonConverters/IssueStatusConverter.cs @@ -73,7 +73,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(IssueStatus)}); } + get { return new[] {typeof(IssueStatus)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/JournalConverter.cs b/src/redmine-net-api/JSonConverters/JournalConverter.cs index 7336f90d..23226cb0 100644 --- a/src/redmine-net-api/JSonConverters/JournalConverter.cs +++ b/src/redmine-net-api/JSonConverters/JournalConverter.cs @@ -76,7 +76,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(Journal)}); } + get { return new[] {typeof(Journal)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/MembershipConverter.cs b/src/redmine-net-api/JSonConverters/MembershipConverter.cs index 784de771..27de7c51 100755 --- a/src/redmine-net-api/JSonConverters/MembershipConverter.cs +++ b/src/redmine-net-api/JSonConverters/MembershipConverter.cs @@ -73,7 +73,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(Membership)}); } + get { return new[] {typeof(Membership)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/MembershipRoleConverter.cs b/src/redmine-net-api/JSonConverters/MembershipRoleConverter.cs index cd9b57c0..6042ab8b 100755 --- a/src/redmine-net-api/JSonConverters/MembershipRoleConverter.cs +++ b/src/redmine-net-api/JSonConverters/MembershipRoleConverter.cs @@ -73,7 +73,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(MembershipRole)}); } + get { return new[] {typeof(MembershipRole)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/NewsConverter.cs b/src/redmine-net-api/JSonConverters/NewsConverter.cs index fb1ce0b2..d77bce89 100755 --- a/src/redmine-net-api/JSonConverters/NewsConverter.cs +++ b/src/redmine-net-api/JSonConverters/NewsConverter.cs @@ -76,7 +76,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(News)}); } + get { return new[] {typeof(News)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/PermissionConverter.cs b/src/redmine-net-api/JSonConverters/PermissionConverter.cs index dd4905d2..606ab8dc 100755 --- a/src/redmine-net-api/JSonConverters/PermissionConverter.cs +++ b/src/redmine-net-api/JSonConverters/PermissionConverter.cs @@ -29,7 +29,7 @@ internal class PermissionConverter : JavaScriptConverter /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(Permission)}); } + get { return new[] {typeof(Permission)}; } } /// diff --git a/src/redmine-net-api/JSonConverters/ProjectConverter.cs b/src/redmine-net-api/JSonConverters/ProjectConverter.cs index 9f897864..9966622e 100755 --- a/src/redmine-net-api/JSonConverters/ProjectConverter.cs +++ b/src/redmine-net-api/JSonConverters/ProjectConverter.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -110,7 +110,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] { typeof(Project) }); } + get { return new[] { typeof(Project) }; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/ProjectEnabledModuleConverter.cs b/src/redmine-net-api/JSonConverters/ProjectEnabledModuleConverter.cs index 8ec50390..977667e7 100755 --- a/src/redmine-net-api/JSonConverters/ProjectEnabledModuleConverter.cs +++ b/src/redmine-net-api/JSonConverters/ProjectEnabledModuleConverter.cs @@ -69,7 +69,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(ProjectEnabledModule)}); } + get { return new[] {typeof(ProjectEnabledModule)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/ProjectIssueCategoryConverter.cs b/src/redmine-net-api/JSonConverters/ProjectIssueCategoryConverter.cs index 44d366d7..14d91a37 100755 --- a/src/redmine-net-api/JSonConverters/ProjectIssueCategoryConverter.cs +++ b/src/redmine-net-api/JSonConverters/ProjectIssueCategoryConverter.cs @@ -81,7 +81,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(ProjectIssueCategory)}); } + get { return new[] {typeof(ProjectIssueCategory)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/ProjectMembershipConverter.cs b/src/redmine-net-api/JSonConverters/ProjectMembershipConverter.cs index 9e22e06b..c5e16fac 100755 --- a/src/redmine-net-api/JSonConverters/ProjectMembershipConverter.cs +++ b/src/redmine-net-api/JSonConverters/ProjectMembershipConverter.cs @@ -87,7 +87,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(ProjectMembership)}); } + get { return new[] {typeof(ProjectMembership)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/ProjectTrackerConverter.cs b/src/redmine-net-api/JSonConverters/ProjectTrackerConverter.cs index cc41bdf4..dc529b06 100755 --- a/src/redmine-net-api/JSonConverters/ProjectTrackerConverter.cs +++ b/src/redmine-net-api/JSonConverters/ProjectTrackerConverter.cs @@ -69,7 +69,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(ProjectTracker)}); } + get { return new[] {typeof(ProjectTracker)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/QueryConverter.cs b/src/redmine-net-api/JSonConverters/QueryConverter.cs index 75bb5410..279e3509 100755 --- a/src/redmine-net-api/JSonConverters/QueryConverter.cs +++ b/src/redmine-net-api/JSonConverters/QueryConverter.cs @@ -74,7 +74,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(Query)}); } + get { return new[] {typeof(Query)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/RoleConverter.cs b/src/redmine-net-api/JSonConverters/RoleConverter.cs index 754a21f3..07da8eab 100755 --- a/src/redmine-net-api/JSonConverters/RoleConverter.cs +++ b/src/redmine-net-api/JSonConverters/RoleConverter.cs @@ -83,7 +83,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(Role)}); } + get { return new[] {typeof(Role)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/TimeEntryActivityConverter.cs b/src/redmine-net-api/JSonConverters/TimeEntryActivityConverter.cs index 8ee50dfb..126305bc 100755 --- a/src/redmine-net-api/JSonConverters/TimeEntryActivityConverter.cs +++ b/src/redmine-net-api/JSonConverters/TimeEntryActivityConverter.cs @@ -29,7 +29,7 @@ internal class TimeEntryActivityConverter : JavaScriptConverter /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(TimeEntryActivity)}); } + get { return new[] {typeof(TimeEntryActivity)}; } } /// diff --git a/src/redmine-net-api/JSonConverters/TimeEntryConverter.cs b/src/redmine-net-api/JSonConverters/TimeEntryConverter.cs index 1da798c6..c2113f7a 100755 --- a/src/redmine-net-api/JSonConverters/TimeEntryConverter.cs +++ b/src/redmine-net-api/JSonConverters/TimeEntryConverter.cs @@ -112,7 +112,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(TimeEntry)}); } + get { return new[] {typeof(TimeEntry)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/TrackerConverter.cs b/src/redmine-net-api/JSonConverters/TrackerConverter.cs index a402c1a8..58a25882 100755 --- a/src/redmine-net-api/JSonConverters/TrackerConverter.cs +++ b/src/redmine-net-api/JSonConverters/TrackerConverter.cs @@ -72,7 +72,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(Tracker)}); } + get { return new[] {typeof(Tracker)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/TrackerCustomFieldConverter.cs b/src/redmine-net-api/JSonConverters/TrackerCustomFieldConverter.cs index 51b699b0..84bceb12 100755 --- a/src/redmine-net-api/JSonConverters/TrackerCustomFieldConverter.cs +++ b/src/redmine-net-api/JSonConverters/TrackerCustomFieldConverter.cs @@ -59,7 +59,7 @@ public override object Deserialize(IDictionary dictionary, Type /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(TrackerCustomField)}); } + get { return new[] {typeof(TrackerCustomField)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/UploadConverter.cs b/src/redmine-net-api/JSonConverters/UploadConverter.cs index 1400509c..954c5db0 100755 --- a/src/redmine-net-api/JSonConverters/UploadConverter.cs +++ b/src/redmine-net-api/JSonConverters/UploadConverter.cs @@ -84,7 +84,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(Upload)}); } + get { return new[] {typeof(Upload)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/UserConverter.cs b/src/redmine-net-api/JSonConverters/UserConverter.cs index 6a688835..b886085a 100644 --- a/src/redmine-net-api/JSonConverters/UserConverter.cs +++ b/src/redmine-net-api/JSonConverters/UserConverter.cs @@ -118,7 +118,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(User)}); } + get { return new[] {typeof(User)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/UserGroupConverter.cs b/src/redmine-net-api/JSonConverters/UserGroupConverter.cs index e295464a..d5664f3a 100755 --- a/src/redmine-net-api/JSonConverters/UserGroupConverter.cs +++ b/src/redmine-net-api/JSonConverters/UserGroupConverter.cs @@ -31,7 +31,7 @@ internal class UserGroupConverter : IdentifiableNameConverter /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(UserGroup)}); } + get { return new[] {typeof(UserGroup)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/VersionConverter.cs b/src/redmine-net-api/JSonConverters/VersionConverter.cs index 8a081573..0ff9e247 100755 --- a/src/redmine-net-api/JSonConverters/VersionConverter.cs +++ b/src/redmine-net-api/JSonConverters/VersionConverter.cs @@ -98,7 +98,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(Version)}); } + get { return new[] {typeof(Version)}; } } #endregion diff --git a/src/redmine-net-api/JSonConverters/WatcherConverter.cs b/src/redmine-net-api/JSonConverters/WatcherConverter.cs index 6752be08..684beb69 100755 --- a/src/redmine-net-api/JSonConverters/WatcherConverter.cs +++ b/src/redmine-net-api/JSonConverters/WatcherConverter.cs @@ -29,7 +29,7 @@ internal class WatcherConverter : JavaScriptConverter /// public override IEnumerable SupportedTypes { - get { return new List(new[] {typeof(Watcher)}); } + get { return new[] {typeof(Watcher)}; } } /// diff --git a/src/redmine-net-api/JSonConverters/WikiPageConverter.cs b/src/redmine-net-api/JSonConverters/WikiPageConverter.cs index d5111b6d..968bb544 100755 --- a/src/redmine-net-api/JSonConverters/WikiPageConverter.cs +++ b/src/redmine-net-api/JSonConverters/WikiPageConverter.cs @@ -29,7 +29,7 @@ internal class WikiPageConverter : JavaScriptConverter /// public override IEnumerable SupportedTypes { - get { return new List(new[] { typeof(WikiPage) }); } + get { return new[] { typeof(WikiPage) }; } } /// From 9446090cfd4edf9619942341de80f0b4296067b8 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 14:40:59 +0200 Subject: [PATCH 073/601] Resolve CS1574 --- src/redmine-net-api/JSonConverters/AttachmentConverter.cs | 2 +- src/redmine-net-api/JSonConverters/AttachmentsConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/ChangeSetConverter.cs | 2 +- src/redmine-net-api/JSonConverters/DetailConverter.cs | 2 +- src/redmine-net-api/JSonConverters/ErrorConverter.cs | 2 +- src/redmine-net-api/JSonConverters/FileConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/GroupConverter.cs | 2 +- .../JSonConverters/IdentifiableNameConverter.cs | 2 +- src/redmine-net-api/JSonConverters/IssueCategoryConverter.cs | 2 +- src/redmine-net-api/JSonConverters/IssueChildConverter.cs | 2 +- src/redmine-net-api/JSonConverters/IssueConverter.cs | 2 +- .../JSonConverters/IssueCustomFieldConverter.cs | 2 +- src/redmine-net-api/JSonConverters/IssuePriorityConverter.cs | 2 +- src/redmine-net-api/JSonConverters/IssueRelationConverter.cs | 2 +- src/redmine-net-api/JSonConverters/IssueStatusConverter.cs | 2 +- src/redmine-net-api/JSonConverters/JournalConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/MembershipConverter.cs | 2 +- src/redmine-net-api/JSonConverters/MembershipRoleConverter.cs | 2 +- src/redmine-net-api/JSonConverters/NewsConverter.cs | 2 +- src/redmine-net-api/JSonConverters/PermissionConverter.cs | 2 +- src/redmine-net-api/JSonConverters/ProjectConverter.cs | 2 +- .../JSonConverters/ProjectEnabledModuleConverter.cs | 2 +- .../JSonConverters/ProjectIssueCategoryConverter.cs | 4 ++-- .../JSonConverters/ProjectMembershipConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/ProjectTrackerConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/QueryConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/RoleConverter.cs | 4 ++-- .../JSonConverters/TimeEntryActivityConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/TimeEntryConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/TrackerConverter.cs | 4 ++-- .../JSonConverters/TrackerCustomFieldConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/UploadConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/UserConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/UserGroupConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/VersionConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/WatcherConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/WikiPageConverter.cs | 4 ++-- 37 files changed, 55 insertions(+), 55 deletions(-) diff --git a/src/redmine-net-api/JSonConverters/AttachmentConverter.cs b/src/redmine-net-api/JSonConverters/AttachmentConverter.cs index e8b608a8..aab99206 100755 --- a/src/redmine-net-api/JSonConverters/AttachmentConverter.cs +++ b/src/redmine-net-api/JSonConverters/AttachmentConverter.cs @@ -36,7 +36,7 @@ internal class AttachmentConverter : JavaScriptConverter /// /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// - /// An instance of property data stored as name/value pairs. + /// An instance of property data stored as name/value pairs. /// The type of the resulting object. /// The instance. /// diff --git a/src/redmine-net-api/JSonConverters/AttachmentsConverter.cs b/src/redmine-net-api/JSonConverters/AttachmentsConverter.cs index 149f21c7..bc95d87e 100755 --- a/src/redmine-net-api/JSonConverters/AttachmentsConverter.cs +++ b/src/redmine-net-api/JSonConverters/AttachmentsConverter.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -32,7 +32,7 @@ internal class AttachmentsConverter : JavaScriptConverter /// /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// - /// An instance of property data stored as name/value pairs. + /// An instance of property data stored as name/value pairs. /// The type of the resulting object. /// The instance. /// diff --git a/src/redmine-net-api/JSonConverters/ChangeSetConverter.cs b/src/redmine-net-api/JSonConverters/ChangeSetConverter.cs index bcb1b7dd..56b6de4f 100755 --- a/src/redmine-net-api/JSonConverters/ChangeSetConverter.cs +++ b/src/redmine-net-api/JSonConverters/ChangeSetConverter.cs @@ -29,7 +29,7 @@ internal class ChangeSetConverter : JavaScriptConverter /// /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// - /// An instance of property data stored as name/value pairs. + /// An instance of property data stored as name/value pairs. /// The type of the resulting object. /// The instance. /// diff --git a/src/redmine-net-api/JSonConverters/DetailConverter.cs b/src/redmine-net-api/JSonConverters/DetailConverter.cs index 721d8002..85aec9dd 100755 --- a/src/redmine-net-api/JSonConverters/DetailConverter.cs +++ b/src/redmine-net-api/JSonConverters/DetailConverter.cs @@ -30,7 +30,7 @@ internal class DetailConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/ErrorConverter.cs b/src/redmine-net-api/JSonConverters/ErrorConverter.cs index 178be9af..9e388f18 100755 --- a/src/redmine-net-api/JSonConverters/ErrorConverter.cs +++ b/src/redmine-net-api/JSonConverters/ErrorConverter.cs @@ -30,7 +30,7 @@ internal class ErrorConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/FileConverter.cs b/src/redmine-net-api/JSonConverters/FileConverter.cs index cf1ea60f..1fe97b53 100755 --- a/src/redmine-net-api/JSonConverters/FileConverter.cs +++ b/src/redmine-net-api/JSonConverters/FileConverter.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -30,7 +30,7 @@ internal class FileConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/GroupConverter.cs b/src/redmine-net-api/JSonConverters/GroupConverter.cs index 7c647b57..893888de 100755 --- a/src/redmine-net-api/JSonConverters/GroupConverter.cs +++ b/src/redmine-net-api/JSonConverters/GroupConverter.cs @@ -30,7 +30,7 @@ internal class GroupConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/IdentifiableNameConverter.cs b/src/redmine-net-api/JSonConverters/IdentifiableNameConverter.cs index 8a907d97..4ea1bc91 100755 --- a/src/redmine-net-api/JSonConverters/IdentifiableNameConverter.cs +++ b/src/redmine-net-api/JSonConverters/IdentifiableNameConverter.cs @@ -30,7 +30,7 @@ internal class IdentifiableNameConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/IssueCategoryConverter.cs b/src/redmine-net-api/JSonConverters/IssueCategoryConverter.cs index 528c0b8d..8a0f34f5 100755 --- a/src/redmine-net-api/JSonConverters/IssueCategoryConverter.cs +++ b/src/redmine-net-api/JSonConverters/IssueCategoryConverter.cs @@ -30,7 +30,7 @@ internal class IssueCategoryConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/IssueChildConverter.cs b/src/redmine-net-api/JSonConverters/IssueChildConverter.cs index 4a631515..bfd7d233 100755 --- a/src/redmine-net-api/JSonConverters/IssueChildConverter.cs +++ b/src/redmine-net-api/JSonConverters/IssueChildConverter.cs @@ -35,7 +35,7 @@ public override IEnumerable SupportedTypes /// /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// - /// An instance of property data stored as name/value pairs. + /// An instance of property data stored as name/value pairs. /// The type of the resulting object. /// The instance. /// diff --git a/src/redmine-net-api/JSonConverters/IssueConverter.cs b/src/redmine-net-api/JSonConverters/IssueConverter.cs index 5c5ba3a8..fac26cef 100644 --- a/src/redmine-net-api/JSonConverters/IssueConverter.cs +++ b/src/redmine-net-api/JSonConverters/IssueConverter.cs @@ -32,7 +32,7 @@ internal class IssueConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/IssueCustomFieldConverter.cs b/src/redmine-net-api/JSonConverters/IssueCustomFieldConverter.cs index c12ece96..f788e242 100755 --- a/src/redmine-net-api/JSonConverters/IssueCustomFieldConverter.cs +++ b/src/redmine-net-api/JSonConverters/IssueCustomFieldConverter.cs @@ -34,7 +34,7 @@ internal class IssueCustomFieldConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/IssuePriorityConverter.cs b/src/redmine-net-api/JSonConverters/IssuePriorityConverter.cs index 836e0374..bb41d295 100755 --- a/src/redmine-net-api/JSonConverters/IssuePriorityConverter.cs +++ b/src/redmine-net-api/JSonConverters/IssuePriorityConverter.cs @@ -36,7 +36,7 @@ public override IEnumerable SupportedTypes /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/IssueRelationConverter.cs b/src/redmine-net-api/JSonConverters/IssueRelationConverter.cs index 3fbefa61..c5b0ce4a 100755 --- a/src/redmine-net-api/JSonConverters/IssueRelationConverter.cs +++ b/src/redmine-net-api/JSonConverters/IssueRelationConverter.cs @@ -32,7 +32,7 @@ internal class IssueRelationConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/IssueStatusConverter.cs b/src/redmine-net-api/JSonConverters/IssueStatusConverter.cs index 702afda1..f3c6815f 100755 --- a/src/redmine-net-api/JSonConverters/IssueStatusConverter.cs +++ b/src/redmine-net-api/JSonConverters/IssueStatusConverter.cs @@ -30,7 +30,7 @@ internal class IssueStatusConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/JournalConverter.cs b/src/redmine-net-api/JSonConverters/JournalConverter.cs index 23226cb0..f6a3ba5d 100644 --- a/src/redmine-net-api/JSonConverters/JournalConverter.cs +++ b/src/redmine-net-api/JSonConverters/JournalConverter.cs @@ -30,11 +30,11 @@ internal class JournalConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// diff --git a/src/redmine-net-api/JSonConverters/MembershipConverter.cs b/src/redmine-net-api/JSonConverters/MembershipConverter.cs index 27de7c51..8ec11a74 100755 --- a/src/redmine-net-api/JSonConverters/MembershipConverter.cs +++ b/src/redmine-net-api/JSonConverters/MembershipConverter.cs @@ -30,7 +30,7 @@ internal class MembershipConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/MembershipRoleConverter.cs b/src/redmine-net-api/JSonConverters/MembershipRoleConverter.cs index 6042ab8b..c1548591 100755 --- a/src/redmine-net-api/JSonConverters/MembershipRoleConverter.cs +++ b/src/redmine-net-api/JSonConverters/MembershipRoleConverter.cs @@ -30,7 +30,7 @@ internal class MembershipRoleConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/NewsConverter.cs b/src/redmine-net-api/JSonConverters/NewsConverter.cs index d77bce89..71420ba4 100755 --- a/src/redmine-net-api/JSonConverters/NewsConverter.cs +++ b/src/redmine-net-api/JSonConverters/NewsConverter.cs @@ -30,7 +30,7 @@ internal class NewsConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/PermissionConverter.cs b/src/redmine-net-api/JSonConverters/PermissionConverter.cs index 606ab8dc..7e2895d6 100755 --- a/src/redmine-net-api/JSonConverters/PermissionConverter.cs +++ b/src/redmine-net-api/JSonConverters/PermissionConverter.cs @@ -36,7 +36,7 @@ public override IEnumerable SupportedTypes /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/ProjectConverter.cs b/src/redmine-net-api/JSonConverters/ProjectConverter.cs index 9966622e..da50fe18 100755 --- a/src/redmine-net-api/JSonConverters/ProjectConverter.cs +++ b/src/redmine-net-api/JSonConverters/ProjectConverter.cs @@ -32,7 +32,7 @@ internal class ProjectConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/ProjectEnabledModuleConverter.cs b/src/redmine-net-api/JSonConverters/ProjectEnabledModuleConverter.cs index 977667e7..089d9f4b 100755 --- a/src/redmine-net-api/JSonConverters/ProjectEnabledModuleConverter.cs +++ b/src/redmine-net-api/JSonConverters/ProjectEnabledModuleConverter.cs @@ -30,7 +30,7 @@ internal class ProjectEnabledModuleConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. diff --git a/src/redmine-net-api/JSonConverters/ProjectIssueCategoryConverter.cs b/src/redmine-net-api/JSonConverters/ProjectIssueCategoryConverter.cs index 14d91a37..0319ccbc 100755 --- a/src/redmine-net-api/JSonConverters/ProjectIssueCategoryConverter.cs +++ b/src/redmine-net-api/JSonConverters/ProjectIssueCategoryConverter.cs @@ -30,11 +30,11 @@ internal class ProjectIssueCategoryConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// diff --git a/src/redmine-net-api/JSonConverters/ProjectMembershipConverter.cs b/src/redmine-net-api/JSonConverters/ProjectMembershipConverter.cs index c5e16fac..595f31fb 100755 --- a/src/redmine-net-api/JSonConverters/ProjectMembershipConverter.cs +++ b/src/redmine-net-api/JSonConverters/ProjectMembershipConverter.cs @@ -30,11 +30,11 @@ internal class ProjectMembershipConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// diff --git a/src/redmine-net-api/JSonConverters/ProjectTrackerConverter.cs b/src/redmine-net-api/JSonConverters/ProjectTrackerConverter.cs index dc529b06..5697d888 100755 --- a/src/redmine-net-api/JSonConverters/ProjectTrackerConverter.cs +++ b/src/redmine-net-api/JSonConverters/ProjectTrackerConverter.cs @@ -30,11 +30,11 @@ internal class ProjectTrackerConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// diff --git a/src/redmine-net-api/JSonConverters/QueryConverter.cs b/src/redmine-net-api/JSonConverters/QueryConverter.cs index 279e3509..88f8fc62 100755 --- a/src/redmine-net-api/JSonConverters/QueryConverter.cs +++ b/src/redmine-net-api/JSonConverters/QueryConverter.cs @@ -30,11 +30,11 @@ internal class QueryConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// diff --git a/src/redmine-net-api/JSonConverters/RoleConverter.cs b/src/redmine-net-api/JSonConverters/RoleConverter.cs index 07da8eab..b14af70a 100755 --- a/src/redmine-net-api/JSonConverters/RoleConverter.cs +++ b/src/redmine-net-api/JSonConverters/RoleConverter.cs @@ -31,11 +31,11 @@ internal class RoleConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// diff --git a/src/redmine-net-api/JSonConverters/TimeEntryActivityConverter.cs b/src/redmine-net-api/JSonConverters/TimeEntryActivityConverter.cs index 126305bc..435b29ef 100755 --- a/src/redmine-net-api/JSonConverters/TimeEntryActivityConverter.cs +++ b/src/redmine-net-api/JSonConverters/TimeEntryActivityConverter.cs @@ -36,11 +36,11 @@ public override IEnumerable SupportedTypes /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// diff --git a/src/redmine-net-api/JSonConverters/TimeEntryConverter.cs b/src/redmine-net-api/JSonConverters/TimeEntryConverter.cs index c2113f7a..3e001bd0 100755 --- a/src/redmine-net-api/JSonConverters/TimeEntryConverter.cs +++ b/src/redmine-net-api/JSonConverters/TimeEntryConverter.cs @@ -30,11 +30,11 @@ internal class TimeEntryConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// diff --git a/src/redmine-net-api/JSonConverters/TrackerConverter.cs b/src/redmine-net-api/JSonConverters/TrackerConverter.cs index 58a25882..221dbae4 100755 --- a/src/redmine-net-api/JSonConverters/TrackerConverter.cs +++ b/src/redmine-net-api/JSonConverters/TrackerConverter.cs @@ -30,11 +30,11 @@ internal class TrackerConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// diff --git a/src/redmine-net-api/JSonConverters/TrackerCustomFieldConverter.cs b/src/redmine-net-api/JSonConverters/TrackerCustomFieldConverter.cs index 84bceb12..415480b3 100755 --- a/src/redmine-net-api/JSonConverters/TrackerCustomFieldConverter.cs +++ b/src/redmine-net-api/JSonConverters/TrackerCustomFieldConverter.cs @@ -30,11 +30,11 @@ internal class TrackerCustomFieldConverter : IdentifiableNameConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// diff --git a/src/redmine-net-api/JSonConverters/UploadConverter.cs b/src/redmine-net-api/JSonConverters/UploadConverter.cs index 954c5db0..1df7d6f1 100755 --- a/src/redmine-net-api/JSonConverters/UploadConverter.cs +++ b/src/redmine-net-api/JSonConverters/UploadConverter.cs @@ -30,11 +30,11 @@ internal class UploadConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// diff --git a/src/redmine-net-api/JSonConverters/UserConverter.cs b/src/redmine-net-api/JSonConverters/UserConverter.cs index b886085a..ee34bed5 100644 --- a/src/redmine-net-api/JSonConverters/UserConverter.cs +++ b/src/redmine-net-api/JSonConverters/UserConverter.cs @@ -31,11 +31,11 @@ internal class UserConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// diff --git a/src/redmine-net-api/JSonConverters/UserGroupConverter.cs b/src/redmine-net-api/JSonConverters/UserGroupConverter.cs index d5664f3a..2137bb10 100755 --- a/src/redmine-net-api/JSonConverters/UserGroupConverter.cs +++ b/src/redmine-net-api/JSonConverters/UserGroupConverter.cs @@ -40,11 +40,11 @@ public override IEnumerable SupportedTypes /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// diff --git a/src/redmine-net-api/JSonConverters/VersionConverter.cs b/src/redmine-net-api/JSonConverters/VersionConverter.cs index 0ff9e247..b3f7bf34 100755 --- a/src/redmine-net-api/JSonConverters/VersionConverter.cs +++ b/src/redmine-net-api/JSonConverters/VersionConverter.cs @@ -31,11 +31,11 @@ internal class VersionConverter : JavaScriptConverter /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// diff --git a/src/redmine-net-api/JSonConverters/WatcherConverter.cs b/src/redmine-net-api/JSonConverters/WatcherConverter.cs index 684beb69..3c3a1d31 100755 --- a/src/redmine-net-api/JSonConverters/WatcherConverter.cs +++ b/src/redmine-net-api/JSonConverters/WatcherConverter.cs @@ -36,11 +36,11 @@ public override IEnumerable SupportedTypes /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// diff --git a/src/redmine-net-api/JSonConverters/WikiPageConverter.cs b/src/redmine-net-api/JSonConverters/WikiPageConverter.cs index 968bb544..c5c6af0a 100755 --- a/src/redmine-net-api/JSonConverters/WikiPageConverter.cs +++ b/src/redmine-net-api/JSonConverters/WikiPageConverter.cs @@ -36,11 +36,11 @@ public override IEnumerable SupportedTypes /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. /// /// - /// An instance of property data stored + /// An instance of property data stored /// as name/value pairs. /// /// The type of the resulting object. - /// The instance. + /// The instance. /// /// The deserialized object. /// From e8c7c4c7df2b94bfd1a67188a956534ea403ee3d Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 14:44:14 +0200 Subject: [PATCH 074/601] Add ToLowerInv(string|bool)) extensions --- src/redmine-net-api/Extensions/JsonExtensions.cs | 10 ++++++++++ src/redmine-net-api/Extensions/StringExtensions.cs | 10 ++++++++++ src/redmine-net-api/Internals/RedmineSerializerJson.cs | 5 +++-- src/redmine-net-api/JSonConverters/IssueConverter.cs | 4 ++-- src/redmine-net-api/JSonConverters/ProjectConverter.cs | 6 +++--- src/redmine-net-api/JSonConverters/UserConverter.cs | 2 +- 6 files changed, 29 insertions(+), 8 deletions(-) diff --git a/src/redmine-net-api/Extensions/JsonExtensions.cs b/src/redmine-net-api/Extensions/JsonExtensions.cs index 91292ae1..34a8d00a 100644 --- a/src/redmine-net-api/Extensions/JsonExtensions.cs +++ b/src/redmine-net-api/Extensions/JsonExtensions.cs @@ -217,6 +217,16 @@ public static IdentifiableName GetValueAsIdentifiableName(this IDictionary + /// + /// + /// + /// + public static string ToLowerInv(this bool value) + { + return !value ? "false" : "true"; + } } } #endif \ No newline at end of file diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index bc9f69c9..5f563fa4 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -49,5 +49,15 @@ public static string Truncate(this string text, int maximumLength) return text; } + + /// + /// Lower case based on invariant culture. + /// + /// + /// + public static string ToLowerInv(this string text) + { + return text.IsNullOrWhiteSpace() ? text : text.ToLowerInvariant(); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Internals/RedmineSerializerJson.cs b/src/redmine-net-api/Internals/RedmineSerializerJson.cs index 2395db87..8dff8bb8 100755 --- a/src/redmine-net-api/Internals/RedmineSerializerJson.cs +++ b/src/redmine-net-api/Internals/RedmineSerializerJson.cs @@ -21,6 +21,7 @@ limitations under the License. using System.Linq; using Redmine.Net.Api.JSonConverters; using Redmine.Net.Api.Types; +using Redmine.Net.Api.Extensions; using Version = Redmine.Net.Api.Types.Version; namespace Redmine.Net.Api.Internals @@ -158,7 +159,7 @@ public static object JsonDeserialize(string jsonString, Type type, string root) if (dictionary == null) return null; object obj; - return !dictionary.TryGetValue(root ?? type.Name.ToLowerInvariant(), out obj) ? null : serializer.ConvertToType(obj, type); + return !dictionary.TryGetValue(root ?? type.Name.ToLowerInv(), out obj) ? null : serializer.ConvertToType(obj, type); } /// @@ -211,7 +212,7 @@ private static object JsonDeserializeToList(string jsonString, string root, Type if (dictionary.TryGetValue(RedmineKeys.OFFSET, out off)) offset = (int)off; - if (!dictionary.TryGetValue(root.ToLowerInvariant(), out obj)) return null; + if (!dictionary.TryGetValue(root.ToLowerInv(), out obj)) return null; var arrayList = new ArrayList(); if (type == typeof(Error)) diff --git a/src/redmine-net-api/JSonConverters/IssueConverter.cs b/src/redmine-net-api/JSonConverters/IssueConverter.cs index fac26cef..a67167dc 100644 --- a/src/redmine-net-api/JSonConverters/IssueConverter.cs +++ b/src/redmine-net-api/JSonConverters/IssueConverter.cs @@ -105,9 +105,9 @@ public override IDictionary Serialize(object obj, JavaScriptSeri result.Add(RedmineKeys.NOTES, entity.Notes); if (entity.Id != 0) { - result.Add(RedmineKeys.PRIVATE_NOTES, entity.PrivateNotes.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + result.Add(RedmineKeys.PRIVATE_NOTES, entity.PrivateNotes.ToLowerInv()); } - result.Add(RedmineKeys.IS_PRIVATE, entity.IsPrivate.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + result.Add(RedmineKeys.IS_PRIVATE, entity.IsPrivate.ToLowerInv()); result.WriteIdIfNotNull(entity.Project, RedmineKeys.PROJECT_ID); result.WriteIdIfNotNull(entity.Priority, RedmineKeys.PRIORITY_ID); result.WriteIdIfNotNull(entity.Status, RedmineKeys.STATUS_ID); diff --git a/src/redmine-net-api/JSonConverters/ProjectConverter.cs b/src/redmine-net-api/JSonConverters/ProjectConverter.cs index da50fe18..7ba99aa5 100755 --- a/src/redmine-net-api/JSonConverters/ProjectConverter.cs +++ b/src/redmine-net-api/JSonConverters/ProjectConverter.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -87,8 +87,8 @@ public override IDictionary Serialize(object obj, JavaScriptSeri result.Add(RedmineKeys.IDENTIFIER, entity.Identifier); result.Add(RedmineKeys.DESCRIPTION, entity.Description); result.Add(RedmineKeys.HOMEPAGE, entity.HomePage); - //result.Add(RedmineKeys.INHERIT_MEMBERS, entity.InheritMembers.ToString().ToLowerInvariant()); - result.Add(RedmineKeys.IS_PUBLIC, entity.IsPublic.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + //result.Add(RedmineKeys.INHERIT_MEMBERS, entity.InheritMembers.ToLowerInv()); + result.Add(RedmineKeys.IS_PUBLIC, entity.IsPublic.ToLowerInv()); result.WriteIdOrEmpty(entity.Parent, RedmineKeys.PARENT_ID, string.Empty); result.WriteIdsArray(RedmineKeys.TRACKER_IDS, entity.Trackers); result.WriteNamesArray(RedmineKeys.ENABLED_MODULE_NAMES, entity.EnabledModules); diff --git a/src/redmine-net-api/JSonConverters/UserConverter.cs b/src/redmine-net-api/JSonConverters/UserConverter.cs index ee34bed5..d5055a9c 100644 --- a/src/redmine-net-api/JSonConverters/UserConverter.cs +++ b/src/redmine-net-api/JSonConverters/UserConverter.cs @@ -96,7 +96,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri result.Add(RedmineKeys.PASSWORD, entity.Password); } - result.Add(RedmineKeys.MUST_CHANGE_PASSWD, entity.MustChangePassword.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + result.Add(RedmineKeys.MUST_CHANGE_PASSWD, entity.MustChangePassword.ToLowerInv()); result.Add(RedmineKeys.STATUS, ((int)entity.Status).ToString(CultureInfo.InvariantCulture)); if(entity.AuthenticationModeId.HasValue) From ec29e0c2df3abfce9a08d112acc214c9526852f8 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 14:46:54 +0200 Subject: [PATCH 075/601] Replace xml bool toLowerInvariant with XmlConvert.ToString(bool) --- src/redmine-net-api/Types/Issue.cs | 7 ++++--- src/redmine-net-api/Types/Project.cs | 4 ++-- src/redmine-net-api/Types/User.cs | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 0c88696f..1889566e 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2017 Adrian Popescu, Dorin Huzum. Licensed under the Apache License, Version 2.0 (the "License"); @@ -16,6 +16,7 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Globalization; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; @@ -459,12 +460,12 @@ public void WriteXml(XmlWriter writer) if (Id != 0) { - writer.WriteElementString(RedmineKeys.PRIVATE_NOTES, PrivateNotes.ToString().ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.PRIVATE_NOTES, XmlConvert.ToString(PrivateNotes)); } writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); writer.WriteStartElement(RedmineKeys.IS_PRIVATE); - writer.WriteValue(IsPrivate.ToString().ToLowerInvariant()); + writer.WriteValue(XmlConvert.ToString(IsPrivate)); writer.WriteEndElement(); writer.WriteIdIfNotNull(Project, RedmineKeys.PROJECT_ID); diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 3179e516..dbc171aa 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -211,8 +211,8 @@ public override void WriteXml(XmlWriter writer) writer.WriteElementString(RedmineKeys.NAME, Name); writer.WriteElementString(RedmineKeys.IDENTIFIER, Identifier); writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); - //writer.WriteElementString(RedmineKeys.INHERIT_MEMBERS, InheritMembers.ToString().ToLowerInvariant()); - writer.WriteElementString(RedmineKeys.IS_PUBLIC, IsPublic.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + //writer.WriteElementString(RedmineKeys.INHERIT_MEMBERS, XmlConvert.ToString(InheritMembers)); + writer.WriteElementString(RedmineKeys.IS_PUBLIC, XmlConvert.ToString(IsPublic)); writer.WriteIdOrEmpty(Parent, RedmineKeys.PARENT_ID); writer.WriteElementString(RedmineKeys.HOMEPAGE, HomePage); diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index e5e66cad..b901c77c 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -230,7 +230,7 @@ public void WriteXml(XmlWriter writer) writer.WriteValueOrEmpty(AuthenticationModeId, RedmineKeys.AUTH_SOURCE_ID); } - writer.WriteElementString(RedmineKeys.MUST_CHANGE_PASSWD, MustChangePassword.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.MUST_CHANGE_PASSWD, XmlConvert.ToString(MustChangePassword)); writer.WriteElementString(RedmineKeys.STATUS, ((int)Status).ToString(CultureInfo.InvariantCulture)); if(CustomFields != null) { From 1980ab47300479c36b1254b11b4caa3191608ac1 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 14:49:13 +0200 Subject: [PATCH 076/601] Add Format(xml|json) property on RedmineManager --- src/redmine-net-api/RedmineManager.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index bc393d61..5f645a1e 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -106,6 +106,7 @@ public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool Host = host; MimeFormat = mimeFormat; + Format = mimeFormat == MimeFormat.Xml ? "xml" : "json"; Proxy = proxy; SecurityProtocolType = securityProtocolType; @@ -187,6 +188,11 @@ public static Dictionary Sufixes get { return routes; } } + /// + /// + /// + public string Format { get; } + /// /// Gets the host. /// From 7aee97f03d322cc328eae4e10ca2ece79de48005 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 14:52:49 +0200 Subject: [PATCH 077/601] Add missing ToString(CultureInfo.InvariantCulture) --- .../Extensions/XmlWriterExtensions.cs | 27 +++-- src/redmine-net-api/Internals/UrlHelper.cs | 98 ++++++++++--------- .../JSonConverters/VersionConverter.cs | 6 +- .../JSonConverters/WatcherConverter.cs | 4 +- src/redmine-net-api/RedmineManager.cs | 8 +- src/redmine-net-api/Types/CustomFieldValue.cs | 4 +- src/redmine-net-api/Types/IssueChild.cs | 5 +- src/redmine-net-api/Types/Version.cs | 7 +- 8 files changed, 89 insertions(+), 70 deletions(-) diff --git a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs index 4fa3e5c1..29701be8 100755 --- a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs @@ -30,6 +30,10 @@ namespace Redmine.Net.Api.Extensions /// public static partial class XmlExtensions { + + private static readonly Type[] emptyTypeArray = new Type[0]; + private static readonly XmlAttributeOverrides xmlAttributeOverrides = new XmlAttributeOverrides(); + /// /// Writes the id if not null. /// @@ -71,13 +75,16 @@ public static void WriteArray(this XmlWriter writer, IEnumerable collection, str /// The f. public static void WriteArrayIds(this XmlWriter writer, IEnumerable collection, string elementName, Type type, Func f) { - if (collection == null) return; + if (collection == null || f == null) return; + writer.WriteStartElement(elementName); writer.WriteAttributeString("type", "array"); + var serializer = new XmlSerializer(type); + foreach (var item in collection) { - new XmlSerializer(type).Serialize(writer, f.Invoke(item)); + serializer.Serialize(writer, f.Invoke(item)); } writer.WriteEndElement(); @@ -95,18 +102,18 @@ public static void WriteArrayIds(this XmlWriter writer, IEnumerable collection, public static void WriteArray(this XmlWriter writer, IEnumerable collection, string elementName, Type type, string root, string defaultNamespace = null) { if (collection == null) return; + writer.WriteStartElement(elementName); writer.WriteAttributeString("type", "array"); + var rootAttribute = new XmlRootAttribute(root); + + var serializer = new XmlSerializer(type, xmlAttributeOverrides, emptyTypeArray, rootAttribute, + defaultNamespace); + foreach (var item in collection) { - #if (NET20 || NET40 || NET45 || NET451 || NET452) - new XmlSerializer(type, new XmlAttributeOverrides(), new Type[]{}, new XmlRootAttribute(root), - defaultNamespace).Serialize(writer, item); -#else - new XmlSerializer(type, new XmlAttributeOverrides(), Array.Empty(), new XmlRootAttribute(root), - defaultNamespace).Serialize(writer, item); - #endif + serializer.Serialize(writer, item); } writer.WriteEndElement(); @@ -121,7 +128,7 @@ public static void WriteArray(this XmlWriter writer, IEnumerable collection, str /// The func to invoke. public static void WriteArrayStringElement(this XmlWriter writer, IEnumerable collection, string elementName, Func f) { - if (collection == null) return; + if (collection == null || f == null) return; writer.WriteStartElement(elementName); writer.WriteAttributeString("type", "array"); diff --git a/src/redmine-net-api/Internals/UrlHelper.cs b/src/redmine-net-api/Internals/UrlHelper.cs index f869daa1..c4c9b221 100644 --- a/src/redmine-net-api/Internals/UrlHelper.cs +++ b/src/redmine-net-api/Internals/UrlHelper.cs @@ -21,6 +21,7 @@ limitations under the License. using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; +using File = Redmine.Net.Api.Types.File; using Version = Redmine.Net.Api.Types.Version; namespace Redmine.Net.Api.Internals @@ -83,8 +84,8 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id, T if (!RedmineManager.Sufixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); - return string.Format(REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], id, - redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], id, + redmineManager.Format); } /// @@ -109,14 +110,14 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id, T if (type == typeof(Version) || type == typeof(IssueCategory) || type == typeof(ProjectMembership)) { if (string.IsNullOrEmpty(ownerId)) throw new RedmineException("The owner id(project id) is mandatory!"); - return string.Format(ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.PROJECTS, - ownerId, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.PROJECTS, + ownerId, RedmineManager.Sufixes[type], redmineManager.Format); } if (type == typeof(IssueRelation)) { if (string.IsNullOrEmpty(ownerId)) throw new RedmineException("The owner id(issue id) is mandatory!"); - return string.Format(ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.ISSUES, - ownerId, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.ISSUES, + ownerId, RedmineManager.Sufixes[type], redmineManager.Format); } if (type == typeof(File)) @@ -125,11 +126,11 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id, T { throw new RedmineException("The owner id(project id) is mandatory!"); } - return string.Format(FILE_URL_FORMAT, redmineManager.Host, ownerId, redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,FILE_URL_FORMAT, redmineManager.Host, ownerId, redmineManager.Format); } - return string.Format(FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], - redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], + redmineManager.Format); } /// @@ -147,8 +148,8 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id, T if (!RedmineManager.Sufixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); - return string.Format(REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], id, - redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], id, + redmineManager.Format); } /// @@ -165,8 +166,8 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id, T if (!RedmineManager.Sufixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); - return string.Format(REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], id, - redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], id, + redmineManager.Format); } /// @@ -195,8 +196,8 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle if (string.IsNullOrEmpty(projectId)) throw new RedmineException("The project id is mandatory! \nCheck if you have included the parameter project_id to parameters."); - return string.Format(ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.PROJECTS, - projectId, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.PROJECTS, + projectId, RedmineManager.Sufixes[type], redmineManager.Format); } if (type == typeof(IssueRelation)) { @@ -204,8 +205,8 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle if (string.IsNullOrEmpty(issueId)) throw new RedmineException("The issue id is mandatory! \nCheck if you have included the parameter issue_id to parameters"); - return string.Format(ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.ISSUES, - issueId, RedmineManager.Sufixes[type], redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.ISSUES, + issueId, RedmineManager.Sufixes[type], redmineManager.Format); } if (type == typeof(File)) @@ -215,11 +216,11 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle { throw new RedmineException("The project id is mandatory! \nCheck if you have included the parameter project_id to parameters."); } - return string.Format(FILE_URL_FORMAT, redmineManager.Host, projectId, redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,FILE_URL_FORMAT, redmineManager.Host, projectId, redmineManager.Format); } - - return string.Format(FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], - redmineManager.MimeFormat.ToString().ToLowerInvariant()); + + return string.Format(CultureInfo.InvariantCulture,FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], + redmineManager.Format); } /// @@ -230,8 +231,8 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle /// public static string GetWikisUrl(RedmineManager redmineManager, string projectId) { - return string.Format(WIKI_INDEX_FORMAT, redmineManager.Host, projectId, - redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,WIKI_INDEX_FORMAT, redmineManager.Host, projectId, + redmineManager.Format); } /// @@ -247,10 +248,10 @@ public static string GetWikiPageUrl(RedmineManager redmineManager, string projec NameValueCollection parameters, string pageName, uint version = 0) { var uri = version == 0 - ? string.Format(WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, - redmineManager.MimeFormat.ToString().ToLowerInvariant()) - : string.Format(WIKI_VERSION_FORMAT, redmineManager.Host, projectId, pageName, version, - redmineManager.MimeFormat.ToString().ToLowerInvariant()); + ? string.Format(CultureInfo.InvariantCulture,WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, + redmineManager.Format) + : string.Format(CultureInfo.InvariantCulture,WIKI_VERSION_FORMAT, redmineManager.Host, projectId, pageName, version.ToString(CultureInfo.InvariantCulture), + redmineManager.Format); return uri; } @@ -262,9 +263,9 @@ public static string GetWikiPageUrl(RedmineManager redmineManager, string projec /// public static string GetAddUserToGroupUrl(RedmineManager redmineManager, int groupId) { - return string.Format(REQUEST_FORMAT, redmineManager.Host, + return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[typeof(Group)], - $"{groupId}/users", redmineManager.MimeFormat.ToString().ToLowerInvariant()); + $"{groupId.ToString(CultureInfo.InvariantCulture)}/users", redmineManager.Format); } /// @@ -276,9 +277,9 @@ public static string GetAddUserToGroupUrl(RedmineManager redmineManager, int gro /// public static string GetRemoveUserFromGroupUrl(RedmineManager redmineManager, int groupId, int userId) { - return string.Format(REQUEST_FORMAT, redmineManager.Host, + return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[typeof(Group)], - $"{groupId}/users/{userId}", redmineManager.MimeFormat.ToString().ToLowerInvariant()); + $"{groupId.ToString(CultureInfo.InvariantCulture)}/users/{userId.ToString(CultureInfo.InvariantCulture)}", redmineManager.Format); } /// @@ -288,8 +289,8 @@ public static string GetRemoveUserFromGroupUrl(RedmineManager redmineManager, in /// public static string GetUploadFileUrl(RedmineManager redmineManager) { - return string.Format(FORMAT, redmineManager.Host, RedmineKeys.UPLOADS, - redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,FORMAT, redmineManager.Host, RedmineKeys.UPLOADS, + redmineManager.Format); } /// @@ -299,9 +300,9 @@ public static string GetUploadFileUrl(RedmineManager redmineManager) /// public static string GetCurrentUserUrl(RedmineManager redmineManager) { - return string.Format(REQUEST_FORMAT, redmineManager.Host, + return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[typeof(User)], CURRENT_USER_URI, - redmineManager.MimeFormat.ToString().ToLowerInvariant()); + redmineManager.Format); } /// @@ -313,8 +314,8 @@ public static string GetCurrentUserUrl(RedmineManager redmineManager) /// public static string GetWikiCreateOrUpdaterUrl(RedmineManager redmineManager, string projectId, string pageName) { - return string.Format(WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, - redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, + redmineManager.Format); } /// @@ -326,8 +327,8 @@ public static string GetWikiCreateOrUpdaterUrl(RedmineManager redmineManager, st /// public static string GetDeleteWikirUrl(RedmineManager redmineManager, string projectId, string pageName) { - return string.Format(WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, - redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, + redmineManager.Format); } /// @@ -339,9 +340,9 @@ public static string GetDeleteWikirUrl(RedmineManager redmineManager, string pro /// public static string GetAddWatcherUrl(RedmineManager redmineManager, int issueId, int userId) { - return string.Format(REQUEST_FORMAT, redmineManager.Host, - RedmineManager.Sufixes[typeof(Issue)], $"{issueId}/watchers", - redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, + RedmineManager.Sufixes[typeof(Issue)], $"{issueId.ToString(CultureInfo.InvariantCulture)}/watchers", + redmineManager.Format); } /// @@ -353,9 +354,9 @@ public static string GetAddWatcherUrl(RedmineManager redmineManager, int issueId /// public static string GetRemoveWatcherUrl(RedmineManager redmineManager, int issueId, int userId) { - return string.Format(REQUEST_FORMAT, redmineManager.Host, - RedmineManager.Sufixes[typeof(Issue)], $"{issueId}/watchers/{userId}", - redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, + RedmineManager.Sufixes[typeof(Issue)], $"{issueId.ToString(CultureInfo.InvariantCulture)}/watchers/{userId.ToString(CultureInfo.InvariantCulture)}", + redmineManager.Format); } /// @@ -366,8 +367,11 @@ public static string GetRemoveWatcherUrl(RedmineManager redmineManager, int issu /// public static string GetAttachmentUpdateUrl(RedmineManager redmineManager, int issueId) { - return string.Format(ATTACHMENT_UPDATE_FORMAT, redmineManager.Host, issueId, - redmineManager.MimeFormat.ToString().ToLowerInvariant()); + return string.Format(CultureInfo.InvariantCulture, + ATTACHMENT_UPDATE_FORMAT, + redmineManager.Host, + issueId.ToString(CultureInfo.InvariantCulture), + redmineManager.Format); } } } \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/VersionConverter.cs b/src/redmine-net-api/JSonConverters/VersionConverter.cs index b3f7bf34..54e568e6 100755 --- a/src/redmine-net-api/JSonConverters/VersionConverter.cs +++ b/src/redmine-net-api/JSonConverters/VersionConverter.cs @@ -13,6 +13,8 @@ You may obtain a copy of the License at See the License for the specific language governing permissions and limitations under the License. */ + +using System.Globalization; #if !NET20 using System; using System.Collections.Generic; @@ -80,8 +82,8 @@ public override IDictionary Serialize(object obj, JavaScriptSeri if (entity != null) { result.Add(RedmineKeys.NAME, entity.Name); - result.Add(RedmineKeys.STATUS, entity.Status.ToString().ToLowerInvariant()); - result.Add(RedmineKeys.SHARING, entity.Sharing.ToString().ToLowerInvariant()); + result.Add(RedmineKeys.STATUS, entity.Status.ToString("G").ToLowerInv()); + result.Add(RedmineKeys.SHARING, entity.Sharing.ToString("G").ToLowerInv()); result.Add(RedmineKeys.DESCRIPTION, entity.Description); var root = new Dictionary(); diff --git a/src/redmine-net-api/JSonConverters/WatcherConverter.cs b/src/redmine-net-api/JSonConverters/WatcherConverter.cs index 3c3a1d31..b7f93e2d 100755 --- a/src/redmine-net-api/JSonConverters/WatcherConverter.cs +++ b/src/redmine-net-api/JSonConverters/WatcherConverter.cs @@ -13,6 +13,8 @@ You may obtain a copy of the License at See the License for the specific language governing permissions and limitations under the License. */ + +using System.Globalization; #if !NET20 using System; using System.Collections.Generic; @@ -75,7 +77,7 @@ public override IDictionary Serialize(object obj, JavaScriptSeri if (entity != null) { - result.Add(RedmineKeys.ID, entity.Id); + result.Add(RedmineKeys.ID, entity.Id.ToString(CultureInfo.InvariantCulture)); } return result; diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 5f645a1e..82b5649c 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -173,8 +173,10 @@ public RedmineManager(string host, string login, string password, MimeFormat mim { cache = new CredentialCache { { new Uri(host), "Basic", new NetworkCredential(login, password) } }; - var token = Convert.ToBase64String(Encoding.UTF8.GetBytes(string.Format("{0}:{1}", login, password))); - basicAuthorization = string.Format("Basic {0}", token); + var token = Convert.ToBase64String(Encoding.UTF8.GetBytes(string.Format(CultureInfo.InvariantCulture,"{0}:{1}", login, password))); + basicAuthorization = string.Format(CultureInfo.InvariantCulture,"Basic {0}", token); + + } /// diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index 31fa884e..8d407c36 100755 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -39,7 +39,7 @@ public class CustomFieldValue : IEquatable, ICloneable /// public bool Equals(CustomFieldValue other) { - return Info.Equals(other.Info); + return other != null && Info.Equals(other.Info, StringComparison.OrdinalIgnoreCase); } /// diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs index 7dd10276..49fddc84 100755 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Globalization; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; @@ -54,7 +55,7 @@ public class IssueChild : Identifiable, IXmlSerializable, IEquatable /// public void ReadXml(XmlReader reader) { - Id = Convert.ToInt32(reader.GetAttribute(RedmineKeys.ID)); + Id = Convert.ToInt32(reader.GetAttribute(RedmineKeys.ID), CultureInfo.InvariantCulture); reader.Read(); while (!reader.EOF) diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 64d3d66f..7b341dd4 100755 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -16,6 +16,7 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Globalization; using System.Xml; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; @@ -135,8 +136,8 @@ public override void ReadXml(XmlReader reader) public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.NAME, Name); - writer.WriteElementString(RedmineKeys.STATUS, Status.ToString().ToLowerInvariant()); - writer.WriteElementString(RedmineKeys.SHARING, Sharing.ToString().ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.STATUS, Status.ToString("G").ToLowerInv()); + writer.WriteElementString(RedmineKeys.SHARING, Sharing.ToString("G").ToLowerInv()); writer.WriteDateOrEmpty(DueDate, RedmineKeys.DUE_DATE); writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); From f25c4d27f4db1c188dddf1bc1b39aa27722b0df4 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 14:56:07 +0200 Subject: [PATCH 078/601] Fix CA1200 --- src/redmine-net-api/RedmineWebClient.cs | 6 +++--- src/redmine-net-api/Types/Group.cs | 6 +++--- src/redmine-net-api/Types/Project.cs | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/redmine-net-api/RedmineWebClient.cs b/src/redmine-net-api/RedmineWebClient.cs index 6150486b..c3e7b7f3 100644 --- a/src/redmine-net-api/RedmineWebClient.cs +++ b/src/redmine-net-api/RedmineWebClient.cs @@ -89,11 +89,11 @@ public RedmineWebClient() public bool KeepAlive { get; set; } /// - /// Returns a object for the specified resource. + /// Returns a object for the specified resource. /// - /// A that identifies the resource to request. + /// A that identifies the resource to request. /// - /// A new object for the specified resource. + /// A new object for the specified resource. /// protected override WebRequest GetWebRequest(Uri address) { diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index fe4e6900..ff95afaf 100755 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -57,7 +57,7 @@ public class Group : IdentifiableName, IEquatable /// /// Generates an object from its XML representation. /// - /// The stream from which the object is deserialized. + /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { reader.Read(); @@ -89,7 +89,7 @@ public override void ReadXml(XmlReader reader) /// /// Converts an object into its XML representation. /// - /// The stream to which the object is serialized. + /// The stream to which the object is serialized. public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.NAME, Name); diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index dbc171aa..98cb7f8f 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -150,7 +150,7 @@ public class Project : IdentifiableName, IEquatable /// /// Generates an object from its XML representation. /// - /// The stream from which the object is deserialized. + /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { if (reader == null) throw new ArgumentNullException(nameof(reader)); From 5e65b69189582cbb52aee61a8e910f494ab5d5c8 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 14:56:35 +0200 Subject: [PATCH 079/601] Remove packages.config file --- tests/redmine-net-api.Tests/packages.config | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 tests/redmine-net-api.Tests/packages.config diff --git a/tests/redmine-net-api.Tests/packages.config b/tests/redmine-net-api.Tests/packages.config deleted file mode 100644 index e492b60e..00000000 --- a/tests/redmine-net-api.Tests/packages.config +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file From d3ce5ef5e936c10628f6a51f281ce2d91a193db1 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 14:58:28 +0200 Subject: [PATCH 080/601] Add csproj NoWarn tag --- src/redmine-net-api/redmine-net-api.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 30f8bea1..330d4109 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -11,7 +11,7 @@ TRACE Debug;Release PackageReference - + NU5105;CA1303;CA1056;CA1062;CA1707;CA1720;CA1806;CA1716;CA1724;CA2227 From ea2566a0830ccaa3ce2df3ed08cc0eb08d0e0289 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 15:48:36 +0200 Subject: [PATCH 081/601] Update appveyor --- appveyor.yml | 130 +++++++++++++++++++++++++++++++++------------------ 1 file changed, 85 insertions(+), 45 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 8fd746e7..fd7734a0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,61 +1,101 @@ -os: Visual Studio 2017 -version: 2.0.{build} -# environment: -# COVERALLS_REPO_TOKEN: -# secure: 8JYxwCWszeAaWBr41pD17LB925K7Sk7utvKsIb1qz44i2anf9uLmvh2q0ilMQTBO +version: '{build}' +image: + - Ubuntu + - macos + - Visual Studio 2019 + pull_requests: - do_not_increment_build_number: false + do_not_increment_build_number: true + branches: only: - - master -#configuration: Release -#platform: Any CPU -assembly_info: + - master + +configuration: Release + +init: + # Good practise, because Windows line endings are different from Unix/Linux ones + - cmd: git config --global core.autocrlf true + + # Set "build version number" to "short-commit-hash" or when tagged to "tag name" (Travis style) + - ps: >- + if ($env:APPVEYOR_REPO_TAG -eq "true") + { + Update-AppveyorBuild -Version "$($env:APPVEYOR_REPO_TAG_NAME.TrimStart("v"))" + } + else + { + Update-AppveyorBuild -Version "dev-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))" + } + +nuget: + disable_publish_on_pr: true + +environment: + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true + DOTNET_CLI_TELEMETRY_OPTOUT: true + APPVEYOR_YML_DISABLE_PS_LINUX: true + +dotnet_csproj: patch: true - file: '**\AssemblyInfo.*' + file: '**\*.csproj' + version: '{version}' + version_prefix: '{version}' + package_version: '{version}' assembly_version: '{version}' - assembly_file_version: '{version}' - assembly_informational_version: '{version}' - -build_script: - - Msbuild.exe src/redmine-net20-api/redmine-net20-api.csproj /verbosity:minimal /p:BuildNetFX20=true - - Msbuild.exe src/redmine-net40-api/redmine-net40-api.csproj /verbosity:minimal /p:BuildNetFX40=true - - Msbuild.exe src/redmine-net40-api-signed/redmine-net40-api-signed.csproj /verbosity:minimal /p:BuildNetFX40=true - - Msbuild.exe src/redmine-net45-api/redmine-net45-api.csproj /verbosity:minimal /p:BuildNetFX45=true - - Msbuild.exe src/redmine-net45-api-signed/redmine-net45-api-signed.csproj /verbosity:minimal /p:BuildNetFX45=true - - Msbuild.exe src/redmine-net451-api/redmine-net451-api.csproj /verbosity:minimal /p:BuildNetFX451=true - - Msbuild.exe src/redmine-net451-api-signed/redmine-net451-api-signed.csproj /verbosity:minimal /p:BuildNetFX451=true - - Msbuild.exe src/redmine-net452-api/redmine-net452-api.csproj /verbosity:minimal /p:BuildNetFX452=true - - Msbuild.exe src/redmine-net452-api-signed/redmine-net452-api-signed.csproj /verbosity:minimal /p:BuildNetFX452=true + file_version: '{version}' + informational_version: '{version}' + +install: + - cmd: dotnet restore redmine-net-api.sln before_build: -- nuget restore + - cmd: dotnet --version build: project: redmine-net-api.sln - publish_nuget: true - verbosity: detailed + verbosity: minimal after_build: -- ps: nuget pack build/redmine-net-api.nuspec -Version $env:appveyor_build_version -- ps: nuget pack build/redmine-net-api-signed.nuspec -Version $env:appveyor_build_version - -nuget: - account_feed: true - project_feed: true + - cmd: dotnet pack src\redmine-net-api\redmine-net-api.csproj --output artifacts test: off artifacts: -- path: '*.nupkg' - -# preserve "packages" directory in the root of build folder but will reset it if packages.config is modified -cache: - - '%USERPROFILE%\.nuget\packages -> **\project.json' # project.json cache - -deploy: -- provider: NuGet - api_key: - secure: aOykHyBK5mqqlzZwbLgZnkB9qwmidaTFaLbc2ZKM2sSwBEuMV0VRF5OgKuoRehY0 - artifact: /.*\.nupkg/ - skip_symbols: true + - name: NuGet Packages + path: ./artifacts/**/*.nupkg + - name: NuGet Symbol Packages + path: ./artifacts/**/*.snupkg + +skip_commits: + files: + - '**/*.md' + - '**/*.gif' + - '**/*.png' + - '**/*.yml' + - LICENSE + - tests/* + +for: + - + matrix: + only: + - image: Ubuntu + + deploy: + - provider: NuGet + name: dev + api_key: + secure: fo+5VNPIRQ98jFPBZSd4SsOVyXEsTxnQ52VWTrg3sgH1GwGXhi70Q561eimlmRhy + skip_symbols: true + on: + branch: master + + - provider: NuGet + name: production + api_key: + secure: fo+5VNPIRQ98jFPBZSd4SsOVyXEsTxnQ52VWTrg3sgH1GwGXhi70Q561eimlmRhy + skip_symbols: false + on: + branch: master + APPVEYOR_REPO_TAG: true \ No newline at end of file From f29fa683d9ab79a8d65752ac3a035d91ce464575 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 15:54:49 +0200 Subject: [PATCH 082/601] Fix project id & add version suffix build number condition --- src/redmine-net-api/redmine-net-api.csproj | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 330d4109..8f45e517 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -17,21 +17,14 @@ 1.0.0.0 - Adrian Popescu - Redmine Api is a .NET rest client for Redmine. - p.adi - Adrian Popescu, 2011-2020 - 1.0.0.0 - 1.0.0 - en-US - redmine-net-api + redmine-api https://github.com/zapadi/redmine-net-api/blob/master/logo.png https://github.com/zapadi/redmine-net-api/blob/master/LICENSE https://github.com/zapadi/redmine-net-api @@ -39,18 +32,15 @@ Changed to new csproj format. Redmine; REST; API; Client; .NET; Adrian Popescu; 1.0.0 - Redmine .NET API Client - git - https://github.com/zapadi/redmine-net-api - ... Redmine .NET API Client 1.0.0 2.0.0 - $(VersionSuffix) + pre + pre-$(BuildNumber) From d6df4a2274e4341280ae4a115ed8164776128392 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 17:06:14 +0200 Subject: [PATCH 083/601] Update version tags --- src/redmine-net-api/redmine-net-api.csproj | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 8f45e517..5c50b21a 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -1,4 +1,4 @@ - + @@ -16,12 +16,12 @@ - 1.0.0.0 + Adrian Popescu Redmine Api is a .NET rest client for Redmine. p.adi Adrian Popescu, 2011-2020 - 1.0.0.0 + 1.0.0 en-US redmine-api @@ -31,14 +31,14 @@ true Changed to new csproj format. Redmine; REST; API; Client; .NET; Adrian Popescu; - 1.0.0 + Redmine .NET API Client git https://github.com/zapadi/redmine-net-api ... Redmine .NET API Client - 1.0.0 - 2.0.0 + + 2.0.43 pre pre-$(BuildNumber) From 9920a882927e2d467bfbde75624651bb7c7c3654 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 17:06:40 +0200 Subject: [PATCH 084/601] Add Deterministic tag false --- src/redmine-net-api/redmine-net-api.csproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 5c50b21a..33315da2 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -1,4 +1,4 @@ - + @@ -7,6 +7,7 @@ false Redmine.Net.Api redmine-net-api + False true TRACE Debug;Release From 6314adad0f953ef745796315bf471d2bab5613b6 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 17:07:51 +0200 Subject: [PATCH 085/601] Fix appveyor full version value --- appveyor.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index fd7734a0..12bd41f1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,14 +19,21 @@ init: # Set "build version number" to "short-commit-hash" or when tagged to "tag name" (Travis style) - ps: >- + if ($env:APPVEYOR_REPO_TAG -eq "true") { - Update-AppveyorBuild -Version "$($env:APPVEYOR_REPO_TAG_NAME.TrimStart("v"))" + Update-AppveyorBuild -Version "$($env:APPVEYOR_REPO_TAG_NAME.TrimStart("v"))"; } else { - Update-AppveyorBuild -Version "dev-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))" + $props = [xml](Get-Content Directory.Build.props) + $prefix = $props.Project.PropertyGroup.VersionPrefix + $suffix = "-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"; + + echo "Build: Full version is $prefix-$suffix"; } + + nuget: disable_publish_on_pr: true @@ -39,12 +46,8 @@ environment: dotnet_csproj: patch: true file: '**\*.csproj' - version: '{version}' + version_suffix: '${suffix}' version_prefix: '{version}' - package_version: '{version}' - assembly_version: '{version}' - file_version: '{version}' - informational_version: '{version}' install: - cmd: dotnet restore redmine-net-api.sln From 161afbb31cf71cef4aff47319657d0dbbebbceef Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 17:14:59 +0200 Subject: [PATCH 086/601] Fix appveyor --- appveyor.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 12bd41f1..ecfda301 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,17 +20,19 @@ init: # Set "build version number" to "short-commit-hash" or when tagged to "tag name" (Travis style) - ps: >- + + $prefix = ""; if ($env:APPVEYOR_REPO_TAG -eq "true") { - Update-AppveyorBuild -Version "$($env:APPVEYOR_REPO_TAG_NAME.TrimStart("v"))"; + $prefix = $env:APPVEYOR_REPO_TAG_NAME.TrimStart("v"); + Update-AppveyorBuild -Version "$prefix"; } else { - $props = [xml](Get-Content Directory.Build.props) - $prefix = $props.Project.PropertyGroup.VersionPrefix - $suffix = "-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"; + $props = [xml](Get-Content Directory.Build.props); + $prefix = $props.Project.PropertyGroup.VersionPrefix + "-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"; - echo "Build: Full version is $prefix-$suffix"; + echo "Build: Full version is $prefix"; } @@ -46,8 +48,7 @@ environment: dotnet_csproj: patch: true file: '**\*.csproj' - version_suffix: '${suffix}' - version_prefix: '{version}' + version_prefix: '${prefix}' install: - cmd: dotnet restore redmine-net-api.sln From 749fee74a37af517aa810fb1e8a03ada8652856c Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Thu, 21 Nov 2019 18:22:31 +0200 Subject: [PATCH 087/601] Add Version tag --- src/redmine-net-api/redmine-net-api.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 33315da2..91f761fb 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -39,7 +39,7 @@ ... Redmine .NET API Client - 2.0.43 + 2.0.43 pre pre-$(BuildNumber) From 9b2885eb17cc67a50e5100df60cbe118acb99b91 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 00:00:06 +0200 Subject: [PATCH 088/601] Update appveyor --- appveyor.yml | 47 +++++++++++++++-------------------------------- 1 file changed, 15 insertions(+), 32 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index ecfda301..5495055f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -15,27 +15,16 @@ configuration: Release init: # Good practise, because Windows line endings are different from Unix/Linux ones - - cmd: git config --global core.autocrlf true + - ps: git config --global core.autocrlf true # Set "build version number" to "short-commit-hash" or when tagged to "tag name" (Travis style) - ps: >- - - - $prefix = ""; - if ($env:APPVEYOR_REPO_TAG -eq "true") - { - $prefix = $env:APPVEYOR_REPO_TAG_NAME.TrimStart("v"); - Update-AppveyorBuild -Version "$prefix"; - } - else - { - $props = [xml](Get-Content Directory.Build.props); - $prefix = $props.Project.PropertyGroup.VersionPrefix + "-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"; - - echo "Build: Full version is $prefix"; - } - - + $branch = @{ $true = $env:APPVEYOR_REPO_BRANCH; $false = $(git symbolic-ref --short -q HEAD) }[$env:APPVEYOR_REPO_BRANCH -ne $NULL]; + $revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "local" }[$env:APPVEYOR_BUILD_NUMBER -ne $NULL]; + $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne "local"] + $commitHash = $(git rev-parse --short HEAD) + $buildSuffix = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""] + $versionSuffix = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[$suffix -ne ""] nuget: disable_publish_on_pr: true @@ -45,31 +34,25 @@ environment: DOTNET_CLI_TELEMETRY_OPTOUT: true APPVEYOR_YML_DISABLE_PS_LINUX: true -dotnet_csproj: - patch: true - file: '**\*.csproj' - version_prefix: '${prefix}' - install: - - cmd: dotnet restore redmine-net-api.sln + - ps: dotnet restore redmine-net-api.sln before_build: - - cmd: dotnet --version + - ps: dotnet --version -build: - project: redmine-net-api.sln - verbosity: minimal +build_script: + - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$buildSuffix after_build: - - cmd: dotnet pack src\redmine-net-api\redmine-net-api.csproj --output artifacts + - ps: dotnet pack src\redmine-net-api\redmine-net-api.csproj -c Release --output .\artifacts --include-symbols --no-build $versionSuffix test: off artifacts: - name: NuGet Packages - path: ./artifacts/**/*.nupkg + path: .\artifacts\**\*.nupkg - name: NuGet Symbol Packages - path: ./artifacts/**/*.snupkg + path: .\artifacts\**\*.snupkg skip_commits: files: @@ -99,7 +82,7 @@ for: name: production api_key: secure: fo+5VNPIRQ98jFPBZSd4SsOVyXEsTxnQ52VWTrg3sgH1GwGXhi70Q561eimlmRhy - skip_symbols: false + skip_symbols: true on: branch: master APPVEYOR_REPO_TAG: true \ No newline at end of file From c559a212b91dd9277df798e9e6f9899bda565048 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 00:00:22 +0200 Subject: [PATCH 089/601] Change VersionPrefix --- src/redmine-net-api/redmine-net-api.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 91f761fb..e57fe9e2 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -39,7 +39,7 @@ ... Redmine .NET API Client - 2.0.43 + 2.0.46 pre pre-$(BuildNumber) From f97bb5ff37bc0d43137ba9aed38cff8959e9879a Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 00:17:12 +0200 Subject: [PATCH 090/601] Fix ++ --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 5495055f..7cd9500e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,7 +22,7 @@ init: $branch = @{ $true = $env:APPVEYOR_REPO_BRANCH; $false = $(git symbolic-ref --short -q HEAD) }[$env:APPVEYOR_REPO_BRANCH -ne $NULL]; $revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "local" }[$env:APPVEYOR_BUILD_NUMBER -ne $NULL]; $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne "local"] - $commitHash = $(git rev-parse --short HEAD) + $commitHash = $($env:APPVEYOR_REPO_COMMIT.substring(0,7)) $buildSuffix = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""] $versionSuffix = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[$suffix -ne ""] From 3f3617fffc06259b1ef33c77cf5e38a7a2191006 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 00:30:01 +0200 Subject: [PATCH 091/601] Fix ++ --- appveyor.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7cd9500e..a3d634f4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,8 +1,6 @@ version: '{build}' image: - - Ubuntu - - macos - - Visual Studio 2019 + - Visual Studio 2019 pull_requests: do_not_increment_build_number: true @@ -21,10 +19,10 @@ init: - ps: >- $branch = @{ $true = $env:APPVEYOR_REPO_BRANCH; $false = $(git symbolic-ref --short -q HEAD) }[$env:APPVEYOR_REPO_BRANCH -ne $NULL]; $revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "local" }[$env:APPVEYOR_BUILD_NUMBER -ne $NULL]; - $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne "local"] - $commitHash = $($env:APPVEYOR_REPO_COMMIT.substring(0,7)) - $buildSuffix = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""] - $versionSuffix = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[$suffix -ne ""] + $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne "local"]; + $commitHash = $($env:APPVEYOR_REPO_COMMIT.substring(0,7)); + $buildSuffix = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""]; + $versionSuffix = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[$suffix -ne ""]; nuget: disable_publish_on_pr: true From 0b84a5d9b132750f88ff59d7246c5908c255c644 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 01:37:39 +0200 Subject: [PATCH 092/601] Fix ++ --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index a3d634f4..5335897a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,7 +17,7 @@ init: # Set "build version number" to "short-commit-hash" or when tagged to "tag name" (Travis style) - ps: >- - $branch = @{ $true = $env:APPVEYOR_REPO_BRANCH; $false = $(git symbolic-ref --short -q HEAD) }[$env:APPVEYOR_REPO_BRANCH -ne $NULL]; + $branch = $env:APPVEYOR_REPO_BRANCH; $revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "local" }[$env:APPVEYOR_BUILD_NUMBER -ne $NULL]; $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne "local"]; $commitHash = $($env:APPVEYOR_REPO_COMMIT.substring(0,7)); From 9fd65c3c1edbfb34e6d44a9dc20b31c00623afa2 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 08:44:30 +0200 Subject: [PATCH 093/601] Add BUILD_SUFFIX & VERSION_SUFFIX env variables --- appveyor.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 5335897a..6d470994 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -15,14 +15,13 @@ init: # Good practise, because Windows line endings are different from Unix/Linux ones - ps: git config --global core.autocrlf true - # Set "build version number" to "short-commit-hash" or when tagged to "tag name" (Travis style) - ps: >- $branch = $env:APPVEYOR_REPO_BRANCH; - $revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "local" }[$env:APPVEYOR_BUILD_NUMBER -ne $NULL]; - $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne "local"]; + $revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "" }[$env:APPVEYOR_REPO_TAG -eq "false"]; + $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne ""]; $commitHash = $($env:APPVEYOR_REPO_COMMIT.substring(0,7)); - $buildSuffix = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""]; - $versionSuffix = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[$suffix -ne ""]; + $env:BUILD_SUFFIX = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""]; + $env:VERSION_SUFFIX = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[$suffix -ne ""]; nuget: disable_publish_on_pr: true @@ -31,6 +30,8 @@ environment: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true DOTNET_CLI_TELEMETRY_OPTOUT: true APPVEYOR_YML_DISABLE_PS_LINUX: true + BUILD_SUFFIX: "" + VERSION_SUFFIX: "" install: - ps: dotnet restore redmine-net-api.sln @@ -39,10 +40,10 @@ before_build: - ps: dotnet --version build_script: - - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$buildSuffix + - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX after_build: - - ps: dotnet pack src\redmine-net-api\redmine-net-api.csproj -c Release --output .\artifacts --include-symbols --no-build $versionSuffix + - ps: dotnet pack src\redmine-net-api\redmine-net-api.csproj -c Release --output .\artifacts --include-symbols --no-build $env:VERSION_SUFFIX test: off From a23a1e6f8acf5111599f9b89dcbc6e4fa1546306 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 09:02:51 +0200 Subject: [PATCH 094/601] Upda appveyor.yml --- appveyor.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 6d470994..89deda36 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,36 +2,36 @@ version: '{build}' image: - Visual Studio 2019 +environment: + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true + DOTNET_CLI_TELEMETRY_OPTOUT: true + APPVEYOR_YML_DISABLE_PS_LINUX: false + BUILD_SUFFIX: "" + VERSION_SUFFIX: "" + +configuration: Release + pull_requests: do_not_increment_build_number: true + +nuget: + disable_publish_on_pr: true branches: only: - master -configuration: Release - init: # Good practise, because Windows line endings are different from Unix/Linux ones - ps: git config --global core.autocrlf true - - ps: >- - $branch = $env:APPVEYOR_REPO_BRANCH; - $revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "" }[$env:APPVEYOR_REPO_TAG -eq "false"]; - $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne ""]; - $commitHash = $($env:APPVEYOR_REPO_COMMIT.substring(0,7)); - $env:BUILD_SUFFIX = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""]; - $env:VERSION_SUFFIX = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[$suffix -ne ""]; + - ps: $branch = $env:APPVEYOR_REPO_BRANCH; + - ps: $revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "" }[$env:APPVEYOR_REPO_TAG -eq "false"]; + - ps: $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne ""]; + - ps: $commitHash = $($env:APPVEYOR_REPO_COMMIT.substring(0,7)); + - ps: $env:BUILD_SUFFIX = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""]; + - ps: $env:VERSION_SUFFIX = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[$suffix -ne ""]; -nuget: - disable_publish_on_pr: true - -environment: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - DOTNET_CLI_TELEMETRY_OPTOUT: true - APPVEYOR_YML_DISABLE_PS_LINUX: true - BUILD_SUFFIX: "" - VERSION_SUFFIX: "" install: - ps: dotnet restore redmine-net-api.sln From 653966621b676176dc17b9c089038fe5a47250fd Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 09:17:01 +0200 Subject: [PATCH 095/601] Update ++ --- appveyor.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 89deda36..ad140d01 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,8 +6,8 @@ environment: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true DOTNET_CLI_TELEMETRY_OPTOUT: true APPVEYOR_YML_DISABLE_PS_LINUX: false - BUILD_SUFFIX: "" - VERSION_SUFFIX: "" + BUILD_SUFFIX: " " + VERSION_SUFFIX: " " configuration: Release @@ -26,7 +26,7 @@ init: - ps: git config --global core.autocrlf true - ps: $branch = $env:APPVEYOR_REPO_BRANCH; - - ps: $revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "" }[$env:APPVEYOR_REPO_TAG -eq "false"]; + - ps: $revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "" }[$env:APPVEYOR_REPO_TAG -ne "true"]; - ps: $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne ""]; - ps: $commitHash = $($env:APPVEYOR_REPO_COMMIT.substring(0,7)); - ps: $env:BUILD_SUFFIX = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""]; @@ -37,12 +37,16 @@ install: - ps: dotnet restore redmine-net-api.sln before_build: + - ps: "echo 'Build suffix: $env:BUILD_SUFFIX'" + - ps: "echo 'Version suffix: $env:VERSION_SUFFIX'" - ps: dotnet --version build_script: - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX after_build: + - ps: echo Build suffix= $env:BUILD_SUFFIX + - ps: echo Version suffix= $env:VERSION_SUFFIX - ps: dotnet pack src\redmine-net-api\redmine-net-api.csproj -c Release --output .\artifacts --include-symbols --no-build $env:VERSION_SUFFIX test: off From c7feb0ed5fe01388bf1870870ec2721c6097abdd Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 09:23:14 +0200 Subject: [PATCH 096/601] Update ++ --- appveyor.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index ad140d01..ee919dbb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -37,16 +37,16 @@ install: - ps: dotnet restore redmine-net-api.sln before_build: - - ps: "echo 'Build suffix: $env:BUILD_SUFFIX'" - - ps: "echo 'Version suffix: $env:VERSION_SUFFIX'" + - ps: echo "Build suffix: $env:BUILD_SUFFIX" + - ps: echo "Version suffix: $env:VERSION_SUFFIX" - ps: dotnet --version build_script: - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX after_build: - - ps: echo Build suffix= $env:BUILD_SUFFIX - - ps: echo Version suffix= $env:VERSION_SUFFIX + - ps: echo "Build suffix= $env:BUILD_SUFFIX" + - ps: echo "Version suffix= $env:VERSION_SUFFIX" - ps: dotnet pack src\redmine-net-api\redmine-net-api.csproj -c Release --output .\artifacts --include-symbols --no-build $env:VERSION_SUFFIX test: off From e94ba2cde1e8e8d2db062a92fd4979e6cfcbc598 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 09:33:56 +0200 Subject: [PATCH 097/601] Update ++ --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index ee919dbb..a02a621d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -37,8 +37,8 @@ install: - ps: dotnet restore redmine-net-api.sln before_build: - - ps: echo "Build suffix: $env:BUILD_SUFFIX" - - ps: echo "Version suffix: $env:VERSION_SUFFIX" + - ps: write-host "Build Suffix=$env:BUILD_SUFFIX" -foregroundcolor Green + - ps: write-host "Version suffix=$env:VERSION_SUFFIX" -foregroundcolor Orange - ps: dotnet --version build_script: From 1dfe4d827e9b98ac690dcff53dc070e63d55b75f Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 09:38:41 +0200 Subject: [PATCH 098/601] Fix output color identifier --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index a02a621d..2fac82d0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -38,7 +38,7 @@ install: before_build: - ps: write-host "Build Suffix=$env:BUILD_SUFFIX" -foregroundcolor Green - - ps: write-host "Version suffix=$env:VERSION_SUFFIX" -foregroundcolor Orange + - ps: write-host "Version suffix=$env:VERSION_SUFFIX" -foregroundcolor Magenta - ps: dotnet --version build_script: From 06b79d78a4334f4e98cd30f3b13ce8e7dd8f33e8 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 09:45:33 +0200 Subject: [PATCH 099/601] Fix conditions --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 2fac82d0..bc096588 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -26,8 +26,8 @@ init: - ps: git config --global core.autocrlf true - ps: $branch = $env:APPVEYOR_REPO_BRANCH; - - ps: $revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "" }[$env:APPVEYOR_REPO_TAG -ne "true"]; - - ps: $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne ""]; + - ps: $revision = @{ $true = ""; $false = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10) }[$env:APPVEYOR_REPO_TAG -eq "true"]; + - ps: $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -eq ""]; - ps: $commitHash = $($env:APPVEYOR_REPO_COMMIT.substring(0,7)); - ps: $env:BUILD_SUFFIX = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""]; - ps: $env:VERSION_SUFFIX = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[$suffix -ne ""]; From 319ea799014915f0fd9fda41b38dec9d1c3e9505 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 09:46:00 +0200 Subject: [PATCH 100/601] Remove VersionSuffix build number condition --- src/redmine-net-api/redmine-net-api.csproj | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index e57fe9e2..196c8cdc 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -40,8 +40,6 @@ Redmine .NET API Client 2.0.46 - pre - pre-$(BuildNumber) From ca94245ae2ba4a54a9de1ae46413851ff9de34c9 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 10:00:46 +0200 Subject: [PATCH 101/601] Add macos & Ubuntu images --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index bc096588..c65b89b4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,8 @@ version: '{build}' image: - Visual Studio 2019 + - macos + - Ubuntu environment: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true From 49d75ef1a2229bc258e95e19785ee89a3d6610f6 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 10:01:42 +0200 Subject: [PATCH 102/601] Remove dev deploy option --- appveyor.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index c65b89b4..6ada651a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -75,14 +75,6 @@ for: - image: Ubuntu deploy: - - provider: NuGet - name: dev - api_key: - secure: fo+5VNPIRQ98jFPBZSd4SsOVyXEsTxnQ52VWTrg3sgH1GwGXhi70Q561eimlmRhy - skip_symbols: true - on: - branch: master - - provider: NuGet name: production api_key: From a31923b0e6d9da578863d35ca4f74d95d6036247 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 10:24:25 +0200 Subject: [PATCH 103/601] Fix appveyor --- appveyor.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 6ada651a..881ad826 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,15 +1,14 @@ version: '{build}' image: - Visual Studio 2019 - - macos - Ubuntu environment: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true DOTNET_CLI_TELEMETRY_OPTOUT: true - APPVEYOR_YML_DISABLE_PS_LINUX: false - BUILD_SUFFIX: " " - VERSION_SUFFIX: " " + APPVEYOR_YML_DISABLE_PS_LINUX: true + BUILD_SUFFIX: "" + VERSION_SUFFIX: "" configuration: Release @@ -37,7 +36,8 @@ init: install: - ps: dotnet restore redmine-net-api.sln - + - sh: dotnet restore redmine-net-api.sln + before_build: - ps: write-host "Build Suffix=$env:BUILD_SUFFIX" -foregroundcolor Green - ps: write-host "Version suffix=$env:VERSION_SUFFIX" -foregroundcolor Magenta @@ -45,7 +45,8 @@ before_build: build_script: - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX - + - sh: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX + after_build: - ps: echo "Build suffix= $env:BUILD_SUFFIX" - ps: echo "Version suffix= $env:VERSION_SUFFIX" From f68c4bd846920cb1938ecb52ec62ccd2f7bac24a Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 10:48:55 +0200 Subject: [PATCH 104/601] Enable PS on Linux --- appveyor.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 881ad826..02cf0dd7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,7 +6,7 @@ image: environment: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true DOTNET_CLI_TELEMETRY_OPTOUT: true - APPVEYOR_YML_DISABLE_PS_LINUX: true + APPVEYOR_YML_DISABLE_PS_LINUX: false BUILD_SUFFIX: "" VERSION_SUFFIX: "" @@ -32,11 +32,9 @@ init: - ps: $commitHash = $($env:APPVEYOR_REPO_COMMIT.substring(0,7)); - ps: $env:BUILD_SUFFIX = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""]; - ps: $env:VERSION_SUFFIX = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[$suffix -ne ""]; - install: - ps: dotnet restore redmine-net-api.sln - - sh: dotnet restore redmine-net-api.sln before_build: - ps: write-host "Build Suffix=$env:BUILD_SUFFIX" -foregroundcolor Green @@ -45,7 +43,6 @@ before_build: build_script: - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX - - sh: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX after_build: - ps: echo "Build suffix= $env:BUILD_SUFFIX" From c380d8b6687cf61dcc82d40bfa48435d445f152d Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 11:31:13 +0200 Subject: [PATCH 105/601] Add regex to allow tags to be build --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index 02cf0dd7..9899e0a0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -21,6 +21,7 @@ nuget: branches: only: - master + - /\d\.\d\.\d/ init: # Good practise, because Windows line endings are different from Unix/Linux ones From 39a1a22bfe80f607d7aead81235339643da6595f Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 11:32:58 +0200 Subject: [PATCH 106/601] Change version --- src/redmine-net-api/redmine-net-api.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 196c8cdc..93e5e287 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -39,7 +39,7 @@ ... Redmine .NET API Client - 2.0.46 + 2.0.47 From d9f5b14d70c13003178cc04093499168ee4ddb0b Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 22 Nov 2019 11:54:01 +0200 Subject: [PATCH 107/601] Add SymbolPackageFormat property to create a .snupkg file in addition to the .nupkg file --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 9899e0a0..38833ec7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -48,7 +48,7 @@ build_script: after_build: - ps: echo "Build suffix= $env:BUILD_SUFFIX" - ps: echo "Version suffix= $env:VERSION_SUFFIX" - - ps: dotnet pack src\redmine-net-api\redmine-net-api.csproj -c Release --output .\artifacts --include-symbols --no-build $env:VERSION_SUFFIX + - ps: dotnet pack src\redmine-net-api\redmine-net-api.csproj -c Release --output .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build $env:VERSION_SUFFIX test: off From bdcabb6a230ea4287de568ec5cbf2fd6c7549a71 Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 22 Nov 2019 12:33:41 +0200 Subject: [PATCH 108/601] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0c540592..419816ca 100755 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ ![Nuget](https://img.shields.io/nuget/dt/redmine-net-api) -![alt text](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true) +![Appveyor last build status](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true&passingText=master%20-%20OK&failingText=ups...) [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) Buy Me A Coffee -# redmine-net-api ![](https://github.com/zapadi/redmine-net-api/blob/master/logo.png) +# redmine-net-api ![redmine-net-api logo](https://github.com/zapadi/redmine-net-api/blob/master/logo.png) redmine-net-api is a library for communicating with a Redmine project management application. @@ -14,11 +14,12 @@ redmine-net-api is a library for communicating with a Redmine project management * Supports GZipped responses from servers. * This API provides access and basic CRUD operations (create, read, update, delete) for the resources described below: -Resource | Read | Create | Update | Delete ----------|------|--------|--------|------- +|Resource | Read | Create | Update | Delete | +|:---------|:------:|:--------:|:--------:|:-------:| Attachments|x|x|-|- Custom Fields|x|-|-|- Enumerations |x|-|-|- + Files |x|x|-|- Groups|x|x|x|x Issues |x|x|x|x Issue Categories|x|x|x|x @@ -34,11 +35,10 @@ Resource | Read | Create | Update | Delete Users |x|x|x|x Versions |x|x|x|x Wiki Pages |x|x|x|x - Files |x|x|-|- ## WIKI -Please review the wiki pages on how to use **redmine-net-api**. +Please review the ![wiki](https://github.com/zapadi/redmine-net-api/wiki) pages on how to use **redmine-net-api**. ## Contributing Contributions are really appreciated! @@ -47,7 +47,7 @@ A good way to get started (flow): 1. Fork the redmine-net-api repository. 2. Create a new branch in your current repos from the 'master' branch. -3. 'Check out' the code with *Git*, *GitHub Desktop* or *SourceTree*. +3. 'Check out' the code with *Git*, *GitHub Desktop*, *SourceTree*, *GitKraken*, *etc*. 4. Push commits and create a Pull Request (PR) to redmine-net-api. ## License From 6822a54715051d4d7981da166df32830bf8fa52a Mon Sep 17 00:00:00 2001 From: Alexey MAGician Date: Sat, 23 Nov 2019 14:52:53 +0300 Subject: [PATCH 109/601] Add check on null "Trackers" and "EnabledModules" in class "Project" while writing XML. --- src/redmine-net-api/Types/Project.cs | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 98cb7f8f..eb18f1bb 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -216,20 +216,27 @@ public override void WriteXml(XmlWriter writer) writer.WriteIdOrEmpty(Parent, RedmineKeys.PARENT_ID); writer.WriteElementString(RedmineKeys.HOMEPAGE, HomePage); - var trackers = new List(); - foreach (var tracker in Trackers) + if (Trackers != null) { - trackers.Add(tracker as IValue); + var trackers = new List(); + foreach (var tracker in Trackers) + { + trackers.Add(tracker as IValue); + } + writer.WriteListElements(trackers, RedmineKeys.TRACKER_IDS); } - var enabledModules = new List(); - foreach (var enabledModule in EnabledModules) + + if (EnabledModules != null) { - enabledModules.Add(enabledModule as IValue); - } + var enabledModules = new List(); + foreach (var enabledModule in EnabledModules) + { + enabledModules.Add(enabledModule as IValue); + } - writer.WriteListElements(trackers, RedmineKeys.TRACKER_IDS); - writer.WriteListElements(enabledModules, RedmineKeys.ENABLED_MODULE_NAMES); + writer.WriteListElements(enabledModules, RedmineKeys.ENABLED_MODULE_NAMES); + } if (Id == 0) return; From 012c4f20cdad03c8e7607f22cea523617f21d87d Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Sat, 23 Nov 2019 14:43:53 +0200 Subject: [PATCH 110/601] Fix CA1720: Identifiers should not contain type names --- .../Async/RedmineManagerAsync.cs | 18 +++++++-------- .../Async/RedmineManagerAsync40.cs | 20 ++++++++--------- .../Async/RedmineManagerAsync45.cs | 22 +++++++++---------- src/redmine-net-api/IRedmineManager.cs | 16 +++++++------- 4 files changed, 38 insertions(+), 38 deletions(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync.cs b/src/redmine-net-api/Async/RedmineManagerAsync.cs index 887ef118..68468dea 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync.cs @@ -156,11 +156,11 @@ public static Task GetObjectAsync(this RedmineManager redmineManager, stri /// /// /// The redmine manager. - /// The object. + /// The object. /// - public static Task CreateObjectAsync(this RedmineManager redmineManager, T obj) where T : class, new() + public static Task CreateObjectAsync(this RedmineManager redmineManager, T entity) where T : class, new() { - return CreateObjectAsync(redmineManager, obj, null); + return CreateObjectAsync(redmineManager, entity, null); } /// @@ -168,13 +168,13 @@ public static Task GetObjectAsync(this RedmineManager redmineManager, stri /// /// /// The redmine manager. - /// The object. + /// The object. /// The owner identifier. /// - public static Task CreateObjectAsync(this RedmineManager redmineManager, T obj, string ownerId) + public static Task CreateObjectAsync(this RedmineManager redmineManager, T entity, string ownerId) where T : class, new() { - return delegate { return redmineManager.CreateObject(obj, ownerId); }; + return delegate { return redmineManager.CreateObject(entity, ownerId); }; } /// @@ -209,13 +209,13 @@ public static Task> GetObjectsAsync(this RedmineManager redmineManage /// /// The redmine manager. /// The identifier. - /// The object. + /// The object. /// The project identifier. /// - public static Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T obj, + public static Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T entity, string projectId = null) where T : class, new() { - return delegate { redmineManager.UpdateObject(id, obj, projectId); }; + return delegate { redmineManager.UpdateObject(id, entity, projectId); }; } /// diff --git a/src/redmine-net-api/Async/RedmineManagerAsync40.cs b/src/redmine-net-api/Async/RedmineManagerAsync40.cs index 2b8a1f39..d2b45f28 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync40.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync40.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -156,11 +156,11 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// /// /// The redmine manager. - /// The object. + /// The object. /// - public static Task CreateObjectAsync(this RedmineManager redmineManager, T obj) where T : class, new() + public static Task CreateObjectAsync(this RedmineManager redmineManager, T entity) where T : class, new() { - return CreateObjectAsync(redmineManager, obj, null); + return CreateObjectAsync(redmineManager, entity, null); } @@ -193,12 +193,12 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// /// /// The redmine manager. - /// The object. + /// The object. /// The owner identifier. /// - public static Task CreateObjectAsync(this RedmineManager redmineManager, T obj, string ownerId) where T : class, new() + public static Task CreateObjectAsync(this RedmineManager redmineManager, T entity, string ownerId) where T : class, new() { - return Task.Factory.StartNew(() => redmineManager.CreateObject(obj, ownerId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); + return Task.Factory.StartNew(() => redmineManager.CreateObject(entity, ownerId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// @@ -231,12 +231,12 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// /// The redmine manager. /// The identifier. - /// The object. + /// The object. /// The project identifier. /// - public static Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T obj, string projectId = null) where T : class, new() + public static Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T entity, string projectId = null) where T : class, new() { - return Task.Factory.StartNew(() => redmineManager.UpdateObject(id, obj, projectId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); + return Task.Factory.StartNew(() => redmineManager.UpdateObject(id, entity, projectId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index e2cae408..77a7257b 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -330,12 +330,12 @@ public static async Task GetObjectAsync(this RedmineManager redmineManager /// /// The type of object to create. /// The redmine manager. - /// The object to create. + /// The object to create. /// - public static async Task CreateObjectAsync(this RedmineManager redmineManager, T obj) + public static async Task CreateObjectAsync(this RedmineManager redmineManager, T entity) where T : class, new() { - return await CreateObjectAsync(redmineManager, obj, null).ConfigureAwait(false); + return await CreateObjectAsync(redmineManager, entity, null).ConfigureAwait(false); } /// @@ -343,14 +343,14 @@ public static async Task CreateObjectAsync(this RedmineManager redmineMana /// /// The type of object to create. /// The redmine manager. - /// The object to create. + /// The object to create. /// The owner identifier. /// - public static async Task CreateObjectAsync(this RedmineManager redmineManager, T obj, string ownerId) + public static async Task CreateObjectAsync(this RedmineManager redmineManager, T entity, string ownerId) where T : class, new() { var uri = UrlHelper.GetCreateUrl(redmineManager, ownerId); - var data = RedmineSerializer.Serialize(obj, redmineManager.MimeFormat); + var data = RedmineSerializer.Serialize(entity, redmineManager.MimeFormat); var response = await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data, "CreateObjectAsync").ConfigureAwait(false); return RedmineSerializer.Deserialize(response, redmineManager.MimeFormat); @@ -362,14 +362,14 @@ public static async Task CreateObjectAsync(this RedmineManager redmineMana /// /// The redmine manager. /// The identifier. - /// The object. + /// The object. /// The project identifier. /// - public static async Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T obj, string projectId = null) + public static async Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T entity) where T : class, new() { - var uri = UrlHelper.GetUploadUrl(redmineManager, id, obj, projectId); - var data = RedmineSerializer.Serialize(obj, redmineManager.MimeFormat); + var uri = UrlHelper.GetUploadUrl(redmineManager, id); + var data = RedmineSerializer.Serialize(entity, redmineManager.MimeFormat); data = Regex.Replace(data, @"\r\n|\r|\n", "\r\n"); await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.PUT, data, "UpdateObjectAsync").ConfigureAwait(false); diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index 4a39c132..71885597 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -198,34 +198,34 @@ public interface IRedmineManager /// /// /// - /// + /// /// /// - T CreateObject(T obj) where T : class, new(); + T CreateObject(T entity) where T : class, new(); /// /// /// - /// + /// /// /// /// - T CreateObject(T obj, string ownerId) where T : class, new(); + T CreateObject(T entity, string ownerId) where T : class, new(); /// /// /// /// - /// + /// /// - void UpdateObject(string id, T obj) where T : class, new(); + void UpdateObject(string id, T entity) where T : class, new(); /// /// /// /// - /// + /// /// /// - void UpdateObject(string id, T obj, string projectId) where T : class, new(); + void UpdateObject(string id, T entity, string projectId) where T : class, new(); /// /// From 46140f5c188ae3a35bf901fe56d27e9eb7959456 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Sat, 23 Nov 2019 15:08:03 +0200 Subject: [PATCH 111/601] Cleanup --- .../Extensions/CollectionExtensions.cs | 2 +- .../Extensions/StringExtensions.cs | 2 +- src/redmine-net-api/Extensions/WebExtensions.cs | 2 +- .../Internals/RedmineSerializer.cs | 16 ++++++++-------- src/redmine-net-api/RedmineManager.cs | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/redmine-net-api/Extensions/CollectionExtensions.cs b/src/redmine-net-api/Extensions/CollectionExtensions.cs index 187e6f1a..07d3b16b 100755 --- a/src/redmine-net-api/Extensions/CollectionExtensions.cs +++ b/src/redmine-net-api/Extensions/CollectionExtensions.cs @@ -85,7 +85,7 @@ public static string Dump(this IEnumerable collection) where TIn : cla return null; } - StringBuilder sb = new StringBuilder(); + var sb = new StringBuilder(); foreach (var item in collection) { sb.Append(",").Append(item); diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index 5f563fa4..b0219ed9 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -18,7 +18,7 @@ public static bool IsNullOrWhiteSpace(this string value) return true; } - for (int index = 0; index < value.Length; ++index) + for (var index = 0; index < value.Length; ++index) { if (!char.IsWhiteSpace(value[index])) { diff --git a/src/redmine-net-api/Extensions/WebExtensions.cs b/src/redmine-net-api/Extensions/WebExtensions.cs index 30971246..0a041489 100755 --- a/src/redmine-net-api/Extensions/WebExtensions.cs +++ b/src/redmine-net-api/Extensions/WebExtensions.cs @@ -77,7 +77,7 @@ public static void HandleWebException(this WebException exception, string method case 422: var errors = GetRedmineExceptions(exception.Response, mimeFormat); - string message = string.Empty; + var message = string.Empty; if (errors != null) { for (var index = 0; index < errors.Count; index++) diff --git a/src/redmine-net-api/Internals/RedmineSerializer.cs b/src/redmine-net-api/Internals/RedmineSerializer.cs index 8045bac5..795d08fe 100755 --- a/src/redmine-net-api/Internals/RedmineSerializer.cs +++ b/src/redmine-net-api/Internals/RedmineSerializer.cs @@ -87,12 +87,13 @@ private static T FromXML(string xml) where T : class { try { -#if !NET20 if (mimeFormat == MimeFormat.Json) { +#if !NET20 return JsonSerializer(obj); - } #endif + } + return ToXML(obj); } catch (Exception ex) @@ -121,9 +122,9 @@ private static T FromXML(string xml) where T : class if (string.IsNullOrEmpty(response)) throw new RedmineException("Could not deserialize null!"); try { -#if !NET20 if (mimeFormat == MimeFormat.Json) { +#if !NET20 var type = typeof (T); var jsonRoot = (string) null; if (type == typeof (IssueCategory)) jsonRoot = RedmineKeys.ISSUE_CATEGORY; @@ -132,8 +133,8 @@ private static T FromXML(string xml) where T : class if (type == typeof (ProjectMembership)) jsonRoot = RedmineKeys.MEMBERSHIP; if (type == typeof (WikiPage)) jsonRoot = RedmineKeys.WIKI_PAGE; return JsonDeserialize(response, jsonRoot); - } #endif + } return FromXML(response); } catch (Exception ex) @@ -160,12 +161,12 @@ public static PaginatedObjects DeserializeList(string response, MimeFormat try { if (response.IsNullOrWhiteSpace()) throw new RedmineException("Could not deserialize null!"); -#if !NET20 if (mimeFormat == MimeFormat.Json) { +#if !NET20 return JSonDeserializeList(response); - } #endif + } return XmlDeserializeList(response); } @@ -194,7 +195,7 @@ public static PaginatedObjects DeserializeList(string response, MimeFormat if (string.IsNullOrEmpty(jsonRoot)) jsonRoot = RedmineManager.Sufixes[type]; - var result = JsonDeserializeToList(response, jsonRoot, out int totalItems, out int offset); + var result = JsonDeserializeToList(response, jsonRoot, out var totalItems, out var offset); return new PaginatedObjects() { @@ -216,7 +217,6 @@ public static PaginatedObjects DeserializeList(string response, MimeFormat { using (var xmlReader = XmlTextReaderBuilder.Create(stringReader)) { - xmlReader.Read(); xmlReader.Read(); diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 82b5649c..406758c0 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -723,7 +723,7 @@ public void DeleteWikiPage(string projectId, string pageName) /// public Upload UploadFile(byte[] data) { - string url = UrlHelper.GetUploadFileUrl(this); + var url = UrlHelper.GetUploadFileUrl(this); return WebApiHelper.ExecuteUploadFile(this, url, data, "UploadFile"); } From 805b443693bdb5be21fd177e104c61360d517055 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Sat, 23 Nov 2019 15:08:18 +0200 Subject: [PATCH 112/601] Remove unused parameters --- src/redmine-net-api/Async/RedmineManagerAsync45.cs | 4 ++-- src/redmine-net-api/Internals/UrlHelper.cs | 10 +++------- src/redmine-net-api/RedmineManager.cs | 8 ++++---- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index 77a7257b..273c3cfd 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -113,7 +113,7 @@ public static async Task DownloadFileAsync(this RedmineManager redmineMa public static async Task GetWikiPageAsync(this RedmineManager redmineManager, string projectId, NameValueCollection parameters, string pageName, uint version = 0) { - var uri = UrlHelper.GetWikiPageUrl(redmineManager, projectId, parameters, pageName, version); + var uri = UrlHelper.GetWikiPageUrl(redmineManager, projectId, pageName, version); return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, "GetWikiPageAsync", parameters).ConfigureAwait(false); } @@ -170,7 +170,7 @@ public static async Task RemoveUserFromGroupAsync(this RedmineManager redmineMan public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManager, int issueId, int userId) { var data = DataHelper.UserData(userId, redmineManager.MimeFormat); - var uri = UrlHelper.GetAddWatcherUrl(redmineManager, issueId, userId); + var uri = UrlHelper.GetAddWatcherUrl(redmineManager, issueId); await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data, "AddWatcherAsync").ConfigureAwait(false); } diff --git a/src/redmine-net-api/Internals/UrlHelper.cs b/src/redmine-net-api/Internals/UrlHelper.cs index c4c9b221..8bc02e5d 100644 --- a/src/redmine-net-api/Internals/UrlHelper.cs +++ b/src/redmine-net-api/Internals/UrlHelper.cs @@ -73,11 +73,9 @@ internal static class UrlHelper /// /// The redmine manager. /// The identifier. - /// The object. - /// The project identifier. /// /// - public static string GetUploadUrl(RedmineManager redmineManager, string id, T obj, string projectId = null) + public static string GetUploadUrl(RedmineManager redmineManager, string id) where T : class, new() { var type = typeof(T); @@ -240,12 +238,11 @@ public static string GetWikisUrl(RedmineManager redmineManager, string projectId /// /// The redmine manager. /// The project identifier. - /// The parameters. /// Name of the page. /// The version. /// public static string GetWikiPageUrl(RedmineManager redmineManager, string projectId, - NameValueCollection parameters, string pageName, uint version = 0) + string pageName, uint version = 0) { var uri = version == 0 ? string.Format(CultureInfo.InvariantCulture,WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, @@ -336,9 +333,8 @@ public static string GetDeleteWikirUrl(RedmineManager redmineManager, string pro /// /// The redmine manager. /// The issue identifier. - /// The user identifier. /// - public static string GetAddWatcherUrl(RedmineManager redmineManager, int issueId, int userId) + public static string GetAddWatcherUrl(RedmineManager redmineManager, int issueId) { return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[typeof(Issue)], $"{issueId.ToString(CultureInfo.InvariantCulture)}/watchers", diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 406758c0..792919b9 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -296,7 +296,7 @@ public User GetCurrentUser(NameValueCollection parameters = null) /// The user identifier. public void AddWatcherToIssue(int issueId, int userId) { - var url = UrlHelper.GetAddWatcherUrl(this, issueId, userId); + var url = UrlHelper.GetAddWatcherUrl(this, issueId); WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, DataHelper.UserData(userId, MimeFormat), "AddWatcher"); } @@ -359,7 +359,7 @@ public WikiPage CreateOrUpdateWikiPage(string projectId, string pageName, WikiPa /// public WikiPage GetWikiPage(string projectId, NameValueCollection parameters, string pageName, uint version = 0) { - var url = UrlHelper.GetWikiPageUrl(this, projectId, parameters, pageName, version); + var url = UrlHelper.GetWikiPageUrl(this, projectId, pageName, version); return WebApiHelper.ExecuteDownload(this, url, "GetWikiPage", parameters); } @@ -674,7 +674,7 @@ public void DeleteWikiPage(string projectId, string pageName) /// public void UpdateObject(string id, T obj, string projectId) where T : class, new() { - var url = UrlHelper.GetUploadUrl(this, id, obj, projectId); + var url = UrlHelper.GetUploadUrl(this, id); var data = RedmineSerializer.Serialize(obj, MimeFormat); data = Regex.Replace(data, @"\r\n|\r|\n", "\r\n"); WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, data, "UpdateObject"); From d5520b452824f130e45af8660964884a08b50832 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Sat, 23 Nov 2019 15:04:18 +0200 Subject: [PATCH 113/601] Fix [CA1825] Avoid unnecessary zero-length array allocations. --- src/redmine-net-api/Extensions/XmlWriterExtensions.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs index 29701be8..9266a4ea 100755 --- a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs @@ -31,7 +31,11 @@ namespace Redmine.Net.Api.Extensions public static partial class XmlExtensions { + // #if !(NET20 || NET40 || NET45 || NET451 || NET452) + // private static readonly Type[] emptyTypeArray = Array.Empty(); + // #else private static readonly Type[] emptyTypeArray = new Type[0]; + // #endif private static readonly XmlAttributeOverrides xmlAttributeOverrides = new XmlAttributeOverrides(); /// From bf5a084a9e6f6fe979b712a187f2625b4bf4f115 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Sat, 23 Nov 2019 15:05:21 +0200 Subject: [PATCH 114/601] Suppress CA1308: Normalize strings to uppercase --- src/redmine-net-api/Extensions/StringExtensions.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index b0219ed9..ea2d011e 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -1,3 +1,5 @@ +using System.Diagnostics.CodeAnalysis; + namespace Redmine.Net.Api.Extensions { /// @@ -55,6 +57,7 @@ public static string Truncate(this string text, int maximumLength) /// /// /// + [SuppressMessage("ReSharper", "CA1308")] public static string ToLowerInv(this string text) { return text.IsNullOrWhiteSpace() ? text : text.ToLowerInvariant(); From ef6255dd2bce079f155225565514334d26572b66 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Sat, 23 Nov 2019 15:18:55 +0200 Subject: [PATCH 115/601] Override Equals --- src/redmine-net-api/Types/Attachment.cs | 6 ++++++ src/redmine-net-api/Types/IdentifiableName.cs | 6 ++++++ src/redmine-net-api/Types/Issue.cs | 6 ++++++ src/redmine-net-api/Types/IssueCategory.cs | 6 ++++++ src/redmine-net-api/Types/IssueChild.cs | 6 ++++++ src/redmine-net-api/Types/IssueCustomField.cs | 6 ++++++ src/redmine-net-api/Types/IssueRelation.cs | 6 ++++++ src/redmine-net-api/Types/IssueStatus.cs | 6 ++++++ src/redmine-net-api/Types/Membership.cs | 6 ++++++ src/redmine-net-api/Types/MembershipRole.cs | 6 ++++++ src/redmine-net-api/Types/News.cs | 6 ++++++ src/redmine-net-api/Types/Project.cs | 6 ++++++ src/redmine-net-api/Types/ProjectMembership.cs | 6 ++++++ src/redmine-net-api/Types/Query.cs | 6 ++++++ src/redmine-net-api/Types/TimeEntry.cs | 6 ++++++ src/redmine-net-api/Types/User.cs | 6 ++++++ src/redmine-net-api/Types/Version.cs | 6 ++++++ src/redmine-net-api/Types/WikiPage.cs | 6 ++++++ 18 files changed, 108 insertions(+) diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index 4a125135..7db7dd35 100755 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -176,5 +176,11 @@ public override string ToString() return $"[Attachment: {base.ToString()}, FileName={FileName}, FileSize={FileSize}, ContentType={ContentType}, Description={Description}, ContentUrl={ContentUrl}, Author={Author}, CreatedOn={CreatedOn}]"; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as Attachment); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index 5f585dfe..1eb9e882 100755 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -115,5 +115,11 @@ public override int GetHashCode() return hashCode; } } + + /// + public override bool Equals(object obj) + { + return Equals(obj as IdentifiableName); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 1889566e..9dd7b0ef 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -614,5 +614,11 @@ public override int GetHashCode() return hashCode; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as Issue); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs index bc0a26ad..870cb0c9 100755 --- a/src/redmine-net-api/Types/IssueCategory.cs +++ b/src/redmine-net-api/Types/IssueCategory.cs @@ -139,5 +139,11 @@ public override string ToString() { return $"[IssueCategory: {base.ToString()}, Project={Project}, AsignTo={AsignTo}, Name={Name}]"; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as IssueCategory); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs index 49fddc84..9700b43c 100755 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -128,5 +128,11 @@ public override string ToString() { return $"[IssueChild: {base.ToString()}, Tracker={Tracker}, Subject={Subject}]"; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as IssueChild); + } } } diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index fb779dea..8e2c94b5 100755 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -144,5 +144,11 @@ public static string GetValue(object item) if (item == null) throw new ArgumentNullException(nameof(item)); return ((CustomFieldValue)item).Info; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as IssueCustomField); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index fa8a533a..1b59e086 100755 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -172,5 +172,11 @@ public override string ToString() return $"[IssueRelation: {base.ToString()}, IssueId={IssueId}, IssueToId={IssueToId}, Type={Type}, Delay={Delay}]"; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as IssueRelation); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs index 63a2bd69..f551e886 100755 --- a/src/redmine-net-api/Types/IssueStatus.cs +++ b/src/redmine-net-api/Types/IssueStatus.cs @@ -116,5 +116,11 @@ public override string ToString() { return $"[IssueStatus: {base.ToString()}, IsDefault={IsDefault}, IsClosed={IsClosed}]"; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as IssueStatus); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index 44e22724..dcc112d0 100755 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -123,5 +123,11 @@ public override string ToString() { return $"[Membership: {base.ToString()}, Project={Project}, Roles={Roles}]"; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as Membership); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs index edfe3bae..18228734 100755 --- a/src/redmine-net-api/Types/MembershipRole.cs +++ b/src/redmine-net-api/Types/MembershipRole.cs @@ -96,5 +96,11 @@ public override string ToString() { return $"[MembershipRole: {base.ToString()}, Inherited={Inherited}]"; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as MembershipRole); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index 80bd3664..dbdda7ef 100755 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -165,5 +165,11 @@ public override string ToString() return $"[News: {base.ToString()}, Project={Project}, Author={Author}, Title={Title}, Summary={Summary}, Description={Description}, CreatedOn={CreatedOn}]"; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as News); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index eb18f1bb..69147165 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -305,5 +305,11 @@ public override string ToString() return $"[Project: {base.ToString()}, Identifier={Identifier}, Description={Description}, Parent={Parent}, HomePage={HomePage}, CreatedOn={CreatedOn}, UpdatedOn={UpdatedOn}, Status={Status}, IsPublic={IsPublic}, InheritMembers={InheritMembers}, Trackers={Trackers}, CustomFields={CustomFields}, IssueCategories={IssueCategories}, EnabledModules={EnabledModules}]"; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as Project); + } } } diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index 6175d16c..55520d2e 100755 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -157,5 +157,11 @@ public override string ToString() return $"[ProjectMembership: {base.ToString()}, Project={Project}, User={User}, Group={Group}, Roles={Roles}]"; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as ProjectMembership); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Query.cs b/src/redmine-net-api/Types/Query.cs index 160deacf..cfb93812 100755 --- a/src/redmine-net-api/Types/Query.cs +++ b/src/redmine-net-api/Types/Query.cs @@ -115,5 +115,11 @@ public override string ToString() { return $"[Query: {base.ToString()}, IsPublic={IsPublic}, ProjectId={ProjectId}]"; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as Query); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index 68f67281..71e81fe0 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -249,5 +249,11 @@ public override string ToString() return $"[TimeEntry: {base.ToString()}, Issue={Issue}, Project={Project}, SpentOn={SpentOn}, Hours={Hours}, Activity={Activity}, User={User}, Comments={Comments}, CreatedOn={CreatedOn}, UpdatedOn={UpdatedOn}, CustomFields={CustomFields}]"; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as TimeEntry); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index b901c77c..b3e6a52c 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -303,5 +303,11 @@ public override string ToString() return $"[User: {Groups}, Login={Login}, Password={Password}, FirstName={FirstName}, LastName={LastName}, Email={Email}, EmailNotification={MailNotification}, AuthenticationModeId={AuthenticationModeId}, CreatedOn={CreatedOn}, LastLoginOn={LastLoginOn}, ApiKey={ApiKey}, Status={Status}, MustChangePassword={MustChangePassword}, CustomFields={CustomFields}, Memberships={Memberships}, Groups={Groups}]"; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as User); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 7b341dd4..f49c8d07 100755 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -192,6 +192,12 @@ public override string ToString() return $"[Version: {base.ToString()}, Project={Project}, Description={Description}, Status={Status}, DueDate={DueDate}, Sharing={Sharing}, CreatedOn={CreatedOn}, UpdatedOn={UpdatedOn}, CustomFields={CustomFields}]"; } + + /// + public override bool Equals(object obj) + { + return Equals(obj as Version); + } } /// diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index 9adfbff3..d98a66ec 100755 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -209,6 +209,12 @@ public override string ToString() $"[WikiPage: {base.ToString()}, Title={Title}, Text={Text}, Comments={Comments}, Version={Version}, Author={Author}, CreatedOn={CreatedOn}, UpdatedOn={UpdatedOn}, Attachments={Attachments}]"; } + /// + public override bool Equals(object obj) + { + return Equals(obj as WikiPage); + } + #endregion } } \ No newline at end of file From bf062e88d3b1255948fb74422645627d698f1c04 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Sat, 23 Nov 2019 15:30:18 +0200 Subject: [PATCH 116/601] Modify collections setters accessor to internal --- .../Extensions/XmlWriterExtensions.cs | 8 ++++---- src/redmine-net-api/IRedmineWebClient.cs | 2 +- src/redmine-net-api/Types/CustomField.cs | 6 +++--- src/redmine-net-api/Types/Group.cs | 6 +++--- src/redmine-net-api/Types/Issue.cs | 16 ++++++++-------- src/redmine-net-api/Types/IssueCustomField.cs | 2 +- src/redmine-net-api/Types/Journal.cs | 2 +- src/redmine-net-api/Types/Membership.cs | 2 +- src/redmine-net-api/Types/PaginatedObjects.cs | 2 +- src/redmine-net-api/Types/Project.cs | 10 +++++----- src/redmine-net-api/Types/ProjectMembership.cs | 2 +- src/redmine-net-api/Types/Role.cs | 2 +- src/redmine-net-api/Types/TimeEntry.cs | 2 +- src/redmine-net-api/Types/Upload.cs | 2 +- src/redmine-net-api/Types/User.cs | 6 +++--- src/redmine-net-api/Types/Version.cs | 2 +- src/redmine-net-api/Types/WikiPage.cs | 4 ++-- 17 files changed, 38 insertions(+), 38 deletions(-) diff --git a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs index 9266a4ea..7018f3f5 100755 --- a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs @@ -31,11 +31,11 @@ namespace Redmine.Net.Api.Extensions public static partial class XmlExtensions { - // #if !(NET20 || NET40 || NET45 || NET451 || NET452) - // private static readonly Type[] emptyTypeArray = Array.Empty(); - // #else + #if !(NET20 || NET40 || NET45 || NET451 || NET452) + private static readonly Type[] emptyTypeArray = Array.Empty(); + #else private static readonly Type[] emptyTypeArray = new Type[0]; - // #endif + #endif private static readonly XmlAttributeOverrides xmlAttributeOverrides = new XmlAttributeOverrides(); /// diff --git a/src/redmine-net-api/IRedmineWebClient.cs b/src/redmine-net-api/IRedmineWebClient.cs index 8e3bcfd2..f33e5088 100644 --- a/src/redmine-net-api/IRedmineWebClient.cs +++ b/src/redmine-net-api/IRedmineWebClient.cs @@ -64,7 +64,7 @@ public interface IRedmineWebClient /// /// /// - NameValueCollection QueryString { get; set; } + NameValueCollection QueryString { get; } /// /// diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index f197cdbb..09b01050 100755 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -100,21 +100,21 @@ public class CustomField : IdentifiableName, IEquatable /// [XmlArray(RedmineKeys.POSSIBLE_VALUES)] [XmlArrayItem(RedmineKeys.POSSIBLE_VALUE)] - public IList PossibleValues { get; set; } + public IList PossibleValues { get; internal set; } /// /// /// [XmlArray(RedmineKeys.TRACKERS)] [XmlArrayItem(RedmineKeys.TRACKER)] - public IList Trackers { get; set; } + public IList Trackers { get; internal set; } /// /// /// [XmlArray(RedmineKeys.ROLES)] [XmlArrayItem(RedmineKeys.ROLE)] - public IList Roles { get; set; } + public IList Roles { get; internal set; } /// /// diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index ff95afaf..0380269a 100755 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -34,7 +34,7 @@ public class Group : IdentifiableName, IEquatable /// [XmlArray(RedmineKeys.USERS)] [XmlArrayItem(RedmineKeys.USER)] - public List Users { get; set; } + public List Users { get; internal set; } /// /// Gets or sets the custom fields. @@ -42,7 +42,7 @@ public class Group : IdentifiableName, IEquatable /// The custom fields. [XmlArray(RedmineKeys.CUSTOM_FIELDS)] [XmlArrayItem(RedmineKeys.CUSTOM_FIELD)] - public IList CustomFields { get; set; } + public IList CustomFields { get; internal set; } /// /// Gets or sets the custom fields. @@ -50,7 +50,7 @@ public class Group : IdentifiableName, IEquatable /// The custom fields. [XmlArray(RedmineKeys.MEMBERSHIPS)] [XmlArrayItem(RedmineKeys.MEMBERSHIP)] - public IList Memberships { get; set; } + public IList Memberships { get; internal set; } #region Implementation of IXmlSerializable diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 9dd7b0ef..cc38daca 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -140,7 +140,7 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// The custom fields. [XmlArray(RedmineKeys.CUSTOM_FIELDS)] [XmlArrayItem(RedmineKeys.CUSTOM_FIELD)] - public IList CustomFields { get; set; } + public IList CustomFields { get; internal set; } /// /// Gets or sets the created on. @@ -227,7 +227,7 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// [XmlArray(RedmineKeys.JOURNALS)] [XmlArrayItem(RedmineKeys.JOURNAL)] - public IList Journals { get; set; } + public IList Journals { get; internal set; } /// /// Gets or sets the changesets. @@ -237,7 +237,7 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// [XmlArray(RedmineKeys.CHANGESETS)] [XmlArrayItem(RedmineKeys.CHANGESET)] - public IList Changesets { get; set; } + public IList Changesets { get; internal set; } /// /// Gets or sets the attachments. @@ -247,7 +247,7 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// [XmlArray(RedmineKeys.ATTACHMENTS)] [XmlArrayItem(RedmineKeys.ATTACHMENT)] - public IList Attachments { get; set; } + public IList Attachments { get; internal set; } /// /// Gets or sets the issue relations. @@ -257,7 +257,7 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// [XmlArray(RedmineKeys.RELATIONS)] [XmlArrayItem(RedmineKeys.RELATION)] - public IList Relations { get; set; } + public IList Relations { get; internal set; } /// /// Gets or sets the issue children. @@ -268,7 +268,7 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// [XmlArray(RedmineKeys.CHILDREN)] [XmlArrayItem(RedmineKeys.ISSUE)] - public IList Children { get; set; } + public IList Children { get; internal set; } /// /// Gets or sets the attachments. @@ -278,14 +278,14 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// [XmlArray(RedmineKeys.UPLOADS)] [XmlArrayItem(RedmineKeys.UPLOAD)] - public IList Uploads { get; set; } + public IList Uploads { get; internal set; } /// /// /// [XmlArray(RedmineKeys.WATCHERS)] [XmlArrayItem(RedmineKeys.WATCHER)] - public IList Watchers { get; set; } + public IList Watchers { get; internal set; } /// /// diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 8e2c94b5..686aeb9a 100755 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -36,7 +36,7 @@ public class IssueCustomField : IdentifiableName, IEquatable, /// The value. [XmlArray(RedmineKeys.VALUE)] [XmlArrayItem(RedmineKeys.VALUE)] - public IList Values { get; set; } + public IList Values { get; internal set; } /// /// diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index 66cdb5d7..58ca0565 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -71,7 +71,7 @@ public class Journal : Identifiable, IEquatable, IXmlSerializa /// [XmlArray(RedmineKeys.DETAILS)] [XmlArrayItem(RedmineKeys.DETAIL)] - public IList Details { get; set; } + public IList Details { get; internal set; } /// /// diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index dcc112d0..6baf5aa2 100755 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -43,7 +43,7 @@ public class Membership : Identifiable, IEquatable, IXml /// The type. [XmlArray(RedmineKeys.ROLES)] [XmlArrayItem(RedmineKeys.ROLE)] - public List Roles { get; set; } + public List Roles { get; internal set; } /// /// diff --git a/src/redmine-net-api/Types/PaginatedObjects.cs b/src/redmine-net-api/Types/PaginatedObjects.cs index 13250355..2498e3a5 100755 --- a/src/redmine-net-api/Types/PaginatedObjects.cs +++ b/src/redmine-net-api/Types/PaginatedObjects.cs @@ -27,7 +27,7 @@ public class PaginatedObjects /// /// /// - public List Objects { get; set; } + public List Objects { get; internal set; } /// /// /// diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 69147165..53bc1542 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -108,7 +108,7 @@ public class Project : IdentifiableName, IEquatable /// [XmlArray(RedmineKeys.TRACKERS)] [XmlArrayItem(RedmineKeys.TRACKER)] - public IList Trackers { get; set; } + public IList Trackers { get; internal set; } /// /// Gets or sets the custom fields. @@ -118,7 +118,7 @@ public class Project : IdentifiableName, IEquatable /// [XmlArray(RedmineKeys.CUSTOM_FIELDS)] [XmlArrayItem(RedmineKeys.CUSTOM_FIELD)] - public IList CustomFields { get; set; } + public IList CustomFields { get; internal set; } /// /// Gets or sets the issue categories. @@ -128,7 +128,7 @@ public class Project : IdentifiableName, IEquatable /// [XmlArray(RedmineKeys.ISSUE_CATEGORIES)] [XmlArrayItem(RedmineKeys.ISSUE_CATEGORY)] - public IList IssueCategories { get; set; } + public IList IssueCategories { get; internal set; } /// /// since 2.6.0 @@ -138,14 +138,14 @@ public class Project : IdentifiableName, IEquatable /// [XmlArray(RedmineKeys.ENABLED_MODULES)] [XmlArrayItem(RedmineKeys.ENABLED_MODULE)] - public IList EnabledModules { get; set; } + public IList EnabledModules { get; internal set; } /// /// /// [XmlArray(RedmineKeys.TIME_ENTRY_ACTIVITIES)] [XmlArrayItem(RedmineKeys.TIME_ENTRY_ACTIVITY)] - public IList TimeEntryActivities { get; set; } + public IList TimeEntryActivities { get; internal set; } /// /// Generates an object from its XML representation. diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index 55520d2e..698259d8 100755 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -65,7 +65,7 @@ public class ProjectMembership : Identifiable, IEquatableThe type. [XmlArray(RedmineKeys.ROLES)] [XmlArrayItem(RedmineKeys.ROLE)] - public List Roles { get; set; } + public List Roles { get; internal set; } /// /// diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index fcf6fa93..1030089e 100755 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -37,7 +37,7 @@ public class Role : IdentifiableName, IEquatable /// [XmlArray(RedmineKeys.PERMISSIONS)] [XmlArrayItem(RedmineKeys.PERMISSION)] - public IList Permissions { get; set; } + public IList Permissions { get; internal set; } /// /// diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index 71e81fe0..59ce33b4 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -108,7 +108,7 @@ public string Comments /// The custom fields. [XmlArray(RedmineKeys.CUSTOM_FIELDS)] [XmlArrayItem(RedmineKeys.CUSTOM_FIELD)] - public IList CustomFields { get; set; } + public IList CustomFields { get; internal set; } /// /// diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index cef6b530..59540fb7 100755 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -60,7 +60,7 @@ public class Upload : IEquatable /// /// /// - public XmlSchema GetSchema() { return null; } + public static XmlSchema GetSchema() { return null; } /// /// Indicates whether the current object is equal to another object of the same type. diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index b3e6a52c..65d753f8 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -113,7 +113,7 @@ public class User : Identifiable, IXmlSerializable, IEquatable /// The custom fields. [XmlArray(RedmineKeys.CUSTOM_FIELDS)] [XmlArrayItem(RedmineKeys.CUSTOM_FIELD)] - public List CustomFields { get; set; } + public List CustomFields { get; internal set; } /// /// Gets or sets the memberships. @@ -123,7 +123,7 @@ public class User : Identifiable, IXmlSerializable, IEquatable /// [XmlArray(RedmineKeys.MEMBERSHIPS)] [XmlArrayItem(RedmineKeys.MEMBERSHIP)] - public List Memberships { get; set; } + public List Memberships { get; internal set; } /// /// Gets or sets the user's groups. @@ -133,7 +133,7 @@ public class User : Identifiable, IXmlSerializable, IEquatable /// [XmlArray(RedmineKeys.GROUPS)] [XmlArrayItem(RedmineKeys.GROUP)] - public List Groups { get; set; } + public List Groups { get; internal set; } /// /// Gets or sets the user's mail_notification. diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index f49c8d07..238a6214 100755 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -85,7 +85,7 @@ public class Version : IdentifiableName, IEquatable /// The custom fields. [XmlArray(RedmineKeys.CUSTOM_FIELDS)] [XmlArrayItem(RedmineKeys.CUSTOM_FIELD)] - public IList CustomFields { get; set; } + public IList CustomFields { get; internal set; } /// /// diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index d98a66ec..4398d968 100755 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -82,7 +82,7 @@ public class WikiPage : Identifiable, IXmlSerializable, IEquatable [XmlArray(RedmineKeys.ATTACHMENTS)] [XmlArrayItem(RedmineKeys.ATTACHMENT)] - public IList Attachments { get; set; } + public IList Attachments { get; internal set; } /// /// Sets the uploads. @@ -93,7 +93,7 @@ public class WikiPage : Identifiable, IXmlSerializable, IEquatableAvailability starting with redmine version 3.3 [XmlArray(RedmineKeys.UPLOADS)] [XmlArrayItem(RedmineKeys.UPLOAD)] - public IList Uploads { get; set; } + public IList Uploads { get; internal set; } #region Implementation of IXmlSerializable From 2850d3281dec05410f4ebb65b3913f051d669be2 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Sat, 23 Nov 2019 15:32:08 +0200 Subject: [PATCH 117/601] Remove unnecessary parameters --- src/redmine-net-api/Async/RedmineManagerAsync.cs | 8 ++------ src/redmine-net-api/Async/RedmineManagerAsync40.cs | 5 ++--- src/redmine-net-api/Async/RedmineManagerAsync45.cs | 6 ++---- src/redmine-net-api/RedmineManager.cs | 2 +- tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs | 2 +- 5 files changed, 8 insertions(+), 15 deletions(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync.cs b/src/redmine-net-api/Async/RedmineManagerAsync.cs index 68468dea..b7ee7ff7 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync.cs @@ -80,11 +80,9 @@ public static Task GetWikiPageAsync(this RedmineManager redmineManager /// Gets all wiki pages asynchronous. /// /// The redmine manager. - /// The parameters. /// The project identifier. /// - public static Task> GetAllWikiPagesAsync(this RedmineManager redmineManager, - NameValueCollection parameters, string projectId) + public static Task> GetAllWikiPagesAsync(this RedmineManager redmineManager, string projectId) { return delegate { return redmineManager.GetAllWikiPages(projectId); }; } @@ -224,10 +222,8 @@ public static Task UpdateObjectAsync(this RedmineManager redmineManager, stri /// /// The redmine manager. /// The identifier. - /// The parameters. /// - public static Task DeleteObjectAsync(this RedmineManager redmineManager, string id, - NameValueCollection parameters) where T : class, new() + public static Task DeleteObjectAsync(this RedmineManager redmineManager, string id) where T : class, new() { return delegate { redmineManager.DeleteObject(id); }; } diff --git a/src/redmine-net-api/Async/RedmineManagerAsync40.cs b/src/redmine-net-api/Async/RedmineManagerAsync40.cs index d2b45f28..18506462 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync40.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync40.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -245,9 +245,8 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// /// The redmine manager. /// The identifier. - /// The parameters. /// - public static Task DeleteObjectAsync(this RedmineManager redmineManager, string id, NameValueCollection parameters) where T : class, new() + public static Task DeleteObjectAsync(this RedmineManager redmineManager, string id) where T : class, new() { return Task.Factory.StartNew(() => redmineManager.DeleteObject(id), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index 273c3cfd..be209248 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -363,7 +363,6 @@ public static async Task CreateObjectAsync(this RedmineManager redmineMana /// The redmine manager. /// The identifier. /// The object. - /// The project identifier. /// public static async Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T entity) where T : class, new() @@ -381,9 +380,8 @@ public static async Task UpdateObjectAsync(this RedmineManager redmineManager /// The type of objects to delete. /// The redmine manager. /// The id of the object to delete - /// Optional filters and/or optional fetched data. /// - public static async Task DeleteObjectAsync(this RedmineManager redmineManager, string id, NameValueCollection parameters) + public static async Task DeleteObjectAsync(this RedmineManager redmineManager, string id) where T : class, new() { var uri = UrlHelper.GetDeleteUrl(redmineManager, id); diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 792919b9..d0008040 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs index d37a2f45..30075e8e 100644 --- a/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs @@ -200,7 +200,7 @@ public async Task Should_Update_User() public async Task Should_Delete_User() { var userId = 62.ToString(); - await fixture.RedmineManager.DeleteObjectAsync(userId, null); + await fixture.RedmineManager.DeleteObjectAsync(userId); await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetObjectAsync(userId, null)); } From 46ddaa6321fd17c2fe61c15595ad67c4324ecf31 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Sat, 23 Nov 2019 15:35:12 +0200 Subject: [PATCH 118/601] Remove CA1720 & CA2227 --- src/redmine-net-api/redmine-net-api.csproj | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 93e5e287..883eebeb 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -1,4 +1,4 @@ - + @@ -12,7 +12,16 @@ TRACE Debug;Release PackageReference - NU5105;CA1303;CA1056;CA1062;CA1707;CA1720;CA1806;CA1716;CA1724;CA2227 + + NU5105; + CA1303; + CA1056; + CA1062; + CA1707; + CA1716; + CA1724; + CA1806; + From 91497b2a44f464b6e6eaff9a68dd3ca8cdf61d07 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Sat, 23 Nov 2019 15:35:40 +0200 Subject: [PATCH 119/601] Update VersionPrefix --- src/redmine-net-api/redmine-net-api.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 883eebeb..0a0adbcf 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -1,4 +1,4 @@ - + @@ -48,7 +48,7 @@ ... Redmine .NET API Client - 2.0.47 + 3.0.0 From d270fac53dfd0be1f0e00749b1827dca54363e16 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 6 Dec 2019 13:13:41 +0200 Subject: [PATCH 120/601] Cleanup --- src/redmine-net-api/Async/RedmineManagerAsync45.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index 273c3cfd..816f515c 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -363,7 +363,6 @@ public static async Task CreateObjectAsync(this RedmineManager redmineMana /// The redmine manager. /// The identifier. /// The object. - /// The project identifier. /// public static async Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T entity) where T : class, new() From 6c111cc57c12738756cfa3d0cf3397be686e6466 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 6 Dec 2019 13:42:54 +0200 Subject: [PATCH 121/601] Add redmine-net-api.snk --- redmine-net-api.sln | 5 +++++ redmine-net-api.snk | Bin 0 -> 596 bytes src/redmine-net-api/redmine-net-api.csproj | 17 ++++++++++++++--- 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 redmine-net-api.snk diff --git a/redmine-net-api.sln b/redmine-net-api.sln index 6a6da6ee..e06a01cf 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -15,6 +15,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionFolder", "SolutionF ProjectSection(SolutionItems) = preProject appveyor.yml = appveyor.yml docker-compose.yml = docker-compose.yml + CONTRIBUTING.md = CONTRIBUTING.md + LICENSE = LICENSE + logo.png = logo.png + README.md = README.md + redmine-net-api.snk = redmine-net-api.snk EndProjectSection EndProject Global diff --git a/redmine-net-api.snk b/redmine-net-api.snk new file mode 100644 index 0000000000000000000000000000000000000000..9bc3c18fa396f7f21f34cb39af87c94da753e446 GIT binary patch literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50097JhH$|Om5knNbcroe2Z&qJt2a_rxL?`8Y-_p1Hlja}r`6m`Q;mf7#QGzQrhxCY?fqYn+e7$m`H3ETq#B z1s1D$y)N0w9JpDEbC=#6?mi@J2nYoygYW_H!bbX*5r&;GFR!J_^`<6BjvQS3V?b38 zq*6Bf{0ztRc-{Q>b334}+O}G!``r64EWLEDki1+)5shPCi4n%h$NEV^%+?*>r8PLz zFEpgWH_*vcio!WQZUU4)Z$8`1-9y%4|IJ>k3-mmFRlIOC!@s_1Fx5maAEh4oIo{7^ zV(S_-Vmi!uca%g&p=vjbD}(bYwH-5e<+IZ6+n+%rplsIH8_c-tXy2ttp+y5QjX>te zv>U)+-XHrE#bR+&6o%v^UPJVF;w?7!8V56@4)R#HI^&noK7%iYTy&bN=}L_iN-?Pe zs$<+Z99tzgv zYddaxg8|Lc(61YXk{<7fo?4w^c1cKzJJZmSZP!M=s+Byd-gq9|l@WmYu0zJ`j5E@l iRu(`pg{ek4Nqo%YyKq>e%VaH*xx1o|qf9Bj(5AdBKp}1.0.0 en-US - redmine-api - https://github.com/zapadi/redmine-net-api/blob/master/logo.png + + redmine-api + redmine-api-signed + https://raw.githubusercontent.com/zapadi/redmine-net-api/master/logo.png https://github.com/zapadi/redmine-net-api/blob/master/LICENSE https://github.com/zapadi/redmine-net-api true @@ -42,6 +44,11 @@ 2.0.47 + + + true + ..\..\redmine-net-api.snk + NET20;NETFULL @@ -170,6 +177,9 @@ + + redmine-net-api.snk + @@ -199,7 +209,8 @@ - <_Parameter1>$(MSBuildProjectName).Tests + <_Parameter1>"..\..\tests\$(MSBuildProjectName).Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100678670c10a958cde6b74892d5207885bd2ab375255b85fd7794d60ff01ba1cf81aaff13f54d8a08a8f8c7816ef4fc0138de7941031e47b5b0c5d51f58cbfe6c5652e11cfa0865e2d0a860f47f73b701e6758e3e381665f7664f938462c9eb9bdc17312621e984981227fd9d38dbec5288e269d42836b9c8fc4c8ebd0282ca4d3" + From d090ea148bbb51b332e4431f6cb98bbb03afb338 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 6 Dec 2019 13:38:05 +0200 Subject: [PATCH 122/601] Update appveyor to generate signed package --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index 38833ec7..57ba2a35 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -49,6 +49,7 @@ after_build: - ps: echo "Build suffix= $env:BUILD_SUFFIX" - ps: echo "Version suffix= $env:VERSION_SUFFIX" - ps: dotnet pack src\redmine-net-api\redmine-net-api.csproj -c Release --output .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build $env:VERSION_SUFFIX + - ps: dotnet pack src\redmine-net-api\redmine-net-api.csproj -c Release --output .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build $env:VERSION_SUFFIX -p:Sign=true test: off From ffc873516d2d792aef1844d93e6fcf317b075864 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 6 Dec 2019 13:38:41 +0200 Subject: [PATCH 123/601] Exclude artifacts folder --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 27110cda..1008d646 100755 --- a/.gitignore +++ b/.gitignore @@ -260,3 +260,4 @@ paket-files/ ### VisualStudioCode ### .vscode +.artifacts From 9b6e25dd3e35f100fc765c29e427299006727cd4 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 6 Dec 2019 13:42:39 +0200 Subject: [PATCH 124/601] Changed csproj package, icon & copyright --- src/redmine-net-api/redmine-net-api.csproj | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index f51e1ec4..9820e922 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -21,14 +21,15 @@ Adrian Popescu Redmine Api is a .NET rest client for Redmine. p.adi - Adrian Popescu, 2011-2020 - + Adrian Popescu, 2011 - $([System.DateTime]::Now.Year.ToString()) 1.0.0 en-US - redmine-api redmine-api-signed https://raw.githubusercontent.com/zapadi/redmine-net-api/master/logo.png + logo.png + Apache-2.0 + LICENSE https://github.com/zapadi/redmine-net-api/blob/master/LICENSE https://github.com/zapadi/redmine-net-api true @@ -180,6 +181,8 @@ redmine-net-api.snk + + From eac0abed3a383082ae054e4f9e58342452ef4a03 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 6 Dec 2019 15:40:24 +0200 Subject: [PATCH 125/601] Fix #242 --- .../Internals/XmlTextReaderBuilder.cs | 35 +++++++++++-------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs index b5af4dd1..6a44a297 100644 --- a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs +++ b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs @@ -3,7 +3,7 @@ namespace Redmine.Net.Api.Internals { - internal static class XmlTextReaderBuilder + public static class XmlTextReaderBuilder { #if NET20 public static XmlReader Create(StringReader stringReader) @@ -18,16 +18,18 @@ public static XmlReader Create(StringReader stringReader) } - public static XmlReader Create(string stringReader) + public static XmlReader Create(string xml) { - return XmlReader.Create(stringReader, new XmlReaderSettings() + using (var stringReader = new StringReader(xml)) { - ProhibitDtd = true, - XmlResolver = null, - IgnoreComments = true, - IgnoreWhitespace = true, - }); - + return XmlReader.Create(stringReader, new XmlReaderSettings() + { + ProhibitDtd = true, + XmlResolver = null, + IgnoreComments = true, + IgnoreWhitespace = true, + }); + } } #else public static XmlTextReader Create(StringReader stringReader) @@ -40,14 +42,17 @@ public static XmlTextReader Create(StringReader stringReader) }; } - public static XmlTextReader Create(string stringReader) + public static XmlTextReader Create(string xml) { - return new XmlTextReader(stringReader) + using (var stringReader = new StringReader(xml)) { - DtdProcessing = DtdProcessing.Prohibit, - XmlResolver = null, - WhitespaceHandling = WhitespaceHandling.None - }; + return new XmlTextReader(stringReader) + { + DtdProcessing = DtdProcessing.Prohibit, + XmlResolver = null, + WhitespaceHandling = WhitespaceHandling.None + }; + } } #endif } From d2ea752768f4a58d1c20f93e8ec0e5699cbb42fc Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 6 Dec 2019 15:49:46 +0200 Subject: [PATCH 126/601] Update PackageRelease & bump version --- src/redmine-net-api/redmine-net-api.csproj | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 9820e922..7e5a87fc 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -1,8 +1,7 @@  - + - net20;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48; false Redmine.Net.Api @@ -16,8 +15,6 @@ - - Adrian Popescu Redmine Api is a .NET rest client for Redmine. p.adi @@ -33,17 +30,18 @@ https://github.com/zapadi/redmine-net-api/blob/master/LICENSE https://github.com/zapadi/redmine-net-api true - Changed to new csproj format. + + Add redmine-net-api.snk + Fix #242 - Invalid URI: The Uri scheme is too long + Fix package icon url. + Redmine; REST; API; Client; .NET; Adrian Popescu; - Redmine .NET API Client git https://github.com/zapadi/redmine-net-api ... Redmine .NET API Client - - 2.0.47 - + 2.0.48 @@ -83,7 +81,6 @@ NET462;NETFULL - NET47;NETFULL @@ -109,7 +106,6 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - @@ -184,14 +180,12 @@ - full true - full true @@ -209,7 +203,6 @@ true - <_Parameter1>"..\..\tests\$(MSBuildProjectName).Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100678670c10a958cde6b74892d5207885bd2ab375255b85fd7794d60ff01ba1cf81aaff13f54d8a08a8f8c7816ef4fc0138de7941031e47b5b0c5d51f58cbfe6c5652e11cfa0865e2d0a860f47f73b701e6758e3e381665f7664f938462c9eb9bdc17312621e984981227fd9d38dbec5288e269d42836b9c8fc4c8ebd0282ca4d3" From 062e42cf4760219649b853baa9f57221f93d1476 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 6 Dec 2019 16:27:56 +0200 Subject: [PATCH 127/601] Fix build --- .../Internals/XmlTextReaderBuilder.cs | 24 +++++++++++++++++++ src/redmine-net-api/redmine-net-api.csproj | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs index 6a44a297..404fc270 100644 --- a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs +++ b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs @@ -3,9 +3,17 @@ namespace Redmine.Net.Api.Internals { + /// + /// + /// public static class XmlTextReaderBuilder { #if NET20 + /// + /// + /// + /// + /// public static XmlReader Create(StringReader stringReader) { return XmlReader.Create(stringReader, new XmlReaderSettings() @@ -18,6 +26,11 @@ public static XmlReader Create(StringReader stringReader) } + /// + /// + /// + /// + /// public static XmlReader Create(string xml) { using (var stringReader = new StringReader(xml)) @@ -32,6 +45,11 @@ public static XmlReader Create(string xml) } } #else + /// + /// + /// + /// + /// public static XmlTextReader Create(StringReader stringReader) { return new XmlTextReader(stringReader) @@ -42,6 +60,12 @@ public static XmlTextReader Create(StringReader stringReader) }; } + + /// + /// + /// + /// + /// public static XmlTextReader Create(string xml) { using (var stringReader = new StringReader(xml)) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 7e5a87fc..54da17e6 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -205,7 +205,7 @@ - <_Parameter1>"..\..\tests\$(MSBuildProjectName).Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100678670c10a958cde6b74892d5207885bd2ab375255b85fd7794d60ff01ba1cf81aaff13f54d8a08a8f8c7816ef4fc0138de7941031e47b5b0c5d51f58cbfe6c5652e11cfa0865e2d0a860f47f73b701e6758e3e381665f7664f938462c9eb9bdc17312621e984981227fd9d38dbec5288e269d42836b9c8fc4c8ebd0282ca4d3" + <_Parameter1>$(MSBuildProjectName).Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100678670c10a958cde6b74892d5207885bd2ab375255b85fd7794d60ff01ba1cf81aaff13f54d8a08a8f8c7816ef4fc0138de7941031e47b5b0c5d51f58cbfe6c5652e11cfa0865e2d0a860f47f73b701e6758e3e381665f7664f938462c9eb9bdc17312621e984981227fd9d38dbec5288e269d42836b9c8fc4c8ebd0282ca4d3 From f9ed9a6e97bb72c24777a214246f2a5ced6742ed Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 6 Dec 2019 16:58:46 +0200 Subject: [PATCH 128/601] Update packages & fix test build --- src/redmine-net-api/redmine-net-api.csproj | 11 +++++----- .../redmine-net-api.Tests.csproj | 21 ++++++++++++++++--- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index d6272139..645bc13c 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -107,11 +107,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -186,8 +186,8 @@ redmine-net-api.snk - - + + @@ -214,7 +214,8 @@ - <_Parameter1>$(MSBuildProjectName).Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100678670c10a958cde6b74892d5207885bd2ab375255b85fd7794d60ff01ba1cf81aaff13f54d8a08a8f8c7816ef4fc0138de7941031e47b5b0c5d51f58cbfe6c5652e11cfa0865e2d0a860f47f73b701e6758e3e381665f7664f938462c9eb9bdc17312621e984981227fd9d38dbec5288e269d42836b9c8fc4c8ebd0282ca4d3 + <_Parameter1 Condition="'$(Sign)' == '' OR '$(Sign)' == 'false'">$(MSBuildProjectName).Tests + <_Parameter1 Condition="'$(Sign)' == 'true'">$(MSBuildProjectName).Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100678670c10a958cde6b74892d5207885bd2ab375255b85fd7794d60ff01ba1cf81aaff13f54d8a08a8f8c7816ef4fc0138de7941031e47b5b0c5d51f58cbfe6c5652e11cfa0865e2d0a860f47f73b701e6758e3e381665f7664f938462c9eb9bdc17312621e984981227fd9d38dbec5288e269d42836b9c8fc4c8ebd0282ca4d3 diff --git a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index efdec128..a11a5962 100644 --- a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -6,12 +6,16 @@ false net48 net45;net451;net452;net46;net461;net462;net47;net471;net472;net48; - true + false redmine.net.api.Tests redmine-net-api.Tests - + + true + ..\..\redmine-net-api.snk + + NET20;NETFULL @@ -63,7 +67,12 @@ - + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -89,5 +98,11 @@ + + + redmine-net-api.snk + + + \ No newline at end of file From 25bb0e87daf384257ffe2e03265b62836d4c3da4 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 6 Dec 2019 17:01:34 +0200 Subject: [PATCH 129/601] Fix NU5035 The PackageLicenseUrl is being deprecated and cannot be used in conjunction with the PackageLicenseFile or PackageLicenseExpression. --- src/redmine-net-api/redmine-net-api.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 645bc13c..75fa4b8a 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -36,7 +36,6 @@ logo.png Apache-2.0 LICENSE - https://github.com/zapadi/redmine-net-api/blob/master/LICENSE https://github.com/zapadi/redmine-net-api true From d44510c079d585fdbc05bad3087d92891ff96268 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 6 Dec 2019 17:05:41 +0200 Subject: [PATCH 130/601] Fix NU5033 --- src/redmine-net-api/redmine-net-api.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 75fa4b8a..20281c4d 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -34,7 +34,6 @@ redmine-api-signed https://raw.githubusercontent.com/zapadi/redmine-net-api/master/logo.png logo.png - Apache-2.0 LICENSE https://github.com/zapadi/redmine-net-api true From 5b75f792546ac25768fc4e58931a584b8b6b03bd Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Fri, 6 Dec 2019 17:09:31 +0200 Subject: [PATCH 131/601] Bump version --- src/redmine-net-api/redmine-net-api.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 20281c4d..15a7f6ff 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -48,7 +48,7 @@ https://github.com/zapadi/redmine-net-api ... Redmine .NET API Client - 3.0.0 + 3.0.1 From 045d6c86b5b3eba2419f4ffaa94dc70b18f2341c Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 10 Dec 2019 15:39:49 +0200 Subject: [PATCH 132/601] Update appveyor --- appveyor.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 57ba2a35..a6ab1732 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -27,12 +27,14 @@ init: # Good practise, because Windows line endings are different from Unix/Linux ones - ps: git config --global core.autocrlf true - - ps: $branch = $env:APPVEYOR_REPO_BRANCH; - - ps: $revision = @{ $true = ""; $false = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10) }[$env:APPVEYOR_REPO_TAG -eq "true"]; - - ps: $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -eq ""]; - ps: $commitHash = $($env:APPVEYOR_REPO_COMMIT.substring(0,7)); - - ps: $env:BUILD_SUFFIX = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""]; - - ps: $env:VERSION_SUFFIX = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[$suffix -ne ""]; + - ps: $branch = $env:APPVEYOR_REPO_BRANCH; + - ps: $buildNumber = $env:APPVEYOR_BUILD_NUMBER; + - ps: $isRepoTag = $env:APPVEYOR_REPO_TAG; + - ps: $revision = @{ $true = ""; $false = "{0:00000}" -f [convert]::ToInt32("0" + $buildNumber, 10) }[$isRepoTag -eq [bool]::true]; + - ps: $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and [string]::IsNullOrEmpty($revision)]; + - ps: $env:BUILD_SUFFIX = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[ -not ([string]::IsNullOrEmpty($suffix))]; + - ps: $env:VERSION_SUFFIX = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[ -not ([string]::IsNullOrEmpty($suffix))]; install: - ps: dotnet restore redmine-net-api.sln @@ -44,8 +46,11 @@ before_build: build_script: - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX + - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX -p:Sign=true after_build: + - ps: echo "Build number= $buildNumber" + - ps: echo "Is repository tag= $isRepoTag" - ps: echo "Build suffix= $env:BUILD_SUFFIX" - ps: echo "Version suffix= $env:VERSION_SUFFIX" - ps: dotnet pack src\redmine-net-api\redmine-net-api.csproj -c Release --output .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build $env:VERSION_SUFFIX From e0c23994efcbc2a2df0f9ba479a7850b4f58afa5 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 10 Dec 2019 15:55:29 +0200 Subject: [PATCH 133/601] Bump version --- src/redmine-net-api/redmine-net-api.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 15a7f6ff..ec10fd63 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -48,7 +48,7 @@ https://github.com/zapadi/redmine-net-api ... Redmine .NET API Client - 3.0.1 + 3.0.2 From 55f680bb2527fa2e9e757ef96299a1cbf76508eb Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 10 Dec 2019 16:17:10 +0200 Subject: [PATCH 134/601] Update appveyor --- appveyor.yml | 16 ++++++++-------- src/redmine-net-api/redmine-net-api.csproj | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index a6ab1732..d78b0825 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -31,8 +31,8 @@ init: - ps: $branch = $env:APPVEYOR_REPO_BRANCH; - ps: $buildNumber = $env:APPVEYOR_BUILD_NUMBER; - ps: $isRepoTag = $env:APPVEYOR_REPO_TAG; - - ps: $revision = @{ $true = ""; $false = "{0:00000}" -f [convert]::ToInt32("0" + $buildNumber, 10) }[$isRepoTag -eq [bool]::true]; - - ps: $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and [string]::IsNullOrEmpty($revision)]; + - ps: $revision = @{ $true = [string]::Empty; $false = "{0:00000}" -f [convert]::ToInt32("0" + $buildNumber, 10) }[[bool]::$isRepoTag -eq [bool]::true]; + - ps: $suffix = @{ $true = [string]::Empty; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and [string]::IsNullOrEmpty($revision)]; - ps: $env:BUILD_SUFFIX = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[ -not ([string]::IsNullOrEmpty($suffix))]; - ps: $env:VERSION_SUFFIX = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[ -not ([string]::IsNullOrEmpty($suffix))]; @@ -40,8 +40,12 @@ install: - ps: dotnet restore redmine-net-api.sln before_build: - - ps: write-host "Build Suffix=$env:BUILD_SUFFIX" -foregroundcolor Green - - ps: write-host "Version suffix=$env:VERSION_SUFFIX" -foregroundcolor Magenta + - ps: write-host "Build Suffix = $env:BUILD_SUFFIX" -foregroundcolor Green + - ps: write-host "Version suffix = $env:VERSION_SUFFIX" -foregroundcolor Magenta + - ps: write-host "Branch = $branch" -foregroundcolor Cyan + - ps: write-host "Revision = $revision" -foregroundcolor Orange + - ps: write-host "Build suffix = $env:BUILD_SUFFIX" -foregroundcolor Yellow + - ps: write-host "Version suffix = $env:VERSION_SUFFIX" -foregroundcolor Red - ps: dotnet --version build_script: @@ -49,10 +53,6 @@ build_script: - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX -p:Sign=true after_build: - - ps: echo "Build number= $buildNumber" - - ps: echo "Is repository tag= $isRepoTag" - - ps: echo "Build suffix= $env:BUILD_SUFFIX" - - ps: echo "Version suffix= $env:VERSION_SUFFIX" - ps: dotnet pack src\redmine-net-api\redmine-net-api.csproj -c Release --output .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build $env:VERSION_SUFFIX - ps: dotnet pack src\redmine-net-api\redmine-net-api.csproj -c Release --output .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build $env:VERSION_SUFFIX -p:Sign=true diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index ec10fd63..0acb8e27 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -48,7 +48,7 @@ https://github.com/zapadi/redmine-net-api ... Redmine .NET API Client - 3.0.2 + 3.0.4 From 558cdb8b92906e4456ae187ac798087cb89494ce Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 10 Dec 2019 16:24:20 +0200 Subject: [PATCH 135/601] Fix color --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index d78b0825..ae130714 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -42,8 +42,8 @@ install: before_build: - ps: write-host "Build Suffix = $env:BUILD_SUFFIX" -foregroundcolor Green - ps: write-host "Version suffix = $env:VERSION_SUFFIX" -foregroundcolor Magenta - - ps: write-host "Branch = $branch" -foregroundcolor Cyan - - ps: write-host "Revision = $revision" -foregroundcolor Orange + - ps: write-host "Branch = $branch" -foregroundcolor DarkYellow + - ps: write-host "Revision = $revision" -foregroundcolor Cyan - ps: write-host "Build suffix = $env:BUILD_SUFFIX" -foregroundcolor Yellow - ps: write-host "Version suffix = $env:VERSION_SUFFIX" -foregroundcolor Red - ps: dotnet --version From 3f56941da1005b28ac9275e6db64db3d6566618d Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 10 Dec 2019 16:40:51 +0200 Subject: [PATCH 136/601] Update appveyor --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index ae130714..113451aa 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -40,8 +40,8 @@ install: - ps: dotnet restore redmine-net-api.sln before_build: - - ps: write-host "Build Suffix = $env:BUILD_SUFFIX" -foregroundcolor Green - - ps: write-host "Version suffix = $env:VERSION_SUFFIX" -foregroundcolor Magenta + - ps: write-host "Is repo tag = $isRepoTag" -foregroundcolor Green + - ps: write-host "Build number = $buildNumber" -foregroundcolor Magenta - ps: write-host "Branch = $branch" -foregroundcolor DarkYellow - ps: write-host "Revision = $revision" -foregroundcolor Cyan - ps: write-host "Build suffix = $env:BUILD_SUFFIX" -foregroundcolor Yellow From 2940fd6e5972398f9f36a0462952d32b814c8bf7 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 10 Dec 2019 16:54:51 +0200 Subject: [PATCH 137/601] Fix tag condition --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 113451aa..c81ca4d5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -31,7 +31,7 @@ init: - ps: $branch = $env:APPVEYOR_REPO_BRANCH; - ps: $buildNumber = $env:APPVEYOR_BUILD_NUMBER; - ps: $isRepoTag = $env:APPVEYOR_REPO_TAG; - - ps: $revision = @{ $true = [string]::Empty; $false = "{0:00000}" -f [convert]::ToInt32("0" + $buildNumber, 10) }[[bool]::$isRepoTag -eq [bool]::true]; + - ps: $revision = @{ $true = [string]::Empty; $false = "{0:00000}" -f [convert]::ToInt32("0" + $buildNumber, 10) }[$isRepoTag -eq "true"]; - ps: $suffix = @{ $true = [string]::Empty; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and [string]::IsNullOrEmpty($revision)]; - ps: $env:BUILD_SUFFIX = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[ -not ([string]::IsNullOrEmpty($suffix))]; - ps: $env:VERSION_SUFFIX = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[ -not ([string]::IsNullOrEmpty($suffix))]; From c80ad0011b0140a1d8b2f494e6d599e09a18a340 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 10 Dec 2019 17:12:10 +0200 Subject: [PATCH 138/601] Update appveyor tag version regex --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index c81ca4d5..618c75f3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -21,7 +21,7 @@ nuget: branches: only: - master - - /\d\.\d\.\d/ + - /v\d*\.\d*\.\d*/ init: # Good practise, because Windows line endings are different from Unix/Linux ones From 05db46f07d5433b7a1f70fa733d82d61dd15624c Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 10 Dec 2019 17:31:54 +0200 Subject: [PATCH 139/601] Update appveyor skip files --- appveyor.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 618c75f3..a8e24db6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -69,7 +69,6 @@ skip_commits: - '**/*.md' - '**/*.gif' - '**/*.png' - - '**/*.yml' - LICENSE - tests/* From c79a769fab3aab9d48286e4c666e2d3209f66f67 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Wed, 11 Dec 2019 18:38:21 +0200 Subject: [PATCH 140/601] Fix #243 --- src/redmine-net-api/Types/Group.cs | 2 +- src/redmine-net-api/Types/Issue.cs | 4 ++-- src/redmine-net-api/Types/IssueCustomField.cs | 2 +- src/redmine-net-api/Types/Project.cs | 6 +++--- src/redmine-net-api/Types/ProjectMembership.cs | 2 +- src/redmine-net-api/Types/User.cs | 2 +- src/redmine-net-api/Types/WikiPage.cs | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 0380269a..325ee1e9 100755 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -34,7 +34,7 @@ public class Group : IdentifiableName, IEquatable /// [XmlArray(RedmineKeys.USERS)] [XmlArrayItem(RedmineKeys.USER)] - public List Users { get; internal set; } + public List Users { get; set; } /// /// Gets or sets the custom fields. diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index cc38daca..f3874baf 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -140,7 +140,7 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// The custom fields. [XmlArray(RedmineKeys.CUSTOM_FIELDS)] [XmlArrayItem(RedmineKeys.CUSTOM_FIELD)] - public IList CustomFields { get; internal set; } + public IList CustomFields { get; set; } /// /// Gets or sets the created on. @@ -278,7 +278,7 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// [XmlArray(RedmineKeys.UPLOADS)] [XmlArrayItem(RedmineKeys.UPLOAD)] - public IList Uploads { get; internal set; } + public IList Uploads { get; set; } /// /// diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 686aeb9a..8e2c94b5 100755 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -36,7 +36,7 @@ public class IssueCustomField : IdentifiableName, IEquatable, /// The value. [XmlArray(RedmineKeys.VALUE)] [XmlArrayItem(RedmineKeys.VALUE)] - public IList Values { get; internal set; } + public IList Values { get; set; } /// /// diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 53bc1542..02da4267 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -108,7 +108,7 @@ public class Project : IdentifiableName, IEquatable /// [XmlArray(RedmineKeys.TRACKERS)] [XmlArrayItem(RedmineKeys.TRACKER)] - public IList Trackers { get; internal set; } + public IList Trackers { get; set; } /// /// Gets or sets the custom fields. @@ -118,7 +118,7 @@ public class Project : IdentifiableName, IEquatable /// [XmlArray(RedmineKeys.CUSTOM_FIELDS)] [XmlArrayItem(RedmineKeys.CUSTOM_FIELD)] - public IList CustomFields { get; internal set; } + public IList CustomFields { get; set; } /// /// Gets or sets the issue categories. @@ -138,7 +138,7 @@ public class Project : IdentifiableName, IEquatable /// [XmlArray(RedmineKeys.ENABLED_MODULES)] [XmlArrayItem(RedmineKeys.ENABLED_MODULE)] - public IList EnabledModules { get; internal set; } + public IList EnabledModules { get; set; } /// /// diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index 698259d8..ba41fe57 100755 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -65,7 +65,7 @@ public class ProjectMembership : Identifiable, IEquatableThe type. [XmlArray(RedmineKeys.ROLES)] [XmlArrayItem(RedmineKeys.ROLE)] - public List Roles { get; internal set; } + public List Roles { get; set; } /// /// diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index 65d753f8..5471206c 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -113,7 +113,7 @@ public class User : Identifiable, IXmlSerializable, IEquatable /// The custom fields. [XmlArray(RedmineKeys.CUSTOM_FIELDS)] [XmlArrayItem(RedmineKeys.CUSTOM_FIELD)] - public List CustomFields { get; internal set; } + public List CustomFields { get; set; } /// /// Gets or sets the memberships. diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index 4398d968..4a1124dd 100755 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -93,7 +93,7 @@ public class WikiPage : Identifiable, IXmlSerializable, IEquatableAvailability starting with redmine version 3.3 [XmlArray(RedmineKeys.UPLOADS)] [XmlArrayItem(RedmineKeys.UPLOAD)] - public IList Uploads { get; internal set; } + public IList Uploads { get; set; } #region Implementation of IXmlSerializable From a20cb142d51ccbe116a56a5301646238af1b8ce6 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Wed, 11 Dec 2019 18:39:21 +0200 Subject: [PATCH 141/601] Update version --- src/redmine-net-api/redmine-net-api.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 0acb8e27..c44497db 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -48,7 +48,7 @@ https://github.com/zapadi/redmine-net-api ... Redmine .NET API Client - 3.0.4 + 3.0.6 From f6eb52e8946383586371c14c312a868c0a251854 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 10 Jan 2020 18:54:10 +0200 Subject: [PATCH 142/601] Temporarily remove json serialization --- .../Extensions/JsonExtensions.cs | 232 ----------------- .../Internals/RedmineSerializer.cs | 74 +++--- .../Internals/RedmineSerializerJson.cs | 245 ------------------ .../JSonConverters/AttachmentConverter.cs | 103 -------- .../JSonConverters/AttachmentsConverter.cs | 85 ------ .../JSonConverters/ChangeSetConverter.cs | 82 ------ .../JSonConverters/CustomFieldConverter.cs | 93 ------- .../CustomFieldPossibleValueConverter.cs | 77 ------ .../CustomFieldRoleConverter.cs | 77 ------ .../JSonConverters/DetailConverter.cs | 83 ------ .../JSonConverters/ErrorConverter.cs | 77 ------ .../JSonConverters/FileConverter.cs | 112 -------- .../JSonConverters/GroupConverter.cs | 98 ------- .../JSonConverters/GroupUserConverter.cs | 78 ------ .../IdentifiableNameConverter.cs | 92 ------- .../JSonConverters/IssueCategoryConverter.cs | 98 ------- .../JSonConverters/IssueChildConverter.cs | 76 ------ .../JSonConverters/IssueConverter.cs | 156 ----------- .../IssueCustomFieldConverter.cs | 122 --------- .../JSonConverters/IssuePriorityConverter.cs | 78 ------ .../JSonConverters/IssueRelationConverter.cs | 102 -------- .../JSonConverters/IssueStatusConverter.cs | 82 ------ .../JSonConverters/JournalConverter.cs | 85 ------ .../JSonConverters/MembershipConverter.cs | 82 ------ .../JSonConverters/MembershipRoleConverter.cs | 82 ------ .../JSonConverters/NewsConverter.cs | 85 ------ .../JSonConverters/PermissionConverter.cs | 73 ------ .../JSonConverters/ProjectConverter.cs | 119 --------- .../ProjectEnabledModuleConverter.cs | 78 ------ .../ProjectIssueCategoryConverter.cs | 90 ------- .../ProjectMembershipConverter.cs | 96 ------- .../JSonConverters/ProjectTrackerConverter.cs | 78 ------ .../JSonConverters/QueryConverter.cs | 83 ------ .../JSonConverters/RoleConverter.cs | 92 ------- .../TimeEntryActivityConverter.cs | 78 ------ .../JSonConverters/TimeEntryConverter.cs | 121 --------- .../JSonConverters/TrackerConverter.cs | 81 ------ .../TrackerCustomFieldConverter.cs | 68 ----- .../JSonConverters/UploadConverter.cs | 93 ------- .../JSonConverters/UserConverter.cs | 127 --------- .../JSonConverters/UserGroupConverter.cs | 68 ----- .../JSonConverters/VersionConverter.cs | 109 -------- .../JSonConverters/WatcherConverter.cs | 87 ------- .../JSonConverters/WikiPageConverter.cs | 99 ------- 44 files changed, 37 insertions(+), 4259 deletions(-) delete mode 100644 src/redmine-net-api/Extensions/JsonExtensions.cs mode change 100755 => 100644 src/redmine-net-api/Internals/RedmineSerializer.cs delete mode 100755 src/redmine-net-api/Internals/RedmineSerializerJson.cs delete mode 100755 src/redmine-net-api/JSonConverters/AttachmentConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/AttachmentsConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/ChangeSetConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/CustomFieldConverter.cs delete mode 100644 src/redmine-net-api/JSonConverters/CustomFieldPossibleValueConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/CustomFieldRoleConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/DetailConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/ErrorConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/FileConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/GroupConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/GroupUserConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/IdentifiableNameConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/IssueCategoryConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/IssueChildConverter.cs delete mode 100644 src/redmine-net-api/JSonConverters/IssueConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/IssueCustomFieldConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/IssuePriorityConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/IssueRelationConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/IssueStatusConverter.cs delete mode 100644 src/redmine-net-api/JSonConverters/JournalConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/MembershipConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/MembershipRoleConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/NewsConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/PermissionConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/ProjectConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/ProjectEnabledModuleConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/ProjectIssueCategoryConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/ProjectMembershipConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/ProjectTrackerConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/QueryConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/RoleConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/TimeEntryActivityConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/TimeEntryConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/TrackerConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/TrackerCustomFieldConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/UploadConverter.cs delete mode 100644 src/redmine-net-api/JSonConverters/UserConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/UserGroupConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/VersionConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/WatcherConverter.cs delete mode 100755 src/redmine-net-api/JSonConverters/WikiPageConverter.cs diff --git a/src/redmine-net-api/Extensions/JsonExtensions.cs b/src/redmine-net-api/Extensions/JsonExtensions.cs deleted file mode 100644 index 34a8d00a..00000000 --- a/src/redmine-net-api/Extensions/JsonExtensions.cs +++ /dev/null @@ -1,232 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -#if !NET20 -using System; -using System.Collections; -using System.Collections.Generic; -using System.Globalization; -using System.Linq; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Internals; -using Redmine.Net.Api.JSonConverters; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.Extensions -{ - /// - /// - /// - public static class JsonExtensions - { - /// - /// Writes the identifier if not null. - /// - /// The dictionary. - /// The ident. - /// The key. - public static void WriteIdIfNotNull(this Dictionary dictionary, IdentifiableName ident, string key) - { - if (ident != null) dictionary.Add(key, ident.Id.ToString(CultureInfo.InvariantCulture)); - } - - /// - /// Writes the identifier or empty. - /// - /// The dictionary. - /// The ident. - /// The key. - /// The empty value. - public static void WriteIdOrEmpty(this Dictionary dictionary, IdentifiableName ident, string key, string emptyValue = null) - { - if (ident != null) dictionary.Add(key, ident.Id.ToString(CultureInfo.InvariantCulture)); - else dictionary.Add(key, emptyValue); - } - - /// - /// Writes the array. - /// - /// - /// The dictionary. - /// The key. - /// The col. - /// The converter. - /// The serializer. - public static void WriteArray(this Dictionary dictionary, string key, IEnumerable col, - JavaScriptConverter converter, JavaScriptSerializer serializer) - { - if (col != null) - { - serializer.RegisterConverters(new[] { converter }); - dictionary.Add(key, col.ToArray()); - } - } - - /// - /// Writes the ids array. - /// - /// The dictionary. - /// The key. - /// The coll. - public static void WriteIdsArray(this Dictionary dictionary, string key, - IEnumerable coll) - { - if (coll != null) - dictionary.Add(key, coll.Select(x => x.Id).ToArray()); - } - - /// - /// Writes the names array. - /// - /// The dictionary. - /// The key. - /// The coll. - public static void WriteNamesArray(this Dictionary dictionary, string key, - IEnumerable coll) - { - if (coll != null) - dictionary.Add(key, coll.Select(x => x.Name).ToArray()); - } - - /// - /// Writes the date or empty. - /// - /// The dictionary. - /// The value. - /// The tag. - public static void WriteDateOrEmpty(this Dictionary dictionary, DateTime? val, string tag) - { - if (!val.HasValue || val.Value.Equals(default(DateTime))) - dictionary.Add(tag, string.Empty); - else - dictionary.Add(tag, string.Format(NumberFormatInfo.InvariantInfo, "{0}", val.Value.ToString("yyyy-MM-dd", CultureInfo.InvariantCulture))); - } - - /// - /// Writes the value or empty. - /// - /// - /// The dictionary. - /// The value. - /// The tag. - public static void WriteValueOrEmpty(this Dictionary dictionary, T? val, string tag) where T : struct - { - if (!val.HasValue || EqualityComparer.Default.Equals(val.Value, default(T))) - dictionary.Add(tag, string.Empty); - else - dictionary.Add(tag, val.Value.ToString()); - } - - /// - /// Writes the value or default. - /// - /// - /// The dictionary. - /// The value. - /// The tag. - public static void WriteValueOrDefault(this Dictionary dictionary, T? val, string tag) where T : struct - { - dictionary.Add(tag, val.GetValueOrDefault().ToString()); - } - - /// - /// Gets the value. - /// - /// - /// The dictionary. - /// The key. - /// - public static T GetValue(this IDictionary dictionary, string key) - { - var dict = dictionary; - var type = typeof(T); - if (!dict.TryGetValue(key, out var val)) return default(T); - - if (val == null) return default(T); - - if (type.IsGenericType && type.GetGenericTypeDefinition() == typeof(Nullable<>)) - { - type = Nullable.GetUnderlyingType(type); - } - - if (val.GetType() == typeof(ArrayList)) return (T)val; - - if (type.IsEnum) val = Enum.Parse(type, val.ToString(), true); - - return (T)Convert.ChangeType(val, type, CultureInfo.InvariantCulture); - } - - /// - /// Gets the name of the value as identifiable. - /// - /// The dictionary. - /// The key. - /// - public static IdentifiableName GetValueAsIdentifiableName(this IDictionary dictionary, string key) - { - if (!dictionary.TryGetValue(key, out var val)) return null; - - var ser = new JavaScriptSerializer(); - ser.RegisterConverters(new[] { new IdentifiableNameConverter() }); - - var result = ser.ConvertToType(val); - return result; - } - - /// - /// For Json - /// - /// - /// The dictionary. - /// The key. - /// - public static List GetValueAsCollection(this IDictionary dictionary, string key) where T : new() - { - if (!dictionary.TryGetValue(key, out var val)) return null; - - var ser = new JavaScriptSerializer(); - ser.RegisterConverters(new[] { RedmineSerializer.JsonConverters[typeof(T)] }); - - var list = new List(); - - var arrayList = val as ArrayList; - if (arrayList != null) - { - list.AddRange(from object item in arrayList select ser.ConvertToType(item)); - } - else - { - var dict = val as Dictionary; - if (dict != null) - { - list.AddRange(dict.Select(pair => ser.ConvertToType(pair.Value))); - } - } - return list; - } - - /// - /// - /// - /// - /// - public static string ToLowerInv(this bool value) - { - return !value ? "false" : "true"; - } - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/Internals/RedmineSerializer.cs b/src/redmine-net-api/Internals/RedmineSerializer.cs old mode 100755 new mode 100644 index 795d08fe..188fe8ad --- a/src/redmine-net-api/Internals/RedmineSerializer.cs +++ b/src/redmine-net-api/Internals/RedmineSerializer.cs @@ -90,7 +90,7 @@ private static T FromXML(string xml) where T : class if (mimeFormat == MimeFormat.Json) { #if !NET20 - return JsonSerializer(obj); + // return JsonSerializer(obj); #endif } @@ -125,14 +125,14 @@ private static T FromXML(string xml) where T : class if (mimeFormat == MimeFormat.Json) { #if !NET20 - var type = typeof (T); - var jsonRoot = (string) null; - if (type == typeof (IssueCategory)) jsonRoot = RedmineKeys.ISSUE_CATEGORY; - if (type == typeof (IssueRelation)) jsonRoot = RedmineKeys.RELATION; - if (type == typeof (TimeEntry)) jsonRoot = RedmineKeys.TIME_ENTRY; - if (type == typeof (ProjectMembership)) jsonRoot = RedmineKeys.MEMBERSHIP; - if (type == typeof (WikiPage)) jsonRoot = RedmineKeys.WIKI_PAGE; - return JsonDeserialize(response, jsonRoot); + //var type = typeof (T); + //var jsonRoot = (string) null; + //if (type == typeof (IssueCategory)) jsonRoot = RedmineKeys.ISSUE_CATEGORY; + //if (type == typeof (IssueRelation)) jsonRoot = RedmineKeys.RELATION; + //if (type == typeof (TimeEntry)) jsonRoot = RedmineKeys.TIME_ENTRY; + //if (type == typeof (ProjectMembership)) jsonRoot = RedmineKeys.MEMBERSHIP; + //if (type == typeof (WikiPage)) jsonRoot = RedmineKeys.WIKI_PAGE; + //return JsonDeserialize(response, jsonRoot); #endif } return FromXML(response); @@ -164,7 +164,7 @@ public static PaginatedObjects DeserializeList(string response, MimeFormat if (mimeFormat == MimeFormat.Json) { #if !NET20 - return JSonDeserializeList(response); + // return JSonDeserializeList(response); #endif } return XmlDeserializeList(response); @@ -177,33 +177,33 @@ public static PaginatedObjects DeserializeList(string response, MimeFormat } #if !NET20 - /// - /// js the son deserialize list. - /// - /// - /// The response. - /// - private static PaginatedObjects JSonDeserializeList(string response) where T : class, new() - { - var type = typeof(T); - var jsonRoot = (string)null; - if (type == typeof(Error)) jsonRoot = RedmineKeys.ERRORS; - if (type == typeof(WikiPage)) jsonRoot = RedmineKeys.WIKI_PAGES; - if (type == typeof(IssuePriority)) jsonRoot = RedmineKeys.ISSUE_PRIORITIES; - if (type == typeof(TimeEntryActivity)) jsonRoot = RedmineKeys.TIME_ENTRY_ACTIVITIES; - - if (string.IsNullOrEmpty(jsonRoot)) - jsonRoot = RedmineManager.Sufixes[type]; - - var result = JsonDeserializeToList(response, jsonRoot, out var totalItems, out var offset); - - return new PaginatedObjects() - { - TotalCount = totalItems, - Offset = offset, - Objects = result.ToList() - }; - } + ///// + ///// js the son deserialize list. + ///// + ///// + ///// The response. + ///// + //private static PaginatedObjects JSonDeserializeList(string response) where T : class, new() + //{ + // var type = typeof(T); + // var jsonRoot = (string)null; + // if (type == typeof(Error)) jsonRoot = RedmineKeys.ERRORS; + // if (type == typeof(WikiPage)) jsonRoot = RedmineKeys.WIKI_PAGES; + // if (type == typeof(IssuePriority)) jsonRoot = RedmineKeys.ISSUE_PRIORITIES; + // if (type == typeof(TimeEntryActivity)) jsonRoot = RedmineKeys.TIME_ENTRY_ACTIVITIES; + + // if (string.IsNullOrEmpty(jsonRoot)) + // jsonRoot = RedmineManager.Sufixes[type]; + + // var result = JsonDeserializeToList(response, jsonRoot, out var totalItems, out var offset); + + // return new PaginatedObjects() + // { + // TotalCount = totalItems, + // Offset = offset, + // Objects = result.ToList() + // }; + //} #endif /// /// XMLs the deserialize list. diff --git a/src/redmine-net-api/Internals/RedmineSerializerJson.cs b/src/redmine-net-api/Internals/RedmineSerializerJson.cs deleted file mode 100755 index 8dff8bb8..00000000 --- a/src/redmine-net-api/Internals/RedmineSerializerJson.cs +++ /dev/null @@ -1,245 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using System.Collections; -using System.Linq; -using Redmine.Net.Api.JSonConverters; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; -using Version = Redmine.Net.Api.Types.Version; - -namespace Redmine.Net.Api.Internals -{ - /// - /// - /// - internal static partial class RedmineSerializer - { - private static readonly Dictionary jsonConverters = new Dictionary - { - {typeof (Issue), new IssueConverter()}, - {typeof (Project), new ProjectConverter()}, - {typeof (User), new UserConverter()}, - {typeof (UserGroup), new UserGroupConverter()}, - {typeof (News), new NewsConverter()}, - {typeof (Query), new QueryConverter()}, - {typeof (Version), new VersionConverter()}, - {typeof (Attachment), new AttachmentConverter()}, - {typeof (Attachments), new AttachmentsConverter()}, - {typeof (IssueRelation), new IssueRelationConverter()}, - {typeof (TimeEntry), new TimeEntryConverter()}, - {typeof (IssueStatus),new IssueStatusConverter()}, - {typeof (Tracker),new TrackerConverter()}, - {typeof (TrackerCustomField),new TrackerCustomFieldConverter()}, - {typeof (IssueCategory), new IssueCategoryConverter()}, - {typeof (Role), new RoleConverter()}, - {typeof (ProjectMembership), new ProjectMembershipConverter()}, - {typeof (Group), new GroupConverter()}, - {typeof (GroupUser), new GroupUserConverter()}, - {typeof (Error), new ErrorConverter()}, - {typeof (IssueCustomField), new IssueCustomFieldConverter()}, - {typeof (ProjectTracker), new ProjectTrackerConverter()}, - {typeof (Journal), new JournalConverter()}, - {typeof (TimeEntryActivity), new TimeEntryActivityConverter()}, - {typeof (IssuePriority), new IssuePriorityConverter()}, - {typeof (WikiPage), new WikiPageConverter()}, - {typeof (Detail), new DetailConverter()}, - {typeof (ChangeSet), new ChangeSetConverter()}, - {typeof (Membership), new MembershipConverter()}, - {typeof (MembershipRole), new MembershipRoleConverter()}, - {typeof (IdentifiableName), new IdentifiableNameConverter()}, - {typeof (Permission), new PermissionConverter()}, - {typeof (IssueChild), new IssueChildConverter()}, - {typeof (ProjectIssueCategory), new ProjectIssueCategoryConverter()}, - {typeof (Watcher), new WatcherConverter()}, - {typeof (Upload), new UploadConverter()}, - {typeof (ProjectEnabledModule), new ProjectEnabledModuleConverter()}, - {typeof (CustomField), new CustomFieldConverter()}, - {typeof (CustomFieldRole), new CustomFieldRoleConverter()}, - {typeof (CustomFieldPossibleValue), new CustomFieldPossibleValueConverter()}, - {typeof (File), new FileConverter() } - }; - - /// - /// Available json converters. - /// - public static Dictionary JsonConverters { get { return jsonConverters; } } - - /// - /// Jsons the serializer. - /// - /// - /// The type. - /// - public static string JsonSerializer(T type) where T : new() - { - var serializer = new JavaScriptSerializer() { MaxJsonLength = int.MaxValue }; - serializer.RegisterConverters(new[] { jsonConverters[typeof(T)] }); - return serializer.Serialize(type); - } - - /// - /// JSON Deserialization - /// - /// - /// The json string. - /// The root. - /// - public static List JsonDeserializeToList(string jsonString, string root) where T : class, new() - { - int totalCount; - int offset; - return JsonDeserializeToList(jsonString, root, out totalCount, out offset); - } - - /// - /// JSON Deserialization - /// - /// - /// The json string. - /// The root. - /// The total count. - /// The offset. - /// - public static List JsonDeserializeToList(string jsonString, string root, out int totalCount, out int offset) where T : class,new() - { - var result = JsonDeserializeToList(jsonString, root, typeof(T), out totalCount, out offset); - return ((ArrayList)result).OfType().ToList(); - } - - /// - /// Jsons the deserialize. - /// - /// - /// The json string. - /// The root. - /// - public static T JsonDeserialize(string jsonString, string root) where T : new() - { - var type = typeof(T); - var result = JsonDeserialize(jsonString, type, root); - return result == null ? default(T) : (T) result; - } - - /// - /// Jsons the deserialize. - /// - /// The json string. - /// The type. - /// The root. - /// - /// jsonString - /// - /// - /// - public static object JsonDeserialize(string jsonString, Type type, string root) - { - if (string.IsNullOrEmpty(jsonString)) throw new ArgumentNullException(nameof(jsonString)); - - var serializer = new JavaScriptSerializer(); - serializer.RegisterConverters(new[] { jsonConverters[type] }); - - var dictionary = serializer.Deserialize>(jsonString); - if (dictionary == null) return null; - - object obj; - return !dictionary.TryGetValue(root ?? type.Name.ToLowerInv(), out obj) ? null : serializer.ConvertToType(obj, type); - } - - /// - /// Adds to list. - /// - /// The serializer. - /// The list. - /// The type. - /// The array list. - private static void AddToList(JavaScriptSerializer serializer, IList list, Type type, object arrayList) - { - foreach (var obj in (ArrayList)arrayList) - { - if (obj is ArrayList) - { - AddToList(serializer, list, type, obj); - } - else - { - var convertedType = serializer.ConvertToType(obj, type); - list.Add(convertedType); - } - } - } - - /// - /// Jsons the deserialize to list. - /// - /// The json string. - /// The root. - /// The type. - /// The total count. - /// The offset. - /// - /// jsonString - private static object JsonDeserializeToList(string jsonString, string root, Type type, out int totalCount, out int offset) - { - totalCount = 0; - offset = 0; - if (string.IsNullOrEmpty(jsonString)) throw new ArgumentNullException(nameof(jsonString)); - - var serializer = new JavaScriptSerializer(); - serializer.RegisterConverters(new[] { jsonConverters[type] }); - var dictionary = serializer.Deserialize>(jsonString); - if (dictionary == null) return null; - - object obj, tc, off; - - if (dictionary.TryGetValue(RedmineKeys.TOTAL_COUNT, out tc)) totalCount = (int)tc; - - if (dictionary.TryGetValue(RedmineKeys.OFFSET, out off)) offset = (int)off; - - if (!dictionary.TryGetValue(root.ToLowerInv(), out obj)) return null; - - var arrayList = new ArrayList(); - if (type == typeof(Error)) - { - string info = null; - foreach (var item in (ArrayList)obj) - { - var innerArrayList = item as ArrayList; - if (innerArrayList != null) - { - info = innerArrayList.Cast() - .Aggregate(info, (current, item2) => current + (item2 as string + " ")); - } - else - { - info += $"{item as string} "; - } - } - var err = new Error { Info = info }; - arrayList.Add(err); - } - else - { - AddToList(serializer, arrayList, type, obj); - } - return arrayList; - } - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/AttachmentConverter.cs b/src/redmine-net-api/JSonConverters/AttachmentConverter.cs deleted file mode 100755 index aab99206..00000000 --- a/src/redmine-net-api/JSonConverters/AttachmentConverter.cs +++ /dev/null @@ -1,103 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 - - -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - - -namespace Redmine.Net.Api.JSonConverters -{ - /// - /// - /// - /// - internal class AttachmentConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// An instance of property data stored as name/value pairs. - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var attachment = new Attachment(); - - attachment.Id = dictionary.GetValue(RedmineKeys.ID); - attachment.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); - attachment.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); - attachment.ContentType = dictionary.GetValue(RedmineKeys.CONTENT_TYPE); - attachment.ContentUrl = dictionary.GetValue(RedmineKeys.CONTENT_URL); - attachment.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - attachment.FileName = dictionary.GetValue(RedmineKeys.FILENAME); - attachment.FileSize = dictionary.GetValue(RedmineKeys.FILESIZE); - - return attachment; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Attachment; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.FILENAME, entity.FileName); - result.Add(RedmineKeys.DESCRIPTION, entity.Description); - } - - var root = new Dictionary(); - root[RedmineKeys.ATTACHMENT] = result; - - return root; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(Attachment)}; } - } - - #endregion - } -} - -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/AttachmentsConverter.cs b/src/redmine-net-api/JSonConverters/AttachmentsConverter.cs deleted file mode 100755 index bc95d87e..00000000 --- a/src/redmine-net-api/JSonConverters/AttachmentsConverter.cs +++ /dev/null @@ -1,85 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Globalization; -#if !NET20 -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class AttachmentsConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// An instance of property data stored as name/value pairs. - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object’s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Attachments; - var result = new Dictionary(); - - if (entity != null) - { - foreach (var entry in entity) - { - var attachment = new AttachmentConverter().Serialize(entry.Value, serializer); - result.Add(entry.Key.ToString(CultureInfo.InvariantCulture), attachment.First().Value); - } - } - - var root = new Dictionary(); - root[RedmineKeys.ATTACHMENTS] = result; - - return root; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(Attachments)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/ChangeSetConverter.cs b/src/redmine-net-api/JSonConverters/ChangeSetConverter.cs deleted file mode 100755 index 56b6de4f..00000000 --- a/src/redmine-net-api/JSonConverters/ChangeSetConverter.cs +++ /dev/null @@ -1,82 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class ChangeSetConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// An instance of property data stored as name/value pairs. - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var changeSet = new ChangeSet - { - Revision = dictionary.GetValue(RedmineKeys.REVISION), - Comments = dictionary.GetValue(RedmineKeys.COMMENTS), - User = dictionary.GetValueAsIdentifiableName(RedmineKeys.USER), - CommittedOn = dictionary.GetValue(RedmineKeys.COMMITTED_ON) - }; - - - return changeSet; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(ChangeSet)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/CustomFieldConverter.cs b/src/redmine-net-api/JSonConverters/CustomFieldConverter.cs deleted file mode 100755 index 98bcbf6f..00000000 --- a/src/redmine-net-api/JSonConverters/CustomFieldConverter.cs +++ /dev/null @@ -1,93 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class CustomFieldConverter : IdentifiableNameConverter - { - #region Overrides of JavaScriptConverter - - /// - /// Deserializes the specified dictionary. - /// - /// The dictionary. - /// The type. - /// The serializer. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var customField = new CustomField(); - - customField.Id = dictionary.GetValue(RedmineKeys.ID); - customField.Name = dictionary.GetValue(RedmineKeys.NAME); - customField.CustomizedType = dictionary.GetValue(RedmineKeys.CUSTOMIZED_TYPE); - customField.FieldFormat = dictionary.GetValue(RedmineKeys.FIELD_FORMAT); - customField.Regexp = dictionary.GetValue(RedmineKeys.REGEXP); - customField.MinLength = dictionary.GetValue(RedmineKeys.MIN_LENGTH); - customField.MaxLength = dictionary.GetValue(RedmineKeys.MAX_LENGTH); - customField.IsRequired = dictionary.GetValue(RedmineKeys.IS_REQUIRED); - customField.IsFilter = dictionary.GetValue(RedmineKeys.IS_FILTER); - customField.Searchable = dictionary.GetValue(RedmineKeys.SEARCHABLE); - customField.Multiple = dictionary.GetValue(RedmineKeys.MULTIPLE); - customField.DefaultValue = dictionary.GetValue(RedmineKeys.DEFAULT_VALUE); - customField.Visible = dictionary.GetValue(RedmineKeys.VISIBLE); - customField.PossibleValues = - dictionary.GetValueAsCollection(RedmineKeys.POSSIBLE_VALUES); - customField.Trackers = dictionary.GetValueAsCollection(RedmineKeys.TRACKERS); - customField.Roles = dictionary.GetValueAsCollection(RedmineKeys.ROLES); - - - return customField; - } - - return null; - } - - /// - /// Serializes the specified object. - /// - /// The object. - /// The serializer. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// Gets the supported types. - /// - /// - /// The supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(CustomField)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/CustomFieldPossibleValueConverter.cs b/src/redmine-net-api/JSonConverters/CustomFieldPossibleValueConverter.cs deleted file mode 100644 index 434ae939..00000000 --- a/src/redmine-net-api/JSonConverters/CustomFieldPossibleValueConverter.cs +++ /dev/null @@ -1,77 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class CustomFieldPossibleValueConverter : IdentifiableNameConverter - { - #region Overrides of JavaScriptConverter - - /// - /// Deserializes the specified dictionary. - /// - /// The dictionary. - /// The type. - /// The serializer. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var entity = new CustomFieldPossibleValue(); - - entity.Value = dictionary.GetValue(RedmineKeys.VALUE); - entity.Label = dictionary.GetValue(RedmineKeys.LABEL); - - return entity; - } - - return null; - } - - /// - /// Serializes the specified object. - /// - /// The object. - /// The serializer. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// Gets the supported types. - /// - /// - /// The supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(CustomFieldPossibleValue)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/CustomFieldRoleConverter.cs b/src/redmine-net-api/JSonConverters/CustomFieldRoleConverter.cs deleted file mode 100755 index dc18c821..00000000 --- a/src/redmine-net-api/JSonConverters/CustomFieldRoleConverter.cs +++ /dev/null @@ -1,77 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class CustomFieldRoleConverter : IdentifiableNameConverter - { - #region Overrides of JavaScriptConverter - - /// - /// Deserializes the specified dictionary. - /// - /// The dictionary. - /// The type. - /// The serializer. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var entity = new CustomFieldRole(); - - entity.Id = dictionary.GetValue(RedmineKeys.ID); - entity.Name = dictionary.GetValue(RedmineKeys.NAME); - - return entity; - } - - return null; - } - - /// - /// Serializes the specified object. - /// - /// The object. - /// The serializer. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// Gets the supported types. - /// - /// - /// The supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(CustomFieldRole)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/DetailConverter.cs b/src/redmine-net-api/JSonConverters/DetailConverter.cs deleted file mode 100755 index 85aec9dd..00000000 --- a/src/redmine-net-api/JSonConverters/DetailConverter.cs +++ /dev/null @@ -1,83 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class DetailConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var detail = new Detail(); - - detail.NewValue = dictionary.GetValue(RedmineKeys.NEW_VALUE); - detail.OldValue = dictionary.GetValue(RedmineKeys.OLD_VALUE); - detail.Property = dictionary.GetValue(RedmineKeys.PROPERTY); - detail.Name = dictionary.GetValue(RedmineKeys.NAME); - - return detail; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(Detail)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/ErrorConverter.cs b/src/redmine-net-api/JSonConverters/ErrorConverter.cs deleted file mode 100755 index 9e388f18..00000000 --- a/src/redmine-net-api/JSonConverters/ErrorConverter.cs +++ /dev/null @@ -1,77 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class ErrorConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var error = new Error {Info = dictionary.GetValue(RedmineKeys.ERROR)}; - return error; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(Error)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/FileConverter.cs b/src/redmine-net-api/JSonConverters/FileConverter.cs deleted file mode 100755 index 1fe97b53..00000000 --- a/src/redmine-net-api/JSonConverters/FileConverter.cs +++ /dev/null @@ -1,112 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class FileConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var file = new File { }; - - file.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); - file.ContentType = dictionary.GetValue(RedmineKeys.CONTENT_TYPE); - file.ContentUrl = dictionary.GetValue(RedmineKeys.CONTENT_URL); - file.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - file.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); - file.Digest = dictionary.GetValue(RedmineKeys.DIGEST); - file.Downloads = dictionary.GetValue(RedmineKeys.DOWNLOADS); - file.Filename = dictionary.GetValue(RedmineKeys.FILENAME); - file.Filesize = dictionary.GetValue(RedmineKeys.FILESIZE); - file.Id = dictionary.GetValue(RedmineKeys.ID); - file.Token = dictionary.GetValue(RedmineKeys.TOKEN); - var versionId = dictionary.GetValue(RedmineKeys.VERSION_ID); - if (versionId.HasValue) - { - file.Version = new IdentifiableName { Id = versionId.Value }; - } - else - { - file.Version = dictionary.GetValueAsIdentifiableName(RedmineKeys.VERSION); - } - return file; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object’s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as File; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.TOKEN, entity.Token); - result.WriteIdIfNotNull(entity.Version, RedmineKeys.VERSION_ID); - result.Add(RedmineKeys.FILENAME, entity.Filename); - result.Add(RedmineKeys.DESCRIPTION, entity.Description); - - var root = new Dictionary(); - root[RedmineKeys.FILE] = result; - return root; - } - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] { typeof(File) }; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/GroupConverter.cs b/src/redmine-net-api/JSonConverters/GroupConverter.cs deleted file mode 100755 index 893888de..00000000 --- a/src/redmine-net-api/JSonConverters/GroupConverter.cs +++ /dev/null @@ -1,98 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class GroupConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var group = new Group(); - - group.Id = dictionary.GetValue(RedmineKeys.ID); - group.Name = dictionary.GetValue(RedmineKeys.NAME); - group.Users = dictionary.GetValueAsCollection(RedmineKeys.USERS); - group.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); - group.Memberships = dictionary.GetValueAsCollection(RedmineKeys.MEMBERSHIPS); - - return group; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Group; - - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.NAME, entity.Name); - result.WriteIdsArray(RedmineKeys.USER_IDS, entity.Users); - - var root = new Dictionary(); - root[RedmineKeys.GROUP] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(Group)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/GroupUserConverter.cs b/src/redmine-net-api/JSonConverters/GroupUserConverter.cs deleted file mode 100755 index 2ac9d56f..00000000 --- a/src/redmine-net-api/JSonConverters/GroupUserConverter.cs +++ /dev/null @@ -1,78 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - - -namespace Redmine.Net.Api.JSonConverters -{ - internal class GroupUserConverter : IdentifiableNameConverter - { - #region Overrides of JavaScriptConverter - - /// - /// Deserializes the specified dictionary. - /// - /// The dictionary. - /// The type. - /// The serializer. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var userGroup = new GroupUser(); - - userGroup.Id = dictionary.GetValue(RedmineKeys.ID); - userGroup.Name = dictionary.GetValue(RedmineKeys.NAME); - - return userGroup; - } - - return null; - } - - /// - /// Serializes the specified object. - /// - /// The object. - /// The serializer. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// Gets the supported types. - /// - /// - /// The supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(GroupUser)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/IdentifiableNameConverter.cs b/src/redmine-net-api/JSonConverters/IdentifiableNameConverter.cs deleted file mode 100755 index 4ea1bc91..00000000 --- a/src/redmine-net-api/JSonConverters/IdentifiableNameConverter.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IdentifiableNameConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var entity = new IdentifiableName(); - - entity.Id = dictionary.GetValue(RedmineKeys.ID); - entity.Name = dictionary.GetValue(RedmineKeys.NAME); - - return entity; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as IdentifiableName; - var result = new Dictionary(); - - if (entity != null) - { - result.WriteIdIfNotNull(entity, RedmineKeys.ID); - - if (!string.IsNullOrEmpty(entity.Name)) - result.Add(RedmineKeys.NAME, entity.Name); - return result; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(IdentifiableName)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/IssueCategoryConverter.cs b/src/redmine-net-api/JSonConverters/IssueCategoryConverter.cs deleted file mode 100755 index 8a0f34f5..00000000 --- a/src/redmine-net-api/JSonConverters/IssueCategoryConverter.cs +++ /dev/null @@ -1,98 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IssueCategoryConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var issueCategory = new IssueCategory(); - - issueCategory.Id = dictionary.GetValue(RedmineKeys.ID); - issueCategory.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); - issueCategory.AsignTo = dictionary.GetValueAsIdentifiableName(RedmineKeys.ASSIGNED_TO); - issueCategory.Name = dictionary.GetValue(RedmineKeys.NAME); - - return issueCategory; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as IssueCategory; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.NAME, entity.Name); - result.WriteIdIfNotNull(entity.Project, RedmineKeys.PROJECT_ID); - result.WriteIdIfNotNull(entity.AsignTo, RedmineKeys.ASSIGNED_TO_ID); - - var root = new Dictionary(); - - root[RedmineKeys.ISSUE_CATEGORY] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(IssueCategory)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/IssueChildConverter.cs b/src/redmine-net-api/JSonConverters/IssueChildConverter.cs deleted file mode 100755 index bfd7d233..00000000 --- a/src/redmine-net-api/JSonConverters/IssueChildConverter.cs +++ /dev/null @@ -1,76 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IssueChildConverter : JavaScriptConverter - { - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(IssueChild)}; } - } - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// An instance of property data stored as name/value pairs. - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var issueChild = new IssueChild - { - Id = dictionary.GetValue(RedmineKeys.ID), - Tracker = dictionary.GetValueAsIdentifiableName(RedmineKeys.TRACKER), - Subject = dictionary.GetValue(RedmineKeys.SUBJECT) - }; - - return issueChild; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/IssueConverter.cs b/src/redmine-net-api/JSonConverters/IssueConverter.cs deleted file mode 100644 index a67167dc..00000000 --- a/src/redmine-net-api/JSonConverters/IssueConverter.cs +++ /dev/null @@ -1,156 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IssueConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var issue = new Issue(); - - issue.Id = dictionary.GetValue(RedmineKeys.ID); - issue.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); - issue.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); - issue.Tracker = dictionary.GetValueAsIdentifiableName(RedmineKeys.TRACKER); - issue.Status = dictionary.GetValueAsIdentifiableName(RedmineKeys.STATUS); - issue.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - issue.UpdatedOn = dictionary.GetValue(RedmineKeys.UPDATED_ON); - issue.ClosedOn = dictionary.GetValue(RedmineKeys.CLOSED_ON); - issue.Priority = dictionary.GetValueAsIdentifiableName(RedmineKeys.PRIORITY); - issue.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); - issue.AssignedTo = dictionary.GetValueAsIdentifiableName(RedmineKeys.ASSIGNED_TO); - issue.Category = dictionary.GetValueAsIdentifiableName(RedmineKeys.CATEGORY); - issue.FixedVersion = dictionary.GetValueAsIdentifiableName(RedmineKeys.FIXED_VERSION); - issue.Subject = dictionary.GetValue(RedmineKeys.SUBJECT); - issue.Notes = dictionary.GetValue(RedmineKeys.NOTES); - issue.IsPrivate = dictionary.GetValue(RedmineKeys.IS_PRIVATE); - issue.StartDate = dictionary.GetValue(RedmineKeys.START_DATE); - issue.DueDate = dictionary.GetValue(RedmineKeys.DUE_DATE); - issue.SpentHours = dictionary.GetValue(RedmineKeys.SPENT_HOURS); - issue.TotalSpentHours = dictionary.GetValue(RedmineKeys.TOTAL_SPENT_HOURS); - issue.DoneRatio = dictionary.GetValue(RedmineKeys.DONE_RATIO); - issue.EstimatedHours = dictionary.GetValue(RedmineKeys.ESTIMATED_HOURS); - issue.TotalEstimatedHours = dictionary.GetValue(RedmineKeys.TOTAL_ESTIMATED_HOURS); - issue.ParentIssue = dictionary.GetValueAsIdentifiableName(RedmineKeys.PARENT); - - issue.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); - issue.Attachments = dictionary.GetValueAsCollection(RedmineKeys.ATTACHMENTS); - issue.Relations = dictionary.GetValueAsCollection(RedmineKeys.RELATIONS); - issue.Journals = dictionary.GetValueAsCollection(RedmineKeys.JOURNALS); - issue.Changesets = dictionary.GetValueAsCollection(RedmineKeys.CHANGESETS); - issue.Watchers = dictionary.GetValueAsCollection(RedmineKeys.WATCHERS); - issue.Children = dictionary.GetValueAsCollection(RedmineKeys.CHILDREN); - return issue; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Issue; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.SUBJECT, entity.Subject); - result.Add(RedmineKeys.DESCRIPTION, entity.Description); - result.Add(RedmineKeys.NOTES, entity.Notes); - if (entity.Id != 0) - { - result.Add(RedmineKeys.PRIVATE_NOTES, entity.PrivateNotes.ToLowerInv()); - } - result.Add(RedmineKeys.IS_PRIVATE, entity.IsPrivate.ToLowerInv()); - result.WriteIdIfNotNull(entity.Project, RedmineKeys.PROJECT_ID); - result.WriteIdIfNotNull(entity.Priority, RedmineKeys.PRIORITY_ID); - result.WriteIdIfNotNull(entity.Status, RedmineKeys.STATUS_ID); - result.WriteIdIfNotNull(entity.Category, RedmineKeys.CATEGORY_ID); - result.WriteIdIfNotNull(entity.Tracker, RedmineKeys.TRACKER_ID); - result.WriteIdIfNotNull(entity.AssignedTo, RedmineKeys.ASSIGNED_TO_ID); - result.WriteIdIfNotNull(entity.FixedVersion, RedmineKeys.FIXED_VERSION_ID); - result.WriteValueOrEmpty(entity.EstimatedHours, RedmineKeys.ESTIMATED_HOURS); - - result.WriteIdOrEmpty(entity.ParentIssue, RedmineKeys.PARENT_ISSUE_ID); - result.WriteDateOrEmpty(entity.StartDate, RedmineKeys.START_DATE); - result.WriteDateOrEmpty(entity.DueDate, RedmineKeys.DUE_DATE); - result.WriteDateOrEmpty(entity.UpdatedOn, RedmineKeys.UPDATED_ON); - - if (entity.DoneRatio != null) - result.Add(RedmineKeys.DONE_RATIO, entity.DoneRatio.Value.ToString(CultureInfo.InvariantCulture)); - - if (entity.SpentHours != null) - result.Add(RedmineKeys.SPENT_HOURS, entity.SpentHours.Value.ToString(CultureInfo.InvariantCulture)); - - result.WriteArray(RedmineKeys.UPLOADS, entity.Uploads, new UploadConverter(), serializer); - result.WriteArray(RedmineKeys.CUSTOM_FIELDS, entity.CustomFields, new IssueCustomFieldConverter(), - serializer); - - result.WriteIdsArray(RedmineKeys.WATCHER_USER_IDS, entity.Watchers); - - var root = new Dictionary(); - root[RedmineKeys.ISSUE] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(Issue)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/IssueCustomFieldConverter.cs b/src/redmine-net-api/JSonConverters/IssueCustomFieldConverter.cs deleted file mode 100755 index f788e242..00000000 --- a/src/redmine-net-api/JSonConverters/IssueCustomFieldConverter.cs +++ /dev/null @@ -1,122 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Globalization; -#if !NET20 -using System; -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IssueCustomFieldConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var customField = new IssueCustomField(); - - customField.Id = dictionary.GetValue(RedmineKeys.ID); - customField.Name = dictionary.GetValue(RedmineKeys.NAME); - customField.Multiple = dictionary.GetValue(RedmineKeys.MULTIPLE); - - var val = dictionary.GetValue(RedmineKeys.VALUE); - - if (val != null) - { - if (customField.Values == null) customField.Values = new List(); - var list = val as ArrayList; - if (list != null) - { - foreach (var value in list) - { - customField.Values.Add(new CustomFieldValue {Info = Convert.ToString(value, CultureInfo.InvariantCulture)}); - } - } - else - { - customField.Values.Add(new CustomFieldValue {Info = Convert.ToString(val, CultureInfo.InvariantCulture)}); - } - } - return customField; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as IssueCustomField; - - var result = new Dictionary(); - - if (entity == null) return result; - if (entity.Values == null) return null; - var itemsCount = entity.Values.Count; - - result.Add(RedmineKeys.ID, entity.Id.ToString(CultureInfo.InvariantCulture)); - if (itemsCount > 1) - { - result.Add(RedmineKeys.VALUE, entity.Values.Select(x => x.Info).ToArray()); - } - else - { - result.Add(RedmineKeys.VALUE, itemsCount > 0 ? entity.Values[0].Info : null); - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(IssueCustomField)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/IssuePriorityConverter.cs b/src/redmine-net-api/JSonConverters/IssuePriorityConverter.cs deleted file mode 100755 index bb41d295..00000000 --- a/src/redmine-net-api/JSonConverters/IssuePriorityConverter.cs +++ /dev/null @@ -1,78 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IssuePriorityConverter : JavaScriptConverter - { - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(IssuePriority)}; } - } - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var issuePriority = new IssuePriority(); - - issuePriority.Id = dictionary.GetValue(RedmineKeys.ID); - issuePriority.Name = dictionary.GetValue(RedmineKeys.NAME); - issuePriority.IsDefault = dictionary.GetValue(RedmineKeys.IS_DEFAULT); - - return issuePriority; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/IssueRelationConverter.cs b/src/redmine-net-api/JSonConverters/IssueRelationConverter.cs deleted file mode 100755 index c5b0ce4a..00000000 --- a/src/redmine-net-api/JSonConverters/IssueRelationConverter.cs +++ /dev/null @@ -1,102 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Globalization; -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IssueRelationConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var issueRelation = new IssueRelation(); - - issueRelation.Id = dictionary.GetValue(RedmineKeys.ID); - issueRelation.IssueId = dictionary.GetValue(RedmineKeys.ISSUE_ID); - issueRelation.IssueToId = dictionary.GetValue(RedmineKeys.ISSUE_TO_ID); - issueRelation.Type = dictionary.GetValue(RedmineKeys.RELATION_TYPE); - issueRelation.Delay = dictionary.GetValue(RedmineKeys.DELAY); - - return issueRelation; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as IssueRelation; - - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.ISSUE_TO_ID, entity.IssueToId.ToString(CultureInfo.InvariantCulture)); - result.Add(RedmineKeys.RELATION_TYPE, entity.Type.ToString()); - if (entity.Type == IssueRelationType.precedes || entity.Type == IssueRelationType.follows) - result.WriteValueOrEmpty(entity.Delay, RedmineKeys.DELAY); - - var root = new Dictionary(); - root[RedmineKeys.RELATION] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(IssueRelation)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/IssueStatusConverter.cs b/src/redmine-net-api/JSonConverters/IssueStatusConverter.cs deleted file mode 100755 index f3c6815f..00000000 --- a/src/redmine-net-api/JSonConverters/IssueStatusConverter.cs +++ /dev/null @@ -1,82 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class IssueStatusConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var issueStatus = new IssueStatus(); - - issueStatus.Id = dictionary.GetValue(RedmineKeys.ID); - issueStatus.Name = dictionary.GetValue(RedmineKeys.NAME); - issueStatus.IsClosed = dictionary.GetValue(RedmineKeys.IS_CLOSED); - issueStatus.IsDefault = dictionary.GetValue(RedmineKeys.IS_DEFAULT); - return issueStatus; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(IssueStatus)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/JournalConverter.cs b/src/redmine-net-api/JSonConverters/JournalConverter.cs deleted file mode 100644 index f6a3ba5d..00000000 --- a/src/redmine-net-api/JSonConverters/JournalConverter.cs +++ /dev/null @@ -1,85 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class JournalConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var journal = new Journal(); - - journal.Id = dictionary.GetValue(RedmineKeys.ID); - journal.Notes = dictionary.GetValue(RedmineKeys.NOTES); - journal.User = dictionary.GetValueAsIdentifiableName(RedmineKeys.USER); - journal.PrivateNotes = dictionary.GetValue(RedmineKeys.PRIVATE_NOTES); - journal.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - journal.Details = dictionary.GetValueAsCollection(RedmineKeys.DETAILS); - - return journal; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(Journal)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/MembershipConverter.cs b/src/redmine-net-api/JSonConverters/MembershipConverter.cs deleted file mode 100755 index 8ec11a74..00000000 --- a/src/redmine-net-api/JSonConverters/MembershipConverter.cs +++ /dev/null @@ -1,82 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class MembershipConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var membership = new Membership(); - - membership.Id = dictionary.GetValue(RedmineKeys.ID); - membership.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); - membership.Roles = dictionary.GetValueAsCollection(RedmineKeys.ROLES); - - return membership; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(Membership)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/MembershipRoleConverter.cs b/src/redmine-net-api/JSonConverters/MembershipRoleConverter.cs deleted file mode 100755 index c1548591..00000000 --- a/src/redmine-net-api/JSonConverters/MembershipRoleConverter.cs +++ /dev/null @@ -1,82 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class MembershipRoleConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var membershipRole = new MembershipRole(); - - membershipRole.Id = dictionary.GetValue(RedmineKeys.ID); - membershipRole.Inherited = dictionary.GetValue(RedmineKeys.INHERITED); - membershipRole.Name = dictionary.GetValue(RedmineKeys.NAME); - - return membershipRole; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(MembershipRole)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/NewsConverter.cs b/src/redmine-net-api/JSonConverters/NewsConverter.cs deleted file mode 100755 index 71420ba4..00000000 --- a/src/redmine-net-api/JSonConverters/NewsConverter.cs +++ /dev/null @@ -1,85 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class NewsConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var news = new News(); - - news.Id = dictionary.GetValue(RedmineKeys.ID); - news.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); - news.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - news.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); - news.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); - news.Summary = dictionary.GetValue(RedmineKeys.SUMMARY); - news.Title = dictionary.GetValue(RedmineKeys.TITLE); - - return news; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(News)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/PermissionConverter.cs b/src/redmine-net-api/JSonConverters/PermissionConverter.cs deleted file mode 100755 index 7e2895d6..00000000 --- a/src/redmine-net-api/JSonConverters/PermissionConverter.cs +++ /dev/null @@ -1,73 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class PermissionConverter : JavaScriptConverter - { - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(Permission)}; } - } - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var permission = new Permission {Info = dictionary.GetValue(RedmineKeys.PERMISSION)}; - return permission; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/ProjectConverter.cs b/src/redmine-net-api/JSonConverters/ProjectConverter.cs deleted file mode 100755 index 7ba99aa5..00000000 --- a/src/redmine-net-api/JSonConverters/ProjectConverter.cs +++ /dev/null @@ -1,119 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Globalization; -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class ProjectConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var project = new Project(); - - project.Id = dictionary.GetValue(RedmineKeys.ID); - project.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); - project.HomePage = dictionary.GetValue(RedmineKeys.HOMEPAGE); - project.Name = dictionary.GetValue(RedmineKeys.NAME); - project.Identifier = dictionary.GetValue(RedmineKeys.IDENTIFIER); - project.Status = dictionary.GetValue(RedmineKeys.STATUS); - project.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - project.UpdatedOn = dictionary.GetValue(RedmineKeys.UPDATED_ON); - project.Trackers = dictionary.GetValueAsCollection(RedmineKeys.TRACKERS); - project.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); - project.IsPublic = dictionary.GetValue(RedmineKeys.IS_PUBLIC); - project.Parent = dictionary.GetValueAsIdentifiableName(RedmineKeys.PARENT); - project.IssueCategories = dictionary.GetValueAsCollection(RedmineKeys.ISSUE_CATEGORIES); - project.EnabledModules = dictionary.GetValueAsCollection(RedmineKeys.ENABLED_MODULES); - project.TimeEntryActivities = dictionary.GetValueAsCollection(RedmineKeys.TIME_ENTRY_ACTIVITIES); - return project; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object’s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Project; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.NAME, entity.Name); - result.Add(RedmineKeys.IDENTIFIER, entity.Identifier); - result.Add(RedmineKeys.DESCRIPTION, entity.Description); - result.Add(RedmineKeys.HOMEPAGE, entity.HomePage); - //result.Add(RedmineKeys.INHERIT_MEMBERS, entity.InheritMembers.ToLowerInv()); - result.Add(RedmineKeys.IS_PUBLIC, entity.IsPublic.ToLowerInv()); - result.WriteIdOrEmpty(entity.Parent, RedmineKeys.PARENT_ID, string.Empty); - result.WriteIdsArray(RedmineKeys.TRACKER_IDS, entity.Trackers); - result.WriteNamesArray(RedmineKeys.ENABLED_MODULE_NAMES, entity.EnabledModules); - if (entity.Id > 0) - { - result.WriteArray(RedmineKeys.CUSTOM_FIELDS, entity.CustomFields, new IssueCustomFieldConverter(), - serializer); - } - var root = new Dictionary(); - root[RedmineKeys.PROJECT] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] { typeof(Project) }; } - } - - #endregion - } -} -#endif diff --git a/src/redmine-net-api/JSonConverters/ProjectEnabledModuleConverter.cs b/src/redmine-net-api/JSonConverters/ProjectEnabledModuleConverter.cs deleted file mode 100755 index 089d9f4b..00000000 --- a/src/redmine-net-api/JSonConverters/ProjectEnabledModuleConverter.cs +++ /dev/null @@ -1,78 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class ProjectEnabledModuleConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var projectEnableModule = new ProjectEnabledModule(); - projectEnableModule.Id = dictionary.GetValue(RedmineKeys.ID); - projectEnableModule.Name = dictionary.GetValue(RedmineKeys.NAME); - return projectEnableModule; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(ProjectEnabledModule)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/ProjectIssueCategoryConverter.cs b/src/redmine-net-api/JSonConverters/ProjectIssueCategoryConverter.cs deleted file mode 100755 index 0319ccbc..00000000 --- a/src/redmine-net-api/JSonConverters/ProjectIssueCategoryConverter.cs +++ /dev/null @@ -1,90 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class ProjectIssueCategoryConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var projectTracker = new ProjectIssueCategory(); - projectTracker.Id = dictionary.GetValue(RedmineKeys.ID); - projectTracker.Name = dictionary.GetValue(RedmineKeys.NAME); - return projectTracker; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as ProjectIssueCategory; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.ID, entity.Id); - result.Add(RedmineKeys.NAME, entity.Name); - - var root = new Dictionary(); - root[RedmineKeys.ISSUE_CATEGORY] = result; - return root; - } - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(ProjectIssueCategory)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/ProjectMembershipConverter.cs b/src/redmine-net-api/JSonConverters/ProjectMembershipConverter.cs deleted file mode 100755 index 595f31fb..00000000 --- a/src/redmine-net-api/JSonConverters/ProjectMembershipConverter.cs +++ /dev/null @@ -1,96 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class ProjectMembershipConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var projectMembership = new ProjectMembership(); - - projectMembership.Id = dictionary.GetValue(RedmineKeys.ID); - projectMembership.Group = dictionary.GetValueAsIdentifiableName(RedmineKeys.GROUP); - projectMembership.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); - projectMembership.Roles = dictionary.GetValueAsCollection(RedmineKeys.ROLES); - projectMembership.User = dictionary.GetValueAsIdentifiableName(RedmineKeys.USER); - - return projectMembership; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as ProjectMembership; - var result = new Dictionary(); - - if (entity != null) - { - result.WriteIdIfNotNull(entity.User, RedmineKeys.USER_ID); - result.WriteIdsArray(RedmineKeys.ROLE_IDS, entity.Roles); - - var root = new Dictionary(); - root[RedmineKeys.MEMBERSHIP] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(ProjectMembership)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/ProjectTrackerConverter.cs b/src/redmine-net-api/JSonConverters/ProjectTrackerConverter.cs deleted file mode 100755 index 5697d888..00000000 --- a/src/redmine-net-api/JSonConverters/ProjectTrackerConverter.cs +++ /dev/null @@ -1,78 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class ProjectTrackerConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var projectTracker = new ProjectTracker(); - projectTracker.Id = dictionary.GetValue(RedmineKeys.ID); - projectTracker.Name = dictionary.GetValue(RedmineKeys.NAME); - return projectTracker; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(ProjectTracker)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/QueryConverter.cs b/src/redmine-net-api/JSonConverters/QueryConverter.cs deleted file mode 100755 index 88f8fc62..00000000 --- a/src/redmine-net-api/JSonConverters/QueryConverter.cs +++ /dev/null @@ -1,83 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class QueryConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var query = new Query(); - - query.Id = dictionary.GetValue(RedmineKeys.ID); - query.IsPublic = dictionary.GetValue(RedmineKeys.IS_PUBLIC); - query.ProjectId = dictionary.GetValue(RedmineKeys.PROJECT_ID); - query.Name = dictionary.GetValue(RedmineKeys.NAME); - - return query; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(Query)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/RoleConverter.cs b/src/redmine-net-api/JSonConverters/RoleConverter.cs deleted file mode 100755 index b14af70a..00000000 --- a/src/redmine-net-api/JSonConverters/RoleConverter.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class RoleConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var role = new Role(); - - role.Id = dictionary.GetValue(RedmineKeys.ID); - role.Name = dictionary.GetValue(RedmineKeys.NAME); - - var permissions = dictionary.GetValue(RedmineKeys.PERMISSIONS); - if (permissions != null) - { - role.Permissions = new List(); - foreach (var permission in permissions) - { - var perms = new Permission {Info = permission.ToString()}; - role.Permissions.Add(perms); - } - } - - return role; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(Role)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/TimeEntryActivityConverter.cs b/src/redmine-net-api/JSonConverters/TimeEntryActivityConverter.cs deleted file mode 100755 index 435b29ef..00000000 --- a/src/redmine-net-api/JSonConverters/TimeEntryActivityConverter.cs +++ /dev/null @@ -1,78 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class TimeEntryActivityConverter : JavaScriptConverter - { - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(TimeEntryActivity)}; } - } - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var timeEntryActivity = new TimeEntryActivity - { - Id = dictionary.GetValue(RedmineKeys.ID), - Name = dictionary.GetValue(RedmineKeys.NAME), - IsDefault = dictionary.GetValue(RedmineKeys.IS_DEFAULT) - }; - return timeEntryActivity; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/TimeEntryConverter.cs b/src/redmine-net-api/JSonConverters/TimeEntryConverter.cs deleted file mode 100755 index 3e001bd0..00000000 --- a/src/redmine-net-api/JSonConverters/TimeEntryConverter.cs +++ /dev/null @@ -1,121 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Extensions; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class TimeEntryConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var timeEntry = new TimeEntry(); - - timeEntry.Id = dictionary.GetValue(RedmineKeys.ID); - timeEntry.Activity = - dictionary.GetValueAsIdentifiableName(dictionary.ContainsKey(RedmineKeys.ACTIVITY) - ? RedmineKeys.ACTIVITY - : RedmineKeys.ACTIVITY_ID); - timeEntry.Comments = dictionary.GetValue(RedmineKeys.COMMENTS); - timeEntry.Hours = dictionary.GetValue(RedmineKeys.HOURS); - timeEntry.Issue = - dictionary.GetValueAsIdentifiableName(dictionary.ContainsKey(RedmineKeys.ISSUE) - ? RedmineKeys.ISSUE - : RedmineKeys.ISSUE_ID); - timeEntry.Project = - dictionary.GetValueAsIdentifiableName(dictionary.ContainsKey(RedmineKeys.PROJECT) - ? RedmineKeys.PROJECT - : RedmineKeys.PROJECT_ID); - timeEntry.SpentOn = dictionary.GetValue(RedmineKeys.SPENT_ON); - timeEntry.User = dictionary.GetValueAsIdentifiableName(RedmineKeys.USER); - timeEntry.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); - timeEntry.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - timeEntry.UpdatedOn = dictionary.GetValue(RedmineKeys.UPDATED_ON); - - return timeEntry; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as TimeEntry; - var result = new Dictionary(); - - if (entity != null) - { - result.WriteIdIfNotNull(entity.Issue, RedmineKeys.ISSUE_ID); - result.WriteIdIfNotNull(entity.Project, RedmineKeys.PROJECT_ID); - result.WriteIdIfNotNull(entity.Activity, RedmineKeys.ACTIVITY_ID); - - if (!entity.SpentOn.HasValue) entity.SpentOn = DateTime.Now; - - result.WriteDateOrEmpty(entity.SpentOn, RedmineKeys.SPENT_ON); - result.Add(RedmineKeys.HOURS, entity.Hours); - result.Add(RedmineKeys.COMMENTS, entity.Comments); - result.WriteArray(RedmineKeys.CUSTOM_FIELDS, entity.CustomFields, new IssueCustomFieldConverter(), - serializer); - - var root = new Dictionary(); - root[RedmineKeys.TIME_ENTRY] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(TimeEntry)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/TrackerConverter.cs b/src/redmine-net-api/JSonConverters/TrackerConverter.cs deleted file mode 100755 index 221dbae4..00000000 --- a/src/redmine-net-api/JSonConverters/TrackerConverter.cs +++ /dev/null @@ -1,81 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class TrackerConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var tracker = new Tracker - { - Id = dictionary.GetValue(RedmineKeys.ID), - Name = dictionary.GetValue(RedmineKeys.NAME) - }; - return tracker; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(Tracker)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/TrackerCustomFieldConverter.cs b/src/redmine-net-api/JSonConverters/TrackerCustomFieldConverter.cs deleted file mode 100755 index 415480b3..00000000 --- a/src/redmine-net-api/JSonConverters/TrackerCustomFieldConverter.cs +++ /dev/null @@ -1,68 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class TrackerCustomFieldConverter : IdentifiableNameConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var entity = new TrackerCustomField(); - - entity.Id = dictionary.GetValue(RedmineKeys.ID); - entity.Name = dictionary.GetValue(RedmineKeys.NAME); - - return entity; - } - - return null; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(TrackerCustomField)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/UploadConverter.cs b/src/redmine-net-api/JSonConverters/UploadConverter.cs deleted file mode 100755 index 1df7d6f1..00000000 --- a/src/redmine-net-api/JSonConverters/UploadConverter.cs +++ /dev/null @@ -1,93 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class UploadConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var upload = new Upload(); - - upload.ContentType = dictionary.GetValue(RedmineKeys.CONTENT_TYPE); - upload.FileName = dictionary.GetValue(RedmineKeys.FILENAME); - upload.Token = dictionary.GetValue(RedmineKeys.TOKEN); - upload.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); - return upload; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Upload; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.CONTENT_TYPE, entity.ContentType); - result.Add(RedmineKeys.FILENAME, entity.FileName); - result.Add(RedmineKeys.TOKEN, entity.Token); - result.Add(RedmineKeys.DESCRIPTION, entity.Description); - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(Upload)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/UserConverter.cs b/src/redmine-net-api/JSonConverters/UserConverter.cs deleted file mode 100644 index d5055a9c..00000000 --- a/src/redmine-net-api/JSonConverters/UserConverter.cs +++ /dev/null @@ -1,127 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class UserConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var user = new User(); - user.Login = dictionary.GetValue(RedmineKeys.LOGIN); - user.Id = dictionary.GetValue(RedmineKeys.ID); - user.FirstName = dictionary.GetValue(RedmineKeys.FIRSTNAME); - user.LastName = dictionary.GetValue(RedmineKeys.LASTNAME); - user.Email = dictionary.GetValue(RedmineKeys.MAIL); - user.MailNotification = dictionary.GetValue(RedmineKeys.MAIL_NOTIFICATION); - user.AuthenticationModeId = dictionary.GetValue(RedmineKeys.AUTH_SOURCE_ID); - user.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - user.LastLoginOn = dictionary.GetValue(RedmineKeys.LAST_LOGIN_ON); - user.ApiKey = dictionary.GetValue(RedmineKeys.API_KEY); - user.Status = dictionary.GetValue(RedmineKeys.STATUS); - user.MustChangePassword = dictionary.GetValue(RedmineKeys.MUST_CHANGE_PASSWD); - user.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); - user.Memberships = dictionary.GetValueAsCollection(RedmineKeys.MEMBERSHIPS); - user.Groups = dictionary.GetValueAsCollection(RedmineKeys.GROUPS); - - return user; - } - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as User; - - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.LOGIN, entity.Login); - result.Add(RedmineKeys.FIRSTNAME, entity.FirstName); - result.Add(RedmineKeys.LASTNAME, entity.LastName); - result.Add(RedmineKeys.MAIL, entity.Email); - if(!string.IsNullOrWhiteSpace(entity.MailNotification)) - { - result.Add(RedmineKeys.MAIL_NOTIFICATION, entity.MailNotification); - } - - if(!string.IsNullOrWhiteSpace(entity.Password)) - { - result.Add(RedmineKeys.PASSWORD, entity.Password); - } - - result.Add(RedmineKeys.MUST_CHANGE_PASSWD, entity.MustChangePassword.ToLowerInv()); - result.Add(RedmineKeys.STATUS, ((int)entity.Status).ToString(CultureInfo.InvariantCulture)); - - if(entity.AuthenticationModeId.HasValue) - { - result.WriteValueOrEmpty(entity.AuthenticationModeId, RedmineKeys.AUTH_SOURCE_ID); - } - result.WriteArray(RedmineKeys.CUSTOM_FIELDS, entity.CustomFields, new IssueCustomFieldConverter(), - serializer); - - var root = new Dictionary(); - root[RedmineKeys.USER] = result; - return root; - } - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(User)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/UserGroupConverter.cs b/src/redmine-net-api/JSonConverters/UserGroupConverter.cs deleted file mode 100755 index 2137bb10..00000000 --- a/src/redmine-net-api/JSonConverters/UserGroupConverter.cs +++ /dev/null @@ -1,68 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class UserGroupConverter : IdentifiableNameConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(UserGroup)}; } - } - - #endregion - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var userGroup = new UserGroup(); - - userGroup.Id = dictionary.GetValue(RedmineKeys.ID); - userGroup.Name = dictionary.GetValue(RedmineKeys.NAME); - - return userGroup; - } - - return null; - } - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/VersionConverter.cs b/src/redmine-net-api/JSonConverters/VersionConverter.cs deleted file mode 100755 index 54e568e6..00000000 --- a/src/redmine-net-api/JSonConverters/VersionConverter.cs +++ /dev/null @@ -1,109 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Globalization; -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; -using Version = Redmine.Net.Api.Types.Version; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class VersionConverter : JavaScriptConverter - { - #region Overrides of JavaScriptConverter - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var version = new Version(); - - version.Id = dictionary.GetValue(RedmineKeys.ID); - version.Description = dictionary.GetValue(RedmineKeys.DESCRIPTION); - version.Name = dictionary.GetValue(RedmineKeys.NAME); - version.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - version.UpdatedOn = dictionary.GetValue(RedmineKeys.UPDATED_ON); - version.DueDate = dictionary.GetValue(RedmineKeys.DUE_DATE); - version.Project = dictionary.GetValueAsIdentifiableName(RedmineKeys.PROJECT); - version.Sharing = dictionary.GetValue(RedmineKeys.SHARING); - version.Status = dictionary.GetValue(RedmineKeys.STATUS); - version.CustomFields = dictionary.GetValueAsCollection(RedmineKeys.CUSTOM_FIELDS); - - return version; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Version; - - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.NAME, entity.Name); - result.Add(RedmineKeys.STATUS, entity.Status.ToString("G").ToLowerInv()); - result.Add(RedmineKeys.SHARING, entity.Sharing.ToString("G").ToLowerInv()); - result.Add(RedmineKeys.DESCRIPTION, entity.Description); - - var root = new Dictionary(); - result.WriteDateOrEmpty(entity.DueDate, RedmineKeys.DUE_DATE); - root[RedmineKeys.VERSION] = result; - return root; - } - - return result; - } - - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(Version)}; } - } - - #endregion - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/WatcherConverter.cs b/src/redmine-net-api/JSonConverters/WatcherConverter.cs deleted file mode 100755 index b7f93e2d..00000000 --- a/src/redmine-net-api/JSonConverters/WatcherConverter.cs +++ /dev/null @@ -1,87 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Globalization; -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class WatcherConverter : JavaScriptConverter - { - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] {typeof(Watcher)}; } - } - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var watcher = new Watcher(); - - watcher.Id = dictionary.GetValue(RedmineKeys.ID); - watcher.Name = dictionary.GetValue(RedmineKeys.NAME); - - return watcher; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as Watcher; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.ID, entity.Id.ToString(CultureInfo.InvariantCulture)); - } - - return result; - } - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/JSonConverters/WikiPageConverter.cs b/src/redmine-net-api/JSonConverters/WikiPageConverter.cs deleted file mode 100755 index c5c6af0a..00000000 --- a/src/redmine-net-api/JSonConverters/WikiPageConverter.cs +++ /dev/null @@ -1,99 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !NET20 -using System; -using System.Collections.Generic; -using System.Web.Script.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.JSonConverters -{ - internal class WikiPageConverter : JavaScriptConverter - { - /// - /// When overridden in a derived class, gets a collection of the supported types. - /// - public override IEnumerable SupportedTypes - { - get { return new[] { typeof(WikiPage) }; } - } - - /// - /// When overridden in a derived class, converts the provided dictionary into an object of the specified type. - /// - /// - /// An instance of property data stored - /// as name/value pairs. - /// - /// The type of the resulting object. - /// The instance. - /// - /// The deserialized object. - /// - public override object Deserialize(IDictionary dictionary, Type type, - JavaScriptSerializer serializer) - { - if (dictionary != null) - { - var tracker = new WikiPage(); - - tracker.Id = dictionary.GetValue(RedmineKeys.ID); - tracker.Author = dictionary.GetValueAsIdentifiableName(RedmineKeys.AUTHOR); - tracker.Comments = dictionary.GetValue(RedmineKeys.COMMENTS); - tracker.CreatedOn = dictionary.GetValue(RedmineKeys.CREATED_ON); - tracker.Text = dictionary.GetValue(RedmineKeys.TEXT); - tracker.Title = dictionary.GetValue(RedmineKeys.TITLE); - tracker.UpdatedOn = dictionary.GetValue(RedmineKeys.UPDATED_ON); - tracker.Version = dictionary.GetValue(RedmineKeys.VERSION); - tracker.Attachments = dictionary.GetValueAsCollection(RedmineKeys.ATTACHMENTS); - - return tracker; - } - - return null; - } - - /// - /// When overridden in a derived class, builds a dictionary of name/value pairs. - /// - /// The object to serialize. - /// The object that is responsible for the serialization. - /// - /// An object that contains key/value pairs that represent the object�s data. - /// - public override IDictionary Serialize(object obj, JavaScriptSerializer serializer) - { - var entity = obj as WikiPage; - var result = new Dictionary(); - - if (entity != null) - { - result.Add(RedmineKeys.TEXT, entity.Text); - result.Add(RedmineKeys.COMMENTS, entity.Comments); - result.WriteValueOrEmpty(entity.Version, RedmineKeys.VERSION); - result.WriteArray(RedmineKeys.UPLOADS, entity.Uploads, new UploadConverter(), serializer); - - var root = new Dictionary(); - root[RedmineKeys.WIKI_PAGE] = result; - return root; - } - - return result; - } - } -} -#endif \ No newline at end of file From be31def798252e0e9844c4972c33b13a239fdfe3 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 10 Jan 2020 18:55:43 +0200 Subject: [PATCH 143/601] Refactor xml serialization --- .../Extensions/XmlReaderExtensions.cs | 22 +- .../Extensions/XmlWriterExtensions.cs | 153 +++++-- src/redmine-net-api/RedmineKeys.cs | 51 ++- .../Serialization/ISerialization.cs | 11 + .../Serialization/PagedResults.cs | 62 +++ .../Serialization/XmlRedmineSerializer.cs | 179 ++++++++ src/redmine-net-api/Types/Attachment.cs | 97 ++-- src/redmine-net-api/Types/Attachments.cs | 2 +- src/redmine-net-api/Types/ChangeSet.cs | 42 +- src/redmine-net-api/Types/CustomField.cs | 162 +++---- .../Types/CustomFieldPossibleValue.cs | 93 +++- src/redmine-net-api/Types/CustomFieldRole.cs | 16 +- src/redmine-net-api/Types/CustomFieldValue.cs | 102 ++++- src/redmine-net-api/Types/Detail.cs | 65 ++- src/redmine-net-api/Types/Error.cs | 55 ++- src/redmine-net-api/Types/File.cs | 180 +++----- src/redmine-net-api/Types/Group.cs | 61 +-- src/redmine-net-api/Types/GroupUser.cs | 18 +- src/redmine-net-api/Types/Identifiable.cs | 59 ++- src/redmine-net-api/Types/IdentifiableName.cs | 61 ++- src/redmine-net-api/Types/Issue.cs | 433 +++++++----------- src/redmine-net-api/Types/IssueCategory.cs | 75 ++- src/redmine-net-api/Types/IssueChild.cs | 66 ++- src/redmine-net-api/Types/IssueCustomField.cs | 117 +++-- src/redmine-net-api/Types/IssuePriority.cs | 34 +- src/redmine-net-api/Types/IssueRelation.cs | 70 ++- .../Types/IssueRelationType.cs | 14 +- src/redmine-net-api/Types/IssueStatus.cs | 55 +-- src/redmine-net-api/Types/Journal.cs | 75 +-- src/redmine-net-api/Types/Membership.cs | 58 +-- src/redmine-net-api/Types/MembershipRole.cs | 51 ++- src/redmine-net-api/Types/News.cs | 75 +-- src/redmine-net-api/Types/Permission.cs | 60 ++- src/redmine-net-api/Types/Project.cs | 235 +++++----- .../Types/ProjectEnabledModule.cs | 40 +- .../Types/ProjectIssueCategory.cs | 21 +- .../Types/ProjectMembership.cs | 94 ++-- .../Types/ProjectTimeEntryActivity.cs | 31 ++ src/redmine-net-api/Types/ProjectTracker.cs | 41 +- src/redmine-net-api/Types/Query.cs | 43 +- src/redmine-net-api/Types/Role.cs | 30 +- src/redmine-net-api/Types/TimeEntry.cs | 157 +++---- .../Types/TimeEntryActivity.cs | 36 +- src/redmine-net-api/Types/Tracker.cs | 23 +- .../Types/TrackerCustomField.cs | 14 +- src/redmine-net-api/Types/Upload.cs | 72 ++- src/redmine-net-api/Types/User.cs | 155 +++---- src/redmine-net-api/Types/UserGroup.cs | 10 +- src/redmine-net-api/Types/UserStatus.cs | 0 src/redmine-net-api/Types/Version.cs | 141 ++---- src/redmine-net-api/Types/VersionSharing.cs | 29 ++ src/redmine-net-api/Types/VersionStatus.cs | 21 + src/redmine-net-api/Types/Watcher.cs | 28 +- 53 files changed, 2153 insertions(+), 1742 deletions(-) mode change 100755 => 100644 src/redmine-net-api/Extensions/XmlReaderExtensions.cs mode change 100755 => 100644 src/redmine-net-api/Extensions/XmlWriterExtensions.cs mode change 100755 => 100644 src/redmine-net-api/RedmineKeys.cs create mode 100644 src/redmine-net-api/Serialization/ISerialization.cs create mode 100644 src/redmine-net-api/Serialization/PagedResults.cs create mode 100644 src/redmine-net-api/Serialization/XmlRedmineSerializer.cs mode change 100755 => 100644 src/redmine-net-api/Types/Attachment.cs mode change 100755 => 100644 src/redmine-net-api/Types/Attachments.cs mode change 100755 => 100644 src/redmine-net-api/Types/ChangeSet.cs mode change 100755 => 100644 src/redmine-net-api/Types/CustomField.cs mode change 100755 => 100644 src/redmine-net-api/Types/CustomFieldPossibleValue.cs mode change 100755 => 100644 src/redmine-net-api/Types/CustomFieldRole.cs mode change 100755 => 100644 src/redmine-net-api/Types/CustomFieldValue.cs mode change 100755 => 100644 src/redmine-net-api/Types/Detail.cs mode change 100755 => 100644 src/redmine-net-api/Types/Error.cs mode change 100755 => 100644 src/redmine-net-api/Types/Group.cs mode change 100755 => 100644 src/redmine-net-api/Types/GroupUser.cs mode change 100755 => 100644 src/redmine-net-api/Types/Identifiable.cs mode change 100755 => 100644 src/redmine-net-api/Types/IdentifiableName.cs mode change 100755 => 100644 src/redmine-net-api/Types/IssueCategory.cs mode change 100755 => 100644 src/redmine-net-api/Types/IssueChild.cs mode change 100755 => 100644 src/redmine-net-api/Types/IssueCustomField.cs mode change 100755 => 100644 src/redmine-net-api/Types/IssuePriority.cs mode change 100755 => 100644 src/redmine-net-api/Types/IssueRelation.cs mode change 100755 => 100644 src/redmine-net-api/Types/IssueRelationType.cs mode change 100755 => 100644 src/redmine-net-api/Types/IssueStatus.cs mode change 100755 => 100644 src/redmine-net-api/Types/Membership.cs mode change 100755 => 100644 src/redmine-net-api/Types/MembershipRole.cs mode change 100755 => 100644 src/redmine-net-api/Types/News.cs mode change 100755 => 100644 src/redmine-net-api/Types/Permission.cs mode change 100755 => 100644 src/redmine-net-api/Types/ProjectEnabledModule.cs mode change 100755 => 100644 src/redmine-net-api/Types/ProjectIssueCategory.cs mode change 100755 => 100644 src/redmine-net-api/Types/ProjectMembership.cs create mode 100644 src/redmine-net-api/Types/ProjectTimeEntryActivity.cs mode change 100755 => 100644 src/redmine-net-api/Types/ProjectTracker.cs mode change 100755 => 100644 src/redmine-net-api/Types/Query.cs mode change 100755 => 100644 src/redmine-net-api/Types/Role.cs mode change 100755 => 100644 src/redmine-net-api/Types/TimeEntryActivity.cs mode change 100755 => 100644 src/redmine-net-api/Types/Tracker.cs mode change 100755 => 100644 src/redmine-net-api/Types/TrackerCustomField.cs mode change 100755 => 100644 src/redmine-net-api/Types/Upload.cs mode change 100755 => 100644 src/redmine-net-api/Types/UserGroup.cs mode change 100755 => 100644 src/redmine-net-api/Types/UserStatus.cs mode change 100755 => 100644 src/redmine-net-api/Types/Version.cs create mode 100644 src/redmine-net-api/Types/VersionSharing.cs create mode 100644 src/redmine-net-api/Types/VersionStatus.cs mode change 100755 => 100644 src/redmine-net-api/Types/Watcher.cs diff --git a/src/redmine-net-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net-api/Extensions/XmlReaderExtensions.cs old mode 100755 new mode 100644 index 00f9a7e5..7f1b121b --- a/src/redmine-net-api/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlReaderExtensions.cs @@ -84,7 +84,7 @@ public static bool ReadAttributeAsBoolean(this XmlReader reader, string attribut { return false; } - + return result; } @@ -116,6 +116,7 @@ public static bool ReadAttributeAsBoolean(this XmlReader reader, string attribut public static float? ReadElementContentAsNullableFloat(this XmlReader reader) { var content = reader.ReadElementContentAsString(); + if (content.IsNullOrWhiteSpace() || !float.TryParse(content, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out var result)) { return null; @@ -167,12 +168,12 @@ public static bool ReadAttributeAsBoolean(this XmlReader reader, string attribut public static List ReadElementContentAsCollection(this XmlReader reader) where T : class { List result = null; - XmlSerializer serializer = null; + var serializer = new XmlSerializer(typeof(T)); var outerXml = reader.ReadOuterXml(); using (var stringReader = new StringReader(outerXml)) { - using (var xmlTextReader = XmlTextReaderBuilder.Create(stringReader)) + using (var xmlTextReader = XmlTextReaderBuilder.Create(stringReader)) { xmlTextReader.ReadStartElement(); while (!xmlTextReader.EOF) @@ -185,11 +186,6 @@ public static List ReadElementContentAsCollection(this XmlReader reader) w T entity; - if (serializer == null) - { - serializer = new XmlSerializer(typeof(T)); - } - if (xmlTextReader.IsEmptyElement && xmlTextReader.HasAttributes) { entity = serializer.Deserialize(xmlTextReader) as T; @@ -234,7 +230,7 @@ public static List ReadElementContentAsCollection(this XmlReader reader) w /// public static IEnumerable ReadElementContentAsEnumerable(this XmlReader reader) where T : class { - XmlSerializer serializer = null; + var serializer = new XmlSerializer(typeof(T)); var outerXml = reader.ReadOuterXml(); using (var stringReader = new StringReader(outerXml)) { @@ -250,11 +246,7 @@ public static IEnumerable ReadElementContentAsEnumerable(this XmlReader re } T entity; - if (serializer == null) - { - serializer = new XmlSerializer(typeof(T)); - } - + if (xmlTextReader.IsEmptyElement && xmlTextReader.HasAttributes) { entity = serializer.Deserialize(xmlTextReader) as T; @@ -266,7 +258,7 @@ public static IEnumerable ReadElementContentAsEnumerable(this XmlReader re } if (entity != null) { - yield return entity; + yield return entity; } if (!xmlTextReader.IsEmptyElement) diff --git a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs old mode 100755 new mode 100644 index 7018f3f5..408af16f --- a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs @@ -37,16 +37,19 @@ public static partial class XmlExtensions private static readonly Type[] emptyTypeArray = new Type[0]; #endif private static readonly XmlAttributeOverrides xmlAttributeOverrides = new XmlAttributeOverrides(); - + /// /// Writes the id if not null. /// /// The writer. - /// The ident. - /// The tag. - public static void WriteIdIfNotNull(this XmlWriter writer, IdentifiableName ident, string tag) + /// + /// + public static void WriteIdIfNotNull(this XmlWriter writer, string elementName, IdentifiableName identifiableName) { - if (ident != null) writer.WriteElementString(tag, ident.Id.ToString(CultureInfo.InvariantCulture)); + if (identifiableName != null) + { + writer.WriteElementString(elementName, identifiableName.Id.ToString(CultureInfo.InvariantCulture)); + } } /// @@ -55,7 +58,7 @@ public static void WriteIdIfNotNull(this XmlWriter writer, IdentifiableName iden /// The writer. /// The collection. /// Name of the element. - public static void WriteArray(this XmlWriter writer, IEnumerable collection, string elementName) + public static void WriteArray(this XmlWriter writer, string elementName, IEnumerable collection) { if (collection == null) return; writer.WriteStartElement(elementName); @@ -69,6 +72,32 @@ public static void WriteArray(this XmlWriter writer, IEnumerable collection, str writer.WriteEndElement(); } + /// + /// Writes the array. + /// + /// The writer. + /// The collection. + /// Name of the element. + public static void WriteArray(this XmlWriter writer, string elementName, IEnumerable collection) + { + if (collection == null) + { + return; + } + + writer.WriteStartElement(elementName); + writer.WriteAttributeString("type", "array"); + + var serializer = new XmlSerializer(typeof(T)); + + foreach (var item in collection) + { + serializer.Serialize(writer, item); + } + + writer.WriteEndElement(); + } + /// /// Writes the array ids. /// @@ -77,7 +106,7 @@ public static void WriteArray(this XmlWriter writer, IEnumerable collection, str /// Name of the element. /// The type. /// The f. - public static void WriteArrayIds(this XmlWriter writer, IEnumerable collection, string elementName, Type type, Func f) + public static void WriteArrayIds(this XmlWriter writer, string elementName, IEnumerable collection, Type type, Func f) { if (collection == null || f == null) return; @@ -103,7 +132,7 @@ public static void WriteArrayIds(this XmlWriter writer, IEnumerable collection, /// The type. /// The root. /// The default namespace. - public static void WriteArray(this XmlWriter writer, IEnumerable collection, string elementName, Type type, string root, string defaultNamespace = null) + public static void WriteArray(this XmlWriter writer, string elementName, IEnumerable collection, Type type, string root, string defaultNamespace = null) { if (collection == null) return; @@ -124,34 +153,36 @@ public static void WriteArray(this XmlWriter writer, IEnumerable collection, str } /// - /// Writes the array string element. + /// Writes the list elements. /// - /// The writer. + /// The XML writer. /// The collection. /// Name of the element. - /// The func to invoke. - public static void WriteArrayStringElement(this XmlWriter writer, IEnumerable collection, string elementName, Func f) + public static void WriteListElements(this XmlWriter xmlWriter, string elementName, IEnumerable collection) { - if (collection == null || f == null) return; - writer.WriteStartElement(elementName); - writer.WriteAttributeString("type", "array"); + if (collection == null) + { + return; + } foreach (var item in collection) { - writer.WriteElementString(elementName, f.Invoke(item)); + xmlWriter.WriteElementString(elementName, item.Value); } - writer.WriteEndElement(); } /// - /// Writes the list elements. + /// /// - /// The XML writer. - /// The collection. - /// Name of the element. - public static void WriteListElements(this XmlWriter xmlWriter, IEnumerable collection, string elementName) + /// + /// + /// + public static void WriteRepeatableElement(this XmlWriter xmlWriter, string elementName, IEnumerable collection) { - if (collection == null) return; + if (collection == null) + { + return; + } foreach (var item in collection) { @@ -159,15 +190,33 @@ public static void WriteListElements(this XmlWriter xmlWriter, IEnumerable f) + { + if (collection == null) + { + return; + } + + writer.WriteStartElement(elementName); + writer.WriteAttributeString("type", "array"); + + foreach (var item in collection) + { + writer.WriteElementString(elementName, f.Invoke(item)); + } + + writer.WriteEndElement(); + } + /// - /// Writes the identifier or empty. + /// /// - /// The writer. - /// The ident. - /// The tag. - public static void WriteIdOrEmpty(this XmlWriter writer, IdentifiableName ident, string tag) + /// + /// + /// + public static void WriteIdOrEmpty(this XmlWriter writer, string elementName, IdentifiableName ident) { - writer.WriteElementString(tag, ident != null ? ident.Id.ToString(CultureInfo.InvariantCulture) : string.Empty); + writer.WriteElementString(elementName, ident != null ? ident.Id.ToString(CultureInfo.InvariantCulture) : string.Empty); } /// @@ -175,13 +224,22 @@ public static void WriteIdOrEmpty(this XmlWriter writer, IdentifiableName ident, /// /// /// The writer. - /// The value. - /// The tag. - public static void WriteIfNotDefaultOrNull(this XmlWriter writer, T? val, string tag) where T : struct + /// The value. + /// The tag. + public static void WriteIfNotDefaultOrNull(this XmlWriter writer, string elementName, T value) { - if (!val.HasValue) return; - if (!EqualityComparer.Default.Equals(val.Value, default(T))) - writer.WriteElementString(tag, string.Format(NumberFormatInfo.InvariantInfo, "{0}", val.Value.ToString())); + if (EqualityComparer.Default.Equals(value, default(T))) + { + return; + } + + if (value is bool) + { + writer.WriteElementString(elementName, value.ToString().ToLowerInvariant()); + return; + } + + writer.WriteElementString(elementName, string.Format(CultureInfo.InvariantCulture, "{0}", value.ToString())); } /// @@ -190,27 +248,36 @@ public static void WriteIfNotDefaultOrNull(this XmlWriter writer, T? val, str /// /// The writer. /// The value. - /// The tag. - public static void WriteValueOrEmpty(this XmlWriter writer, T? val, string tag) where T : struct + /// The tag. + public static void WriteValueOrEmpty(this XmlWriter writer, string elementName, T? val) where T : struct { if (!val.HasValue || EqualityComparer.Default.Equals(val.Value, default(T))) - writer.WriteElementString(tag, string.Empty); + { + writer.WriteElementString(elementName, string.Empty); + } else - writer.WriteElementString(tag, string.Format(NumberFormatInfo.InvariantInfo, "{0}", val.Value.ToString())); + { + writer.WriteElementString(elementName, string.Format(NumberFormatInfo.InvariantInfo, "{0}", val.Value)); + } } /// /// Writes the date or empty. /// /// The writer. + /// The tag. /// The value. - /// The tag. - public static void WriteDateOrEmpty(this XmlWriter writer, DateTime? val, string tag) + /// + public static void WriteDateOrEmpty(this XmlWriter writer, string elementName, DateTime? val, string dateTimeFormat = "yyyy-MM-dd") { if (!val.HasValue || val.Value.Equals(default(DateTime))) - writer.WriteElementString(tag, string.Empty); + { + writer.WriteElementString(elementName, string.Empty); + } else - writer.WriteElementString(tag, string.Format(NumberFormatInfo.InvariantInfo, "{0}", val.Value.ToString("yyyy-MM-dd", CultureInfo.InvariantCulture))); + { + writer.WriteElementString(elementName, val.Value.ToString(dateTimeFormat, CultureInfo.InvariantCulture)); + } } } } \ No newline at end of file diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs old mode 100755 new mode 100644 index f31258c3..69c18200 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -71,11 +71,11 @@ public static class RedmineKeys /// /// /// - public const string CHANGESET = "changeset"; + public const string CHANGE_SET = "changeset"; /// /// /// - public const string CHANGESETS = "changesets"; + public const string CHANGE_SETS = "changesets"; /// /// /// @@ -104,6 +104,12 @@ public static class RedmineKeys /// /// public const string CREATED_ON = "created_on"; + + /// + /// + /// + public const string CURRENT_USER = "current_user"; + /// /// /// @@ -191,7 +197,7 @@ public static class RedmineKeys /// /// /// - public const string FILESIZE = "filesize"; + public const string FILE_SIZE = "filesize"; /// /// /// @@ -260,6 +266,11 @@ public static class RedmineKeys /// /// public const string ISSUE_CATEGORY = "issue_category"; + + /// + /// + /// + public const string ISSUE_CUSTOM_FIELD_IDS = "issue_custom_field_ids"; /// /// /// @@ -319,6 +330,10 @@ public static class RedmineKeys /// /// /// + public const string LABEL = "label"; + /// + /// + /// public const string LASTNAME = "lastname"; /// /// @@ -363,7 +378,7 @@ public static class RedmineKeys /// /// /// - public const string MUST_CHANGE_PASSWD = "must_change_passwd"; + public const string MUST_CHANGE_PASSWORD = "must_change_passwd"; /// /// /// @@ -453,6 +468,10 @@ public static class RedmineKeys /// public const string QUERY = "query"; /// + /// + /// + public const string REASSIGN_TO_ID = "reassign_to_id"; + /// /// /// public const string REGEXP = "regexp"; @@ -527,7 +546,7 @@ public static class RedmineKeys /// /// /// - public const string SUBPROJECT_ID = "subproject_id"; + public const string SUB_PROJECT_ID = "subproject_id"; /// /// /// @@ -555,6 +574,10 @@ public static class RedmineKeys /// /// /// + public const string THUMBNAIL_URL = "thumbnail_url"; + /// + /// + /// public const string TOKEN = "token"; /// /// @@ -564,12 +587,10 @@ public static class RedmineKeys /// /// public const string TOTAL_ESTIMATED_HOURS = "total_estimated_hours"; - /// /// /// public const string TOTAL_SPENT_HOURS = "total_spent_hours"; - /// /// /// @@ -618,14 +639,10 @@ public static class RedmineKeys /// /// public const string VALUE = "value"; - /// - /// - /// - public const string LABEL = "label"; - /// - /// - /// - public const string VERSION = "version"; + /// + /// + /// + public const string VERSION = "version"; /// /// /// @@ -654,9 +671,5 @@ public static class RedmineKeys /// /// public const string WIKI_PAGES = "wiki_pages"; - /// - /// - /// - public const string REASSIGN_TO_ID = "reassign_to_id"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Serialization/ISerialization.cs b/src/redmine-net-api/Serialization/ISerialization.cs new file mode 100644 index 00000000..172fb95c --- /dev/null +++ b/src/redmine-net-api/Serialization/ISerialization.cs @@ -0,0 +1,11 @@ +namespace Redmine.Net.Api.Serialization +{ + internal interface IRedmineSerializer + { + string Type { get; } + + string Serialize(T obj) where T : class; + + T Deserialize(string response) where T : new(); + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Serialization/PagedResults.cs b/src/redmine-net-api/Serialization/PagedResults.cs new file mode 100644 index 00000000..46031d83 --- /dev/null +++ b/src/redmine-net-api/Serialization/PagedResults.cs @@ -0,0 +1,62 @@ +using System.Collections.Generic; + +namespace Redmine.Net.Api.Serialization +{ + /// + /// + /// + public sealed class PagedResults where TOut: class + { + /// + /// + /// + /// + /// + /// + /// + public PagedResults(IEnumerable items, int total, int offset, int pageSize) + { + Items = items; + TotalItems = total; + Offset = offset; + PageSize = pageSize; + + if (pageSize > 0) + { + CurrentPage = offset / pageSize + 1; + + TotalPages = total / pageSize + 1; + } + } + + /// + /// + /// + public int PageSize { get; } + + /// + /// + /// + public int Offset { get; } + + /// + /// + /// + public int CurrentPage { get; } + + /// + /// + /// + public int TotalItems { get; } + + /// + /// + /// + public int TotalPages { get; } + + /// + /// + /// + public IEnumerable Items { get; } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs new file mode 100644 index 00000000..74978872 --- /dev/null +++ b/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs @@ -0,0 +1,179 @@ +using System; +using System.IO; +using System.Xml; +using System.Xml.Serialization; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.Serialization +{ + internal sealed class XmlRedmineSerializer : IRedmineSerializer + { + + public XmlRedmineSerializer() + { + XMLWriterSettings = new XmlWriterSettings + { + OmitXmlDeclaration = true + }; + } + + public XmlRedmineSerializer(XmlWriterSettings xmlWriterSettings) + { + XMLWriterSettings = xmlWriterSettings; + } + + private readonly XmlWriterSettings XMLWriterSettings; + + public T Deserialize(string response) where T : new() + { + try + { + return XmlDeserializeEntity(response); + } + catch (Exception ex) + { + throw new RedmineException(ex.Message, ex); + } + } + + public PagedResults DeserializeToPagedResults(string response) where T : class, new() + { + try + { + return XmlDeserializeList(response, false); + } + catch (Exception ex) + { + throw new RedmineException(ex.Message, ex); + } + } + + public int Count(string xmlResponse) where T : class, new() + { + try + { + var pagedResults = XmlDeserializeList(xmlResponse, true); + return pagedResults.TotalItems; + } + catch (Exception ex) + { + throw new RedmineException(ex.Message, ex); + } + } + + public string Type { get; } = "xml"; + + public string Serialize(T entity) where T : class + { + try + { + return ToXML(entity); + } + catch (Exception ex) + { + throw new RedmineException(ex.Message, ex); + } + } + + /// + /// XMLs the deserialize list. + /// + /// + /// The response. + /// + /// + private static PagedResults XmlDeserializeList(string xmlResponse, bool onlyCount) where T : class, new() + { + if (xmlResponse.IsNullOrWhiteSpace()) + { + throw new ArgumentNullException(nameof(xmlResponse), $"Could not deserialize null or empty input for type '{typeof(T).Name}'."); + } + + using (TextReader stringReader = new StringReader(xmlResponse)) + { + using (var xmlReader = XmlReader.Create(stringReader)) + { + xmlReader.Read(); + xmlReader.Read(); + + var totalItems = xmlReader.ReadAttributeAsInt(RedmineKeys.TOTAL_COUNT); + if (onlyCount) + { + return new PagedResults(null, totalItems, 0, 0); + } + var offset = xmlReader.ReadAttributeAsInt(RedmineKeys.OFFSET); + var limit = xmlReader.ReadAttributeAsInt(RedmineKeys.LIMIT); + var result = xmlReader.ReadElementContentAsCollection(); + + return new PagedResults(result, totalItems, offset, limit); + } + } + } + + /// + /// Serializes the specified System.Object and writes the XML document to a string. + /// + /// The type of objects to serialize. + /// The object to serialize. + /// + /// The System.String that contains the XML document. + /// + /// + // ReSharper disable once InconsistentNaming + private string ToXML(T entity) where T : class + { + if (entity == default(T)) + { + throw new ArgumentNullException(nameof(entity), $"Could not serialize null of type {typeof(T).Name}"); + } + + using (var stringWriter = new StringWriter()) + { + using (var xmlWriter = XmlWriter.Create(stringWriter, XMLWriterSettings)) + { + var serializer = new XmlSerializer(typeof(T)); + + serializer.Serialize(xmlWriter, entity); + + return stringWriter.ToString(); + } + } + } + + /// + /// Deserializes the XML document contained by the specific System.String. + /// + /// The type of objects to deserialize. + /// The System.String that contains the XML document to deserialize. + /// + /// The T object being deserialized. + /// + /// + /// An error occurred during deserialization. The original exception is available + /// using the System.Exception.InnerException property. + /// + // ReSharper disable once InconsistentNaming + private TOut XmlDeserializeEntity(string xml) where TOut : new() + { + if (xml.IsNullOrWhiteSpace()) + { + throw new ArgumentNullException(nameof(xml), $"Could not deserialize null or empty input for type '{typeof(TOut).Name}'."); + } + + using (var textReader = new StringReader(xml)) + { + var serializer = new XmlSerializer(typeof(TOut)); + + var entity = serializer.Deserialize(textReader); + + if (entity is TOut t) + { + return t; + } + + return default; + } + } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs old mode 100755 new mode 100644 index 7db7dd35..66fa2c0b --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -15,8 +15,9 @@ limitations under the License. */ using System; +using System.Diagnostics; +using System.Globalization; using System.Xml; -using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -26,69 +27,66 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.3 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ATTACHMENT)] - public class Attachment : Identifiable, IXmlSerializable, IEquatable + public sealed class Attachment : Identifiable { + #region Properties /// /// Gets or sets the name of the file. /// /// The name of the file. - [XmlElement(RedmineKeys.FILENAME)] public string FileName { get; set; } /// - /// Gets or sets the size of the file. + /// Gets the size of the file. /// /// The size of the file. - [XmlElement(RedmineKeys.FILESIZE)] - public int FileSize { get; set; } + public int FileSize { get; internal set; } /// - /// Gets or sets the type of the content. + /// Gets the type of the content. /// /// The type of the content. - [XmlElement(RedmineKeys.CONTENT_TYPE)] - public string ContentType { get; set; } + public string ContentType { get; internal set; } /// /// Gets or sets the description. /// /// The description. - [XmlElement(RedmineKeys.DESCRIPTION)] public string Description { get; set; } /// - /// Gets or sets the content URL. + /// Gets the content URL. /// /// The content URL. - [XmlElement(RedmineKeys.CONTENT_URL)] - public string ContentUrl { get; set; } + public string ContentUrl { get; internal set; } /// - /// Gets or sets the author. + /// Gets the author. /// /// The author. - [XmlElement(RedmineKeys.AUTHOR)] - public IdentifiableName Author { get; set; } + public IdentifiableName Author { get; internal set; } /// - /// Gets or sets the created on. + /// Gets the created on. /// /// The created on. - [XmlElement(RedmineKeys.CREATED_ON)] - public DateTime? CreatedOn { get; set; } + public DateTime? CreatedOn { get; internal set; } /// - /// + /// Gets the thumbnail url. /// - /// - public XmlSchema GetSchema() { return null; } + public string ThumbnailUrl { get; internal set; } + #endregion + + #region Implementation of IXmlSerializable /// /// /// /// - public void ReadXml(XmlReader reader) + public override void ReadXml(XmlReader reader) { reader.Read(); while (!reader.EOF) @@ -102,21 +100,14 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - - case RedmineKeys.FILENAME: FileName = reader.ReadElementContentAsString(); break; - - case RedmineKeys.FILESIZE: FileSize = reader.ReadElementContentAsInt(); break; - - case RedmineKeys.CONTENT_TYPE: ContentType = reader.ReadElementContentAsString(); break; - case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; - + case RedmineKeys.CONTENT_TYPE: ContentType = reader.ReadElementContentAsString(); break; + case RedmineKeys.CONTENT_URL: ContentUrl = reader.ReadElementContentAsString(); break; case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; - case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; - - case RedmineKeys.CONTENT_URL: ContentUrl = reader.ReadElementContentAsString(); break; - + case RedmineKeys.FILENAME: FileName = reader.ReadElementContentAsString(); break; + case RedmineKeys.FILE_SIZE: FileSize = reader.ReadElementContentAsInt(); break; + case RedmineKeys.THUMBNAIL_URL: ThumbnailUrl = reader.ReadElementContentAsString(); break; default: reader.Read(); break; } } @@ -126,14 +117,23 @@ public void ReadXml(XmlReader reader) /// /// /// - public void WriteXml(XmlWriter writer) { } + public override void WriteXml(XmlWriter writer) + { + writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); + writer.WriteElementString(RedmineKeys.FILENAME, FileName); + } + #endregion + + + + #region Implementation of IEquatable /// /// /// /// /// - public bool Equals(Attachment other) + public override bool Equals(Attachment other) { if (other == null) return false; return (Id == other.Id @@ -141,6 +141,7 @@ public bool Equals(Attachment other) && FileSize == other.FileSize && ContentType == other.ContentType && Author == other.Author + && ThumbnailUrl == other.ThumbnailUrl && CreatedOn == other.CreatedOn && Description == other.Description && ContentUrl == other.ContentUrl); @@ -162,25 +163,27 @@ public override int GetHashCode() hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); hashCode = HashCodeHelper.GetHashCode(Description, hashCode); hashCode = HashCodeHelper.GetHashCode(ContentUrl, hashCode); + hashCode = HashCodeHelper.GetHashCode(ThumbnailUrl, hashCode); return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return - $"[Attachment: {base.ToString()}, FileName={FileName}, FileSize={FileSize}, ContentType={ContentType}, Description={Description}, ContentUrl={ContentUrl}, Author={Author}, CreatedOn={CreatedOn}]"; - } + private string DebuggerDisplay => + $@"[{nameof(Attachment)}: +{ToString()}, +FileName={FileName}, +FileSize={FileSize.ToString(CultureInfo.InvariantCulture)}, +ContentType={ContentType}, +Description={Description}, +ContentUrl={ContentUrl}, +Author={Author}, +CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as Attachment); - } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Attachments.cs b/src/redmine-net-api/Types/Attachments.cs old mode 100755 new mode 100644 index e2594976..174b74e7 --- a/src/redmine-net-api/Types/Attachments.cs +++ b/src/redmine-net-api/Types/Attachments.cs @@ -23,6 +23,6 @@ namespace Redmine.Net.Api.Types /// internal class Attachments : Dictionary { - + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs old mode 100755 new mode 100644 index ec41ad24..011c918c --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -15,6 +15,8 @@ limitations under the License. */ using System; +using System.Diagnostics; +using System.Globalization; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; @@ -26,33 +28,33 @@ namespace Redmine.Net.Api.Types /// /// /// - [XmlRoot(RedmineKeys.CHANGESET)] - public class ChangeSet : IXmlSerializable, IEquatable + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [XmlRoot(RedmineKeys.CHANGE_SET)] + public sealed class ChangeSet : IXmlSerializable, IEquatable { + #region Properties /// /// /// - [XmlAttribute(RedmineKeys.REVISION)] - public int Revision { get; set; } + public int Revision { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.USER)] - public IdentifiableName User { get; set; } + public IdentifiableName User { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.COMMENTS)] - public string Comments { get; set; } + public string Comments { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.COMMITTED_ON, IsNullable = true)] - public DateTime? CommittedOn { get; set; } + public DateTime? CommittedOn { get; internal set; } + #endregion + #region Implementation of IXmlSerializable /// /// /// @@ -78,12 +80,12 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { - case RedmineKeys.USER: User = new IdentifiableName(reader); break; - case RedmineKeys.COMMENTS: Comments = reader.ReadElementContentAsString(); break; case RedmineKeys.COMMITTED_ON: CommittedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.USER: User = new IdentifiableName(reader); break; + default: reader.Read(); break; } } @@ -94,7 +96,11 @@ public void ReadXml(XmlReader reader) /// /// public void WriteXml(XmlWriter writer) { } + #endregion + + + #region Implementation of IEquatable /// /// /// @@ -139,14 +145,18 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return $"Revision: {Revision}, User: '{User}', CommitedOn: {CommittedOn}, Comments: '{Comments}'"; - } + private string DebuggerDisplay => + $@"[{nameof(ChangeSet)}: +Revision={Revision.ToString(CultureInfo.InvariantCulture)}, +User='{User}', +CommittedOn={CommittedOn?.ToString("u", CultureInfo.InvariantCulture)}, +Comments='{Comments}']"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs old mode 100755 new mode 100644 index 09b01050..4fbb32b6 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -16,6 +16,8 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Diagnostics; +using System.Globalization; using System.Xml; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; @@ -26,96 +28,83 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.CUSTOM_FIELD)] - public class CustomField : IdentifiableName, IEquatable + public sealed class CustomField : IdentifiableName, IEquatable { + #region Properties /// /// /// - [XmlElement(RedmineKeys.CUSTOMIZED_TYPE)] - public string CustomizedType { get; set; } + public string CustomizedType { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.FIELD_FORMAT)] - public string FieldFormat { get; set; } + public string FieldFormat { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.REGEXP)] - public string Regexp { get; set; } + public string Regexp { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.MIN_LENGTH)] - public int? MinLength { get; set; } + public int? MinLength { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.MAX_LENGTH)] - public int? MaxLength { get; set; } + public int? MaxLength { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.IS_REQUIRED)] - public bool IsRequired { get; set; } + public bool IsRequired { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.IS_FILTER)] - public bool IsFilter { get; set; } + public bool IsFilter { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.SEARCHABLE)] - public bool Searchable { get; set; } + public bool Searchable { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.MULTIPLE)] - public bool Multiple { get; set; } + public bool Multiple { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.DEFAULT_VALUE)] - public string DefaultValue { get; set; } + public string DefaultValue { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.VISIBLE)] - public bool Visible { get; set; } + public bool Visible { get; internal set; } /// /// /// - [XmlArray(RedmineKeys.POSSIBLE_VALUES)] - [XmlArrayItem(RedmineKeys.POSSIBLE_VALUE)] public IList PossibleValues { get; internal set; } /// /// /// - [XmlArray(RedmineKeys.TRACKERS)] - [XmlArrayItem(RedmineKeys.TRACKER)] public IList Trackers { get; internal set; } /// /// /// - [XmlArray(RedmineKeys.ROLES)] - [XmlArrayItem(RedmineKeys.ROLE)] public IList Roles { get; internal set; } + #endregion + #region Implementation of IXmlSerializable /// /// /// @@ -134,48 +123,31 @@ public override void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - - case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; - case RedmineKeys.CUSTOMIZED_TYPE: CustomizedType = reader.ReadElementContentAsString(); break; - + case RedmineKeys.DEFAULT_VALUE: DefaultValue = reader.ReadElementContentAsString(); break; case RedmineKeys.FIELD_FORMAT: FieldFormat = reader.ReadElementContentAsString(); break; - - case RedmineKeys.REGEXP: Regexp = reader.ReadElementContentAsString(); break; - - case RedmineKeys.MIN_LENGTH: MinLength = reader.ReadElementContentAsNullableInt(); break; - - case RedmineKeys.MAX_LENGTH: MaxLength = reader.ReadElementContentAsNullableInt(); break; - - case RedmineKeys.IS_REQUIRED: IsRequired = reader.ReadElementContentAsBoolean(); break; - case RedmineKeys.IS_FILTER: IsFilter = reader.ReadElementContentAsBoolean(); break; - - case RedmineKeys.SEARCHABLE: Searchable = reader.ReadElementContentAsBoolean(); break; - - case RedmineKeys.VISIBLE: Visible = reader.ReadElementContentAsBoolean(); break; - - case RedmineKeys.DEFAULT_VALUE: DefaultValue = reader.ReadElementContentAsString(); break; - + case RedmineKeys.IS_REQUIRED: IsRequired = reader.ReadElementContentAsBoolean(); break; + case RedmineKeys.MAX_LENGTH: MaxLength = reader.ReadElementContentAsNullableInt(); break; + case RedmineKeys.MIN_LENGTH: MinLength = reader.ReadElementContentAsNullableInt(); break; case RedmineKeys.MULTIPLE: Multiple = reader.ReadElementContentAsBoolean(); break; - - case RedmineKeys.TRACKERS: Trackers = reader.ReadElementContentAsCollection(); break; - - case RedmineKeys.ROLES: Roles = reader.ReadElementContentAsCollection(); break; - + case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; case RedmineKeys.POSSIBLE_VALUES: PossibleValues = reader.ReadElementContentAsCollection(); break; - + case RedmineKeys.REGEXP: Regexp = reader.ReadElementContentAsString(); break; + case RedmineKeys.ROLES: Roles = reader.ReadElementContentAsCollection(); break; + case RedmineKeys.SEARCHABLE: Searchable = reader.ReadElementContentAsBoolean(); break; + case RedmineKeys.TRACKERS: Trackers = reader.ReadElementContentAsCollection(); break; + case RedmineKeys.VISIBLE: Visible = reader.ReadElementContentAsBoolean(); break; default: reader.Read(); break; } } } - /// - /// - /// - /// - public override void WriteXml(XmlWriter writer) { } + #endregion + + + #region Implementation of IEquatable /// /// /// @@ -191,13 +163,13 @@ public bool Equals(CustomField other) && Multiple == other.Multiple && Searchable == other.Searchable && Visible == other.Visible - && CustomizedType.Equals(other.CustomizedType, StringComparison.OrdinalIgnoreCase) - && DefaultValue.Equals(other.DefaultValue, StringComparison.OrdinalIgnoreCase) - && FieldFormat.Equals(other.FieldFormat, StringComparison.OrdinalIgnoreCase) + && CustomizedType.Equals(other.CustomizedType) + && DefaultValue.Equals(other.DefaultValue) + && FieldFormat.Equals(other.FieldFormat) && MaxLength == other.MaxLength && MinLength == other.MinLength - && Name.Equals(other.Name, StringComparison.OrdinalIgnoreCase) - && Regexp.Equals(other.Regexp, StringComparison.OrdinalIgnoreCase) + && Name.Equals(other.Name) + && Regexp.Equals(other.Regexp) && PossibleValues.Equals(other.PossibleValues) && Roles.Equals(other.Roles) && Trackers.Equals(other.Trackers); @@ -225,34 +197,42 @@ public override int GetHashCode() unchecked { var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id,hashCode); - hashCode = HashCodeHelper.GetHashCode(IsFilter,hashCode); - hashCode = HashCodeHelper.GetHashCode(IsRequired,hashCode); - hashCode = HashCodeHelper.GetHashCode(Multiple,hashCode); - hashCode = HashCodeHelper.GetHashCode(Searchable,hashCode); - hashCode = HashCodeHelper.GetHashCode(Visible,hashCode); - hashCode = HashCodeHelper.GetHashCode(CustomizedType,hashCode); - hashCode = HashCodeHelper.GetHashCode(DefaultValue,hashCode); - hashCode = HashCodeHelper.GetHashCode(FieldFormat,hashCode); - hashCode = HashCodeHelper.GetHashCode(MaxLength,hashCode); - hashCode = HashCodeHelper.GetHashCode(MinLength,hashCode); - hashCode = HashCodeHelper.GetHashCode(Name,hashCode); - hashCode = HashCodeHelper.GetHashCode(Regexp,hashCode); - hashCode = HashCodeHelper.GetHashCode(PossibleValues,hashCode); - hashCode = HashCodeHelper.GetHashCode(Roles,hashCode); - hashCode = HashCodeHelper.GetHashCode(Trackers,hashCode); + hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsFilter, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsRequired, hashCode); + hashCode = HashCodeHelper.GetHashCode(Multiple, hashCode); + hashCode = HashCodeHelper.GetHashCode(Searchable, hashCode); + hashCode = HashCodeHelper.GetHashCode(Visible, hashCode); + hashCode = HashCodeHelper.GetHashCode(CustomizedType, hashCode); + hashCode = HashCodeHelper.GetHashCode(DefaultValue, hashCode); + hashCode = HashCodeHelper.GetHashCode(FieldFormat, hashCode); + hashCode = HashCodeHelper.GetHashCode(MaxLength, hashCode); + hashCode = HashCodeHelper.GetHashCode(MinLength, hashCode); + hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + hashCode = HashCodeHelper.GetHashCode(Regexp, hashCode); + hashCode = HashCodeHelper.GetHashCode(PossibleValues, hashCode); + hashCode = HashCodeHelper.GetHashCode(Roles, hashCode); + hashCode = HashCodeHelper.GetHashCode(Trackers, hashCode); return hashCode; } } - - /// - /// - /// - /// - public override string ToString () - { - return - $"[CustomField: Id={Id}, Name={Name}, CustomizedType={CustomizedType}, FieldFormat={FieldFormat}, Regexp={Regexp}, MinLength={MinLength}, MaxLength={MaxLength}, IsRequired={IsRequired}, IsFilter={IsFilter}, Searchable={Searchable}, Multiple={Multiple}, DefaultValue={DefaultValue}, Visible={Visible}, PossibleValues={PossibleValues}, Trackers={Trackers}, Roles={Roles}]"; - } + #endregion + + private string DebuggerDisplay => + $@"[{nameof(CustomField)}: {ToString()} +, CustomizedType={CustomizedType} +, FieldFormat={FieldFormat} +, Regexp={Regexp} +, MinLength={MinLength?.ToString(CultureInfo.InvariantCulture)} +, MaxLength={MaxLength?.ToString(CultureInfo.InvariantCulture)} +, IsRequired={IsRequired.ToString(CultureInfo.InvariantCulture)} +, IsFilter={IsFilter.ToString(CultureInfo.InvariantCulture)} +, Searchable={Searchable.ToString(CultureInfo.InvariantCulture)} +, Multiple={Multiple.ToString(CultureInfo.InvariantCulture)} +, DefaultValue={DefaultValue} +, Visible={Visible.ToString(CultureInfo.InvariantCulture)} +, PossibleValues={PossibleValues.Dump()} +, Trackers={Trackers.Dump()} +, Roles={Roles.Dump()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs old mode 100755 new mode 100644 index ff138076..3078da08 --- a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs @@ -15,6 +15,9 @@ limitations under the License. */ using System; +using System.Diagnostics; +using System.Xml; +using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Internals; @@ -23,27 +26,76 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.POSSIBLE_VALUE)] - public class CustomFieldPossibleValue : IEquatable + public sealed class CustomFieldPossibleValue : IXmlSerializable, IEquatable { + #region Properties /// /// /// - [XmlElement(RedmineKeys.VALUE)] - public string Value { get; set; } - - /// - /// - /// - [XmlElement( RedmineKeys.LABEL )] - public string Label { get; set; } - - /// - /// - /// - /// - /// - public bool Equals(CustomFieldPossibleValue other) + public string Value { get; internal set; } + + /// + /// + /// + public string Label { get; internal set; } + #endregion + + #region Implementation of IXmlSerializable + + /// + /// + /// + /// + public XmlSchema GetSchema() + { + return null; + } + + /// + /// + /// + /// + public void ReadXml(XmlReader reader) + { + reader.Read(); + while (!reader.EOF) + { + if (reader.IsEmptyElement && !reader.HasAttributes) + { + reader.Read(); + continue; + } + + switch (reader.Name) + { + case RedmineKeys.LABEL: Label = reader.ReadElementContentAsString(); break; + + case RedmineKeys.VALUE: Value = reader.ReadElementContentAsString(); break; + + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public void WriteXml(XmlWriter writer) { } + + #endregion + + + + #region Implementation of IEquatable + /// + /// + /// + /// + /// + public bool Equals(CustomFieldPossibleValue other) { if (other == null) return false; return (Value == other.Value); @@ -71,18 +123,17 @@ public override int GetHashCode() unchecked { var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Value,hashCode); + hashCode = HashCodeHelper.GetHashCode(Value, hashCode); return hashCode; } } + #endregion /// /// /// /// - public override string ToString () - { - return $"[CustomFieldPossibleValue: {base.ToString()}]"; - } + private string DebuggerDisplay => $"[{nameof(CustomFieldPossibleValue)}: Label:{Label}, Value:{Value}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/CustomFieldRole.cs b/src/redmine-net-api/Types/CustomFieldRole.cs old mode 100755 new mode 100644 index 213b5948..9aa7020f --- a/src/redmine-net-api/Types/CustomFieldRole.cs +++ b/src/redmine-net-api/Types/CustomFieldRole.cs @@ -14,6 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ +using System.Diagnostics; using System.Xml.Serialization; namespace Redmine.Net.Api.Types @@ -21,16 +22,21 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ROLE)] - public class CustomFieldRole : IdentifiableName + public sealed class CustomFieldRole : IdentifiableName { + internal CustomFieldRole(int id, string name) + { + Id = id; + Name = name; + } + /// /// /// /// - public override string ToString () - { - return $"[CustomFieldRole: {base.ToString()}]"; - } + private string DebuggerDisplay => $"[{nameof(CustomFieldRole)}: {ToString()}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs old mode 100755 new mode 100644 index 8d407c36..094b24da --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -15,6 +15,9 @@ limitations under the License. */ using System; +using System.Diagnostics; +using System.Xml; +using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Internals; @@ -23,14 +26,86 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.VALUE)] - public class CustomFieldValue : IEquatable, ICloneable + public class CustomFieldValue : IXmlSerializable, IEquatable, ICloneable { /// /// /// - [XmlText] - public string Info { get; set; } + public CustomFieldValue() + { + } + + /// + /// + /// + /// + public CustomFieldValue(string value) + { + Info = value; + } + + #region Properties + + /// + /// + /// + public string Info { get; internal set; } + + #endregion + + #region Implementation of IXmlSerializable + + /// + /// + /// + /// + public XmlSchema GetSchema() + { + return null; + } + + /// + /// + /// + /// + public void ReadXml(XmlReader reader) + { + while (!reader.EOF) + { + if (reader.IsEmptyElement) + { + reader.Read(); + continue; + } + + switch (reader.Name) + { + case RedmineKeys.VALUE: + Info = reader.ReadElementContentAsString(); + break; + + default: + reader.Read(); + break; + } + } + } + + /// + /// + /// + /// + public void WriteXml(XmlWriter writer) + { + } + + #endregion + + + + #region Implementation of IEquatable /// /// @@ -39,7 +114,8 @@ public class CustomFieldValue : IEquatable, ICloneable /// public bool Equals(CustomFieldValue other) { - return other != null && Info.Equals(other.Info, StringComparison.OrdinalIgnoreCase); + if (other == null) return false; + return Info.Equals(other.Info); } /// @@ -69,23 +145,27 @@ public override int GetHashCode() } } + #endregion + + #region Implementation of IClonable + /// /// /// /// - public override string ToString() + public object Clone() { - return $"[CustomFieldValue: Info={Info}]"; + var customFieldValue = new CustomFieldValue {Info = Info}; + return customFieldValue; } + #endregion + /// /// /// /// - public object Clone() - { - var customFieldValue = new CustomFieldValue { Info = Info }; - return customFieldValue; - } + private string DebuggerDisplay => $"[{nameof(CustomFieldValue)}: {Info}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs old mode 100755 new mode 100644 index c0943f6d..17219580 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Diagnostics; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; @@ -25,45 +26,58 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.DETAIL)] - public class Detail : IXmlSerializable, IEquatable + public sealed class Detail : IXmlSerializable, IEquatable { /// - /// Gets or sets the property. + /// + /// + public Detail() { } + + internal Detail(string name = null, string property = null, string oldValue = null, string newValue = null) + { + Name = name; + Property = property; + OldValue = oldValue; + NewValue = newValue; + } + + #region Properties + /// + /// Gets the property. /// /// /// The property. /// - [XmlAttribute(RedmineKeys.PROPERTY)] - public string Property { get; set; } + public string Property { get; internal set; } /// - /// Gets or sets the name. + /// Gets the name. /// /// /// The name. /// - [XmlAttribute(RedmineKeys.NAME)] - public string Name { get; set; } + public string Name { get; internal set; } /// - /// Gets or sets the old value. + /// Gets the old value. /// /// /// The old value. /// - [XmlElement(RedmineKeys.OLD_VALUE)] - public string OldValue { get; set; } + public string OldValue { get; internal set; } /// - /// Gets or sets the new value. + /// Gets the new value. /// /// /// The new value. /// - [XmlElement(RedmineKeys.NEW_VALUE)] - public string NewValue { get; set; } + public string NewValue { get; internal set; } + #endregion + #region Implementation of IXmlSerialization /// /// /// @@ -76,8 +90,8 @@ public class Detail : IXmlSerializable, IEquatable /// public void ReadXml(XmlReader reader) { - Property = reader.GetAttribute(RedmineKeys.PROPERTY); Name = reader.GetAttribute(RedmineKeys.NAME); + Property = reader.GetAttribute(RedmineKeys.PROPERTY); reader.Read(); @@ -91,10 +105,10 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { - case RedmineKeys.OLD_VALUE: OldValue = reader.ReadElementContentAsString(); break; - case RedmineKeys.NEW_VALUE: NewValue = reader.ReadElementContentAsString(); break; + case RedmineKeys.OLD_VALUE: OldValue = reader.ReadElementContentAsString(); break; + default: reader.Read(); break; } } @@ -105,7 +119,11 @@ public void ReadXml(XmlReader reader) /// /// public void WriteXml(XmlWriter writer) { } + #endregion + + + #region Implementation of IEquatable /// /// /// @@ -114,10 +132,10 @@ public void WriteXml(XmlWriter writer) { } public bool Equals(Detail other) { if (other == null) return false; - return (Property?.Equals(other.Property, StringComparison.OrdinalIgnoreCase) ?? other.Property == null) - && (Name?.Equals(other.Name, StringComparison.OrdinalIgnoreCase) ?? other.Name == null) - && (OldValue?.Equals(other.OldValue, StringComparison.OrdinalIgnoreCase) ?? other.OldValue == null) - && (NewValue?.Equals(other.NewValue, StringComparison.OrdinalIgnoreCase) ?? other.NewValue == null); + return (Property != null ? string.Equals(Property,other.Property, StringComparison.InvariantCultureIgnoreCase) : other.Property == null) + && (Name != null ? string.Equals(Name,other.Name, StringComparison.InvariantCultureIgnoreCase) : other.Name == null) + && (OldValue != null ? string.Equals(OldValue,other.OldValue, StringComparison.InvariantCultureIgnoreCase) : other.OldValue == null) + && (NewValue != null ? string.Equals(NewValue,other.NewValue, StringComparison.InvariantCultureIgnoreCase) : other.NewValue == null); } /// @@ -150,14 +168,13 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return $"[Detail: Property={Property}, Name={Name}, OldValue={OldValue}, NewValue={NewValue}]"; - } + private string DebuggerDisplay => $"[{nameof(Detail)}: Property={Property}, Name={Name}, OldValue={OldValue}, NewValue={NewValue}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs old mode 100755 new mode 100644 index 96fb26b7..70634087 --- a/src/redmine-net-api/Types/Error.cs +++ b/src/redmine-net-api/Types/Error.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Diagnostics; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; @@ -25,36 +26,31 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ERROR)] - public class Error : IXmlSerializable, IEquatable + public sealed class Error : IXmlSerializable, IEquatable { /// /// /// - [XmlText] - public string Info { get; set; } + public Error() { } /// /// /// - /// - /// - public bool Equals(Error other) + internal Error(string info) { - if (other == null) return false; - - return Info.Equals(other.Info, StringComparison.OrdinalIgnoreCase); + Info = info; } + #region Properties /// /// /// - /// - public override string ToString() - { - return $"[Error: Info={Info}]"; - } + public string Info { get; private set; } + #endregion + #region Implementation of IXmlSerialization /// /// /// @@ -69,12 +65,6 @@ public void ReadXml(XmlReader reader) { while (!reader.EOF) { - if (reader.IsEmptyElement && !reader.HasAttributes) - { - reader.Read(); - continue; - } - switch (reader.Name) { case RedmineKeys.ERROR: Info = reader.ReadElementContentAsString(); break; @@ -89,6 +79,23 @@ public void ReadXml(XmlReader reader) /// /// public void WriteXml(XmlWriter writer) { } + #endregion + + + + #region Implementation of IEquatable + + /// + /// + /// + /// + /// + public bool Equals(Error other) + { + if (other == null) return false; + + return string.Equals(Info,other.Info, StringComparison.InvariantCultureIgnoreCase); + } /// /// @@ -116,5 +123,13 @@ public override int GetHashCode() return hashCode; } } + #endregion + + /// + /// + /// + /// + private string DebuggerDisplay => $"[{nameof(Error)}: {Info}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index f7ca5b81..294e9269 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -19,8 +19,8 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using System; +using System.Diagnostics; using System.Xml; -using System.Xml.Schema; using System.Xml.Serialization; namespace Redmine.Net.Api.Types @@ -28,91 +28,136 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.FILE)] - public class File : Identifiable, IEquatable, IXmlSerializable + public sealed class File : Identifiable { - + #region Properties /// /// /// - [XmlElement(RedmineKeys.FILENAME)] public string Filename { get; set; } /// /// /// - [XmlElement(RedmineKeys.FILESIZE)] - public int Filesize { get; set; } + public int FileSize { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.CONTENT_TYPE)] - public string ContentType { get; set; } + public string ContentType { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.DESCRIPTION)] public string Description { get; set; } /// /// /// - [XmlElement(RedmineKeys.CONTENT_URL)] - public string ContentUrl { get; set; } + public string ContentUrl { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.AUTHOR)] - public IdentifiableName Author { get; set; } + public IdentifiableName Author { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.CREATED_ON)] - public DateTime? CreatedOn { get; set; } + public DateTime? CreatedOn { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.VERSION)] public IdentifiableName Version { get; set; } /// /// /// - [XmlElement(RedmineKeys.DIGEST)] - public string Digest { get; set; } + public string Digest { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.DOWNLOADS)] - public int Downloads { get; set; } + public int Downloads { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.TOKEN)] public string Token { get; set; } - + #endregion + + #region Implementation of IXmlSerializable + + /// + /// + /// + /// + public override void ReadXml(XmlReader reader) + { + reader.Read(); + + while (!reader.EOF) + { + if (reader.IsEmptyElement && !reader.HasAttributes) + { + reader.Read(); + continue; + } + + switch (reader.Name) + { + case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; + case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; + case RedmineKeys.CONTENT_TYPE: ContentType = reader.ReadElementContentAsString(); break; + case RedmineKeys.CONTENT_URL: ContentUrl = reader.ReadElementContentAsString(); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; + case RedmineKeys.DIGEST: Digest = reader.ReadElementContentAsString(); break; + case RedmineKeys.DOWNLOADS: Downloads = reader.ReadElementContentAsInt(); break; + case RedmineKeys.FILENAME: Filename = reader.ReadElementContentAsString(); break; + case RedmineKeys.FILE_SIZE: FileSize = reader.ReadElementContentAsInt(); break; + case RedmineKeys.TOKEN: Token = reader.ReadElementContentAsString(); break; + case RedmineKeys.VERSION: Version = new IdentifiableName(reader); break; + case RedmineKeys.VERSION_ID: Version = new IdentifiableName() { Id = reader.ReadElementContentAsInt() }; break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public override void WriteXml(XmlWriter writer) + { + writer.WriteElementString(RedmineKeys.TOKEN, Token); + writer.WriteIdIfNotNull(RedmineKeys.VERSION_ID, Version); + writer.WriteElementString(RedmineKeys.FILENAME, Filename); + writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); + } + #endregion + + + + #region Implementation of IEquatable /// /// /// /// /// - public bool Equals(File other) + public override bool Equals(File other) { if (other == null) return false; - return (Id == other.Id - && Filename == other.Filename - && Filesize == other.Filesize + return (Id == other.Id + && Filename == other.Filename + && FileSize == other.FileSize && Description == other.Description - && ContentType == other.ContentType + && ContentType == other.ContentType && ContentUrl == other.ContentUrl - && Author ==other.Author + && Author == other.Author && CreatedOn == other.CreatedOn && Version == other.Version && Digest == other.Digest @@ -130,7 +175,7 @@ public override int GetHashCode() var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(Filename, hashCode); - hashCode = HashCodeHelper.GetHashCode(Filesize, hashCode); + hashCode = HashCodeHelper.GetHashCode(FileSize, hashCode); hashCode = HashCodeHelper.GetHashCode(ContentType, hashCode); hashCode = HashCodeHelper.GetHashCode(Description, hashCode); hashCode = HashCodeHelper.GetHashCode(Author, hashCode); @@ -144,86 +189,13 @@ public override int GetHashCode() return hashCode; } + #endregion /// /// /// /// - public override string ToString() - { - return $"[File: Id={Id}, Name={Filename}]"; - } + private string DebuggerDisplay => $"[{nameof(File)}: {ToString()}, Name={Filename}]"; - /// - /// - /// - /// - /// - public override bool Equals(object obj) - { - if (ReferenceEquals(null, obj)) return false; - if (ReferenceEquals(this, obj)) return true; - if (obj.GetType() != GetType()) return false; - return Equals(obj as File); - } - - /// - /// - /// - /// - public XmlSchema GetSchema() - { - return null; - } - - /// - /// - /// - /// - public void ReadXml(XmlReader reader) - { - reader.Read(); - - while (!reader.EOF) - { - if (reader.IsEmptyElement && !reader.HasAttributes) - { - reader.Read(); - continue; - } - - switch (reader.Name) - { - case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - case RedmineKeys.FILENAME: Filename = reader.ReadElementContentAsString(); break; - case RedmineKeys.FILESIZE: Filesize = reader.ReadElementContentAsInt(); break; - case RedmineKeys.CONTENT_TYPE: ContentType = reader.ReadElementContentAsString(); break; - case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; - case RedmineKeys.CONTENT_URL: ContentUrl = reader.ReadElementContentAsString(); break; - case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; - case RedmineKeys.CREATED_ON:CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; - case RedmineKeys.VERSION: Version = new IdentifiableName(reader); break; - case RedmineKeys.VERSION_ID: Version = new IdentifiableName() {Id = reader.ReadElementContentAsInt()}; break; - case RedmineKeys.DIGEST: Digest = reader.ReadElementContentAsString(); break; - case RedmineKeys.DOWNLOADS: Downloads = reader.ReadElementContentAsInt(); break; - case RedmineKeys.TOKEN:Token = reader.ReadElementContentAsString(); break; - default: - reader.Read(); - break; - } - } - } - - /// - /// - /// - /// - public void WriteXml(XmlWriter writer) - { - writer.WriteElementString(RedmineKeys.TOKEN, Token); - writer.WriteIdIfNotNull(Version, RedmineKeys.VERSION_ID); - writer.WriteElementString(RedmineKeys.FILENAME, Filename); - writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); - } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs old mode 100755 new mode 100644 index 325ee1e9..7247aff6 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -16,6 +16,7 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Diagnostics; using System.Xml; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; @@ -26,38 +27,49 @@ namespace Redmine.Net.Api.Types /// /// Availability 2.1 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.GROUP)] - public class Group : IdentifiableName, IEquatable + public sealed class Group : IdentifiableName, IEquatable { + /// + /// + /// + public Group() { } + + /// + /// + /// + /// + public Group(string name) + { + Name = name; + } + + #region Properties /// /// Represents the group's users. /// - [XmlArray(RedmineKeys.USERS)] - [XmlArrayItem(RedmineKeys.USER)] - public List Users { get; set; } + public IList Users { get; internal set; } /// /// Gets or sets the custom fields. /// /// The custom fields. - [XmlArray(RedmineKeys.CUSTOM_FIELDS)] - [XmlArrayItem(RedmineKeys.CUSTOM_FIELD)] public IList CustomFields { get; internal set; } /// /// Gets or sets the custom fields. /// /// The custom fields. - [XmlArray(RedmineKeys.MEMBERSHIPS)] - [XmlArrayItem(RedmineKeys.MEMBERSHIP)] public IList Memberships { get; internal set; } + #endregion #region Implementation of IXmlSerializable /// /// Generates an object from its XML representation. /// - /// The stream from which the object is deserialized. + /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { reader.Read(); @@ -72,15 +84,10 @@ public override void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - - case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; - - case RedmineKeys.USERS: Users = reader.ReadElementContentAsCollection(); break; - case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadElementContentAsCollection(); break; - case RedmineKeys.MEMBERSHIPS: Memberships = reader.ReadElementContentAsCollection(); break; - + case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; + case RedmineKeys.USERS: Users = reader.ReadElementContentAsCollection(); break; default: reader.Read(); break; } } @@ -89,15 +96,18 @@ public override void ReadXml(XmlReader reader) /// /// Converts an object into its XML representation. /// - /// The stream to which the object is serialized. + /// The stream to which the object is serialized. public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.NAME, Name); - writer.WriteArrayIds(Users, RedmineKeys.USER_IDS, typeof(int), GetGroupUserId); + //TODO: change to repeatable elements + writer.WriteArrayIds(RedmineKeys.USER_IDS, Users, typeof(int), GetGroupUserId); } #endregion + + #region Implementation of IEquatable /// @@ -112,9 +122,9 @@ public bool Equals(Group other) if (other == null) return false; return Id == other.Id && Name == other.Name - && (Users?.Equals(other.Users) ?? other.Users == null) - && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null) - && (Memberships?.Equals(other.Memberships) ?? other.Memberships == null); + && (Users != null ? Users.Equals(other.Users) : other.Users == null) + && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) + && (Memberships != null ? Memberships.Equals(other.Memberships) : other.Memberships == null); } /// @@ -154,18 +164,15 @@ public override int GetHashCode() /// /// /// - public override string ToString() - { - return - $"[Group: Id={Id}, Name={Name}, Users={Users}, CustomFields={CustomFields}, Memberships={Memberships}]"; - } + private string DebuggerDisplay => $"[{nameof(Group)}: {ToString()}, Users={Users.Dump()}, CustomFields={CustomFields.Dump()}, Memberships={Memberships.Dump()}]"; + /// /// /// /// /// - public static int GetGroupUserId(object gu) + public int GetGroupUserId(object gu) { return ((GroupUser)gu).Id; } diff --git a/src/redmine-net-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs old mode 100755 new mode 100644 index e3f10928..cb2da9d9 --- a/src/redmine-net-api/Types/GroupUser.cs +++ b/src/redmine-net-api/Types/GroupUser.cs @@ -14,6 +14,8 @@ You may obtain a copy of the License at limitations under the License. */ +using System.Diagnostics; +using System.Globalization; using System.Xml.Serialization; namespace Redmine.Net.Api.Types @@ -21,16 +23,22 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.USER)] - public class GroupUser : IdentifiableName + public sealed class GroupUser : IdentifiableName, IValue { + #region Implementation of IValue + /// + /// + /// + public string Value => Id.ToString(CultureInfo.InvariantCulture); + #endregion + /// /// /// /// - public override string ToString () - { - return $"[GroupUser: {base.ToString()}]"; - } + private string DebuggerDisplay => $"[{nameof(GroupUser)}: {ToString()}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs old mode 100755 new mode 100644 index d9934286..1f29a548 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -15,6 +15,10 @@ limitations under the License. */ using System; +using System.Diagnostics; +using System.Globalization; +using System.Xml; +using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Internals; @@ -24,16 +28,40 @@ namespace Redmine.Net.Api.Types /// /// /// - public abstract class Identifiable where T : Identifiable, IEquatable + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + public abstract class Identifiable : IXmlSerializable, IEquatable, IEquatable> where T : Identifiable { - + #region Properties /// - /// Gets or sets the id. + /// Gets the id. /// /// The id. - [XmlAttribute(RedmineKeys.ID)] - public int Id { get; set; } + public int Id { get; protected internal set; } + #endregion + + #region Implementation of IXmlSerialization + /// + /// + /// + /// + public XmlSchema GetSchema() { return null; } + + /// + /// + /// + /// + public virtual void ReadXml(XmlReader reader) { } + + /// + /// + /// + /// + public virtual void WriteXml(XmlWriter writer) { } + #endregion + + + #region Implementation of IEquatable> /// /// /// @@ -41,8 +69,20 @@ public abstract class Identifiable where T : Identifiable, IEquatable /// public bool Equals(Identifiable other) { - if (other == null) return false; + if (ReferenceEquals(null, other)) return false; + if (ReferenceEquals(this, other)) return true; + + return Id == other.Id; + } + /// + /// + /// + /// + /// + public virtual bool Equals(T other) + { + if (other == null) return false; return Id == other.Id; } @@ -94,14 +134,13 @@ public override int GetHashCode() { return !Equals(left, right); } + #endregion /// /// /// /// - public override string ToString() - { - return $"[Identifiable: Id={Id}]"; - } + private string DebuggerDisplay => $"Id={Id.ToString(CultureInfo.InvariantCulture)}"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs old mode 100755 new mode 100644 index 1eb9e882..b90d4fd1 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -14,11 +14,10 @@ You may obtain a copy of the License at limitations under the License. */ -using System; +using System.Diagnostics; using System.Globalization; using System.Xml; -using System.Xml.Schema; -using System.Xml.Serialization; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; namespace Redmine.Net.Api.Types @@ -26,14 +25,13 @@ namespace Redmine.Net.Api.Types /// /// /// - public class IdentifiableName : Identifiable, IXmlSerializable, IEquatable + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + public class IdentifiableName : Identifiable { /// /// Initializes a new instance of the class. /// - public IdentifiableName() - { - } + public IdentifiableName() { } /// /// Initializes a new instance of the class. @@ -44,31 +42,31 @@ public IdentifiableName(XmlReader reader) Initialize(reader); } + + private void Initialize(XmlReader reader) { ReadXml(reader); } + + + #region Properties /// /// Gets or sets the name. /// - /// The name. - [XmlAttribute(RedmineKeys.NAME)] - public string Name { get; set; } + public string Name { get; internal set; } + #endregion - /// - /// - /// - /// - public XmlSchema GetSchema() { return null; } + #region Implementation of IXmlSerializable /// /// /// /// - public virtual void ReadXml(XmlReader reader) + public override void ReadXml(XmlReader reader) { - Id = Convert.ToInt32(reader.GetAttribute(RedmineKeys.ID), CultureInfo.InvariantCulture); + Id = reader.ReadAttributeAsInt(RedmineKeys.ID); Name = reader.GetAttribute(RedmineKeys.NAME); reader.Read(); } @@ -77,26 +75,23 @@ public virtual void ReadXml(XmlReader reader) /// /// /// - public virtual void WriteXml(XmlWriter writer) + public override void WriteXml(XmlWriter writer) { writer.WriteAttributeString(RedmineKeys.ID, Id.ToString(CultureInfo.InvariantCulture)); writer.WriteAttributeString(RedmineKeys.NAME, Name); } - /// - /// - /// - /// - public override string ToString() - { - return string.Format(CultureInfo.InvariantCulture,"[IdentifiableName: Id={0}, Name={1}]", Id.ToString(CultureInfo.InvariantCulture), Name); - } + #endregion + + + + #region Implementation of IEquatable /// /// /// /// /// - public bool Equals(IdentifiableName other) + public override bool Equals(IdentifiableName other) { if (other == null) return false; return (Id == other.Id && Name == other.Name); @@ -115,11 +110,13 @@ public override int GetHashCode() return hashCode; } } + #endregion + + /// + /// + /// + /// + private string DebuggerDisplay => $"[{nameof(IdentifiableName)}: {base.ToString()}, Name={Name}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as IdentifiableName); - } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index f3874baf..dbf24337 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -16,9 +16,9 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Diagnostics; using System.Globalization; using System.Xml; -using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -26,89 +26,83 @@ limitations under the License. namespace Redmine.Net.Api.Types { /// + /// + /// + /// /// Available as of 1.1 : - ///include: fetch associated data (optional). - ///Possible values: children, attachments, relations, changesets and journals. To fetch multiple associations use comma (e.g ?include=relations,journals). + /// include: fetch associated data (optional). + /// Possible values: children, attachments, relations, changesets and journals. To fetch multiple associations use comma (e.g ?include=relations,journals). /// See Issue journals for more information. - /// + /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ISSUE)] - public class Issue : Identifiable, IXmlSerializable, IEquatable, ICloneable + public sealed class Issue : Identifiable, ICloneable { + #region Properties /// /// Gets or sets the project. /// /// The project. - [XmlElement(RedmineKeys.PROJECT)] public IdentifiableName Project { get; set; } /// /// Gets or sets the tracker. /// /// The tracker. - [XmlElement(RedmineKeys.TRACKER)] public IdentifiableName Tracker { get; set; } /// /// Gets or sets the status.Possible values: open, closed, * to get open and closed issues, status id /// /// The status. - [XmlElement(RedmineKeys.STATUS)] public IdentifiableName Status { get; set; } /// /// Gets or sets the priority. /// /// The priority. - [XmlElement(RedmineKeys.PRIORITY)] public IdentifiableName Priority { get; set; } /// /// Gets or sets the author. /// /// The author. - [XmlElement(RedmineKeys.AUTHOR)] public IdentifiableName Author { get; set; } /// /// Gets or sets the category. /// /// The category. - [XmlElement(RedmineKeys.CATEGORY)] public IdentifiableName Category { get; set; } /// /// Gets or sets the subject. /// /// The subject. - [XmlElement(RedmineKeys.SUBJECT)] public string Subject { get; set; } /// /// Gets or sets the description. /// /// The description. - [XmlElement(RedmineKeys.DESCRIPTION)] public string Description { get; set; } /// /// Gets or sets the start date. /// /// The start date. - [XmlElement(RedmineKeys.START_DATE, IsNullable = true)] public DateTime? StartDate { get; set; } /// /// Gets or sets the due date. /// /// The due date. - [XmlElement(RedmineKeys.DUE_DATE, IsNullable = true)] public DateTime? DueDate { get; set; } /// /// Gets or sets the done ratio. /// /// The done ratio. - [XmlElement(RedmineKeys.DONE_RATIO, IsNullable = true)] public float? DoneRatio { get; set; } /// @@ -117,56 +111,47 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// /// true if [private notes]; otherwise, false. /// - [XmlElement(RedmineKeys.PRIVATE_NOTES)] public bool PrivateNotes { get; set; } /// /// Gets or sets the estimated hours. /// /// The estimated hours. - [XmlElement(RedmineKeys.ESTIMATED_HOURS, IsNullable = true)] public float? EstimatedHours { get; set; } /// /// Gets or sets the hours spent on the issue. /// /// The hours spent on the issue. - [XmlElement(RedmineKeys.SPENT_HOURS, IsNullable = true)] public float? SpentHours { get; set; } /// /// Gets or sets the custom fields. /// /// The custom fields. - [XmlArray(RedmineKeys.CUSTOM_FIELDS)] - [XmlArrayItem(RedmineKeys.CUSTOM_FIELD)] - public IList CustomFields { get; set; } + public IList CustomFields { get; set; } /// /// Gets or sets the created on. /// /// The created on. - [XmlElement(RedmineKeys.CREATED_ON, IsNullable = true)] public DateTime? CreatedOn { get; set; } /// /// Gets or sets the updated on. /// /// The updated on. - [XmlElement(RedmineKeys.UPDATED_ON, IsNullable = true)] - public DateTime? UpdatedOn { get; set; } + public DateTime? UpdatedOn { get; internal set; } /// /// Gets or sets the closed on. /// /// The closed on. - [XmlElement(RedmineKeys.CLOSED_ON, IsNullable = true)] - public DateTime? ClosedOn { get; set; } + public DateTime? ClosedOn { get; internal set; } /// /// Gets or sets the notes. /// - [XmlElement(RedmineKeys.NOTES)] public string Notes { get; set; } /// @@ -175,7 +160,6 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// /// The assigned to. /// - [XmlElement(RedmineKeys.ASSIGNED_TO)] public IdentifiableName AssignedTo { get; set; } /// @@ -184,7 +168,6 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// /// The parent issue id. /// - [XmlElement(RedmineKeys.PARENT)] public IdentifiableName ParentIssue { get; set; } /// @@ -193,7 +176,6 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// /// The fixed version. /// - [XmlElement(RedmineKeys.FIXED_VERSION)] public IdentifiableName FixedVersion { get; set; } /// @@ -202,21 +184,18 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// /// true if this issue is private; otherwise, false. /// - [XmlElement(RedmineKeys.IS_PRIVATE)] public bool IsPrivate { get; set; } /// - /// Returns the sum of spent hours of the task and all the subtasks. + /// Returns the sum of spent hours of the task and all the sub tasks. /// /// Availability starting with redmine version 3.3 - [XmlElement(RedmineKeys.TOTAL_SPENT_HOURS)] public float? TotalSpentHours { get; set; } /// - /// Returns the sum of estimated hours of task and all the subtasks. + /// Returns the sum of estimated hours of task and all the sub tasks. /// /// Availability starting with redmine version 3.3 - [XmlElement(RedmineKeys.TOTAL_ESTIMATED_HOURS)] public float? TotalEstimatedHours { get; set; } /// @@ -225,19 +204,15 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// /// The journals. /// - [XmlArray(RedmineKeys.JOURNALS)] - [XmlArrayItem(RedmineKeys.JOURNAL)] - public IList Journals { get; internal set; } + public IList Journals { get; set; } /// - /// Gets or sets the changesets. + /// Gets or sets the change sets. /// /// - /// The changesets. + /// The change sets. /// - [XmlArray(RedmineKeys.CHANGESETS)] - [XmlArrayItem(RedmineKeys.CHANGESET)] - public IList Changesets { get; internal set; } + public IList ChangeSets { get; set; } /// /// Gets or sets the attachments. @@ -245,9 +220,7 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// /// The attachments. /// - [XmlArray(RedmineKeys.ATTACHMENTS)] - [XmlArrayItem(RedmineKeys.ATTACHMENT)] - public IList Attachments { get; internal set; } + public IList Attachments { get; set; } /// /// Gets or sets the issue relations. @@ -255,9 +228,7 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// /// The issue relations. /// - [XmlArray(RedmineKeys.RELATIONS)] - [XmlArrayItem(RedmineKeys.RELATION)] - public IList Relations { get; internal set; } + public IList Relations { get; set; } /// /// Gets or sets the issue children. @@ -266,9 +237,7 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// The issue children. /// NOTE: Only Id, tracker and subject are filled. /// - [XmlArray(RedmineKeys.CHILDREN)] - [XmlArrayItem(RedmineKeys.ISSUE)] - public IList Children { get; internal set; } + public IList Children { get; set; } /// /// Gets or sets the attachments. @@ -276,31 +245,20 @@ public class Issue : Identifiable, IXmlSerializable, IEquatable, I /// /// The attachment. /// - [XmlArray(RedmineKeys.UPLOADS)] - [XmlArrayItem(RedmineKeys.UPLOAD)] - public IList Uploads { get; set; } + public IList Uploads { get; set; } /// /// /// - [XmlArray(RedmineKeys.WATCHERS)] - [XmlArrayItem(RedmineKeys.WATCHER)] - public IList Watchers { get; internal set; } - - /// - /// - /// - /// - public XmlSchema GetSchema() - { - return null; - } + public IList Watchers { get; set; } + #endregion + #region Implementation of IXmlSerialization /// /// /// /// - public void ReadXml(XmlReader reader) + public override void ReadXml(XmlReader reader) { reader.Read(); @@ -314,137 +272,39 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { - case RedmineKeys.ID: - Id = reader.ReadElementContentAsInt(); - break; - - case RedmineKeys.PROJECT: - Project = new IdentifiableName(reader); - break; - - case RedmineKeys.TRACKER: - Tracker = new IdentifiableName(reader); - break; - - case RedmineKeys.STATUS: - Status = new IdentifiableName(reader); - break; - - case RedmineKeys.PRIORITY: - Priority = new IdentifiableName(reader); - break; - - case RedmineKeys.AUTHOR: - Author = new IdentifiableName(reader); - break; - - case RedmineKeys.ASSIGNED_TO: - AssignedTo = new IdentifiableName(reader); - break; - - case RedmineKeys.CATEGORY: - Category = new IdentifiableName(reader); - break; - - case RedmineKeys.PARENT: - ParentIssue = new IdentifiableName(reader); - break; - - case RedmineKeys.FIXED_VERSION: - FixedVersion = new IdentifiableName(reader); - break; - - case RedmineKeys.PRIVATE_NOTES: - PrivateNotes = reader.ReadElementContentAsBoolean(); - break; - - case RedmineKeys.IS_PRIVATE: - IsPrivate = reader.ReadElementContentAsBoolean(); - break; - - case RedmineKeys.SUBJECT: - Subject = reader.ReadElementContentAsString(); - break; - - case RedmineKeys.NOTES: - Notes = reader.ReadElementContentAsString(); - break; - - case RedmineKeys.DESCRIPTION: - Description = reader.ReadElementContentAsString(); - break; - - case RedmineKeys.START_DATE: - StartDate = reader.ReadElementContentAsNullableDateTime(); - break; - - case RedmineKeys.DUE_DATE: - DueDate = reader.ReadElementContentAsNullableDateTime(); - break; - - case RedmineKeys.DONE_RATIO: - DoneRatio = reader.ReadElementContentAsNullableFloat(); - break; - - case RedmineKeys.ESTIMATED_HOURS: - EstimatedHours = reader.ReadElementContentAsNullableFloat(); - break; - - case RedmineKeys.TOTAL_ESTIMATED_HOURS: - TotalEstimatedHours = reader.ReadElementContentAsNullableFloat(); - break; - - case RedmineKeys.TOTAL_SPENT_HOURS: - TotalSpentHours = reader.ReadElementContentAsNullableFloat(); - break; - - case RedmineKeys.SPENT_HOURS: - SpentHours = reader.ReadElementContentAsNullableFloat(); - break; - - case RedmineKeys.CREATED_ON: - CreatedOn = reader.ReadElementContentAsNullableDateTime(); - break; - - case RedmineKeys.UPDATED_ON: - UpdatedOn = reader.ReadElementContentAsNullableDateTime(); - break; - - case RedmineKeys.CLOSED_ON: - ClosedOn = reader.ReadElementContentAsNullableDateTime(); - break; - - case RedmineKeys.CUSTOM_FIELDS: - CustomFields = reader.ReadElementContentAsCollection(); - break; - - case RedmineKeys.ATTACHMENTS: - Attachments = reader.ReadElementContentAsCollection(); - break; - - case RedmineKeys.RELATIONS: - Relations = reader.ReadElementContentAsCollection(); - break; - - case RedmineKeys.JOURNALS: - Journals = reader.ReadElementContentAsCollection(); - break; - - case RedmineKeys.CHANGESETS: - Changesets = reader.ReadElementContentAsCollection(); - break; - - case RedmineKeys.CHILDREN: - Children = reader.ReadElementContentAsCollection(); - break; - - case RedmineKeys.WATCHERS: - Watchers = reader.ReadElementContentAsCollection(); - break; - - default: - reader.Read(); - break; + case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; + case RedmineKeys.ASSIGNED_TO: AssignedTo = new IdentifiableName(reader); break; + case RedmineKeys.ATTACHMENTS: Attachments = reader.ReadElementContentAsCollection(); break; + case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; + case RedmineKeys.CATEGORY: Category = new IdentifiableName(reader); break; + case RedmineKeys.CHANGE_SETS: ChangeSets = reader.ReadElementContentAsCollection(); break; + case RedmineKeys.CHILDREN: Children = reader.ReadElementContentAsCollection(); break; + case RedmineKeys.CLOSED_ON: ClosedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadElementContentAsCollection(); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; + case RedmineKeys.DONE_RATIO: DoneRatio = reader.ReadElementContentAsNullableFloat(); break; + case RedmineKeys.DUE_DATE: DueDate = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.ESTIMATED_HOURS: EstimatedHours = reader.ReadElementContentAsNullableFloat(); break; + case RedmineKeys.FIXED_VERSION: FixedVersion = new IdentifiableName(reader); break; + case RedmineKeys.IS_PRIVATE: IsPrivate = reader.ReadElementContentAsBoolean(); break; + case RedmineKeys.JOURNALS: Journals = reader.ReadElementContentAsCollection(); break; + case RedmineKeys.NOTES: Notes = reader.ReadElementContentAsString(); break; + case RedmineKeys.PARENT: ParentIssue = new IdentifiableName(reader); break; + case RedmineKeys.PRIORITY: Priority = new IdentifiableName(reader); break; + case RedmineKeys.PRIVATE_NOTES: PrivateNotes = reader.ReadElementContentAsBoolean(); break; + case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; + case RedmineKeys.RELATIONS: Relations = reader.ReadElementContentAsCollection(); break; + case RedmineKeys.SPENT_HOURS: SpentHours = reader.ReadElementContentAsNullableFloat(); break; + case RedmineKeys.START_DATE: StartDate = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.STATUS: Status = new IdentifiableName(reader); break; + case RedmineKeys.SUBJECT: Subject = reader.ReadElementContentAsString(); break; + case RedmineKeys.TOTAL_ESTIMATED_HOURS: TotalEstimatedHours = reader.ReadElementContentAsNullableFloat(); break; + case RedmineKeys.TOTAL_SPENT_HOURS: TotalSpentHours = reader.ReadElementContentAsNullableFloat(); break; + case RedmineKeys.TRACKER: Tracker = new IdentifiableName(reader); break; + case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.WATCHERS: Watchers = reader.ReadElementContentAsCollection(); break; + default: reader.Read(); break; } } } @@ -453,78 +313,51 @@ public void ReadXml(XmlReader reader) /// /// /// - public void WriteXml(XmlWriter writer) + public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.SUBJECT, Subject); writer.WriteElementString(RedmineKeys.NOTES, Notes); if (Id != 0) { - writer.WriteElementString(RedmineKeys.PRIVATE_NOTES, XmlConvert.ToString(PrivateNotes)); + writer.WriteElementString(RedmineKeys.PRIVATE_NOTES, PrivateNotes.ToString().ToLowerInvariant()); } writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); - writer.WriteStartElement(RedmineKeys.IS_PRIVATE); - writer.WriteValue(XmlConvert.ToString(IsPrivate)); - writer.WriteEndElement(); - - writer.WriteIdIfNotNull(Project, RedmineKeys.PROJECT_ID); - writer.WriteIdIfNotNull(Priority, RedmineKeys.PRIORITY_ID); - writer.WriteIdIfNotNull(Status, RedmineKeys.STATUS_ID); - writer.WriteIdIfNotNull(Category, RedmineKeys.CATEGORY_ID); - writer.WriteIdIfNotNull(Tracker, RedmineKeys.TRACKER_ID); - writer.WriteIdIfNotNull(AssignedTo, RedmineKeys.ASSIGNED_TO_ID); - writer.WriteIdIfNotNull(ParentIssue, RedmineKeys.PARENT_ISSUE_ID); - writer.WriteIdIfNotNull(FixedVersion, RedmineKeys.FIXED_VERSION_ID); - - writer.WriteValueOrEmpty(EstimatedHours, RedmineKeys.ESTIMATED_HOURS); - writer.WriteValueOrEmpty(DoneRatio, RedmineKeys.DONE_RATIO); - writer.WriteDateOrEmpty(StartDate, RedmineKeys.START_DATE); - writer.WriteDateOrEmpty(DueDate, RedmineKeys.DUE_DATE); - writer.WriteDateOrEmpty(UpdatedOn, RedmineKeys.UPDATED_ON); - - writer.WriteArray(Uploads, RedmineKeys.UPLOADS); - writer.WriteArray(CustomFields, RedmineKeys.CUSTOM_FIELDS); - - writer.WriteListElements(Watchers as IList, RedmineKeys.WATCHER_USER_IDS); - } + writer.WriteElementString(RedmineKeys.IS_PRIVATE, IsPrivate.ToString().ToLowerInvariant()); - /// - /// - /// - /// - public object Clone() - { - var issue = new Issue - { - AssignedTo = AssignedTo, - Author = Author, - Category = Category, - CustomFields = CustomFields.Clone(), - Description = Description, - DoneRatio = DoneRatio, - DueDate = DueDate, - SpentHours = SpentHours, - EstimatedHours = EstimatedHours, - Priority = Priority, - StartDate = StartDate, - Status = Status, - Subject = Subject, - Tracker = Tracker, - Project = Project, - FixedVersion = FixedVersion, - Notes = Notes, - Watchers = Watchers.Clone() - }; - return issue; + writer.WriteIdIfNotNull(RedmineKeys.PROJECT_ID, Project); + writer.WriteIdIfNotNull(RedmineKeys.PRIORITY_ID, Priority); + writer.WriteIdIfNotNull(RedmineKeys.STATUS_ID, Status); + writer.WriteIdIfNotNull(RedmineKeys.CATEGORY_ID, Category); + writer.WriteIdIfNotNull(RedmineKeys.TRACKER_ID, Tracker); + writer.WriteIdIfNotNull(RedmineKeys.ASSIGNED_TO_ID, AssignedTo); + writer.WriteIdIfNotNull(RedmineKeys.PARENT_ISSUE_ID, ParentIssue); + writer.WriteIdIfNotNull(RedmineKeys.FIXED_VERSION_ID, FixedVersion); + + writer.WriteValueOrEmpty(RedmineKeys.ESTIMATED_HOURS, EstimatedHours); + writer.WriteIfNotDefaultOrNull(RedmineKeys.DONE_RATIO, DoneRatio); + + writer.WriteDateOrEmpty(RedmineKeys.START_DATE, StartDate); + writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, DueDate); + writer.WriteDateOrEmpty(RedmineKeys.UPDATED_ON, UpdatedOn); + + writer.WriteArray(RedmineKeys.UPLOADS, Uploads); + writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); + + writer.WriteListElements(RedmineKeys.WATCHER_USER_IDS, (IEnumerable)Watchers); } + #endregion + + + #region Implementation of IEquatable /// /// /// /// /// - public bool Equals(Issue other) + public override bool Equals(Issue other) { if (other == null) return false; return ( @@ -541,34 +374,24 @@ public bool Equals(Issue other) && DueDate == other.DueDate && DoneRatio == other.DoneRatio && EstimatedHours == other.EstimatedHours - && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null) + && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn && AssignedTo == other.AssignedTo && FixedVersion == other.FixedVersion && Notes == other.Notes - && (Watchers?.Equals(other.Watchers) ?? other.Watchers == null) + && (Watchers != null ? Watchers.Equals(other.Watchers) : other.Watchers == null) && ClosedOn == other.ClosedOn && SpentHours == other.SpentHours && PrivateNotes == other.PrivateNotes - && (Attachments?.Equals(other.Attachments) ?? other.Attachments == null) - && (Changesets?.Equals(other.Changesets) ?? other.Changesets == null) - && (Children?.Equals(other.Children) ?? other.Children == null) - && (Journals?.Equals(other.Journals) ?? other.Journals == null) - && (Relations?.Equals(other.Relations) ?? other.Relations == null) + && (Attachments != null ? Attachments.Equals(other.Attachments) : other.Attachments == null) + && (ChangeSets != null ? ChangeSets.Equals(other.ChangeSets) : other.ChangeSets == null) + && (Children != null ? Children.Equals(other.Children) : other.Children == null) + && (Journals != null ? Journals.Equals(other.Journals) : other.Journals == null) + && (Relations != null ? Relations.Equals(other.Relations) : other.Relations == null) ); } - /// - /// - /// - /// - public override string ToString() - { - return - $"[Issue: {base.ToString()}, Project={Project}, Tracker={Tracker}, Status={Status}, Priority={Priority}, Author={Author}, Category={Category}, Subject={Subject}, Description={Description}, StartDate={StartDate}, DueDate={DueDate}, DoneRatio={DoneRatio}, PrivateNotes={PrivateNotes}, EstimatedHours={EstimatedHours}, SpentHours={SpentHours}, CustomFields={CustomFields}, CreatedOn={CreatedOn}, UpdatedOn={UpdatedOn}, ClosedOn={ClosedOn}, Notes={Notes}, AssignedTo={AssignedTo}, ParentIssue={ParentIssue}, FixedVersion={FixedVersion}, IsPrivate={IsPrivate}, Journals={Journals}, Changesets={Changesets}, Attachments={Attachments}, Relations={Relations}, Children={Children}, Uploads={Uploads}, Watchers={Watchers}]"; - } - /// /// /// @@ -605,7 +428,7 @@ public override int GetHashCode() hashCode = HashCodeHelper.GetHashCode(Journals, hashCode); hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); - hashCode = HashCodeHelper.GetHashCode(Changesets, hashCode); + hashCode = HashCodeHelper.GetHashCode(ChangeSets, hashCode); hashCode = HashCodeHelper.GetHashCode(Attachments, hashCode); hashCode = HashCodeHelper.GetHashCode(Relations, hashCode); hashCode = HashCodeHelper.GetHashCode(Children, hashCode); @@ -614,11 +437,69 @@ public override int GetHashCode() return hashCode; } + #endregion - /// - public override bool Equals(object obj) + #region Implementation of IClonable + /// + /// + /// + /// + public object Clone() { - return Equals(obj as Issue); + var issue = new Issue + { + AssignedTo = AssignedTo, + Author = Author, + Category = Category, + CustomFields = CustomFields.Clone(), + Description = Description, + DoneRatio = DoneRatio, + DueDate = DueDate, + SpentHours = SpentHours, + EstimatedHours = EstimatedHours, + Priority = Priority, + StartDate = StartDate, + Status = Status, + Subject = Subject, + Tracker = Tracker, + Project = Project, + FixedVersion = FixedVersion, + Notes = Notes, + Watchers = Watchers.Clone() + }; + return issue; } + #endregion + + /// + /// + /// + /// + private string DebuggerDisplay => + $@"[{nameof(Issue)}: {ToString()}, Project={Project}, Tracker={Tracker}, Status={Status}, +Priority={Priority}, Author={Author}, Category={Category}, Subject={Subject}, Description={Description}, +StartDate={StartDate?.ToString("u", CultureInfo.InvariantCulture)}, +DueDate={DueDate?.ToString("u", CultureInfo.InvariantCulture)}, +DoneRatio={DoneRatio?.ToString("F", CultureInfo.InvariantCulture)}, +PrivateNotes={PrivateNotes.ToString(CultureInfo.InvariantCulture)}, +EstimatedHours={EstimatedHours?.ToString("F", CultureInfo.InvariantCulture)}, +SpentHours={SpentHours?.ToString("F", CultureInfo.InvariantCulture)}, +CustomFields={CustomFields.Dump()}, +CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, +UpdatedOn={UpdatedOn?.ToString("u", CultureInfo.InvariantCulture)}, +ClosedOn={ClosedOn?.ToString("u", CultureInfo.InvariantCulture)}, +Notes={Notes}, +AssignedTo={AssignedTo}, +ParentIssue={ParentIssue}, +FixedVersion={FixedVersion}, +IsPrivate={IsPrivate.ToString(CultureInfo.InvariantCulture)}, +Journals={Journals.Dump()}, +ChangeSets={ChangeSets.Dump()}, +Attachments={Attachments.Dump()}, +Relations={Relations.Dump()}, +Children={Children.Dump()}, +Uploads={Uploads.Dump()}, +Watchers={Watchers.Dump()}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs old mode 100755 new mode 100644 index 870cb0c9..57c11d92 --- a/src/redmine-net-api/Types/IssueCategory.cs +++ b/src/redmine-net-api/Types/IssueCategory.cs @@ -14,9 +14,8 @@ You may obtain a copy of the License at limitations under the License. */ -using System; +using System.Diagnostics; using System.Xml; -using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -26,16 +25,17 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.3 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ISSUE_CATEGORY)] - public class IssueCategory : Identifiable, IEquatable, IXmlSerializable + public sealed class IssueCategory : Identifiable { + #region Properties /// /// Gets or sets the project. /// /// /// The project. /// - [XmlElement(RedmineKeys.PROJECT)] public IdentifiableName Project { get; set; } /// @@ -44,8 +44,7 @@ public class IssueCategory : Identifiable, IEquatable /// The asign to. /// - [XmlElement(RedmineKeys.ASSIGNED_TO)] - public IdentifiableName AsignTo { get; set; } + public IdentifiableName AssignTo { get; set; } /// /// Gets or sets the name. @@ -53,31 +52,15 @@ public class IssueCategory : Identifiable, IEquatable /// The name. /// - [XmlElement(RedmineKeys.NAME)] public string Name { get; set; } + #endregion - /// - /// - /// - /// - /// - public bool Equals(IssueCategory other) - { - if (other == null) return false; - return (Id == other.Id && Project == other.Project && AsignTo == other.AsignTo && Name == other.Name); - } - - /// - /// - /// - /// - public XmlSchema GetSchema() { return null; } - + #region Implementation of IXmlSerialization /// /// /// /// - public void ReadXml(XmlReader reader) + public override void ReadXml(XmlReader reader) { reader.Read(); while (!reader.EOF) @@ -91,13 +74,9 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - - case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; - - case RedmineKeys.ASSIGNED_TO: AsignTo = new IdentifiableName(reader); break; - + case RedmineKeys.ASSIGNED_TO: AssignTo = new IdentifiableName(reader); break; case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; - + case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; default: reader.Read(); break; } } @@ -107,11 +86,26 @@ public void ReadXml(XmlReader reader) /// /// /// - public void WriteXml(XmlWriter writer) + public override void WriteXml(XmlWriter writer) { - writer.WriteIdIfNotNull(Project, RedmineKeys.PROJECT_ID); + writer.WriteIdIfNotNull(RedmineKeys.PROJECT_ID, Project); writer.WriteElementString(RedmineKeys.NAME, Name); - writer.WriteIdIfNotNull(AsignTo, RedmineKeys.ASSIGNED_TO_ID); + writer.WriteIdIfNotNull(RedmineKeys.ASSIGNED_TO_ID, AssignTo); + } + #endregion + + + + #region Implementation of IEquatable + /// + /// + /// + /// + /// + public override bool Equals(IssueCategory other) + { + if (other == null) return false; + return (Id == other.Id && Project == other.Project && AssignTo == other.AssignTo && Name == other.Name); } /// @@ -125,25 +119,18 @@ public override int GetHashCode() var hashCode = 13; hashCode = HashCodeHelper.GetHashCode(Id, hashCode); hashCode = HashCodeHelper.GetHashCode(Project, hashCode); - hashCode = HashCodeHelper.GetHashCode(AsignTo, hashCode); + hashCode = HashCodeHelper.GetHashCode(AssignTo, hashCode); hashCode = HashCodeHelper.GetHashCode(Name, hashCode); return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return $"[IssueCategory: {base.ToString()}, Project={Project}, AsignTo={AsignTo}, Name={Name}]"; - } + private string DebuggerDisplay => $"[{nameof(IssueCategory)}: {ToString()}, Project={Project}, AssignTo={AssignTo}, Name={Name}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as IssueCategory); - } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs old mode 100755 new mode 100644 index 9700b43c..b498c3a4 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -15,9 +15,9 @@ limitations under the License. */ using System; +using System.Diagnostics; using System.Globalization; using System.Xml; -using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Internals; @@ -26,34 +26,30 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ISSUE)] - public class IssueChild : Identifiable, IXmlSerializable, IEquatable, ICloneable + public sealed class IssueChild : Identifiable, ICloneable { + #region Properties /// /// Gets or sets the tracker. /// /// The tracker. - [XmlElement(RedmineKeys.TRACKER)] - public IdentifiableName Tracker { get; set; } + public IdentifiableName Tracker { get; internal set; } /// /// Gets or sets the subject. /// /// The subject. - [XmlElement(RedmineKeys.SUBJECT)] - public string Subject { get; set; } - - /// - /// - /// - /// - public XmlSchema GetSchema() { return null; } + public string Subject { get; internal set; } + #endregion + #region Implementation of IXmlSerialization /// /// /// /// - public void ReadXml(XmlReader reader) + public override void ReadXml(XmlReader reader) { Id = Convert.ToInt32(reader.GetAttribute(RedmineKeys.ID), CultureInfo.InvariantCulture); reader.Read(); @@ -68,37 +64,23 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { - case RedmineKeys.TRACKER: Tracker = new IdentifiableName(reader); break; - case RedmineKeys.SUBJECT: Subject = reader.ReadElementContentAsString(); break; - + case RedmineKeys.TRACKER: Tracker = new IdentifiableName(reader); break; default: reader.Read(); break; } } } + #endregion - /// - /// - /// - /// - public void WriteXml(XmlWriter writer) { } - - /// - /// - /// - /// - public object Clone() - { - var issueChild = new IssueChild { Subject = Subject, Tracker = Tracker }; - return issueChild; - } + + #region Implementation of IEquatable /// /// /// /// /// - public bool Equals(IssueChild other) + public override bool Equals(IssueChild other) { if (other == null) return false; return (Id == other.Id && Tracker == other.Tracker && Subject == other.Subject); @@ -119,20 +101,26 @@ public override int GetHashCode() return hashCode; } } + #endregion + + #region Implementation of IClonable /// /// /// /// - public override string ToString() + public object Clone() { - return $"[IssueChild: {base.ToString()}, Tracker={Tracker}, Subject={Subject}]"; + var issueChild = new IssueChild { Subject = Subject, Tracker = Tracker }; + return issueChild; } + #endregion + + /// + /// + /// + /// + private string DebuggerDisplay => $"[{nameof(IssueChild)}: {ToString()}, Tracker={Tracker}, Subject={Subject}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as IssueChild); - } } } diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs old mode 100755 new mode 100644 index 8e2c94b5..54ddec94 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -16,6 +16,7 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Diagnostics; using System.Globalization; using System.Xml; using System.Xml.Serialization; @@ -27,22 +28,24 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.CUSTOM_FIELD)] - public class IssueCustomField : IdentifiableName, IEquatable, ICloneable + public sealed class IssueCustomField : IdentifiableName, IEquatable, ICloneable, IValue { + #region Properties /// /// Gets or sets the value. /// /// The value. - [XmlArray(RedmineKeys.VALUE)] - [XmlArrayItem(RedmineKeys.VALUE)] public IList Values { get; set; } /// /// /// - [XmlAttribute(RedmineKeys.MULTIPLE)] public bool Multiple { get; set; } + #endregion + + #region Implementation of IXmlSerializable /// /// @@ -52,18 +55,44 @@ public override void ReadXml(XmlReader reader) { Id = Convert.ToInt32(reader.GetAttribute(RedmineKeys.ID), CultureInfo.InvariantCulture); Name = reader.GetAttribute(RedmineKeys.NAME); - Multiple = reader.ReadAttributeAsBoolean(RedmineKeys.MULTIPLE); + reader.Read(); - if (string.IsNullOrEmpty(reader.GetAttribute("type"))) + if (reader.NodeType == XmlNodeType.Whitespace) + { + reader.Read(); + } + + if (reader.NodeType == XmlNodeType.Text) + { + Values = new List + { + new CustomFieldValue(reader.Value) + }; + + reader.Read(); + return; + } + + var attributeExists = !reader.GetAttribute("type").IsNullOrWhiteSpace(); + + if (!attributeExists) { - Values = new List { new CustomFieldValue { Info = reader.ReadElementContentAsString() } }; + if (reader.IsEmptyElement) + { + reader.Read(); + return; + } + + Values = new List + { + new CustomFieldValue(reader.ReadElementContentAsString()) + }; } else { - var result = reader.ReadElementContentAsCollection(); - Values = result; + Values = reader.ReadElementContentAsCollection(); } } @@ -73,20 +102,29 @@ public override void ReadXml(XmlReader reader) /// public override void WriteXml(XmlWriter writer) { - if (Values == null) return; + if (Values == null) + { + return; + } + var itemsCount = Values.Count; writer.WriteAttributeString(RedmineKeys.ID, Id.ToString(CultureInfo.InvariantCulture)); + if (itemsCount > 1) { - writer.WriteArrayStringElement(Values, RedmineKeys.VALUE, GetValue); + writer.WriteArrayStringElement(RedmineKeys.VALUE, Values, GetValue); } else { writer.WriteElementString(RedmineKeys.VALUE, itemsCount > 0 ? Values[0].Info : null); } } + #endregion + + + #region Implementation of IEquatable /// /// /// @@ -95,60 +133,65 @@ public override void WriteXml(XmlWriter writer) public bool Equals(IssueCustomField other) { if (other == null) return false; - return (Id == other.Id && Name == other.Name && Multiple == other.Multiple && Values.Equals(other.Values)); + return (Id == other.Id + && Name == other.Name + && Multiple == other.Multiple + && (Values != null ? Values.Equals(other.Values) : other.Values == null)); } /// /// /// /// - public object Clone() + public override int GetHashCode() { - var issueCustomField = new IssueCustomField { Multiple = Multiple, Values = Values.Clone() }; - return issueCustomField; + unchecked + { + var hashCode = 13; + hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + hashCode = HashCodeHelper.GetHashCode(Values, hashCode); + hashCode = HashCodeHelper.GetHashCode(Multiple, hashCode); + return hashCode; + } } + #endregion + #region Implementation of IClonable /// /// /// /// - public override string ToString() + public object Clone() { - return $"[IssueCustomField: {base.ToString()} Values={Values}, Multiple={Multiple}]"; + var issueCustomField = new IssueCustomField { Multiple = Multiple, Values = Values.Clone() }; + return issueCustomField; } + #endregion + #region Implementation of IValue /// /// /// - /// - public override int GetHashCode() - { - unchecked - { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); - hashCode = HashCodeHelper.GetHashCode(Values, hashCode); - hashCode = HashCodeHelper.GetHashCode(Multiple, hashCode); - return hashCode; - } - } + public string Value => Id.ToString(CultureInfo.InvariantCulture); + + #endregion /// /// /// /// /// - public static string GetValue(object item) + public string GetValue(object item) { - if (item == null) throw new ArgumentNullException(nameof(item)); return ((CustomFieldValue)item).Info; } - /// - public override bool Equals(object obj) - { - return Equals(obj as IssueCustomField); - } + /// + /// + /// + /// + private string DebuggerDisplay => $"[{nameof(IssueCustomField)}: {ToString()} Values={Values.Dump()}, Multiple={Multiple.ToString(CultureInfo.InvariantCulture)}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssuePriority.cs b/src/redmine-net-api/Types/IssuePriority.cs old mode 100755 new mode 100644 index 87754916..30a5846d --- a/src/redmine-net-api/Types/IssuePriority.cs +++ b/src/redmine-net-api/Types/IssuePriority.cs @@ -15,6 +15,8 @@ limitations under the License. */ using System; +using System.Diagnostics; +using System.Globalization; using System.Xml; using System.Xml.Serialization; using Redmine.Net.Api.Internals; @@ -24,24 +26,25 @@ namespace Redmine.Net.Api.Types /// /// Availability 2.2 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ISSUE_PRIORITY)] - public class IssuePriority : IdentifiableName, IEquatable + public sealed class IssuePriority : IdentifiableName, IEquatable { + #region Properties /// /// /// - [XmlElement(RedmineKeys.IS_DEFAULT)] - public bool IsDefault { get; set; } + public bool IsDefault { get; internal set; } + #endregion #region Implementation of IXmlSerializable /// /// Generates an object from its XML representation. /// - /// The stream from which the object is deserialized. + /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { - if (reader == null) throw new ArgumentNullException(nameof(reader)); reader.Read(); while (!reader.EOF) { @@ -54,24 +57,16 @@ public override void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - - case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; - case RedmineKeys.IS_DEFAULT: IsDefault = reader.ReadElementContentAsBoolean(); break; - + case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; default: reader.Read(); break; } } } - - /// - /// - /// - /// - public override void WriteXml(XmlWriter writer) { } - #endregion + + #region Implementation of IEquatable /// /// @@ -113,16 +108,13 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return $"[IssuePriority: Id={Id}, Name={Name}, IsDefault={IsDefault}]"; - } + private string DebuggerDisplay => $"[IssuePriority: {ToString()}, IsDefault={IsDefault.ToString(CultureInfo.InvariantCulture)}]"; - #endregion } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs old mode 100755 new mode 100644 index 1b59e086..653d0e97 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -15,9 +15,9 @@ limitations under the License. */ using System; +using System.Diagnostics; using System.Globalization; using System.Xml; -using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -27,50 +27,43 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.3 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.RELATION)] - public class IssueRelation : Identifiable, IXmlSerializable, IEquatable + public sealed class IssueRelation : Identifiable { + #region Properties /// /// Gets or sets the issue id. /// /// The issue id. - [XmlElement(RedmineKeys.ISSUE_ID)] - public int IssueId { get; set; } + public int IssueId { get; internal set; } /// /// Gets or sets the related issue id. /// /// The issue to id. - [XmlElement(RedmineKeys.ISSUE_TO_ID)] public int IssueToId { get; set; } /// /// Gets or sets the type of relation. /// /// The type. - [XmlElement(RedmineKeys.RELATION_TYPE)] public IssueRelationType Type { get; set; } /// /// Gets or sets the delay for a "precedes" or "follows" relation. /// /// The delay. - [XmlElement(RedmineKeys.DELAY, IsNullable = true)] public int? Delay { get; set; } + #endregion - /// - /// - /// - /// - public XmlSchema GetSchema() { return null; } - + #region Implementation of IXmlSerialization /// /// /// /// - public void ReadXml(XmlReader reader) + public override void ReadXml(XmlReader reader) { - if (reader == null) throw new ArgumentNullException(nameof(reader)); if (!reader.IsEmptyElement) reader.Read(); while (!reader.EOF) { @@ -88,16 +81,16 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadAttributeAsInt(attributeName); break; + case RedmineKeys.DELAY: Delay = reader.ReadAttributeAsNullableInt(attributeName); break; case RedmineKeys.ISSUE_ID: IssueId = reader.ReadAttributeAsInt(attributeName); break; case RedmineKeys.ISSUE_TO_ID: IssueToId = reader.ReadAttributeAsInt(attributeName); break; case RedmineKeys.RELATION_TYPE: - var rt = reader.GetAttribute(attributeName); - if (!string.IsNullOrEmpty(rt)) + var issueRelationType = reader.GetAttribute(attributeName); + if (!issueRelationType.IsNullOrWhiteSpace()) { - Type = (IssueRelationType)Enum.Parse(typeof(IssueRelationType), rt, true); + Type = (IssueRelationType)Enum.Parse(typeof(IssueRelationType), issueRelationType, true); } break; - case RedmineKeys.DELAY: Delay = reader.ReadAttributeAsNullableInt(attributeName); break; } } return; @@ -106,16 +99,16 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; + case RedmineKeys.DELAY: Delay = reader.ReadElementContentAsNullableInt(); break; case RedmineKeys.ISSUE_ID: IssueId = reader.ReadElementContentAsInt(); break; case RedmineKeys.ISSUE_TO_ID: IssueToId = reader.ReadElementContentAsInt(); break; case RedmineKeys.RELATION_TYPE: - var rt = reader.ReadElementContentAsString(); - if (!string.IsNullOrEmpty(rt)) + var issueRelationType = reader.ReadElementContentAsString(); + if (!issueRelationType.IsNullOrWhiteSpace()) { - Type = (IssueRelationType)Enum.Parse(typeof(IssueRelationType), rt, true); + Type = (IssueRelationType)Enum.Parse(typeof(IssueRelationType), issueRelationType, true); } break; - case RedmineKeys.DELAY: Delay = reader.ReadElementContentAsNullableInt(); break; default: reader.Read(); break; } } @@ -125,21 +118,26 @@ public void ReadXml(XmlReader reader) /// /// /// - public void WriteXml(XmlWriter writer) + public override void WriteXml(XmlWriter writer) { - if (writer == null) throw new ArgumentNullException(nameof(writer)); writer.WriteElementString(RedmineKeys.ISSUE_TO_ID, IssueToId.ToString(CultureInfo.InvariantCulture)); writer.WriteElementString(RedmineKeys.RELATION_TYPE, Type.ToString()); - if (Type == IssueRelationType.precedes || Type == IssueRelationType.follows) - writer.WriteValueOrEmpty(Delay, RedmineKeys.DELAY); + if (Type == IssueRelationType.Precedes || Type == IssueRelationType.Follows) + { + writer.WriteValueOrEmpty(RedmineKeys.DELAY, Delay); + } } + #endregion + + + #region Implementation of IEquatable /// /// /// /// /// - public bool Equals(IssueRelation other) + public override bool Equals(IssueRelation other) { if (other == null) return false; return (Id == other.Id && IssueId == other.IssueId && IssueToId == other.IssueToId && Type == other.Type && Delay == other.Delay); @@ -162,21 +160,17 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return - $"[IssueRelation: {base.ToString()}, IssueId={IssueId}, IssueToId={IssueToId}, Type={Type}, Delay={Delay}]"; - } + private string DebuggerDisplay => $@"[{nameof(IssueRelation)}: {ToString()}, +IssueId={IssueId.ToString(CultureInfo.InvariantCulture)}, +IssueToId={IssueToId.ToString(CultureInfo.InvariantCulture)}, +Type={Type.ToString("G")}, +Delay={Delay?.ToString(CultureInfo.InvariantCulture)}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as IssueRelation); - } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueRelationType.cs b/src/redmine-net-api/Types/IssueRelationType.cs old mode 100755 new mode 100644 index ebdf1c7c..8355bcee --- a/src/redmine-net-api/Types/IssueRelationType.cs +++ b/src/redmine-net-api/Types/IssueRelationType.cs @@ -24,31 +24,31 @@ public enum IssueRelationType /// /// /// - relates = 1, + Relates = 1, /// /// /// - duplicates, + Duplicates, /// /// /// - duplicated, + Duplicated, /// /// /// - blocks, + Blocks, /// /// /// - blocked, + Blocked, /// /// /// - precedes, + Precedes, /// /// /// - follows, + Follows, /// /// /// diff --git a/src/redmine-net-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs old mode 100755 new mode 100644 index f551e886..1ae4f930 --- a/src/redmine-net-api/Types/IssueStatus.cs +++ b/src/redmine-net-api/Types/IssueStatus.cs @@ -15,6 +15,8 @@ limitations under the License. */ using System; +using System.Diagnostics; +using System.Globalization; using System.Xml; using System.Xml.Serialization; using Redmine.Net.Api.Internals; @@ -24,32 +26,33 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.3 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ISSUE_STATUS)] - public class IssueStatus : IdentifiableName, IEquatable + public sealed class IssueStatus : IdentifiableName, IEquatable { + #region Properties /// /// Gets or sets a value indicating whether IssueStatus is default. /// /// /// true if IssueStatus is default; otherwise, false. /// - [XmlElement(RedmineKeys.IS_DEFAULT)] - public bool IsDefault { get; set; } + public bool IsDefault { get; internal set; } /// /// Gets or sets a value indicating whether IssueStatus is closed. /// /// true if IssueStatus is closed; otherwise, false. - [XmlElement(RedmineKeys.IS_CLOSED)] - public bool IsClosed { get; set; } + public bool IsClosed { get; internal set; } + #endregion + #region Implementation of IXmlSerialization /// /// /// /// public override void ReadXml(XmlReader reader) { - if (reader == null) throw new ArgumentNullException(nameof(reader)); reader.Read(); while (!reader.EOF) { @@ -62,24 +65,18 @@ public override void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - - case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; - - case RedmineKeys.IS_DEFAULT: IsDefault = reader.ReadElementContentAsBoolean(); break; - case RedmineKeys.IS_CLOSED: IsClosed = reader.ReadElementContentAsBoolean(); break; - + case RedmineKeys.IS_DEFAULT: IsDefault = reader.ReadElementContentAsBoolean(); break; + case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; default: reader.Read(); break; } } } + #endregion - /// - /// - /// - /// - public override void WriteXml(XmlWriter writer) { } + + #region Implementation of IEquatable /// /// /// @@ -91,6 +88,19 @@ public bool Equals(IssueStatus other) return (Id == other.Id && Name == other.Name && IsClosed == other.IsClosed && IsDefault == other.IsDefault); } + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as IssueStatus); + } + /// /// /// @@ -107,20 +117,13 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return $"[IssueStatus: {base.ToString()}, IsDefault={IsDefault}, IsClosed={IsClosed}]"; - } + private string DebuggerDisplay => $"[{nameof(IssueStatus)}: {ToString()}, IsDefault={IsDefault.ToString(CultureInfo.InvariantCulture)}, IsClosed={IsClosed.ToString(CultureInfo.InvariantCulture)}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as IssueStatus); - } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index 58ca0565..047851c4 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -16,8 +16,9 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Diagnostics; +using System.Globalization; using System.Xml; -using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -27,17 +28,18 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.JOURNAL)] - public class Journal : Identifiable, IEquatable, IXmlSerializable + public sealed class Journal : Identifiable { + #region Properties /// /// Gets or sets the user. /// /// /// The user. /// - [XmlElement(RedmineKeys.USER)] - public IdentifiableName User { get; set; } + public IdentifiableName User { get; internal set; } /// /// Gets or sets the notes. @@ -45,8 +47,7 @@ public class Journal : Identifiable, IEquatable, IXmlSerializa /// /// The notes. /// - [XmlElement(RedmineKeys.NOTES)] - public string Notes { get; set; } + public string Notes { get; internal set; } /// /// Gets or sets the created on. @@ -54,14 +55,12 @@ public class Journal : Identifiable, IEquatable, IXmlSerializa /// /// The created on. /// - [XmlElement(RedmineKeys.CREATED_ON, IsNullable = true)] - public DateTime? CreatedOn { get; set; } + public DateTime? CreatedOn { get; internal set; } /// /// /// - [XmlElement(RedmineKeys.PRIVATE_NOTES)] - public bool PrivateNotes { get; set; } + public bool PrivateNotes { get; internal set; } /// /// Gets or sets the details. @@ -69,23 +68,16 @@ public class Journal : Identifiable, IEquatable, IXmlSerializa /// /// The details. /// - [XmlArray(RedmineKeys.DETAILS)] - [XmlArrayItem(RedmineKeys.DETAIL)] public IList Details { get; internal set; } + #endregion - /// - /// - /// - /// - public XmlSchema GetSchema() { return null; } - + #region Implementation of IXmlSerialization /// /// /// /// - public void ReadXml(XmlReader reader) + public override void ReadXml(XmlReader reader) { - if (reader == null) throw new ArgumentNullException(nameof(reader)); Id = reader.ReadAttributeAsInt(RedmineKeys.ID); reader.Read(); @@ -99,53 +91,33 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { - case RedmineKeys.USER: User = new IdentifiableName(reader); break; - - case RedmineKeys.NOTES: Notes = reader.ReadElementContentAsString(); break; - case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; - - case RedmineKeys.PRIVATE_NOTES: PrivateNotes = reader.ReadElementContentAsBoolean(); break; - case RedmineKeys.DETAILS: Details = reader.ReadElementContentAsCollection(); break; - + case RedmineKeys.NOTES: Notes = reader.ReadElementContentAsString(); break; + case RedmineKeys.PRIVATE_NOTES: PrivateNotes = reader.ReadElementContentAsBoolean(); break; + case RedmineKeys.USER: User = new IdentifiableName(reader); break; default: reader.Read(); break; } } } + #endregion - /// - /// - /// - /// - public void WriteXml(XmlWriter writer) { } + + #region Implementation of IEquatable /// /// /// /// /// - public bool Equals(Journal other) + public override bool Equals(Journal other) { if (other == null) return false; return Id == other.Id && User == other.User && Notes == other.Notes && CreatedOn == other.CreatedOn - && (Details?.Equals(other.Details) ?? other.Details == null); - } - - /// - /// - /// - /// - /// - public override bool Equals(object obj) - { - if (ReferenceEquals(null, obj)) return false; - if (ReferenceEquals(this, obj)) return true; - if (obj.GetType() != GetType()) return false; - return Equals(obj as Journal); + && (Details != null ? Details.Equals(other.Details) : other.Details == null); } /// @@ -165,14 +137,13 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return $"[Journal: Id={Id}, User={User}, Notes={Notes}, CreatedOn={CreatedOn}, Details={Details}]"; - } + private string DebuggerDisplay => $"[{nameof(Journal)}: {ToString()}, User={User}, Notes={Notes}, CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, Details={Details.Dump()}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs old mode 100755 new mode 100644 index 6baf5aa2..ea8551cd --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -14,10 +14,9 @@ You may obtain a copy of the License at limitations under the License. */ -using System; using System.Collections.Generic; +using System.Diagnostics; using System.Xml; -using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -27,37 +26,31 @@ namespace Redmine.Net.Api.Types /// /// Only the roles can be updated, the project and the user of a membership are read-only. /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.MEMBERSHIP)] - public class Membership : Identifiable, IEquatable, IXmlSerializable + public sealed class Membership : Identifiable { + #region Properties /// /// Gets or sets the project. /// /// The project. - [XmlElement(RedmineKeys.PROJECT)] - public IdentifiableName Project { get; set; } + public IdentifiableName Project { get; internal set; } /// /// Gets or sets the type. /// /// The type. - [XmlArray(RedmineKeys.ROLES)] - [XmlArrayItem(RedmineKeys.ROLE)] - public List Roles { get; internal set; } - - /// - /// - /// - /// - public XmlSchema GetSchema() { return null; } + public IList Roles { get; internal set; } + #endregion + #region Implementation of IXmlSerialization /// /// /// /// - public void ReadXml(XmlReader reader) + public override void ReadXml(XmlReader reader) { - if (reader == null) throw new ArgumentNullException(nameof(reader)); reader.Read(); while (!reader.EOF) { @@ -70,33 +63,29 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; - case RedmineKeys.ROLES: Roles = reader.ReadElementContentAsCollection(); break; - default: reader.Read(); break; } } } + #endregion - /// - /// - /// - /// - public void WriteXml(XmlWriter writer) { } + + #region Implementation of IEquatable /// /// /// /// /// - public bool Equals(Membership other) + public override bool Equals(Membership other) { if (other == null) return false; - return (Id == other.Id && - (Project != null ? Project.Equals(other.Project) : other.Project == null) && - (Roles?.Equals(other.Roles) ?? other.Roles == null)); + return ( + Id == other.Id && + Project != null ? Project.Equals(other.Project) : other.Project == null && + Roles != null ? Roles.Equals(other.Roles) : other.Roles == null); } /// @@ -110,24 +99,17 @@ public override int GetHashCode() var hashCode = 13; hashCode = HashCodeHelper.GetHashCode(Id, hashCode); hashCode = HashCodeHelper.GetHashCode(Project, hashCode); - //hashCode = Utils.GetHashCode(Roles, hashCode); + hashCode = HashCodeHelper.GetHashCode(Roles, hashCode); return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return $"[Membership: {base.ToString()}, Project={Project}, Roles={Roles}]"; - } + private string DebuggerDisplay => $"[{nameof(Membership)}: {ToString()}, Project={Project}, Roles={Roles.Dump()}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as Membership); - } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs old mode 100755 new mode 100644 index 18228734..65586fab --- a/src/redmine-net-api/Types/MembershipRole.cs +++ b/src/redmine-net-api/Types/MembershipRole.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Diagnostics; using System.Globalization; using System.Xml; using System.Xml.Serialization; @@ -26,28 +27,30 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ROLE)] - public class MembershipRole : IdentifiableName, IEquatable + public sealed class MembershipRole : IdentifiableName, IEquatable, IValue { + #region Properties /// /// Gets or sets a value indicating whether this is inherited. /// /// /// true if inherited; otherwise, false. /// - [XmlAttribute(RedmineKeys.INHERITED)] - public bool Inherited { get; set; } + public bool Inherited { get; internal set; } + #endregion + #region Implementation of IXmlSerialization /// /// Reads the XML. /// /// The reader. public override void ReadXml(XmlReader reader) { - if (reader == null) throw new ArgumentNullException(nameof(reader)); - Id = Convert.ToInt32(reader.GetAttribute(RedmineKeys.ID), CultureInfo.InvariantCulture); - Name = reader.GetAttribute(RedmineKeys.NAME); + Id = reader.ReadAttributeAsInt(RedmineKeys.ID); Inherited = reader.ReadAttributeAsBoolean(RedmineKeys.INHERITED); + Name = reader.GetAttribute(RedmineKeys.NAME); reader.Read(); } @@ -57,10 +60,13 @@ public override void ReadXml(XmlReader reader) /// public override void WriteXml(XmlWriter writer) { - if (writer == null) throw new ArgumentNullException(nameof(writer)); writer.WriteValue(Id); } + #endregion + + + #region Implementation of IEquatable /// /// /// @@ -72,6 +78,19 @@ public bool Equals(MembershipRole other) return Id == other.Id && Name == other.Name && Inherited == other.Inherited; } + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as MembershipRole); + } + /// /// /// @@ -87,20 +106,20 @@ public override int GetHashCode() return hashCode; } } + #endregion + + #region Implementation of IClonable + /// + /// + /// + public string Value => Id.ToString(CultureInfo.InvariantCulture); + #endregion /// /// /// /// - public override string ToString() - { - return $"[MembershipRole: {base.ToString()}, Inherited={Inherited}]"; - } + private string DebuggerDisplay => $"[MembershipRole: {ToString()}, Inherited={Inherited.ToString(CultureInfo.InvariantCulture)}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as MembershipRole); - } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs old mode 100755 new mode 100644 index dbdda7ef..abb4a7ec --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -15,8 +15,9 @@ limitations under the License. */ using System; +using System.Diagnostics; +using System.Globalization; using System.Xml; -using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -26,64 +27,55 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.1 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.NEWS)] - public class News : Identifiable, IEquatable, IXmlSerializable + public sealed class News : Identifiable { + #region Properties /// /// Gets or sets the project. /// /// The project. - [XmlElement(RedmineKeys.PROJECT)] - public IdentifiableName Project { get; set; } + public IdentifiableName Project { get; internal set; } /// /// Gets or sets the author. /// /// The author. - [XmlElement(RedmineKeys.AUTHOR)] - public IdentifiableName Author { get; set; } + public IdentifiableName Author { get; internal set; } /// /// Gets or sets the title. /// /// The title. - [XmlElement(RedmineKeys.TITLE)] - public string Title { get; set; } + public string Title { get; internal set; } /// /// Gets or sets the summary. /// /// The summary. - [XmlElement(RedmineKeys.SUMMARY)] - public string Summary { get; set; } + public string Summary { get; internal set; } /// /// Gets or sets the description. /// /// The description. - [XmlElement(RedmineKeys.DESCRIPTION)] - public string Description { get; set; } + public string Description { get; internal set; } /// /// Gets or sets the created on. /// /// The created on. - [XmlElement(RedmineKeys.CREATED_ON, IsNullable = true)] - public DateTime? CreatedOn { get; set; } - - /// - /// - /// - /// - public XmlSchema GetSchema() { return null; } + public DateTime? CreatedOn { get; internal set; } + #endregion + #region Implementation of IXmlSerialization /// /// /// /// - public void ReadXml(XmlReader reader) + public override void ReadXml(XmlReader reader) { - if (reader == null) throw new ArgumentNullException(nameof(reader)); reader.Read(); while (!reader.EOF) { @@ -96,36 +88,27 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - - case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; - case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; - - case RedmineKeys.TITLE: Title = reader.ReadElementContentAsString(); break; - - case RedmineKeys.SUMMARY: Summary = reader.ReadElementContentAsString(); break; - - case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; - case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; - + case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; + case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; + case RedmineKeys.SUMMARY: Summary = reader.ReadElementContentAsString(); break; + case RedmineKeys.TITLE: Title = reader.ReadElementContentAsString(); break; default: reader.Read(); break; } } } + #endregion - /// - /// - /// - /// - public void WriteXml(XmlWriter writer) { } + + #region Implementation of IEquatable /// /// /// /// /// - public bool Equals(News other) + public override bool Equals(News other) { if (other == null) return false; return (Id == other.Id @@ -136,7 +119,7 @@ public bool Equals(News other) && Description == other.Description && CreatedOn == other.CreatedOn); } - + /// /// /// @@ -155,21 +138,13 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return - $"[News: {base.ToString()}, Project={Project}, Author={Author}, Title={Title}, Summary={Summary}, Description={Description}, CreatedOn={CreatedOn}]"; - } + private string DebuggerDisplay => $"[{nameof(News)}: {ToString()}, Project={Project}, Author={Author}, Title={Title}, Summary={Summary}, Description={Description}, CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as News); - } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs old mode 100755 new mode 100644 index 9706629d..656b6daf --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -15,6 +15,9 @@ limitations under the License. */ using System; +using System.Diagnostics; +using System.Xml; +using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Internals; @@ -23,15 +26,59 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.PERMISSION)] - public class Permission : IEquatable + public sealed class Permission : IXmlSerializable, IEquatable { + #region Properties /// /// /// - [XmlText] - public string Info { get; set; } + public string Info { get; internal set; } + #endregion + #region Implementation of IXmlSerializable + + /// + /// + /// + /// + public XmlSchema GetSchema() { return null; } + + /// + /// + /// + /// + public void ReadXml(XmlReader reader) + { + reader.Read(); + while (!reader.EOF) + { + if (reader.IsEmptyElement && !reader.HasAttributes) + { + reader.Read(); + continue; + } + + switch (reader.Name) + { + case RedmineKeys.PERMISSION: Info = reader.ReadElementContentAsString(); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public void WriteXml(XmlWriter writer) { } + + #endregion + + + + #region Implementation of IEquatable /// /// /// @@ -68,14 +115,13 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return $"[Permission: Info={Info}]"; - } + private string DebuggerDisplay => $"[{nameof(Permission)}: {Info}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 02da4267..6bf01248 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -16,6 +16,7 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Diagnostics; using System.Globalization; using System.Xml; using System.Xml.Serialization; @@ -27,59 +28,55 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.0 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.PROJECT)] - public class Project : IdentifiableName, IEquatable + public sealed class Project : IdentifiableName, IEquatable { + #region Properties /// - /// Gets or sets the identifier (Required). + /// Gets or sets the identifier. /// + /// Required for create /// The identifier. - [XmlElement(RedmineKeys.IDENTIFIER)] public string Identifier { get; set; } /// /// Gets or sets the description. /// /// The description. - [XmlElement(RedmineKeys.DESCRIPTION)] public string Description { get; set; } /// /// Gets or sets the parent. /// /// The parent. - [XmlElement(RedmineKeys.PARENT)] public IdentifiableName Parent { get; set; } /// /// Gets or sets the home page. /// /// The home page. - [XmlElement(RedmineKeys.HOMEPAGE)] public string HomePage { get; set; } /// - /// Gets or sets the created on. + /// Gets the created on. /// /// The created on. - [XmlElement(RedmineKeys.CREATED_ON, IsNullable = true)] - public DateTime? CreatedOn { get; set; } + public DateTime? CreatedOn { get; internal set; } /// - /// Gets or sets the updated on. + /// Gets the updated on. /// /// The updated on. - [XmlElement(RedmineKeys.UPDATED_ON, IsNullable = true)] - public DateTime? UpdatedOn { get; set; } + public DateTime? UpdatedOn { get; internal set; } /// - /// Gets or sets the status. + /// Gets the status. /// /// /// The status. /// - [XmlElement(RedmineKeys.STATUS)] - public ProjectStatus Status { get; set; } + public ProjectStatus Status { get; internal set; } /// /// Gets or sets a value indicating whether this project is public. @@ -87,8 +84,7 @@ public class Project : IdentifiableName, IEquatable /// /// true if this project is public; otherwise, false. /// - /// is exposed since 2.6.0 - [XmlElement(RedmineKeys.IS_PUBLIC)] + /// Available in Redmine starting with 2.6.0 version. public bool IsPublic { get; set; } /// @@ -97,7 +93,6 @@ public class Project : IdentifiableName, IEquatable /// /// true if [inherit members]; otherwise, false. /// - [XmlElement(RedmineKeys.INHERIT_MEMBERS)] public bool InheritMembers { get; set; } /// @@ -106,54 +101,49 @@ public class Project : IdentifiableName, IEquatable /// /// The trackers. /// - [XmlArray(RedmineKeys.TRACKERS)] - [XmlArrayItem(RedmineKeys.TRACKER)] + /// Available in Redmine starting with 2.6.0 version. public IList Trackers { get; set; } /// - /// Gets or sets the custom fields. + /// Gets or sets the enabled modules. /// /// - /// The custom fields. + /// The enabled modules. /// - [XmlArray(RedmineKeys.CUSTOM_FIELDS)] - [XmlArrayItem(RedmineKeys.CUSTOM_FIELD)] - public IList CustomFields { get; set; } + /// Available in Redmine starting with 2.6.0 version. + public IList EnabledModules { get; set; } /// - /// Gets or sets the issue categories. + /// Gets the custom fields. /// /// - /// The issue categories. + /// The custom fields. /// - [XmlArray(RedmineKeys.ISSUE_CATEGORIES)] - [XmlArrayItem(RedmineKeys.ISSUE_CATEGORY)] - public IList IssueCategories { get; internal set; } + public IList CustomFields { get; internal set; } /// - /// since 2.6.0 + /// Gets the issue categories. /// /// - /// The enabled modules. + /// The issue categories. /// - [XmlArray(RedmineKeys.ENABLED_MODULES)] - [XmlArrayItem(RedmineKeys.ENABLED_MODULE)] - public IList EnabledModules { get; set; } + /// Available in Redmine starting with 2.6.0 version. + public IList IssueCategories { get; internal set; } /// - /// + /// Gets the time entry activities. /// - [XmlArray(RedmineKeys.TIME_ENTRY_ACTIVITIES)] - [XmlArrayItem(RedmineKeys.TIME_ENTRY_ACTIVITY)] - public IList TimeEntryActivities { get; internal set; } + /// Available in Redmine starting with 3.4.0 version. + public IList TimeEntryActivities { get; internal set; } + #endregion + #region Implementation of IXmlSerializer /// /// Generates an object from its XML representation. /// - /// The stream from which the object is deserialized. + /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { - if (reader == null) throw new ArgumentNullException(nameof(reader)); reader.Read(); while (!reader.EOF) { @@ -166,37 +156,21 @@ public override void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - - case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; - - case RedmineKeys.IDENTIFIER: Identifier = reader.ReadElementContentAsString(); break; - + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadElementContentAsCollection(); break; case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; - - case RedmineKeys.STATUS: Status = (ProjectStatus)reader.ReadElementContentAsInt(); break; - - case RedmineKeys.PARENT: Parent = new IdentifiableName(reader); break; - + case RedmineKeys.ENABLED_MODULES: EnabledModules = reader.ReadElementContentAsCollection(); break; case RedmineKeys.HOMEPAGE: HomePage = reader.ReadElementContentAsString(); break; - - case RedmineKeys.IS_PUBLIC: IsPublic = reader.ReadElementContentAsBoolean(); break; - + case RedmineKeys.IDENTIFIER: Identifier = reader.ReadElementContentAsString(); break; case RedmineKeys.INHERIT_MEMBERS: InheritMembers = reader.ReadElementContentAsBoolean(); break; - - case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; - - case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadElementContentAsNullableDateTime(); break; - - case RedmineKeys.TRACKERS: Trackers = reader.ReadElementContentAsCollection(); break; - - case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadElementContentAsCollection(); break; - + case RedmineKeys.IS_PUBLIC: IsPublic = reader.ReadElementContentAsBoolean(); break; case RedmineKeys.ISSUE_CATEGORIES: IssueCategories = reader.ReadElementContentAsCollection(); break; - - case RedmineKeys.ENABLED_MODULES: EnabledModules = reader.ReadElementContentAsCollection(); break; - - case RedmineKeys.TIME_ENTRY_ACTIVITIES: TimeEntryActivities = reader.ReadElementContentAsCollection(); break; - + case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; + case RedmineKeys.PARENT: Parent = new IdentifiableName(reader); break; + case RedmineKeys.STATUS: Status = (ProjectStatus)reader.ReadElementContentAsInt(); break; + case RedmineKeys.TIME_ENTRY_ACTIVITIES: TimeEntryActivities = reader.ReadElementContentAsCollection(); break; + case RedmineKeys.TRACKERS: Trackers = reader.ReadElementContentAsCollection(); break; + case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadElementContentAsNullableDateTime(); break; default: reader.Read(); break; } } @@ -207,42 +181,32 @@ public override void ReadXml(XmlReader reader) /// public override void WriteXml(XmlWriter writer) { - if (writer == null) throw new ArgumentNullException(nameof(writer)); writer.WriteElementString(RedmineKeys.NAME, Name); writer.WriteElementString(RedmineKeys.IDENTIFIER, Identifier); - writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); - //writer.WriteElementString(RedmineKeys.INHERIT_MEMBERS, XmlConvert.ToString(InheritMembers)); - writer.WriteElementString(RedmineKeys.IS_PUBLIC, XmlConvert.ToString(IsPublic)); - writer.WriteIdOrEmpty(Parent, RedmineKeys.PARENT_ID); - writer.WriteElementString(RedmineKeys.HOMEPAGE, HomePage); - if (Trackers != null) - { - var trackers = new List(); - foreach (var tracker in Trackers) - { - trackers.Add(tracker as IValue); - } + writer.WriteIfNotDefaultOrNull(RedmineKeys.DESCRIPTION, Description); + writer.WriteIfNotDefaultOrNull(RedmineKeys.INHERIT_MEMBERS, InheritMembers); + writer.WriteIfNotDefaultOrNull(RedmineKeys.IS_PUBLIC, IsPublic); + writer.WriteIfNotDefaultOrNull(RedmineKeys.HOMEPAGE, HomePage); - writer.WriteListElements(trackers, RedmineKeys.TRACKER_IDS); - } + writer.WriteIdIfNotNull(RedmineKeys.PARENT_ID, Parent); - if (EnabledModules != null) - { - var enabledModules = new List(); - foreach (var enabledModule in EnabledModules) - { - enabledModules.Add(enabledModule as IValue); - } + writer.WriteRepeatableElement(RedmineKeys.TRACKER_IDS, (IEnumerable)Trackers); + writer.WriteRepeatableElement(RedmineKeys.ENABLED_MODULE_NAMES, (IEnumerable)EnabledModules); - writer.WriteListElements(enabledModules, RedmineKeys.ENABLED_MODULE_NAMES); + if (Id == 0) + { + writer.WriteRepeatableElement(RedmineKeys.ISSUE_CUSTOM_FIELD_IDS, (IEnumerable)CustomFields); + return; } - if (Id == 0) return; - - writer.WriteArray(CustomFields, RedmineKeys.CUSTOM_FIELDS); + writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); } + #endregion + + + #region Implementation of IEquatable /// /// /// @@ -250,22 +214,27 @@ public override void WriteXml(XmlWriter writer) /// public bool Equals(Project other) { - if (other == null) return false; + if (other == null) + { + return false; + } + return ( Id == other.Id - && Identifier.Equals(other.Identifier, StringComparison.OrdinalIgnoreCase) - && Description.Equals(other.Description, StringComparison.OrdinalIgnoreCase) + && string.Equals(Identifier,other.Identifier, StringComparison.OrdinalIgnoreCase) + && string.Equals(Description,other.Description, StringComparison.OrdinalIgnoreCase) && (Parent != null ? Parent.Equals(other.Parent) : other.Parent == null) - && (HomePage?.Equals(other.HomePage, StringComparison.OrdinalIgnoreCase) ?? other.HomePage == null) + && (HomePage != null ? string.Equals(HomePage,other.HomePage, StringComparison.OrdinalIgnoreCase) : other.HomePage == null) && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn && Status == other.Status && IsPublic == other.IsPublic && InheritMembers == other.InheritMembers - && (Trackers?.Equals(other.Trackers) ?? other.Trackers == null) - && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null) - && (IssueCategories?.Equals(other.IssueCategories) ?? other.IssueCategories == null) - && (EnabledModules?.Equals(other.EnabledModules) ?? other.EnabledModules == null) + && (Trackers != null ? Trackers.Equals(other.Trackers) : other.Trackers == null) + && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) + && (IssueCategories != null ? IssueCategories.Equals(other.IssueCategories) : other.IssueCategories == null) + && (EnabledModules != null ? EnabledModules.Equals(other.EnabledModules) : other.EnabledModules == null) + && (TimeEntryActivities != null ? TimeEntryActivities.Equals(other.TimeEntryActivities) : other.TimeEntryActivities == null) ); } @@ -275,41 +244,45 @@ public bool Equals(Project other) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Identifier, hashCode); - hashCode = HashCodeHelper.GetHashCode(Description, hashCode); - hashCode = HashCodeHelper.GetHashCode(Parent, hashCode); - hashCode = HashCodeHelper.GetHashCode(HomePage, hashCode); - hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(Status, hashCode); - hashCode = HashCodeHelper.GetHashCode(IsPublic, hashCode); - //hashCode = HashCodeHelper.GetHashCode(InheritMembers, hashCode); - hashCode = HashCodeHelper.GetHashCode(Trackers, hashCode); - hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); - hashCode = HashCodeHelper.GetHashCode(IssueCategories, hashCode); - hashCode = HashCodeHelper.GetHashCode(EnabledModules, hashCode); - - return hashCode; - } + unchecked + { + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Identifier, hashCode); + hashCode = HashCodeHelper.GetHashCode(Description, hashCode); + hashCode = HashCodeHelper.GetHashCode(Parent, hashCode); + hashCode = HashCodeHelper.GetHashCode(HomePage, hashCode); + hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(Status, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsPublic, hashCode); + hashCode = HashCodeHelper.GetHashCode(InheritMembers, hashCode); + hashCode = HashCodeHelper.GetHashCode(Trackers, hashCode); + hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); + hashCode = HashCodeHelper.GetHashCode(IssueCategories, hashCode); + hashCode = HashCodeHelper.GetHashCode(EnabledModules, hashCode); + hashCode = HashCodeHelper.GetHashCode(TimeEntryActivities, hashCode); + + return hashCode; + } } + #endregion /// /// /// /// - public override string ToString() - { - return - $"[Project: {base.ToString()}, Identifier={Identifier}, Description={Description}, Parent={Parent}, HomePage={HomePage}, CreatedOn={CreatedOn}, UpdatedOn={UpdatedOn}, Status={Status}, IsPublic={IsPublic}, InheritMembers={InheritMembers}, Trackers={Trackers}, CustomFields={CustomFields}, IssueCategories={IssueCategories}, EnabledModules={EnabledModules}]"; - } + private string DebuggerDisplay => + $@"[Project: {ToString()}, Identifier={Identifier}, Description={Description}, Parent={Parent}, HomePage={HomePage}, +CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, +UpdatedOn={UpdatedOn?.ToString("u", CultureInfo.InvariantCulture)}, +Status={Status.ToString("G")}, +IsPublic={IsPublic.ToString(CultureInfo.InvariantCulture)}, +InheritMembers={InheritMembers.ToString(CultureInfo.InvariantCulture)}, +Trackers={Trackers.Dump()}, +CustomFields={CustomFields.Dump()}, +IssueCategories={IssueCategories.Dump()}, +EnabledModules={EnabledModules.Dump()}, +TimeEntryActivities = {TimeEntryActivities.Dump()}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as Project); - } } } diff --git a/src/redmine-net-api/Types/ProjectEnabledModule.cs b/src/redmine-net-api/Types/ProjectEnabledModule.cs old mode 100755 new mode 100644 index 23e71027..a39d8122 --- a/src/redmine-net-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net-api/Types/ProjectEnabledModule.cs @@ -14,33 +14,55 @@ You may obtain a copy of the License at limitations under the License. */ +using System; +using System.Diagnostics; using System.Xml.Serialization; +using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Types { /// - /// the module name: boards, calendar, documents, files, gantt, issue_tracking, news, repository, time_tracking, wiki. + /// the module name: boards, calendar, documents, files, gant, issue_tracking, news, repository, time_tracking, wiki. /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ENABLED_MODULE)] - public class ProjectEnabledModule : IdentifiableName, IValue + public sealed class ProjectEnabledModule : IdentifiableName, IValue { - #region IValue implementation + #region Ctors /// /// /// - public string Value + public ProjectEnabledModule() { } + + /// + /// + /// + /// + public ProjectEnabledModule(string moduleName) { - get { return Name; } + if (moduleName.IsNullOrWhiteSpace()) + { + throw new ArgumentException(nameof(moduleName)); + } + + Name = moduleName; } #endregion + + #region Implementation of IValue + /// + /// + /// + public string Value => Name; + + #endregion + /// /// /// /// - public override string ToString() - { - return $"[ProjectEnabledModule: {base.ToString()}]"; - } + private string DebuggerDisplay => $"[{nameof(ProjectEnabledModule)}: {ToString()}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/ProjectIssueCategory.cs b/src/redmine-net-api/Types/ProjectIssueCategory.cs old mode 100755 new mode 100644 index 4c4d58c3..b4c9aa0d --- a/src/redmine-net-api/Types/ProjectIssueCategory.cs +++ b/src/redmine-net-api/Types/ProjectIssueCategory.cs @@ -14,6 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ +using System.Diagnostics; using System.Xml.Serialization; namespace Redmine.Net.Api.Types @@ -21,16 +22,26 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ISSUE_CATEGORY)] - public class ProjectIssueCategory : IdentifiableName + public sealed class ProjectIssueCategory : IdentifiableName { + /// + /// + /// + public ProjectIssueCategory() { } + + internal ProjectIssueCategory(int id, string name) + { + Id = id; + Name = name; + } + /// /// /// /// - public override string ToString () - { - return $"[ProjectIssueCategory: {base.ToString()}]"; - } + private string DebuggerDisplay => $"[{nameof(ProjectIssueCategory)}: {ToString()}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs old mode 100755 new mode 100644 index ba41fe57..1cc92014 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -14,10 +14,9 @@ You may obtain a copy of the License at limitations under the License. */ -using System; using System.Collections.Generic; +using System.Diagnostics; using System.Xml; -using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -26,20 +25,23 @@ namespace Redmine.Net.Api.Types { /// /// Availability 1.4 + /// + /// /// POST - Adds a project member. /// GET - Returns the membership of given :id. /// PUT - Updates the membership of given :id. Only the roles can be updated, the project and the user of a membership are read-only. /// DELETE - Deletes a memberships. Memberships inherited from a group membership can not be deleted. You must delete the group membership. - /// + /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.MEMBERSHIP)] - public class ProjectMembership : Identifiable, IEquatable, IXmlSerializable + public sealed class ProjectMembership : Identifiable { + #region Properties /// /// Gets or sets the project. /// /// The project. - [XmlElement(RedmineKeys.PROJECT)] - public IdentifiableName Project { get; set; } + public IdentifiableName Project { get; internal set; } /// /// Gets or sets the user. @@ -47,7 +49,6 @@ public class ProjectMembership : Identifiable, IEquatable /// The user. /// - [XmlElement(RedmineKeys.USER)] public IdentifiableName User { get; set; } /// @@ -56,45 +57,22 @@ public class ProjectMembership : Identifiable, IEquatable /// The group. /// - [XmlElement(RedmineKeys.GROUP)] - public IdentifiableName Group { get; set; } + public IdentifiableName Group { get; internal set; } /// /// Gets or sets the type. /// /// The type. - [XmlArray(RedmineKeys.ROLES)] - [XmlArrayItem(RedmineKeys.ROLE)] - public List Roles { get; set; } - - /// - /// - /// - /// - /// - public bool Equals(ProjectMembership other) - { - if (other == null) return false; - return (Id == other.Id - && Project.Equals(other.Project) - && Roles.Equals(other.Roles) - && (User != null ? User.Equals(other.User) : other.User == null) - && (Group != null ? Group.Equals(other.Group) : other.Group == null)); - } - - /// - /// - /// - /// - public XmlSchema GetSchema() { return null; } + public IList Roles { get; set; } + #endregion + #region Implementation of IXmlSerialization /// /// /// /// - public void ReadXml(XmlReader reader) + public override void ReadXml(XmlReader reader) { - if (reader == null) throw new ArgumentNullException(nameof(reader)); reader.Read(); while (!reader.EOF) { @@ -107,15 +85,10 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - - case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; - - case RedmineKeys.USER: User = new IdentifiableName(reader); break; - case RedmineKeys.GROUP: Group = new IdentifiableName(reader); break; - + case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; case RedmineKeys.ROLES: Roles = reader.ReadElementContentAsCollection(); break; - + case RedmineKeys.USER: User = new IdentifiableName(reader); break; default: reader.Read(); break; } } @@ -125,10 +98,29 @@ public void ReadXml(XmlReader reader) /// /// /// - public void WriteXml(XmlWriter writer) + public override void WriteXml(XmlWriter writer) + { + writer.WriteIdIfNotNull(RedmineKeys.USER_ID, User); + writer.WriteArray(RedmineKeys.ROLE_IDS, Roles, typeof(MembershipRole), RedmineKeys.ROLE_ID); + } + #endregion + + + + #region Implementation of IEquatable + /// + /// + /// + /// + /// + public override bool Equals(ProjectMembership other) { - writer.WriteIdIfNotNull(User, RedmineKeys.USER_ID); - writer.WriteArray(Roles, RedmineKeys.ROLE_IDS, typeof(MembershipRole), RedmineKeys.ROLE_ID); + if (other == null) return false; + return (Id == other.Id + && Project.Equals(other.Project) + && Roles.Equals(other.Roles) + && (User != null ? User.Equals(other.User) : other.User == null) + && (Group != null ? Group.Equals(other.Group) : other.Group == null)); } /// @@ -147,21 +139,13 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return - $"[ProjectMembership: {base.ToString()}, Project={Project}, User={User}, Group={Group}, Roles={Roles}]"; - } + private string DebuggerDisplay => $"[{nameof(ProjectMembership)}: {ToString()}, Project={Project}, User={User}, Group={Group}, Roles={Roles.Dump()}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as ProjectMembership); - } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs new file mode 100644 index 00000000..43251a43 --- /dev/null +++ b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs @@ -0,0 +1,31 @@ +using System.Diagnostics; +using System.Xml.Serialization; + +namespace Redmine.Net.Api.Types +{ + /// + /// + /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [XmlRoot(RedmineKeys.TIME_ENTRY_ACTIVITY)] + public sealed class ProjectTimeEntryActivity : IdentifiableName + { + /// + /// + /// + public ProjectTimeEntryActivity() { } + + internal ProjectTimeEntryActivity(int id, string name) + { + Id = id; + Name = name; + } + + /// + /// + /// + /// + private string DebuggerDisplay => $"[{nameof(ProjectTimeEntryActivity)}: {ToString()}]"; + + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs old mode 100755 new mode 100644 index ccd5d6e5..95e60de2 --- a/src/redmine-net-api/Types/ProjectTracker.cs +++ b/src/redmine-net-api/Types/ProjectTracker.cs @@ -14,6 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ +using System.Diagnostics; using System.Globalization; using System.Xml.Serialization; @@ -22,21 +23,49 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.TRACKER)] - public class ProjectTracker : IdentifiableName, IValue + public sealed class ProjectTracker : IdentifiableName, IValue { /// /// /// - public string Value{get{return Id.ToString (CultureInfo.InvariantCulture);}} + public ProjectTracker() { } + + /// + /// + /// + /// the tracker id: 1 for Bug, etc. + /// + public ProjectTracker(int trackerId, string name) + { + Id = trackerId; + Name = name; + } + + /// + /// + /// + /// + internal ProjectTracker(int trackerId) + { + Id = trackerId; + } + + #region Implementation of IValue + + /// + /// + /// + public string Value => Id.ToString(CultureInfo.InvariantCulture); + + #endregion /// /// /// /// - public override string ToString () - { - return $"[ProjectTracker: {base.ToString()}]"; - } + private string DebuggerDisplay => $"[{nameof(ProjectTracker)}: {ToString()}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Query.cs b/src/redmine-net-api/Types/Query.cs old mode 100755 new mode 100644 index cfb93812..0c70a40a --- a/src/redmine-net-api/Types/Query.cs +++ b/src/redmine-net-api/Types/Query.cs @@ -15,6 +15,8 @@ limitations under the License. */ using System; +using System.Diagnostics; +using System.Globalization; using System.Xml; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; @@ -25,23 +27,25 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.3 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.QUERY)] - public class Query : IdentifiableName, IEquatable + public sealed class Query : IdentifiableName, IEquatable { + #region Properties /// - /// Gets or sets a value indicating whether this instance is public. + /// Gets a value indicating whether this instance is public. /// /// true if this instance is public; otherwise, false. - [XmlElement(RedmineKeys.IS_PUBLIC)] - public bool IsPublic { get; set; } + public bool IsPublic { get; internal set; } /// - /// Gets or sets the project id. + /// Gets the project id. /// /// The project id. - [XmlElement(RedmineKeys.PROJECT_ID)] - public int? ProjectId { get; set; } + public int? ProjectId { get; internal set; } + #endregion + #region Implementation of IXmlSerialization /// /// /// @@ -60,24 +64,18 @@ public override void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - - case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; - case RedmineKeys.IS_PUBLIC: IsPublic = reader.ReadElementContentAsBoolean(); break; - + case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; case RedmineKeys.PROJECT_ID: ProjectId = reader.ReadElementContentAsNullableInt(); break; - default: reader.Read(); break; } } } + #endregion - /// - /// - /// - /// - public override void WriteXml(XmlWriter writer) { } + + #region Implementation of IEquatable /// /// /// @@ -106,20 +104,13 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return $"[Query: {base.ToString()}, IsPublic={IsPublic}, ProjectId={ProjectId}]"; - } + private string DebuggerDisplay => $"[{nameof(Query)}: {ToString()}, IsPublic={IsPublic.ToString(CultureInfo.InvariantCulture)}, ProjectId={ProjectId?.ToString(CultureInfo.InvariantCulture)}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as Query); - } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs old mode 100755 new mode 100644 index 1030089e..777e9566 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -16,6 +16,7 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Diagnostics; using System.Xml; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; @@ -26,26 +27,27 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.4 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ROLE)] - public class Role : IdentifiableName, IEquatable + public sealed class Role : IdentifiableName, IEquatable { + #region Properties /// - /// Gets or sets the permissions. + /// Gets the permissions. /// /// /// The issue relations. /// - [XmlArray(RedmineKeys.PERMISSIONS)] - [XmlArrayItem(RedmineKeys.PERMISSION)] public IList Permissions { get; internal set; } + #endregion + #region Implementation of IXmlSerialization /// /// /// /// public override void ReadXml(XmlReader reader) { - if (reader == null) throw new ArgumentNullException(nameof(reader)); reader.Read(); while (!reader.EOF) { @@ -58,22 +60,17 @@ public override void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; - case RedmineKeys.PERMISSIONS: Permissions = reader.ReadElementContentAsCollection(); break; - default: reader.Read(); break; } } } + #endregion - /// - /// - /// - /// - public override void WriteXml(XmlWriter writer) { } + + #region Implementation of IEquatable /// /// /// @@ -113,14 +110,13 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return $"[Role: Id={Id}, Name={Name}, Permissions={Permissions}]"; - } + private string DebuggerDisplay => $"[{nameof(Role)}: {ToString()}, Permissions={Permissions}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index 59ce33b4..348642fd 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -16,8 +16,9 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Diagnostics; +using System.Globalization; using System.Xml; -using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -28,109 +29,86 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.1 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.TIME_ENTRY)] - public class TimeEntry : Identifiable, ICloneable, IEquatable, IXmlSerializable + public sealed class TimeEntry : Identifiable, ICloneable { + #region Properties private string comments; /// /// Gets or sets the issue id to log time on. /// /// The issue id. - [XmlAttribute(RedmineKeys.ISSUE)] public IdentifiableName Issue { get; set; } /// /// Gets or sets the project id to log time on. /// /// The project id. - [XmlAttribute(RedmineKeys.PROJECT)] public IdentifiableName Project { get; set; } /// /// Gets or sets the date the time was spent (default to the current date). /// /// The spent on. - [XmlAttribute(RedmineKeys.SPENT_ON)] public DateTime? SpentOn { get; set; } /// /// Gets or sets the number of spent hours. /// /// The hours. - [XmlAttribute(RedmineKeys.HOURS)] public decimal Hours { get; set; } /// - /// Gets or sets the activity id of the time activity. This parameter is required unless a default activity is defined in Redmine.. + /// Gets or sets the activity id of the time activity. This parameter is required unless a default activity is defined in Redmine. /// /// The activity id. - [XmlAttribute(RedmineKeys.ACTIVITY)] public IdentifiableName Activity { get; set; } /// - /// Gets or sets the user. + /// Gets the user. /// /// /// The user. /// - [XmlAttribute(RedmineKeys.USER)] - public IdentifiableName User { get; set; } + public IdentifiableName User { get; internal set; } /// /// Gets or sets the short description for the entry (255 characters max). /// /// The comments. - [XmlAttribute(RedmineKeys.COMMENTS)] public string Comments { - get { return comments; } - set { comments = value.Truncate(255); } + get => comments; + set => comments = value.Truncate(255); } /// - /// Gets or sets the created on. + /// Gets the created on. /// /// The created on. - [XmlElement(RedmineKeys.CREATED_ON)] - public DateTime? CreatedOn { get; set; } + public DateTime? CreatedOn { get; internal set; } /// - /// Gets or sets the updated on. + /// Gets the updated on. /// /// The updated on. - [XmlElement(RedmineKeys.UPDATED_ON)] - public DateTime? UpdatedOn { get; set; } + public DateTime? UpdatedOn { get; internal set; } /// /// Gets or sets the custom fields. /// /// The custom fields. - [XmlArray(RedmineKeys.CUSTOM_FIELDS)] - [XmlArrayItem(RedmineKeys.CUSTOM_FIELD)] - public IList CustomFields { get; internal set; } - - /// - /// - /// - /// - public object Clone() - { - var timeEntry = new TimeEntry { Activity = Activity, Comments = Comments, Hours = Hours, Issue = Issue, Project = Project, SpentOn = SpentOn, User = User, CustomFields = CustomFields }; - return timeEntry; - } - - /// - /// - /// - /// - public XmlSchema GetSchema() { return null; } + public IList CustomFields { get; set; } + #endregion + #region Implementation of IXmlSerialization /// /// /// /// - public void ReadXml(XmlReader reader) + public override void ReadXml(XmlReader reader) { reader.Read(); while (!reader.EOF) @@ -144,33 +122,19 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - + case RedmineKeys.ACTIVITY: Activity = new IdentifiableName(reader); break; + case RedmineKeys.ACTIVITY_ID: Activity = new IdentifiableName(reader); break; + case RedmineKeys.COMMENTS: Comments = reader.ReadElementContentAsString(); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadElementContentAsCollection(); break; + case RedmineKeys.HOURS: Hours = reader.ReadElementContentAsDecimal(); break; case RedmineKeys.ISSUE_ID: Issue = new IdentifiableName(reader); break; - case RedmineKeys.ISSUE: Issue = new IdentifiableName(reader); break; - - case RedmineKeys.PROJECT_ID: Project = new IdentifiableName(reader); break; - case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; - + case RedmineKeys.PROJECT_ID: Project = new IdentifiableName(reader); break; case RedmineKeys.SPENT_ON: SpentOn = reader.ReadElementContentAsNullableDateTime(); break; - - case RedmineKeys.USER: User = new IdentifiableName(reader); break; - - case RedmineKeys.HOURS: Hours = reader.ReadElementContentAsDecimal(); break; - - case RedmineKeys.ACTIVITY_ID: Activity = new IdentifiableName(reader); break; - - case RedmineKeys.ACTIVITY: Activity = new IdentifiableName(reader); break; - - case RedmineKeys.COMMENTS: Comments = reader.ReadElementContentAsString(); break; - - case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; - case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadElementContentAsNullableDateTime(); break; - - case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadElementContentAsCollection(); break; - + case RedmineKeys.USER: User = new IdentifiableName(reader); break; default: reader.Read(); break; } } @@ -180,28 +144,27 @@ public void ReadXml(XmlReader reader) /// /// /// - public void WriteXml(XmlWriter writer) + public override void WriteXml(XmlWriter writer) { - writer.WriteIdIfNotNull(Issue, RedmineKeys.ISSUE_ID); - writer.WriteIdIfNotNull(Project, RedmineKeys.PROJECT_ID); - - if (!SpentOn.HasValue) - SpentOn = DateTime.Now; - - writer.WriteDateOrEmpty(SpentOn, RedmineKeys.SPENT_ON); - writer.WriteValueOrEmpty(Hours, RedmineKeys.HOURS); - writer.WriteIdIfNotNull(Activity, RedmineKeys.ACTIVITY_ID); + writer.WriteIdIfNotNull(RedmineKeys.ISSUE_ID, Issue); + writer.WriteIdIfNotNull(RedmineKeys.PROJECT_ID, Project); + writer.WriteDateOrEmpty(RedmineKeys.SPENT_ON, SpentOn.GetValueOrDefault(DateTime.Now)); + writer.WriteValueOrEmpty(RedmineKeys.HOURS, Hours); + writer.WriteIdIfNotNull(RedmineKeys.ACTIVITY_ID, Activity); writer.WriteElementString(RedmineKeys.COMMENTS, Comments); - - writer.WriteArray(CustomFields, RedmineKeys.CUSTOM_FIELDS); + writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); } + #endregion + + + #region Implementation of IEquatable /// /// /// /// /// - public bool Equals(TimeEntry other) + public override bool Equals(TimeEntry other) { if (other == null) return false; return (Id == other.Id @@ -214,7 +177,7 @@ public bool Equals(TimeEntry other) && User == other.User && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn - && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null)); + && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null)); } /// @@ -239,21 +202,47 @@ public override int GetHashCode() return hashCode; } } + #endregion + #region Implementation of ICloneable /// /// /// /// - public override string ToString() + public object Clone() { - return - $"[TimeEntry: {base.ToString()}, Issue={Issue}, Project={Project}, SpentOn={SpentOn}, Hours={Hours}, Activity={Activity}, User={User}, Comments={Comments}, CreatedOn={CreatedOn}, UpdatedOn={UpdatedOn}, CustomFields={CustomFields}]"; + var timeEntry = new TimeEntry + { + Activity = Activity + , + Comments = Comments + , + Hours = Hours + , + Issue = Issue, + Project = Project, + SpentOn = SpentOn, + User = User, + CustomFields = CustomFields + }; + return timeEntry; } + #endregion + + /// + /// + /// + /// + private string DebuggerDisplay => + $@"[{nameof(TimeEntry)}: {ToString()}, Issue={Issue}, Project={Project}, +SpentOn={SpentOn?.ToString("u", CultureInfo.InvariantCulture)}, +Hours={Hours.ToString("F", CultureInfo.InvariantCulture)}, +Activity={Activity}, +User={User}, +Comments={Comments}, +CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, +UpdatedOn={UpdatedOn?.ToString("u", CultureInfo.InvariantCulture)}, +CustomFields={CustomFields.Dump()}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as TimeEntry); - } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs old mode 100755 new mode 100644 index 2c6a9f12..8a00d9d7 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -15,6 +15,8 @@ limitations under the License. */ using System; +using System.Diagnostics; +using System.Globalization; using System.Xml; using System.Xml.Serialization; using Redmine.Net.Api.Internals; @@ -24,21 +26,34 @@ namespace Redmine.Net.Api.Types /// /// Availability 2.2 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.TIME_ENTRY_ACTIVITY)] - public class TimeEntryActivity : IdentifiableName, IEquatable + public sealed class TimeEntryActivity : IdentifiableName, IEquatable { + #region Properties /// /// /// - [XmlElement(RedmineKeys.IS_DEFAULT)] - public bool IsDefault { get; set; } + public TimeEntryActivity() { } + + internal TimeEntryActivity(int id, string name) + { + Id = id; + Name = name; + } + + /// + /// + /// + public bool IsDefault { get; internal set; } + #endregion #region Implementation of IXmlSerializable /// /// Generates an object from its XML representation. /// - /// The stream from which the object is deserialized. + /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { reader.Read(); @@ -53,11 +68,8 @@ public override void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - - case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; - case RedmineKeys.IS_DEFAULT: IsDefault = reader.ReadElementContentAsBoolean(); break; - + case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; default: reader.Read(); break; } } @@ -71,6 +83,8 @@ public override void WriteXml(XmlWriter writer) { } #endregion + + #region Implementation of IEquatable /// @@ -120,9 +134,7 @@ public override int GetHashCode() /// /// /// - public override string ToString() - { - return $"[TimeEntryActivity: Id={Id}, Name={Name}, IsDefault={IsDefault}]"; - } + private string DebuggerDisplay => $"[{nameof(TimeEntryActivity)}:{ToString()}, IsDefault={IsDefault.ToString(CultureInfo.InvariantCulture)}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs old mode 100755 new mode 100644 index 74d1c5c2..6d0dea10 --- a/src/redmine-net-api/Types/Tracker.cs +++ b/src/redmine-net-api/Types/Tracker.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Diagnostics; using System.Xml; using System.Xml.Serialization; using Redmine.Net.Api.Internals; @@ -24,18 +25,15 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.3 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.TRACKER)] public class Tracker : IdentifiableName, IEquatable { - /// - /// - /// - public override void WriteXml(XmlWriter writer) { } - + #region Implementation of IXmlSerialization /// /// Generates an object from its XML representation. /// - /// The stream from which the object is deserialized. + /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { reader.Read(); @@ -50,14 +48,16 @@ public override void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; - default: reader.Read(); break; } } } + #endregion + + + #region Implementation of IEquatable /// /// Indicates whether the current object is equal to another object of the same type. /// @@ -99,14 +99,13 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return $"[Tracker: Id={Id}, Name={Name}]"; - } + private string DebuggerDisplay => $"[{nameof(Tracker)}: {base.ToString()}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/TrackerCustomField.cs b/src/redmine-net-api/Types/TrackerCustomField.cs old mode 100755 new mode 100644 index 2ce4ba12..c7370915 --- a/src/redmine-net-api/Types/TrackerCustomField.cs +++ b/src/redmine-net-api/Types/TrackerCustomField.cs @@ -14,6 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ +using System.Diagnostics; using System.Xml; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; @@ -23,9 +24,11 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.TRACKER)] - public class TrackerCustomField : Tracker + public sealed class TrackerCustomField : Tracker { + #region Implementation of IXmlSerialization /// /// /// @@ -36,14 +39,15 @@ public override void ReadXml(XmlReader reader) Name = reader.GetAttribute(RedmineKeys.NAME); reader.Read(); } + #endregion + + /// /// /// /// - public override string ToString () - { - return $"[TrackerCustomField: {base.ToString()}]"; - } + private string DebuggerDisplay => $"[{nameof(TrackerCustomField)}: {ToString()}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs old mode 100755 new mode 100644 index 59540fb7..03c44f2c --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -15,6 +15,8 @@ limitations under the License. */ using System; +using System.Diagnostics; +using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Internals; @@ -24,14 +26,15 @@ namespace Redmine.Net.Api.Types /// /// Support for adding attachments through the REST API is added in Redmine 1.4.0. /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.UPLOAD)] - public class Upload : IEquatable + public sealed class Upload : IXmlSerializable, IEquatable { + #region Properties /// /// Gets or sets the uploaded token. /// /// The name of the file. - [XmlElement(RedmineKeys.TOKEN)] public string Token { get; set; } /// @@ -39,29 +42,70 @@ public class Upload : IEquatable /// Maximum allowed file size (1024000). /// /// The name of the file. - [XmlElement(RedmineKeys.FILENAME)] public string FileName { get; set; } /// /// Gets or sets the name of the file. /// /// The name of the file. - [XmlElement(RedmineKeys.CONTENT_TYPE)] public string ContentType { get; set; } /// /// Gets or sets the file description. (Undocumented feature) /// /// The file descroütopm. - [XmlElement(RedmineKeys.DESCRIPTION)] public string Description { get; set; } + #endregion + #region Implementation of IXmlSerialization /// /// /// /// - public static XmlSchema GetSchema() { return null; } + public XmlSchema GetSchema() { return null; } + /// + /// + /// + /// + public void ReadXml(XmlReader reader) + { + reader.Read(); + while (!reader.EOF) + { + if (reader.IsEmptyElement && !reader.HasAttributes) + { + reader.Read(); + continue; + } + + switch (reader.Name) + { + case RedmineKeys.CONTENT_TYPE: ContentType = reader.ReadElementContentAsString(); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; + case RedmineKeys.FILENAME: FileName = reader.ReadElementContentAsString(); break; + case RedmineKeys.TOKEN: Token = reader.ReadElementContentAsString(); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public void WriteXml(XmlWriter writer) + { + writer.WriteElementString(RedmineKeys.TOKEN, Token); + writer.WriteElementString(RedmineKeys.CONTENT_TYPE, ContentType); + writer.WriteElementString(RedmineKeys.FILENAME, FileName); + writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); + } + #endregion + + + + #region Implementation of IEquatable /// /// Indicates whether the current object is equal to another object of the same type. /// @@ -72,10 +116,10 @@ public class Upload : IEquatable public bool Equals(Upload other) { return other != null - && Token.Equals(other.Token, StringComparison.OrdinalIgnoreCase) - && FileName.Equals(other.FileName, StringComparison.OrdinalIgnoreCase) - && Description.Equals(other.Description, StringComparison.OrdinalIgnoreCase) - && ContentType.Equals(other.ContentType, StringComparison.OrdinalIgnoreCase); + && string.Equals(Token,other.Token, StringComparison.OrdinalIgnoreCase) + && string.Equals(FileName,other.FileName, StringComparison.OrdinalIgnoreCase) + && string.Equals(Description,other.Description, StringComparison.OrdinalIgnoreCase) + && string.Equals(ContentType,other.ContentType, StringComparison.OrdinalIgnoreCase); } /// @@ -107,15 +151,13 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return - $"[Upload: Token={Token}, FileName={FileName}, ContentType={ContentType}, Description={Description}]"; - } + private string DebuggerDisplay => $"[Upload: Token={Token}, FileName={FileName}, ContentType={ContentType}, Description={Description}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index 5471206c..35ab0f25 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -16,9 +16,9 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Diagnostics; using System.Globalization; using System.Xml; -using System.Xml.Schema; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -28,42 +28,39 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.1 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.USER)] - public class User : Identifiable, IXmlSerializable, IEquatable + public sealed class User : Identifiable { + #region Properties /// /// Gets or sets the user login. /// /// The login. - [XmlElement(RedmineKeys.LOGIN)] - public string Login { get; set; } + public string Login { get; internal set; } /// /// Gets or sets the user password. /// /// The password. - [XmlElement(RedmineKeys.PASSWORD)] public string Password { get; set; } /// /// Gets or sets the first name. /// /// The first name. - [XmlElement(RedmineKeys.FIRSTNAME)] public string FirstName { get; set; } /// /// Gets or sets the last name. /// /// The last name. - [XmlElement(RedmineKeys.LASTNAME)] public string LastName { get; set; } /// /// Gets or sets the email. /// /// The email. - [XmlElement(RedmineKeys.MAIL)] public string Email { get; set; } /// @@ -72,47 +69,39 @@ public class User : Identifiable, IXmlSerializable, IEquatable /// /// The authentication mode id. /// - [XmlElement(RedmineKeys.AUTH_SOURCE_ID, IsNullable = true)] public int? AuthenticationModeId { get; set; } /// /// Gets or sets the created on. /// /// The created on. - [XmlElement(RedmineKeys.CREATED_ON, IsNullable = true)] - public DateTime? CreatedOn { get; set; } + public DateTime? CreatedOn { get; internal set; } /// - /// Gets or sets the last login on. + /// Gets the last login on. /// /// The last login on. - [XmlElement(RedmineKeys.LAST_LOGIN_ON, IsNullable = true)] - public DateTime? LastLoginOn { get; set; } + public DateTime? LastLoginOn { get; internal set; } /// /// Gets the API key of the user, visible for admins and for yourself (added in 2.3.0) /// - [XmlElement(RedmineKeys.API_KEY, IsNullable = true)] - public string ApiKey { get; set; } + public string ApiKey { get; internal set; } /// /// Gets the status of the user, visible for admins only (added in 2.4.0) /// - [XmlElement(RedmineKeys.STATUS, IsNullable = true)] public UserStatus Status { get; set; } /// /// /// - [XmlElement(RedmineKeys.MUST_CHANGE_PASSWD, IsNullable = true)] public bool MustChangePassword { get; set; } /// /// Gets or sets the custom fields. /// /// The custom fields. - [XmlArray(RedmineKeys.CUSTOM_FIELDS)] - [XmlArrayItem(RedmineKeys.CUSTOM_FIELD)] public List CustomFields { get; set; } /// @@ -121,8 +110,6 @@ public class User : Identifiable, IXmlSerializable, IEquatable /// /// The memberships. /// - [XmlArray(RedmineKeys.MEMBERSHIPS)] - [XmlArrayItem(RedmineKeys.MEMBERSHIP)] public List Memberships { get; internal set; } /// @@ -131,8 +118,6 @@ public class User : Identifiable, IXmlSerializable, IEquatable /// /// The groups. /// - [XmlArray(RedmineKeys.GROUPS)] - [XmlArrayItem(RedmineKeys.GROUP)] public List Groups { get; internal set; } /// @@ -141,23 +126,15 @@ public class User : Identifiable, IXmlSerializable, IEquatable /// /// only_my_events, only_assigned, [...] /// - [XmlElement(RedmineKeys.MAIL_NOTIFICATION)] public string MailNotification { get; set; } + #endregion - /// - /// - /// - /// - public XmlSchema GetSchema() - { - return null; - } - + #region Implementation of IXmlSerialization /// /// /// /// - public void ReadXml(XmlReader reader) + public override void ReadXml(XmlReader reader) { reader.Read(); while (!reader.EOF) @@ -171,35 +148,20 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - - case RedmineKeys.LOGIN: Login = reader.ReadElementContentAsString(); break; - + case RedmineKeys.API_KEY: ApiKey = reader.ReadElementContentAsString(); break; + case RedmineKeys.AUTH_SOURCE_ID: AuthenticationModeId = reader.ReadElementContentAsNullableInt(); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadElementContentAsCollection(); break; case RedmineKeys.FIRSTNAME: FirstName = reader.ReadElementContentAsString(); break; - + case RedmineKeys.GROUPS: Groups = reader.ReadElementContentAsCollection(); break; + case RedmineKeys.LAST_LOGIN_ON: LastLoginOn = reader.ReadElementContentAsNullableDateTime(); break; case RedmineKeys.LASTNAME: LastName = reader.ReadElementContentAsString(); break; - + case RedmineKeys.LOGIN: Login = reader.ReadElementContentAsString(); break; case RedmineKeys.MAIL: Email = reader.ReadElementContentAsString(); break; - case RedmineKeys.MAIL_NOTIFICATION: MailNotification = reader.ReadElementContentAsString(); break; - - case RedmineKeys.MUST_CHANGE_PASSWD: MustChangePassword = reader.ReadElementContentAsBoolean(); break; - - case RedmineKeys.AUTH_SOURCE_ID: AuthenticationModeId = reader.ReadElementContentAsNullableInt(); break; - - case RedmineKeys.LAST_LOGIN_ON: LastLoginOn = reader.ReadElementContentAsNullableDateTime(); break; - - case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; - - case RedmineKeys.API_KEY: ApiKey = reader.ReadElementContentAsString(); break; - - case RedmineKeys.STATUS: Status = (UserStatus)reader.ReadElementContentAsInt(); break; - - case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadElementContentAsCollection(); break; - case RedmineKeys.MEMBERSHIPS: Memberships = reader.ReadElementContentAsCollection(); break; - - case RedmineKeys.GROUPS: Groups = reader.ReadElementContentAsCollection(); break; - + case RedmineKeys.MUST_CHANGE_PASSWORD: MustChangePassword = reader.ReadElementContentAsBoolean(); break; + case RedmineKeys.STATUS: Status = (UserStatus)reader.ReadElementContentAsInt(); break; default: reader.Read(); break; } } @@ -209,60 +171,48 @@ public void ReadXml(XmlReader reader) /// /// /// - public void WriteXml(XmlWriter writer) + public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.LOGIN, Login); writer.WriteElementString(RedmineKeys.FIRSTNAME, FirstName); writer.WriteElementString(RedmineKeys.LASTNAME, LastName); writer.WriteElementString(RedmineKeys.MAIL, Email); - if(!string.IsNullOrEmpty(MailNotification)) - { - writer.WriteElementString(RedmineKeys.MAIL_NOTIFICATION, MailNotification); - } - - if (!string.IsNullOrEmpty(Password)) - { - writer.WriteElementString(RedmineKeys.PASSWORD, Password); - } - - if(AuthenticationModeId.HasValue) - { - writer.WriteValueOrEmpty(AuthenticationModeId, RedmineKeys.AUTH_SOURCE_ID); - } - - writer.WriteElementString(RedmineKeys.MUST_CHANGE_PASSWD, XmlConvert.ToString(MustChangePassword)); + writer.WriteElementString(RedmineKeys.MAIL_NOTIFICATION, MailNotification); + writer.WriteElementString(RedmineKeys.PASSWORD, Password); + writer.WriteValueOrEmpty(RedmineKeys.AUTH_SOURCE_ID, AuthenticationModeId); + writer.WriteElementString(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword.ToString().ToLowerInvariant()); writer.WriteElementString(RedmineKeys.STATUS, ((int)Status).ToString(CultureInfo.InvariantCulture)); - if(CustomFields != null) - { - writer.WriteArray(CustomFields, RedmineKeys.CUSTOM_FIELDS); - } + writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); } + #endregion + + + #region Implementation of IEquatable /// /// /// /// /// - public bool Equals(User other) + public override bool Equals(User other) { if (other == null) return false; return ( Id == other.Id - && Login.Equals(other.Login, StringComparison.OrdinalIgnoreCase) - //&& Password.Equals(other.Password) - && FirstName.Equals(other.FirstName, StringComparison.OrdinalIgnoreCase) - && LastName.Equals(other.LastName, StringComparison.OrdinalIgnoreCase) - && Email.Equals(other.Email, StringComparison.OrdinalIgnoreCase) - && MailNotification.Equals(other.MailNotification, StringComparison.OrdinalIgnoreCase) - && (ApiKey?.Equals(other.ApiKey, StringComparison.OrdinalIgnoreCase) ?? other.ApiKey == null) + && string.Equals(Login,other.Login, StringComparison.OrdinalIgnoreCase) + && string.Equals(FirstName,other.FirstName, StringComparison.OrdinalIgnoreCase) + && string.Equals(LastName,other.LastName, StringComparison.OrdinalIgnoreCase) + && string.Equals(Email,other.Email, StringComparison.OrdinalIgnoreCase) + && string.Equals(MailNotification,other.MailNotification, StringComparison.OrdinalIgnoreCase) + && (ApiKey != null ? string.Equals(ApiKey,other.ApiKey, StringComparison.OrdinalIgnoreCase) : other.ApiKey == null) && AuthenticationModeId == other.AuthenticationModeId && CreatedOn == other.CreatedOn && LastLoginOn == other.LastLoginOn && Status == other.Status && MustChangePassword == other.MustChangePassword - && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null) - && (Memberships?.Equals(other.Memberships) ?? other.Memberships == null) - && (Groups?.Equals(other.Groups) ?? other.Groups == null) + && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) + && (Memberships != null ? Memberships.Equals(other.Memberships) : other.Memberships == null) + && (Groups != null ? Groups.Equals(other.Groups) : other.Groups == null) ); } @@ -293,21 +243,24 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return - $"[User: {Groups}, Login={Login}, Password={Password}, FirstName={FirstName}, LastName={LastName}, Email={Email}, EmailNotification={MailNotification}, AuthenticationModeId={AuthenticationModeId}, CreatedOn={CreatedOn}, LastLoginOn={LastLoginOn}, ApiKey={ApiKey}, Status={Status}, MustChangePassword={MustChangePassword}, CustomFields={CustomFields}, Memberships={Memberships}, Groups={Groups}]"; - } + private string DebuggerDisplay => + $@"[{nameof(User)}: {Groups}, Login={Login}, Password={Password}, FirstName={FirstName}, LastName={LastName}, Email={Email}, +EmailNotification={MailNotification}, +AuthenticationModeId={AuthenticationModeId?.ToString(CultureInfo.InvariantCulture)}, +CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, +LastLoginOn={LastLoginOn?.ToString("u", CultureInfo.InvariantCulture)}, +ApiKey={ApiKey}, +Status={Status.ToString("G")}, +MustChangePassword={MustChangePassword.ToString(CultureInfo.InvariantCulture)}, +CustomFields={CustomFields.Dump()}, +Memberships={Memberships.Dump()}, +Groups={Groups.Dump()}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as User); - } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/UserGroup.cs b/src/redmine-net-api/Types/UserGroup.cs old mode 100755 new mode 100644 index f38211be..5b3538b1 --- a/src/redmine-net-api/Types/UserGroup.cs +++ b/src/redmine-net-api/Types/UserGroup.cs @@ -14,6 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ +using System.Diagnostics; using System.Xml.Serialization; namespace Redmine.Net.Api.Types @@ -21,16 +22,15 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.GROUP)] - public class UserGroup : IdentifiableName + public sealed class UserGroup : IdentifiableName { /// /// /// /// - public override string ToString () - { - return $"[UserGroup: {base.ToString()}]"; - } + private string DebuggerDisplay => $"[{nameof(UserGroup)}: {ToString()}]"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/UserStatus.cs b/src/redmine-net-api/Types/UserStatus.cs old mode 100755 new mode 100644 diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs old mode 100755 new mode 100644 index 238a6214..dffbb4cb --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -16,6 +16,7 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Diagnostics; using System.Globalization; using System.Xml; using System.Xml.Serialization; @@ -27,66 +28,66 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.3 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.VERSION)] - public class Version : IdentifiableName, IEquatable + public sealed class Version : Identifiable { + #region Properties /// - /// Gets or sets the project. + /// Gets or sets the name. + /// + public string Name { get; set; } + + /// + /// Gets the project. /// /// The project. - [XmlElement(RedmineKeys.PROJECT)] - public IdentifiableName Project { get; set; } + public IdentifiableName Project { get; internal set; } /// /// Gets or sets the description. /// /// The description. - [XmlElement(RedmineKeys.DESCRIPTION)] public string Description { get; set; } /// /// Gets or sets the status. /// /// The status. - [XmlElement(RedmineKeys.STATUS)] public VersionStatus Status { get; set; } /// /// Gets or sets the due date. /// /// The due date. - [XmlElement(RedmineKeys.DUE_DATE, IsNullable = true)] public DateTime? DueDate { get; set; } /// /// Gets or sets the sharing. /// /// The sharing. - [XmlElement(RedmineKeys.SHARING)] public VersionSharing Sharing { get; set; } /// - /// Gets or sets the created on. + /// Gets the created on. /// /// The created on. - [XmlElement(RedmineKeys.CREATED_ON, IsNullable = true)] - public DateTime? CreatedOn { get; set; } + public DateTime? CreatedOn { get; internal set; } /// - /// Gets or sets the updated on. + /// Gets the updated on. /// /// The updated on. - [XmlElement(RedmineKeys.UPDATED_ON, IsNullable = true)] - public DateTime? UpdatedOn { get; set; } + public DateTime? UpdatedOn { get; internal set; } /// - /// Gets or sets the custom fields. + /// Gets the custom fields. /// /// The custom fields. - [XmlArray(RedmineKeys.CUSTOM_FIELDS)] - [XmlArrayItem(RedmineKeys.CUSTOM_FIELD)] public IList CustomFields { get; internal set; } + #endregion + #region Implementation of IXmlSerializable /// /// /// @@ -96,34 +97,18 @@ public override void ReadXml(XmlReader reader) reader.Read(); while (!reader.EOF) { - if (reader.IsEmptyElement && !reader.HasAttributes) - { - reader.Read(); - continue; - } - switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - - case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; - - case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; - + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadElementContentAsCollection(); break; case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; - - case RedmineKeys.STATUS: Status = (VersionStatus)Enum.Parse(typeof(VersionStatus), reader.ReadElementContentAsString(), true); break; - case RedmineKeys.DUE_DATE: DueDate = reader.ReadElementContentAsNullableDateTime(); break; - + case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; + case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; case RedmineKeys.SHARING: Sharing = (VersionSharing)Enum.Parse(typeof(VersionSharing), reader.ReadElementContentAsString(), true); break; - - case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; - + case RedmineKeys.STATUS: Status = (VersionStatus)Enum.Parse(typeof(VersionStatus), reader.ReadElementContentAsString(), true); break; case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadElementContentAsNullableDateTime(); break; - - case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadElementContentAsCollection(); break; - default: reader.Read(); break; } } @@ -136,19 +121,22 @@ public override void ReadXml(XmlReader reader) public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.NAME, Name); - writer.WriteElementString(RedmineKeys.STATUS, Status.ToString("G").ToLowerInv()); - writer.WriteElementString(RedmineKeys.SHARING, Sharing.ToString("G").ToLowerInv()); - - writer.WriteDateOrEmpty(DueDate, RedmineKeys.DUE_DATE); + writer.WriteElementString(RedmineKeys.STATUS, Status.ToString().ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.SHARING, Sharing.ToString().ToLowerInvariant()); + writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, DueDate); writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); } + #endregion + + + #region Implementation of IEquatable /// /// /// /// /// - public bool Equals(Version other) + public override bool Equals(Version other) { if (other == null) return false; return (Id == other.Id && Name == other.Name @@ -159,9 +147,8 @@ public bool Equals(Version other) && Sharing == other.Sharing && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn - && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null)); + && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null)); } - /// /// /// @@ -182,67 +169,19 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return - $"[Version: {base.ToString()}, Project={Project}, Description={Description}, Status={Status}, DueDate={DueDate}, Sharing={Sharing}, CreatedOn={CreatedOn}, UpdatedOn={UpdatedOn}, CustomFields={CustomFields}]"; - } + private string DebuggerDisplay => $@"[{nameof(Version)}: {ToString()}, Project={Project}, Description={Description}, +Status={Status:G}, + DueDate={DueDate?.ToString("u", CultureInfo.InvariantCulture)}, +Sharing={Sharing:G}, +CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, +UpdatedOn={UpdatedOn?.ToString("u", CultureInfo.InvariantCulture)}, +CustomFields={CustomFields.Dump()}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as Version); - } - } - - /// - /// - /// - public enum VersionSharing - { - /// - /// - /// - none = 1, - /// - /// - /// - descendants, - /// - /// - /// - hierarchy, - /// - /// - /// - tree, - /// - /// - /// - system - } - - /// - /// - /// - public enum VersionStatus - { - /// - /// - /// - open = 1, - /// - /// - /// - locked, - /// - /// - /// - closed } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/VersionSharing.cs b/src/redmine-net-api/Types/VersionSharing.cs new file mode 100644 index 00000000..a4c0a155 --- /dev/null +++ b/src/redmine-net-api/Types/VersionSharing.cs @@ -0,0 +1,29 @@ +namespace Redmine.Net.Api.Types +{ + /// + /// + /// + public enum VersionSharing + { + /// + /// + /// + None = 1, + /// + /// + /// + Descendants, + /// + /// + /// + Hierarchy, + /// + /// + /// + Tree, + /// + /// + /// + System + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Types/VersionStatus.cs b/src/redmine-net-api/Types/VersionStatus.cs new file mode 100644 index 00000000..ee86fedf --- /dev/null +++ b/src/redmine-net-api/Types/VersionStatus.cs @@ -0,0 +1,21 @@ +namespace Redmine.Net.Api.Types +{ + /// + /// + /// + public enum VersionStatus + { + /// + /// + /// + Open = 1, + /// + /// + /// + Locked, + /// + /// + /// + Closed + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs old mode 100755 new mode 100644 index adfcdd63..2fd8735c --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Diagnostics; using System.Globalization; using System.Xml.Serialization; @@ -23,40 +24,35 @@ namespace Redmine.Net.Api.Types /// /// /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.USER)] - public class Watcher : IdentifiableName, IValue, ICloneable + public sealed class Watcher : IdentifiableName, IValue, ICloneable { - #region IValue implementation + #region Implementation of IValue /// /// /// - public string Value - { - get - { - return Id.ToString(CultureInfo.InvariantCulture); - } - } + public string Value => Id.ToString(CultureInfo.InvariantCulture); #endregion + #region Implementation of ICloneable /// /// /// /// - public override string ToString() + public object Clone() { - return $"[Watcher: {base.ToString()}]"; + var watcher = new Watcher { Id = Id, Name = Name }; + return watcher; } + #endregion /// /// /// /// - public object Clone() - { - var watcher = new Watcher { Id = Id, Name = Name }; - return watcher; - } + private string DebuggerDisplay => $"[{nameof(Watcher)}: {ToString()}]"; + } } \ No newline at end of file From d4793376242c27b6f4e8230672d88899ac94759f Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 10 Jan 2020 21:18:31 +0200 Subject: [PATCH 144/601] Fix Invalid URI: The Uri scheme is too long --- src/redmine-net-api/Internals/XmlTextReaderBuilder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs index 404fc270..ec4d07d6 100644 --- a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs +++ b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs @@ -33,7 +33,7 @@ public static XmlReader Create(StringReader stringReader) /// public static XmlReader Create(string xml) { - using (var stringReader = new StringReader(xml)) + var stringReader = new StringReader(xml); { return XmlReader.Create(stringReader, new XmlReaderSettings() { @@ -68,7 +68,7 @@ public static XmlTextReader Create(StringReader stringReader) /// public static XmlTextReader Create(string xml) { - using (var stringReader = new StringReader(xml)) + var stringReader = new StringReader(xml); { return new XmlTextReader(stringReader) { From 7db9bda931f22f892956a44a066dbef049fadace Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 10 Jan 2020 21:19:44 +0200 Subject: [PATCH 145/601] Add json serialization (NewtonJson) --- .../Extensions/JsonReaderExtensions.cs | 84 ++++++ .../Extensions/JsonWriterExtensions.cs | 260 ++++++++++++++++++ .../Serialization/IJsonSerializable.cs | 21 ++ .../Serialization/JsonObject.cs | 46 ++++ .../Serialization/JsonRedmineSerializer.cs | 159 +++++++++++ src/redmine-net-api/Types/Attachment.cs | 56 +++- src/redmine-net-api/Types/Attachments.cs | 29 +- src/redmine-net-api/Types/ChangeSet.cs | 45 ++- src/redmine-net-api/Types/CustomField.cs | 55 +++- .../Types/CustomFieldPossibleValue.cs | 47 +++- src/redmine-net-api/Types/CustomFieldValue.cs | 35 ++- src/redmine-net-api/Types/Detail.cs | 53 +++- src/redmine-net-api/Types/Error.cs | 29 +- src/redmine-net-api/Types/File.cs | 65 ++++- src/redmine-net-api/Types/Group.cs | 54 +++- src/redmine-net-api/Types/Identifiable.cs | 18 +- src/redmine-net-api/Types/IdentifiableName.cs | 59 +++- src/redmine-net-api/Types/Issue.cs | 172 +++++++++--- src/redmine-net-api/Types/IssueCategory.cs | 49 +++- src/redmine-net-api/Types/IssueChild.cs | 34 ++- src/redmine-net-api/Types/IssueCustomField.cs | 91 +++++- src/redmine-net-api/Types/IssuePriority.cs | 35 ++- src/redmine-net-api/Types/IssueRelation.cs | 54 +++- src/redmine-net-api/Types/IssueStatus.cs | 35 ++- src/redmine-net-api/Types/Journal.cs | 36 ++- src/redmine-net-api/Types/Membership.cs | 36 ++- src/redmine-net-api/Types/MembershipRole.cs | 41 ++- src/redmine-net-api/Types/News.cs | 45 ++- src/redmine-net-api/Types/Permission.cs | 38 ++- src/redmine-net-api/Types/Project.cs | 100 ++++++- .../Types/ProjectEnabledModule.cs | 2 +- .../Types/ProjectMembership.cs | 51 +++- src/redmine-net-api/Types/Query.cs | 44 ++- src/redmine-net-api/Types/Role.cs | 32 ++- src/redmine-net-api/Types/TimeEntry.cs | 76 ++++- .../Types/TimeEntryActivity.cs | 34 ++- src/redmine-net-api/Types/Tracker.cs | 34 ++- .../Types/TrackerCustomField.cs | 31 ++- src/redmine-net-api/Types/Upload.cs | 56 +++- src/redmine-net-api/Types/User.cs | 76 ++++- src/redmine-net-api/Types/Version.cs | 59 +++- src/redmine-net-api/Types/WikiPage.cs | 148 ++++++---- 42 files changed, 2309 insertions(+), 215 deletions(-) create mode 100644 src/redmine-net-api/Extensions/JsonReaderExtensions.cs create mode 100644 src/redmine-net-api/Extensions/JsonWriterExtensions.cs create mode 100644 src/redmine-net-api/Serialization/IJsonSerializable.cs create mode 100644 src/redmine-net-api/Serialization/JsonObject.cs create mode 100644 src/redmine-net-api/Serialization/JsonRedmineSerializer.cs mode change 100755 => 100644 src/redmine-net-api/Types/WikiPage.cs diff --git a/src/redmine-net-api/Extensions/JsonReaderExtensions.cs b/src/redmine-net-api/Extensions/JsonReaderExtensions.cs new file mode 100644 index 00000000..7cf3cfd2 --- /dev/null +++ b/src/redmine-net-api/Extensions/JsonReaderExtensions.cs @@ -0,0 +1,84 @@ +using System; +using System.Collections.Generic; +using Newtonsoft.Json; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Serialization; + +namespace Redmine.Net.Api.Extensions +{ + /// + /// + /// + public static partial class JsonExtensions + { + /// + /// + /// + /// + /// + public static int ReadAsInt(this JsonReader reader) + { + return reader.ReadAsInt32().GetValueOrDefault(); + } + + /// + /// + /// + /// + /// + public static bool ReadAsBool(this JsonReader reader) + { + return reader.ReadAsBoolean().GetValueOrDefault(); + } + + /// + /// + /// + /// + /// + /// + /// + public static List ReadAsCollection(this JsonReader reader, bool readInnerArray = false) where T : class + { + var isJsonSerializable = typeof(IJsonSerializable).IsAssignableFrom(typeof(T)); + + if (!isJsonSerializable) + { + throw new RedmineException($"Entity of type '{typeof(T)}' should implement IJsonSerializable."); + } + + var col = new List(); + + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndArray) + { + break; + } + + if (readInnerArray) + { + if (reader.TokenType == JsonToken.PropertyName) + { + break; + } + } + + if (reader.TokenType == JsonToken.StartArray) + { + continue; + } + + var entity = Activator.CreateInstance(); + + ((IJsonSerializable)entity).ReadJson(reader); + + var des = entity; + + col.Add(des); + } + + return col; + } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Extensions/JsonWriterExtensions.cs b/src/redmine-net-api/Extensions/JsonWriterExtensions.cs new file mode 100644 index 00000000..9b01c2d6 --- /dev/null +++ b/src/redmine-net-api/Extensions/JsonWriterExtensions.cs @@ -0,0 +1,260 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Globalization; +using System.Text; +using Newtonsoft.Json; +using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.Extensions +{ + /// + /// + /// + public static partial class JsonExtensions + { + /// + /// + /// + /// + /// + /// + public static void WriteIdIfNotNull(this JsonWriter jsonWriter, string tag, IdentifiableName value) + { + if (value != null) + { + jsonWriter.WritePropertyName(tag); + jsonWriter.WriteValue(value.Id); + } + } + + /// + /// + /// + /// + /// + /// + /// + public static void WriteIfNotDefaultOrNull(this JsonWriter writer, string elementName, T value) + { + if (EqualityComparer.Default.Equals(value, default(T))) + { + return; + } + + if (value is bool) + { + writer.WriteProperty(elementName, value.ToString().ToLowerInvariant()); + return; + } + + writer.WriteProperty(elementName, string.Format(CultureInfo.InvariantCulture, "{0}", value.ToString())); + } + + /// + /// + /// + /// + /// + /// + /// + public static void WriteIdOrEmpty(this JsonWriter jsonWriter, string tag, IdentifiableName ident, string emptyValue = null) + { + if (ident != null) + { + jsonWriter.WriteProperty(tag, ident.Id); + } + else + { + jsonWriter.WriteProperty(tag, emptyValue); + } + } + + /// + /// + /// + /// + /// + /// + /// + public static void WriteDateOrEmpty(this JsonWriter jsonWriter, string tag, DateTime? val, string dateFormat = "yyyy-MM-dd") + { + if (!val.HasValue || val.Value.Equals(default(DateTime))) + { + jsonWriter.WriteProperty(tag, string.Empty); + } + else + { + jsonWriter.WriteProperty(tag, string.Format(NumberFormatInfo.InvariantInfo, "{0}", val.Value.ToString(dateFormat, CultureInfo.InvariantCulture))); + } + } + + /// + /// + /// + /// + /// + /// + /// + public static void WriteValueOrEmpty(this JsonWriter jsonWriter, string tag, T? val) where T : struct + { + if (!val.HasValue || EqualityComparer.Default.Equals(val.Value, default(T))) + { + jsonWriter.WriteProperty(tag, string.Empty); + } + else + { + jsonWriter.WriteProperty(tag, val.Value); + } + } + + /// + /// + /// + /// + /// + /// + /// + public static void WriteValueOrDefault(this JsonWriter jsonWriter, string tag, T? val) where T : struct + { + jsonWriter.WriteProperty(tag, val ?? default(T)); + } + + /// + /// + /// + /// + /// + /// + public static void WriteProperty(this JsonWriter jsonWriter, string tag, object value) + { + jsonWriter.WritePropertyName(tag); + jsonWriter.WriteValue(value); + } + + /// + /// + /// + /// + /// + /// + public static void WriteRepeatableElement(this JsonWriter jsonWriter, string tag, IEnumerable collection) + { + if (collection == null) + { + return; + } + + foreach (var value in collection) + { + jsonWriter.WritePropertyName(tag); + jsonWriter.WriteValue(value.Value); + } + } + + /// + /// + /// + /// + /// + /// + public static void WriteArrayIds(this JsonWriter jsonWriter, string tag, IEnumerable collection) + { + if (collection == null) + { + return; + } + + jsonWriter.WritePropertyName(tag); + jsonWriter.WriteStartArray(); + + StringBuilder sb = new StringBuilder(); + + foreach (var identifiableName in collection) + { + sb.Append(",").Append(identifiableName.Id.ToString(CultureInfo.InvariantCulture)); + } + + sb.Remove(0, 1); + jsonWriter.WriteValue(sb.ToString()); + sb= null; + + jsonWriter.WriteEndArray(); + } + + /// + /// + /// + /// + /// + /// + public static void WriteArrayNames(this JsonWriter jsonWriter, string tag, IEnumerable collection) + { + if (collection == null) + { + return; + } + + jsonWriter.WritePropertyName(tag); + jsonWriter.WriteStartArray(); + + StringBuilder sb = new StringBuilder(); + + foreach (var identifiableName in collection) + { + sb.Append(",").Append(identifiableName.Name); + } + + sb.Remove(0, 1); + jsonWriter.WriteValue(sb.ToString()); + sb = null; + + jsonWriter.WriteEndArray(); + } + + /// + /// + /// + /// + /// + /// + /// + public static void WriteArray(this JsonWriter jsonWriter, string tag, ICollection collection) where T : IJsonSerializable + { + if (collection == null) + { + return; + } + + jsonWriter.WritePropertyName(tag); + jsonWriter.WriteStartArray(); + + foreach (var item in collection) + { + item.WriteJson(jsonWriter); + } + + jsonWriter.WriteEndArray(); + } + + /// + /// + /// + /// + /// + /// + public static void WriteListAsProperty(this JsonWriter jsonWriter, string tag, ICollection collection) + { + if (collection == null) + { + return; + } + + foreach (var item in collection) + { + jsonWriter.WriteProperty(tag, item); + } + } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Serialization/IJsonSerializable.cs b/src/redmine-net-api/Serialization/IJsonSerializable.cs new file mode 100644 index 00000000..efb4ec2f --- /dev/null +++ b/src/redmine-net-api/Serialization/IJsonSerializable.cs @@ -0,0 +1,21 @@ +using Newtonsoft.Json; + +namespace Redmine.Net.Api.Serialization +{ + /// + /// + /// + public interface IJsonSerializable + { + /// + /// + /// + /// + void WriteJson(JsonWriter writer); + /// + /// + /// + /// + void ReadJson(JsonReader reader); + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Serialization/JsonObject.cs b/src/redmine-net-api/Serialization/JsonObject.cs new file mode 100644 index 00000000..a42c4316 --- /dev/null +++ b/src/redmine-net-api/Serialization/JsonObject.cs @@ -0,0 +1,46 @@ +using System; +using Newtonsoft.Json; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.Serialization +{ + /// + /// + /// + public sealed class JsonObject : IDisposable + { + private readonly bool hasRoot; + + /// + /// + /// + /// + /// + public JsonObject(JsonWriter writer, string root = null) + { + Writer = writer; + Writer.WriteStartObject(); + + if (!root.IsNullOrWhiteSpace()) + { + hasRoot = true; + Writer.WritePropertyName(root); + Writer.WriteStartObject(); + } + } + + private JsonWriter Writer { get; } + + /// + /// + /// + public void Dispose() + { + Writer.WriteEndObject(); + if (hasRoot) + { + Writer.WriteEndObject(); + } + } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs b/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs new file mode 100644 index 00000000..ba98e836 --- /dev/null +++ b/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs @@ -0,0 +1,159 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Text; +using Newtonsoft.Json; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.Serialization +{ + internal sealed class JsonRedmineSerializer : IRedmineSerializer + { + public T Deserialize(string jsonResponse) where T : new() + { + if (jsonResponse.IsNullOrWhiteSpace()) + { + throw new ArgumentNullException(nameof(jsonResponse), $"Could not deserialize null or empty input for type '{typeof(T).Name}'."); + } + + var isJsonSerializable = typeof(IJsonSerializable).IsAssignableFrom(typeof(T)); + + if (!isJsonSerializable) + { + throw new RedmineException($"Entity of type '{typeof(T)}' should implement IJsonSerializable."); + } + + using (var stringReader = new StringReader(jsonResponse)) + { + using (JsonReader jsonReader = new JsonTextReader(stringReader)) + { + var obj = Activator.CreateInstance(); + + if (jsonReader.Read()) + { + if (jsonReader.Read()) + { + ((IJsonSerializable)obj).ReadJson(jsonReader); + } + } + + return obj; + } + } + } + + public PagedResults DeserializeToPagedResults(string jsonResponse) where T : class, new() + { + if (jsonResponse.IsNullOrWhiteSpace()) + { + throw new ArgumentNullException(nameof(jsonResponse), $"Could not deserialize null or empty input for type '{typeof(T).Name}'."); + } + + using (var sr = new StringReader(jsonResponse)) + { + using (JsonReader reader = new JsonTextReader(sr)) + { + var total = 0; + var offset = 0; + var limit = 0; + List list = null; + + while (reader.Read()) + { + if (reader.TokenType != JsonToken.PropertyName) continue; + + switch (reader.Value) + { + case RedmineKeys.TOTAL_COUNT: + total = reader.ReadAsInt32().GetValueOrDefault(); + break; + case RedmineKeys.OFFSET: + offset = reader.ReadAsInt32().GetValueOrDefault(); + break; + case RedmineKeys.LIMIT: + limit = reader.ReadAsInt32().GetValueOrDefault(); + break; + default: + list = reader.ReadAsCollection(); + break; + } + } + + return new PagedResults(list, total, offset, limit); + } + } + } + + public int Count(string jsonResponse) where T : class, new() + { + if (jsonResponse.IsNullOrWhiteSpace()) + { + throw new ArgumentNullException(nameof(jsonResponse), $"Could not deserialize null or empty input for type '{typeof(T).Name}'."); + } + + using (var sr = new StringReader(jsonResponse)) + { + using (JsonReader reader = new JsonTextReader(sr)) + { + var total = 0; + + while (reader.Read()) + { + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + if (reader.Value is RedmineKeys.TOTAL_COUNT) + { + total = reader.ReadAsInt32().GetValueOrDefault(); + return total; + } + } + + return total; + } + } + } + + public string Type { get; } = "json"; + + public string Serialize(T entity) where T : class + { + if (entity == default(T)) + { + throw new ArgumentNullException(nameof(entity), $"Could not serialize null of type {typeof(T).Name}"); + } + + var jsonSerializable = entity as IJsonSerializable; + + if (jsonSerializable == null) + { + throw new RedmineException($"Entity of type '{typeof(T)}' should implement IJsonSerializable."); + } + + var stringBuilder = new StringBuilder(); + + using (var sw = new StringWriter(stringBuilder)) + { + using (JsonWriter writer = new JsonTextWriter(sw)) + { + writer.Formatting = Newtonsoft.Json.Formatting.Indented; + writer.DateFormatHandling = DateFormatHandling.IsoDateFormat; + + jsonSerializable.WriteJson(writer); + + var json = stringBuilder.ToString(); + +#if NET20 + stringBuilder = null; +#else + stringBuilder.Clear(); +#endif + return json; + } + } + } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index 66fa2c0b..dd9f053b 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -19,8 +19,10 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -125,7 +127,55 @@ public override void WriteXml(XmlWriter writer) #endregion - + #region Implementation of IJsonSerializable + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; + case RedmineKeys.CONTENT_TYPE: ContentType = reader.ReadAsString(); break; + case RedmineKeys.CONTENT_URL: ContentUrl = reader.ReadAsString(); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; + case RedmineKeys.FILENAME: FileName = reader.ReadAsString(); break; + case RedmineKeys.FILE_SIZE: FileSize = reader.ReadAsInt(); break; + case RedmineKeys.THUMBNAIL_URL: ThumbnailUrl = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + + public override void WriteJson(JsonWriter writer) + { + using (new JsonObject(writer, RedmineKeys.ATTACHMENT)) + { + writer.WriteProperty(RedmineKeys.FILENAME, FileName); + writer.WriteProperty(RedmineKeys.DESCRIPTION, Description); + } + } + #endregion #region Implementation of IEquatable /// @@ -136,7 +186,7 @@ public override void WriteXml(XmlWriter writer) public override bool Equals(Attachment other) { if (other == null) return false; - return (Id == other.Id + return Id == other.Id && FileName == other.FileName && FileSize == other.FileSize && ContentType == other.ContentType @@ -144,7 +194,7 @@ public override bool Equals(Attachment other) && ThumbnailUrl == other.ThumbnailUrl && CreatedOn == other.CreatedOn && Description == other.Description - && ContentUrl == other.ContentUrl); + && ContentUrl == other.ContentUrl; } /// diff --git a/src/redmine-net-api/Types/Attachments.cs b/src/redmine-net-api/Types/Attachments.cs index 174b74e7..6f4b0314 100644 --- a/src/redmine-net-api/Types/Attachments.cs +++ b/src/redmine-net-api/Types/Attachments.cs @@ -15,14 +15,39 @@ limitations under the License. */ using System.Collections.Generic; +using System.Globalization; +using Newtonsoft.Json; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { /// /// /// - internal class Attachments : Dictionary + internal class Attachments : Dictionary, IJsonSerializable { - + /// + /// + /// + /// + public void ReadJson(JsonReader reader) { } + + /// + /// + /// + /// + public void WriteJson(JsonWriter writer) + { + using (new JsonObject(writer, RedmineKeys.ATTACHMENTS)) + { + writer.WriteStartArray(); + foreach (var item in this) + { + writer.WritePropertyName(item.Key.ToString(CultureInfo.InvariantCulture)); + item.Value.WriteJson(writer); + } + writer.WriteEndArray(); + } + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs index 011c918c..c84c237d 100644 --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -20,8 +20,10 @@ limitations under the License. using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -30,7 +32,7 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.CHANGE_SET)] - public sealed class ChangeSet : IXmlSerializable, IEquatable + public sealed class ChangeSet : IXmlSerializable, IJsonSerializable, IEquatable { #region Properties /// @@ -98,7 +100,46 @@ public void ReadXml(XmlReader reader) public void WriteXml(XmlWriter writer) { } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.COMMENTS: Comments = reader.ReadAsString(); break; + + case RedmineKeys.COMMITTED_ON: CommittedOn = reader.ReadAsDateTime(); break; + + case RedmineKeys.REVISION: Revision = reader.ReadAsInt(); break; + + case RedmineKeys.USER: User = new IdentifiableName(reader); break; + + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public void WriteJson(JsonWriter writer) { } + #endregion #region Implementation of IEquatable /// diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index 4fbb32b6..84a36208 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -20,6 +20,7 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -145,7 +146,49 @@ public override void ReadXml(XmlReader reader) #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.CUSTOMIZED_TYPE: CustomizedType = reader.ReadAsString(); break; + case RedmineKeys.DEFAULT_VALUE: DefaultValue = reader.ReadAsString(); break; + case RedmineKeys.FIELD_FORMAT: FieldFormat = reader.ReadAsString(); break; + case RedmineKeys.IS_FILTER: IsFilter = reader.ReadAsBool(); break; + case RedmineKeys.IS_REQUIRED: IsRequired = reader.ReadAsBool(); break; + case RedmineKeys.MAX_LENGTH: MaxLength = reader.ReadAsInt32(); break; + case RedmineKeys.MIN_LENGTH: MinLength = reader.ReadAsInt32(); break; + case RedmineKeys.MULTIPLE: Multiple = reader.ReadAsBool(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + case RedmineKeys.POSSIBLE_VALUES: PossibleValues = reader.ReadAsCollection(); break; + case RedmineKeys.REGEXP: Regexp = reader.ReadAsString(); break; + case RedmineKeys.ROLES: Roles = reader.ReadAsCollection(); break; + case RedmineKeys.SEARCHABLE: Searchable = reader.ReadAsBool(); break; + case RedmineKeys.TRACKERS: Trackers = reader.ReadAsCollection(); break; + case RedmineKeys.VISIBLE: Visible = reader.ReadAsBool(); break; + default: reader.Read(); break; + } + } + } + + #endregion #region Implementation of IEquatable /// @@ -163,13 +206,13 @@ public bool Equals(CustomField other) && Multiple == other.Multiple && Searchable == other.Searchable && Visible == other.Visible - && CustomizedType.Equals(other.CustomizedType) - && DefaultValue.Equals(other.DefaultValue) - && FieldFormat.Equals(other.FieldFormat) + && string.Equals(CustomizedType,other.CustomizedType, StringComparison.OrdinalIgnoreCase) + && string.Equals(DefaultValue,other.DefaultValue, StringComparison.OrdinalIgnoreCase) + && string.Equals(FieldFormat,other.FieldFormat, StringComparison.OrdinalIgnoreCase) && MaxLength == other.MaxLength && MinLength == other.MinLength - && Name.Equals(other.Name) - && Regexp.Equals(other.Regexp) + && string.Equals(Name,other.Name, StringComparison.OrdinalIgnoreCase) + && string.Equals(Regexp,other.Regexp, StringComparison.OrdinalIgnoreCase) && PossibleValues.Equals(other.PossibleValues) && Roles.Equals(other.Roles) && Trackers.Equals(other.Trackers); diff --git a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs index 3078da08..4323c310 100644 --- a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs @@ -19,7 +19,9 @@ limitations under the License. using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -28,7 +30,7 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.POSSIBLE_VALUE)] - public sealed class CustomFieldPossibleValue : IXmlSerializable, IEquatable + public sealed class CustomFieldPossibleValue : IXmlSerializable, IJsonSerializable, IEquatable { #region Properties /// @@ -87,7 +89,46 @@ public void WriteXml(XmlWriter writer) { } #endregion - + #region Implementation of IJsonSerialization + + /// + /// + /// + /// + public void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.LABEL: + Label = reader.ReadAsString(); break; + + case RedmineKeys.VALUE: + + Value = reader.ReadAsString(); break; + default: + reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public void WriteJson(JsonWriter writer) { } + #endregion #region Implementation of IEquatable /// @@ -98,7 +139,7 @@ public void WriteXml(XmlWriter writer) { } public bool Equals(CustomFieldPossibleValue other) { if (other == null) return false; - return (Value == other.Value); + return Value == other.Value; } /// diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index 094b24da..d2b264b8 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -19,7 +19,9 @@ limitations under the License. using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -28,7 +30,7 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.VALUE)] - public class CustomFieldValue : IXmlSerializable, IEquatable, ICloneable + public class CustomFieldValue : IXmlSerializable, IJsonSerializable, IEquatable, ICloneable { /// /// @@ -103,7 +105,34 @@ public void WriteXml(XmlWriter writer) #endregion - + #region Implementation of IJsonSerialization + + /// + /// + /// + /// + public void ReadJson(JsonReader reader) + { + if (reader.TokenType == JsonToken.PropertyName) + { + return; + } + + if (reader.TokenType == JsonToken.String) + { + Info = reader.Value as string; + } + } + + /// + /// + /// + /// + public void WriteJson(JsonWriter writer) + { + } + + #endregion #region Implementation of IEquatable @@ -115,7 +144,7 @@ public void WriteXml(XmlWriter writer) public bool Equals(CustomFieldValue other) { if (other == null) return false; - return Info.Equals(other.Info); + return string.Equals(Info,other.Info,StringComparison.OrdinalIgnoreCase); } /// diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs index 17219580..216ec805 100644 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -19,7 +19,9 @@ limitations under the License. using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -28,7 +30,7 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.DETAIL)] - public sealed class Detail : IXmlSerializable, IEquatable + public sealed class Detail : IXmlSerializable, IJsonSerializable, IEquatable { /// /// @@ -121,7 +123,46 @@ public void ReadXml(XmlReader reader) public void WriteXml(XmlWriter writer) { } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public void WriteJson(JsonWriter writer) { } + + /// + /// + /// + /// + public void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + + case RedmineKeys.PROPERTY: Property = reader.ReadAsString(); break; + + case RedmineKeys.NEW_VALUE: NewValue = reader.ReadAsString(); break; + + case RedmineKeys.OLD_VALUE: OldValue = reader.ReadAsString(); break; + + default: reader.Read(); break; + } + } + } + #endregion #region Implementation of IEquatable /// @@ -132,10 +173,10 @@ public void WriteXml(XmlWriter writer) { } public bool Equals(Detail other) { if (other == null) return false; - return (Property != null ? string.Equals(Property,other.Property, StringComparison.InvariantCultureIgnoreCase) : other.Property == null) - && (Name != null ? string.Equals(Name,other.Name, StringComparison.InvariantCultureIgnoreCase) : other.Name == null) - && (OldValue != null ? string.Equals(OldValue,other.OldValue, StringComparison.InvariantCultureIgnoreCase) : other.OldValue == null) - && (NewValue != null ? string.Equals(NewValue,other.NewValue, StringComparison.InvariantCultureIgnoreCase) : other.NewValue == null); + return string.Equals(Property, other.Property, StringComparison.InvariantCultureIgnoreCase) + && string.Equals(Name, other.Name, StringComparison.InvariantCultureIgnoreCase) + && string.Equals(OldValue, other.OldValue, StringComparison.InvariantCultureIgnoreCase) + && string.Equals(NewValue, other.NewValue, StringComparison.InvariantCultureIgnoreCase); } /// diff --git a/src/redmine-net-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs index 70634087..c31be160 100644 --- a/src/redmine-net-api/Types/Error.cs +++ b/src/redmine-net-api/Types/Error.cs @@ -19,7 +19,9 @@ limitations under the License. using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -28,7 +30,7 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ERROR)] - public sealed class Error : IXmlSerializable, IEquatable + public sealed class Error : IXmlSerializable, IJsonSerializable, IEquatable { /// /// @@ -81,7 +83,30 @@ public void ReadXml(XmlReader reader) public void WriteXml(XmlWriter writer) { } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public void ReadJson(JsonReader reader) + { + if (reader.TokenType == JsonToken.PropertyName) + { + reader.Read(); + } + + if (reader.TokenType == JsonToken.String) + { + Info = (string)reader.Value; + } + } + + /// + /// + /// + /// + public void WriteJson(JsonWriter writer) { } + #endregion #region Implementation of IEquatable diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index 294e9269..f8d017cf 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -22,6 +22,8 @@ limitations under the License. using System.Diagnostics; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -140,7 +142,63 @@ public override void WriteXml(XmlWriter writer) } #endregion - + #region Implementation of IJsonSerializable + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt32().GetValueOrDefault(); break; + case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; + case RedmineKeys.CONTENT_TYPE: ContentType = reader.ReadAsString(); break; + case RedmineKeys.CONTENT_URL: ContentUrl = reader.ReadAsString(); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; + case RedmineKeys.DIGEST: Digest = reader.ReadAsString(); break; + case RedmineKeys.DOWNLOADS: Downloads = reader.ReadAsInt32().GetValueOrDefault(); break; + case RedmineKeys.FILENAME: Filename = reader.ReadAsString(); break; + case RedmineKeys.FILE_SIZE: FileSize = reader.ReadAsInt32().GetValueOrDefault(); break; + case RedmineKeys.TOKEN: Token = reader.ReadAsString(); break; + case RedmineKeys.VERSION: Version = new IdentifiableName(reader); break; + case RedmineKeys.VERSION_ID: Version = new IdentifiableName() { Id = reader.ReadAsInt32().GetValueOrDefault() }; break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public override void WriteJson(JsonWriter writer) + { + using (new JsonObject(writer, RedmineKeys.FILE)) + { + using (new JsonObject(writer)) + { + writer.WriteProperty(RedmineKeys.TOKEN, Token); + writer.WriteIdIfNotNull(RedmineKeys.VERSION_ID, Version); + writer.WriteProperty(RedmineKeys.FILENAME, Filename); + writer.WriteProperty(RedmineKeys.DESCRIPTION, Description); + } + } + } + #endregion #region Implementation of IEquatable /// @@ -151,7 +209,7 @@ public override void WriteXml(XmlWriter writer) public override bool Equals(File other) { if (other == null) return false; - return (Id == other.Id + return Id == other.Id && Filename == other.Filename && FileSize == other.FileSize && Description == other.Description @@ -162,8 +220,7 @@ public override bool Equals(File other) && Version == other.Version && Digest == other.Digest && Downloads == other.Downloads - && Token == other.Token - ); + && Token == other.Token; } /// diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 7247aff6..cd523316 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -19,8 +19,10 @@ limitations under the License. using System.Diagnostics; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -69,7 +71,7 @@ public Group(string name) /// /// Generates an object from its XML representation. /// - /// The stream from which the object is deserialized. + /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { reader.Read(); @@ -96,17 +98,59 @@ public override void ReadXml(XmlReader reader) /// /// Converts an object into its XML representation. /// - /// The stream to which the object is serialized. + /// The stream to which the object is serialized. public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.NAME, Name); - //TODO: change to repeatable elements writer.WriteArrayIds(RedmineKeys.USER_IDS, Users, typeof(int), GetGroupUserId); } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadAsCollection(); break; + case RedmineKeys.MEMBERSHIPS: Memberships = reader.ReadAsCollection(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + case RedmineKeys.USERS: Users = reader.ReadAsCollection(); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public override void WriteJson(JsonWriter writer) + { + using (new JsonObject(writer, RedmineKeys.GROUP)) + { + writer.WriteProperty(RedmineKeys.NAME, Name); + writer.WriteRepeatableElement(RedmineKeys.USER_IDS, (IEnumerable)Users); + } + } + #endregion #region Implementation of IEquatable @@ -172,7 +216,7 @@ public override int GetHashCode() /// /// /// - public int GetGroupUserId(object gu) + public static int GetGroupUserId(object gu) { return ((GroupUser)gu).Id; } diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs index 1f29a548..fc29ac9c 100644 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -20,7 +20,9 @@ limitations under the License. using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -29,7 +31,7 @@ namespace Redmine.Net.Api.Types /// /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] - public abstract class Identifiable : IXmlSerializable, IEquatable, IEquatable> where T : Identifiable + public abstract class Identifiable : IXmlSerializable, IJsonSerializable, IEquatable, IEquatable> where T : Identifiable { #region Properties /// @@ -59,7 +61,19 @@ public virtual void ReadXml(XmlReader reader) { } public virtual void WriteXml(XmlWriter writer) { } #endregion - + #region Implementation of IJsonSerializable + /// + /// + /// + /// + public virtual void ReadJson(JsonReader reader) { } + + /// + /// + /// + /// + public virtual void WriteJson(JsonWriter writer) { } + #endregion #region Implementation of IEquatable> /// diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index b90d4fd1..a9c4da21 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -14,9 +14,11 @@ You may obtain a copy of the License at limitations under the License. */ +using System; using System.Diagnostics; using System.Globalization; using System.Xml; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -42,14 +44,24 @@ public IdentifiableName(XmlReader reader) Initialize(reader); } - + /// + /// + /// + /// + public IdentifiableName(JsonReader reader) + { + InitializeJsonReader(reader); + } private void Initialize(XmlReader reader) { ReadXml(reader); } - + private void InitializeJsonReader(JsonReader reader) + { + ReadJson(reader); + } #region Properties /// @@ -83,7 +95,45 @@ public override void WriteXml(XmlWriter writer) #endregion - + #region Implementation of IJsonSerializable + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType == JsonToken.PropertyName) + { + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + } + + /// + /// + /// + /// + public override void WriteJson(JsonWriter writer) + { + writer.WriteIdIfNotNull(RedmineKeys.ID, this); + if (!Name.IsNullOrWhiteSpace()) + { + writer.WriteProperty(RedmineKeys.NAME, Name); + } + } + #endregion #region Implementation of IEquatable /// @@ -94,7 +144,7 @@ public override void WriteXml(XmlWriter writer) public override bool Equals(IdentifiableName other) { if (other == null) return false; - return (Id == other.Id && Name == other.Name); + return Id == other.Id && string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase); } /// @@ -117,6 +167,5 @@ public override int GetHashCode() /// /// private string DebuggerDisplay => $"[{nameof(IdentifiableName)}: {base.ToString()}, Name={Name}]"; - } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index dbf24337..7aeb8b14 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -20,8 +20,10 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -320,11 +322,11 @@ public override void WriteXml(XmlWriter writer) if (Id != 0) { - writer.WriteElementString(RedmineKeys.PRIVATE_NOTES, PrivateNotes.ToString().ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.PRIVATE_NOTES, PrivateNotes.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); } writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); - writer.WriteElementString(RedmineKeys.IS_PRIVATE, IsPrivate.ToString().ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.IS_PRIVATE, IsPrivate.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); writer.WriteIdIfNotNull(RedmineKeys.PROJECT_ID, Project); writer.WriteIdIfNotNull(RedmineKeys.PRIORITY_ID, Priority); @@ -349,7 +351,113 @@ public override void WriteXml(XmlWriter writer) } #endregion - + #region Implementation of IJsonSerializable + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt32().GetValueOrDefault(); break; + case RedmineKeys.ASSIGNED_TO: AssignedTo = new IdentifiableName(reader); break; + case RedmineKeys.ATTACHMENTS: Attachments = reader.ReadAsCollection(); break; + case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; + case RedmineKeys.CATEGORY: Category = new IdentifiableName(reader); break; + case RedmineKeys.CHANGE_SETS: ChangeSets = reader.ReadAsCollection(); break; + case RedmineKeys.CHILDREN: Children = reader.ReadAsCollection(); break; + case RedmineKeys.CLOSED_ON: ClosedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadAsCollection(); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; + case RedmineKeys.DONE_RATIO: DoneRatio = (float?)reader.ReadAsDouble(); break; + case RedmineKeys.DUE_DATE: DueDate = reader.ReadAsDateTime(); break; + case RedmineKeys.ESTIMATED_HOURS: EstimatedHours = (float?)reader.ReadAsDouble(); break; + case RedmineKeys.FIXED_VERSION: FixedVersion = new IdentifiableName(reader); break; + case RedmineKeys.IS_PRIVATE: IsPrivate = reader.ReadAsBoolean().GetValueOrDefault(); break; + case RedmineKeys.JOURNALS: Journals = reader.ReadAsCollection(); break; + case RedmineKeys.NOTES: Notes = reader.ReadAsString(); break; + case RedmineKeys.PARENT: ParentIssue = new IdentifiableName(reader); break; + case RedmineKeys.PRIORITY: Priority = new IdentifiableName(reader); break; + case RedmineKeys.PRIVATE_NOTES: PrivateNotes = reader.ReadAsBoolean().GetValueOrDefault(); break; + case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; + case RedmineKeys.RELATIONS: Relations = reader.ReadAsCollection(); break; + case RedmineKeys.SPENT_HOURS: SpentHours = (float?)reader.ReadAsDouble(); break; + case RedmineKeys.START_DATE: StartDate = reader.ReadAsDateTime(); break; + case RedmineKeys.STATUS: Status = new IdentifiableName(reader); break; + case RedmineKeys.SUBJECT: Subject = reader.ReadAsString(); break; + case RedmineKeys.TOTAL_ESTIMATED_HOURS: TotalEstimatedHours = (float?)reader.ReadAsDouble(); break; + case RedmineKeys.TOTAL_SPENT_HOURS: TotalSpentHours = (float?)reader.ReadAsDouble(); break; + case RedmineKeys.TRACKER: Tracker = new IdentifiableName(reader); break; + case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.WATCHERS: Watchers = reader.ReadAsCollection(); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public override void WriteJson(JsonWriter writer) + { + using (new JsonObject(writer, RedmineKeys.ISSUE)) + { + writer.WriteProperty(RedmineKeys.SUBJECT, Subject); + writer.WriteProperty(RedmineKeys.DESCRIPTION, Description); + writer.WriteProperty(RedmineKeys.NOTES, Notes); + + if (Id != 0) + { + writer.WriteProperty(RedmineKeys.PRIVATE_NOTES, PrivateNotes.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + } + + writer.WriteProperty(RedmineKeys.IS_PRIVATE, IsPrivate.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + writer.WriteIdIfNotNull(RedmineKeys.PROJECT_ID, Project); + writer.WriteIdIfNotNull(RedmineKeys.PRIORITY_ID, Priority); + writer.WriteIdIfNotNull(RedmineKeys.STATUS_ID, Status); + writer.WriteIdIfNotNull(RedmineKeys.CATEGORY_ID, Category); + writer.WriteIdIfNotNull(RedmineKeys.TRACKER_ID, Tracker); + writer.WriteIdIfNotNull(RedmineKeys.ASSIGNED_TO_ID, AssignedTo); + writer.WriteIdIfNotNull(RedmineKeys.FIXED_VERSION_ID, FixedVersion); + writer.WriteValueOrEmpty(RedmineKeys.ESTIMATED_HOURS, EstimatedHours); + + writer.WriteIdOrEmpty(RedmineKeys.PARENT_ISSUE_ID, ParentIssue); + writer.WriteDateOrEmpty(RedmineKeys.START_DATE, StartDate); + writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, DueDate); + writer.WriteDateOrEmpty(RedmineKeys.UPDATED_ON, UpdatedOn); + + if (DoneRatio != null) + { + writer.WriteProperty(RedmineKeys.DONE_RATIO, DoneRatio.Value.ToString(CultureInfo.InvariantCulture)); + } + + if (SpentHours != null) + { + writer.WriteProperty(RedmineKeys.SPENT_HOURS, SpentHours.Value.ToString(CultureInfo.InvariantCulture)); + } + + writer.WriteArray(RedmineKeys.UPLOADS, Uploads); + writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); + + writer.WriteRepeatableElement(RedmineKeys.WATCHER_USER_IDS, (IEnumerable)Watchers); + } + } + #endregion #region Implementation of IEquatable /// @@ -360,36 +468,34 @@ public override void WriteXml(XmlWriter writer) public override bool Equals(Issue other) { if (other == null) return false; - return ( - Id == other.Id - && Project == other.Project - && Tracker == other.Tracker - && Status == other.Status - && Priority == other.Priority - && Author == other.Author - && Category == other.Category - && Subject == other.Subject - && Description == other.Description - && StartDate == other.StartDate - && DueDate == other.DueDate - && DoneRatio == other.DoneRatio - && EstimatedHours == other.EstimatedHours - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) - && CreatedOn == other.CreatedOn - && UpdatedOn == other.UpdatedOn - && AssignedTo == other.AssignedTo - && FixedVersion == other.FixedVersion - && Notes == other.Notes - && (Watchers != null ? Watchers.Equals(other.Watchers) : other.Watchers == null) - && ClosedOn == other.ClosedOn - && SpentHours == other.SpentHours - && PrivateNotes == other.PrivateNotes - && (Attachments != null ? Attachments.Equals(other.Attachments) : other.Attachments == null) - && (ChangeSets != null ? ChangeSets.Equals(other.ChangeSets) : other.ChangeSets == null) - && (Children != null ? Children.Equals(other.Children) : other.Children == null) - && (Journals != null ? Journals.Equals(other.Journals) : other.Journals == null) - && (Relations != null ? Relations.Equals(other.Relations) : other.Relations == null) - ); + return Id == other.Id + && Project == other.Project + && Tracker == other.Tracker + && Status == other.Status + && Priority == other.Priority + && Author == other.Author + && Category == other.Category + && Subject == other.Subject + && Description == other.Description + && StartDate == other.StartDate + && DueDate == other.DueDate + && DoneRatio == other.DoneRatio + && EstimatedHours == other.EstimatedHours + && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) + && CreatedOn == other.CreatedOn + && UpdatedOn == other.UpdatedOn + && AssignedTo == other.AssignedTo + && FixedVersion == other.FixedVersion + && Notes == other.Notes + && (Watchers != null ? Watchers.Equals(other.Watchers) : other.Watchers == null) + && ClosedOn == other.ClosedOn + && SpentHours == other.SpentHours + && PrivateNotes == other.PrivateNotes + && (Attachments != null ? Attachments.Equals(other.Attachments) : other.Attachments == null) + && (ChangeSets != null ? ChangeSets.Equals(other.ChangeSets) : other.ChangeSets == null) + && (Children != null ? Children.Equals(other.Children) : other.Children == null) + && (Journals != null ? Journals.Equals(other.Journals) : other.Journals == null) + && (Relations != null ? Relations.Equals(other.Relations) : other.Relations == null); } /// diff --git a/src/redmine-net-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs index 57c11d92..eb850ea6 100644 --- a/src/redmine-net-api/Types/IssueCategory.cs +++ b/src/redmine-net-api/Types/IssueCategory.cs @@ -17,8 +17,10 @@ limitations under the License. using System.Diagnostics; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -94,7 +96,50 @@ public override void WriteXml(XmlWriter writer) } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.ASSIGNED_TO: AssignTo = new IdentifiableName(reader); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public override void WriteJson(JsonWriter writer) + { + using (new JsonObject(writer, RedmineKeys.ISSUE_CATEGORY)) + { + writer.WriteIdIfNotNull(RedmineKeys.PROJECT_ID, Project); + writer.WriteProperty(RedmineKeys.NAME, Name); + writer.WriteIdIfNotNull(RedmineKeys.ASSIGNED_TO_ID, AssignTo); + } + } + #endregion #region Implementation of IEquatable /// @@ -105,7 +150,7 @@ public override void WriteXml(XmlWriter writer) public override bool Equals(IssueCategory other) { if (other == null) return false; - return (Id == other.Id && Project == other.Project && AssignTo == other.AssignTo && Name == other.Name); + return Id == other.Id && Project == other.Project && AssignTo == other.AssignTo && Name == other.Name; } /// diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs index b498c3a4..5115ab33 100644 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -19,6 +19,8 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; namespace Redmine.Net.Api.Types @@ -72,7 +74,35 @@ public override void ReadXml(XmlReader reader) } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.SUBJECT: Subject = reader.ReadAsString(); break; + case RedmineKeys.TRACKER: Tracker = new IdentifiableName(reader); break; + default: reader.Read(); break; + } + } + } + #endregion #region Implementation of IEquatable /// @@ -83,7 +113,7 @@ public override void ReadXml(XmlReader reader) public override bool Equals(IssueChild other) { if (other == null) return false; - return (Id == other.Id && Tracker == other.Tracker && Subject == other.Subject); + return Id == other.Id && Tracker == other.Tracker && Subject == other.Subject; } /// diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 54ddec94..cf1c82ca 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -20,6 +20,7 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -122,7 +123,80 @@ public override void WriteXml(XmlWriter writer) } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void WriteJson(JsonWriter writer) + { + if (Values == null) + { + return; + } + + var itemsCount = Values.Count; + + writer.WriteStartObject(); + writer.WriteProperty(RedmineKeys.ID, Id); + writer.WriteProperty(RedmineKeys.NAME, Name); + + if (itemsCount > 1) + { + writer.WritePropertyName(RedmineKeys.VALUE); + writer.WriteStartArray(); + foreach (var cfv in Values) + { + writer.WriteValue(cfv.Info); + } + writer.WriteEndArray(); + + writer.WriteProperty(RedmineKeys.MULTIPLE, Multiple.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + } + else + { + writer.WriteProperty(RedmineKeys.VALUE, itemsCount > 0 ? Values[0].Info : null); + } + + writer.WriteEndObject(); + } + + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.MULTIPLE: Multiple = reader.ReadAsBool(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + case RedmineKeys.VALUE: + reader.Read(); + switch (reader.TokenType) + { + case JsonToken.Null: break; + case JsonToken.StartArray: + Values = reader.ReadAsCollection(); + break; + default: + Values = new List { new CustomFieldValue { Info = reader.Value as string } }; + break; + } + break; + } + } + } + + #endregion #region Implementation of IEquatable /// @@ -133,10 +207,10 @@ public override void WriteXml(XmlWriter writer) public bool Equals(IssueCustomField other) { if (other == null) return false; - return (Id == other.Id + return Id == other.Id && Name == other.Name && Multiple == other.Multiple - && (Values != null ? Values.Equals(other.Values) : other.Values == null)); + && (Values != null ? Values.Equals(other.Values) : other.Values == null); } /// @@ -182,7 +256,7 @@ public object Clone() /// /// /// - public string GetValue(object item) + public static string GetValue(object item) { return ((CustomFieldValue)item).Info; } @@ -193,5 +267,14 @@ public string GetValue(object item) /// private string DebuggerDisplay => $"[{nameof(IssueCustomField)}: {ToString()} Values={Values.Dump()}, Multiple={Multiple.ToString(CultureInfo.InvariantCulture)}]"; + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + return Equals(obj as IssueCustomField); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssuePriority.cs b/src/redmine-net-api/Types/IssuePriority.cs index 30a5846d..8eabc866 100644 --- a/src/redmine-net-api/Types/IssuePriority.cs +++ b/src/redmine-net-api/Types/IssuePriority.cs @@ -19,6 +19,8 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; namespace Redmine.Net.Api.Types @@ -42,7 +44,7 @@ public sealed class IssuePriority : IdentifiableName, IEquatable /// /// Generates an object from its XML representation. /// - /// The stream from which the object is deserialized. + /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { reader.Read(); @@ -65,7 +67,36 @@ public override void ReadXml(XmlReader reader) } #endregion - + #region Implementation of IJsonSerialization + + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.IS_DEFAULT: IsDefault = reader.ReadAsBool(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + #endregion #region Implementation of IEquatable /// diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 653d0e97..a6bae1f1 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -19,8 +19,10 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -129,7 +131,53 @@ public override void WriteXml(XmlWriter writer) } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void WriteJson(JsonWriter writer) + { + using (new JsonObject(writer, RedmineKeys.RELATION)) + { + writer.WriteProperty(RedmineKeys.ISSUE_TO_ID, IssueToId); + writer.WriteProperty(RedmineKeys.RELATION_TYPE, Type); + if (Type == IssueRelationType.Precedes || Type == IssueRelationType.Follows) + { + writer.WriteValueOrEmpty(RedmineKeys.DELAY, Delay); + } + } + } + + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.DELAY: Delay = reader.ReadAsInt32(); break; + case RedmineKeys.ISSUE_ID: IssueId = reader.ReadAsInt(); break; + case RedmineKeys.ISSUE_TO_ID: IssueToId = reader.ReadAsInt(); break; + case RedmineKeys.RELATION_TYPE: Type = (IssueRelationType)reader.ReadAsInt(); break; + } + } + } + #endregion #region Implementation of IEquatable /// @@ -140,7 +188,7 @@ public override void WriteXml(XmlWriter writer) public override bool Equals(IssueRelation other) { if (other == null) return false; - return (Id == other.Id && IssueId == other.IssueId && IssueToId == other.IssueToId && Type == other.Type && Delay == other.Delay); + return Id == other.Id && IssueId == other.IssueId && IssueToId == other.IssueToId && Type == other.Type && Delay == other.Delay; } /// @@ -169,7 +217,7 @@ public override int GetHashCode() private string DebuggerDisplay => $@"[{nameof(IssueRelation)}: {ToString()}, IssueId={IssueId.ToString(CultureInfo.InvariantCulture)}, IssueToId={IssueToId.ToString(CultureInfo.InvariantCulture)}, -Type={Type.ToString("G")}, +Type={Type:G}, Delay={Delay?.ToString(CultureInfo.InvariantCulture)}]"; } diff --git a/src/redmine-net-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs index 1ae4f930..f6e28201 100644 --- a/src/redmine-net-api/Types/IssueStatus.cs +++ b/src/redmine-net-api/Types/IssueStatus.cs @@ -19,6 +19,8 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; namespace Redmine.Net.Api.Types @@ -74,7 +76,36 @@ public override void ReadXml(XmlReader reader) } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.IS_CLOSED: IsClosed = reader.ReadAsBool(); break; + case RedmineKeys.IS_DEFAULT: IsDefault = reader.ReadAsBool(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + #endregion #region Implementation of IEquatable /// @@ -85,7 +116,7 @@ public override void ReadXml(XmlReader reader) public bool Equals(IssueStatus other) { if (other == null) return false; - return (Id == other.Id && Name == other.Name && IsClosed == other.IsClosed && IsDefault == other.IsDefault); + return Id == other.Id && Name == other.Name && IsClosed == other.IsClosed && IsDefault == other.IsDefault; } /// diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index 047851c4..c7cd1950 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -20,6 +20,7 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -102,7 +103,40 @@ public override void ReadXml(XmlReader reader) } #endregion - + #region Implementation of IJsonSerialization + + + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.DETAILS: Details = reader.ReadAsCollection(); break; + case RedmineKeys.NOTES: Notes = reader.ReadAsString(); break; + case RedmineKeys.PRIVATE_NOTES: PrivateNotes = reader.ReadAsBool(); break; + case RedmineKeys.USER: User = new IdentifiableName(reader); break; + default: reader.Read(); break; + } + } + } + #endregion #region Implementation of IEquatable /// diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index ea8551cd..956651a9 100644 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -18,6 +18,7 @@ limitations under the License. using System.Diagnostics; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -71,7 +72,35 @@ public override void ReadXml(XmlReader reader) } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; + case RedmineKeys.ROLES: Roles = reader.ReadAsCollection(); break; + default: reader.Read(); break; + } + } + } + #endregion #region Implementation of IEquatable /// @@ -82,10 +111,9 @@ public override void ReadXml(XmlReader reader) public override bool Equals(Membership other) { if (other == null) return false; - return ( - Id == other.Id && + return Id == other.Id && Project != null ? Project.Equals(other.Project) : other.Project == null && - Roles != null ? Roles.Equals(other.Roles) : other.Roles == null); + Roles != null ? Roles.Equals(other.Roles) : other.Roles == null; } /// diff --git a/src/redmine-net-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs index 65586fab..0b16f7d5 100644 --- a/src/redmine-net-api/Types/MembershipRole.cs +++ b/src/redmine-net-api/Types/MembershipRole.cs @@ -19,6 +19,7 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -64,7 +65,45 @@ public override void WriteXml(XmlWriter writer) } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.INHERITED: Inherited = reader.ReadAsBool(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public override void WriteJson(JsonWriter writer) + { + writer.WriteProperty(RedmineKeys.ID, Id.ToString(CultureInfo.InvariantCulture)); + } + + #endregion #region Implementation of IEquatable /// diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index abb4a7ec..3e738072 100644 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -19,6 +19,7 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -100,7 +101,39 @@ public override void ReadXml(XmlReader reader) } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; + case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; + case RedmineKeys.SUMMARY: Summary = reader.ReadAsString(); break; + case RedmineKeys.TITLE: Title = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + #endregion #region Implementation of IEquatable /// @@ -111,13 +144,13 @@ public override void ReadXml(XmlReader reader) public override bool Equals(News other) { if (other == null) return false; - return (Id == other.Id + return Id == other.Id && Project == other.Project && Author == other.Author - && Title == other.Title - && Summary == other.Summary - && Description == other.Description - && CreatedOn == other.CreatedOn); + && string.Equals(Title,other.Title,StringComparison.OrdinalIgnoreCase) + && string.Equals(Summary, other.Summary, StringComparison.OrdinalIgnoreCase) + && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) + && CreatedOn == other.CreatedOn; } /// diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index 656b6daf..185157c1 100644 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -19,7 +19,9 @@ limitations under the License. using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -28,7 +30,7 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.PERMISSION)] - public sealed class Permission : IXmlSerializable, IEquatable + public sealed class Permission : IXmlSerializable, IJsonSerializable, IEquatable { #region Properties /// @@ -76,7 +78,39 @@ public void WriteXml(XmlWriter writer) { } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.PERMISSION: Info = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public void WriteJson(JsonWriter writer) { } + #endregion #region Implementation of IEquatable /// diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 6bf01248..fd3dece0 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -20,8 +20,10 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -141,7 +143,7 @@ public sealed class Project : IdentifiableName, IEquatable /// /// Generates an object from its XML representation. /// - /// The stream from which the object is deserialized. + /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { reader.Read(); @@ -204,7 +206,78 @@ public override void WriteXml(XmlWriter writer) } #endregion - + #region Implementation of IJsonSerialization + + + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadAsCollection(); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; + case RedmineKeys.ENABLED_MODULES: EnabledModules = reader.ReadAsCollection(); break; + case RedmineKeys.HOMEPAGE: HomePage = reader.ReadAsString(); break; + case RedmineKeys.IDENTIFIER: Identifier = reader.ReadAsString(); break; + case RedmineKeys.INHERIT_MEMBERS: InheritMembers = reader.ReadAsBool(); break; + case RedmineKeys.IS_PUBLIC: IsPublic = reader.ReadAsBool(); break; + case RedmineKeys.ISSUE_CATEGORIES: IssueCategories = reader.ReadAsCollection(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + case RedmineKeys.PARENT: Parent = new IdentifiableName(reader); break; + case RedmineKeys.STATUS: Status = (ProjectStatus)reader.ReadAsInt(); break; + case RedmineKeys.TIME_ENTRY_ACTIVITIES: TimeEntryActivities = reader.ReadAsCollection(); break; + case RedmineKeys.TRACKERS: Trackers = reader.ReadAsCollection(); break; + case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadAsDateTime(); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public override void WriteJson(JsonWriter writer) + { + using (new JsonObject(writer, RedmineKeys.PROJECT)) + { + writer.WriteProperty(RedmineKeys.NAME, Name); + writer.WriteProperty(RedmineKeys.IDENTIFIER, Identifier); + writer.WriteIfNotDefaultOrNull(RedmineKeys.DESCRIPTION, Description); + writer.WriteIfNotDefaultOrNull(RedmineKeys.HOMEPAGE, HomePage); + writer.WriteIfNotDefaultOrNull(RedmineKeys.INHERIT_MEMBERS, InheritMembers); + writer.WriteIfNotDefaultOrNull(RedmineKeys.IS_PUBLIC, IsPublic); + writer.WriteIdIfNotNull(RedmineKeys.PARENT_ID, Parent); + writer.WriteRepeatableElement(RedmineKeys.TRACKER_IDS, (IEnumerable)Trackers); + writer.WriteRepeatableElement(RedmineKeys.ENABLED_MODULE_NAMES, (IEnumerable)EnabledModules); + + if (Id == 0) + { + writer.WriteRepeatableElement(RedmineKeys.ISSUE_CUSTOM_FIELD_IDS, (IEnumerable)CustomFields); + return; + } + + writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); + } + } + #endregion #region Implementation of IEquatable /// @@ -219,12 +292,11 @@ public bool Equals(Project other) return false; } - return ( - Id == other.Id - && string.Equals(Identifier,other.Identifier, StringComparison.OrdinalIgnoreCase) - && string.Equals(Description,other.Description, StringComparison.OrdinalIgnoreCase) + return Id == other.Id + && string.Equals(Identifier, other.Identifier, StringComparison.OrdinalIgnoreCase) + && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) && (Parent != null ? Parent.Equals(other.Parent) : other.Parent == null) - && (HomePage != null ? string.Equals(HomePage,other.HomePage, StringComparison.OrdinalIgnoreCase) : other.HomePage == null) + && string.Equals(HomePage, other.HomePage, StringComparison.OrdinalIgnoreCase) && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn && Status == other.Status @@ -234,8 +306,7 @@ public bool Equals(Project other) && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) && (IssueCategories != null ? IssueCategories.Equals(other.IssueCategories) : other.IssueCategories == null) && (EnabledModules != null ? EnabledModules.Equals(other.EnabledModules) : other.EnabledModules == null) - && (TimeEntryActivities != null ? TimeEntryActivities.Equals(other.TimeEntryActivities) : other.TimeEntryActivities == null) - ); + && (TimeEntryActivities != null ? TimeEntryActivities.Equals(other.TimeEntryActivities) : other.TimeEntryActivities == null); } /// @@ -275,7 +346,7 @@ public override int GetHashCode() $@"[Project: {ToString()}, Identifier={Identifier}, Description={Description}, Parent={Parent}, HomePage={HomePage}, CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, UpdatedOn={UpdatedOn?.ToString("u", CultureInfo.InvariantCulture)}, -Status={Status.ToString("G")}, +Status={Status:G}, IsPublic={IsPublic.ToString(CultureInfo.InvariantCulture)}, InheritMembers={InheritMembers.ToString(CultureInfo.InvariantCulture)}, Trackers={Trackers.Dump()}, @@ -284,5 +355,14 @@ public override int GetHashCode() EnabledModules={EnabledModules.Dump()}, TimeEntryActivities = {TimeEntryActivities.Dump()}]"; + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + return Equals(obj as Project); + } } } diff --git a/src/redmine-net-api/Types/ProjectEnabledModule.cs b/src/redmine-net-api/Types/ProjectEnabledModule.cs index a39d8122..055703c8 100644 --- a/src/redmine-net-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net-api/Types/ProjectEnabledModule.cs @@ -42,7 +42,7 @@ public ProjectEnabledModule(string moduleName) { if (moduleName.IsNullOrWhiteSpace()) { - throw new ArgumentException(nameof(moduleName)); + throw new ArgumentException("The module name should be one of: boards, calendar, documents, files, gant, issue_tracking, news, repository, time_tracking, wiki.", nameof(moduleName)); } Name = moduleName; diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index 1cc92014..db571eda 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -18,8 +18,10 @@ limitations under the License. using System.Diagnostics; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -105,7 +107,50 @@ public override void WriteXml(XmlWriter writer) } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.GROUP: Group = new IdentifiableName(reader); break; + case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; + case RedmineKeys.ROLES: Roles = reader.ReadAsCollection(); break; + case RedmineKeys.USER: User = new IdentifiableName(reader); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public override void WriteJson(JsonWriter writer) + { + using (new JsonObject(writer, RedmineKeys.MEMBERSHIP)) + { + writer.WriteIdIfNotNull(RedmineKeys.USER_ID, User); + writer.WriteRepeatableElement(RedmineKeys.ROLE_IDS, (IEnumerable)Roles); + } + } + #endregion #region Implementation of IEquatable /// @@ -116,11 +161,11 @@ public override void WriteXml(XmlWriter writer) public override bool Equals(ProjectMembership other) { if (other == null) return false; - return (Id == other.Id + return Id == other.Id && Project.Equals(other.Project) && Roles.Equals(other.Roles) && (User != null ? User.Equals(other.User) : other.User == null) - && (Group != null ? Group.Equals(other.Group) : other.Group == null)); + && (Group != null ? Group.Equals(other.Group) : other.Group == null); } /// diff --git a/src/redmine-net-api/Types/Query.cs b/src/redmine-net-api/Types/Query.cs index 0c70a40a..53e3c8e4 100644 --- a/src/redmine-net-api/Types/Query.cs +++ b/src/redmine-net-api/Types/Query.cs @@ -19,6 +19,7 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -73,7 +74,37 @@ public override void ReadXml(XmlReader reader) } #endregion - + #region Implementation of IJsonSerialization + + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.IS_PUBLIC: IsPublic = reader.ReadAsBool(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + case RedmineKeys.PROJECT_ID: ProjectId = reader.ReadAsInt32(); break; + default: reader.Read(); break; + } + } + } + #endregion #region Implementation of IEquatable /// @@ -85,7 +116,7 @@ public bool Equals(Query other) { if (other == null) return false; - return (other.Id == Id && other.Name == Name && other.IsPublic == IsPublic && other.ProjectId == ProjectId); + return other.Id == Id && other.Name == Name && other.IsPublic == IsPublic && other.ProjectId == ProjectId; } /// @@ -112,5 +143,14 @@ public override int GetHashCode() /// private string DebuggerDisplay => $"[{nameof(Query)}: {ToString()}, IsPublic={IsPublic.ToString(CultureInfo.InvariantCulture)}, ProjectId={ProjectId?.ToString(CultureInfo.InvariantCulture)}]"; + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + return Equals(obj as Query); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index 777e9566..c0e544d5 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -19,6 +19,7 @@ limitations under the License. using System.Diagnostics; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -68,7 +69,36 @@ public override void ReadXml(XmlReader reader) } #endregion - + #region Implementation of IJsonSerialization + + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + case RedmineKeys.PERMISSIONS: Permissions = reader.ReadAsCollection(); break; + default: reader.Read(); break; + } + } + } + #endregion #region Implementation of IEquatable /// diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index 348642fd..29770f01 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -20,8 +20,10 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types @@ -156,7 +158,64 @@ public override void WriteXml(XmlWriter writer) } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.ACTIVITY: Activity = new IdentifiableName(reader); break; + case RedmineKeys.ACTIVITY_ID: Activity = new IdentifiableName(reader); break; + case RedmineKeys.COMMENTS: Comments = reader.ReadAsString(); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadAsCollection(); break; + case RedmineKeys.HOURS: Hours = reader.ReadAsDecimal().GetValueOrDefault(); break; + case RedmineKeys.ISSUE: Issue = new IdentifiableName(reader); break; + case RedmineKeys.ISSUE_ID: Issue = new IdentifiableName(reader); break; + case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; + case RedmineKeys.PROJECT_ID: Project = new IdentifiableName(reader); break; + case RedmineKeys.SPENT_ON: SpentOn = reader.ReadAsDateTime(); break; + case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.USER: User = new IdentifiableName(reader); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public override void WriteJson(JsonWriter writer) + { + using (new JsonObject(writer, RedmineKeys.TIME_ENTRY)) + { + writer.WriteIdIfNotNull(RedmineKeys.ISSUE_ID, Issue); + writer.WriteIdIfNotNull(RedmineKeys.PROJECT_ID, Project); + writer.WriteIdIfNotNull(RedmineKeys.ACTIVITY_ID, Activity); + writer.WriteDateOrEmpty(RedmineKeys.SPENT_ON, SpentOn.GetValueOrDefault(DateTime.Now)); + writer.WriteProperty(RedmineKeys.HOURS, Hours); + writer.WriteProperty(RedmineKeys.COMMENTS, Comments); + writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); + } + } + #endregion #region Implementation of IEquatable /// @@ -167,7 +226,7 @@ public override void WriteXml(XmlWriter writer) public override bool Equals(TimeEntry other) { if (other == null) return false; - return (Id == other.Id + return Id == other.Id && Issue == other.Issue && Project == other.Project && SpentOn == other.SpentOn @@ -177,7 +236,7 @@ public override bool Equals(TimeEntry other) && User == other.User && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null)); + && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null); } /// @@ -213,12 +272,9 @@ public object Clone() { var timeEntry = new TimeEntry { - Activity = Activity - , - Comments = Comments - , - Hours = Hours - , + Activity = Activity, + Comments = Comments, + Hours = Hours, Issue = Issue, Project = Project, SpentOn = SpentOn, @@ -234,7 +290,7 @@ public object Clone() /// /// private string DebuggerDisplay => - $@"[{nameof(TimeEntry)}: {ToString()}, Issue={Issue}, Project={Project}, + $@"[{nameof(TimeEntry)}: {ToString()}, Issue={Issue}, Project={Project}, SpentOn={SpentOn?.ToString("u", CultureInfo.InvariantCulture)}, Hours={Hours.ToString("F", CultureInfo.InvariantCulture)}, Activity={Activity}, diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index 8a00d9d7..ad0f9547 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -19,6 +19,8 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; namespace Redmine.Net.Api.Types @@ -53,7 +55,7 @@ internal TimeEntryActivity(int id, string name) /// /// Generates an object from its XML representation. /// - /// The stream from which the object is deserialized. + /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { reader.Read(); @@ -83,7 +85,35 @@ public override void WriteXml(XmlWriter writer) { } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.IS_DEFAULT: IsDefault = reader.ReadAsBool(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + #endregion #region Implementation of IEquatable diff --git a/src/redmine-net-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs index 6d0dea10..a63c7bc7 100644 --- a/src/redmine-net-api/Types/Tracker.cs +++ b/src/redmine-net-api/Types/Tracker.cs @@ -18,6 +18,8 @@ limitations under the License. using System.Diagnostics; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; namespace Redmine.Net.Api.Types @@ -33,7 +35,7 @@ public class Tracker : IdentifiableName, IEquatable /// /// Generates an object from its XML representation. /// - /// The stream from which the object is deserialized. + /// The stream from which the object is deserialized. public override void ReadXml(XmlReader reader) { reader.Read(); @@ -55,7 +57,35 @@ public override void ReadXml(XmlReader reader) } #endregion - + #region Implementation of IJsonSerialization + + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + #endregion #region Implementation of IEquatable /// diff --git a/src/redmine-net-api/Types/TrackerCustomField.cs b/src/redmine-net-api/Types/TrackerCustomField.cs index c7370915..d20ae818 100644 --- a/src/redmine-net-api/Types/TrackerCustomField.cs +++ b/src/redmine-net-api/Types/TrackerCustomField.cs @@ -17,6 +17,7 @@ limitations under the License. using System.Diagnostics; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Types @@ -41,7 +42,35 @@ public override void ReadXml(XmlReader reader) } #endregion - + #region Implementation of IJsonSerialization + + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + #endregion /// /// diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index 03c44f2c..9450442a 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -19,7 +19,10 @@ limitations under the License. using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; +using Newtonsoft.Json; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -28,7 +31,7 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.UPLOAD)] - public sealed class Upload : IXmlSerializable, IEquatable + public sealed class Upload : IXmlSerializable, IJsonSerializable, IEquatable { #region Properties /// @@ -103,7 +106,48 @@ public void WriteXml(XmlWriter writer) } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.CONTENT_TYPE: ContentType = reader.ReadAsString(); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; + case RedmineKeys.FILENAME: FileName = reader.ReadAsString(); break; + case RedmineKeys.TOKEN: Token = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public void WriteJson(JsonWriter writer) + { + writer.WriteProperty(RedmineKeys.TOKEN, Token); + writer.WriteProperty(RedmineKeys.CONTENT_TYPE, ContentType); + writer.WriteProperty(RedmineKeys.FILENAME, FileName); + writer.WriteProperty(RedmineKeys.DESCRIPTION, Description); + } + #endregion #region Implementation of IEquatable /// @@ -116,10 +160,10 @@ public void WriteXml(XmlWriter writer) public bool Equals(Upload other) { return other != null - && string.Equals(Token,other.Token, StringComparison.OrdinalIgnoreCase) - && string.Equals(FileName,other.FileName, StringComparison.OrdinalIgnoreCase) - && string.Equals(Description,other.Description, StringComparison.OrdinalIgnoreCase) - && string.Equals(ContentType,other.ContentType, StringComparison.OrdinalIgnoreCase); + && string.Equals(Token, other.Token, StringComparison.OrdinalIgnoreCase) + && string.Equals(FileName, other.FileName, StringComparison.OrdinalIgnoreCase) + && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) + && string.Equals(ContentType, other.ContentType, StringComparison.OrdinalIgnoreCase); } /// diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index 35ab0f25..90c63dc9 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -20,8 +20,10 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -180,13 +182,73 @@ public override void WriteXml(XmlWriter writer) writer.WriteElementString(RedmineKeys.MAIL_NOTIFICATION, MailNotification); writer.WriteElementString(RedmineKeys.PASSWORD, Password); writer.WriteValueOrEmpty(RedmineKeys.AUTH_SOURCE_ID, AuthenticationModeId); - writer.WriteElementString(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword.ToString().ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); writer.WriteElementString(RedmineKeys.STATUS, ((int)Status).ToString(CultureInfo.InvariantCulture)); writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.API_KEY: ApiKey = reader.ReadAsString(); break; + case RedmineKeys.AUTH_SOURCE_ID: AuthenticationModeId = reader.ReadAsInt32(); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadAsCollection(); break; + case RedmineKeys.LAST_LOGIN_ON: LastLoginOn = reader.ReadAsDateTime(); break; + case RedmineKeys.LASTNAME: LastName = reader.ReadAsString(); break; + case RedmineKeys.LOGIN: Login = reader.ReadAsString(); break; + case RedmineKeys.FIRSTNAME: FirstName = reader.ReadAsString(); break; + case RedmineKeys.GROUPS: Groups = reader.ReadAsCollection(); break; + case RedmineKeys.MAIL: Email = reader.ReadAsString(); break; + case RedmineKeys.MAIL_NOTIFICATION: MailNotification = reader.ReadAsString(); break; + case RedmineKeys.MEMBERSHIPS: Memberships = reader.ReadAsCollection(); break; + case RedmineKeys.MUST_CHANGE_PASSWORD: MustChangePassword = reader.ReadAsBool(); break; + case RedmineKeys.STATUS: Status = (UserStatus)reader.ReadAsInt(); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public override void WriteJson(JsonWriter writer) + { + using (new JsonObject(writer, RedmineKeys.USER)) + { + writer.WriteProperty(RedmineKeys.LOGIN, Login); + writer.WriteProperty(RedmineKeys.FIRSTNAME, FirstName); + writer.WriteProperty(RedmineKeys.LASTNAME, LastName); + writer.WriteProperty(RedmineKeys.MAIL, Email); + writer.WriteProperty(RedmineKeys.MAIL_NOTIFICATION, MailNotification); + writer.WriteProperty(RedmineKeys.PASSWORD, Password); + writer.WriteProperty(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + writer.WriteValueOrEmpty(RedmineKeys.AUTH_SOURCE_ID, AuthenticationModeId); + writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); + } + } + #endregion #region Implementation of IEquatable /// @@ -197,14 +259,13 @@ public override void WriteXml(XmlWriter writer) public override bool Equals(User other) { if (other == null) return false; - return ( - Id == other.Id + return Id == other.Id && string.Equals(Login,other.Login, StringComparison.OrdinalIgnoreCase) && string.Equals(FirstName,other.FirstName, StringComparison.OrdinalIgnoreCase) && string.Equals(LastName,other.LastName, StringComparison.OrdinalIgnoreCase) && string.Equals(Email,other.Email, StringComparison.OrdinalIgnoreCase) && string.Equals(MailNotification,other.MailNotification, StringComparison.OrdinalIgnoreCase) - && (ApiKey != null ? string.Equals(ApiKey,other.ApiKey, StringComparison.OrdinalIgnoreCase) : other.ApiKey == null) + && string.Equals(ApiKey,other.ApiKey, StringComparison.OrdinalIgnoreCase) && AuthenticationModeId == other.AuthenticationModeId && CreatedOn == other.CreatedOn && LastLoginOn == other.LastLoginOn @@ -212,8 +273,7 @@ public override bool Equals(User other) && MustChangePassword == other.MustChangePassword && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) && (Memberships != null ? Memberships.Equals(other.Memberships) : other.Memberships == null) - && (Groups != null ? Groups.Equals(other.Groups) : other.Groups == null) - ); + && (Groups != null ? Groups.Equals(other.Groups) : other.Groups == null); } /// @@ -256,7 +316,7 @@ public override int GetHashCode() CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, LastLoginOn={LastLoginOn?.ToString("u", CultureInfo.InvariantCulture)}, ApiKey={ApiKey}, -Status={Status.ToString("G")}, +Status={Status:G}, MustChangePassword={MustChangePassword.ToString(CultureInfo.InvariantCulture)}, CustomFields={CustomFields.Dump()}, Memberships={Memberships.Dump()}, diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index dffbb4cb..960b7593 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -20,8 +20,10 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -128,7 +130,58 @@ public override void WriteXml(XmlWriter writer) } #endregion - + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadAsCollection(); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; + case RedmineKeys.DUE_DATE: DueDate = reader.ReadAsDateTime(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; + case RedmineKeys.SHARING: Sharing = (VersionSharing)Enum.Parse(typeof(VersionSharing), reader.ReadAsString(), true); break; + case RedmineKeys.STATUS: Status = (VersionStatus)Enum.Parse(typeof(VersionStatus), reader.ReadAsString(), true); break; + case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadAsDateTime(); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public override void WriteJson(JsonWriter writer) + { + using (new JsonObject(writer, RedmineKeys.VERSION)) + { + writer.WriteProperty(RedmineKeys.NAME, Name); + writer.WriteProperty(RedmineKeys.STATUS, Status.ToString().ToLowerInvariant()); + writer.WriteProperty(RedmineKeys.SHARING, Sharing.ToString().ToLowerInvariant()); + writer.WriteProperty(RedmineKeys.DESCRIPTION, Description); + writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, DueDate); + } + } + #endregion #region Implementation of IEquatable /// @@ -139,7 +192,7 @@ public override void WriteXml(XmlWriter writer) public override bool Equals(Version other) { if (other == null) return false; - return (Id == other.Id && Name == other.Name + return Id == other.Id && Name == other.Name && Project == other.Project && Description == other.Description && Status == other.Status @@ -147,7 +200,7 @@ public override bool Equals(Version other) && Sharing == other.Sharing && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null)); + && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null); } /// /// diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs old mode 100755 new mode 100644 index 4a1124dd..9bc11a3b --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -16,73 +16,69 @@ limitations under the License. using System; using System.Collections.Generic; +using System.Diagnostics; +using System.Globalization; using System.Xml; -using System.Xml.Schema; using System.Xml.Serialization; +using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { /// /// Availability 2.2 /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.WIKI_PAGE)] - public class WikiPage : Identifiable, IXmlSerializable, IEquatable + public sealed class WikiPage : Identifiable { + #region Properties /// - /// + /// Gets the title. /// - [XmlElement(RedmineKeys.TITLE)] - public string Title { get; set; } + public string Title { get; internal set; } /// - /// + /// Gets or sets the text. /// - [XmlElement(RedmineKeys.TEXT)] public string Text { get; set; } /// - /// + /// Gets or sets the comments /// - [XmlElement(RedmineKeys.COMMENTS)] public string Comments { get; set; } /// - /// + /// Gets or sets the version /// - [XmlElement(RedmineKeys.VERSION)] public int Version { get; set; } /// - /// + /// Gets the author. /// - [XmlElement(RedmineKeys.AUTHOR)] - public IdentifiableName Author { get; set; } + public IdentifiableName Author { get; internal set; } /// - /// Gets or sets the created on. + /// Gets the created on. /// /// The created on. - [XmlElement(RedmineKeys.CREATED_ON)] - public DateTime? CreatedOn { get; set; } + public DateTime? CreatedOn { get; internal set; } /// /// Gets or sets the updated on. /// /// The updated on. - [XmlElement(RedmineKeys.UPDATED_ON)] - public DateTime? UpdatedOn { get; set; } + public DateTime? UpdatedOn { get; internal set; } /// - /// Gets or sets the attachments. + /// Gets the attachments. /// /// /// The attachments. /// - [XmlArray(RedmineKeys.ATTACHMENTS)] - [XmlArrayItem(RedmineKeys.ATTACHMENT)] - public IList Attachments { get; internal set; } + public IList Attachments { get; set; } /// /// Sets the uploads. @@ -91,23 +87,16 @@ public class WikiPage : Identifiable, IXmlSerializable, IEquatable /// Availability starting with redmine version 3.3 - [XmlArray(RedmineKeys.UPLOADS)] - [XmlArrayItem(RedmineKeys.UPLOAD)] public IList Uploads { get; set; } + #endregion #region Implementation of IXmlSerializable - /// - /// - /// - /// - public XmlSchema GetSchema() { return null; } - /// /// /// /// - public void ReadXml(XmlReader reader) + public override void ReadXml(XmlReader reader) { reader.Read(); while (!reader.EOF) @@ -121,23 +110,63 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; - - case RedmineKeys.TITLE: Title = reader.ReadElementContentAsString(); break; - - case RedmineKeys.TEXT: Text = reader.ReadElementContentAsString(); break; - + case RedmineKeys.ATTACHMENTS: Attachments = reader.ReadElementContentAsCollection(); break; + case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; case RedmineKeys.COMMENTS: Comments = reader.ReadElementContentAsString(); break; - + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.TEXT: Text = reader.ReadElementContentAsString(); break; + case RedmineKeys.TITLE: Title = reader.ReadElementContentAsString(); break; + case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadElementContentAsNullableDateTime(); break; case RedmineKeys.VERSION: Version = reader.ReadElementContentAsInt(); break; + default: reader.Read(); break; + } + } + } - case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; + /// + /// + /// + /// + public override void WriteXml(XmlWriter writer) + { + writer.WriteElementString(RedmineKeys.TEXT, Text); + writer.WriteElementString(RedmineKeys.COMMENTS, Comments); + writer.WriteValueOrEmpty(RedmineKeys.VERSION, Version); + writer.WriteArray(RedmineKeys.UPLOADS, Uploads); + } - case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; + #endregion - case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadElementContentAsNullableDateTime(); break; + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } - case RedmineKeys.ATTACHMENTS: Attachments = reader.ReadElementContentAsCollection(); break; + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.ATTACHMENTS: Attachments = reader.ReadAsCollection(); break; + case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; + case RedmineKeys.COMMENTS: Comments = reader.ReadAsString(); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.TEXT: Text = reader.ReadAsString(); break; + case RedmineKeys.TITLE: Title = reader.ReadAsString(); break; + case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.VERSION: Version = reader.ReadAsInt(); break; default: reader.Read(); break; } } @@ -147,14 +176,16 @@ public void ReadXml(XmlReader reader) /// /// /// - public void WriteXml(XmlWriter writer) + public override void WriteJson(JsonWriter writer) { - writer.WriteElementString(RedmineKeys.TEXT, Text); - writer.WriteElementString(RedmineKeys.COMMENTS, Comments); - writer.WriteValueOrEmpty(Version, RedmineKeys.VERSION); - writer.WriteArray(Uploads, RedmineKeys.UPLOADS); + using (new JsonObject(writer, RedmineKeys.WIKI_PAGE)) + { + writer.WriteProperty(RedmineKeys.TEXT, Text); + writer.WriteProperty(RedmineKeys.COMMENTS, Comments); + writer.WriteValueOrEmpty(RedmineKeys.VERSION, Version); + writer.WriteArray(RedmineKeys.UPLOADS, Uploads); + } } - #endregion #region Implementation of IEquatable @@ -164,7 +195,7 @@ public void WriteXml(XmlWriter writer) /// /// /// - public bool Equals(WikiPage other) + public override bool Equals(WikiPage other) { if (other == null) return false; @@ -198,23 +229,18 @@ public override int GetHashCode() return hashCode; } } + #endregion /// /// /// /// - public override string ToString() - { - return - $"[WikiPage: {base.ToString()}, Title={Title}, Text={Text}, Comments={Comments}, Version={Version}, Author={Author}, CreatedOn={CreatedOn}, UpdatedOn={UpdatedOn}, Attachments={Attachments}]"; - } + private string DebuggerDisplay => $@"[{nameof(WikiPage)}: {ToString()}, Title={Title}, Text={Text}, Comments={Comments}, +Version={Version.ToString(CultureInfo.InvariantCulture)}, +Author={Author}, +CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, +UpdatedOn={UpdatedOn?.ToString("u", CultureInfo.InvariantCulture)}, +Attachments={Attachments.Dump()}]"; - /// - public override bool Equals(object obj) - { - return Equals(obj as WikiPage); - } - - #endregion } } \ No newline at end of file From 12c09f09ebe0acb3695cbb2ad167abac639a1db0 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 10 Jan 2020 22:31:18 +0200 Subject: [PATCH 146/601] Serialization is dead! Long live serialization! Replaced the old serialisation access with the new one. --- .../Async/RedmineManagerAsync.cs | 3 +- .../Async/RedmineManagerAsync40.cs | 3 +- .../Async/RedmineManagerAsync45.cs | 36 +-- .../Extensions/WebExtensions.cs | 94 ++++--- src/redmine-net-api/IRedmineManager.cs | 3 +- .../Internals/RedmineSerializer.cs | 236 ------------------ src/redmine-net-api/Internals/UrlHelper.cs | 6 +- .../Internals/WebApiAsyncHelper.cs | 25 +- src/redmine-net-api/Internals/WebApiHelper.cs | 23 +- src/redmine-net-api/RedmineManager.cs | 59 +++-- .../Serialization/ISerialization.cs | 2 + src/redmine-net-api/Types/PaginatedObjects.cs | 40 --- 12 files changed, 150 insertions(+), 380 deletions(-) mode change 100755 => 100644 src/redmine-net-api/Extensions/WebExtensions.cs delete mode 100644 src/redmine-net-api/Internals/RedmineSerializer.cs mode change 100755 => 100644 src/redmine-net-api/Internals/WebApiHelper.cs delete mode 100755 src/redmine-net-api/Types/PaginatedObjects.cs diff --git a/src/redmine-net-api/Async/RedmineManagerAsync.cs b/src/redmine-net-api/Async/RedmineManagerAsync.cs index b7ee7ff7..dbea12b0 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync.cs @@ -2,6 +2,7 @@ #if NET20 using System.Collections.Generic; using System.Collections.Specialized; +using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; namespace Redmine.Net.Api.Async @@ -182,7 +183,7 @@ public static Task CreateObjectAsync(this RedmineManager redmineManager, T /// The redmine manager. /// The parameters. /// - public static Task> GetPaginatedObjectsAsync(this RedmineManager redmineManager, + public static Task> GetPaginatedObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { return delegate { return redmineManager.GetPaginatedObjects(parameters); }; diff --git a/src/redmine-net-api/Async/RedmineManagerAsync40.cs b/src/redmine-net-api/Async/RedmineManagerAsync40.cs index 18506462..d658fcb0 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync40.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync40.cs @@ -21,6 +21,7 @@ limitations under the License. using System.Collections.Specialized; using System.Threading.Tasks; using Redmine.Net.Api.Types; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Async { @@ -208,7 +209,7 @@ public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManage /// The redmine manager. /// The parameters. /// - public static Task> GetPaginatedObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() + public static Task> GetPaginatedObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { return Task.Factory.StartNew(() => redmineManager.GetPaginatedObjects(parameters), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index be209248..635a14d7 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -16,6 +16,7 @@ limitations under the License. #if !(NET20 || NET40) +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Globalization; @@ -24,6 +25,7 @@ limitations under the License. using System.Threading.Tasks; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; namespace Redmine.Net.Api.Async @@ -54,11 +56,15 @@ public static async Task GetCurrentUserAsync(this RedmineManager redmineMa /// public static async Task CreateOrUpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) { - var uri = UrlHelper.GetWikiCreateOrUpdaterUrl(redmineManager, projectId, pageName); - var data = RedmineSerializer.Serialize(wikiPage, redmineManager.MimeFormat); + var data = redmineManager.Serializer.Serialize(wikiPage); + if (string.IsNullOrEmpty(data)) return null; - var response = await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.PUT, data, "CreateOrUpdateWikiPageAsync").ConfigureAwait(false); - return RedmineSerializer.Deserialize(response, redmineManager.MimeFormat); + var url = UrlHelper.GetWikiCreateOrUpdaterUrl(redmineManager, projectId, pageName); + + url = Uri.EscapeUriString(url); + + var response = await WebApiAsyncHelper.ExecuteUpload(redmineManager, url, HttpVerbs.PUT, data, "CreateOrUpdateWikiPageAsync").ConfigureAwait(false); + return redmineManager.Serializer.Deserialize(response); } /// @@ -72,6 +78,7 @@ public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, string pageName) { var uri = UrlHelper.GetDeleteWikirUrl(redmineManager, projectId, pageName); + uri = Uri.EscapeUriString(uri); await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "DeleteWikiPageAsync").ConfigureAwait(false); } @@ -114,6 +121,7 @@ public static async Task GetWikiPageAsync(this RedmineManager redmineM NameValueCollection parameters, string pageName, uint version = 0) { var uri = UrlHelper.GetWikiPageUrl(redmineManager, projectId, pageName, version); + uri = Uri.EscapeUriString(uri); return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, "GetWikiPageAsync", parameters).ConfigureAwait(false); } @@ -231,12 +239,12 @@ public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmine var tempResult = await GetPaginatedObjectsAsync(redmineManager,parameters).ConfigureAwait(false); if (tempResult != null) { - totalCount = tempResult.TotalCount; + totalCount = tempResult.TotalItems; } } catch (WebException wex) { - wex.HandleWebException("CountAsync", redmineManager.MimeFormat); + wex.HandleWebException(redmineManager.Serializer); } return totalCount; @@ -250,7 +258,7 @@ public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmine /// The redmine manager. /// The parameters. /// - public static async Task> GetPaginatedObjectsAsync(this RedmineManager redmineManager, + public static async Task> GetPaginatedObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { @@ -292,12 +300,12 @@ public static async Task> GetObjectsAsync(this RedmineManager redmine { if (resultList == null) { - resultList = tempResult.Objects; - totalCount = tempResult.TotalCount; + resultList = new List(tempResult.Items); + totalCount = tempResult.TotalItems; } else { - resultList.AddRange(tempResult.Objects); + resultList.AddRange(tempResult.Items); } } offset += pageSize; @@ -305,7 +313,7 @@ public static async Task> GetObjectsAsync(this RedmineManager redmine } catch (WebException wex) { - wex.HandleWebException("GetObjectsAsync", redmineManager.MimeFormat); + wex.HandleWebException(redmineManager.Serializer); } return resultList; } @@ -350,10 +358,10 @@ public static async Task CreateObjectAsync(this RedmineManager redmineMana where T : class, new() { var uri = UrlHelper.GetCreateUrl(redmineManager, ownerId); - var data = RedmineSerializer.Serialize(entity, redmineManager.MimeFormat); + var data = redmineManager.Serializer.Serialize(entity); var response = await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data, "CreateObjectAsync").ConfigureAwait(false); - return RedmineSerializer.Deserialize(response, redmineManager.MimeFormat); + return redmineManager.Serializer.Deserialize(response); } /// @@ -368,7 +376,7 @@ public static async Task UpdateObjectAsync(this RedmineManager redmineManager where T : class, new() { var uri = UrlHelper.GetUploadUrl(redmineManager, id); - var data = RedmineSerializer.Serialize(entity, redmineManager.MimeFormat); + var data = redmineManager.Serializer.Serialize(entity); data = Regex.Replace(data, @"\r\n|\r|\n", "\r\n"); await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.PUT, data, "UpdateObjectAsync").ConfigureAwait(false); diff --git a/src/redmine-net-api/Extensions/WebExtensions.cs b/src/redmine-net-api/Extensions/WebExtensions.cs old mode 100755 new mode 100644 index 0a041489..ea219eb1 --- a/src/redmine-net-api/Extensions/WebExtensions.cs +++ b/src/redmine-net-api/Extensions/WebExtensions.cs @@ -14,27 +14,26 @@ You may obtain a copy of the License at limitations under the License. */ +using System; using System.Collections.Generic; using System.IO; - using System.Net; -using Redmine.Net.Api.Internals; using Redmine.Net.Api.Types; using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Extensions { /// /// /// - public static class WebExtensions + internal static class WebExceptionExtensions { /// /// Handles the web exception. /// /// The exception. - /// The method. - /// The MIME format. + /// /// Timeout! /// Bad domain name! /// @@ -45,56 +44,61 @@ public static class WebExtensions /// /// /// - public static void HandleWebException(this WebException exception, string method, MimeFormat mimeFormat) + public static void HandleWebException(this WebException exception, IRedmineSerializer serializer) { - if (exception == null) return; + if (exception == null) + { + return; + } + + var innerException = exception.InnerException ?? exception; switch (exception.Status) { - case WebExceptionStatus.Timeout: throw new RedmineTimeoutException("Timeout!", exception); - case WebExceptionStatus.NameResolutionFailure: throw new NameResolutionFailureException("Bad domain name!", exception); + case WebExceptionStatus.Timeout: + throw new RedmineTimeoutException(nameof(WebExceptionStatus.Timeout), innerException); + case WebExceptionStatus.NameResolutionFailure: + throw new NameResolutionFailureException("Bad domain name.", innerException); case WebExceptionStatus.ProtocolError: { var response = (HttpWebResponse)exception.Response; switch ((int)response.StatusCode) { + case (int)HttpStatusCode.NotFound: + throw new NotFoundException(response.StatusDescription, innerException); - case (int)HttpStatusCode.NotFound: - throw new NotFoundException (response.StatusDescription, exception); + case (int)HttpStatusCode.InternalServerError: + throw new InternalServerErrorException(response.StatusDescription, innerException); - case (int)HttpStatusCode.InternalServerError: - throw new InternalServerErrorException(response.StatusDescription, exception); + case (int)HttpStatusCode.Unauthorized: + throw new UnauthorizedException(response.StatusDescription, innerException); - case (int)HttpStatusCode.Unauthorized: - throw new UnauthorizedException(response.StatusDescription, exception); + case (int)HttpStatusCode.Forbidden: + throw new ForbiddenException(response.StatusDescription, innerException); - case (int)HttpStatusCode.Forbidden: - throw new ForbiddenException(response.StatusDescription, exception); - - case (int)HttpStatusCode.Conflict: - throw new ConflictException("The page that you are trying to update is staled!", exception); + case (int)HttpStatusCode.Conflict: + throw new ConflictException("The page that you are trying to update is staled!", innerException); case 422: - - var errors = GetRedmineExceptions(exception.Response, mimeFormat); + var errors = GetRedmineExceptions(exception.Response, serializer); var message = string.Empty; if (errors != null) { - for (var index = 0; index < errors.Count; index++) + foreach (var error in errors) { - var error = errors[index]; - message = message + (error.Info + "\n"); + message = message + error.Info + Environment.NewLine; } } - throw new RedmineException( - $"{method} has invalid or missing attribute parameters: {message}", exception); + throw new RedmineException("Invalid or missing attribute parameters: " + message, innerException); - case (int)HttpStatusCode.NotAcceptable: throw new NotAcceptableException(response.StatusDescription, exception); + case (int)HttpStatusCode.NotAcceptable: + throw new NotAcceptableException(response.StatusDescription, innerException); } } break; - default: throw new RedmineException(exception.Message, exception); + default: + throw new RedmineException(exception.Message, innerException); } } @@ -102,24 +106,36 @@ public static void HandleWebException(this WebException exception, string method /// Gets the redmine exceptions. /// /// The web response. - /// The MIME format. + /// /// - private static List GetRedmineExceptions(this WebResponse webResponse, MimeFormat mimeFormat) + private static IEnumerable GetRedmineExceptions(this WebResponse webResponse, IRedmineSerializer serializer) { - using (var dataStream = webResponse.GetResponseStream()) + using (var responseStream = webResponse.GetResponseStream()) { - if (dataStream == null) return null; - using (var reader = new StreamReader(dataStream)) + if (responseStream == null) + { + return null; + } + + using (var streamReader = new StreamReader(responseStream)) { - var responseFromServer = reader.ReadToEnd(); + var responseContent = streamReader.ReadToEnd(); - if (!responseFromServer.IsNullOrWhiteSpace()) + if (responseContent.IsNullOrWhiteSpace()) + { + return null; + } + + try + { + var result = serializer.DeserializeToPagedResults(responseContent); + return result.Items; + } + catch (Exception) { - var errors = RedmineSerializer.DeserializeList(responseFromServer, mimeFormat); - return errors.Objects; + throw; } } - return null; } } } diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index 71885597..e265eb02 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -19,6 +19,7 @@ limitations under the License. using System.Net; using System.Net.Security; using System.Security.Cryptography.X509Certificates; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -144,7 +145,7 @@ public interface IRedmineManager /// /// /// - PaginatedObjects GetPaginatedObjects(NameValueCollection parameters) where T : class, new(); + PagedResults GetPaginatedObjects(NameValueCollection parameters) where T : class, new(); /// /// diff --git a/src/redmine-net-api/Internals/RedmineSerializer.cs b/src/redmine-net-api/Internals/RedmineSerializer.cs deleted file mode 100644 index 188fe8ad..00000000 --- a/src/redmine-net-api/Internals/RedmineSerializer.cs +++ /dev/null @@ -1,236 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.IO; -#if !NET20 -using System.Linq; -#endif -using System.Xml; -using System.Xml.Serialization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Exceptions; - -namespace Redmine.Net.Api.Internals -{ - internal static partial class RedmineSerializer - { - private static readonly XmlWriterSettings xws = new XmlWriterSettings {OmitXmlDeclaration = true}; - /// - /// Serializes the specified System.Object and writes the XML document to a string. - /// - /// The type of objects to serialize. - /// The object to serialize. - /// - /// The System.String that contains the XML document. - /// - /// - // ReSharper disable once InconsistentNaming - private static string ToXML(T obj) where T : class - { - using (var stringWriter = new StringWriter()) - { - using (var xmlWriter = XmlWriter.Create(stringWriter, xws)) - { - var sr = new XmlSerializer(typeof (T)); - sr.Serialize(xmlWriter, obj); - return stringWriter.ToString(); - } - } - } - - /// - /// Deserializes the XML document contained by the specific System.String. - /// - /// The type of objects to deserialize. - /// The System.String that contains the XML document to deserialize. - /// - /// The T object being deserialized. - /// - /// An error occurred during deserialization. The original exception is available - /// using the System.Exception.InnerException property. - // ReSharper disable once InconsistentNaming - private static T FromXML(string xml) where T : class - { - if(xml.IsNullOrWhiteSpace()) throw new ArgumentNullException(nameof(xml)); - - using (var text = XmlTextReaderBuilder.Create(xml)) - { - var sr = new XmlSerializer(typeof (T)); - return sr.Deserialize(text) as T; - } - } - - /// - /// Serializes the specified type T and writes the XML document to a string. - /// - /// - /// The object. - /// The MIME format. - /// - /// Serialization error - public static string Serialize(T obj, MimeFormat mimeFormat) where T : class, new() - { - try - { - if (mimeFormat == MimeFormat.Json) - { -#if !NET20 - // return JsonSerializer(obj); -#endif - } - - return ToXML(obj); - } - catch (Exception ex) - { - throw new RedmineException("Serialization error", ex); - } - } - - /// - /// Deserializes the XML document contained by the specific System.String. - /// - /// - /// The response. - /// The MIME format. - /// - /// - /// Could not deserialize null! - /// or - /// Deserialization error - /// - /// - /// - /// - public static T Deserialize(string response, MimeFormat mimeFormat) where T : class, new() - { - if (string.IsNullOrEmpty(response)) throw new RedmineException("Could not deserialize null!"); - try - { - if (mimeFormat == MimeFormat.Json) - { -#if !NET20 - //var type = typeof (T); - //var jsonRoot = (string) null; - //if (type == typeof (IssueCategory)) jsonRoot = RedmineKeys.ISSUE_CATEGORY; - //if (type == typeof (IssueRelation)) jsonRoot = RedmineKeys.RELATION; - //if (type == typeof (TimeEntry)) jsonRoot = RedmineKeys.TIME_ENTRY; - //if (type == typeof (ProjectMembership)) jsonRoot = RedmineKeys.MEMBERSHIP; - //if (type == typeof (WikiPage)) jsonRoot = RedmineKeys.WIKI_PAGE; - //return JsonDeserialize(response, jsonRoot); -#endif - } - return FromXML(response); - } - catch (Exception ex) - { - throw new RedmineException("Deserialization error",ex); - } - } - - /// - /// Deserializes the list. - /// - /// - /// The response. - /// The MIME format. - /// - /// - /// Could not deserialize null! - /// or - /// Deserialization error - /// - public static PaginatedObjects DeserializeList(string response, MimeFormat mimeFormat) - where T : class, new() - { - try - { - if (response.IsNullOrWhiteSpace()) throw new RedmineException("Could not deserialize null!"); - if (mimeFormat == MimeFormat.Json) - { -#if !NET20 - // return JSonDeserializeList(response); -#endif - } - return XmlDeserializeList(response); - } - - catch (Exception ex) - { - throw new RedmineException("Deserialization error", ex); - } - } - -#if !NET20 - ///// - ///// js the son deserialize list. - ///// - ///// - ///// The response. - ///// - //private static PaginatedObjects JSonDeserializeList(string response) where T : class, new() - //{ - // var type = typeof(T); - // var jsonRoot = (string)null; - // if (type == typeof(Error)) jsonRoot = RedmineKeys.ERRORS; - // if (type == typeof(WikiPage)) jsonRoot = RedmineKeys.WIKI_PAGES; - // if (type == typeof(IssuePriority)) jsonRoot = RedmineKeys.ISSUE_PRIORITIES; - // if (type == typeof(TimeEntryActivity)) jsonRoot = RedmineKeys.TIME_ENTRY_ACTIVITIES; - - // if (string.IsNullOrEmpty(jsonRoot)) - // jsonRoot = RedmineManager.Sufixes[type]; - - // var result = JsonDeserializeToList(response, jsonRoot, out var totalItems, out var offset); - - // return new PaginatedObjects() - // { - // TotalCount = totalItems, - // Offset = offset, - // Objects = result.ToList() - // }; - //} -#endif - /// - /// XMLs the deserialize list. - /// - /// - /// The response. - /// - private static PaginatedObjects XmlDeserializeList(string response) where T : class, new() - { - using (var stringReader = new StringReader(response)) - { - using (var xmlReader = XmlTextReaderBuilder.Create(stringReader)) - { - xmlReader.Read(); - xmlReader.Read(); - - var totalItems = xmlReader.ReadAttributeAsInt(RedmineKeys.TOTAL_COUNT); - var offset = xmlReader.ReadAttributeAsInt(RedmineKeys.OFFSET); - var result = xmlReader.ReadElementContentAsCollection(); - return new PaginatedObjects() - { - TotalCount = totalItems, - Offset = offset, - Objects = result - }; - } - } - } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Internals/UrlHelper.cs b/src/redmine-net-api/Internals/UrlHelper.cs index 8bc02e5d..a188b495 100644 --- a/src/redmine-net-api/Internals/UrlHelper.cs +++ b/src/redmine-net-api/Internals/UrlHelper.cs @@ -18,6 +18,7 @@ limitations under the License. using System.Collections.Generic; using System.Collections.Specialized; using System.Globalization; +using System.Web; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; @@ -241,9 +242,10 @@ public static string GetWikisUrl(RedmineManager redmineManager, string projectId /// Name of the page. /// The version. /// - public static string GetWikiPageUrl(RedmineManager redmineManager, string projectId, - string pageName, uint version = 0) + public static string GetWikiPageUrl(RedmineManager redmineManager, string projectId, string pageName, uint version = 0) { + pageName = Uri.EscapeUriString(pageName); + var uri = version == 0 ? string.Format(CultureInfo.InvariantCulture,WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, redmineManager.Format) diff --git a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs index 4912030a..d7e00a66 100644 --- a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs +++ b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs @@ -20,6 +20,7 @@ limitations under the License. using System.Text; using System.Threading.Tasks; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; namespace Redmine.Net.Api.Internals @@ -53,7 +54,7 @@ public static async Task ExecuteUpload(RedmineManager redmineManager, st } catch (WebException webException) { - webException.HandleWebException(methodName, redmineManager.MimeFormat); + webException.HandleWebException(redmineManager.Serializer); } } @@ -80,11 +81,11 @@ public static async Task ExecuteDownload(RedmineManager redmineManager, st try { var response = await wc.DownloadStringTaskAsync(address).ConfigureAwait(false); - return RedmineSerializer.Deserialize(response, redmineManager.MimeFormat); + return redmineManager.Serializer.Deserialize(response); } catch (WebException webException) { - webException.HandleWebException(methodName, redmineManager.MimeFormat); + webException.HandleWebException(redmineManager.Serializer); } return default(T); } @@ -108,13 +109,13 @@ public static async Task> ExecuteDownloadList(RedmineManager redmineM try { var response = await wc.DownloadStringTaskAsync(address).ConfigureAwait(false); - var result = RedmineSerializer.DeserializeList(response, redmineManager.MimeFormat); + var result = redmineManager.Serializer.DeserializeToPagedResults(response); if (result != null) - return result.Objects; + return new List(result.Items); } catch (WebException webException) { - webException.HandleWebException(methodName, redmineManager.MimeFormat); + webException.HandleWebException(redmineManager.Serializer); } return null; } @@ -130,7 +131,7 @@ public static async Task> ExecuteDownloadList(RedmineManager redmineM /// Name of the method. /// The parameters. /// - public static async Task> ExecuteDownloadPaginatedList(RedmineManager redmineManager, string address, + public static async Task> ExecuteDownloadPaginatedList(RedmineManager redmineManager, string address, string methodName, NameValueCollection parameters = null) where T : class, new() { @@ -139,11 +140,11 @@ public static async Task> ExecuteDownloadPaginatedList(Re try { var response = await wc.DownloadStringTaskAsync(address).ConfigureAwait(false); - return RedmineSerializer.DeserializeList(response, redmineManager.MimeFormat); + return redmineManager.Serializer.DeserializeToPagedResults(response); } catch (WebException webException) { - webException.HandleWebException(methodName, redmineManager.MimeFormat); + webException.HandleWebException(redmineManager.Serializer); } return null; } @@ -166,7 +167,7 @@ public static async Task ExecuteDownloadFile(RedmineManager redmineManag } catch (WebException webException) { - webException.HandleWebException(methodName, redmineManager.MimeFormat); + webException.HandleWebException(redmineManager.Serializer); } return null; } @@ -188,11 +189,11 @@ public static async Task ExecuteUploadFile(RedmineManager redmineManager { var response = await wc.UploadDataTaskAsync(address, data).ConfigureAwait(false); var responseString = Encoding.ASCII.GetString(response); - return RedmineSerializer.Deserialize(responseString, redmineManager.MimeFormat); + return redmineManager.Serializer.Deserialize(responseString); } catch (WebException webException) { - webException.HandleWebException(methodName, redmineManager.MimeFormat); + webException.HandleWebException(redmineManager.Serializer); } return null; } diff --git a/src/redmine-net-api/Internals/WebApiHelper.cs b/src/redmine-net-api/Internals/WebApiHelper.cs old mode 100755 new mode 100644 index e5f22110..138e39a0 --- a/src/redmine-net-api/Internals/WebApiHelper.cs +++ b/src/redmine-net-api/Internals/WebApiHelper.cs @@ -18,6 +18,7 @@ limitations under the License. using System.Net; using System.Text; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; namespace Redmine.Net.Api.Internals @@ -51,7 +52,7 @@ public static void ExecuteUpload(RedmineManager redmineManager, string address, } catch (WebException webException) { - webException.HandleWebException(methodName, redmineManager.MimeFormat); + webException.HandleWebException(redmineManager.Serializer); } } } @@ -78,12 +79,12 @@ public static T ExecuteUpload(RedmineManager redmineManager, string address, actionType == HttpVerbs.PATCH) { var response = wc.UploadString(address, actionType, data); - return RedmineSerializer.Deserialize(response, redmineManager.MimeFormat); + return redmineManager.Serializer.Deserialize(response); } } catch (WebException webException) { - webException.HandleWebException(methodName, redmineManager.MimeFormat); + webException.HandleWebException(redmineManager.Serializer); } return default(T); } @@ -108,11 +109,11 @@ public static T ExecuteDownload(RedmineManager redmineManager, string address { var response = wc.DownloadString(address); if (!string.IsNullOrEmpty(response)) - return RedmineSerializer.Deserialize(response, redmineManager.MimeFormat); + return redmineManager.Serializer.Deserialize(response); } catch (WebException webException) { - webException.HandleWebException(methodName, redmineManager.MimeFormat); + webException.HandleWebException(redmineManager.Serializer); } return default(T); } @@ -127,7 +128,7 @@ public static T ExecuteDownload(RedmineManager redmineManager, string address /// Name of the method. /// The parameters. /// - public static PaginatedObjects ExecuteDownloadList(RedmineManager redmineManager, string address, + public static PagedResults ExecuteDownloadList(RedmineManager redmineManager, string address, string methodName, NameValueCollection parameters = null) where T : class, new() { @@ -136,11 +137,11 @@ public static PaginatedObjects ExecuteDownloadList(RedmineManager redmineM try { var response = wc.DownloadString(address); - return RedmineSerializer.DeserializeList(response, redmineManager.MimeFormat); + return redmineManager.Serializer.DeserializeToPagedResults(response); } catch (WebException webException) { - webException.HandleWebException(methodName, redmineManager.MimeFormat); + webException.HandleWebException(redmineManager.Serializer); } return null; } @@ -163,7 +164,7 @@ public static byte[] ExecuteDownloadFile(RedmineManager redmineManager, string a } catch (WebException webException) { - webException.HandleWebException(methodName, redmineManager.MimeFormat); + webException.HandleWebException(redmineManager.Serializer); } return null; } @@ -185,11 +186,11 @@ public static Upload ExecuteUploadFile(RedmineManager redmineManager, string add { var response = wc.UploadData(address, data); var responseString = Encoding.ASCII.GetString(response); - return RedmineSerializer.Deserialize(responseString, redmineManager.MimeFormat); + return redmineManager.Serializer.Deserialize(responseString); } catch (WebException webException) { - webException.HandleWebException(methodName, redmineManager.MimeFormat); + webException.HandleWebException(redmineManager.Serializer); } return null; } diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index d0008040..cc83b910 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -23,10 +23,11 @@ limitations under the License. using System.Security.Cryptography.X509Certificates; using System.Text; using System.Text.RegularExpressions; +using System.Web; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; - +using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; using Group = Redmine.Net.Api.Types.Group; using Version = Redmine.Net.Api.Types.Version; @@ -64,6 +65,7 @@ public class RedmineManager : IRedmineManager {typeof(Watcher), "watchers"}, {typeof(IssueCustomField), "custom_fields"}, {typeof(CustomField), "custom_fields"} + // {typeof(WikiPage), ""} }; private static readonly Dictionary typesWithOffset = new Dictionary{ @@ -79,7 +81,7 @@ public class RedmineManager : IRedmineManager private readonly string basicAuthorization; private readonly CredentialCache cache; private string host; - + internal IRedmineSerializer Serializer { get; } /// /// Initializes a new instance of the class. /// @@ -106,7 +108,17 @@ public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool Host = host; MimeFormat = mimeFormat; - Format = mimeFormat == MimeFormat.Xml ? "xml" : "json"; + if (mimeFormat == MimeFormat.Xml) + { + Format = "xml"; + Serializer = new XmlRedmineSerializer(); + } + else + { + Format = "json"; + Serializer = new JsonRedmineSerializer(); + } + Proxy = proxy; SecurityProtocolType = securityProtocolType; @@ -185,10 +197,7 @@ public RedmineManager(string host, string login, string password, MimeFormat mim /// /// The sufixes. /// - public static Dictionary Sufixes - { - get { return routes; } - } + public static Dictionary Sufixes => routes; /// /// @@ -203,13 +212,12 @@ public static Dictionary Sufixes /// public string Host { - get { return host; } + get => host; private set { host = value; - Uri uriResult; - if (!Uri.TryCreate(host, UriKind.Absolute, out uriResult) || + if (!Uri.TryCreate(host, UriKind.Absolute, out Uri uriResult) || !(uriResult.Scheme == Uri.UriSchemeHttp || uriResult.Scheme == Uri.UriSchemeHttps)) { host = $"http://{host}/"; @@ -342,10 +350,13 @@ public void RemoveUserFromGroup(int groupId, int userId) /// public WikiPage CreateOrUpdateWikiPage(string projectId, string pageName, WikiPage wikiPage) { - var result = RedmineSerializer.Serialize(wikiPage, MimeFormat); + var result = Serializer.Serialize(wikiPage); if (string.IsNullOrEmpty(result)) return null; var url = UrlHelper.GetWikiCreateOrUpdaterUrl(this, projectId, pageName); + + url = Uri.EscapeUriString(url); + return WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, result, "CreateOrUpdateWikiPage"); } @@ -360,6 +371,7 @@ public WikiPage CreateOrUpdateWikiPage(string projectId, string pageName, WikiPa public WikiPage GetWikiPage(string projectId, NameValueCollection parameters, string pageName, uint version = 0) { var url = UrlHelper.GetWikiPageUrl(this, projectId, pageName, version); + url = Uri.EscapeUriString(url); return WebApiHelper.ExecuteDownload(this, url, "GetWikiPage", parameters); } @@ -372,7 +384,7 @@ public List GetAllWikiPages(string projectId) { var url = UrlHelper.GetWikisUrl(this, projectId); var result = WebApiHelper.ExecuteDownloadList(this, url, "GetAllWikiPages"); - return result?.Objects; + return result == null ? null :new List(result.Items); } /// @@ -384,6 +396,7 @@ public List GetAllWikiPages(string projectId) public void DeleteWikiPage(string projectId, string pageName) { var url = UrlHelper.GetDeleteWikirUrl(this, projectId, pageName); + url = Uri.EscapeUriString(url); WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty, "DeleteWikiPage"); } @@ -410,12 +423,12 @@ public void DeleteWikiPage(string projectId, string pageName) var tempResult = GetPaginatedObjects(parameters); if (tempResult != null) { - totalCount = tempResult.TotalCount; + totalCount = tempResult.TotalItems; } } catch (WebException wex) { - wex.HandleWebException("CountAsync", MimeFormat); + wex.HandleWebException(Serializer); } return totalCount; @@ -453,7 +466,7 @@ public void DeleteWikiPage(string projectId, string pageName) /// /// The parameters. /// - public PaginatedObjects GetPaginatedObjects(NameValueCollection parameters) where T : class, new() + public PagedResults GetPaginatedObjects(NameValueCollection parameters) where T : class, new() { var url = UrlHelper.GetListUrl(this, parameters); return WebApiHelper.ExecuteDownloadList(this, url, "GetObjectList", parameters); @@ -565,12 +578,12 @@ public void DeleteWikiPage(string projectId, string pageName) { if (resultList == null) { - resultList = tempResult.Objects; - totalCount = isLimitSet ? pageSize : tempResult.TotalCount; + resultList = new List(tempResult.Items); + totalCount = isLimitSet ? pageSize : tempResult.TotalItems; } else { - resultList.AddRange(tempResult.Objects); + resultList.AddRange(tempResult.Items); } } offset += pageSize; @@ -581,13 +594,13 @@ public void DeleteWikiPage(string projectId, string pageName) var result = GetPaginatedObjects(parameters); if (result != null) { - return result.Objects; + return new List(result.Items); } } } catch (WebException wex) { - wex.HandleWebException("GetObjectsAsync", MimeFormat); + wex.HandleWebException( Serializer); } return resultList; } @@ -638,7 +651,7 @@ public void DeleteWikiPage(string projectId, string pageName) public T CreateObject(T obj, string ownerId) where T : class, new() { var url = UrlHelper.GetCreateUrl(this, ownerId); - var data = RedmineSerializer.Serialize(obj, MimeFormat); + var data = Serializer.Serialize(obj); return WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, data, "CreateObject"); } @@ -675,7 +688,7 @@ public void DeleteWikiPage(string projectId, string pageName) public void UpdateObject(string id, T obj, string projectId) where T : class, new() { var url = UrlHelper.GetUploadUrl(this, id); - var data = RedmineSerializer.Serialize(obj, MimeFormat); + var data = Serializer.Serialize(obj); data = Regex.Replace(data, @"\r\n|\r|\n", "\r\n"); WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, data, "UpdateObject"); } @@ -736,7 +749,7 @@ public void UpdateAttachment(int issueId, Attachment attachment) { var address = UrlHelper.GetAttachmentUpdateUrl(this, issueId); var attachments = new Attachments { { attachment.Id, attachment } }; - var data = RedmineSerializer.Serialize(attachments, MimeFormat); + var data = Serializer.Serialize(attachments); WebApiHelper.ExecuteUpload(this, address, HttpVerbs.PATCH, data, "UpdateAttachment"); } diff --git a/src/redmine-net-api/Serialization/ISerialization.cs b/src/redmine-net-api/Serialization/ISerialization.cs index 172fb95c..d571939d 100644 --- a/src/redmine-net-api/Serialization/ISerialization.cs +++ b/src/redmine-net-api/Serialization/ISerialization.cs @@ -6,6 +6,8 @@ internal interface IRedmineSerializer string Serialize(T obj) where T : class; + PagedResults DeserializeToPagedResults(string response) where T : class, new(); + T Deserialize(string response) where T : new(); } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/PaginatedObjects.cs b/src/redmine-net-api/Types/PaginatedObjects.cs deleted file mode 100755 index 2498e3a5..00000000 --- a/src/redmine-net-api/Types/PaginatedObjects.cs +++ /dev/null @@ -1,40 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Collections.Generic; - -namespace Redmine.Net.Api.Types -{ - /// - /// - /// - /// - public class PaginatedObjects - { - /// - /// - /// - public List Objects { get; internal set; } - /// - /// - /// - public int TotalCount { get; set; } - /// - /// - /// - public int Offset { get; set; } - } -} \ No newline at end of file From f11fcfaab226ad5a65298e37153bf57d04ac8be4 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 10 Jan 2020 22:39:50 +0200 Subject: [PATCH 147/601] Add xml serialization cache --- .../Serialization/CacheKeyFactory.cs | 72 ++++++++++ .../Serialization/IXmlSerializerCache.cs | 18 +++ .../Serialization/XmlSerializerCache.cs | 132 ++++++++++++++++++ 3 files changed, 222 insertions(+) create mode 100644 src/redmine-net-api/Serialization/CacheKeyFactory.cs create mode 100644 src/redmine-net-api/Serialization/IXmlSerializerCache.cs create mode 100644 src/redmine-net-api/Serialization/XmlSerializerCache.cs diff --git a/src/redmine-net-api/Serialization/CacheKeyFactory.cs b/src/redmine-net-api/Serialization/CacheKeyFactory.cs new file mode 100644 index 00000000..d6244b1b --- /dev/null +++ b/src/redmine-net-api/Serialization/CacheKeyFactory.cs @@ -0,0 +1,72 @@ +using System; +using System.Globalization; +using System.Text; +using System.Xml.Serialization; + +namespace Redmine.Net.Api.Serialization +{ + /// + /// The CacheKeyFactory extracts a unique signature + /// to identify each instance of an XmlSerializer + /// in the cache. + /// + internal static class CacheKeyFactory + { + + /// + /// Creates a unique signature for the passed + /// in parameter. MakeKey normalizes array content + /// and the content of the XmlAttributeOverrides before + /// creating the key. + /// + /// + /// + /// + /// + /// + /// + public static string Create(Type type, XmlAttributeOverrides overrides, Type[] types, XmlRootAttribute root, string defaultNamespace) + { + var keyBuilder = new StringBuilder(); + keyBuilder.Append(type.FullName); + keyBuilder.Append( "??" ); + keyBuilder.Append(overrides?.GetHashCode().ToString(CultureInfo.InvariantCulture)); + keyBuilder.Append( "??" ); + keyBuilder.Append(GetTypeArraySignature(types)); + keyBuilder.Append("??"); + keyBuilder.Append(root?.GetHashCode().ToString(CultureInfo.InvariantCulture)); + keyBuilder.Append("??"); + keyBuilder.Append(defaultNamespace); + + return keyBuilder.ToString(); + } + + /// + /// Creates a signature for the passed in Type array. The order + /// of the elements in the array does not influence the signature. + /// + /// + /// An instance independent signature of the Type array + public static string GetTypeArraySignature(Type[] types) + { + if (null == types || types.Length <= 0) + { + return null; + } + + // to make sure we don't account for the order + // of the types in the array, we create one SortedList + // with the type names, concatenate them and hash that. + var sorter = new string[types.Length]; + for (var index = 0; index < types.Length; index++) + { + Type t = types[index]; + sorter[index] = t.AssemblyQualifiedName; + } + + Array.Sort(sorter); + + return string.Join(":", sorter); + } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Serialization/IXmlSerializerCache.cs b/src/redmine-net-api/Serialization/IXmlSerializerCache.cs new file mode 100644 index 00000000..72e458bf --- /dev/null +++ b/src/redmine-net-api/Serialization/IXmlSerializerCache.cs @@ -0,0 +1,18 @@ +using System; +using System.Xml.Serialization; + +namespace Redmine.Net.Api.Serialization +{ + internal interface IXmlSerializerCache + { + XmlSerializer GetSerializer(Type type, string defaultNamespace); + + XmlSerializer GetSerializer(Type type, XmlRootAttribute root); + + XmlSerializer GetSerializer(Type type, XmlAttributeOverrides overrides); + + XmlSerializer GetSerializer(Type type, Type[] types); + + XmlSerializer GetSerializer(Type type, XmlAttributeOverrides overrides, Type[] types, XmlRootAttribute root, string defaultNamespace); + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Serialization/XmlSerializerCache.cs b/src/redmine-net-api/Serialization/XmlSerializerCache.cs new file mode 100644 index 00000000..32935bd8 --- /dev/null +++ b/src/redmine-net-api/Serialization/XmlSerializerCache.cs @@ -0,0 +1,132 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Xml.Serialization; + +namespace Redmine.Net.Api.Serialization +{ + /// + /// + /// + internal class XmlSerializerCache : IXmlSerializerCache + { + #if !(NET20 || NET40 || NET45 || NET451 || NET452) + private static readonly Type[] emptyTypes = Array.Empty(); + #else + private static readonly Type[] emptyTypes = new Type[0]; + #endif + + public static XmlSerializerCache Instance { get; } = new XmlSerializerCache(); + + private readonly Dictionary _serializers; + + private readonly object _syncRoot; + + private XmlSerializerCache() + { + _syncRoot = new object(); + _serializers = new Dictionary(); + } + + /// + /// Get an XmlSerializer instance for the + /// specified parameters. The method will check if + /// any any previously cached instances are compatible + /// with the parameters before constructing a new + /// XmlSerializer instance. + /// + /// + /// + /// + public XmlSerializer GetSerializer(Type type, string defaultNamespace) + { + return GetSerializer(type, null, emptyTypes, null, defaultNamespace); + } + + /// + /// Get an XmlSerializer instance for the + /// specified parameters. The method will check if + /// any any previously cached instances are compatible + /// with the parameters before constructing a new + /// XmlSerializer instance. + /// + /// + /// + /// + public XmlSerializer GetSerializer(Type type, XmlRootAttribute root) + { + return GetSerializer(type, null, emptyTypes, root, null); + } + + /// + /// Get an XmlSerializer instance for the + /// specified parameters. The method will check if + /// any any previously cached instances are compatible + /// with the parameters before constructing a new + /// XmlSerializer instance. + /// + /// + /// + /// + public XmlSerializer GetSerializer(Type type, XmlAttributeOverrides overrides) + { + return GetSerializer(type, overrides, emptyTypes, null, null); + } + + /// + /// Get an XmlSerializer instance for the + /// specified parameters. The method will check if + /// any any previously cached instances are compatible + /// with the parameters before constructing a new + /// XmlSerializer instance. + /// + /// + /// + /// + public XmlSerializer GetSerializer(Type type, Type[] types) + { + return GetSerializer(type, null, types, null, null); + } + + /// + /// Get an XmlSerializer instance for the + /// specified parameters. The method will check if + /// any any previously cached instances are compatible + /// with the parameters before constructing a new + /// XmlSerializer instance. + /// + /// + /// + /// + /// + /// + /// + public XmlSerializer GetSerializer(Type type, XmlAttributeOverrides overrides, Type[] types, XmlRootAttribute root, string defaultNamespace) + { + var key = CacheKeyFactory.Create(type, overrides, types, root, defaultNamespace); + + XmlSerializer serializer = null; + lock (_syncRoot) + { + if (_serializers.ContainsKey(key) == false) + { + lock (_syncRoot) + { + if (_serializers.ContainsKey(key) == false) + { + serializer = new XmlSerializer(type, overrides, types, root, defaultNamespace); + _serializers.Add(key, serializer); + } + } + } + else + { + serializer = _serializers[key]; + } + + Debug.Assert(serializer != null); + return serializer; + } + } + } +} \ No newline at end of file From cc18c3ff2c0ca9660d30369660a46da1af36fbc5 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 10 Jan 2020 22:40:48 +0200 Subject: [PATCH 148/601] Cleanup --- .../Extensions/NameValueCollectionExtensions.cs | 7 ++++++- src/redmine-net-api/Extensions/XmlReaderExtensions.cs | 1 - src/redmine-net-api/Extensions/XmlWriterExtensions.cs | 7 +++++++ 3 files changed, 13 insertions(+), 2 deletions(-) mode change 100755 => 100644 src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs diff --git a/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs old mode 100755 new mode 100644 index 805f733a..1f56d451 --- a/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs +++ b/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs @@ -31,8 +31,13 @@ public static class NameValueCollectionExtensions /// public static string GetParameterValue(this NameValueCollection parameters, string parameterName) { - if (parameters == null) return null; + if (parameters == null) + { + return null; + } + var value = parameters.Get(parameterName); + return value.IsNullOrWhiteSpace() ? null : value; } } diff --git a/src/redmine-net-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net-api/Extensions/XmlReaderExtensions.cs index 7f1b121b..48848043 100644 --- a/src/redmine-net-api/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlReaderExtensions.cs @@ -15,7 +15,6 @@ limitations under the License. */ using System; -using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; diff --git a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs index 408af16f..8ce7c5b1 100644 --- a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs @@ -190,6 +190,13 @@ public static void WriteRepeatableElement(this XmlWriter xmlWriter, string eleme } } + /// + /// + /// + /// + /// + /// + /// public static void WriteArrayStringElement(this XmlWriter writer, string elementName, IEnumerable collection, Func f) { if (collection == null) From d1b86bd685c38e1552bcf6014f4cedb9c8e3a2f4 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 10 Jan 2020 22:42:38 +0200 Subject: [PATCH 149/601] Replace StringReader with XmlReader as parameter for XmlSerializer --- .../Serialization/XmlRedmineSerializer.cs | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs index 74978872..41443d80 100644 --- a/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs @@ -4,6 +4,7 @@ using System.Xml.Serialization; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Internals; namespace Redmine.Net.Api.Serialization { @@ -163,16 +164,19 @@ private string ToXML(T entity) where T : class using (var textReader = new StringReader(xml)) { - var serializer = new XmlSerializer(typeof(TOut)); + using (var xmlReader = XmlTextReaderBuilder.Create(textReader)) + { + var serializer = new XmlSerializer(typeof(TOut)); - var entity = serializer.Deserialize(textReader); + var entity = serializer.Deserialize(xmlReader); - if (entity is TOut t) - { - return t; - } + if (entity is TOut t) + { + return t; + } - return default; + return default; + } } } } From ce586092e0990ba832a5f9be5200ea7b40b0591b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20G=C3=A4rtner?= Date: Thu, 23 Jan 2020 14:06:07 +0100 Subject: [PATCH 150/601] fix #248 --- .../Extensions/ExtensionAttribute.cs | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100755 src/redmine-net-api/Extensions/ExtensionAttribute.cs diff --git a/src/redmine-net-api/Extensions/ExtensionAttribute.cs b/src/redmine-net-api/Extensions/ExtensionAttribute.cs deleted file mode 100755 index c3787c71..00000000 --- a/src/redmine-net-api/Extensions/ExtensionAttribute.cs +++ /dev/null @@ -1,27 +0,0 @@ -/* - Copyright 2011 - 2016 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -namespace System.Runtime.CompilerServices -{ - /// - /// - /// - /// - [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method, AllowMultiple=false, Inherited=false)] - public class ExtensionAttribute: Attribute - { - } -} \ No newline at end of file From c5d88515dc0740e9235fed9b8e9557131a89988d Mon Sep 17 00:00:00 2001 From: Tobias Gaertner Date: Tue, 28 Jan 2020 19:42:43 +0100 Subject: [PATCH 151/601] conditionally compile ExtensionAttribute with NET20 --- .../Extensions/ExtensionAttribute.cs | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 src/redmine-net-api/Extensions/ExtensionAttribute.cs diff --git a/src/redmine-net-api/Extensions/ExtensionAttribute.cs b/src/redmine-net-api/Extensions/ExtensionAttribute.cs new file mode 100755 index 00000000..e9542cc7 --- /dev/null +++ b/src/redmine-net-api/Extensions/ExtensionAttribute.cs @@ -0,0 +1,31 @@ +/* + Copyright 2011 - 2016 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#if NET20 + +namespace System.Runtime.CompilerServices +{ + /// + /// + /// + /// + [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method, AllowMultiple=false, Inherited=false)] + public class ExtensionAttribute: Attribute + { + } +} + +#endif \ No newline at end of file From 55c6cbf02f421fc8c8bc025fc6dab739c0fe553d Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 2 Feb 2020 10:16:59 +0200 Subject: [PATCH 152/601] Fix newton json ref --- src/redmine-net-api/redmine-net-api.csproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index c44497db..e9730b3e 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -113,6 +113,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive + @@ -218,4 +219,4 @@ - \ No newline at end of file + From e77ed349021db18237b071d980cccb4e66930b87 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 2 Feb 2020 10:24:49 +0200 Subject: [PATCH 153/601] Create dotnetcore.yml --- .github/workflows/dotnetcore.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/dotnetcore.yml diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml new file mode 100644 index 00000000..eb10033c --- /dev/null +++ b/.github/workflows/dotnetcore.yml @@ -0,0 +1,23 @@ +name: .NET Core + +on: [push] +env: + DOTNET_CLI_TELEMETRY_OPTOUT: 1 +jobs: + build: + + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macOS-latest] + dotnet: [ '3.1.100' ] + name: OS ${{ matrix.os }} - dotnet ${{ matrix.dotnet }} + + steps: + - uses: actions/checkout@v2 + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: ${{ matrix.dotnet }} + - name: Build with dotnet + run: dotnet build --configuration Release From 50f7908d86bcff177517e996fc1bf769723d8a85 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 2 Feb 2020 11:19:42 +0200 Subject: [PATCH 154/601] Update dotnetcore.yml --- .github/workflows/dotnetcore.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index eb10033c..dccf09d0 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -1,8 +1,20 @@ name: .NET Core -on: [push] +on: + push: + paths-ignore: + - '**/*.md' + - '**/*.gif' + - '**/*.png' + - LICENSE + - tests/* + tags: + - /v\d*\.\d*\.\d*/ + pull_request: + env: DOTNET_CLI_TELEMETRY_OPTOUT: 1 + jobs: build: @@ -19,5 +31,9 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: ${{ matrix.dotnet }} + - name: Get the version + id: get_version + run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} + # ${{ steps.get_version.outputs.VERSION }} - name: Build with dotnet - run: dotnet build --configuration Release + run: dotnet build redmine-net-api.sln --configuration Release From b4891f9bdc4da4df7828a4b442194409d0478484 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 2 Feb 2020 13:39:22 +0200 Subject: [PATCH 155/601] Remove unused methodName parameter --- .../Async/RedmineManagerAsync45.cs | 32 ++++++++--------- .../Internals/WebApiAsyncHelper.cs | 19 ++++------- src/redmine-net-api/Internals/WebApiHelper.cs | 19 ++++------- src/redmine-net-api/RedmineManager.cs | 34 +++++++++---------- 4 files changed, 45 insertions(+), 59 deletions(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index 635a14d7..4ae7dc62 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -43,7 +43,7 @@ public static class RedmineManagerAsync public static async Task GetCurrentUserAsync(this RedmineManager redmineManager, NameValueCollection parameters = null) { var uri = UrlHelper.GetCurrentUserUrl(redmineManager); - return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, "GetCurrentUserAsync", parameters).ConfigureAwait(false); + return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, parameters).ConfigureAwait(false); } /// @@ -63,7 +63,7 @@ public static async Task CreateOrUpdateWikiPageAsync(this RedmineManag url = Uri.EscapeUriString(url); - var response = await WebApiAsyncHelper.ExecuteUpload(redmineManager, url, HttpVerbs.PUT, data, "CreateOrUpdateWikiPageAsync").ConfigureAwait(false); + var response = await WebApiAsyncHelper.ExecuteUpload(redmineManager, url, HttpVerbs.PUT, data).ConfigureAwait(false); return redmineManager.Serializer.Deserialize(response); } @@ -79,7 +79,7 @@ public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, { var uri = UrlHelper.GetDeleteWikirUrl(redmineManager, projectId, pageName); uri = Uri.EscapeUriString(uri); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "DeleteWikiPageAsync").ConfigureAwait(false); + await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty).ConfigureAwait(false); } /// @@ -94,7 +94,7 @@ public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, public static async Task UploadFileAsync(this RedmineManager redmineManager, byte[] data) { var uri = UrlHelper.GetUploadFileUrl(redmineManager); - return await WebApiAsyncHelper.ExecuteUploadFile(redmineManager, uri, data, "UploadFileAsync").ConfigureAwait(false); + return await WebApiAsyncHelper.ExecuteUploadFile(redmineManager, uri, data).ConfigureAwait(false); } /// @@ -105,7 +105,7 @@ public static async Task UploadFileAsync(this RedmineManager redmineMana /// public static async Task DownloadFileAsync(this RedmineManager redmineManager, string address) { - return await WebApiAsyncHelper.ExecuteDownloadFile(redmineManager, address, "DownloadFileAsync").ConfigureAwait(false); + return await WebApiAsyncHelper.ExecuteDownloadFile(redmineManager, address).ConfigureAwait(false); } /// @@ -122,7 +122,7 @@ public static async Task GetWikiPageAsync(this RedmineManager redmineM { var uri = UrlHelper.GetWikiPageUrl(redmineManager, projectId, pageName, version); uri = Uri.EscapeUriString(uri); - return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, "GetWikiPageAsync", parameters).ConfigureAwait(false); + return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, parameters).ConfigureAwait(false); } /// @@ -135,7 +135,7 @@ public static async Task GetWikiPageAsync(this RedmineManager redmineM public static async Task> GetAllWikiPagesAsync(this RedmineManager redmineManager, NameValueCollection parameters, string projectId) { var uri = UrlHelper.GetWikisUrl(redmineManager, projectId); - return await WebApiAsyncHelper.ExecuteDownloadList(redmineManager, uri, "GetAllWikiPagesAsync", parameters).ConfigureAwait(false); + return await WebApiAsyncHelper.ExecuteDownloadList(redmineManager, uri, parameters).ConfigureAwait(false); } /// @@ -152,7 +152,7 @@ public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, var data = DataHelper.UserData(userId, redmineManager.MimeFormat); var uri = UrlHelper.GetAddUserToGroupUrl(redmineManager, groupId); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data, "AddUserToGroupAsync").ConfigureAwait(false); + await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data).ConfigureAwait(false); } /// @@ -165,7 +165,7 @@ public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, public static async Task RemoveUserFromGroupAsync(this RedmineManager redmineManager, int groupId, int userId) { var uri = UrlHelper.GetRemoveUserFromGroupUrl(redmineManager, groupId, userId); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "DeleteUserFromGroupAsync").ConfigureAwait(false); + await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty).ConfigureAwait(false); } /// @@ -180,7 +180,7 @@ public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManag var data = DataHelper.UserData(userId, redmineManager.MimeFormat); var uri = UrlHelper.GetAddWatcherUrl(redmineManager, issueId); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data, "AddWatcherAsync").ConfigureAwait(false); + await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data).ConfigureAwait(false); } /// @@ -193,7 +193,7 @@ public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManag public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManager, int issueId, int userId) { var uri = UrlHelper.GetRemoveWatcherUrl(redmineManager, issueId, userId); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "RemoveWatcherAsync").ConfigureAwait(false); + await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty).ConfigureAwait(false); } /// @@ -263,7 +263,7 @@ public static async Task> GetPaginatedObjectsAsync(this Redmi where T : class, new() { var uri = UrlHelper.GetListUrl(redmineManager, parameters); - return await WebApiAsyncHelper.ExecuteDownloadPaginatedList(redmineManager, uri, "GetPaginatedObjectsAsync", parameters).ConfigureAwait(false); + return await WebApiAsyncHelper.ExecuteDownloadPaginatedList(redmineManager, uri, parameters).ConfigureAwait(false); } /// @@ -330,7 +330,7 @@ public static async Task GetObjectAsync(this RedmineManager redmineManager where T : class, new() { var uri = UrlHelper.GetGetUrl(redmineManager, id); - return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, "GetobjectAsync", parameters).ConfigureAwait(false); + return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, parameters).ConfigureAwait(false); } /// @@ -360,7 +360,7 @@ public static async Task CreateObjectAsync(this RedmineManager redmineMana var uri = UrlHelper.GetCreateUrl(redmineManager, ownerId); var data = redmineManager.Serializer.Serialize(entity); - var response = await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data, "CreateObjectAsync").ConfigureAwait(false); + var response = await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data).ConfigureAwait(false); return redmineManager.Serializer.Deserialize(response); } @@ -379,7 +379,7 @@ public static async Task UpdateObjectAsync(this RedmineManager redmineManager var data = redmineManager.Serializer.Serialize(entity); data = Regex.Replace(data, @"\r\n|\r|\n", "\r\n"); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.PUT, data, "UpdateObjectAsync").ConfigureAwait(false); + await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.PUT, data).ConfigureAwait(false); } /// @@ -393,7 +393,7 @@ public static async Task DeleteObjectAsync(this RedmineManager redmineManager where T : class, new() { var uri = UrlHelper.GetDeleteUrl(redmineManager, id); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty, "DeleteObjectAsync").ConfigureAwait(false); + await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty).ConfigureAwait(false); } } } diff --git a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs index d7e00a66..9b463cd9 100644 --- a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs +++ b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs @@ -37,10 +37,8 @@ internal static class WebApiAsyncHelper /// The address. /// Type of the action. /// The data. - /// Name of the method. /// - public static async Task ExecuteUpload(RedmineManager redmineManager, string address, string actionType, string data, - string methodName) + public static async Task ExecuteUpload(RedmineManager redmineManager, string address, string actionType, string data) { using (var wc = redmineManager.CreateWebClient(null)) { @@ -69,10 +67,9 @@ public static async Task ExecuteUpload(RedmineManager redmineManager, st /// /// The redmine manager. /// The address. - /// Name of the method. /// The parameters. /// - public static async Task ExecuteDownload(RedmineManager redmineManager, string address, string methodName, + public static async Task ExecuteDownload(RedmineManager redmineManager, string address, NameValueCollection parameters = null) where T : class, new() { @@ -97,11 +94,10 @@ public static async Task ExecuteDownload(RedmineManager redmineManager, st /// /// The redmine manager. /// The address. - /// Name of the method. /// The parameters. /// public static async Task> ExecuteDownloadList(RedmineManager redmineManager, string address, - string methodName, + NameValueCollection parameters = null) where T : class, new() { using (var wc = redmineManager.CreateWebClient(parameters)) @@ -128,11 +124,10 @@ public static async Task> ExecuteDownloadList(RedmineManager redmineM /// /// The redmine manager. /// The address. - /// Name of the method. /// The parameters. /// public static async Task> ExecuteDownloadPaginatedList(RedmineManager redmineManager, string address, - string methodName, + NameValueCollection parameters = null) where T : class, new() { using (var wc = redmineManager.CreateWebClient(parameters)) @@ -155,9 +150,8 @@ public static async Task> ExecuteDownloadPaginatedList(Redmin /// /// The redmine manager. /// The address. - /// Name of the method. /// - public static async Task ExecuteDownloadFile(RedmineManager redmineManager, string address, string methodName) + public static async Task ExecuteDownloadFile(RedmineManager redmineManager, string address) { using (var wc = redmineManager.CreateWebClient(null, true)) { @@ -179,9 +173,8 @@ public static async Task ExecuteDownloadFile(RedmineManager redmineManag /// The redmine manager. /// The address. /// The data. - /// Name of the method. /// - public static async Task ExecuteUploadFile(RedmineManager redmineManager, string address, byte[] data, string methodName) + public static async Task ExecuteUploadFile(RedmineManager redmineManager, string address, byte[] data) { using (var wc = redmineManager.CreateWebClient(null, true)) { diff --git a/src/redmine-net-api/Internals/WebApiHelper.cs b/src/redmine-net-api/Internals/WebApiHelper.cs index 138e39a0..ed5e27c3 100644 --- a/src/redmine-net-api/Internals/WebApiHelper.cs +++ b/src/redmine-net-api/Internals/WebApiHelper.cs @@ -35,10 +35,9 @@ internal static class WebApiHelper /// The address. /// Type of the action. /// The data. - /// Name of the method. /// The parameters public static void ExecuteUpload(RedmineManager redmineManager, string address, string actionType, string data, - string methodName, NameValueCollection parameters = null) + NameValueCollection parameters = null) { using (var wc = redmineManager.CreateWebClient(parameters)) { @@ -65,10 +64,8 @@ public static void ExecuteUpload(RedmineManager redmineManager, string address, /// The address. /// Type of the action. /// The data. - /// Name of the method. /// - public static T ExecuteUpload(RedmineManager redmineManager, string address, string actionType, string data, - string methodName) + public static T ExecuteUpload(RedmineManager redmineManager, string address, string actionType, string data) where T : class, new() { using (var wc = redmineManager.CreateWebClient(null)) @@ -96,10 +93,9 @@ public static T ExecuteUpload(RedmineManager redmineManager, string address, /// /// The redmine manager. /// The address. - /// Name of the method. /// The parameters. /// - public static T ExecuteDownload(RedmineManager redmineManager, string address, string methodName, + public static T ExecuteDownload(RedmineManager redmineManager, string address, NameValueCollection parameters = null) where T : class, new() { @@ -125,11 +121,10 @@ public static T ExecuteDownload(RedmineManager redmineManager, string address /// /// The redmine manager. /// The address. - /// Name of the method. /// The parameters. /// public static PagedResults ExecuteDownloadList(RedmineManager redmineManager, string address, - string methodName, + NameValueCollection parameters = null) where T : class, new() { using (var wc = redmineManager.CreateWebClient(parameters)) @@ -152,9 +147,8 @@ public static PagedResults ExecuteDownloadList(RedmineManager redmineManag /// /// The redmine manager. /// The address. - /// Name of the method. /// - public static byte[] ExecuteDownloadFile(RedmineManager redmineManager, string address, string methodName) + public static byte[] ExecuteDownloadFile(RedmineManager redmineManager, string address) { using (var wc = redmineManager.CreateWebClient(null, true)) { @@ -176,9 +170,8 @@ public static byte[] ExecuteDownloadFile(RedmineManager redmineManager, string a /// The redmine manager. /// The address. /// The data. - /// Name of the method. /// - public static Upload ExecuteUploadFile(RedmineManager redmineManager, string address, byte[] data, string methodName) + public static Upload ExecuteUploadFile(RedmineManager redmineManager, string address, byte[] data) { using (var wc = redmineManager.CreateWebClient(null, true)) { diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index cc83b910..5b467239 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -294,7 +294,7 @@ private set public User GetCurrentUser(NameValueCollection parameters = null) { var url = UrlHelper.GetCurrentUserUrl(this); - return WebApiHelper.ExecuteDownload(this, url, "GetCurrentUser", parameters); + return WebApiHelper.ExecuteDownload(this, url, parameters); } /// @@ -305,7 +305,7 @@ public User GetCurrentUser(NameValueCollection parameters = null) public void AddWatcherToIssue(int issueId, int userId) { var url = UrlHelper.GetAddWatcherUrl(this, issueId); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, DataHelper.UserData(userId, MimeFormat), "AddWatcher"); + WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, DataHelper.UserData(userId, MimeFormat)); } /// @@ -316,7 +316,7 @@ public void AddWatcherToIssue(int issueId, int userId) public void RemoveWatcherFromIssue(int issueId, int userId) { var url = UrlHelper.GetRemoveWatcherUrl(this, issueId, userId); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty, "RemoveWatcher"); + WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty); } /// @@ -327,7 +327,7 @@ public void RemoveWatcherFromIssue(int issueId, int userId) public void AddUserToGroup(int groupId, int userId) { var url = UrlHelper.GetAddUserToGroupUrl(this, groupId); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, DataHelper.UserData(userId, MimeFormat), "AddUser"); + WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, DataHelper.UserData(userId, MimeFormat)); } /// @@ -338,7 +338,7 @@ public void AddUserToGroup(int groupId, int userId) public void RemoveUserFromGroup(int groupId, int userId) { var url = UrlHelper.GetRemoveUserFromGroupUrl(this, groupId, userId); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty, "DeleteUser"); + WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty); } /// @@ -357,7 +357,7 @@ public WikiPage CreateOrUpdateWikiPage(string projectId, string pageName, WikiPa url = Uri.EscapeUriString(url); - return WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, result, "CreateOrUpdateWikiPage"); + return WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, result); } /// @@ -372,7 +372,7 @@ public WikiPage GetWikiPage(string projectId, NameValueCollection parameters, st { var url = UrlHelper.GetWikiPageUrl(this, projectId, pageName, version); url = Uri.EscapeUriString(url); - return WebApiHelper.ExecuteDownload(this, url, "GetWikiPage", parameters); + return WebApiHelper.ExecuteDownload(this, url, parameters); } /// @@ -383,7 +383,7 @@ public WikiPage GetWikiPage(string projectId, NameValueCollection parameters, st public List GetAllWikiPages(string projectId) { var url = UrlHelper.GetWikisUrl(this, projectId); - var result = WebApiHelper.ExecuteDownloadList(this, url, "GetAllWikiPages"); + var result = WebApiHelper.ExecuteDownloadList(this, url); return result == null ? null :new List(result.Items); } @@ -397,7 +397,7 @@ public void DeleteWikiPage(string projectId, string pageName) { var url = UrlHelper.GetDeleteWikirUrl(this, projectId, pageName); url = Uri.EscapeUriString(url); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty, "DeleteWikiPage"); + WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty); } /// @@ -457,7 +457,7 @@ public void DeleteWikiPage(string projectId, string pageName) public T GetObject(string id, NameValueCollection parameters) where T : class, new() { var url = UrlHelper.GetGetUrl(this, id); - return WebApiHelper.ExecuteDownload(this, url, "GetObject", parameters); + return WebApiHelper.ExecuteDownload(this, url, parameters); } /// @@ -469,7 +469,7 @@ public void DeleteWikiPage(string projectId, string pageName) public PagedResults GetPaginatedObjects(NameValueCollection parameters) where T : class, new() { var url = UrlHelper.GetListUrl(this, parameters); - return WebApiHelper.ExecuteDownloadList(this, url, "GetObjectList", parameters); + return WebApiHelper.ExecuteDownloadList(this, url, parameters); } /// @@ -652,7 +652,7 @@ public void DeleteWikiPage(string projectId, string pageName) { var url = UrlHelper.GetCreateUrl(this, ownerId); var data = Serializer.Serialize(obj); - return WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, data, "CreateObject"); + return WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, data); } /// @@ -690,7 +690,7 @@ public void DeleteWikiPage(string projectId, string pageName) var url = UrlHelper.GetUploadUrl(this, id); var data = Serializer.Serialize(obj); data = Regex.Replace(data, @"\r\n|\r|\n", "\r\n"); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, data, "UpdateObject"); + WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, data); } /// @@ -716,7 +716,7 @@ public void DeleteWikiPage(string projectId, string pageName) public void DeleteObject(string id, NameValueCollection parameters = null) where T : class, new() { var url = UrlHelper.GetDeleteUrl(this, id); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty, "DeleteObject", parameters); + WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty, parameters); } /// @@ -737,7 +737,7 @@ public void DeleteWikiPage(string projectId, string pageName) public Upload UploadFile(byte[] data) { var url = UrlHelper.GetUploadFileUrl(this); - return WebApiHelper.ExecuteUploadFile(this, url, data, "UploadFile"); + return WebApiHelper.ExecuteUploadFile(this, url, data); } /// @@ -751,7 +751,7 @@ public void UpdateAttachment(int issueId, Attachment attachment) var attachments = new Attachments { { attachment.Id, attachment } }; var data = Serializer.Serialize(attachments); - WebApiHelper.ExecuteUpload(this, address, HttpVerbs.PATCH, data, "UpdateAttachment"); + WebApiHelper.ExecuteUpload(this, address, HttpVerbs.PATCH, data); } /// @@ -769,7 +769,7 @@ public void UpdateAttachment(int issueId, Attachment attachment) /// public byte[] DownloadFile(string address) { - return WebApiHelper.ExecuteDownloadFile(this, address, "DownloadFile"); + return WebApiHelper.ExecuteDownloadFile(this, address); } /// From 4face709838d342df165e5b7b1486b80166ecd77 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 2 Feb 2020 13:39:56 +0200 Subject: [PATCH 156/601] Add NoWarn CA2227 --- src/redmine-net-api/redmine-net-api.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index e9730b3e..1b87fd50 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -20,6 +20,7 @@ CA1716; CA1724; CA1806; + CA2227; From e94f38f41aab6dcf44dc3860d075673a938500a3 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 2 Feb 2020 13:46:29 +0200 Subject: [PATCH 157/601] SmallGet rid of CA1308 warnings --- .../Extensions/JsonWriterExtensions.cs | 16 ++++++++-------- .../Extensions/XmlWriterExtensions.cs | 6 +++--- src/redmine-net-api/Types/Issue.cs | 8 ++++---- src/redmine-net-api/Types/IssueCustomField.cs | 2 +- src/redmine-net-api/Types/User.cs | 4 ++-- src/redmine-net-api/Types/Version.cs | 8 ++++---- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/redmine-net-api/Extensions/JsonWriterExtensions.cs b/src/redmine-net-api/Extensions/JsonWriterExtensions.cs index 9b01c2d6..d4032094 100644 --- a/src/redmine-net-api/Extensions/JsonWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/JsonWriterExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Globalization; @@ -45,7 +45,7 @@ public static void WriteIfNotDefaultOrNull(this JsonWriter writer, string ele if (value is bool) { - writer.WriteProperty(elementName, value.ToString().ToLowerInvariant()); + writer.WriteProperty(elementName, value.ToString().ToLowerInv()); return; } @@ -63,7 +63,7 @@ public static void WriteIdOrEmpty(this JsonWriter jsonWriter, string tag, Identi { if (ident != null) { - jsonWriter.WriteProperty(tag, ident.Id); + jsonWriter.WriteProperty(tag, ident.Id.ToString(CultureInfo.InvariantCulture)); } else { @@ -86,7 +86,7 @@ public static void WriteDateOrEmpty(this JsonWriter jsonWriter, string tag, Date } else { - jsonWriter.WriteProperty(tag, string.Format(NumberFormatInfo.InvariantInfo, "{0}", val.Value.ToString(dateFormat, CultureInfo.InvariantCulture))); + jsonWriter.WriteProperty(tag, val.Value.ToString(dateFormat, CultureInfo.InvariantCulture)); } } @@ -173,10 +173,10 @@ public static void WriteArrayIds(this JsonWriter jsonWriter, string tag, IEnumer foreach (var identifiableName in collection) { - sb.Append(",").Append(identifiableName.Id.ToString(CultureInfo.InvariantCulture)); + sb.Append(identifiableName.Id.ToString(CultureInfo.InvariantCulture)).Append(","); } - sb.Remove(0, 1); + sb.Length -= 1; jsonWriter.WriteValue(sb.ToString()); sb= null; @@ -203,10 +203,10 @@ public static void WriteArrayNames(this JsonWriter jsonWriter, string tag, IEnum foreach (var identifiableName in collection) { - sb.Append(",").Append(identifiableName.Name); + sb.Append(identifiableName.Name).Append(","); } - sb.Remove(0, 1); + sb.Length -= 1; jsonWriter.WriteValue(sb.ToString()); sb = null; diff --git a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs index 8ce7c5b1..9add243f 100644 --- a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs @@ -242,11 +242,11 @@ public static void WriteIfNotDefaultOrNull(this XmlWriter writer, string elem if (value is bool) { - writer.WriteElementString(elementName, value.ToString().ToLowerInvariant()); + writer.WriteElementString(elementName, value.ToString().ToLowerInv()); return; } - writer.WriteElementString(elementName, string.Format(CultureInfo.InvariantCulture, "{0}", value.ToString())); + writer.WriteElementString(elementName, value.ToString()); } /// @@ -264,7 +264,7 @@ public static void WriteValueOrEmpty(this XmlWriter writer, string elementNam } else { - writer.WriteElementString(elementName, string.Format(NumberFormatInfo.InvariantInfo, "{0}", val.Value)); + writer.WriteElementString(elementName, val.Value.ToString().ToLowerInv()); } } diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 7aeb8b14..8273f57f 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -322,11 +322,11 @@ public override void WriteXml(XmlWriter writer) if (Id != 0) { - writer.WriteElementString(RedmineKeys.PRIVATE_NOTES, PrivateNotes.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.PRIVATE_NOTES, PrivateNotes.ToString(CultureInfo.InvariantCulture).ToLowerInv()); } writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); - writer.WriteElementString(RedmineKeys.IS_PRIVATE, IsPrivate.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.IS_PRIVATE, IsPrivate.ToString(CultureInfo.InvariantCulture).ToLowerInv()); writer.WriteIdIfNotNull(RedmineKeys.PROJECT_ID, Project); writer.WriteIdIfNotNull(RedmineKeys.PRIORITY_ID, Priority); @@ -423,10 +423,10 @@ public override void WriteJson(JsonWriter writer) if (Id != 0) { - writer.WriteProperty(RedmineKeys.PRIVATE_NOTES, PrivateNotes.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + writer.WriteProperty(RedmineKeys.PRIVATE_NOTES, PrivateNotes.ToString(CultureInfo.InvariantCulture).ToLowerInv()); } - writer.WriteProperty(RedmineKeys.IS_PRIVATE, IsPrivate.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + writer.WriteProperty(RedmineKeys.IS_PRIVATE, IsPrivate.ToString(CultureInfo.InvariantCulture).ToLowerInv()); writer.WriteIdIfNotNull(RedmineKeys.PROJECT_ID, Project); writer.WriteIdIfNotNull(RedmineKeys.PRIORITY_ID, Priority); writer.WriteIdIfNotNull(RedmineKeys.STATUS_ID, Status); diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index cf1c82ca..1a03aa27 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -151,7 +151,7 @@ public override void WriteJson(JsonWriter writer) } writer.WriteEndArray(); - writer.WriteProperty(RedmineKeys.MULTIPLE, Multiple.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + writer.WriteProperty(RedmineKeys.MULTIPLE, Multiple.ToString(CultureInfo.InvariantCulture).ToLowerInv()); } else { diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index 90c63dc9..d4c9fa59 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -182,7 +182,7 @@ public override void WriteXml(XmlWriter writer) writer.WriteElementString(RedmineKeys.MAIL_NOTIFICATION, MailNotification); writer.WriteElementString(RedmineKeys.PASSWORD, Password); writer.WriteValueOrEmpty(RedmineKeys.AUTH_SOURCE_ID, AuthenticationModeId); - writer.WriteElementString(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword.ToString(CultureInfo.InvariantCulture).ToLowerInv()); writer.WriteElementString(RedmineKeys.STATUS, ((int)Status).ToString(CultureInfo.InvariantCulture)); writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); } @@ -243,7 +243,7 @@ public override void WriteJson(JsonWriter writer) writer.WriteProperty(RedmineKeys.MAIL, Email); writer.WriteProperty(RedmineKeys.MAIL_NOTIFICATION, MailNotification); writer.WriteProperty(RedmineKeys.PASSWORD, Password); - writer.WriteProperty(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()); + writer.WriteProperty(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword.ToString(CultureInfo.InvariantCulture).ToLowerInv()); writer.WriteValueOrEmpty(RedmineKeys.AUTH_SOURCE_ID, AuthenticationModeId); writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); } diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 960b7593..a5353243 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -123,8 +123,8 @@ public override void ReadXml(XmlReader reader) public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.NAME, Name); - writer.WriteElementString(RedmineKeys.STATUS, Status.ToString().ToLowerInvariant()); - writer.WriteElementString(RedmineKeys.SHARING, Sharing.ToString().ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.STATUS, Status.ToString().ToLowerInv()); + writer.WriteElementString(RedmineKeys.SHARING, Sharing.ToString().ToLowerInv()); writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, DueDate); writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); } @@ -175,8 +175,8 @@ public override void WriteJson(JsonWriter writer) using (new JsonObject(writer, RedmineKeys.VERSION)) { writer.WriteProperty(RedmineKeys.NAME, Name); - writer.WriteProperty(RedmineKeys.STATUS, Status.ToString().ToLowerInvariant()); - writer.WriteProperty(RedmineKeys.SHARING, Sharing.ToString().ToLowerInvariant()); + writer.WriteProperty(RedmineKeys.STATUS, Status.ToString().ToLowerInv()); + writer.WriteProperty(RedmineKeys.SHARING, Sharing.ToString().ToLowerInv()); writer.WriteProperty(RedmineKeys.DESCRIPTION, Description); writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, DueDate); } From c6c16bbadb21f147a2b591da87594ac64ca17a0e Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 17 Jan 2020 09:03:47 +0200 Subject: [PATCH 158/601] Fix tests compile error --- .../Tests/Async/UserAsyncTests.cs | 2 +- .../Tests/Sync/GroupTests.cs | 4 ++-- .../Tests/Sync/IssueCategoryTests.cs | 12 +++++----- .../Tests/Sync/IssueRelationTests.cs | 4 ++-- .../Tests/Sync/IssueTests.cs | 24 +++++++++++++++---- .../Tests/Sync/ProjectMembershipTests.cs | 8 +++---- .../Tests/Sync/VersionTests.cs | 8 +++---- .../Tests/Sync/WikiPageTests.cs | 18 ++++++++++++++ 8 files changed, 56 insertions(+), 24 deletions(-) diff --git a/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs index 30075e8e..9f72feab 100644 --- a/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs @@ -65,7 +65,7 @@ public async Task Should_Get_X_Users_From_Offset_Y() }); Assert.NotNull(result); - Assert.All (result.Objects, u => Assert.IsType (u)); + Assert.All (result.Items, u => Assert.IsType (u)); } [Fact] diff --git a/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs index d0f27027..1dc79a32 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs @@ -64,8 +64,8 @@ public void Should_Update_Group() Assert.NotNull(updatedGroup); Assert.True(updatedGroup.Name.Equals(UPDATED_GROUP_NAME), "Group name was not updated."); Assert.NotNull(updatedGroup.Users); - Assert.True(updatedGroup.Users.Find(u => u.Id == UPDATED_GROUP_USER_ID) != null, - "User was not added to group."); + // Assert.True(updatedGroup.Users.Find(u => u.Id == UPDATED_GROUP_USER_ID) != null, + //"User was not added to group."); } [Fact, Order(3)] diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs index 3c4bd254..41f5e33f 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs @@ -32,7 +32,7 @@ public void Should_Create_IssueCategory() var issueCategory = new IssueCategory { Name = NEW_ISSUE_CATEGORY_NAME, - AsignTo = new IdentifiableName {Id = NEW_ISSUE_CATEGORY_ASIGNEE_ID} + AssignTo = new IdentifiableName {Id = NEW_ISSUE_CATEGORY_ASIGNEE_ID} }; var savedIssueCategory = fixture.RedmineManager.CreateObject(issueCategory, PROJECT_ID); @@ -80,8 +80,8 @@ public void Should_Get_IssueCategory_By_Id() Assert.NotNull(issueCategory); Assert.True(issueCategory.Name.Equals(NEW_ISSUE_CATEGORY_NAME), "Issue category name is invalid."); - Assert.NotNull(issueCategory.AsignTo); - Assert.True(issueCategory.AsignTo.Name.Contains(ISSUE_CATEGORY_ASIGNEE_NAME_TO_GET), + Assert.NotNull(issueCategory.AssignTo); + Assert.True(issueCategory.AssignTo.Name.Contains(ISSUE_CATEGORY_ASIGNEE_NAME_TO_GET), "Asignee name is invalid."); Assert.NotNull(issueCategory.Project); Assert.True(issueCategory.Project.Name.Equals(ISSUE_CATEGORY_PROJECT_NAME_TO_GET), @@ -96,7 +96,7 @@ public void Should_Update_IssueCategory() var issueCategory = fixture.RedmineManager.GetObject(CREATED_ISSUE_CATEGORY_ID, null); issueCategory.Name = ISSUE_CATEGORY_NAME_TO_UPDATE; - issueCategory.AsignTo = new IdentifiableName {Id = ISSUE_CATEGORY_ASIGNEE_ID_TO_UPDATE}; + issueCategory.AssignTo = new IdentifiableName {Id = ISSUE_CATEGORY_ASIGNEE_ID_TO_UPDATE}; fixture.RedmineManager.UpdateObject(CREATED_ISSUE_CATEGORY_ID, issueCategory); @@ -105,8 +105,8 @@ public void Should_Update_IssueCategory() Assert.NotNull(updatedIssueCategory); Assert.True(updatedIssueCategory.Name.Equals(ISSUE_CATEGORY_NAME_TO_UPDATE), "Issue category name was not updated."); - Assert.NotNull(updatedIssueCategory.AsignTo); - Assert.True(updatedIssueCategory.AsignTo.Id == ISSUE_CATEGORY_ASIGNEE_ID_TO_UPDATE, + Assert.NotNull(updatedIssueCategory.AssignTo); + Assert.True(updatedIssueCategory.AssignTo.Id == ISSUE_CATEGORY_ASIGNEE_ID_TO_UPDATE, "Issue category asignee was not updated."); } diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs index 3508d9fd..a06d9084 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs @@ -40,12 +40,12 @@ public IssueRelationTests(RedmineFixture fixture) private const int RELATED_ISSUE_ID = 94; private const int RELATION_DELAY = 2; - private const IssueRelationType OPPOSED_RELATION_TYPE = IssueRelationType.precedes; + private const IssueRelationType OPPOSED_RELATION_TYPE = IssueRelationType.Precedes; [Fact, Order(1)] public void Should_Add_Issue_Relation() { - const IssueRelationType RELATION_TYPE = IssueRelationType.follows; + const IssueRelationType RELATION_TYPE = IssueRelationType.Follows; var relation = new IssueRelation { IssueToId = RELATED_ISSUE_ID, diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs index dc6e4c3f..c39c3e50 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs @@ -45,8 +45,8 @@ public void Should_Get_Paginated_Issues() var issues = fixture.RedmineManager.GetPaginatedObjects(new NameValueCollection { { RedmineKeys.OFFSET, OFFSET.ToString() }, { RedmineKeys.LIMIT, NUMBER_OF_PAGINATED_ISSUES.ToString() }, { "sort", "id:desc" } }); - Assert.NotNull(issues.Objects); - Assert.True(issues.Objects.Count <= NUMBER_OF_PAGINATED_ISSUES, "number of issues ( "+ issues.Objects.Count +" ) != " + NUMBER_OF_PAGINATED_ISSUES.ToString()); + Assert.NotNull(issues.Items); + //Assert.True(issues.Items.Count <= NUMBER_OF_PAGINATED_ISSUES, "number of issues ( "+ issues.Items.Count +" ) != " + NUMBER_OF_PAGINATED_ISSUES.ToString()); } [Fact, Order(3)] @@ -62,7 +62,7 @@ public void Should_Get_Issues_By_subproject_Id() { const string SUBPROJECT_ID = "redmine-net-testr"; - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.SUBPROJECT_ID, SUBPROJECT_ID } }); + var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.SUB_PROJECT_ID, SUBPROJECT_ID } }); Assert.NotNull(issues); } @@ -72,7 +72,7 @@ public void Should_Get_Issues_By_Project_Without_Subproject() { const string ALL_SUBPROJECTS = "!*"; - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.PROJECT_ID, PROJECT_ID }, { RedmineKeys.SUBPROJECT_ID, ALL_SUBPROJECTS } }); + var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.PROJECT_ID, PROJECT_ID }, { RedmineKeys.SUB_PROJECT_ID, ALL_SUBPROJECTS } }); Assert.NotNull(issues); } @@ -119,7 +119,7 @@ public void Should_Get_Issue_By_Id() { const string ISSUE_ID = "96"; - var issue = fixture.RedmineManager.GetObject(ISSUE_ID, new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.CHILDREN + "," + RedmineKeys.ATTACHMENTS + "," + RedmineKeys.RELATIONS + "," + RedmineKeys.CHANGESETS + "," + RedmineKeys.JOURNALS + "," + RedmineKeys.WATCHERS } }); + var issue = fixture.RedmineManager.GetObject(ISSUE_ID, new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.CHILDREN + "," + RedmineKeys.ATTACHMENTS + "," + RedmineKeys.RELATIONS + "," + RedmineKeys.CHANGE_SETS + "," + RedmineKeys.JOURNALS + "," + RedmineKeys.WATCHERS } }); Assert.NotNull(issue); //TODO: add conditions for all associated data if nedeed @@ -298,5 +298,19 @@ public void Should_Clone_Issue() Assert.True(issueToClone.CustomFields.Count != clonedIssue.CustomFields.Count); } + + + [Fact] + public void Should_Get_Issue_With_Hours() + { + const string ISSUE_ID = "1"; + + var issue = fixture.RedmineManager.GetObject(ISSUE_ID, null); + + Assert.Equal(8.0f,issue.EstimatedHours); + Assert.Equal(8.0f,issue.TotalEstimatedHours); + Assert.Equal(5.0f,issue.TotalSpentHours); + Assert.Equal(5.0f,issue.SpentHours); + } } } \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs index 6a6489e0..898df782 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs @@ -57,8 +57,8 @@ public void Should_Add_Project_Membership() Assert.NotNull(createdPm); Assert.True(createdPm.User.Id == NEW_PROJECT_MEMBERSHIP_USER_ID, "User is invalid."); Assert.NotNull(createdPm.Roles); - Assert.True(createdPm.Roles.Exists(r => r.Id == NEW_PROJECT_MEMBERSHIP_ROLE_ID), - string.Format("Role id {0} does not exist.", NEW_PROJECT_MEMBERSHIP_ROLE_ID)); + //Assert.True(createdPm.Roles.Exists(r => r.Id == NEW_PROJECT_MEMBERSHIP_ROLE_ID), + // string.Format("Role id {0} does not exist.", NEW_PROJECT_MEMBERSHIP_ROLE_ID)); } [Fact,Order(99)] @@ -118,8 +118,8 @@ public void Should_Update_Project_Membership() Assert.NotNull(updatedPm); Assert.NotNull(updatedPm.Roles); - Assert.True(updatedPm.Roles.Find(r => r.Id == UPDATED_PROJECT_MEMBERSHIP_ROLE_ID) != null, - string.Format("Role with id {0} was not found in roles list.", UPDATED_PROJECT_MEMBERSHIP_ROLE_ID)); + //Assert.True(updatedPm.Roles.Find(r => r.Id == UPDATED_PROJECT_MEMBERSHIP_ROLE_ID) != null, + // string.Format("Role with id {0} was not found in roles list.", UPDATED_PROJECT_MEMBERSHIP_ROLE_ID)); } } } \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs index cc9abde9..5f9660e6 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs @@ -45,8 +45,8 @@ public VersionTests(RedmineFixture fixture) public void Should_Create_Version() { const string NEW_VERSION_NAME = "VersionTesting"; - const VersionStatus NEW_VERSION_STATUS = VersionStatus.locked; - const VersionSharing NEW_VERSION_SHARING = VersionSharing.hierarchy; + const VersionStatus NEW_VERSION_STATUS = VersionStatus.Locked; + const VersionSharing NEW_VERSION_SHARING = VersionSharing.Hierarchy; DateTime NEW_VERSION_DUE_DATE = DateTime.Now.AddDays(7); const string NEW_VERSION_DESCRIPTION = "Version description"; @@ -115,8 +115,8 @@ public void Should_Update_Version() { const string UPDATED_VERSION_ID = "15"; const string UPDATED_VERSION_NAME = "Updated version"; - const VersionStatus UPDATED_VERSION_STATUS = VersionStatus.closed; - const VersionSharing UPDATED_VERSION_SHARING = VersionSharing.system; + const VersionStatus UPDATED_VERSION_STATUS = VersionStatus.Closed; + const VersionSharing UPDATED_VERSION_SHARING = VersionSharing.System; const string UPDATED_VERSION_DESCRIPTION = "Updated description"; DateTime UPDATED_VERSION_DUE_DATE = DateTime.Now.AddMonths(1); diff --git a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs index 5674056e..809c4e03 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs @@ -108,5 +108,23 @@ public void Should_Get_Wiki_Page_By_Version() Assert.Equal(oldPage.Title, WIKI_PAGE_NAME); Assert.True(oldPage.Version == WIKI_PAGE_VERSION, "Wiki page version is invalid."); } + + [Fact] + public void Should_Create_Wiki() + { + var author = new IdentifiableName(); + author.Id = 1; + + var result = fixture.RedmineManager.CreateOrUpdateWikiPage("1","pagina2",new WikiPage + { + Text = "ana are mere multe si rosii!", + Comments = "asa", + Version = 1 + }); + + Assert.NotNull(result); + + } + } } \ No newline at end of file From c313bf112f5d3ce5fbb48b5274bb80d3fb7e809f Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 2 Feb 2020 13:54:13 +0200 Subject: [PATCH 159/601] Update dotnetcore.yml Remove tags regex --- .github/workflows/dotnetcore.yml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index dccf09d0..1dcfefd5 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -1,15 +1,13 @@ -name: .NET Core +name: Redmine .NET Api on: push: paths-ignore: - - '**/*.md' - - '**/*.gif' - - '**/*.png' - - LICENSE - - tests/* - tags: - - /v\d*\.\d*\.\d*/ + - '**/*.md' + - '**/*.gif' + - '**/*.png' + - LICENSE + - tests/* pull_request: env: @@ -31,9 +29,9 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: ${{ matrix.dotnet }} - - name: Get the version - id: get_version - run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - # ${{ steps.get_version.outputs.VERSION }} + #- name: Get the version + # id: get_version + # run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} + # ${{ steps.get_version.outputs.VERSION }} - name: Build with dotnet run: dotnet build redmine-net-api.sln --configuration Release From 118d4761f9da9bc6f25fd4a8a99535d81564722b Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 2 Feb 2020 14:03:34 +0200 Subject: [PATCH 160/601] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 419816ca..154284f9 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ ![Nuget](https://img.shields.io/nuget/dt/redmine-net-api) +![Redmine .NET Api](https://github.com/zapadi/redmine-net-api/workflows/Redmine%20.NET%20Api/badge.svg?branch=master) ![Appveyor last build status](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true&passingText=master%20-%20OK&failingText=ups...) [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) Buy Me A Coffee From fc4374eb11281e6afff9a8dfdabad82e987a396c Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 2 Feb 2020 14:10:58 +0200 Subject: [PATCH 161/601] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 154284f9..c3c8f8b3 100755 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ redmine-net-api is a library for communicating with a Redmine project management application. * Uses [Redmine's REST API.](http://www.redmine.org/projects/redmine/wiki/Rest_api/) -* Supports both XML and **JSON(requires .NET Framework 3.5 or higher)** formats. +* Supports both XML and **JSON** formats. * Supports GZipped responses from servers. * This API provides access and basic CRUD operations (create, read, update, delete) for the resources described below: From ccf2ce111edd5430fd40aa9bcefb0eaedd0da787 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 17 Jan 2020 09:01:07 +0200 Subject: [PATCH 162/601] Fix redmine keys --- src/redmine-net-api/RedmineKeys.cs | 29 ++++++++++++++++++++++--- src/redmine-net-api/Types/Attachment.cs | 8 +++---- src/redmine-net-api/Types/File.cs | 8 +++---- src/redmine-net-api/Types/Upload.cs | 8 +++---- src/redmine-net-api/Types/User.cs | 16 +++++++------- 5 files changed, 46 insertions(+), 23 deletions(-) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index 69c18200..deb03f4d 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -31,6 +31,10 @@ public static class RedmineKeys /// /// /// + public const string ADMIN = "admin"; + /// + /// + /// public const string ALL = "*"; /// /// @@ -105,6 +109,11 @@ public static class RedmineKeys /// public const string CREATED_ON = "created_on"; + /// + /// + /// + public const string CURRENT = "current"; + /// /// /// @@ -193,15 +202,20 @@ public static class RedmineKeys /// /// /// - public const string FILENAME = "filename"; + public const string FILE_NAME = "filename"; /// /// /// public const string FILE_SIZE = "filesize"; + + /// + /// + /// + public const string FILES = "files"; /// /// /// - public const string FIRSTNAME = "firstname"; + public const string FIRST_NAME = "firstname"; /// /// /// @@ -334,7 +348,7 @@ public static class RedmineKeys /// /// /// - public const string LASTNAME = "lastname"; + public const string LAST_NAME = "lastname"; /// /// /// @@ -650,6 +664,10 @@ public static class RedmineKeys /// /// /// + public const string VERSIONS = "versions"; + /// + /// + /// public const string VISIBLE = "visible"; /// /// @@ -666,10 +684,15 @@ public static class RedmineKeys /// /// /// + public const string WIKI = "wiki"; + /// + /// + /// public const string WIKI_PAGE = "wiki_page"; /// /// /// public const string WIKI_PAGES = "wiki_pages"; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index dd9f053b..9d8fb591 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -107,7 +107,7 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.CONTENT_URL: ContentUrl = reader.ReadElementContentAsString(); break; case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; - case RedmineKeys.FILENAME: FileName = reader.ReadElementContentAsString(); break; + case RedmineKeys.FILE_NAME: FileName = reader.ReadElementContentAsString(); break; case RedmineKeys.FILE_SIZE: FileSize = reader.ReadElementContentAsInt(); break; case RedmineKeys.THUMBNAIL_URL: ThumbnailUrl = reader.ReadElementContentAsString(); break; default: reader.Read(); break; @@ -122,7 +122,7 @@ public override void ReadXml(XmlReader reader) public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); - writer.WriteElementString(RedmineKeys.FILENAME, FileName); + writer.WriteElementString(RedmineKeys.FILE_NAME, FileName); } #endregion @@ -154,7 +154,7 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.CONTENT_URL: ContentUrl = reader.ReadAsString(); break; case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; - case RedmineKeys.FILENAME: FileName = reader.ReadAsString(); break; + case RedmineKeys.FILE_NAME: FileName = reader.ReadAsString(); break; case RedmineKeys.FILE_SIZE: FileSize = reader.ReadAsInt(); break; case RedmineKeys.THUMBNAIL_URL: ThumbnailUrl = reader.ReadAsString(); break; default: reader.Read(); break; @@ -171,7 +171,7 @@ public override void WriteJson(JsonWriter writer) { using (new JsonObject(writer, RedmineKeys.ATTACHMENT)) { - writer.WriteProperty(RedmineKeys.FILENAME, FileName); + writer.WriteProperty(RedmineKeys.FILE_NAME, FileName); writer.WriteProperty(RedmineKeys.DESCRIPTION, Description); } } diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index f8d017cf..cc837c80 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -119,7 +119,7 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; case RedmineKeys.DIGEST: Digest = reader.ReadElementContentAsString(); break; case RedmineKeys.DOWNLOADS: Downloads = reader.ReadElementContentAsInt(); break; - case RedmineKeys.FILENAME: Filename = reader.ReadElementContentAsString(); break; + case RedmineKeys.FILE_NAME: Filename = reader.ReadElementContentAsString(); break; case RedmineKeys.FILE_SIZE: FileSize = reader.ReadElementContentAsInt(); break; case RedmineKeys.TOKEN: Token = reader.ReadElementContentAsString(); break; case RedmineKeys.VERSION: Version = new IdentifiableName(reader); break; @@ -137,7 +137,7 @@ public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.TOKEN, Token); writer.WriteIdIfNotNull(RedmineKeys.VERSION_ID, Version); - writer.WriteElementString(RedmineKeys.FILENAME, Filename); + writer.WriteElementString(RedmineKeys.FILE_NAME, Filename); writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); } #endregion @@ -171,7 +171,7 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; case RedmineKeys.DIGEST: Digest = reader.ReadAsString(); break; case RedmineKeys.DOWNLOADS: Downloads = reader.ReadAsInt32().GetValueOrDefault(); break; - case RedmineKeys.FILENAME: Filename = reader.ReadAsString(); break; + case RedmineKeys.FILE_NAME: Filename = reader.ReadAsString(); break; case RedmineKeys.FILE_SIZE: FileSize = reader.ReadAsInt32().GetValueOrDefault(); break; case RedmineKeys.TOKEN: Token = reader.ReadAsString(); break; case RedmineKeys.VERSION: Version = new IdentifiableName(reader); break; @@ -193,7 +193,7 @@ public override void WriteJson(JsonWriter writer) { writer.WriteProperty(RedmineKeys.TOKEN, Token); writer.WriteIdIfNotNull(RedmineKeys.VERSION_ID, Version); - writer.WriteProperty(RedmineKeys.FILENAME, Filename); + writer.WriteProperty(RedmineKeys.FILE_NAME, Filename); writer.WriteProperty(RedmineKeys.DESCRIPTION, Description); } } diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index 9450442a..6074fcf1 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -86,7 +86,7 @@ public void ReadXml(XmlReader reader) { case RedmineKeys.CONTENT_TYPE: ContentType = reader.ReadElementContentAsString(); break; case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; - case RedmineKeys.FILENAME: FileName = reader.ReadElementContentAsString(); break; + case RedmineKeys.FILE_NAME: FileName = reader.ReadElementContentAsString(); break; case RedmineKeys.TOKEN: Token = reader.ReadElementContentAsString(); break; default: reader.Read(); break; } @@ -101,7 +101,7 @@ public void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.TOKEN, Token); writer.WriteElementString(RedmineKeys.CONTENT_TYPE, ContentType); - writer.WriteElementString(RedmineKeys.FILENAME, FileName); + writer.WriteElementString(RedmineKeys.FILE_NAME, FileName); writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); } #endregion @@ -129,7 +129,7 @@ public void ReadJson(JsonReader reader) { case RedmineKeys.CONTENT_TYPE: ContentType = reader.ReadAsString(); break; case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; - case RedmineKeys.FILENAME: FileName = reader.ReadAsString(); break; + case RedmineKeys.FILE_NAME: FileName = reader.ReadAsString(); break; case RedmineKeys.TOKEN: Token = reader.ReadAsString(); break; default: reader.Read(); break; } @@ -144,7 +144,7 @@ public void WriteJson(JsonWriter writer) { writer.WriteProperty(RedmineKeys.TOKEN, Token); writer.WriteProperty(RedmineKeys.CONTENT_TYPE, ContentType); - writer.WriteProperty(RedmineKeys.FILENAME, FileName); + writer.WriteProperty(RedmineKeys.FILE_NAME, FileName); writer.WriteProperty(RedmineKeys.DESCRIPTION, Description); } #endregion diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index d4c9fa59..d815ced8 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -154,10 +154,10 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.AUTH_SOURCE_ID: AuthenticationModeId = reader.ReadElementContentAsNullableInt(); break; case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadElementContentAsCollection(); break; - case RedmineKeys.FIRSTNAME: FirstName = reader.ReadElementContentAsString(); break; + case RedmineKeys.FIRST_NAME: FirstName = reader.ReadElementContentAsString(); break; case RedmineKeys.GROUPS: Groups = reader.ReadElementContentAsCollection(); break; case RedmineKeys.LAST_LOGIN_ON: LastLoginOn = reader.ReadElementContentAsNullableDateTime(); break; - case RedmineKeys.LASTNAME: LastName = reader.ReadElementContentAsString(); break; + case RedmineKeys.LAST_NAME: LastName = reader.ReadElementContentAsString(); break; case RedmineKeys.LOGIN: Login = reader.ReadElementContentAsString(); break; case RedmineKeys.MAIL: Email = reader.ReadElementContentAsString(); break; case RedmineKeys.MAIL_NOTIFICATION: MailNotification = reader.ReadElementContentAsString(); break; @@ -176,8 +176,8 @@ public override void ReadXml(XmlReader reader) public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.LOGIN, Login); - writer.WriteElementString(RedmineKeys.FIRSTNAME, FirstName); - writer.WriteElementString(RedmineKeys.LASTNAME, LastName); + writer.WriteElementString(RedmineKeys.FIRST_NAME, FirstName); + writer.WriteElementString(RedmineKeys.LAST_NAME, LastName); writer.WriteElementString(RedmineKeys.MAIL, Email); writer.WriteElementString(RedmineKeys.MAIL_NOTIFICATION, MailNotification); writer.WriteElementString(RedmineKeys.PASSWORD, Password); @@ -215,9 +215,9 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadAsCollection(); break; case RedmineKeys.LAST_LOGIN_ON: LastLoginOn = reader.ReadAsDateTime(); break; - case RedmineKeys.LASTNAME: LastName = reader.ReadAsString(); break; + case RedmineKeys.LAST_NAME: LastName = reader.ReadAsString(); break; case RedmineKeys.LOGIN: Login = reader.ReadAsString(); break; - case RedmineKeys.FIRSTNAME: FirstName = reader.ReadAsString(); break; + case RedmineKeys.FIRST_NAME: FirstName = reader.ReadAsString(); break; case RedmineKeys.GROUPS: Groups = reader.ReadAsCollection(); break; case RedmineKeys.MAIL: Email = reader.ReadAsString(); break; case RedmineKeys.MAIL_NOTIFICATION: MailNotification = reader.ReadAsString(); break; @@ -238,8 +238,8 @@ public override void WriteJson(JsonWriter writer) using (new JsonObject(writer, RedmineKeys.USER)) { writer.WriteProperty(RedmineKeys.LOGIN, Login); - writer.WriteProperty(RedmineKeys.FIRSTNAME, FirstName); - writer.WriteProperty(RedmineKeys.LASTNAME, LastName); + writer.WriteProperty(RedmineKeys.FIRST_NAME, FirstName); + writer.WriteProperty(RedmineKeys.LAST_NAME, LastName); writer.WriteProperty(RedmineKeys.MAIL, Email); writer.WriteProperty(RedmineKeys.MAIL_NOTIFICATION, MailNotification); writer.WriteProperty(RedmineKeys.PASSWORD, Password); From 12c196720a60fa09637abfc0a331b0b347120d26 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 17 Jan 2020 08:59:25 +0200 Subject: [PATCH 163/601] Add GET verb. --- src/redmine-net-api/HttpVerbs.cs | 4 ++++ 1 file changed, 4 insertions(+) mode change 100755 => 100644 src/redmine-net-api/HttpVerbs.cs diff --git a/src/redmine-net-api/HttpVerbs.cs b/src/redmine-net-api/HttpVerbs.cs old mode 100755 new mode 100644 index 30a95d28..b66ef937 --- a/src/redmine-net-api/HttpVerbs.cs +++ b/src/redmine-net-api/HttpVerbs.cs @@ -22,6 +22,10 @@ namespace Redmine.Net.Api /// public static class HttpVerbs { + /// + /// Represents an HTTP GET protocol method that is used to get an entity identified by a URI. + /// + public const string GET = "GET"; /// /// Represents an HTTP PUT protocol method that is used to replace an entity identified by a URI. /// From 02d8620c6392709725bba7c0991792f837dd6424 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 17 Jan 2020 09:05:15 +0200 Subject: [PATCH 164/601] Add usersecrets to test project --- tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index a11a5962..e809acc2 100644 --- a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -1,4 +1,4 @@ - + @@ -9,6 +9,7 @@ false redmine.net.api.Tests redmine-net-api.Tests + f8b9e946-b547-42f1-861c-f719dca00a84 From 76ac3c9c1a9adb3be976eb874bbcc60b1cacc168 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 17 Jan 2020 09:04:37 +0200 Subject: [PATCH 165/601] Add ToQueryString extension --- .../NameValueCollectionExtensions.cs | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs index 1f56d451..1843ebe4 100644 --- a/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs +++ b/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System.Collections.Specialized; +using System.Text; namespace Redmine.Net.Api.Extensions { @@ -40,5 +41,52 @@ public static string GetParameterValue(this NameValueCollection parameters, stri return value.IsNullOrWhiteSpace() ? null : value; } + + /// + /// Gets the parameter value. + /// + /// The parameters. + /// Name of the parameter. + /// + public static string GetValue(this NameValueCollection parameters, string parameterName) + { + if (parameters == null) + { + return null; + } + + var value = parameters.Get(parameterName); + + return value.IsNullOrWhiteSpace() ? null : value; + } + + /// + /// + /// + /// + /// + public static string ToQueryString(this NameValueCollection requestParameters) + { + if (requestParameters == null || requestParameters.Count == 0) + { + return null; + } + + var stringBuilder = new StringBuilder(); + + for (var index = 0; index < requestParameters.Count; ++index) + { + stringBuilder.AppendFormat("{0}={1}&",requestParameters.AllKeys[index],requestParameters[index]); + + } + + stringBuilder.Length -= 1; + + stringBuilder.Insert(0, "?"); + + return stringBuilder.ToString(); + + } + } } \ No newline at end of file From fb505cf9c0aac4123f9581d23be2bf7ddaeb0cf4 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 2 Feb 2020 14:50:47 +0200 Subject: [PATCH 166/601] Add ToSecureString extension --- .../Extensions/StringExtensions.cs | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index ea2d011e..64b4fe14 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -1,4 +1,6 @@ +using System; using System.Diagnostics.CodeAnalysis; +using System.Security; namespace Redmine.Net.Api.Extensions { @@ -62,5 +64,32 @@ public static string ToLowerInv(this string text) { return text.IsNullOrWhiteSpace() ? text : text.ToLowerInvariant(); } + + /// + /// Transforms a string into a SecureString. + /// + /// + /// The string to transform. + /// + /// + /// A secure string representing the contents of the original string. + /// + internal static SecureString ToSecureString(this string value) + { + if (value.IsNullOrWhiteSpace()) + { + return null; + } + + using (var rv = new SecureString()) + { + foreach (var c in value) + { + rv.AppendChar(c); + } + + return rv; + } + } } } \ No newline at end of file From 56f0b7aade25df709d3b10ad987934f8ebd39307 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 2 Feb 2020 14:52:31 +0200 Subject: [PATCH 167/601] Replace AppendFormat with Append (ToQueryString extension) --- .../NameValueCollectionExtensions.cs | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs index 1843ebe4..3157ae68 100644 --- a/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs +++ b/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System.Collections.Specialized; +using System.Globalization; using System.Text; namespace Redmine.Net.Api.Extensions @@ -76,16 +77,23 @@ public static string ToQueryString(this NameValueCollection requestParameters) for (var index = 0; index < requestParameters.Count; ++index) { - stringBuilder.AppendFormat("{0}={1}&",requestParameters.AllKeys[index],requestParameters[index]); - + stringBuilder + .Append(requestParameters.AllKeys[index].ToString(CultureInfo.InvariantCulture)) + .Append("=") + .Append(requestParameters[index].ToString(CultureInfo.InvariantCulture)) + .Append("&"); } stringBuilder.Length -= 1; - stringBuilder.Insert(0, "?"); - - return stringBuilder.ToString(); + var queryString = stringBuilder.ToString(); + #if !(NET20) + stringBuilder.Clear(); + #endif + stringBuilder = null; + + return queryString; } } From 044b510a0eb7302937db0ac5156cd0685e2b39d9 Mon Sep 17 00:00:00 2001 From: Tobias Gaertner Date: Tue, 18 Feb 2020 10:24:32 +0100 Subject: [PATCH 168/601] fix serialization of CustomFieldRole --- src/redmine-net-api/Types/CustomFieldRole.cs | 6 ++++++ src/redmine-net-api/redmine-net-api.csproj | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Types/CustomFieldRole.cs b/src/redmine-net-api/Types/CustomFieldRole.cs index 9aa7020f..62e6d568 100644 --- a/src/redmine-net-api/Types/CustomFieldRole.cs +++ b/src/redmine-net-api/Types/CustomFieldRole.cs @@ -26,6 +26,12 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.ROLE)] public sealed class CustomFieldRole : IdentifiableName { + /// + /// Initializes a new instance of the class. + /// + /// Serialization + public CustomFieldRole() { } + internal CustomFieldRole(int id, string name) { Id = id; diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 1b87fd50..5ebff589 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -49,7 +49,8 @@ https://github.com/zapadi/redmine-net-api ... Redmine .NET API Client - 3.0.6 + 3.0.6 + 3.0.6.1 From 13f8deb4b309717be537918f875b91a42e570739 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 21 Feb 2020 09:35:56 +0200 Subject: [PATCH 169/601] Update nuget key --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index a8e24db6..541dc970 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -82,7 +82,7 @@ for: - provider: NuGet name: production api_key: - secure: fo+5VNPIRQ98jFPBZSd4SsOVyXEsTxnQ52VWTrg3sgH1GwGXhi70Q561eimlmRhy + secure: iQKBODPsLcVrf7JQV5IR1jDHq01NiqEDmgj8N0Ahktuu76dKCs827tLggGMO9Mkd skip_symbols: true on: branch: master From f9906e46e00bce2aaeeeb27faa8ad3f22918f837 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 5 Apr 2020 18:30:41 +0300 Subject: [PATCH 170/601] Fix #257 --- src/redmine-net-api/Types/CustomField.cs | 4 ++++ src/redmine-net-api/Types/CustomFieldRole.cs | 5 +++++ src/redmine-net-api/Types/CustomFieldValue.cs | 4 ++-- src/redmine-net-api/Types/Group.cs | 4 ++++ src/redmine-net-api/Types/GroupUser.cs | 5 +++++ src/redmine-net-api/Types/IssueCustomField.cs | 4 ++++ src/redmine-net-api/Types/Project.cs | 6 ++++++ src/redmine-net-api/Types/ProjectEnabledModule.cs | 5 +++++ src/redmine-net-api/Types/ProjectIssueCategory.cs | 5 +++++ src/redmine-net-api/Types/ProjectTimeEntryActivity.cs | 5 +++++ src/redmine-net-api/Types/ProjectTracker.cs | 5 +++++ src/redmine-net-api/Types/Role.cs | 4 ++++ src/redmine-net-api/Types/TimeEntryActivity.cs | 8 +++++++- src/redmine-net-api/Types/UserGroup.cs | 5 +++++ src/redmine-net-api/Types/Watcher.cs | 6 ++++++ 15 files changed, 72 insertions(+), 3 deletions(-) diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index 84a36208..48705cb9 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -37,6 +37,10 @@ public sealed class CustomField : IdentifiableName, IEquatable /// /// /// + new public string Name { get; set; } + /// + /// + /// public string CustomizedType { get; internal set; } /// diff --git a/src/redmine-net-api/Types/CustomFieldRole.cs b/src/redmine-net-api/Types/CustomFieldRole.cs index 62e6d568..73a4bce8 100644 --- a/src/redmine-net-api/Types/CustomFieldRole.cs +++ b/src/redmine-net-api/Types/CustomFieldRole.cs @@ -38,6 +38,11 @@ internal CustomFieldRole(int id, string name) Name = name; } + /// + /// + /// + new public string Name { get; set; } + /// /// /// diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index d2b264b8..3d902482 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -47,13 +47,13 @@ public CustomFieldValue(string value) { Info = value; } - + #region Properties /// /// /// - public string Info { get; internal set; } + public string Info { get; set; } #endregion diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index cd523316..18926c40 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -49,6 +49,10 @@ public Group(string name) #region Properties /// + /// + /// + new public string Name { get; set; } + /// /// Represents the group's users. /// public IList Users { get; internal set; } diff --git a/src/redmine-net-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs index cb2da9d9..341122cf 100644 --- a/src/redmine-net-api/Types/GroupUser.cs +++ b/src/redmine-net-api/Types/GroupUser.cs @@ -27,6 +27,11 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.USER)] public sealed class GroupUser : IdentifiableName, IValue { + /// + /// + /// + new public string Name { get; set; } + #region Implementation of IValue /// /// diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 1a03aa27..71f66478 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -35,6 +35,10 @@ public sealed class IssueCustomField : IdentifiableName, IEquatable + /// + /// + new public string Name { get; set; } + /// /// Gets or sets the value. /// /// The value. diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index fd3dece0..b0bcf23f 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -35,6 +35,12 @@ namespace Redmine.Net.Api.Types public sealed class Project : IdentifiableName, IEquatable { #region Properties + + /// + /// + /// + new public string Name { get; set; } + /// /// Gets or sets the identifier. /// diff --git a/src/redmine-net-api/Types/ProjectEnabledModule.cs b/src/redmine-net-api/Types/ProjectEnabledModule.cs index 055703c8..ce9b6ff0 100644 --- a/src/redmine-net-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net-api/Types/ProjectEnabledModule.cs @@ -50,6 +50,11 @@ public ProjectEnabledModule(string moduleName) #endregion + /// + /// + /// + new public string Name { get; set; } + #region Implementation of IValue /// /// diff --git a/src/redmine-net-api/Types/ProjectIssueCategory.cs b/src/redmine-net-api/Types/ProjectIssueCategory.cs index b4c9aa0d..30455354 100644 --- a/src/redmine-net-api/Types/ProjectIssueCategory.cs +++ b/src/redmine-net-api/Types/ProjectIssueCategory.cs @@ -37,6 +37,11 @@ internal ProjectIssueCategory(int id, string name) Name = name; } + /// + /// + /// + new public string Name { get; set; } + /// /// /// diff --git a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs index 43251a43..fbdcac35 100644 --- a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs +++ b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs @@ -21,6 +21,11 @@ internal ProjectTimeEntryActivity(int id, string name) Name = name; } + /// + /// + /// + new public string Name { get; set; } + /// /// /// diff --git a/src/redmine-net-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs index 95e60de2..5c06cab9 100644 --- a/src/redmine-net-api/Types/ProjectTracker.cs +++ b/src/redmine-net-api/Types/ProjectTracker.cs @@ -52,6 +52,11 @@ internal ProjectTracker(int trackerId) Id = trackerId; } + /// + /// + /// + new public string Name { get; set; } + #region Implementation of IValue /// diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index c0e544d5..bb07bc55 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -34,6 +34,10 @@ public sealed class Role : IdentifiableName, IEquatable { #region Properties /// + /// + /// + new public string Name { get; set; } + /// /// Gets the permissions. /// /// diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index ad0f9547..ab000304 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -32,7 +32,6 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.TIME_ENTRY_ACTIVITY)] public sealed class TimeEntryActivity : IdentifiableName, IEquatable { - #region Properties /// /// /// @@ -44,6 +43,13 @@ internal TimeEntryActivity(int id, string name) Name = name; } + #region Properties + + /// + /// + /// + new public string Name { get; set; } + /// /// /// diff --git a/src/redmine-net-api/Types/UserGroup.cs b/src/redmine-net-api/Types/UserGroup.cs index 5b3538b1..72942128 100644 --- a/src/redmine-net-api/Types/UserGroup.cs +++ b/src/redmine-net-api/Types/UserGroup.cs @@ -26,6 +26,11 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.GROUP)] public sealed class UserGroup : IdentifiableName { + /// + /// + /// + new public string Name { get; set; } + /// /// /// diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index 2fd8735c..4f64a590 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -28,6 +28,12 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.USER)] public sealed class Watcher : IdentifiableName, IValue, ICloneable { + /// + /// + /// + new public string Name { get; set; } + + #region Implementation of IValue /// /// From c30f4f012fb81ef76108a5d35d6c4ac6d02858fe Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 5 Apr 2020 18:31:02 +0300 Subject: [PATCH 171/601] Small refactoring --- .../Internals/XmlTextReaderBuilder.cs | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs index ec4d07d6..8a3a63d7 100644 --- a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs +++ b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs @@ -9,6 +9,14 @@ namespace Redmine.Net.Api.Internals public static class XmlTextReaderBuilder { #if NET20 + private static readonly XmlReaderSettings xmlReaderSettings = new XmlReaderSettings() + { + ProhibitDtd = true, + XmlResolver = null, + IgnoreComments = true, + IgnoreWhitespace = true, + }; + /// /// /// @@ -16,13 +24,7 @@ public static class XmlTextReaderBuilder /// public static XmlReader Create(StringReader stringReader) { - return XmlReader.Create(stringReader, new XmlReaderSettings() - { - ProhibitDtd = true, - XmlResolver = null, - IgnoreComments = true, - IgnoreWhitespace = true, - }); + return XmlReader.Create(stringReader, xmlReaderSettings); } @@ -35,13 +37,7 @@ public static XmlReader Create(string xml) { var stringReader = new StringReader(xml); { - return XmlReader.Create(stringReader, new XmlReaderSettings() - { - ProhibitDtd = true, - XmlResolver = null, - IgnoreComments = true, - IgnoreWhitespace = true, - }); + return XmlReader.Create(stringReader, xmlReaderSettings); } } #else From 30cba497c415b257e7672c20796a81dbeea34235 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 5 Apr 2020 18:30:41 +0300 Subject: [PATCH 172/601] Fix #257,#253 --- src/redmine-net-api/Types/CustomField.cs | 4 ++++ src/redmine-net-api/Types/CustomFieldRole.cs | 5 +++++ src/redmine-net-api/Types/CustomFieldValue.cs | 4 ++-- src/redmine-net-api/Types/Group.cs | 4 ++++ src/redmine-net-api/Types/GroupUser.cs | 5 +++++ src/redmine-net-api/Types/IssueCustomField.cs | 4 ++++ src/redmine-net-api/Types/Project.cs | 6 ++++++ src/redmine-net-api/Types/ProjectEnabledModule.cs | 5 +++++ src/redmine-net-api/Types/ProjectIssueCategory.cs | 5 +++++ src/redmine-net-api/Types/ProjectTimeEntryActivity.cs | 5 +++++ src/redmine-net-api/Types/ProjectTracker.cs | 5 +++++ src/redmine-net-api/Types/Role.cs | 4 ++++ src/redmine-net-api/Types/TimeEntryActivity.cs | 8 +++++++- src/redmine-net-api/Types/UserGroup.cs | 5 +++++ src/redmine-net-api/Types/Watcher.cs | 6 ++++++ 15 files changed, 72 insertions(+), 3 deletions(-) diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index 84a36208..48705cb9 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -37,6 +37,10 @@ public sealed class CustomField : IdentifiableName, IEquatable /// /// /// + new public string Name { get; set; } + /// + /// + /// public string CustomizedType { get; internal set; } /// diff --git a/src/redmine-net-api/Types/CustomFieldRole.cs b/src/redmine-net-api/Types/CustomFieldRole.cs index 62e6d568..73a4bce8 100644 --- a/src/redmine-net-api/Types/CustomFieldRole.cs +++ b/src/redmine-net-api/Types/CustomFieldRole.cs @@ -38,6 +38,11 @@ internal CustomFieldRole(int id, string name) Name = name; } + /// + /// + /// + new public string Name { get; set; } + /// /// /// diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index d2b264b8..3d902482 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -47,13 +47,13 @@ public CustomFieldValue(string value) { Info = value; } - + #region Properties /// /// /// - public string Info { get; internal set; } + public string Info { get; set; } #endregion diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index cd523316..18926c40 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -49,6 +49,10 @@ public Group(string name) #region Properties /// + /// + /// + new public string Name { get; set; } + /// /// Represents the group's users. /// public IList Users { get; internal set; } diff --git a/src/redmine-net-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs index cb2da9d9..341122cf 100644 --- a/src/redmine-net-api/Types/GroupUser.cs +++ b/src/redmine-net-api/Types/GroupUser.cs @@ -27,6 +27,11 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.USER)] public sealed class GroupUser : IdentifiableName, IValue { + /// + /// + /// + new public string Name { get; set; } + #region Implementation of IValue /// /// diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 1a03aa27..71f66478 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -35,6 +35,10 @@ public sealed class IssueCustomField : IdentifiableName, IEquatable + /// + /// + new public string Name { get; set; } + /// /// Gets or sets the value. /// /// The value. diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index fd3dece0..b0bcf23f 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -35,6 +35,12 @@ namespace Redmine.Net.Api.Types public sealed class Project : IdentifiableName, IEquatable { #region Properties + + /// + /// + /// + new public string Name { get; set; } + /// /// Gets or sets the identifier. /// diff --git a/src/redmine-net-api/Types/ProjectEnabledModule.cs b/src/redmine-net-api/Types/ProjectEnabledModule.cs index 055703c8..ce9b6ff0 100644 --- a/src/redmine-net-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net-api/Types/ProjectEnabledModule.cs @@ -50,6 +50,11 @@ public ProjectEnabledModule(string moduleName) #endregion + /// + /// + /// + new public string Name { get; set; } + #region Implementation of IValue /// /// diff --git a/src/redmine-net-api/Types/ProjectIssueCategory.cs b/src/redmine-net-api/Types/ProjectIssueCategory.cs index b4c9aa0d..30455354 100644 --- a/src/redmine-net-api/Types/ProjectIssueCategory.cs +++ b/src/redmine-net-api/Types/ProjectIssueCategory.cs @@ -37,6 +37,11 @@ internal ProjectIssueCategory(int id, string name) Name = name; } + /// + /// + /// + new public string Name { get; set; } + /// /// /// diff --git a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs index 43251a43..fbdcac35 100644 --- a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs +++ b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs @@ -21,6 +21,11 @@ internal ProjectTimeEntryActivity(int id, string name) Name = name; } + /// + /// + /// + new public string Name { get; set; } + /// /// /// diff --git a/src/redmine-net-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs index 95e60de2..5c06cab9 100644 --- a/src/redmine-net-api/Types/ProjectTracker.cs +++ b/src/redmine-net-api/Types/ProjectTracker.cs @@ -52,6 +52,11 @@ internal ProjectTracker(int trackerId) Id = trackerId; } + /// + /// + /// + new public string Name { get; set; } + #region Implementation of IValue /// diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index c0e544d5..bb07bc55 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -34,6 +34,10 @@ public sealed class Role : IdentifiableName, IEquatable { #region Properties /// + /// + /// + new public string Name { get; set; } + /// /// Gets the permissions. /// /// diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index ad0f9547..ab000304 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -32,7 +32,6 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.TIME_ENTRY_ACTIVITY)] public sealed class TimeEntryActivity : IdentifiableName, IEquatable { - #region Properties /// /// /// @@ -44,6 +43,13 @@ internal TimeEntryActivity(int id, string name) Name = name; } + #region Properties + + /// + /// + /// + new public string Name { get; set; } + /// /// /// diff --git a/src/redmine-net-api/Types/UserGroup.cs b/src/redmine-net-api/Types/UserGroup.cs index 5b3538b1..72942128 100644 --- a/src/redmine-net-api/Types/UserGroup.cs +++ b/src/redmine-net-api/Types/UserGroup.cs @@ -26,6 +26,11 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.GROUP)] public sealed class UserGroup : IdentifiableName { + /// + /// + /// + new public string Name { get; set; } + /// /// /// diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index 2fd8735c..4f64a590 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -28,6 +28,12 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.USER)] public sealed class Watcher : IdentifiableName, IValue, ICloneable { + /// + /// + /// + new public string Name { get; set; } + + #region Implementation of IValue /// /// From 1133f70569933bee615d20c55ece4e3b0e72c1df Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 5 Apr 2020 18:31:02 +0300 Subject: [PATCH 173/601] Small refactoring --- .../Internals/XmlTextReaderBuilder.cs | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs index ec4d07d6..8a3a63d7 100644 --- a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs +++ b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs @@ -9,6 +9,14 @@ namespace Redmine.Net.Api.Internals public static class XmlTextReaderBuilder { #if NET20 + private static readonly XmlReaderSettings xmlReaderSettings = new XmlReaderSettings() + { + ProhibitDtd = true, + XmlResolver = null, + IgnoreComments = true, + IgnoreWhitespace = true, + }; + /// /// /// @@ -16,13 +24,7 @@ public static class XmlTextReaderBuilder /// public static XmlReader Create(StringReader stringReader) { - return XmlReader.Create(stringReader, new XmlReaderSettings() - { - ProhibitDtd = true, - XmlResolver = null, - IgnoreComments = true, - IgnoreWhitespace = true, - }); + return XmlReader.Create(stringReader, xmlReaderSettings); } @@ -35,13 +37,7 @@ public static XmlReader Create(string xml) { var stringReader = new StringReader(xml); { - return XmlReader.Create(stringReader, new XmlReaderSettings() - { - ProhibitDtd = true, - XmlResolver = null, - IgnoreComments = true, - IgnoreWhitespace = true, - }); + return XmlReader.Create(stringReader, xmlReaderSettings); } } #else From 489396abe3d16ef20a9aa7e499d1168788c6c106 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Fri, 10 Apr 2020 09:48:13 +0300 Subject: [PATCH 174/601] Fix #259 --- src/redmine-net-api/RedmineManager.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 5b467239..5c4ffbe8 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -573,8 +573,10 @@ public void DeleteWikiPage(string projectId, string pageName) do { parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); + var tempResult = GetPaginatedObjects(parameters); - if (tempResult != null) + + if (tempResult?.Items != null) { if (resultList == null) { @@ -592,7 +594,7 @@ public void DeleteWikiPage(string projectId, string pageName) else { var result = GetPaginatedObjects(parameters); - if (result != null) + if (result?.Items != null) { return new List(result.Items); } From ed6e1eb3e97eeeb15c9108cbfd1199b9a4cc401f Mon Sep 17 00:00:00 2001 From: Zapadi Date: Fri, 17 Apr 2020 20:40:20 +0300 Subject: [PATCH 175/601] Consistency --- .../Async/RedmineManagerAsync40.cs | 2 +- .../Extensions/JsonWriterExtensions.cs | 29 ++++----- .../Extensions/WebExtensions.cs | 25 ++++---- .../Extensions/XmlReaderExtensions.cs | 27 ++++++--- .../Extensions/XmlWriterExtensions.cs | 31 ++++++---- src/redmine-net-api/Internals/UrlHelper.cs | 59 +++++++++---------- src/redmine-net-api/Internals/WebApiHelper.cs | 21 ++++--- .../Internals/XmlTextReaderBuilder.cs | 6 +- .../Serialization/PagedResults.cs | 10 ++-- .../Serialization/XmlRedmineSerializer.cs | 12 ++-- .../Serialization/XmlSerializerCache.cs | 30 +++++----- src/redmine-net-api/Types/CustomField.cs | 2 +- src/redmine-net-api/Types/CustomFieldRole.cs | 2 +- src/redmine-net-api/Types/Group.cs | 4 +- src/redmine-net-api/Types/GroupUser.cs | 2 +- src/redmine-net-api/Types/IssueCustomField.cs | 2 +- .../Types/IssueRelationType.cs | 4 +- src/redmine-net-api/Types/Project.cs | 2 +- .../Types/ProjectEnabledModule.cs | 2 +- .../Types/ProjectIssueCategory.cs | 2 +- .../Types/ProjectTimeEntryActivity.cs | 2 +- src/redmine-net-api/Types/ProjectTracker.cs | 2 +- src/redmine-net-api/Types/Role.cs | 2 +- .../Types/TimeEntryActivity.cs | 2 +- src/redmine-net-api/Types/UserGroup.cs | 2 +- src/redmine-net-api/Types/UserStatus.cs | 8 +-- src/redmine-net-api/Types/Watcher.cs | 2 +- 27 files changed, 154 insertions(+), 140 deletions(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync40.cs b/src/redmine-net-api/Async/RedmineManagerAsync40.cs index d658fcb0..303b2136 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync40.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync40.cs @@ -15,10 +15,10 @@ limitations under the License. */ -using System.Threading; #if NET40 using System.Collections.Generic; using System.Collections.Specialized; +using System.Threading; using System.Threading.Tasks; using Redmine.Net.Api.Types; using Redmine.Net.Api.Serialization; diff --git a/src/redmine-net-api/Extensions/JsonWriterExtensions.cs b/src/redmine-net-api/Extensions/JsonWriterExtensions.cs index d4032094..3d00f176 100644 --- a/src/redmine-net-api/Extensions/JsonWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/JsonWriterExtensions.cs @@ -22,11 +22,13 @@ public static partial class JsonExtensions /// public static void WriteIdIfNotNull(this JsonWriter jsonWriter, string tag, IdentifiableName value) { - if (value != null) + if (value == null) { - jsonWriter.WritePropertyName(tag); - jsonWriter.WriteValue(value.Id); + return; } + + jsonWriter.WritePropertyName(tag); + jsonWriter.WriteValue(value.Id); } /// @@ -38,7 +40,7 @@ public static void WriteIdIfNotNull(this JsonWriter jsonWriter, string tag, Iden /// public static void WriteIfNotDefaultOrNull(this JsonWriter writer, string elementName, T value) { - if (EqualityComparer.Default.Equals(value, default(T))) + if (EqualityComparer.Default.Equals(value, default)) { return; } @@ -61,14 +63,7 @@ public static void WriteIfNotDefaultOrNull(this JsonWriter writer, string ele /// public static void WriteIdOrEmpty(this JsonWriter jsonWriter, string tag, IdentifiableName ident, string emptyValue = null) { - if (ident != null) - { - jsonWriter.WriteProperty(tag, ident.Id.ToString(CultureInfo.InvariantCulture)); - } - else - { - jsonWriter.WriteProperty(tag, emptyValue); - } + jsonWriter.WriteProperty(tag, ident != null ? ident.Id.ToString(CultureInfo.InvariantCulture) : emptyValue); } /// @@ -80,7 +75,7 @@ public static void WriteIdOrEmpty(this JsonWriter jsonWriter, string tag, Identi /// public static void WriteDateOrEmpty(this JsonWriter jsonWriter, string tag, DateTime? val, string dateFormat = "yyyy-MM-dd") { - if (!val.HasValue || val.Value.Equals(default(DateTime))) + if (!val.HasValue || val.Value.Equals(default)) { jsonWriter.WriteProperty(tag, string.Empty); } @@ -99,7 +94,7 @@ public static void WriteDateOrEmpty(this JsonWriter jsonWriter, string tag, Date /// public static void WriteValueOrEmpty(this JsonWriter jsonWriter, string tag, T? val) where T : struct { - if (!val.HasValue || EqualityComparer.Default.Equals(val.Value, default(T))) + if (!val.HasValue || EqualityComparer.Default.Equals(val.Value, default)) { jsonWriter.WriteProperty(tag, string.Empty); } @@ -118,7 +113,7 @@ public static void WriteValueOrEmpty(this JsonWriter jsonWriter, string tag, /// public static void WriteValueOrDefault(this JsonWriter jsonWriter, string tag, T? val) where T : struct { - jsonWriter.WriteProperty(tag, val ?? default(T)); + jsonWriter.WriteProperty(tag, val ?? default); } /// @@ -169,7 +164,7 @@ public static void WriteArrayIds(this JsonWriter jsonWriter, string tag, IEnumer jsonWriter.WritePropertyName(tag); jsonWriter.WriteStartArray(); - StringBuilder sb = new StringBuilder(); + var sb = new StringBuilder(); foreach (var identifiableName in collection) { @@ -199,7 +194,7 @@ public static void WriteArrayNames(this JsonWriter jsonWriter, string tag, IEnum jsonWriter.WritePropertyName(tag); jsonWriter.WriteStartArray(); - StringBuilder sb = new StringBuilder(); + var sb = new StringBuilder(); foreach (var identifiableName in collection) { diff --git a/src/redmine-net-api/Extensions/WebExtensions.cs b/src/redmine-net-api/Extensions/WebExtensions.cs index ea219eb1..048f20d7 100644 --- a/src/redmine-net-api/Extensions/WebExtensions.cs +++ b/src/redmine-net-api/Extensions/WebExtensions.cs @@ -18,9 +18,9 @@ limitations under the License. using System.Collections.Generic; using System.IO; using System.Net; -using Redmine.Net.Api.Types; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Types; namespace Redmine.Net.Api.Extensions { @@ -82,13 +82,15 @@ public static void HandleWebException(this WebException exception, IRedmineSeria case 422: var errors = GetRedmineExceptions(exception.Response, serializer); var message = string.Empty; - if (errors != null) + + if (errors == null) + throw new RedmineException($"Invalid or missing attribute parameters: {message}", innerException); + + foreach (var error in errors) { - foreach (var error in errors) - { - message = message + error.Info + Environment.NewLine; - } + message = message + error.Info + Environment.NewLine; } + throw new RedmineException("Invalid or missing attribute parameters: " + message, innerException); case (int)HttpStatusCode.NotAcceptable: @@ -126,15 +128,8 @@ private static IEnumerable GetRedmineExceptions(this WebResponse webRespo return null; } - try - { - var result = serializer.DeserializeToPagedResults(responseContent); - return result.Items; - } - catch (Exception) - { - throw; - } + var result = serializer.DeserializeToPagedResults(responseContent); + return result.Items; } } } diff --git a/src/redmine-net-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net-api/Extensions/XmlReaderExtensions.cs index 48848043..6002ca98 100644 --- a/src/redmine-net-api/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlReaderExtensions.cs @@ -45,7 +45,7 @@ public static int ReadAttributeAsInt(this XmlReader reader, string attributeName if (attribute.IsNullOrWhiteSpace() || !int.TryParse(attribute, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out var result)) { - return default(int); + return default; } return result; @@ -63,7 +63,7 @@ public static int ReadAttributeAsInt(this XmlReader reader, string attributeName if (attribute.IsNullOrWhiteSpace() || !int.TryParse(attribute, NumberStyles.Any, NumberFormatInfo.InvariantInfo, out var result)) { - return default(int?); + return default; } return result; @@ -96,12 +96,14 @@ public static bool ReadAttributeAsBoolean(this XmlReader reader, string attribut { var content = reader.ReadElementContentAsString(); - if (content.IsNullOrWhiteSpace() || !DateTime.TryParse(content, out var result)) + if (!content.IsNullOrWhiteSpace() && DateTime.TryParse(content, out var result)) { - if (!DateTime.TryParseExact(content, INCLUDE_DATE_TIME_FORMAT, CultureInfo.InvariantCulture, DateTimeStyles.None, out result)) - { - return null; - } + return result; + } + + if (!DateTime.TryParseExact(content, INCLUDE_DATE_TIME_FORMAT, CultureInfo.InvariantCulture, DateTimeStyles.None, out result)) + { + return null; } return result; @@ -170,6 +172,11 @@ public static List ReadElementContentAsCollection(this XmlReader reader) w var serializer = new XmlSerializer(typeof(T)); var outerXml = reader.ReadOuterXml(); + if (string.IsNullOrEmpty(outerXml)) + { + return null; + } + using (var stringReader = new StringReader(outerXml)) { using (var xmlTextReader = XmlTextReaderBuilder.Create(stringReader)) @@ -231,6 +238,12 @@ public static IEnumerable ReadElementContentAsEnumerable(this XmlReader re { var serializer = new XmlSerializer(typeof(T)); var outerXml = reader.ReadOuterXml(); + + if (string.IsNullOrEmpty(outerXml)) + { + yield return null; + } + using (var stringReader = new StringReader(outerXml)) { using (var xmlTextReader = XmlTextReaderBuilder.Create(stringReader)) diff --git a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs index 9add243f..9e24e63f 100644 --- a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs @@ -20,7 +20,6 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; -using Redmine.Net.Api.Internals; using Redmine.Net.Api.Types; namespace Redmine.Net.Api.Extensions @@ -32,11 +31,11 @@ public static partial class XmlExtensions { #if !(NET20 || NET40 || NET45 || NET451 || NET452) - private static readonly Type[] emptyTypeArray = Array.Empty(); + private static readonly Type[] EmptyTypeArray = Array.Empty(); #else - private static readonly Type[] emptyTypeArray = new Type[0]; + private static readonly Type[] EmptyTypeArray = new Type[0]; #endif - private static readonly XmlAttributeOverrides xmlAttributeOverrides = new XmlAttributeOverrides(); + private static readonly XmlAttributeOverrides XmlAttributeOverrides = new XmlAttributeOverrides(); /// /// Writes the id if not null. @@ -60,7 +59,11 @@ public static void WriteIdIfNotNull(this XmlWriter writer, string elementName, I /// Name of the element. public static void WriteArray(this XmlWriter writer, string elementName, IEnumerable collection) { - if (collection == null) return; + if (collection == null) + { + return; + } + writer.WriteStartElement(elementName); writer.WriteAttributeString("type", "array"); @@ -108,7 +111,10 @@ public static void WriteArray(this XmlWriter writer, string elementName, IEnu /// The f. public static void WriteArrayIds(this XmlWriter writer, string elementName, IEnumerable collection, Type type, Func f) { - if (collection == null || f == null) return; + if (collection == null || f == null) + { + return; + } writer.WriteStartElement(elementName); writer.WriteAttributeString("type", "array"); @@ -134,14 +140,17 @@ public static void WriteArrayIds(this XmlWriter writer, string elementName, IEnu /// The default namespace. public static void WriteArray(this XmlWriter writer, string elementName, IEnumerable collection, Type type, string root, string defaultNamespace = null) { - if (collection == null) return; + if (collection == null) + { + return; + } writer.WriteStartElement(elementName); writer.WriteAttributeString("type", "array"); var rootAttribute = new XmlRootAttribute(root); - var serializer = new XmlSerializer(type, xmlAttributeOverrides, emptyTypeArray, rootAttribute, + var serializer = new XmlSerializer(type, XmlAttributeOverrides, EmptyTypeArray, rootAttribute, defaultNamespace); foreach (var item in collection) @@ -235,7 +244,7 @@ public static void WriteIdOrEmpty(this XmlWriter writer, string elementName, Ide /// The tag. public static void WriteIfNotDefaultOrNull(this XmlWriter writer, string elementName, T value) { - if (EqualityComparer.Default.Equals(value, default(T))) + if (EqualityComparer.Default.Equals(value, default)) { return; } @@ -258,7 +267,7 @@ public static void WriteIfNotDefaultOrNull(this XmlWriter writer, string elem /// The tag. public static void WriteValueOrEmpty(this XmlWriter writer, string elementName, T? val) where T : struct { - if (!val.HasValue || EqualityComparer.Default.Equals(val.Value, default(T))) + if (!val.HasValue || EqualityComparer.Default.Equals(val.Value, default)) { writer.WriteElementString(elementName, string.Empty); } @@ -277,7 +286,7 @@ public static void WriteValueOrEmpty(this XmlWriter writer, string elementNam /// public static void WriteDateOrEmpty(this XmlWriter writer, string elementName, DateTime? val, string dateTimeFormat = "yyyy-MM-dd") { - if (!val.HasValue || val.Value.Equals(default(DateTime))) + if (!val.HasValue || val.Value.Equals(default)) { writer.WriteElementString(elementName, string.Empty); } diff --git a/src/redmine-net-api/Internals/UrlHelper.cs b/src/redmine-net-api/Internals/UrlHelper.cs index a188b495..7f3bc7cd 100644 --- a/src/redmine-net-api/Internals/UrlHelper.cs +++ b/src/redmine-net-api/Internals/UrlHelper.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,7 +18,6 @@ limitations under the License. using System.Collections.Generic; using System.Collections.Specialized; using System.Globalization; -using System.Web; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; @@ -33,41 +32,41 @@ internal static class UrlHelper { /// /// - const string REQUEST_FORMAT = "{0}/{1}/{2}.{3}"; + private const string REQUEST_FORMAT = "{0}/{1}/{2}.{3}"; /// /// - const string FORMAT = "{0}/{1}.{2}"; + private const string FORMAT = "{0}/{1}.{2}"; /// /// - const string WIKI_INDEX_FORMAT = "{0}/projects/{1}/wiki/index.{2}"; + private const string WIKI_INDEX_FORMAT = "{0}/projects/{1}/wiki/index.{2}"; /// /// - const string WIKI_PAGE_FORMAT = "{0}/projects/{1}/wiki/{2}.{3}"; + private const string WIKI_PAGE_FORMAT = "{0}/projects/{1}/wiki/{2}.{3}"; /// /// - const string WIKI_VERSION_FORMAT = "{0}/projects/{1}/wiki/{2}/{3}.{4}"; + private const string WIKI_VERSION_FORMAT = "{0}/projects/{1}/wiki/{2}/{3}.{4}"; /// /// - const string ENTITY_WITH_PARENT_FORMAT = "{0}/{1}/{2}/{3}.{4}"; + private const string ENTITY_WITH_PARENT_FORMAT = "{0}/{1}/{2}/{3}.{4}"; /// /// - const string ATTACHMENT_UPDATE_FORMAT = "{0}/attachments/issues/{1}.{2}"; + private const string ATTACHMENT_UPDATE_FORMAT = "{0}/attachments/issues/{1}.{2}"; /// /// /// - const string FILE_URL_FORMAT = "{0}/projects/{1}/files.{2}"; + private const string FILE_URL_FORMAT = "{0}/projects/{1}/files.{2}"; /// /// - const string CURRENT_USER_URI = "current"; + private const string CURRENT_USER_URI = "current"; /// /// Gets the upload URL. /// @@ -81,9 +80,9 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id) { var type = typeof(T); - if (!RedmineManager.Sufixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); + if (!RedmineManager.Suffixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); - return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], id, + return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Suffixes[type], id, redmineManager.Format); } @@ -104,19 +103,19 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id) { var type = typeof(T); - if (!RedmineManager.Sufixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); + if (!RedmineManager.Suffixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); if (type == typeof(Version) || type == typeof(IssueCategory) || type == typeof(ProjectMembership)) { if (string.IsNullOrEmpty(ownerId)) throw new RedmineException("The owner id(project id) is mandatory!"); return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.PROJECTS, - ownerId, RedmineManager.Sufixes[type], redmineManager.Format); + ownerId, RedmineManager.Suffixes[type], redmineManager.Format); } if (type == typeof(IssueRelation)) { if (string.IsNullOrEmpty(ownerId)) throw new RedmineException("The owner id(issue id) is mandatory!"); return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.ISSUES, - ownerId, RedmineManager.Sufixes[type], redmineManager.Format); + ownerId, RedmineManager.Suffixes[type], redmineManager.Format); } if (type == typeof(File)) @@ -128,7 +127,7 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id) return string.Format(CultureInfo.InvariantCulture,FILE_URL_FORMAT, redmineManager.Host, ownerId, redmineManager.Format); } - return string.Format(CultureInfo.InvariantCulture,FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], + return string.Format(CultureInfo.InvariantCulture,FORMAT, redmineManager.Host, RedmineManager.Suffixes[type], redmineManager.Format); } @@ -145,9 +144,9 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id) { var type = typeof(T); - if (!RedmineManager.Sufixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); + if (!RedmineManager.Suffixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); - return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], id, + return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Suffixes[type], id, redmineManager.Format); } @@ -163,9 +162,9 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id) { var type = typeof(T); - if (!RedmineManager.Sufixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); + if (!RedmineManager.Suffixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); - return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], id, + return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Suffixes[type], id, redmineManager.Format); } @@ -187,7 +186,7 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle { var type = typeof(T); - if (!RedmineManager.Sufixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); + if (!RedmineManager.Suffixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); if (type == typeof(Version) || type == typeof(IssueCategory) || type == typeof(ProjectMembership)) { @@ -196,7 +195,7 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle throw new RedmineException("The project id is mandatory! \nCheck if you have included the parameter project_id to parameters."); return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.PROJECTS, - projectId, RedmineManager.Sufixes[type], redmineManager.Format); + projectId, RedmineManager.Suffixes[type], redmineManager.Format); } if (type == typeof(IssueRelation)) { @@ -205,7 +204,7 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle throw new RedmineException("The issue id is mandatory! \nCheck if you have included the parameter issue_id to parameters"); return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.ISSUES, - issueId, RedmineManager.Sufixes[type], redmineManager.Format); + issueId, RedmineManager.Suffixes[type], redmineManager.Format); } if (type == typeof(File)) @@ -218,7 +217,7 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle return string.Format(CultureInfo.InvariantCulture,FILE_URL_FORMAT, redmineManager.Host, projectId, redmineManager.Format); } - return string.Format(CultureInfo.InvariantCulture,FORMAT, redmineManager.Host, RedmineManager.Sufixes[type], + return string.Format(CultureInfo.InvariantCulture,FORMAT, redmineManager.Host, RedmineManager.Suffixes[type], redmineManager.Format); } @@ -263,7 +262,7 @@ public static string GetWikiPageUrl(RedmineManager redmineManager, string projec public static string GetAddUserToGroupUrl(RedmineManager redmineManager, int groupId) { return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, - RedmineManager.Sufixes[typeof(Group)], + RedmineManager.Suffixes[typeof(Group)], $"{groupId.ToString(CultureInfo.InvariantCulture)}/users", redmineManager.Format); } @@ -277,7 +276,7 @@ public static string GetAddUserToGroupUrl(RedmineManager redmineManager, int gro public static string GetRemoveUserFromGroupUrl(RedmineManager redmineManager, int groupId, int userId) { return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, - RedmineManager.Sufixes[typeof(Group)], + RedmineManager.Suffixes[typeof(Group)], $"{groupId.ToString(CultureInfo.InvariantCulture)}/users/{userId.ToString(CultureInfo.InvariantCulture)}", redmineManager.Format); } @@ -300,7 +299,7 @@ public static string GetUploadFileUrl(RedmineManager redmineManager) public static string GetCurrentUserUrl(RedmineManager redmineManager) { return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, - RedmineManager.Sufixes[typeof(User)], CURRENT_USER_URI, + RedmineManager.Suffixes[typeof(User)], CURRENT_USER_URI, redmineManager.Format); } @@ -339,7 +338,7 @@ public static string GetDeleteWikirUrl(RedmineManager redmineManager, string pro public static string GetAddWatcherUrl(RedmineManager redmineManager, int issueId) { return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, - RedmineManager.Sufixes[typeof(Issue)], $"{issueId.ToString(CultureInfo.InvariantCulture)}/watchers", + RedmineManager.Suffixes[typeof(Issue)], $"{issueId.ToString(CultureInfo.InvariantCulture)}/watchers", redmineManager.Format); } @@ -353,7 +352,7 @@ public static string GetAddWatcherUrl(RedmineManager redmineManager, int issueId public static string GetRemoveWatcherUrl(RedmineManager redmineManager, int issueId, int userId) { return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, - RedmineManager.Sufixes[typeof(Issue)], $"{issueId.ToString(CultureInfo.InvariantCulture)}/watchers/{userId.ToString(CultureInfo.InvariantCulture)}", + RedmineManager.Suffixes[typeof(Issue)], $"{issueId.ToString(CultureInfo.InvariantCulture)}/watchers/{userId.ToString(CultureInfo.InvariantCulture)}", redmineManager.Format); } diff --git a/src/redmine-net-api/Internals/WebApiHelper.cs b/src/redmine-net-api/Internals/WebApiHelper.cs index ed5e27c3..fcb0284c 100644 --- a/src/redmine-net-api/Internals/WebApiHelper.cs +++ b/src/redmine-net-api/Internals/WebApiHelper.cs @@ -28,15 +28,15 @@ namespace Redmine.Net.Api.Internals /// internal static class WebApiHelper { - /// - /// Executes the upload. - /// - /// The redmine manager. - /// The address. - /// Type of the action. - /// The data. - /// The parameters - public static void ExecuteUpload(RedmineManager redmineManager, string address, string actionType, string data, + /// + /// Executes the upload. + /// + /// The redmine manager. + /// The address. + /// Type of the action. + /// The data. + /// The parameters + public static void ExecuteUpload(RedmineManager redmineManager, string address, string actionType, string data, NameValueCollection parameters = null) { using (var wc = redmineManager.CreateWebClient(parameters)) @@ -95,7 +95,7 @@ public static T ExecuteUpload(RedmineManager redmineManager, string address, /// The address. /// The parameters. /// - public static T ExecuteDownload(RedmineManager redmineManager, string address, + public static T ExecuteDownload(RedmineManager redmineManager, string address, NameValueCollection parameters = null) where T : class, new() { @@ -124,7 +124,6 @@ public static T ExecuteDownload(RedmineManager redmineManager, string address /// The parameters. /// public static PagedResults ExecuteDownloadList(RedmineManager redmineManager, string address, - NameValueCollection parameters = null) where T : class, new() { using (var wc = redmineManager.CreateWebClient(parameters)) diff --git a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs index 8a3a63d7..ec7d29ec 100644 --- a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs +++ b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs @@ -9,7 +9,7 @@ namespace Redmine.Net.Api.Internals public static class XmlTextReaderBuilder { #if NET20 - private static readonly XmlReaderSettings xmlReaderSettings = new XmlReaderSettings() + private static readonly XmlReaderSettings XmlReaderSettings = new XmlReaderSettings() { ProhibitDtd = true, XmlResolver = null, @@ -24,7 +24,7 @@ public static class XmlTextReaderBuilder /// public static XmlReader Create(StringReader stringReader) { - return XmlReader.Create(stringReader, xmlReaderSettings); + return XmlReader.Create(stringReader, XmlReaderSettings); } @@ -37,7 +37,7 @@ public static XmlReader Create(string xml) { var stringReader = new StringReader(xml); { - return XmlReader.Create(stringReader, xmlReaderSettings); + return XmlReader.Create(stringReader, XmlReaderSettings); } } #else diff --git a/src/redmine-net-api/Serialization/PagedResults.cs b/src/redmine-net-api/Serialization/PagedResults.cs index 46031d83..a6900f7c 100644 --- a/src/redmine-net-api/Serialization/PagedResults.cs +++ b/src/redmine-net-api/Serialization/PagedResults.cs @@ -21,12 +21,14 @@ public PagedResults(IEnumerable items, int total, int offset, int pageSize Offset = offset; PageSize = pageSize; - if (pageSize > 0) + if (pageSize <= 0) { - CurrentPage = offset / pageSize + 1; - - TotalPages = total / pageSize + 1; + return; } + + CurrentPage = offset / pageSize + 1; + + TotalPages = total / pageSize + 1; } /// diff --git a/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs index 41443d80..0bed6bef 100644 --- a/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs @@ -13,7 +13,7 @@ internal sealed class XmlRedmineSerializer : IRedmineSerializer public XmlRedmineSerializer() { - XMLWriterSettings = new XmlWriterSettings + xmlWriterSettings = new XmlWriterSettings { OmitXmlDeclaration = true }; @@ -21,10 +21,10 @@ public XmlRedmineSerializer() public XmlRedmineSerializer(XmlWriterSettings xmlWriterSettings) { - XMLWriterSettings = xmlWriterSettings; + this.xmlWriterSettings = xmlWriterSettings; } - private readonly XmlWriterSettings XMLWriterSettings; + private readonly XmlWriterSettings xmlWriterSettings; public T Deserialize(string response) where T : new() { @@ -99,10 +99,12 @@ public string Serialize(T entity) where T : class xmlReader.Read(); var totalItems = xmlReader.ReadAttributeAsInt(RedmineKeys.TOTAL_COUNT); + if (onlyCount) { return new PagedResults(null, totalItems, 0, 0); } + var offset = xmlReader.ReadAttributeAsInt(RedmineKeys.OFFSET); var limit = xmlReader.ReadAttributeAsInt(RedmineKeys.LIMIT); var result = xmlReader.ReadElementContentAsCollection(); @@ -131,7 +133,7 @@ private string ToXML(T entity) where T : class using (var stringWriter = new StringWriter()) { - using (var xmlWriter = XmlWriter.Create(stringWriter, XMLWriterSettings)) + using (var xmlWriter = XmlWriter.Create(stringWriter, xmlWriterSettings)) { var serializer = new XmlSerializer(typeof(T)); @@ -155,7 +157,7 @@ private string ToXML(T entity) where T : class /// using the System.Exception.InnerException property. /// // ReSharper disable once InconsistentNaming - private TOut XmlDeserializeEntity(string xml) where TOut : new() + private static TOut XmlDeserializeEntity(string xml) where TOut : new() { if (xml.IsNullOrWhiteSpace()) { diff --git a/src/redmine-net-api/Serialization/XmlSerializerCache.cs b/src/redmine-net-api/Serialization/XmlSerializerCache.cs index 32935bd8..cadbd6a9 100644 --- a/src/redmine-net-api/Serialization/XmlSerializerCache.cs +++ b/src/redmine-net-api/Serialization/XmlSerializerCache.cs @@ -11,21 +11,21 @@ namespace Redmine.Net.Api.Serialization internal class XmlSerializerCache : IXmlSerializerCache { #if !(NET20 || NET40 || NET45 || NET451 || NET452) - private static readonly Type[] emptyTypes = Array.Empty(); + private static readonly Type[] EmptyTypes = Array.Empty(); #else - private static readonly Type[] emptyTypes = new Type[0]; + private static readonly Type[] EmptyTypes = new Type[0]; #endif public static XmlSerializerCache Instance { get; } = new XmlSerializerCache(); - private readonly Dictionary _serializers; + private readonly Dictionary serializers; - private readonly object _syncRoot; + private readonly object syncRoot; private XmlSerializerCache() { - _syncRoot = new object(); - _serializers = new Dictionary(); + syncRoot = new object(); + serializers = new Dictionary(); } /// @@ -40,7 +40,7 @@ private XmlSerializerCache() /// public XmlSerializer GetSerializer(Type type, string defaultNamespace) { - return GetSerializer(type, null, emptyTypes, null, defaultNamespace); + return GetSerializer(type, null, EmptyTypes, null, defaultNamespace); } /// @@ -55,7 +55,7 @@ public XmlSerializer GetSerializer(Type type, string defaultNamespace) /// public XmlSerializer GetSerializer(Type type, XmlRootAttribute root) { - return GetSerializer(type, null, emptyTypes, root, null); + return GetSerializer(type, null, EmptyTypes, root, null); } /// @@ -70,7 +70,7 @@ public XmlSerializer GetSerializer(Type type, XmlRootAttribute root) /// public XmlSerializer GetSerializer(Type type, XmlAttributeOverrides overrides) { - return GetSerializer(type, overrides, emptyTypes, null, null); + return GetSerializer(type, overrides, EmptyTypes, null, null); } /// @@ -106,22 +106,22 @@ public XmlSerializer GetSerializer(Type type, XmlAttributeOverrides overrides, T var key = CacheKeyFactory.Create(type, overrides, types, root, defaultNamespace); XmlSerializer serializer = null; - lock (_syncRoot) + lock (syncRoot) { - if (_serializers.ContainsKey(key) == false) + if (serializers.ContainsKey(key) == false) { - lock (_syncRoot) + lock (syncRoot) { - if (_serializers.ContainsKey(key) == false) + if (serializers.ContainsKey(key) == false) { serializer = new XmlSerializer(type, overrides, types, root, defaultNamespace); - _serializers.Add(key, serializer); + serializers.Add(key, serializer); } } } else { - serializer = _serializers[key]; + serializer = serializers[key]; } Debug.Assert(serializer != null); diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index 48705cb9..0c7b0afd 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -37,7 +37,7 @@ public sealed class CustomField : IdentifiableName, IEquatable /// /// /// - new public string Name { get; set; } + public new string Name { get; set; } /// /// /// diff --git a/src/redmine-net-api/Types/CustomFieldRole.cs b/src/redmine-net-api/Types/CustomFieldRole.cs index 73a4bce8..261eba5a 100644 --- a/src/redmine-net-api/Types/CustomFieldRole.cs +++ b/src/redmine-net-api/Types/CustomFieldRole.cs @@ -41,7 +41,7 @@ internal CustomFieldRole(int id, string name) /// /// /// - new public string Name { get; set; } + public new string Name { get; set; } /// /// diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 18926c40..37cb6655 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -51,7 +51,7 @@ public Group(string name) /// /// /// - new public string Name { get; set; } + public new string Name { get; set; } /// /// Represents the group's users. /// diff --git a/src/redmine-net-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs index 341122cf..4d2dcffe 100644 --- a/src/redmine-net-api/Types/GroupUser.cs +++ b/src/redmine-net-api/Types/GroupUser.cs @@ -30,7 +30,7 @@ public sealed class GroupUser : IdentifiableName, IValue /// /// /// - new public string Name { get; set; } + public new string Name { get; set; } #region Implementation of IValue /// diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 71f66478..f30f8713 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -37,7 +37,7 @@ public sealed class IssueCustomField : IdentifiableName, IEquatable /// /// - new public string Name { get; set; } + public new string Name { get; set; } /// /// Gets or sets the value. /// diff --git a/src/redmine-net-api/Types/IssueRelationType.cs b/src/redmine-net-api/Types/IssueRelationType.cs index 8355bcee..1d80d177 100644 --- a/src/redmine-net-api/Types/IssueRelationType.cs +++ b/src/redmine-net-api/Types/IssueRelationType.cs @@ -52,10 +52,10 @@ public enum IssueRelationType /// /// /// - copied_to, + CopiedTo, /// /// /// - copied_from + CopiedFrom } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index b0bcf23f..c6ade8e9 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -39,7 +39,7 @@ public sealed class Project : IdentifiableName, IEquatable /// /// /// - new public string Name { get; set; } + public new string Name { get; set; } /// /// Gets or sets the identifier. diff --git a/src/redmine-net-api/Types/ProjectEnabledModule.cs b/src/redmine-net-api/Types/ProjectEnabledModule.cs index ce9b6ff0..d2a57d89 100644 --- a/src/redmine-net-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net-api/Types/ProjectEnabledModule.cs @@ -53,7 +53,7 @@ public ProjectEnabledModule(string moduleName) /// /// /// - new public string Name { get; set; } + public new string Name { get; set; } #region Implementation of IValue /// diff --git a/src/redmine-net-api/Types/ProjectIssueCategory.cs b/src/redmine-net-api/Types/ProjectIssueCategory.cs index 30455354..5af0986d 100644 --- a/src/redmine-net-api/Types/ProjectIssueCategory.cs +++ b/src/redmine-net-api/Types/ProjectIssueCategory.cs @@ -40,7 +40,7 @@ internal ProjectIssueCategory(int id, string name) /// /// /// - new public string Name { get; set; } + public new string Name { get; set; } /// /// diff --git a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs index fbdcac35..9633f284 100644 --- a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs +++ b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs @@ -24,7 +24,7 @@ internal ProjectTimeEntryActivity(int id, string name) /// /// /// - new public string Name { get; set; } + public new string Name { get; set; } /// /// diff --git a/src/redmine-net-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs index 5c06cab9..b42c5468 100644 --- a/src/redmine-net-api/Types/ProjectTracker.cs +++ b/src/redmine-net-api/Types/ProjectTracker.cs @@ -55,7 +55,7 @@ internal ProjectTracker(int trackerId) /// /// /// - new public string Name { get; set; } + public new string Name { get; set; } #region Implementation of IValue diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index bb07bc55..3e6b905c 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -36,7 +36,7 @@ public sealed class Role : IdentifiableName, IEquatable /// /// /// - new public string Name { get; set; } + public new string Name { get; set; } /// /// Gets the permissions. /// diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index ab000304..9fade0c3 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -48,7 +48,7 @@ internal TimeEntryActivity(int id, string name) /// /// /// - new public string Name { get; set; } + public new string Name { get; set; } /// /// diff --git a/src/redmine-net-api/Types/UserGroup.cs b/src/redmine-net-api/Types/UserGroup.cs index 72942128..1de94606 100644 --- a/src/redmine-net-api/Types/UserGroup.cs +++ b/src/redmine-net-api/Types/UserGroup.cs @@ -29,7 +29,7 @@ public sealed class UserGroup : IdentifiableName /// /// /// - new public string Name { get; set; } + public new string Name { get; set; } /// /// diff --git a/src/redmine-net-api/Types/UserStatus.cs b/src/redmine-net-api/Types/UserStatus.cs index 0581e354..992d13b2 100644 --- a/src/redmine-net-api/Types/UserStatus.cs +++ b/src/redmine-net-api/Types/UserStatus.cs @@ -24,18 +24,18 @@ public enum UserStatus /// /// /// - STATUS_ANONYMOUS = 0, + StatusAnonymous = 0, /// /// /// - STATUS_ACTIVE = 1, + StatusActive = 1, /// /// /// - STATUS_REGISTERED = 2, + StatusRegistered = 2, /// /// /// - STATUS_LOCKED = 3 + StatusLocked = 3 } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index 4f64a590..0980205c 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -31,7 +31,7 @@ public sealed class Watcher : IdentifiableName, IValue, ICloneable /// /// /// - new public string Name { get; set; } + public new string Name { get; set; } #region Implementation of IValue From 1610a4bada78970549281096dc8cad0860fd092e Mon Sep 17 00:00:00 2001 From: Zapadi Date: Fri, 17 Apr 2020 20:42:01 +0300 Subject: [PATCH 176/601] Fix typo --- src/redmine-net-api/Async/RedmineManagerAsync45.cs | 2 +- src/redmine-net-api/Internals/UrlHelper.cs | 6 +++--- src/redmine-net-api/RedmineManager.cs | 6 ++++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index 4ae7dc62..aab48dfb 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -77,7 +77,7 @@ public static async Task CreateOrUpdateWikiPageAsync(this RedmineManag public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName) { - var uri = UrlHelper.GetDeleteWikirUrl(redmineManager, projectId, pageName); + var uri = UrlHelper.GetDeleteWikiUrl(redmineManager, projectId, pageName); uri = Uri.EscapeUriString(uri); await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty).ConfigureAwait(false); } diff --git a/src/redmine-net-api/Internals/UrlHelper.cs b/src/redmine-net-api/Internals/UrlHelper.cs index 7f3bc7cd..7a33d45e 100644 --- a/src/redmine-net-api/Internals/UrlHelper.cs +++ b/src/redmine-net-api/Internals/UrlHelper.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -317,13 +317,13 @@ public static string GetWikiCreateOrUpdaterUrl(RedmineManager redmineManager, st } /// - /// Gets the delete wikir URL. + /// Gets the delete wiki URL. /// /// The redmine manager. /// The project identifier. /// Name of the page. /// - public static string GetDeleteWikirUrl(RedmineManager redmineManager, string projectId, string pageName) + public static string GetDeleteWikiUrl(RedmineManager redmineManager, string projectId, string pageName) { return string.Format(CultureInfo.InvariantCulture,WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, redmineManager.Format); diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 5c4ffbe8..341470a1 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -395,8 +395,10 @@ public List GetAllWikiPages(string projectId) /// The wiki page name. public void DeleteWikiPage(string projectId, string pageName) { - var url = UrlHelper.GetDeleteWikirUrl(this, projectId, pageName); + var url = UrlHelper.GetDeleteWikiUrl(this, projectId, pageName); + url = Uri.EscapeUriString(url); + WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty); } From 25df4295a0591805bc4abe7d9ceac7ca8ba9eb43 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Fri, 17 Apr 2020 20:42:24 +0300 Subject: [PATCH 177/601] Add RemoveTrailingSlash extension --- src/redmine-net-api/Extensions/StringExtensions.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index 64b4fe14..2ba360ed 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -91,5 +91,18 @@ internal static SecureString ToSecureString(this string value) return rv; } } + + internal static string RemoveTrailingSlash(this string s) + { + if (string.IsNullOrEmpty(s)) + return s; + + if (s.EndsWith("/", StringComparison.OrdinalIgnoreCase) || s.EndsWith("\"", StringComparison.OrdinalIgnoreCase)) + { + return s.Substring(0, s.Length - 1); + } + + return s; + } } } \ No newline at end of file From b99221b22b0336c7cc42bcc26e33aadd8e004c7d Mon Sep 17 00:00:00 2001 From: Zapadi Date: Fri, 17 Apr 2020 20:45:16 +0300 Subject: [PATCH 178/601] Remove DeleteObject(id) --- src/redmine-net-api/IRedmineManager.cs | 6 ------ src/redmine-net-api/RedmineManager.cs | 12 ------------ 2 files changed, 18 deletions(-) diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index e265eb02..5dcc2d04 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -228,12 +228,6 @@ public interface IRedmineManager /// void UpdateObject(string id, T entity, string projectId) where T : class, new(); - /// - /// - /// - /// - /// - void DeleteObject(string id) where T : class, new(); /// /// /// diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 341470a1..d09380b9 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -697,18 +697,6 @@ public void DeleteWikiPage(string projectId, string pageName) WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, data); } - /// - /// Deletes the Redmine object. - /// - /// The type of objects to delete. - /// The id of the object to delete - /// - /// - public void DeleteObject(string id) where T : class, new() - { - DeleteObject(id, null); - } - /// /// Deletes the Redmine object. /// From 3ab768dcdd25dfddcb6e3942537f62b406e54f11 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Fri, 17 Apr 2020 20:46:45 +0300 Subject: [PATCH 179/601] Remove configuration properties (Debug, Release) --- src/redmine-net-api/redmine-net-api.csproj | 24 +--------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 5ebff589..78f8e176 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -1,4 +1,4 @@ - + @@ -190,28 +190,6 @@ - - - full - true - - - - full - true - - - - ..\bin\Release\ - pdbonly - true - - - - ..\bin\Release\ - pdbonly - true - From 38614e1be99796395d7bdd0fed6f90d92ef6d14e Mon Sep 17 00:00:00 2001 From: Zapadi Date: Fri, 17 Apr 2020 20:48:49 +0300 Subject: [PATCH 180/601] Add static method to create IdentifiableName with id --- src/redmine-net-api/Types/File.cs | 4 ++-- src/redmine-net-api/Types/IdentifiableName.cs | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index cc837c80..5391565b 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -123,7 +123,7 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.FILE_SIZE: FileSize = reader.ReadElementContentAsInt(); break; case RedmineKeys.TOKEN: Token = reader.ReadElementContentAsString(); break; case RedmineKeys.VERSION: Version = new IdentifiableName(reader); break; - case RedmineKeys.VERSION_ID: Version = new IdentifiableName() { Id = reader.ReadElementContentAsInt() }; break; + case RedmineKeys.VERSION_ID: Version = IdentifiableName.Create(reader.ReadElementContentAsInt()); break; default: reader.Read(); break; } } @@ -175,7 +175,7 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.FILE_SIZE: FileSize = reader.ReadAsInt32().GetValueOrDefault(); break; case RedmineKeys.TOKEN: Token = reader.ReadAsString(); break; case RedmineKeys.VERSION: Version = new IdentifiableName(reader); break; - case RedmineKeys.VERSION_ID: Version = new IdentifiableName() { Id = reader.ReadAsInt32().GetValueOrDefault() }; break; + case RedmineKeys.VERSION_ID: Version = IdentifiableName.Create(reader.ReadAsInt32().GetValueOrDefault()); break; default: reader.Read(); break; } } diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index a9c4da21..271cefef 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -30,6 +30,16 @@ namespace Redmine.Net.Api.Types [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] public class IdentifiableName : Identifiable { + /// + /// + /// + /// + /// + public static IdentifiableName Create(int id) + { + return new IdentifiableName {Id = id}; + } + /// /// Initializes a new instance of the class. /// From 95ccb5596c0a3b20bb93ef5204ad2e01133ebd0c Mon Sep 17 00:00:00 2001 From: Zapadi Date: Fri, 17 Apr 2020 20:49:53 +0300 Subject: [PATCH 181/601] Tmp fix #258 --- src/redmine-net-api/Types/Issue.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 8273f57f..858eece9 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -577,6 +577,16 @@ public object Clone() } #endregion + /// + /// + /// + /// + public IdentifiableName AsParent() + { + return IdentifiableName.Create(Id); + } + + /// /// /// From 1fab9b9810e8a70299d5f19124ecbc796c2ba85c Mon Sep 17 00:00:00 2001 From: Zapadi Date: Fri, 17 Apr 2020 20:50:44 +0300 Subject: [PATCH 182/601] Remove internal --- src/redmine-net-api/Types/Group.cs | 4 ++-- src/redmine-net-api/Types/Identifiable.cs | 2 +- src/redmine-net-api/Types/User.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 37cb6655..82d2b366 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -55,7 +55,7 @@ public Group(string name) /// /// Represents the group's users. /// - public IList Users { get; internal set; } + public IList Users { get; set; } /// /// Gets or sets the custom fields. diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs index fc29ac9c..5fc2ec10 100644 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -38,7 +38,7 @@ public abstract class Identifiable : IXmlSerializable, IJsonSerializable, IEq /// Gets the id. /// /// The id. - public int Id { get; protected internal set; } + public int Id { get; protected set; } #endregion #region Implementation of IXmlSerialization diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index d815ced8..eeec1cec 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -39,7 +39,7 @@ public sealed class User : Identifiable /// Gets or sets the user login. /// /// The login. - public string Login { get; internal set; } + public string Login { get; set; } /// /// Gets or sets the user password. From bc1b2733204ffb166c736a9d0d13b54a5d482824 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Fri, 17 Apr 2020 20:52:23 +0300 Subject: [PATCH 183/601] Override GetWebResponse. Add support for redirect & cookies --- src/redmine-net-api/RedmineWebClient.cs | 203 +++++++++++++++++++++--- 1 file changed, 177 insertions(+), 26 deletions(-) diff --git a/src/redmine-net-api/RedmineWebClient.cs b/src/redmine-net-api/RedmineWebClient.cs index c3e7b7f3..391cf841 100644 --- a/src/redmine-net-api/RedmineWebClient.cs +++ b/src/redmine-net-api/RedmineWebClient.cs @@ -16,7 +16,8 @@ limitations under the License. using System; using System.Net; -using Redmine.Net.Api.Types; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api { @@ -25,8 +26,8 @@ namespace Redmine.Net.Api /// public class RedmineWebClient : WebClient { - private const string UA = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0"; - + private const string UA = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1"; + private string redirectUrl = string.Empty; /// /// /// @@ -57,7 +58,7 @@ public RedmineWebClient() public bool UseCookies { get; set; } /// - /// in miliseconds + /// in milliseconds /// /// /// The timeout. @@ -88,6 +89,21 @@ public RedmineWebClient() /// public bool KeepAlive { get; set; } + /// + /// + /// + public string Scheme { get; set; } = "https"; + + /// + /// + /// + public RedirectType Redirect { get; set; } + + /// + /// + /// + internal IRedmineSerializer RedmineSerializer { get; set; } + /// /// Returns a object for the specified resource. /// @@ -98,40 +114,175 @@ public RedmineWebClient() protected override WebRequest GetWebRequest(Uri address) { var wr = base.GetWebRequest(address); - var httpWebRequest = wr as HttpWebRequest; - if (httpWebRequest != null) + if (!(wr is HttpWebRequest httpWebRequest)) + { + return base.GetWebRequest(address); + } + + if (UseCookies) + { + httpWebRequest.Headers.Add(HttpRequestHeader.Cookie, "redmineCookie"); + httpWebRequest.CookieContainer = CookieContainer; + } + + httpWebRequest.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate | + DecompressionMethods.None; + httpWebRequest.PreAuthenticate = PreAuthenticate; + httpWebRequest.KeepAlive = KeepAlive; + httpWebRequest.UseDefaultCredentials = UseDefaultCredentials; + httpWebRequest.Credentials = Credentials; + httpWebRequest.UserAgent = UA; + httpWebRequest.CachePolicy = CachePolicy; + + if (UseProxy) { - if (UseCookies) + if (Proxy != null) { - httpWebRequest.Headers.Add(HttpRequestHeader.Cookie, "redmineCookie"); - httpWebRequest.CookieContainer = CookieContainer; + Proxy.Credentials = Credentials; + httpWebRequest.Proxy = Proxy; } - httpWebRequest.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate | - DecompressionMethods.None; - httpWebRequest.PreAuthenticate = PreAuthenticate; - httpWebRequest.KeepAlive = KeepAlive; - httpWebRequest.UseDefaultCredentials = UseDefaultCredentials; - httpWebRequest.Credentials = Credentials; - httpWebRequest.UserAgent = UA; - httpWebRequest.CachePolicy = CachePolicy; - - if (UseProxy) + } + + if (Timeout != null) + { + httpWebRequest.Timeout = Timeout.Value.Milliseconds; + } + + return httpWebRequest; + + } + + /// + /// + /// + /// + /// + protected override WebResponse GetWebResponse(WebRequest request) + { + WebResponse response = null; + + try + { + response = base.GetWebResponse(request); + } + catch (WebException webException) + { + webException.HandleWebException(RedmineSerializer); + } + + if (response == null) + { + return null; + } + + if (response is HttpWebResponse) + { + HandleRedirect(request, response); + HandleCookies(request, response); + } + + return response; + } + + /// + /// Handles redirect response if needed + /// + /// Request + /// Response + protected void HandleRedirect(WebRequest request, WebResponse response) + { + var webResponse = response as HttpWebResponse; + + if (Redirect == RedirectType.None) + { + return; + } + + if (webResponse == null) + { + return; + } + + var code = webResponse.StatusCode; + + if (code == HttpStatusCode.Found || code == HttpStatusCode.SeeOther || code == HttpStatusCode.MovedPermanently || code == HttpStatusCode.Moved) + { + redirectUrl = webResponse.Headers["Location"]; + + var isAbsoluteUri = new Uri(redirectUrl).IsAbsoluteUri; + + if (!isAbsoluteUri) { - if (Proxy != null) + var webRequest = request as HttpWebRequest; + var host = webRequest?.Headers["Host"] ?? string.Empty; + + if (Redirect == RedirectType.All) { - Proxy.Credentials = Credentials; + host = $"{host}{webRequest?.RequestUri.AbsolutePath}"; + + host = host.Substring(0, host.LastIndexOf('/')); } - httpWebRequest.Proxy = Proxy; + + // Have to make sure that the "/" symbol is between the "host" and "redirect" strings + if (!redirectUrl.StartsWith("/", StringComparison.OrdinalIgnoreCase) && !host.EndsWith("/", StringComparison.OrdinalIgnoreCase)) + { + redirectUrl = $"/{redirectUrl}"; + } + + redirectUrl = $"{host}{redirectUrl}"; } - if (Timeout != null) - httpWebRequest.Timeout = Timeout.Value.Milliseconds; + if (!redirectUrl.StartsWith(Scheme, StringComparison.OrdinalIgnoreCase)) + { + redirectUrl = $"{Scheme}://{redirectUrl}"; + } + } + else + { + redirectUrl = string.Empty; + } + } + + + + /// + /// Handles additional cookies + /// + /// Request + /// Response + protected void HandleCookies(WebRequest request, WebResponse response) + { + if (!(response is HttpWebResponse webResponse)) return; + + var webRequest = request as HttpWebRequest; + var col = new CookieCollection(); - return httpWebRequest; + foreach (Cookie c in webResponse.Cookies) + { + col.Add(new Cookie(c.Name, c.Value, c.Path, webRequest?.Headers["Host"])); } - return base.GetWebRequest(address); + CookieContainer.Add(col); } } + + /// + /// + /// + public enum RedirectType + { + /// + /// + /// + None, + /// + /// + /// + OnlyHost, + /// + /// + /// + All + }; } \ No newline at end of file From 8f000f855f13dca394acd7de075bda4e9ebd6de5 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Fri, 17 Apr 2020 20:52:42 +0300 Subject: [PATCH 184/601] Cleanup, consistency & fixes --- src/redmine-net-api/RedmineManager.cs | 180 +++++++++++++++----------- 1 file changed, 103 insertions(+), 77 deletions(-) diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index d09380b9..34ea7984 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,7 +23,6 @@ limitations under the License. using System.Security.Cryptography.X509Certificates; using System.Text; using System.Text.RegularExpressions; -using System.Web; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; @@ -43,7 +42,7 @@ public class RedmineManager : IRedmineManager /// public const int DEFAULT_PAGE_SIZE_VALUE = 25; - private static readonly Dictionary routes = new Dictionary + private static readonly Dictionary Routes = new Dictionary { {typeof(Issue), "issues"}, {typeof(Project), "projects"}, @@ -65,10 +64,9 @@ public class RedmineManager : IRedmineManager {typeof(Watcher), "watchers"}, {typeof(IssueCustomField), "custom_fields"}, {typeof(CustomField), "custom_fields"} - // {typeof(WikiPage), ""} }; - - private static readonly Dictionary typesWithOffset = new Dictionary{ + + private static readonly Dictionary TypesWithOffset = new Dictionary{ {typeof(Issue), true}, {typeof(Project), true}, {typeof(User), true}, @@ -81,7 +79,9 @@ public class RedmineManager : IRedmineManager private readonly string basicAuthorization; private readonly CredentialCache cache; private string host; + internal IRedmineSerializer Serializer { get; } + /// /// Initializes a new instance of the class. /// @@ -90,24 +90,23 @@ public class RedmineManager : IRedmineManager /// if set to true [verify server cert]. /// The proxy. /// Use this parameter to specify a SecurityProtcolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. + /// http or https. Default is https /// /// Host is not defined! /// or /// The host is not valid! /// public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool verifyServerCert = true, - IWebProxy proxy = null, SecurityProtocolType securityProtocolType = default(SecurityProtocolType)) + IWebProxy proxy = null, SecurityProtocolType securityProtocolType = default, string scheme = "https") { if (string.IsNullOrEmpty(host)) throw new RedmineException("Host is not defined!"); - PageSize = 25; - - if (default(SecurityProtocolType) == securityProtocolType) - { - securityProtocolType = ServicePointManager.SecurityProtocol; - } + PageSize = 25; + Scheme = scheme; Host = host; MimeFormat = mimeFormat; + Proxy = proxy; + if (mimeFormat == MimeFormat.Xml) { Format = "xml"; @@ -119,10 +118,15 @@ public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool Serializer = new JsonRedmineSerializer(); } - Proxy = proxy; + if (default == securityProtocolType) + { + securityProtocolType = ServicePointManager.SecurityProtocol; + } + SecurityProtocolType = securityProtocolType; ServicePointManager.SecurityProtocol = securityProtocolType; + if (!verifyServerCert) { ServicePointManager.ServerCertificateValidationCallback += RemoteCertValidate; @@ -151,7 +155,7 @@ public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool /// Use this parameter to specify a SecurityProtcolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. public RedmineManager(string host, string apiKey, MimeFormat mimeFormat = MimeFormat.Xml, bool verifyServerCert = true, IWebProxy proxy = null, - SecurityProtocolType securityProtocolType = default(SecurityProtocolType)) + SecurityProtocolType securityProtocolType = default) : this(host, mimeFormat, verifyServerCert, proxy, securityProtocolType) { ApiKey = apiKey; @@ -180,30 +184,33 @@ public RedmineManager(string host, string apiKey, MimeFormat mimeFormat = MimeFo /// Use this parameter to specify a SecurityProtcolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. public RedmineManager(string host, string login, string password, MimeFormat mimeFormat = MimeFormat.Xml, bool verifyServerCert = true, IWebProxy proxy = null, - SecurityProtocolType securityProtocolType = default(SecurityProtocolType)) + SecurityProtocolType securityProtocolType = default) : this(host, mimeFormat, verifyServerCert, proxy, securityProtocolType) { cache = new CredentialCache { { new Uri(host), "Basic", new NetworkCredential(login, password) } }; - var token = Convert.ToBase64String(Encoding.UTF8.GetBytes(string.Format(CultureInfo.InvariantCulture,"{0}:{1}", login, password))); - basicAuthorization = string.Format(CultureInfo.InvariantCulture,"Basic {0}", token); - - + var token = Convert.ToBase64String(Encoding.UTF8.GetBytes(string.Format(CultureInfo.InvariantCulture, "{0}:{1}", login, password))); + basicAuthorization = string.Format(CultureInfo.InvariantCulture, "Basic {0}", token); } /// - /// Gets the sufixes. + /// Gets the suffixes. /// /// - /// The sufixes. + /// The suffixes. /// - public static Dictionary Sufixes => routes; + public static Dictionary Suffixes => Routes; /// /// /// public string Format { get; } - + + /// + /// + /// + public string Scheme { get; private set; } + /// /// Gets the host. /// @@ -217,14 +224,17 @@ private set { host = value; - if (!Uri.TryCreate(host, UriKind.Absolute, out Uri uriResult) || - !(uriResult.Scheme == Uri.UriSchemeHttp || uriResult.Scheme == Uri.UriSchemeHttps)) + if (Uri.TryCreate(host, UriKind.Absolute, out Uri uriResult) && + (uriResult.Scheme == Uri.UriSchemeHttp || uriResult.Scheme == Uri.UriSchemeHttps)) { - host = $"http://{host}/"; + return; } - if (!Uri.TryCreate(host, UriKind.Absolute, out uriResult)) - throw new RedmineException("The host is not valid!"); + host = $"{Scheme ?? "https"}://{host}"; + + if (!Uri.TryCreate(host, UriKind.Absolute, out uriResult)) throw new RedmineException("The host is not valid!"); + + Scheme = uriResult.Scheme; } } @@ -234,7 +244,7 @@ private set /// /// The API key. /// - public string ApiKey { get; private set; } + public string ApiKey { get; } /// /// Maximum page-size when retrieving complete object lists @@ -264,7 +274,7 @@ private set /// /// The MIME format. /// - public MimeFormat MimeFormat { get; private set; } + public MimeFormat MimeFormat { get; } /// /// Gets the proxy. @@ -272,7 +282,7 @@ private set /// /// The proxy. /// - public IWebProxy Proxy { get; private set; } + public IWebProxy Proxy { get; } /// /// Gets the type of the security protocol. @@ -280,7 +290,7 @@ private set /// /// The type of the security protocol. /// - public SecurityProtocolType SecurityProtocolType { get; private set; } + public SecurityProtocolType SecurityProtocolType { get; } /// /// Returns the user whose credentials are used to access the API. @@ -294,7 +304,7 @@ private set public User GetCurrentUser(NameValueCollection parameters = null) { var url = UrlHelper.GetCurrentUserUrl(this); - return WebApiHelper.ExecuteDownload(this, url, parameters); + return WebApiHelper.ExecuteDownload(this, url, parameters); } /// @@ -351,12 +361,16 @@ public void RemoveUserFromGroup(int groupId, int userId) public WikiPage CreateOrUpdateWikiPage(string projectId, string pageName, WikiPage wikiPage) { var result = Serializer.Serialize(wikiPage); - if (string.IsNullOrEmpty(result)) return null; + + if (string.IsNullOrEmpty(result)) + { + return null; + } var url = UrlHelper.GetWikiCreateOrUpdaterUrl(this, projectId, pageName); - + url = Uri.EscapeUriString(url); - + return WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, result); } @@ -370,9 +384,11 @@ public WikiPage CreateOrUpdateWikiPage(string projectId, string pageName, WikiPa /// public WikiPage GetWikiPage(string projectId, NameValueCollection parameters, string pageName, uint version = 0) { - var url = UrlHelper.GetWikiPageUrl(this, projectId, pageName, version); + var url = UrlHelper.GetWikiPageUrl(this, projectId, pageName, version); + url = Uri.EscapeUriString(url); - return WebApiHelper.ExecuteDownload(this, url, parameters); + + return WebApiHelper.ExecuteDownload(this, url, parameters); } /// @@ -383,8 +399,10 @@ public WikiPage GetWikiPage(string projectId, NameValueCollection parameters, st public List GetAllWikiPages(string projectId) { var url = UrlHelper.GetWikisUrl(this, projectId); + var result = WebApiHelper.ExecuteDownloadList(this, url); - return result == null ? null :new List(result.Items); + + return result == null ? null : new List(result.Items); } /// @@ -423,6 +441,7 @@ public void DeleteWikiPage(string projectId, string pageName) try { var tempResult = GetPaginatedObjects(parameters); + if (tempResult != null) { totalCount = tempResult.TotalItems; @@ -484,7 +503,7 @@ public void DeleteWikiPage(string projectId, string pageName) { var parameters = new NameValueCollection(); - if (include != null) + if (include != null && include.Length > 0) { parameters.Add(RedmineKeys.INCLUDE, string.Join(",", include)); } @@ -510,9 +529,11 @@ public void DeleteWikiPage(string projectId, string pageName) public List GetObjects(int limit, int offset, params string[] include) where T : class, new() { var parameters = new NameValueCollection(); + parameters.Add(RedmineKeys.LIMIT, limit.ToString(CultureInfo.InvariantCulture)); parameters.Add(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); - if (include != null) + + if (include != null && include.Length > 0) { parameters.Add(RedmineKeys.INCLUDE, string.Join(",", include)); } @@ -561,7 +582,7 @@ public void DeleteWikiPage(string projectId, string pageName) isLimitSet = int.TryParse(parameters[RedmineKeys.LIMIT], out pageSize); int.TryParse(parameters[RedmineKeys.OFFSET], out offset); } - if (pageSize == default(int)) + if (pageSize == default) { pageSize = PageSize > 0 ? PageSize : DEFAULT_PAGE_SIZE_VALUE; parameters.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); @@ -569,29 +590,33 @@ public void DeleteWikiPage(string projectId, string pageName) try { - var hasOffset = typesWithOffset.ContainsKey(typeof(T)); - if(hasOffset) + var hasOffset = TypesWithOffset.ContainsKey(typeof(T)); + if (hasOffset) { - do - { - parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); - - var tempResult = GetPaginatedObjects(parameters); - - if (tempResult?.Items != null) - { - if (resultList == null) - { - resultList = new List(tempResult.Items); - totalCount = isLimitSet ? pageSize : tempResult.TotalItems; - } - else - { - resultList.AddRange(tempResult.Items); - } - } - offset += pageSize; - } while (offset < totalCount); + do + { + parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); + + var tempResult = GetPaginatedObjects(parameters); + + totalCount = isLimitSet ? pageSize : tempResult.TotalItems; + + if (tempResult?.Items != null) + { + if (resultList == null) + { + resultList = new List(tempResult.Items); + + } + else + { + resultList.AddRange(tempResult.Items); + } + } + + offset += pageSize; + + } while (offset < totalCount); } else { @@ -599,12 +624,12 @@ public void DeleteWikiPage(string projectId, string pageName) if (result?.Items != null) { return new List(result.Items); - } + } } } catch (WebException wex) { - wex.HandleWebException( Serializer); + wex.HandleWebException(Serializer); } return resultList; } @@ -655,7 +680,9 @@ public void DeleteWikiPage(string projectId, string pageName) public T CreateObject(T obj, string ownerId) where T : class, new() { var url = UrlHelper.GetCreateUrl(this, ownerId); + var data = Serializer.Serialize(obj); + return WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, data); } @@ -692,8 +719,11 @@ public void DeleteWikiPage(string projectId, string pageName) public void UpdateObject(string id, T obj, string projectId) where T : class, new() { var url = UrlHelper.GetUploadUrl(this, id); + var data = Serializer.Serialize(obj); + data = Regex.Replace(data, @"\r\n|\r|\n", "\r\n"); + WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, data); } @@ -740,7 +770,9 @@ public Upload UploadFile(byte[] data) public void UpdateAttachment(int issueId, Attachment attachment) { var address = UrlHelper.GetAttachmentUpdateUrl(this, issueId); + var attachments = new Attachments { { attachment.Id, attachment } }; + var data = Serializer.Serialize(attachments); WebApiHelper.ExecuteUpload(this, address, HttpVerbs.PATCH, data); @@ -773,7 +805,8 @@ public byte[] DownloadFile(string address) /// public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, bool uploadFile = false) { - var webClient = new RedmineWebClient { Proxy = Proxy }; + var webClient = new RedmineWebClient { Proxy = Proxy, Scheme = Scheme, RedmineSerializer = Serializer}; + if (!uploadFile) { webClient.Headers.Add(HttpRequestHeader.ContentType, MimeFormat == MimeFormat.Xml @@ -829,14 +862,7 @@ public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, /// public virtual bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors sslPolicyErrors) { - if (sslPolicyErrors == SslPolicyErrors.None) - { - return true; - } - - // Logger.Current.Error("X509Certificate [{0}] Policy Error: '{1}'", cert.Subject, error); - - return false; + return sslPolicyErrors == SslPolicyErrors.None; } } -} +} \ No newline at end of file From cb9b781b1eb62ab6ed5c94284164cf2102aa15ea Mon Sep 17 00:00:00 2001 From: Zapadi Date: Fri, 17 Apr 2020 20:53:47 +0300 Subject: [PATCH 185/601] ... --- redmine-net-api.sln | 41 ++++++++----------- redmine-net-api.sln.DotSettings | 4 ++ src/redmine-net-api/redmine-net-api.csproj | 5 ++- .../redmine-net-api.csproj.DotSettings | 2 + 4 files changed, 27 insertions(+), 25 deletions(-) create mode 100644 redmine-net-api.sln.DotSettings create mode 100644 src/redmine-net-api/redmine-net-api.csproj.DotSettings diff --git a/redmine-net-api.sln b/redmine-net-api.sln index e06a01cf..07ba8903 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -12,40 +12,35 @@ EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "redmine-net-api.Tests", "tests\redmine-net-api.Tests\redmine-net-api.Tests.csproj", "{900EF0B3-0233-45DA-811F-4C59483E8452}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionFolder", "SolutionFolder", "{E8C35EC2-DD90-46E8-9B63-84EFD5F2FDE3}" -ProjectSection(SolutionItems) = preProject - appveyor.yml = appveyor.yml - docker-compose.yml = docker-compose.yml - CONTRIBUTING.md = CONTRIBUTING.md - LICENSE = LICENSE - logo.png = logo.png - README.md = README.md - redmine-net-api.snk = redmine-net-api.snk -EndProjectSection + ProjectSection(SolutionItems) = preProject + appveyor.yml = appveyor.yml + CONTRIBUTING.md = CONTRIBUTING.md + docker-compose.yml = docker-compose.yml + LICENSE = LICENSE + logo.png = logo.png + README.md = README.md + redmine-net-api.snk = redmine-net-api.snk + EndProjectSection EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU - DebugJSON|Any CPU = DebugJSON|Any CPU - DebugXML|Any CPU = DebugXML|Any CPU + DebugJson|Any CPU = DebugJson|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU - {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU - {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU - {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugXML|Any CPU.Build.0 = Debug|Any CPU - {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.Release|Any CPU.Build.0 = Release|Any CPU + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugJson|Any CPU.ActiveCfg = DebugJson|Any CPU + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.DebugJson|Any CPU.Build.0 = DebugJson|Any CPU + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {0E6B9B72-445D-4E71-8D29-48C4A009AB03}.Release|Any CPU.Build.0 = Debug|Any CPU {900EF0B3-0233-45DA-811F-4C59483E8452}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {900EF0B3-0233-45DA-811F-4C59483E8452}.Debug|Any CPU.Build.0 = Debug|Any CPU - {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugJSON|Any CPU.ActiveCfg = Debug|Any CPU - {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugJSON|Any CPU.Build.0 = Debug|Any CPU - {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugXML|Any CPU.ActiveCfg = Debug|Any CPU - {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugXML|Any CPU.Build.0 = Debug|Any CPU - {900EF0B3-0233-45DA-811F-4C59483E8452}.Release|Any CPU.ActiveCfg = Release|Any CPU - {900EF0B3-0233-45DA-811F-4C59483E8452}.Release|Any CPU.Build.0 = Release|Any CPU + {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugJson|Any CPU.ActiveCfg = DebugJson|Any CPU + {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugJson|Any CPU.Build.0 = DebugJson|Any CPU + {900EF0B3-0233-45DA-811F-4C59483E8452}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {900EF0B3-0233-45DA-811F-4C59483E8452}.Release|Any CPU.Build.0 = Debug|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/redmine-net-api.sln.DotSettings b/redmine-net-api.sln.DotSettings new file mode 100644 index 00000000..9134cb35 --- /dev/null +++ b/redmine-net-api.sln.DotSettings @@ -0,0 +1,4 @@ + + True + True + True \ No newline at end of file diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 78f8e176..76c99e9c 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -1,7 +1,8 @@ - + + net48 net20;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48; false Redmine.Net.Api @@ -9,7 +10,7 @@ False true TRACE - Debug;Release + Debug;Release;DebugJson PackageReference NU5105; diff --git a/src/redmine-net-api/redmine-net-api.csproj.DotSettings b/src/redmine-net-api/redmine-net-api.csproj.DotSettings new file mode 100644 index 00000000..b9fd6ee4 --- /dev/null +++ b/src/redmine-net-api/redmine-net-api.csproj.DotSettings @@ -0,0 +1,2 @@ + + CSharp80 \ No newline at end of file From 9ee8e0200ccd061cc500242c79ce2a726432f602 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Fri, 17 Apr 2020 20:55:46 +0300 Subject: [PATCH 186/601] Fix tests --- .../Infrastructure/CaseOrder.cs | 2 +- .../Infrastructure/CollectionOrderer.cs | 2 +- .../Infrastructure/OrderAttribute.cs | 2 +- .../Infrastructure/RedmineCollection.cs | 2 +- .../Tests/Async/AttachmentAsyncTests.cs | 184 +++--- .../Tests/Async/IssueAsyncTests.cs | 6 +- .../Tests/Async/UserAsyncTests.cs | 393 +++++------ .../Tests/Async/WikiPageAsyncTests.cs | 11 +- .../Tests/Sync/AttachmentTests.cs | 8 +- .../Tests/Sync/CustomFieldTests.cs | 4 +- .../Tests/Sync/GroupTests.cs | 98 +-- .../Tests/Sync/IssueCategoryTests.cs | 37 +- .../Tests/Sync/IssuePriorityTests.cs | 2 +- .../Tests/Sync/IssueRelationTests.cs | 4 +- .../Tests/Sync/IssueStatusTests.cs | 2 +- .../Tests/Sync/IssueTests.cs | 613 +++++++++--------- .../Tests/Sync/NewsTests.cs | 4 +- .../Tests/Sync/ProjectMembershipTests.cs | 10 +- .../Tests/Sync/ProjectTests.cs | 201 +++--- .../Tests/Sync/QueryTests.cs | 4 +- .../Tests/Sync/RoleTests.cs | 4 +- .../Tests/Sync/TimeEntryActivtiyTests.cs | 4 +- .../Tests/Sync/TimeEntryTests.cs | 27 +- .../Tests/Sync/TrackerTests.cs | 2 +- .../Tests/Sync/UserTests.cs | 32 +- .../Tests/Sync/VersionTests.cs | 14 +- .../Tests/Sync/WikiPageTests.cs | 57 +- 27 files changed, 874 insertions(+), 855 deletions(-) diff --git a/tests/redmine-net-api.Tests/Infrastructure/CaseOrder.cs b/tests/redmine-net-api.Tests/Infrastructure/CaseOrder.cs index 1f36a704..22096ad4 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/CaseOrder.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/CaseOrder.cs @@ -6,7 +6,7 @@ using Xunit.Abstractions; using Xunit.Sdk; -namespace redmine.net.api.Tests.Infrastructure +namespace Padi.RedmineApi.Tests.Infrastructure { /// /// Custom xUnit test case orderer that uses the OrderAttribute diff --git a/tests/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs b/tests/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs index ca8575de..fdbe5d03 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs @@ -7,7 +7,7 @@ using Xunit; using Xunit.Abstractions; -namespace redmine.net.api.Tests.Infrastructure +namespace Padi.RedmineApi.Tests.Infrastructure { /// /// Custom xUnit test collection orderer that uses the OrderAttribute diff --git a/tests/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs b/tests/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs index 2c3cce8e..b13b5af8 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs @@ -1,6 +1,6 @@ using System; -namespace redmine.net.api.Tests.Infrastructure +namespace Padi.RedmineApi.Tests.Infrastructure { public class OrderAttribute : Attribute { diff --git a/tests/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs b/tests/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs index f40dc201..831b2245 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs @@ -1,7 +1,7 @@ #if !(NET20 || NET40) using Xunit; -namespace redmine.net.api.Tests.Infrastructure +namespace Padi.RedmineApi.Tests.Infrastructure { [CollectionDefinition("RedmineCollection")] public class RedmineCollection : ICollectionFixture diff --git a/tests/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs index ff57814c..b7f91e12 100644 --- a/tests/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs @@ -1,97 +1,105 @@ #if !(NET20 || NET40) -using Redmine.Net.Api.Async; -using Redmine.Net.Api.Types; + using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Threading.Tasks; - +using Redmine.Net.Api.Async; +using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Async +namespace Padi.RedmineApi.Tests.Tests.Async { - [Collection("RedmineCollection")] - public class AttachmentAsyncTests - { - private const string ATTACHMENT_ID = "10"; - - private readonly RedmineFixture fixture; - public AttachmentAsyncTests (RedmineFixture fixture) - { - this.fixture = fixture; - } - - [Fact] - public async Task Should_Get_Attachment_By_Id() - { - var attachment = await fixture.RedmineManager.GetObjectAsync(ATTACHMENT_ID, null); - - Assert.NotNull(attachment); - Assert.IsType(attachment); - } - - [Fact] - public async Task Should_Upload_Attachment() - { - //read document from specified path - string documentPath = AppDomain.CurrentDomain.BaseDirectory+ "/uploadAttachment.pages"; - byte[] documentData = System.IO.File.ReadAllBytes(documentPath); - - //upload attachment to redmine - Upload attachment = await fixture.RedmineManager.UploadFileAsync(documentData); - - //set attachment properties - attachment.FileName = "uploadAttachment.pages"; - attachment.Description = "File uploaded using REST API"; - attachment.ContentType = "text/plain"; - - //create list of attachments to be added to issue - IList attachments = new List(); - attachments.Add(attachment); - - Issue issue = new Issue(); - issue.Project = new Project { Id = 9 }; - issue.Tracker = new IdentifiableName { Id = 3 }; - issue.Status = new IdentifiableName { Id = 6 }; - issue.Priority = new IdentifiableName { Id = 9 }; - issue.Subject = "Issue with attachments"; - issue.Description = "Issue description..."; - issue.Category = new IdentifiableName { Id = 18 }; - issue.FixedVersion = new IdentifiableName { Id = 9 }; - issue.AssignedTo = new IdentifiableName { Id = 8 }; - issue.ParentIssue = new IdentifiableName { Id = 96 }; - issue.CustomFields = new List(); - issue.CustomFields.Add(new IssueCustomField { Id = 13, Values = new List { new CustomFieldValue { Info = "Issue custom field completed" } } }); - issue.IsPrivate = true; - issue.EstimatedHours = 12; - issue.StartDate = DateTime.Now; - issue.DueDate = DateTime.Now.AddMonths(1); - issue.Uploads = attachments; - issue.Watchers = new List(); - issue.Watchers.Add(new Watcher { Id = 8 }); - issue.Watchers.Add(new Watcher { Id = 2 }); - - //create issue and attach document - Issue issueWithAttachment = await fixture.RedmineManager.CreateObjectAsync(issue); - - issue = await fixture.RedmineManager.GetObjectAsync(issueWithAttachment.Id.ToString(), new NameValueCollection { { "include", "attachments" } }); - - Assert.NotNull(issue); - Assert.IsType(issue); - - Assert.True(issue.Attachments.Count == 1, "Attachments count != 1"); - Assert.True(issue.Attachments[0].FileName == attachment.FileName); - } - - [Fact] - public async Task Sould_Download_Attachment() - { - var attachment = await fixture.RedmineManager.GetObjectAsync(ATTACHMENT_ID, null); - - var document = await fixture.RedmineManager.DownloadFileAsync(attachment.ContentUrl); - - Assert.NotNull(document); - } - } + [Collection("RedmineCollection")] + public class AttachmentAsyncTests + { + private const string ATTACHMENT_ID = "10"; + + private readonly RedmineFixture fixture; + public AttachmentAsyncTests(RedmineFixture fixture) + { + this.fixture = fixture; + } + + [Fact] + public async Task Should_Get_Attachment_By_Id() + { + var attachment = await fixture.RedmineManager.GetObjectAsync(ATTACHMENT_ID, null); + + Assert.NotNull(attachment); + Assert.IsType(attachment); + } + + [Fact] + public async Task Should_Upload_Attachment() + { + //read document from specified path + var documentPath = AppDomain.CurrentDomain.BaseDirectory + "/uploadAttachment.pages"; + var documentData = System.IO.File.ReadAllBytes(documentPath); + + //upload attachment to redmine + var attachment = await fixture.RedmineManager.UploadFileAsync(documentData); + + //set attachment properties + attachment.FileName = "uploadAttachment.pages"; + attachment.Description = "File uploaded using REST API"; + attachment.ContentType = "text/plain"; + + //create list of attachments to be added to issue + IList attachments = new List(); + attachments.Add(attachment); + + + var icf = (IssueCustomField)IdentifiableName.Create(13); + icf.Values = new List { new CustomFieldValue { Info = "Issue custom field completed" } }; + + var issue = new Issue + { + Project = IdentifiableName.Create(9), + Tracker = IdentifiableName.Create(3), + Status = IdentifiableName.Create(6), + Priority = IdentifiableName.Create(9), + Subject = "Issue with attachments", + Description = "Issue description...", + Category = IdentifiableName.Create(18), + FixedVersion = IdentifiableName.Create(9), + AssignedTo = IdentifiableName.Create(8), + ParentIssue = IdentifiableName.Create(96), + CustomFields = new List {icf}, + IsPrivate = true, + EstimatedHours = 12, + StartDate = DateTime.Now, + DueDate = DateTime.Now.AddMonths(1), + Uploads = attachments, + Watchers = new List + { + (Watcher) IdentifiableName.Create(8), + (Watcher) IdentifiableName.Create(2) + } + }; + + //create issue and attach document + var issueWithAttachment = await fixture.RedmineManager.CreateObjectAsync(issue); + + issue = await fixture.RedmineManager.GetObjectAsync(issueWithAttachment.Id.ToString(), + new NameValueCollection { { "include", "attachments" } }); + + Assert.NotNull(issue); + Assert.IsType(issue); + + Assert.True(issue.Attachments.Count == 1, "Attachments count != 1"); + Assert.True(issue.Attachments[0].FileName == attachment.FileName); + } + + [Fact] + public async Task Sould_Download_Attachment() + { + var attachment = await fixture.RedmineManager.GetObjectAsync(ATTACHMENT_ID, null); + + var document = await fixture.RedmineManager.DownloadFileAsync(attachment.ContentUrl); + + Assert.NotNull(document); + } + } } -#endif +#endif \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs index 2d7052ab..b800e3c4 100644 --- a/tests/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs @@ -6,7 +6,7 @@ using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Async +namespace Padi.RedmineApi.Tests.Tests.Async { [Collection("RedmineCollection")] public class IssueAsyncTests @@ -25,7 +25,7 @@ public async Task Should_Add_Watcher_To_Issue() { await fixture.RedmineManager.AddWatcherToIssueAsync(WATCHER_ISSUE_ID, WATCHER_USER_ID); - Issue issue = await fixture.RedmineManager.GetObjectAsync(WATCHER_ISSUE_ID.ToString(), new NameValueCollection { { "include", "watchers" } }); + var issue = await fixture.RedmineManager.GetObjectAsync(WATCHER_ISSUE_ID.ToString(), new NameValueCollection { { "include", "watchers" } }); Assert.NotNull(issue); Assert.True(issue.Watchers.Count == 1, "Number of watchers != 1"); @@ -37,7 +37,7 @@ public async Task Should_Remove_Watcher_From_Issue() { await fixture.RedmineManager.RemoveWatcherFromIssueAsync(WATCHER_ISSUE_ID, WATCHER_USER_ID); - Issue issue = await fixture.RedmineManager.GetObjectAsync(WATCHER_ISSUE_ID.ToString(), new NameValueCollection { { "include", "watchers" } }); + var issue = await fixture.RedmineManager.GetObjectAsync(WATCHER_ISSUE_ID.ToString(), new NameValueCollection { { "include", "watchers" } }); Assert.True(issue.Watchers == null || ((List)issue.Watchers).Find(w => w.Id == WATCHER_USER_ID) == null); } diff --git a/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs index 9f72feab..3570e5ae 100644 --- a/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs @@ -11,199 +11,206 @@ using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Async +namespace Padi.RedmineApi.Tests.Tests.Async { - [Collection("RedmineCollection")] - public class UserAsyncTests - { - private const string USER_ID = "8"; - private const string LIMIT = "2"; - private const string OFFSET = "1"; - private const int GROUP_ID = 9; - - private readonly RedmineFixture fixture; - public UserAsyncTests (RedmineFixture fixture) - { - this.fixture = fixture; - } - - [Fact] - public async Task Should_Get_CurrentUser() - { - var currentUser = await fixture.RedmineManager.GetCurrentUserAsync(); - Assert.NotNull(currentUser); - } - - [Fact] - public async Task Should_Get_User_By_Id() - { - var user = await fixture.RedmineManager.GetObjectAsync(USER_ID, null); - Assert.NotNull(user); - } - - [Fact] - public async Task Should_Get_User_By_Id_Including_Groups_And_Memberships() - { - var user = await fixture.RedmineManager.GetObjectAsync(USER_ID, new NameValueCollection() { { RedmineKeys.INCLUDE, "groups,memberships" } }); - - Assert.NotNull(user); - - Assert.NotNull (user.Groups); - Assert.True(user.Groups.Count == 1, "Group count != 1"); - - Assert.NotNull (user.Memberships); - Assert.True(user.Memberships.Count == 3, "Membership count != 3"); - } - - [Fact] - public async Task Should_Get_X_Users_From_Offset_Y() - { - var result = await fixture.RedmineManager.GetPaginatedObjectsAsync(new NameValueCollection() { - { RedmineKeys.INCLUDE, "groups, memberships" }, - {RedmineKeys.LIMIT,LIMIT }, - {RedmineKeys.OFFSET,OFFSET } - }); - - Assert.NotNull(result); - Assert.All (result.Items, u => Assert.IsType (u)); - } - - [Fact] - public async Task Should_Get_All_Users_With_Groups_And_Memberships() - { - List users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection { { RedmineKeys.INCLUDE, "groups, memberships" } }); - - Assert.NotNull(users); - Assert.All (users, u => Assert.IsType (u)); - } - - [Fact] - public async Task Should_Get_Active_Users() - { - var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection() - { - { RedmineKeys.STATUS, ((int)UserStatus.STATUS_ACTIVE).ToString(CultureInfo.InvariantCulture) } - }); - - Assert.NotNull(users); - Assert.True(users.Count == 6); - Assert.All (users, u => Assert.IsType (u)); - } - - [Fact] - public async Task Should_Get_Anonymous_Users() - { - var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection() - { - { RedmineKeys.STATUS, ((int)UserStatus.STATUS_ANONYMOUS).ToString(CultureInfo.InvariantCulture) } - }); - - Assert.NotNull(users); - Assert.True(users.Count == 0); - Assert.All (users, u => Assert.IsType (u)); - } - - [Fact] - public async Task Should_Get_Locked_Users() - { - var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection() - { - { RedmineKeys.STATUS, ((int)UserStatus.STATUS_LOCKED).ToString(CultureInfo.InvariantCulture) } - }); - - Assert.NotNull(users); - Assert.True(users.Count == 1); - Assert.All (users, u => Assert.IsType (u)); - } - - [Fact] - public async Task Should_Get_Registered_Users() - { - var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection() - { - { RedmineKeys.STATUS, ((int)UserStatus.STATUS_REGISTERED).ToString(CultureInfo.InvariantCulture) } - }); - - Assert.NotNull(users); - Assert.True(users.Count == 1); - Assert.All (users, u => Assert.IsType (u)); - } - - [Fact] - public async Task Should_Get_Users_By_Group() - { - var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection() - { - {RedmineKeys.GROUP_ID, GROUP_ID.ToString(CultureInfo.InvariantCulture)} - }); - - Assert.NotNull(users); - Assert.True(users.Count == 3); - Assert.All (users, u => Assert.IsType (u)); - } - - [Fact] - public async Task Should_Add_User_To_Group() - { - await fixture.RedmineManager.AddUserToGroupAsync(GROUP_ID, int.Parse(USER_ID)); - - User user = fixture.RedmineManager.GetObject(USER_ID.ToString(CultureInfo.InvariantCulture), new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.GROUPS } }); - - Assert.NotNull (user.Groups); - Assert.True(user.Groups.FirstOrDefault(g => g.Id == GROUP_ID) != null); - } - - [Fact] - public async Task Should_Remove_User_From_Group() - { - await fixture.RedmineManager.RemoveUserFromGroupAsync(GROUP_ID, int.Parse(USER_ID)); - - User user = await fixture.RedmineManager.GetObjectAsync(USER_ID.ToString(CultureInfo.InvariantCulture), new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.GROUPS } }); - - Assert.True(user.Groups == null || user.Groups.FirstOrDefault(g => g.Id == GROUP_ID) == null); - } - - [Fact] - public async Task Should_Create_User() - { - User user = new User(); - user.Login = "userTestLogin4"; - user.FirstName = "userTestFirstName"; - user.LastName = "userTestLastName"; - user.Email = "testTest4@redmineapi.com"; - user.Password = "123456"; - user.AuthenticationModeId = 1; - user.MustChangePassword = false; - user.CustomFields = new List(); - user.CustomFields.Add(new IssueCustomField { Id = 4, Values = new List { new CustomFieldValue { Info = "userTestCustomField:" + DateTime.UtcNow } } }); - - var createdUser = await fixture.RedmineManager.CreateObjectAsync(user); - - Assert.Equal(user.Login, createdUser.Login); - Assert.Equal(user.Email, createdUser.Email); - } - - [Fact] - public async Task Should_Update_User() - { - var userId = 59.ToString(); - User user = fixture.RedmineManager.GetObject(userId, null); - user.FirstName = "modified first name"; - await fixture.RedmineManager.UpdateObjectAsync(userId, user); - - User updatedUser = await fixture.RedmineManager.GetObjectAsync(userId, null); - - Assert.Equal(user.FirstName, updatedUser.FirstName); - } - - [Fact] - public async Task Should_Delete_User() - { - var userId = 62.ToString(); - await fixture.RedmineManager.DeleteObjectAsync(userId); - await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetObjectAsync(userId, null)); - - } - } + [Collection("RedmineCollection")] + public class UserAsyncTests + { + private const string USER_ID = "8"; + private const string LIMIT = "2"; + private const string OFFSET = "1"; + private const int GROUP_ID = 9; + + private readonly RedmineFixture fixture; + public UserAsyncTests(RedmineFixture fixture) + { + this.fixture = fixture; + } + + [Fact] + public async Task Should_Get_CurrentUser() + { + var currentUser = await fixture.RedmineManager.GetCurrentUserAsync(); + Assert.NotNull(currentUser); + } + + [Fact] + public async Task Should_Get_User_By_Id() + { + var user = await fixture.RedmineManager.GetObjectAsync(USER_ID, null); + Assert.NotNull(user); + } + + [Fact] + public async Task Should_Get_User_By_Id_Including_Groups_And_Memberships() + { + var user = await fixture.RedmineManager.GetObjectAsync(USER_ID, new NameValueCollection() { { RedmineKeys.INCLUDE, "groups,memberships" } }); + + Assert.NotNull(user); + + Assert.NotNull(user.Groups); + Assert.True(user.Groups.Count == 1, "Group count != 1"); + + Assert.NotNull(user.Memberships); + Assert.True(user.Memberships.Count == 3, "Membership count != 3"); + } + + [Fact] + public async Task Should_Get_X_Users_From_Offset_Y() + { + var result = await fixture.RedmineManager.GetPaginatedObjectsAsync(new NameValueCollection() { + { RedmineKeys.INCLUDE, "groups, memberships" }, + {RedmineKeys.LIMIT,LIMIT }, + {RedmineKeys.OFFSET,OFFSET } + }); + + Assert.NotNull(result); + Assert.All(result.Items, u => Assert.IsType(u)); + } + + [Fact] + public async Task Should_Get_All_Users_With_Groups_And_Memberships() + { + var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection { { RedmineKeys.INCLUDE, "groups, memberships" } }); + + Assert.NotNull(users); + Assert.All(users, u => Assert.IsType(u)); + } + + [Fact] + public async Task Should_Get_Active_Users() + { + var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection() + { + { RedmineKeys.STATUS, ((int)UserStatus.StatusActive).ToString(CultureInfo.InvariantCulture) } + }); + + Assert.NotNull(users); + Assert.True(users.Count == 6); + Assert.All(users, u => Assert.IsType(u)); + } + + [Fact] + public async Task Should_Get_Anonymous_Users() + { + var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection() + { + { RedmineKeys.STATUS, ((int)UserStatus.StatusAnonymous).ToString(CultureInfo.InvariantCulture) } + }); + + Assert.NotNull(users); + Assert.True(users.Count == 0); + Assert.All(users, u => Assert.IsType(u)); + } + + [Fact] + public async Task Should_Get_Locked_Users() + { + var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection() + { + { RedmineKeys.STATUS, ((int)UserStatus.StatusLocked).ToString(CultureInfo.InvariantCulture) } + }); + + Assert.NotNull(users); + Assert.True(users.Count == 1); + Assert.All(users, u => Assert.IsType(u)); + } + + [Fact] + public async Task Should_Get_Registered_Users() + { + var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection() + { + { RedmineKeys.STATUS, ((int)UserStatus.StatusRegistered).ToString(CultureInfo.InvariantCulture) } + }); + + Assert.NotNull(users); + Assert.True(users.Count == 1); + Assert.All(users, u => Assert.IsType(u)); + } + + [Fact] + public async Task Should_Get_Users_By_Group() + { + var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection() + { + {RedmineKeys.GROUP_ID, GROUP_ID.ToString(CultureInfo.InvariantCulture)} + }); + + Assert.NotNull(users); + Assert.True(users.Count == 3); + Assert.All(users, u => Assert.IsType(u)); + } + + [Fact] + public async Task Should_Add_User_To_Group() + { + await fixture.RedmineManager.AddUserToGroupAsync(GROUP_ID, int.Parse(USER_ID)); + + var user = fixture.RedmineManager.GetObject(USER_ID.ToString(CultureInfo.InvariantCulture), new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.GROUPS } }); + + Assert.NotNull(user.Groups); + Assert.True(user.Groups.FirstOrDefault(g => g.Id == GROUP_ID) != null); + } + + [Fact] + public async Task Should_Remove_User_From_Group() + { + await fixture.RedmineManager.RemoveUserFromGroupAsync(GROUP_ID, int.Parse(USER_ID)); + + var user = await fixture.RedmineManager.GetObjectAsync(USER_ID.ToString(CultureInfo.InvariantCulture), new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.GROUPS } }); + + Assert.True(user.Groups == null || user.Groups.FirstOrDefault(g => g.Id == GROUP_ID) == null); + } + + [Fact] + public async Task Should_Create_User() + { + var user = new User + { + Login = "userTestLogin4", + FirstName = "userTestFirstName", + LastName = "userTestLastName", + Email = "testTest4@redmineapi.com", + Password = "123456", + AuthenticationModeId = 1, + MustChangePassword = false + }; + + + var icf = (IssueCustomField)IdentifiableName.Create(4); + icf.Values = new List { new CustomFieldValue { Info = "userTestCustomField:" + DateTime.UtcNow } }; + + user.CustomFields = new List(); + user.CustomFields.Add(icf); + + var createdUser = await fixture.RedmineManager.CreateObjectAsync(user); + + Assert.Equal(user.Login, createdUser.Login); + Assert.Equal(user.Email, createdUser.Email); + } + + [Fact] + public async Task Should_Update_User() + { + var userId = 59.ToString(); + var user = fixture.RedmineManager.GetObject(userId, null); + user.FirstName = "modified first name"; + await fixture.RedmineManager.UpdateObjectAsync(userId, user); + + var updatedUser = await fixture.RedmineManager.GetObjectAsync(userId, null); + + Assert.Equal(user.FirstName, updatedUser.FirstName); + } + + [Fact] + public async Task Should_Delete_User() + { + var userId = 62.ToString(); + await fixture.RedmineManager.DeleteObjectAsync(userId); + await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetObjectAsync(userId, null)); + + } + } } #endif \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs index 9336513d..08c85e30 100644 --- a/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs @@ -1,5 +1,4 @@ #if !(NET20 || NET40) -using System.Collections.Generic; using System.Collections.Specialized; using System.Threading.Tasks; using Redmine.Net.Api.Async; @@ -7,7 +6,7 @@ using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Async +namespace Padi.RedmineApi.Tests.Tests.Async { [Collection("RedmineCollection")] public class WikiPageAsyncTests @@ -29,7 +28,7 @@ public WikiPageAsyncTests(RedmineFixture fixture) [Fact] public async Task Should_Add_Or_Update_Page() { - WikiPage page = await fixture.RedmineManager.CreateOrUpdateWikiPageAsync(PROJECT_ID, WIKI_PAGE_NAME, new WikiPage { Text = WIKI_PAGE_UPDATED_TEXT, Comments = WIKI_PAGE_COMMENT }); + var page = await fixture.RedmineManager.CreateOrUpdateWikiPageAsync(PROJECT_ID, WIKI_PAGE_NAME, new WikiPage { Text = WIKI_PAGE_UPDATED_TEXT, Comments = WIKI_PAGE_COMMENT }); Assert.NotNull(page); Assert.True(page.Title == WIKI_PAGE_NAME, "Wiki page " + WIKI_PAGE_NAME + " does not exist."); @@ -38,7 +37,7 @@ public async Task Should_Add_Or_Update_Page() [Fact] public async Task Should_Get_All_Pages() { - List pages = await fixture.RedmineManager.GetAllWikiPagesAsync(null, PROJECT_ID); + var pages = await fixture.RedmineManager.GetAllWikiPagesAsync(null, PROJECT_ID); Assert.NotNull(pages); @@ -49,7 +48,7 @@ public async Task Should_Get_All_Pages() [Fact] public async Task Should_Get_Page_By_Name() { - WikiPage page = await fixture.RedmineManager.GetWikiPageAsync(PROJECT_ID, new NameValueCollection { { "include", "attachments" } }, WIKI_PAGE_NAME); + var page = await fixture.RedmineManager.GetWikiPageAsync(PROJECT_ID, new NameValueCollection { { "include", "attachments" } }, WIKI_PAGE_NAME); Assert.NotNull(page); Assert.True(page.Title == WIKI_PAGE_NAME, "Wiki page " + WIKI_PAGE_NAME + " does not exist."); @@ -58,7 +57,7 @@ public async Task Should_Get_Page_By_Name() [Fact] public async Task Should_Get_Wiki_Page_Old_Version() { - WikiPage oldPage = await fixture.RedmineManager.GetWikiPageAsync(PROJECT_ID, new NameValueCollection { { "include", "attachments" } }, WIKI_PAGE_NAME, WIKI_PAGE_VERSION); + var oldPage = await fixture.RedmineManager.GetWikiPageAsync(PROJECT_ID, new NameValueCollection { { "include", "attachments" } }, WIKI_PAGE_NAME, WIKI_PAGE_VERSION); Assert.True(oldPage.Title == WIKI_PAGE_NAME, "Wiki page " + WIKI_PAGE_NAME + " does not exist."); Assert.True(oldPage.Version == WIKI_PAGE_VERSION, "Wiki page version " + WIKI_PAGE_VERSION + " does not exist."); diff --git a/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs index edec151e..b5debca6 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs @@ -17,13 +17,13 @@ limitations under the License. using System; using System.Collections.Generic; using System.Collections.Specialized; -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Attachments")] #if !(NET20 || NET40) @@ -44,7 +44,7 @@ public AttachmentTests(RedmineFixture fixture) [Fact, Order(1)] public void Should_Download_Attachment() { - var url = Helper.Uri + "/attachments/download/" + ATTACHMENT_ID + "/" + ATTACHMENT_FILE_NAME; + var url = fixture.Credentials.Uri + "/attachments/download/" + ATTACHMENT_ID + "/" + ATTACHMENT_FILE_NAME; var document = fixture.RedmineManager.DownloadFile(url); @@ -89,7 +89,7 @@ public void Should_Upload_Attachment() var issue = new Issue { - Project = new Project { Id = PROJECT_ID }, + Project = IdentifiableName.Create(PROJECT_ID ), Subject = ISSUE_SUBJECT, Uploads = attachments }; diff --git a/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs index 267efdbd..100968a2 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs @@ -14,11 +14,11 @@ You may obtain a copy of the License at limitations under the License. */ -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "CustomFields")] #if !(NET20 || NET40) diff --git a/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs index 1dc79a32..2129a0bf 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs @@ -1,14 +1,14 @@ using System.Collections.Generic; using System.Collections.Specialized; -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { - [Trait("Redmine-Net-Api", "Groups")] + [Trait("Redmine-Net-Api", "Groups")] #if !(NET20 || NET40) [Collection("RedmineCollection")] #endif @@ -19,7 +19,7 @@ public GroupTests(RedmineFixture fixture) this.fixture = fixture; } - private readonly RedmineFixture fixture; + private readonly RedmineFixture fixture; private const string GROUP_ID = "57"; private const int NUMBER_OF_MEMBERSHIPS = 1; @@ -28,103 +28,103 @@ public GroupTests(RedmineFixture fixture) [Fact, Order(1)] public void Should_Add_Group() { - const string NEW_GROUP_NAME = "Developers1"; - const int NEW_GROUP_USER_ID = 8; + const string NEW_GROUP_NAME = "Developers1"; + const int NEW_GROUP_USER_ID = 8; - var group = new Group(); + var group = new Group(); group.Name = NEW_GROUP_NAME; - group.Users = new List {new GroupUser {Id = NEW_GROUP_USER_ID}}; + group.Users = new List { (GroupUser)IdentifiableName.Create(NEW_GROUP_USER_ID )}; Group savedGroup = null; var exception = - (RedmineException) Record.Exception(() => savedGroup = fixture.RedmineManager.CreateObject(group)); + (RedmineException)Record.Exception(() => savedGroup = fixture.RedmineManager.CreateObject(group)); Assert.Null(exception); Assert.NotNull(savedGroup); Assert.True(group.Name.Equals(savedGroup.Name), "Group name is not valid."); } - [Fact, Order(2)] - public void Should_Update_Group() - { - const string UPDATED_GROUP_ID = "58"; - const string UPDATED_GROUP_NAME = "Best Developers"; - const int UPDATED_GROUP_USER_ID = 2; + [Fact, Order(2)] + public void Should_Update_Group() + { + const string UPDATED_GROUP_ID = "58"; + const string UPDATED_GROUP_NAME = "Best Developers"; + const int UPDATED_GROUP_USER_ID = 2; - var group = fixture.RedmineManager.GetObject(UPDATED_GROUP_ID, - new NameValueCollection {{RedmineKeys.INCLUDE, RedmineKeys.USERS}}); - group.Name = UPDATED_GROUP_NAME; - group.Users.Add(new GroupUser {Id = UPDATED_GROUP_USER_ID}); + var group = fixture.RedmineManager.GetObject(UPDATED_GROUP_ID, + new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.USERS } }); + group.Name = UPDATED_GROUP_NAME; + group.Users.Add((GroupUser)IdentifiableName.Create(UPDATED_GROUP_USER_ID)); - fixture.RedmineManager.UpdateObject(UPDATED_GROUP_ID, group); + fixture.RedmineManager.UpdateObject(UPDATED_GROUP_ID, group); - var updatedGroup = fixture.RedmineManager.GetObject(UPDATED_GROUP_ID, - new NameValueCollection {{RedmineKeys.INCLUDE, RedmineKeys.USERS}}); + var updatedGroup = fixture.RedmineManager.GetObject(UPDATED_GROUP_ID, + new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.USERS } }); - Assert.NotNull(updatedGroup); - Assert.True(updatedGroup.Name.Equals(UPDATED_GROUP_NAME), "Group name was not updated."); - Assert.NotNull(updatedGroup.Users); - // Assert.True(updatedGroup.Users.Find(u => u.Id == UPDATED_GROUP_USER_ID) != null, - //"User was not added to group."); - } + Assert.NotNull(updatedGroup); + Assert.True(updatedGroup.Name.Equals(UPDATED_GROUP_NAME), "Group name was not updated."); + Assert.NotNull(updatedGroup.Users); + // Assert.True(updatedGroup.Users.Find(u => u.Id == UPDATED_GROUP_USER_ID) != null, + //"User was not added to group."); + } [Fact, Order(3)] public void Should_Get_All_Groups() { - const int NUMBER_OF_GROUPS = 3; + const int NUMBER_OF_GROUPS = 3; - var groups = fixture.RedmineManager.GetObjects(); + var groups = fixture.RedmineManager.GetObjects(); Assert.NotNull(groups); - Assert.True(groups.Count == NUMBER_OF_GROUPS, "Number of groups ( "+groups.Count+" ) != " + NUMBER_OF_GROUPS); + Assert.True(groups.Count == NUMBER_OF_GROUPS, "Number of groups ( " + groups.Count + " ) != " + NUMBER_OF_GROUPS); } [Fact, Order(4)] public void Should_Get_Group_With_All_Associated_Data() { var group = fixture.RedmineManager.GetObject(GROUP_ID, - new NameValueCollection {{RedmineKeys.INCLUDE, RedmineKeys.MEMBERSHIPS + "," + RedmineKeys.USERS}}); + new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.MEMBERSHIPS + "," + RedmineKeys.USERS } }); Assert.NotNull(group); Assert.True(group.Memberships.Count == NUMBER_OF_MEMBERSHIPS, "Number of memberships != " + NUMBER_OF_MEMBERSHIPS); - Assert.True(group.Users.Count == NUMBER_OF_USERS, "Number of users ( "+ group.Users.Count +" ) != " + NUMBER_OF_USERS); - Assert.True(group.Name.Equals("Test"), "Group name is not valid."); + Assert.True(group.Users.Count == NUMBER_OF_USERS, "Number of users ( " + group.Users.Count + " ) != " + NUMBER_OF_USERS); + Assert.True(group.Name.Equals("Test"), "Group name is not valid."); } [Fact, Order(5)] public void Should_Get_Group_With_Memberships() { var group = fixture.RedmineManager.GetObject(GROUP_ID, - new NameValueCollection {{RedmineKeys.INCLUDE, RedmineKeys.MEMBERSHIPS}}); + new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.MEMBERSHIPS } }); Assert.NotNull(group); Assert.True(group.Memberships.Count == NUMBER_OF_MEMBERSHIPS, - "Number of memberships ( "+ group.Memberships.Count +" ) != " + NUMBER_OF_MEMBERSHIPS); + "Number of memberships ( " + group.Memberships.Count + " ) != " + NUMBER_OF_MEMBERSHIPS); } [Fact, Order(6)] public void Should_Get_Group_With_Users() { var group = fixture.RedmineManager.GetObject(GROUP_ID, - new NameValueCollection {{RedmineKeys.INCLUDE, RedmineKeys.USERS}}); + new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.USERS } }); Assert.NotNull(group); - Assert.True(group.Users.Count == NUMBER_OF_USERS, "Number of users ( "+ group.Users.Count +" ) != " + NUMBER_OF_USERS); + Assert.True(group.Users.Count == NUMBER_OF_USERS, "Number of users ( " + group.Users.Count + " ) != " + NUMBER_OF_USERS); } - [Fact, Order(99)] - public void Should_Delete_Group() - { - const string DELETED_GROUP_ID = "63"; - - var exception = - (RedmineException) - Record.Exception(() => fixture.RedmineManager.DeleteObject(DELETED_GROUP_ID)); - Assert.Null(exception); - Assert.Throws(() => fixture.RedmineManager.GetObject(DELETED_GROUP_ID, null)); - } + [Fact, Order(99)] + public void Should_Delete_Group() + { + const string DELETED_GROUP_ID = "63"; + + var exception = + (RedmineException) + Record.Exception(() => fixture.RedmineManager.DeleteObject(DELETED_GROUP_ID)); + Assert.Null(exception); + Assert.Throws(() => fixture.RedmineManager.GetObject(DELETED_GROUP_ID, null)); + } } } \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs index 41f5e33f..f0346abf 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs @@ -1,11 +1,11 @@ using System.Collections.Specialized; -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "IssueCategories")] #if !(NET20 || NET40) @@ -13,31 +13,30 @@ namespace redmine.net.api.Tests.Tests.Sync #endif public class IssueCategoryTests { + private readonly RedmineFixture fixture; + + private const string PROJECT_ID = "redmine-net-testq"; + private const string NEW_ISSUE_CATEGORY_NAME = "Test category"; + private const int NEW_ISSUE_CATEGORY_ASIGNEE_ID = 1; + private static string createdIssueCategoryId; + public IssueCategoryTests(RedmineFixture fixture) { this.fixture = fixture; } - private readonly RedmineFixture fixture; - - const string PROJECT_ID = "redmine-net-testq"; - const string NEW_ISSUE_CATEGORY_NAME = "Test category"; - const int NEW_ISSUE_CATEGORY_ASIGNEE_ID = 1; - - private static string CREATED_ISSUE_CATEGORY_ID; - [Fact, Order(1)] public void Should_Create_IssueCategory() { var issueCategory = new IssueCategory { Name = NEW_ISSUE_CATEGORY_NAME, - AssignTo = new IdentifiableName {Id = NEW_ISSUE_CATEGORY_ASIGNEE_ID} + AssignTo = IdentifiableName.Create(NEW_ISSUE_CATEGORY_ASIGNEE_ID) }; var savedIssueCategory = fixture.RedmineManager.CreateObject(issueCategory, PROJECT_ID); - CREATED_ISSUE_CATEGORY_ID = savedIssueCategory.Id.ToString(); + createdIssueCategoryId = savedIssueCategory.Id.ToString(); Assert.NotNull(savedIssueCategory); Assert.True(savedIssueCategory.Name.Equals(NEW_ISSUE_CATEGORY_NAME), "Saved issue category name is invalid."); @@ -49,10 +48,10 @@ public void Should_Delete_IssueCategory() var exception = (RedmineException) Record.Exception( - () => fixture.RedmineManager.DeleteObject(CREATED_ISSUE_CATEGORY_ID)); + () => fixture.RedmineManager.DeleteObject(createdIssueCategoryId)); Assert.Null(exception); Assert.Throws( - () => fixture.RedmineManager.GetObject(CREATED_ISSUE_CATEGORY_ID, null)); + () => fixture.RedmineManager.GetObject(createdIssueCategoryId, null)); } [Fact, Order(2)] @@ -76,7 +75,7 @@ public void Should_Get_IssueCategory_By_Id() const string ISSUE_CATEGORY_PROJECT_NAME_TO_GET = "Redmine tests"; const string ISSUE_CATEGORY_ASIGNEE_NAME_TO_GET = "Redmine"; - var issueCategory = fixture.RedmineManager.GetObject(CREATED_ISSUE_CATEGORY_ID, null); + var issueCategory = fixture.RedmineManager.GetObject(createdIssueCategoryId, null); Assert.NotNull(issueCategory); Assert.True(issueCategory.Name.Equals(NEW_ISSUE_CATEGORY_NAME), "Issue category name is invalid."); @@ -94,13 +93,13 @@ public void Should_Update_IssueCategory() const string ISSUE_CATEGORY_NAME_TO_UPDATE = "Category updated"; const int ISSUE_CATEGORY_ASIGNEE_ID_TO_UPDATE = 2; - var issueCategory = fixture.RedmineManager.GetObject(CREATED_ISSUE_CATEGORY_ID, null); + var issueCategory = fixture.RedmineManager.GetObject(createdIssueCategoryId, null); issueCategory.Name = ISSUE_CATEGORY_NAME_TO_UPDATE; - issueCategory.AssignTo = new IdentifiableName {Id = ISSUE_CATEGORY_ASIGNEE_ID_TO_UPDATE}; + issueCategory.AssignTo = IdentifiableName.Create(ISSUE_CATEGORY_ASIGNEE_ID_TO_UPDATE); - fixture.RedmineManager.UpdateObject(CREATED_ISSUE_CATEGORY_ID, issueCategory); + fixture.RedmineManager.UpdateObject(createdIssueCategoryId, issueCategory); - var updatedIssueCategory = fixture.RedmineManager.GetObject(CREATED_ISSUE_CATEGORY_ID, null); + var updatedIssueCategory = fixture.RedmineManager.GetObject(createdIssueCategoryId, null); Assert.NotNull(updatedIssueCategory); Assert.True(updatedIssueCategory.Name.Equals(ISSUE_CATEGORY_NAME_TO_UPDATE), diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs index cefbabe4..0e0a6fe5 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs @@ -17,7 +17,7 @@ limitations under the License. using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "IssuePriorities")] #if !(NET20 || NET40) diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs index a06d9084..c9de2a44 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs @@ -15,13 +15,13 @@ limitations under the License. */ using System.Collections.Specialized; -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "IssueRelations")] #if !(NET20 || NET40) diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs index 815423e1..59d32eaa 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs @@ -17,7 +17,7 @@ limitations under the License. using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "IssueStatuses")] #if !(NET20 || NET40) diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs index c39c3e50..14601c11 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs @@ -1,316 +1,329 @@ using System; using System.Collections.Generic; using System.Collections.Specialized; -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { - [Trait("Redmine-Net-Api", "Issues")] + [Trait("Redmine-Net-Api", "Issues")] #if !(NET20 || NET40) [Collection("RedmineCollection")] #endif - public class IssueTests - { - public IssueTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - private readonly RedmineFixture fixture; + public class IssueTests + { + public IssueTests(RedmineFixture fixture) + { + this.fixture = fixture; + } + private readonly RedmineFixture fixture; + + //filters + private const string PROJECT_ID = "redmine-net-testq"; + + //watcher + private const int WATCHER_ISSUE_ID = 96; + private const int WATCHER_USER_ID = 8; + + + [Fact, Order(1)] + public void Should_Get_All_Issues() + { + var issues = fixture.RedmineManager.GetObjects(); + + Assert.NotNull(issues); + } + + [Fact, Order(2)] + public void Should_Get_Paginated_Issues() + { + const int NUMBER_OF_PAGINATED_ISSUES = 3; + const int OFFSET = 1; + + var issues = fixture.RedmineManager.GetPaginatedObjects(new NameValueCollection + { + { RedmineKeys.OFFSET, OFFSET.ToString() }, { RedmineKeys.LIMIT, NUMBER_OF_PAGINATED_ISSUES.ToString() }, { "sort", "id:desc" } + }); + + Assert.NotNull(issues.Items); + //Assert.True(issues.Items.Count <= NUMBER_OF_PAGINATED_ISSUES, "number of issues ( "+ issues.Items.Count +" ) != " + NUMBER_OF_PAGINATED_ISSUES.ToString()); + } + + [Fact, Order(3)] + public void Should_Get_Issues_By_Project_Id() + { + var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.PROJECT_ID, PROJECT_ID } }); + + Assert.NotNull(issues); + } + + [Fact, Order(4)] + public void Should_Get_Issues_By_SubProject_Id() + { + const string SUB_PROJECT_ID_VALUE = "redmine-net-testr"; + + var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.SUB_PROJECT_ID, SUB_PROJECT_ID_VALUE } }); + + Assert.NotNull(issues); + } + + [Fact, Order(5)] + public void Should_Get_Issues_By_Project_Without_SubProject() + { + const string ALL_SUB_PROJECTS = "!*"; + + var issues = fixture.RedmineManager.GetObjects(new NameValueCollection + { + { RedmineKeys.PROJECT_ID, PROJECT_ID }, { RedmineKeys.SUB_PROJECT_ID, ALL_SUB_PROJECTS } + }); + + Assert.NotNull(issues); + } + + [Fact, Order(6)] + public void Should_Get_Issues_By_Tracker() + { + const string TRACKER_ID = "3"; + var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.TRACKER_ID, TRACKER_ID } }); + + Assert.NotNull(issues); + } + + [Fact, Order(7)] + public void Should_Get_Issues_By_Status() + { + const string STATUS_ID = "*"; + var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.STATUS_ID, STATUS_ID } }); + Assert.NotNull(issues); + } + + [Fact, Order(8)] + public void Should_Get_Issues_By_Assignee() + { + const string ASSIGNED_TO_ID = "me"; + var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.ASSIGNED_TO_ID, ASSIGNED_TO_ID } }); + + Assert.NotNull(issues); + } + + [Fact, Order(9)] + public void Should_Get_Issues_By_Custom_Field() + { + const string CUSTOM_FIELD_NAME = "cf_13"; + const string CUSTOM_FIELD_VALUE = "Testx"; + + var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { CUSTOM_FIELD_NAME, CUSTOM_FIELD_VALUE } }); + + Assert.NotNull(issues); + } + + [Fact, Order(10)] + public void Should_Get_Issue_By_Id() + { + const string ISSUE_ID = "96"; + + var issue = fixture.RedmineManager.GetObject(ISSUE_ID, new NameValueCollection + { + { RedmineKeys.INCLUDE, $"{RedmineKeys.CHILDREN},{RedmineKeys.ATTACHMENTS},{RedmineKeys.RELATIONS},{RedmineKeys.CHANGE_SETS},{RedmineKeys.JOURNALS},{RedmineKeys.WATCHERS}" } + }); + + Assert.NotNull(issue); + } + + [Fact, Order(11)] + public void Should_Add_Issue() + { + const bool NEW_ISSUE_IS_PRIVATE = true; + + const int NEW_ISSUE_PROJECT_ID = 9; + const int NEW_ISSUE_TRACKER_ID = 3; + const int NEW_ISSUE_STATUS_ID = 6; + const int NEW_ISSUE_PRIORITY_ID = 9; + const int NEW_ISSUE_CATEGORY_ID = 18; + const int NEW_ISSUE_FIXED_VERSION_ID = 9; + const int NEW_ISSUE_ASSIGNED_TO_ID = 8; + const int NEW_ISSUE_PARENT_ISSUE_ID = 96; + const int NEW_ISSUE_CUSTOM_FIELD_ID = 13; + const int NEW_ISSUE_ESTIMATED_HOURS = 12; + const int NEW_ISSUE_FIRST_WATCHER_ID = 2; + const int NEW_ISSUE_SECOND_WATCHER_ID = 8; + + const string NEW_ISSUE_CUSTOM_FIELD_VALUE = "Issue custom field completed"; + const string NEW_ISSUE_SUBJECT = "Issue created using Rest API"; + const string NEW_ISSUE_DESCRIPTION = "Issue description..."; + + var newIssueStartDate = DateTime.Now; + var newIssueDueDate = DateTime.Now.AddDays(10); + + var icf = (IssueCustomField)IdentifiableName.Create(NEW_ISSUE_CUSTOM_FIELD_ID); + icf.Values = new List { new CustomFieldValue { Info = NEW_ISSUE_CUSTOM_FIELD_VALUE } }; + + var issue = new Issue + { + Project = IdentifiableName.Create(NEW_ISSUE_PROJECT_ID), + Tracker = IdentifiableName.Create(NEW_ISSUE_TRACKER_ID), + Status = IdentifiableName.Create(NEW_ISSUE_STATUS_ID), + Priority = IdentifiableName.Create(NEW_ISSUE_PRIORITY_ID), + Subject = NEW_ISSUE_SUBJECT, + Description = NEW_ISSUE_DESCRIPTION, + Category = IdentifiableName.Create(NEW_ISSUE_CATEGORY_ID), + FixedVersion = IdentifiableName.Create(NEW_ISSUE_FIXED_VERSION_ID), + AssignedTo = IdentifiableName.Create(NEW_ISSUE_ASSIGNED_TO_ID), + ParentIssue = IdentifiableName.Create(NEW_ISSUE_PARENT_ISSUE_ID), + + CustomFields = new List { icf }, + IsPrivate = NEW_ISSUE_IS_PRIVATE, + EstimatedHours = NEW_ISSUE_ESTIMATED_HOURS, + StartDate = newIssueStartDate, + DueDate = newIssueDueDate, + Watchers = new List + { + (Watcher) IdentifiableName.Create(NEW_ISSUE_FIRST_WATCHER_ID), + (Watcher) IdentifiableName.Create(NEW_ISSUE_SECOND_WATCHER_ID) + } + }; + + var savedIssue = fixture.RedmineManager.CreateObject(issue); + + Assert.NotNull(savedIssue); + Assert.True(issue.Subject.Equals(savedIssue.Subject), "Issue subject is invalid."); + Assert.NotEqual(issue, savedIssue); + } + + [Fact, Order(12)] + public void Should_Update_Issue() + { + const string UPDATED_ISSUE_ID = "98"; + const string UPDATED_ISSUE_SUBJECT = "Issue updated subject"; + const string UPDATED_ISSUE_DESCRIPTION = null; + const int UPDATED_ISSUE_PROJECT_ID = 9; + const int UPDATED_ISSUE_TRACKER_ID = 3; + const int UPDATED_ISSUE_PRIORITY_ID = 8; + const int UPDATED_ISSUE_CATEGORY_ID = 18; + const int UPDATED_ISSUE_ASSIGNED_TO_ID = 2; + const int UPDATED_ISSUE_PARENT_ISSUE_ID = 91; + const int UPDATED_ISSUE_CUSTOM_FIELD_ID = 13; + const string UPDATED_ISSUE_CUSTOM_FIELD_VALUE = "Another custom field completed"; + const int UPDATED_ISSUE_ESTIMATED_HOURS = 23; + const string UPDATED_ISSUE_NOTES = "A lot is changed"; + const bool UPDATED_ISSUE_PRIVATE_NOTES = true; + + DateTime? updatedIssueStartDate = default(DateTime?); + + var updatedIssueDueDate = DateTime.Now.AddMonths(1); + + var issue = fixture.RedmineManager.GetObject(UPDATED_ISSUE_ID, new NameValueCollection + { + { RedmineKeys.INCLUDE, $"{RedmineKeys.CHILDREN},{RedmineKeys.ATTACHMENTS},{RedmineKeys.RELATIONS},{RedmineKeys.CHANGE_SETS},{RedmineKeys.JOURNALS},{RedmineKeys.WATCHERS}" } + }); + + issue.Subject = UPDATED_ISSUE_SUBJECT; + issue.Description = UPDATED_ISSUE_DESCRIPTION; + issue.StartDate = updatedIssueStartDate; + issue.DueDate = updatedIssueDueDate; + issue.Project = IdentifiableName.Create(UPDATED_ISSUE_PROJECT_ID); + issue.Tracker = IdentifiableName.Create(UPDATED_ISSUE_TRACKER_ID); + issue.Priority = IdentifiableName.Create(UPDATED_ISSUE_PRIORITY_ID); + issue.Category = IdentifiableName.Create(UPDATED_ISSUE_CATEGORY_ID); + issue.AssignedTo = IdentifiableName.Create(UPDATED_ISSUE_ASSIGNED_TO_ID); + issue.ParentIssue = IdentifiableName.Create(UPDATED_ISSUE_PARENT_ISSUE_ID); + + var icf = (IssueCustomField)IdentifiableName.Create(UPDATED_ISSUE_CUSTOM_FIELD_ID); + icf.Values = new List { new CustomFieldValue { Info = UPDATED_ISSUE_CUSTOM_FIELD_VALUE } }; + + issue.CustomFields?.Add(icf); + issue.EstimatedHours = UPDATED_ISSUE_ESTIMATED_HOURS; + issue.Notes = UPDATED_ISSUE_NOTES; + issue.PrivateNotes = UPDATED_ISSUE_PRIVATE_NOTES; + + fixture.RedmineManager.UpdateObject(UPDATED_ISSUE_ID, issue); + + var updatedIssue = fixture.RedmineManager.GetObject(UPDATED_ISSUE_ID, new NameValueCollection + { + { RedmineKeys.INCLUDE, $"{RedmineKeys.CHILDREN},{RedmineKeys.ATTACHMENTS},{RedmineKeys.RELATIONS},{RedmineKeys.CHANGE_SETS},{RedmineKeys.JOURNALS},{RedmineKeys.WATCHERS}" } + }); + + Assert.NotNull(updatedIssue); + Assert.True(issue.Subject.Equals(updatedIssue.Subject), "Issue subject is invalid."); + + } + + [Fact, Order(99)] + public void Should_Delete_Issue() + { + const string DELETED_ISSUE_ID = "90"; + + var exception = (RedmineException)Record.Exception(() => fixture.RedmineManager.DeleteObject(DELETED_ISSUE_ID)); + Assert.Null(exception); + Assert.Throws(() => fixture.RedmineManager.GetObject(DELETED_ISSUE_ID, null)); + } + + [Fact, Order(13)] + public void Should_Add_Watcher_To_Issue() + { + fixture.RedmineManager.AddWatcherToIssue(WATCHER_ISSUE_ID, WATCHER_USER_ID); + + var issue = fixture.RedmineManager.GetObject(WATCHER_ISSUE_ID.ToString(), new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.WATCHERS } }); + + Assert.NotNull(issue); + Assert.NotNull(issue.Watchers); + Assert.True(((List)issue.Watchers).Find(w => w.Id == WATCHER_USER_ID) != null, "Watcher was not added."); + } + + [Fact, Order(14)] + public void Should_Remove_Watcher_From_Issue() + { + fixture.RedmineManager.RemoveWatcherFromIssue(WATCHER_ISSUE_ID, WATCHER_USER_ID); + + var issue = fixture.RedmineManager.GetObject(WATCHER_ISSUE_ID.ToString(), new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.WATCHERS } }); + + Assert.NotNull(issue); + Assert.True(issue.Watchers == null || ((List)issue.Watchers).Find(w => w.Id == WATCHER_USER_ID) == null, "Watcher was not removed."); + } + + [Fact, Order(15)] + public void Should_Clone_Issue() + { + const string ISSUE_TO_CLONE_SUBJECT = "Issue to clone"; + const int ISSUE_TO_CLONE_CUSTOM_FIELD_ID = 13; + const string ISSUE_TO_CLONE_CUSTOM_FIELD_VALUE = "Issue to clone custom field value"; + const int CLONED_ISSUE_CUSTOM_FIELD_ID = 13; + const string CLONED_ISSUE_CUSTOM_FIELD_VALUE = "Cloned issue custom field value"; + + var icfc = (IssueCustomField)IdentifiableName.Create(ISSUE_TO_CLONE_CUSTOM_FIELD_ID); + icfc.Values = new List { new CustomFieldValue { Info = ISSUE_TO_CLONE_CUSTOM_FIELD_VALUE } }; + + var issueToClone = new Issue + { + Subject = ISSUE_TO_CLONE_SUBJECT, + CustomFields = new List() { icfc } + }; + + var clonedIssue = (Issue)issueToClone.Clone(); + + var icf = (IssueCustomField)IdentifiableName.Create(CLONED_ISSUE_CUSTOM_FIELD_ID); + icf.Values = new List { new CustomFieldValue { Info = CLONED_ISSUE_CUSTOM_FIELD_VALUE } }; + + clonedIssue.CustomFields.Add(icf); - //filters - private const string PROJECT_ID = "redmine-net-testq"; + Assert.True(issueToClone.CustomFields.Count != clonedIssue.CustomFields.Count); + } - //watcher - private const int WATCHER_ISSUE_ID = 96; - private const int WATCHER_USER_ID = 8; - - [Fact, Order(1)] - public void Should_Get_All_Issues() - { - var issues = fixture.RedmineManager.GetObjects(); - - Assert.NotNull(issues); - } - - [Fact, Order(2)] - public void Should_Get_Paginated_Issues() - { - const int NUMBER_OF_PAGINATED_ISSUES = 3; - const int OFFSET = 1; - - var issues = fixture.RedmineManager.GetPaginatedObjects(new NameValueCollection { { RedmineKeys.OFFSET, OFFSET.ToString() }, { RedmineKeys.LIMIT, NUMBER_OF_PAGINATED_ISSUES.ToString() }, { "sort", "id:desc" } }); - - Assert.NotNull(issues.Items); - //Assert.True(issues.Items.Count <= NUMBER_OF_PAGINATED_ISSUES, "number of issues ( "+ issues.Items.Count +" ) != " + NUMBER_OF_PAGINATED_ISSUES.ToString()); - } - - [Fact, Order(3)] - public void Should_Get_Issues_By_Project_Id() - { - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.PROJECT_ID, PROJECT_ID } }); - - Assert.NotNull(issues); - } - - [Fact, Order(4)] - public void Should_Get_Issues_By_subproject_Id() - { - const string SUBPROJECT_ID = "redmine-net-testr"; - - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.SUB_PROJECT_ID, SUBPROJECT_ID } }); - - Assert.NotNull(issues); - } - - [Fact, Order(5)] - public void Should_Get_Issues_By_Project_Without_Subproject() - { - const string ALL_SUBPROJECTS = "!*"; - - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.PROJECT_ID, PROJECT_ID }, { RedmineKeys.SUB_PROJECT_ID, ALL_SUBPROJECTS } }); - - Assert.NotNull(issues); - } - - [Fact, Order(6)] - public void Should_Get_Issues_By_Tracker() - { - const string TRACKER_ID = "3"; - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.TRACKER_ID, TRACKER_ID } }); - - Assert.NotNull(issues); - } - - [Fact, Order(7)] - public void Should_Get_Issues_By_Status() - { - const string STATUS_ID = "*"; - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.STATUS_ID, STATUS_ID } }); - Assert.NotNull(issues); - } - - [Fact, Order(8)] - public void Should_Get_Issues_By_Asignee() - { - const string ASSIGNED_TO_ID = "me"; - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.ASSIGNED_TO_ID, ASSIGNED_TO_ID } }); - - Assert.NotNull(issues); - } - - [Fact, Order(9)] - public void Should_Get_Issues_By_Custom_Field() - { - const string CUSTOM_FIELD_NAME = "cf_13"; - const string CUSTOM_FIELD_VALUE = "Testx"; - - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { CUSTOM_FIELD_NAME, CUSTOM_FIELD_VALUE } }); - - Assert.NotNull(issues); - } - - [Fact, Order(10)] - public void Should_Get_Issue_By_Id() - { - const string ISSUE_ID = "96"; - - var issue = fixture.RedmineManager.GetObject(ISSUE_ID, new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.CHILDREN + "," + RedmineKeys.ATTACHMENTS + "," + RedmineKeys.RELATIONS + "," + RedmineKeys.CHANGE_SETS + "," + RedmineKeys.JOURNALS + "," + RedmineKeys.WATCHERS } }); - - Assert.NotNull(issue); - //TODO: add conditions for all associated data if nedeed - } - - [Fact, Order(11)] - public void Should_Add_Issue() - { - const int NEW_ISSUE_PROJECT_ID = 9; - const int NEW_ISSUE_TRACKER_ID = 3; - const int NEW_ISSUE_STATUS_ID = 6; - const int NEW_ISSUE_PRIORITY_ID = 9; - const string NEW_ISSUE_SUBJECT = "Issue created using Rest API"; - const string NEW_ISSUE_DESCRIPTION = "Issue description..."; - const int NEW_ISSUE_CATEGORY_ID = 18; - const int NEW_ISSUE_FIXED_VERSION_ID = 9; - const int NEW_ISSUE_ASSIGNED_TO_ID = 8; - const int NEW_ISSUE_PARENT_ISSUE_ID = 96; - const int NEW_ISSUE_CUSTOM_FIELD_ID = 13; - const string NEW_ISSUE_CUSTOM_FIELD_VALUE = "Issue custom field completed"; - const bool NEW_ISSUE_IS_PRIVATE = true; - const int NEW_ISSUE_ESTIMATED_HOURS = 12; - DateTime NEW_ISSUE_START_DATE = DateTime.Now; - DateTime NEW_ISSUE_DUE_DATE = DateTime.Now.AddDays(10); - const int NEW_ISSUE_FIRST_WATCHER_ID = 2; - const int NEW_ISSUE_SECOND_WATCHER_ID = 8; - - Issue issue = new Issue - { - Project = new Project {Id = NEW_ISSUE_PROJECT_ID}, - Tracker = new IdentifiableName {Id = NEW_ISSUE_TRACKER_ID}, - Status = new IdentifiableName {Id = NEW_ISSUE_STATUS_ID}, - Priority = new IdentifiableName {Id = NEW_ISSUE_PRIORITY_ID}, - Subject = NEW_ISSUE_SUBJECT, - Description = NEW_ISSUE_DESCRIPTION, - Category = new IdentifiableName {Id = NEW_ISSUE_CATEGORY_ID}, - FixedVersion = new IdentifiableName {Id = NEW_ISSUE_FIXED_VERSION_ID}, - AssignedTo = new IdentifiableName {Id = NEW_ISSUE_ASSIGNED_TO_ID}, - ParentIssue = new IdentifiableName {Id = NEW_ISSUE_PARENT_ISSUE_ID}, - CustomFields = new List - { - new IssueCustomField - { - Id = NEW_ISSUE_CUSTOM_FIELD_ID, - Values = new List {new CustomFieldValue {Info = NEW_ISSUE_CUSTOM_FIELD_VALUE}} - } - }, - IsPrivate = NEW_ISSUE_IS_PRIVATE, - EstimatedHours = NEW_ISSUE_ESTIMATED_HOURS, - StartDate = NEW_ISSUE_START_DATE, - DueDate = NEW_ISSUE_DUE_DATE, - Watchers = new List - { - new Watcher {Id = NEW_ISSUE_FIRST_WATCHER_ID}, - new Watcher {Id = NEW_ISSUE_SECOND_WATCHER_ID} - } - }; - - Issue savedIssue = fixture.RedmineManager.CreateObject(issue); - - Assert.NotNull(savedIssue); - Assert.True(issue.Subject.Equals(savedIssue.Subject), "Issue subject is invalid."); - Assert.NotEqual(issue, savedIssue); - } - - [Fact, Order(12)] - public void Should_Update_Issue() - { - const string UPDATED_ISSUE_ID = "98"; - const string UPDATED_ISSUE_SUBJECT = "Issue updated subject"; - const string UPDATED_ISSUE_DESCRIPTION = null; - DateTime? UPDATED_ISSUE_START_DATE = null; - DateTime UPDATED_ISSUE_DUE_DATE = DateTime.Now.AddMonths(1); - const int UPDATED_ISSUE_PROJECT_ID = 9; - const int UPDATED_ISSUE_TRACKER_ID = 3; - const int UPDATED_ISSUE_PRIORITY_ID = 8; - const int UPDATED_ISSUE_CATEGORY_ID = 18; - const int UPDATED_ISSUE_ASSIGNED_TO_ID = 2; - const int UPDATED_ISSUE_PARENT_ISSUE_ID = 91; - const int UPDATED_ISSUE_CUSTOM_FIELD_ID = 13; - const string UPDATED_ISSUE_CUSTOM_FIELD_VALUE = "Another custom field completed"; - const int UPDATED_ISSUE_ESTIMATED_HOURS = 23; - const string UPDATED_ISSUE_NOTES = "A lot is changed"; - const bool UPDATED_ISSUE_PRIVATE_NOTES = true; - - var issue = fixture.RedmineManager.GetObject(UPDATED_ISSUE_ID, new NameValueCollection { { "include", "children,attachments,relations,changesets,journals,watchers" } }); - issue.Subject = UPDATED_ISSUE_SUBJECT; - issue.Description = UPDATED_ISSUE_DESCRIPTION; - issue.StartDate = UPDATED_ISSUE_START_DATE; - issue.DueDate = UPDATED_ISSUE_DUE_DATE; - issue.Project.Id = UPDATED_ISSUE_PROJECT_ID; - issue.Tracker.Id = UPDATED_ISSUE_TRACKER_ID; - issue.Priority.Id = UPDATED_ISSUE_PRIORITY_ID; - issue.Category.Id = UPDATED_ISSUE_CATEGORY_ID; - issue.AssignedTo.Id = UPDATED_ISSUE_ASSIGNED_TO_ID; - issue.ParentIssue.Id = UPDATED_ISSUE_PARENT_ISSUE_ID; - - if (issue.CustomFields != null) - issue.CustomFields.Add(new IssueCustomField { Id = UPDATED_ISSUE_CUSTOM_FIELD_ID, Values = new List { new CustomFieldValue { Info = UPDATED_ISSUE_CUSTOM_FIELD_VALUE } } }); - issue.EstimatedHours = UPDATED_ISSUE_ESTIMATED_HOURS; - issue.Notes = UPDATED_ISSUE_NOTES; - issue.PrivateNotes = UPDATED_ISSUE_PRIVATE_NOTES; - - fixture.RedmineManager.UpdateObject(UPDATED_ISSUE_ID, issue); - - var updatedIssue = fixture.RedmineManager.GetObject(UPDATED_ISSUE_ID, new NameValueCollection { { "include", "children,attachments,relations,changesets,journals,watchers" } }); - - Assert.NotNull(updatedIssue); - Assert.True(issue.Subject.Equals(updatedIssue.Subject), "Issue subject is invalid."); - - } - - [Fact, Order(99)] - public void Should_Delete_Issue() - { - const string DELETED_ISSUE_ID = "90"; - - RedmineException exception = (RedmineException)Record.Exception(() => fixture.RedmineManager.DeleteObject(DELETED_ISSUE_ID)); - Assert.Null (exception); - Assert.Throws(() => fixture.RedmineManager.GetObject(DELETED_ISSUE_ID, null)); - } - - [Fact, Order(13)] - public void Should_Add_Watcher_To_Issue() - { - fixture.RedmineManager.AddWatcherToIssue(WATCHER_ISSUE_ID, WATCHER_USER_ID); - - Issue issue = fixture.RedmineManager.GetObject(WATCHER_ISSUE_ID.ToString(), new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.WATCHERS } }); - - Assert.NotNull(issue); - Assert.NotNull(issue.Watchers); - Assert.True(((List)issue.Watchers).Find(w => w.Id == WATCHER_USER_ID) != null, "Watcher was not added."); - } - - [Fact, Order(14)] - public void Should_Remove_Watcher_From_Issue() - { - fixture.RedmineManager.RemoveWatcherFromIssue(WATCHER_ISSUE_ID, WATCHER_USER_ID); - - Issue issue = fixture.RedmineManager.GetObject(WATCHER_ISSUE_ID.ToString(), new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.WATCHERS } }); - - Assert.NotNull(issue); - Assert.True(issue.Watchers == null || ((List)issue.Watchers).Find(w => w.Id == WATCHER_USER_ID) == null, "Watcher was not removed."); - } - - [Fact, Order(15)] - public void Should_Clone_Issue() - { - const string ISSUE_TO_CLONE_SUBJECT = "Issue to clone"; - const int ISSUE_TO_CLONE_CUSTOM_FIELD_ID = 13; - const string ISSUE_TO_CLONE_CUSTOM_FIELD_VALUE = "Issue to clone custom field value"; - const int CLONED_ISSUE_CUSTOM_FIELD_ID = 13; - const string CLONED_ISSUE_CUSTOM_FIELD_VALUE = "Cloned issue custom field value"; - - var issueToClone = new Issue - { - Subject = ISSUE_TO_CLONE_SUBJECT, - CustomFields = new List - { - new IssueCustomField - { - Id = ISSUE_TO_CLONE_CUSTOM_FIELD_ID, - Values = - new List {new CustomFieldValue {Info = ISSUE_TO_CLONE_CUSTOM_FIELD_VALUE}} - } - } - }; - - - var clonedIssue = (Issue)issueToClone.Clone(); - clonedIssue.CustomFields.Add(new IssueCustomField - { - Id = CLONED_ISSUE_CUSTOM_FIELD_ID, - Values = new List { new CustomFieldValue { Info = CLONED_ISSUE_CUSTOM_FIELD_VALUE } } - }); - - Assert.True(issueToClone.CustomFields.Count != clonedIssue.CustomFields.Count); - } - - - [Fact] - public void Should_Get_Issue_With_Hours() - { - const string ISSUE_ID = "1"; - - var issue = fixture.RedmineManager.GetObject(ISSUE_ID, null); - - Assert.Equal(8.0f,issue.EstimatedHours); - Assert.Equal(8.0f,issue.TotalEstimatedHours); - Assert.Equal(5.0f,issue.TotalSpentHours); - Assert.Equal(5.0f,issue.SpentHours); - } - } + [Fact] + public void Should_Get_Issue_With_Hours() + { + const string ISSUE_ID = "1"; + + var issue = fixture.RedmineManager.GetObject(ISSUE_ID, null); + + Assert.Equal(8.0f, issue.EstimatedHours); + Assert.Equal(8.0f, issue.TotalEstimatedHours); + Assert.Equal(5.0f, issue.TotalSpentHours); + Assert.Equal(5.0f, issue.SpentHours); + } + } } \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs index 1bacda60..5cb2bad0 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs @@ -15,12 +15,12 @@ limitations under the License. */ using System.Collections.Specialized; -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "News")] #if !(NET20 || NET40) diff --git a/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs index 898df782..767849f4 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs @@ -16,13 +16,13 @@ limitations under the License. using System.Collections.Generic; using System.Collections.Specialized; -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "ProjectMemberships")] #if !(NET20 || NET40) @@ -48,8 +48,8 @@ public void Should_Add_Project_Membership() var pm = new ProjectMembership { - User = new IdentifiableName {Id = NEW_PROJECT_MEMBERSHIP_USER_ID}, - Roles = new List {new MembershipRole {Id = NEW_PROJECT_MEMBERSHIP_ROLE_ID}} + User = IdentifiableName.Create(NEW_PROJECT_MEMBERSHIP_USER_ID), + Roles = new List { (MembershipRole)IdentifiableName.Create(NEW_PROJECT_MEMBERSHIP_ROLE_ID)} }; var createdPm = fixture.RedmineManager.CreateObject(pm, PROJECT_IDENTIFIER); @@ -110,7 +110,7 @@ public void Should_Update_Project_Membership() const int UPDATED_PROJECT_MEMBERSHIP_ROLE_ID = 4; var pm = fixture.RedmineManager.GetObject(UPDATED_PROJECT_MEMBERSHIP_ID, null); - pm.Roles.Add(new MembershipRole {Id = UPDATED_PROJECT_MEMBERSHIP_ROLE_ID}); + pm.Roles.Add((MembershipRole)IdentifiableName.Create(UPDATED_PROJECT_MEMBERSHIP_ROLE_ID)); fixture.RedmineManager.UpdateObject(UPDATED_PROJECT_MEMBERSHIP_ID, pm); diff --git a/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs index eb8e3458..e1a79c98 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs @@ -16,13 +16,13 @@ limitations under the License. using System.Collections.Generic; using System.Collections.Specialized; -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Projects")] #if !(NET20 || NET40) @@ -62,7 +62,6 @@ private static Project CreateTestProjectWithAllPropertiesSet() HomePage = "www.redminetest.com", IsPublic = true, InheritMembers = true, - Status = ProjectStatus.Active, EnabledModules = new List { new ProjectEnabledModule {Name = "issue_tracking"}, @@ -70,8 +69,8 @@ private static Project CreateTestProjectWithAllPropertiesSet() }, Trackers = new List { - new ProjectTracker {Id = 1}, - new ProjectTracker {Id = 2} + (ProjectTracker) IdentifiableName.Create( 1), + (ProjectTracker) IdentifiableName.Create(2) } }; @@ -86,8 +85,8 @@ private static Project CreateTestProjectWithInvalidTrackersId() Identifier = "rnaptit", Trackers = new List { - new ProjectTracker {Id = 999999}, - new ProjectTracker {Id = 999998} + (ProjectTracker) IdentifiableName.Create(999999), + (ProjectTracker) IdentifiableName.Create(999998) } }; @@ -100,24 +99,24 @@ private static Project CreateTestProjectWithParentSet(int parentId) { Name = "Redmine Net Api Project With Parent Set", Identifier = "rnapwps", - Parent = new IdentifiableName {Id = parentId} + Parent = IdentifiableName.Create(parentId) }; return project; } - [Fact, Order(0)] - public void Should_Create_Project_With_Required_Properties() - { - var savedProject = fixture.RedmineManager.CreateObject(CreateTestProjectWithRequiredPropertiesSet()); + [Fact, Order(0)] + public void Should_Create_Project_With_Required_Properties() + { + var savedProject = fixture.RedmineManager.CreateObject(CreateTestProjectWithRequiredPropertiesSet()); - Assert.NotNull(savedProject); - Assert.NotEqual(0, savedProject.Id); - Assert.True(savedProject.Name.Equals(PROJECT_NAME), "Project name is invalid."); - Assert.True(savedProject.Identifier.Equals(PROJECT_IDENTIFIER), "Project identifier is invalid."); - } + Assert.NotNull(savedProject); + Assert.NotEqual(0, savedProject.Id); + Assert.True(savedProject.Name.Equals(PROJECT_NAME), "Project name is invalid."); + Assert.True(savedProject.Identifier.Equals(PROJECT_IDENTIFIER), "Project identifier is invalid."); + } - [Fact, Order(1)] + [Fact, Order(1)] public void Should_Create_Project_With_All_Properties_Set() { var savedProject = fixture.RedmineManager.CreateObject(CreateTestProjectWithAllPropertiesSet()); @@ -133,7 +132,7 @@ public void Should_Create_Project_With_All_Properties_Set() public void Should_Create_Project_With_Parent() { var parentProject = - fixture.RedmineManager.CreateObject(new Project {Identifier = "parent-project", Name = "Parent project"}); + fixture.RedmineManager.CreateObject(new Project { Identifier = "parent-project", Name = "Parent project" }); var savedProject = fixture.RedmineManager.CreateObject(CreateTestProjectWithParentSet(parentProject.Id)); @@ -141,90 +140,90 @@ public void Should_Create_Project_With_Parent() Assert.True(savedProject.Parent.Id == parentProject.Id, "Parent project is invalid."); } - [Fact, Order(3)] - public void Should_Get_Redmine_Net_Api_Project_Test_Project() - { - var project = fixture.RedmineManager.GetObject(PROJECT_IDENTIFIER, null); - - Assert.NotNull(project); - Assert.IsType(project); - Assert.Equal(project.Identifier, PROJECT_IDENTIFIER); - Assert.Equal(project.Name, PROJECT_NAME); - } - - [Fact, Order(4)] - public void Should_Get_Test_Project_With_All_Properties_Set() - { - var project = fixture.RedmineManager.GetObject("rnaptap", new NameValueCollection - { - {RedmineKeys.INCLUDE, string.Join(",", RedmineKeys.TRACKERS, RedmineKeys.ENABLED_MODULES)} - }); - - Assert.NotNull(project); - Assert.IsType(project); - Assert.True(project.Name.Equals("Redmine Net Api Project Test All Properties"), "Project name not equal."); - Assert.True(project.Identifier.Equals("rnaptap"), "Project identifier not equal."); - Assert.True(project.Description.Equals("This is a test project."), "Project description not equal."); - Assert.True(project.HomePage.Equals("www.redminetest.com"), "Project homepage not equal."); - Assert.True(project.IsPublic.Equals(true), - "Project is_public not equal. (This property is available starting with 2.6.0)"); - - Assert.NotNull(project.Trackers); - Assert.True(project.Trackers.Count == 2, "Trackers count != " + 2); - - Assert.NotNull(project.EnabledModules); - Assert.True(project.EnabledModules.Count == 2, - "Enabled modules count (" + project.EnabledModules.Count + ") != " + 2); - } - - [Fact, Order(5)] - public void Should_Update_Redmine_Net_Api_Project_Test_Project() - { - const string UPDATED_PROJECT_NAME = "Project created using API updated"; - const string UPDATED_PROJECT_DESCRIPTION = "Test project description updated"; - const string UPDATED_PROJECT_HOMEPAGE = "http://redminetestsupdated.com/"; - const bool UPDATED_PROJECT_ISPUBLIC = true; - const bool UPDATED_PROJECT_INHERIT_MEMBERS = false; - - var project = fixture.RedmineManager.GetObject(PROJECT_IDENTIFIER, null); - project.Name = UPDATED_PROJECT_NAME; - project.Description = UPDATED_PROJECT_DESCRIPTION; - project.HomePage = UPDATED_PROJECT_HOMEPAGE; - project.IsPublic = UPDATED_PROJECT_ISPUBLIC; - project.InheritMembers = UPDATED_PROJECT_INHERIT_MEMBERS; - - var exception = - (RedmineException) - Record.Exception(() => fixture.RedmineManager.UpdateObject(PROJECT_IDENTIFIER, project)); - Assert.Null(exception); - - var updatedProject = fixture.RedmineManager.GetObject(PROJECT_IDENTIFIER, null); - - Assert.True(updatedProject.Name.Equals(UPDATED_PROJECT_NAME), "Project name was not updated."); - Assert.True(updatedProject.Description.Equals(UPDATED_PROJECT_DESCRIPTION), - "Project description was not updated."); - Assert.True(updatedProject.HomePage.Equals(UPDATED_PROJECT_HOMEPAGE), "Project homepage was not updated."); - Assert.True(updatedProject.IsPublic.Equals(UPDATED_PROJECT_ISPUBLIC), - "Project is_public was not updated. (This property is available starting with 2.6.0)"); - } - - [Fact, Order(7)] - public void Should_Throw_Exception_When_Create_Empty_Project() - { - Assert.Throws(() => fixture.RedmineManager.CreateObject(new Project())); - } - - [Fact, Order(8)] - public void Should_Throw_Exception_When_Project_Identifier_Is_Invalid() - { - Assert.Throws(() => fixture.RedmineManager.GetObject("99999999", null)); - } - - [Fact, Order(9)] + [Fact, Order(3)] + public void Should_Get_Redmine_Net_Api_Project_Test_Project() + { + var project = fixture.RedmineManager.GetObject(PROJECT_IDENTIFIER, null); + + Assert.NotNull(project); + Assert.IsType(project); + Assert.Equal(project.Identifier, PROJECT_IDENTIFIER); + Assert.Equal(project.Name, PROJECT_NAME); + } + + [Fact, Order(4)] + public void Should_Get_Test_Project_With_All_Properties_Set() + { + var project = fixture.RedmineManager.GetObject("rnaptap", new NameValueCollection + { + {RedmineKeys.INCLUDE, string.Join(",", RedmineKeys.TRACKERS, RedmineKeys.ENABLED_MODULES)} + }); + + Assert.NotNull(project); + Assert.IsType(project); + Assert.True(project.Name.Equals("Redmine Net Api Project Test All Properties"), "Project name not equal."); + Assert.True(project.Identifier.Equals("rnaptap"), "Project identifier not equal."); + Assert.True(project.Description.Equals("This is a test project."), "Project description not equal."); + Assert.True(project.HomePage.Equals("www.redminetest.com"), "Project homepage not equal."); + Assert.True(project.IsPublic.Equals(true), + "Project is_public not equal. (This property is available starting with 2.6.0)"); + + Assert.NotNull(project.Trackers); + Assert.True(project.Trackers.Count == 2, "Trackers count != " + 2); + + Assert.NotNull(project.EnabledModules); + Assert.True(project.EnabledModules.Count == 2, + "Enabled modules count (" + project.EnabledModules.Count + ") != " + 2); + } + + [Fact, Order(5)] + public void Should_Update_Redmine_Net_Api_Project_Test_Project() + { + const string UPDATED_PROJECT_NAME = "Project created using API updated"; + const string UPDATED_PROJECT_DESCRIPTION = "Test project description updated"; + const string UPDATED_PROJECT_HOMEPAGE = "http://redminetestsupdated.com/"; + const bool UPDATED_PROJECT_ISPUBLIC = true; + const bool UPDATED_PROJECT_INHERIT_MEMBERS = false; + + var project = fixture.RedmineManager.GetObject(PROJECT_IDENTIFIER, null); + project.Name = UPDATED_PROJECT_NAME; + project.Description = UPDATED_PROJECT_DESCRIPTION; + project.HomePage = UPDATED_PROJECT_HOMEPAGE; + project.IsPublic = UPDATED_PROJECT_ISPUBLIC; + project.InheritMembers = UPDATED_PROJECT_INHERIT_MEMBERS; + + var exception = + (RedmineException) + Record.Exception(() => fixture.RedmineManager.UpdateObject(PROJECT_IDENTIFIER, project)); + Assert.Null(exception); + + var updatedProject = fixture.RedmineManager.GetObject(PROJECT_IDENTIFIER, null); + + Assert.True(updatedProject.Name.Equals(UPDATED_PROJECT_NAME), "Project name was not updated."); + Assert.True(updatedProject.Description.Equals(UPDATED_PROJECT_DESCRIPTION), + "Project description was not updated."); + Assert.True(updatedProject.HomePage.Equals(UPDATED_PROJECT_HOMEPAGE), "Project homepage was not updated."); + Assert.True(updatedProject.IsPublic.Equals(UPDATED_PROJECT_ISPUBLIC), + "Project is_public was not updated. (This property is available starting with 2.6.0)"); + } + + [Fact, Order(7)] + public void Should_Throw_Exception_When_Create_Empty_Project() + { + Assert.Throws(() => fixture.RedmineManager.CreateObject(new Project())); + } + + [Fact, Order(8)] + public void Should_Throw_Exception_When_Project_Identifier_Is_Invalid() + { + Assert.Throws(() => fixture.RedmineManager.GetObject("99999999", null)); + } + + [Fact, Order(9)] public void Should_Delete_Project_And_Parent_Project() { var exception = - (RedmineException) Record.Exception(() => fixture.RedmineManager.DeleteObject("rnapwps")); + (RedmineException)Record.Exception(() => fixture.RedmineManager.DeleteObject("rnapwps")); Assert.Null(exception); Assert.Throws(() => fixture.RedmineManager.GetObject("rnapwps", null)); @@ -239,7 +238,7 @@ public void Should_Delete_Project_And_Parent_Project() public void Should_Delete_Project_With_All_Properties_Set() { var exception = - (RedmineException) Record.Exception(() => fixture.RedmineManager.DeleteObject("rnaptap")); + (RedmineException)Record.Exception(() => fixture.RedmineManager.DeleteObject("rnaptap")); Assert.Null(exception); Assert.Throws(() => fixture.RedmineManager.GetObject("rnaptap", null)); } diff --git a/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs index 8297d5bb..3a472009 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs @@ -14,11 +14,11 @@ You may obtain a copy of the License at limitations under the License. */ -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Queries")] #if !(NET20 || NET40) diff --git a/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs index 6495b953..7ef31761 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs @@ -14,11 +14,11 @@ You may obtain a copy of the License at limitations under the License. */ -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Roles")] #if !(NET20 || NET40) diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs index 1e25dda4..451309bc 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs @@ -14,11 +14,11 @@ You may obtain a copy of the License at limitations under the License. */ -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "TimeEntryActivities")] #if !(NET20 || NET40) diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs index f798c7b4..8605e5c7 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs @@ -15,12 +15,12 @@ limitations under the License. */ using System; -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "TimeEntries")] #if !(NET20 || NET40) @@ -40,18 +40,18 @@ public void Should_Create_Time_Entry() { const int NEW_TIME_ENTRY_ISSUE_ID = 18; const int NEW_TIME_ENTRY_PROJECT_ID = 9; - DateTime NEW_TIME_ENTRY_DATE = DateTime.Now; + var newTimeEntryDate = DateTime.Now; const int NEW_TIME_ENTRY_HOURS = 1; const int NEW_TIME_ENTRY_ACTIVITY_ID = 16; const string NEW_TIME_ENTRY_COMMENTS = "Added time entry on project"; var timeEntry = new TimeEntry { - Issue = new IdentifiableName {Id = NEW_TIME_ENTRY_ISSUE_ID}, - Project = new IdentifiableName {Id = NEW_TIME_ENTRY_PROJECT_ID}, - SpentOn = NEW_TIME_ENTRY_DATE, + Issue = IdentifiableName.Create(NEW_TIME_ENTRY_ISSUE_ID), + Project = IdentifiableName.Create(NEW_TIME_ENTRY_PROJECT_ID), + SpentOn = newTimeEntryDate, Hours = NEW_TIME_ENTRY_HOURS, - Activity = new IdentifiableName {Id = NEW_TIME_ENTRY_ACTIVITY_ID}, + Activity = IdentifiableName.Create(NEW_TIME_ENTRY_ACTIVITY_ID), Comments = NEW_TIME_ENTRY_COMMENTS }; @@ -63,7 +63,7 @@ public void Should_Create_Time_Entry() Assert.NotNull(savedTimeEntry.Project); Assert.True(savedTimeEntry.Project.Id == NEW_TIME_ENTRY_PROJECT_ID, "Project id is invalid."); Assert.NotNull(savedTimeEntry.SpentOn); - Assert.True(DateTime.Compare(savedTimeEntry.SpentOn.Value.Date, NEW_TIME_ENTRY_DATE.Date) == 0, + Assert.True(DateTime.Compare(savedTimeEntry.SpentOn.Value.Date, newTimeEntryDate.Date) == 0, "Date is invalid."); Assert.True(savedTimeEntry.Hours == NEW_TIME_ENTRY_HOURS, "Hours value is not valid."); Assert.NotNull(savedTimeEntry.Activity); @@ -116,17 +116,16 @@ public void Should_Update_Time_Entry() const int UPDATED_TIME_ENTRY_HOURS = 3; const int UPDATED_TIME_ENTRY_ACTIVITY_ID = 17; const string UPDATED_TIME_ENTRY_COMMENTS = "Time entry updated"; - DateTime UPDATED_TIME_ENTRY_DATE = DateTime.Now.AddDays(-2); + var updatedTimeEntryDate = DateTime.Now.AddDays(-2); var timeEntry = fixture.RedmineManager.GetObject(UPDATED_TIME_ENTRY_ID, null); - timeEntry.Project.Id = UPDATED_TIME_ENTRY_PROJECT_ID; - timeEntry.Issue.Id = UPDATED_TIME_ENTRY_ISSUE_ID; - timeEntry.SpentOn = UPDATED_TIME_ENTRY_DATE; + timeEntry.Project = IdentifiableName.Create(UPDATED_TIME_ENTRY_PROJECT_ID); + timeEntry.Issue = IdentifiableName.Create(UPDATED_TIME_ENTRY_ISSUE_ID); + timeEntry.SpentOn = updatedTimeEntryDate; timeEntry.Hours = UPDATED_TIME_ENTRY_HOURS; timeEntry.Comments = UPDATED_TIME_ENTRY_COMMENTS; - if (timeEntry.Activity == null) timeEntry.Activity = new IdentifiableName(); - timeEntry.Activity.Id = UPDATED_TIME_ENTRY_ACTIVITY_ID; + if (timeEntry.Activity == null) timeEntry.Activity = IdentifiableName.Create(UPDATED_TIME_ENTRY_ACTIVITY_ID); fixture.RedmineManager.UpdateObject(UPDATED_TIME_ENTRY_ID, timeEntry); diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs index d941c902..847c7a4d 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs @@ -17,7 +17,7 @@ limitations under the License. using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Trackers")] #if !(NET20 || NET40) diff --git a/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs index 59fab743..569405a8 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs @@ -16,13 +16,13 @@ limitations under the License. using System.Collections.Specialized; using System.Globalization; -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Users")] #if !(NET20 || NET40) @@ -43,8 +43,8 @@ public UserTests(RedmineFixture fixture) private const string USER_LAST_NAME = "One"; private const string USER_EMAIL = "testUser@mail.com"; - private static string CREATED_USER_ID; - private static string CREATED_USER_WITH_ALL_PROP_ID; + private static string createdUserId; + private static string createdUserWithAllPropId; private static User CreateTestUserWithRequiredPropertiesSet() { @@ -67,7 +67,7 @@ public void Should_Create_User_With_Required_Properties() Assert.NotNull(savedUser); Assert.NotEqual(0, savedUser.Id); - CREATED_USER_ID = savedUser.Id.ToString(); + createdUserId = savedUser.Id.ToString(); Assert.True(savedUser.Login.Equals(USER_LOGIN), "User login is invalid."); Assert.True(savedUser.FirstName.Equals(USER_FIRST_NAME), "User first name is invalid."); @@ -105,7 +105,7 @@ public void Should_Create_User_With_All_Properties_Set() Assert.NotNull(savedUser); Assert.NotEqual(0, savedUser.Id); - CREATED_USER_WITH_ALL_PROP_ID = savedUser.Id.ToString(); + createdUserWithAllPropId = savedUser.Id.ToString(); Assert.True(savedUser.Login.Equals(login), "User login is invalid."); Assert.True(savedUser.FirstName.Equals(firstName), "User first name is invalid."); @@ -116,7 +116,7 @@ public void Should_Create_User_With_All_Properties_Set() [Fact, Order(4)] public void Should_Get_Created_User_With_Required_Fields() { - var user = fixture.RedmineManager.GetObject(CREATED_USER_ID, null); + var user = fixture.RedmineManager.GetObject(createdUserId, null); Assert.NotNull(user); Assert.IsType(user); @@ -155,10 +155,10 @@ public void Should_Update_User() [Fact, Order(6)] public void Should_Not_Update_User_With_Invalid_Properties() { - var user = fixture.RedmineManager.GetObject(CREATED_USER_ID, null); + var user = fixture.RedmineManager.GetObject(createdUserId, null); user.FirstName = ""; - Assert.Throws(() => fixture.RedmineManager.UpdateObject(CREATED_USER_ID, user)); + Assert.Throws(() => fixture.RedmineManager.UpdateObject(createdUserId, user)); } [Fact, Order(7)] @@ -166,9 +166,9 @@ public void Should_Delete_User() { var exception = (RedmineException) - Record.Exception(() => fixture.RedmineManager.DeleteObject(CREATED_USER_ID)); + Record.Exception(() => fixture.RedmineManager.DeleteObject(createdUserId)); Assert.Null(exception); - Assert.Throws(() => fixture.RedmineManager.GetObject(CREATED_USER_ID, null)); + Assert.Throws(() => fixture.RedmineManager.GetObject(createdUserId, null)); } @@ -177,19 +177,19 @@ public void Should_Delete_User_Created_With_All_Properties_Set() { var exception = (RedmineException) - Record.Exception(() => fixture.RedmineManager.DeleteObject(CREATED_USER_WITH_ALL_PROP_ID)); + Record.Exception(() => fixture.RedmineManager.DeleteObject(createdUserWithAllPropId)); Assert.Null(exception); - Assert.Throws(() => fixture.RedmineManager.GetObject(CREATED_USER_WITH_ALL_PROP_ID, null)); + Assert.Throws(() => fixture.RedmineManager.GetObject(createdUserWithAllPropId, null)); } [Fact, Order(9)] public void Should_Get_Current_User() { - User currentUser = fixture.RedmineManager.GetCurrentUser(); + var currentUser = fixture.RedmineManager.GetCurrentUser(); Assert.NotNull(currentUser); - Assert.Equal(currentUser.ApiKey, Helper.ApiKey); + Assert.Equal(currentUser.ApiKey, fixture.Credentials.ApiKey); } [Fact, Order(10)] @@ -210,7 +210,7 @@ public void Should_Get_Users_By_State() { var users = fixture.RedmineManager.GetObjects(new NameValueCollection() { - {RedmineKeys.STATUS, ((int) UserStatus.STATUS_ACTIVE).ToString(CultureInfo.InvariantCulture)} + {RedmineKeys.STATUS, ((int) UserStatus.StatusActive).ToString(CultureInfo.InvariantCulture)} }); Assert.NotNull(users); diff --git a/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs index 5f9660e6..34eda71b 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs @@ -16,14 +16,14 @@ limitations under the License. using System; using System.Collections.Specialized; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; -using redmine.net.api.Tests.Infrastructure; using Redmine.Net.Api.Types; using Xunit; using Version = Redmine.Net.Api.Types.Version; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { [Trait("Redmine-Net-Api", "Versions")] #if !(NET20 || NET40) @@ -47,7 +47,7 @@ public void Should_Create_Version() const string NEW_VERSION_NAME = "VersionTesting"; const VersionStatus NEW_VERSION_STATUS = VersionStatus.Locked; const VersionSharing NEW_VERSION_SHARING = VersionSharing.Hierarchy; - DateTime NEW_VERSION_DUE_DATE = DateTime.Now.AddDays(7); + DateTime newVersionDueDate = DateTime.Now.AddDays(7); const string NEW_VERSION_DESCRIPTION = "Version description"; var version = new Version @@ -55,7 +55,7 @@ public void Should_Create_Version() Name = NEW_VERSION_NAME, Status = NEW_VERSION_STATUS, Sharing = NEW_VERSION_SHARING, - DueDate = NEW_VERSION_DUE_DATE, + DueDate = newVersionDueDate, Description = NEW_VERSION_DESCRIPTION }; @@ -67,7 +67,7 @@ public void Should_Create_Version() Assert.True(savedVersion.Status.Equals(NEW_VERSION_STATUS), "Version status is invalid."); Assert.True(savedVersion.Sharing.Equals(NEW_VERSION_SHARING), "Version sharing is invalid."); Assert.NotNull(savedVersion.DueDate); - Assert.True(savedVersion.DueDate.Value.Date.Equals(NEW_VERSION_DUE_DATE.Date), "Version due date is invalid."); + Assert.True(savedVersion.DueDate.Value.Date.Equals(newVersionDueDate.Date), "Version due date is invalid."); Assert.True(savedVersion.Description.Equals(NEW_VERSION_DESCRIPTION), "Version description is invalid."); } @@ -119,13 +119,13 @@ public void Should_Update_Version() const VersionSharing UPDATED_VERSION_SHARING = VersionSharing.System; const string UPDATED_VERSION_DESCRIPTION = "Updated description"; - DateTime UPDATED_VERSION_DUE_DATE = DateTime.Now.AddMonths(1); + DateTime updatedVersionDueDate = DateTime.Now.AddMonths(1); var version = fixture.RedmineManager.GetObject(UPDATED_VERSION_ID, null); version.Name = UPDATED_VERSION_NAME; version.Status = UPDATED_VERSION_STATUS; version.Sharing = UPDATED_VERSION_SHARING; - version.DueDate = UPDATED_VERSION_DUE_DATE; + version.DueDate = updatedVersionDueDate; version.Description = UPDATED_VERSION_DESCRIPTION; fixture.RedmineManager.UpdateObject(UPDATED_VERSION_ID, version); diff --git a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs index 809c4e03..43fc92b3 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs @@ -14,18 +14,17 @@ You may obtain a copy of the License at limitations under the License. */ -using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; using Xunit; -namespace redmine.net.api.Tests.Tests.Sync +namespace Padi.RedmineApi.Tests.Tests.Sync { - [Trait("Redmine-Net-Api", "WikiPages")] + [Trait("Redmine-Net-Api", "WikiPages")] #if !(NET20 || NET40) [Collection("RedmineCollection")] #endif @@ -36,19 +35,19 @@ public WikiPageTests(RedmineFixture fixture) this.fixture = fixture; } - private readonly RedmineFixture fixture; + private readonly RedmineFixture fixture; - private const string PROJECT_ID = "redmine-net-api"; + private const string PROJECT_ID = "redmine-net-api"; private const string WIKI_PAGE_NAME = "Wiki"; [Fact, Order(1)] public void Should_Add_Or_Update_WikiPage() { - const string WIKI_PAGE_UPDATED_TEXT = "Updated again and again wiki page"; - const string WIKI_PAGE_COMMENT = "I did it through code"; + const string WIKI_PAGE_UPDATED_TEXT = "Updated again and again wiki page"; + const string WIKI_PAGE_COMMENT = "I did it through code"; - var page = fixture.RedmineManager.CreateOrUpdateWikiPage(PROJECT_ID, WIKI_PAGE_NAME, - new WikiPage {Text = WIKI_PAGE_UPDATED_TEXT, Comments = WIKI_PAGE_COMMENT}); + var page = fixture.RedmineManager.CreateOrUpdateWikiPage(PROJECT_ID, WIKI_PAGE_NAME, + new WikiPage { Text = WIKI_PAGE_UPDATED_TEXT, Comments = WIKI_PAGE_COMMENT }); Assert.NotNull(page); Assert.True(page.Title.Equals(WIKI_PAGE_NAME), "Wiki page name is invalid."); @@ -66,22 +65,21 @@ public void Should_Delete_Wiki_Page() [Fact, Order(2)] public void Should_Get_All_Wiki_Pages_By_Project_Id() { - const int NUMBER_OF_WIKI_PAGES = 2; + const int NUMBER_OF_WIKI_PAGES = 2; - var pages = (List) fixture.RedmineManager.GetAllWikiPages(PROJECT_ID); + var pages = fixture.RedmineManager.GetAllWikiPages(PROJECT_ID); Assert.NotNull(pages); Assert.True(pages.Count == NUMBER_OF_WIKI_PAGES, "Wiki pages count != " + NUMBER_OF_WIKI_PAGES); - Assert.True(pages.Exists(p => p.Title == WIKI_PAGE_NAME), - string.Format("Wiki page {0} does not exist", WIKI_PAGE_NAME)); + Assert.True(pages.Exists(p => p.Title == WIKI_PAGE_NAME), $"Wiki page {WIKI_PAGE_NAME} does not exist"); } [Fact, Order(3)] public void Should_Get_Wiki_Page_By_Title() { - const string WIKI_PAGE_TITLE = "Wiki2"; + const string WIKI_PAGE_TITLE = "Wiki2"; - var page = fixture.RedmineManager.GetWikiPage(PROJECT_ID, null, WIKI_PAGE_TITLE); + var page = fixture.RedmineManager.GetWikiPage(PROJECT_ID, null, WIKI_PAGE_TITLE); Assert.NotNull(page); Assert.True(page.Title.Equals(WIKI_PAGE_TITLE), "Wiki page title is invalid."); @@ -91,7 +89,7 @@ public void Should_Get_Wiki_Page_By_Title() public void Should_Get_Wiki_Page_By_Title_With_Attachments() { var page = fixture.RedmineManager.GetWikiPage(PROJECT_ID, - new NameValueCollection {{RedmineKeys.INCLUDE, RedmineKeys.ATTACHMENTS}}, WIKI_PAGE_NAME); + new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.ATTACHMENTS } }, WIKI_PAGE_NAME); Assert.NotNull(page); Assert.Equal(page.Title, WIKI_PAGE_NAME); @@ -101,8 +99,8 @@ public void Should_Get_Wiki_Page_By_Title_With_Attachments() [Fact, Order(5)] public void Should_Get_Wiki_Page_By_Version() { - const int WIKI_PAGE_VERSION = 1; - var oldPage = fixture.RedmineManager.GetWikiPage(PROJECT_ID, null, WIKI_PAGE_NAME, WIKI_PAGE_VERSION); + const int WIKI_PAGE_VERSION = 1; + var oldPage = fixture.RedmineManager.GetWikiPage(PROJECT_ID, null, WIKI_PAGE_NAME, WIKI_PAGE_VERSION); Assert.NotNull(oldPage); Assert.Equal(oldPage.Title, WIKI_PAGE_NAME); @@ -112,19 +110,16 @@ public void Should_Get_Wiki_Page_By_Version() [Fact] public void Should_Create_Wiki() { - var author = new IdentifiableName(); - author.Id = 1; - - var result = fixture.RedmineManager.CreateOrUpdateWikiPage("1","pagina2",new WikiPage - { - Text = "ana are mere multe si rosii!", - Comments = "asa", - Version = 1 + var result = fixture.RedmineManager.CreateOrUpdateWikiPage("1", "pagina2", new WikiPage + { + Text = "ana are mere multe si rosii!", + Comments = "asa", + Version = 1 }); - - Assert.NotNull(result); - + + Assert.NotNull(result); + } - + } } \ No newline at end of file From c8de7c1db8b54c20bb73f6b38ed5ee014eebb106 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Fri, 17 Apr 2020 20:56:15 +0300 Subject: [PATCH 187/601] Add .editorconfig (Test project) --- tests/redmine-net-api.Tests/.editorconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/redmine-net-api.Tests/.editorconfig diff --git a/tests/redmine-net-api.Tests/.editorconfig b/tests/redmine-net-api.Tests/.editorconfig new file mode 100644 index 00000000..e45eade4 --- /dev/null +++ b/tests/redmine-net-api.Tests/.editorconfig @@ -0,0 +1,10 @@ +# To learn more about .editorconfig see https://aka.ms/editorconfigdocs +root = true + +# All files +[*] +indent_style = space + +# Xml files +[*.xml] +indent_size = 2 From dad5819c13cc5f517e1e655052c84fe2c1333ba7 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Fri, 17 Apr 2020 20:57:13 +0300 Subject: [PATCH 188/601] Add usersecrets & fix redmine fixture --- tests/redmine-net-api.Tests/Helper.cs | 27 --- .../Properties/launchSettings.json | 11 ++ .../RedmineCredentials.cs | 10 + tests/redmine-net-api.Tests/RedmineFixture.cs | 27 +-- tests/redmine-net-api.Tests/TestHelper.cs | 40 ++++ .../Tests/RedmineTest.cs | 29 +-- tests/redmine-net-api.Tests/appsettings.json | 8 + .../redmine-net-api.Tests.csproj | 173 +++++++++++++++++- 8 files changed, 267 insertions(+), 58 deletions(-) delete mode 100644 tests/redmine-net-api.Tests/Helper.cs create mode 100644 tests/redmine-net-api.Tests/Properties/launchSettings.json create mode 100644 tests/redmine-net-api.Tests/RedmineCredentials.cs create mode 100644 tests/redmine-net-api.Tests/TestHelper.cs create mode 100644 tests/redmine-net-api.Tests/appsettings.json diff --git a/tests/redmine-net-api.Tests/Helper.cs b/tests/redmine-net-api.Tests/Helper.cs deleted file mode 100644 index b54b7cd3..00000000 --- a/tests/redmine-net-api.Tests/Helper.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Configuration; - -namespace redmine.net.api.Tests -{ - internal static class Helper - { - public static string Uri { get; private set; } - - public static string ApiKey { get; private set; } - - public static string Username { get; private set; } - - public static string Password { get; private set; } - - static Helper() - { - Uri = "http://192.168.1.53:8089/"; - - ApiKey = "a96e35d02bc6a6dbe655b83a2f6db57b82df2dff"; - - - Username = "zapadi"; - Password = "1qaz2wsx"; - } - } -} - diff --git a/tests/redmine-net-api.Tests/Properties/launchSettings.json b/tests/redmine-net-api.Tests/Properties/launchSettings.json new file mode 100644 index 00000000..18db8cac --- /dev/null +++ b/tests/redmine-net-api.Tests/Properties/launchSettings.json @@ -0,0 +1,11 @@ +{ + "profiles": { + "redmine-net-api.Tests": { + "commandName": "Project", + "environmentVariables": { + "BitVault410": "bitVault410", + "Local410": "local410" + } + } + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/RedmineCredentials.cs b/tests/redmine-net-api.Tests/RedmineCredentials.cs new file mode 100644 index 00000000..380def2b --- /dev/null +++ b/tests/redmine-net-api.Tests/RedmineCredentials.cs @@ -0,0 +1,10 @@ +namespace Padi.RedmineApi.Tests +{ + public sealed class RedmineCredentials + { + public string Uri { get; set; } + public string ApiKey { get; set; } + public string Username { get; set; } + public string Password { get; set; } + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/RedmineFixture.cs b/tests/redmine-net-api.Tests/RedmineFixture.cs index 7c8a5a39..89988e18 100644 --- a/tests/redmine-net-api.Tests/RedmineFixture.cs +++ b/tests/redmine-net-api.Tests/RedmineFixture.cs @@ -1,29 +1,30 @@ - -using System.Diagnostics; +using System.Diagnostics; using Redmine.Net.Api; -namespace redmine.net.api.Tests +namespace Padi.RedmineApi.Tests { public class RedmineFixture - { + { + public RedmineCredentials Credentials { get; private set; } public RedmineManager RedmineManager { get; set; } public RedmineFixture () - { - SetMimeTypeXML(); - SetMimeTypeJSON(); + { + Credentials = TestHelper.GetApplicationConfiguration(); + SetMimeTypeXml(); + SetMimeTypeJson(); } - [Conditional("JSON")] - private void SetMimeTypeJSON() + [Conditional("DEBUG_JSON")] + private void SetMimeTypeJson() { - RedmineManager = new RedmineManager(Helper.Uri, Helper.ApiKey, MimeFormat.Json); + RedmineManager = new RedmineManager(Credentials.Uri, Credentials.ApiKey, MimeFormat.Json); } - [Conditional("XML")] - private void SetMimeTypeXML() + [Conditional("DEBUG_XML")] + private void SetMimeTypeXml() { - RedmineManager = new RedmineManager(Helper.Uri, Helper.ApiKey); + RedmineManager = new RedmineManager(Credentials.Uri, Credentials.ApiKey); } } } \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/TestHelper.cs b/tests/redmine-net-api.Tests/TestHelper.cs new file mode 100644 index 00000000..377f9ab6 --- /dev/null +++ b/tests/redmine-net-api.Tests/TestHelper.cs @@ -0,0 +1,40 @@ +using System; +using System.IO; +using Microsoft.Extensions.Configuration; + +namespace Padi.RedmineApi.Tests +{ + internal static class TestHelper + { + public static IConfigurationRoot GetIConfigurationRoot(string outputPath) + { + var environment = Environment.GetEnvironmentVariable("Environment"); + + return new ConfigurationBuilder() + .SetBasePath(outputPath) + .AddJsonFile("appsettings.json", optional: true) + .AddJsonFile($"appsettings.{environment}.json", optional: true) + .AddUserSecrets("f8b9e946-b547-42f1-861c-f719dca00a84") + .AddEnvironmentVariables() + .Build(); + } + + public static RedmineCredentials GetApplicationConfiguration(string outputPath = "") + { + if (string.IsNullOrWhiteSpace(outputPath)) + { + outputPath = Directory.GetCurrentDirectory(); + } + + var credentials = new RedmineCredentials(); + + var iConfig = GetIConfigurationRoot(outputPath); + + iConfig + .GetSection("Credentials") + .Bind(credentials); + + return credentials; + } + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/RedmineTest.cs b/tests/redmine-net-api.Tests/Tests/RedmineTest.cs index 98f4acff..83157397 100644 --- a/tests/redmine-net-api.Tests/Tests/RedmineTest.cs +++ b/tests/redmine-net-api.Tests/Tests/RedmineTest.cs @@ -1,54 +1,59 @@ - -using System; -using redmine.net.api.Tests.Infrastructure; +using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Xunit; -namespace redmine.net.api.Tests.Tests +namespace Padi.RedmineApi.Tests.Tests { [Trait("Redmine-api", "Credentials")] #if !(NET20 || NET40) [Collection("RedmineCollection")] #endif [Order(1)] - public class RedmineTest + public sealed class RedmineTest { + private static readonly RedmineCredentials Credentials; + + + static RedmineTest() + { + Credentials = TestHelper.GetApplicationConfiguration(); + } [Fact] public void Should_Throw_Redmine_Exception_When_Host_Is_Null() { - Assert.Throws(() => new RedmineManager(null, Helper.Username, Helper.Password)); + Assert.Throws(() => new RedmineManager(null, Credentials.Username, Credentials.Password)); } [Fact] public void Should_Throw_Redmine_Exception_When_Host_Is_Empty() { - Assert.Throws(() => new RedmineManager(string.Empty, Helper.Username, Helper.Password)); + Assert.Throws(() => new RedmineManager(string.Empty, Credentials.Username, Credentials.Password)); } [Fact] public void Should_Throw_Redmine_Exception_When_Host_Is_Invalid() { - Assert.Throws(() => new RedmineManager("invalid<>", Helper.Username, Helper.Password)); + Assert.Throws(() => new RedmineManager("invalid<>", Credentials.Username, Credentials.Password)); } [Fact] public void Should_Connect_With_Username_And_Password() { - var a = new RedmineManager(Helper.Uri, Helper.Username, Helper.Password); + var a = new RedmineManager(Credentials.Uri, Credentials.Username, Credentials.Password); var currentUser = a.GetCurrentUser(); Assert.NotNull(currentUser); - Assert.True(currentUser.Login.Equals(Helper.Username), "usernames not equals."); + Assert.True(currentUser.Login.Equals(Credentials.Username), "usernames not equals."); } [Fact] public void Should_Connect_With_Api_Key() { - var a = new RedmineManager(Helper.Uri, Helper.ApiKey); + var a = new RedmineManager(Credentials.Uri, Credentials.ApiKey); var currentUser = a.GetCurrentUser(); Assert.NotNull(currentUser); - Assert.True(currentUser.ApiKey.Equals(Helper.ApiKey),"api keys not equals."); + Assert.True(currentUser.ApiKey.Equals(Credentials.ApiKey),"api keys not equals."); } } } diff --git a/tests/redmine-net-api.Tests/appsettings.json b/tests/redmine-net-api.Tests/appsettings.json new file mode 100644 index 00000000..9b28a4ca --- /dev/null +++ b/tests/redmine-net-api.Tests/appsettings.json @@ -0,0 +1,8 @@ +{ + "Credentials": { + "Uri": "$Uri", + "ApiKey": "$ApiKey", + "Username": "$Username", + "Password": "$Password" + } +} diff --git a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index e809acc2..70a6b1d5 100644 --- a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -3,13 +3,14 @@ - false + false net48 - net45;net451;net452;net46;net461;net462;net47;net471;net472;net48; + net451;net452;net46;net461;net462;net47;net471;net472;net48; false - redmine.net.api.Tests - redmine-net-api.Tests + Padi.RedmineApi.Tests + Padi.RedmineApi.Tests f8b9e946-b547-42f1-861c-f719dca00a84 + Release;Debug;DebugJson @@ -26,11 +27,11 @@ - NET45;NETFULL + DEBUG;NET45;NETFULL; - NET451;NETFULL + DEBUG;NET451;NETFULL;DEBUG_JSON @@ -66,6 +67,42 @@ NET48;NETFULL + + false + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE;DEBUG_XML + prompt + 4 + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE;DEBUG_JSON + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + @@ -73,6 +110,16 @@ + + + + + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -105,5 +152,119 @@ + + + PreserveNewest + + + + + + 1.1.0 + + + 1.1.0 + + + 1.1.0 + + + + + + 1.1.0 + + + 1.1.0 + + + 1.1.0 + + + + + + 1.1.0 + + + 1.1.0 + + + 1.1.0 + + + + + + 1.1.0 + + + 1.1.0 + + + 1.1.0 + + + + + + 1.1.0 + + + 1.1.0 + + + 1.1.0 + + + + + + 1.1.0 + + + 1.1.0 + + + 1.1.0 + + + + + + 1.1.0 + + + 1.1.0 + + + 1.1.0 + + + + + + 1.1.0 + + + 1.1.0 + + + 1.1.0 + + + + + + 1.1.0 + + + 1.1.0 + + + 1.1.0 + + + \ No newline at end of file From 045d62f63859fbdcbb0db9ed702eb6fb32f2b4e5 Mon Sep 17 00:00:00 2001 From: Zapadi Date: Sat, 18 Apr 2020 13:57:03 +0300 Subject: [PATCH 189/601] Remove unnecessary try/catch --- .../Internals/WebApiAsyncHelper.cs | 78 +++--------- src/redmine-net-api/Internals/WebApiHelper.cs | 119 +++++++++--------- src/redmine-net-api/RedirectType.cs | 21 ++++ src/redmine-net-api/RedmineWebClient.cs | 40 ++---- 4 files changed, 105 insertions(+), 153 deletions(-) create mode 100644 src/redmine-net-api/RedirectType.cs diff --git a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs index 9b463cd9..0962c043 100644 --- a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs +++ b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs @@ -42,25 +42,16 @@ public static async Task ExecuteUpload(RedmineManager redmineManager, st { using (var wc = redmineManager.CreateWebClient(null)) { - try + if (actionType == HttpVerbs.POST || actionType == HttpVerbs.DELETE || actionType == HttpVerbs.PUT || + actionType == HttpVerbs.PATCH) { - if (actionType == HttpVerbs.POST || actionType == HttpVerbs.DELETE || actionType == HttpVerbs.PUT || - actionType == HttpVerbs.PATCH) - { - return await wc.UploadStringTaskAsync(address, actionType, data).ConfigureAwait(false); - } - } - catch (WebException webException) - { - webException.HandleWebException(redmineManager.Serializer); + return await wc.UploadStringTaskAsync(address, actionType, data).ConfigureAwait(false); } } return null; } - - /// /// Executes the download. /// @@ -75,16 +66,8 @@ public static async Task ExecuteDownload(RedmineManager redmineManager, st { using (var wc = redmineManager.CreateWebClient(parameters)) { - try - { - var response = await wc.DownloadStringTaskAsync(address).ConfigureAwait(false); - return redmineManager.Serializer.Deserialize(response); - } - catch (WebException webException) - { - webException.HandleWebException(redmineManager.Serializer); - } - return default(T); + var response = await wc.DownloadStringTaskAsync(address).ConfigureAwait(false); + return redmineManager.Serializer.Deserialize(response); } } @@ -97,21 +80,15 @@ public static async Task ExecuteDownload(RedmineManager redmineManager, st /// The parameters. /// public static async Task> ExecuteDownloadList(RedmineManager redmineManager, string address, - NameValueCollection parameters = null) where T : class, new() { using (var wc = redmineManager.CreateWebClient(parameters)) { - try - { - var response = await wc.DownloadStringTaskAsync(address).ConfigureAwait(false); - var result = redmineManager.Serializer.DeserializeToPagedResults(response); - if (result != null) - return new List(result.Items); - } - catch (WebException webException) + var response = await wc.DownloadStringTaskAsync(address).ConfigureAwait(false); + var result = redmineManager.Serializer.DeserializeToPagedResults(response); + if (result != null) { - webException.HandleWebException(redmineManager.Serializer); + return new List(result.Items); } return null; } @@ -127,21 +104,12 @@ public static async Task> ExecuteDownloadList(RedmineManager redmineM /// The parameters. /// public static async Task> ExecuteDownloadPaginatedList(RedmineManager redmineManager, string address, - NameValueCollection parameters = null) where T : class, new() { using (var wc = redmineManager.CreateWebClient(parameters)) { - try - { - var response = await wc.DownloadStringTaskAsync(address).ConfigureAwait(false); - return redmineManager.Serializer.DeserializeToPagedResults(response); - } - catch (WebException webException) - { - webException.HandleWebException(redmineManager.Serializer); - } - return null; + var response = await wc.DownloadStringTaskAsync(address).ConfigureAwait(false); + return redmineManager.Serializer.DeserializeToPagedResults(response); } } @@ -155,15 +123,7 @@ public static async Task ExecuteDownloadFile(RedmineManager redmineManag { using (var wc = redmineManager.CreateWebClient(null, true)) { - try - { - return await wc.DownloadDataTaskAsync(address).ConfigureAwait(false); - } - catch (WebException webException) - { - webException.HandleWebException(redmineManager.Serializer); - } - return null; + return await wc.DownloadDataTaskAsync(address).ConfigureAwait(false); } } @@ -178,17 +138,9 @@ public static async Task ExecuteUploadFile(RedmineManager redmineManager { using (var wc = redmineManager.CreateWebClient(null, true)) { - try - { - var response = await wc.UploadDataTaskAsync(address, data).ConfigureAwait(false); - var responseString = Encoding.ASCII.GetString(response); - return redmineManager.Serializer.Deserialize(responseString); - } - catch (WebException webException) - { - webException.HandleWebException(redmineManager.Serializer); - } - return null; + var response = await wc.UploadDataTaskAsync(address, data).ConfigureAwait(false); + var responseString = Encoding.ASCII.GetString(response); + return redmineManager.Serializer.Deserialize(responseString); } } } diff --git a/src/redmine-net-api/Internals/WebApiHelper.cs b/src/redmine-net-api/Internals/WebApiHelper.cs index fcb0284c..29766b27 100644 --- a/src/redmine-net-api/Internals/WebApiHelper.cs +++ b/src/redmine-net-api/Internals/WebApiHelper.cs @@ -14,9 +14,12 @@ You may obtain a copy of the License at limitations under the License. */ +using System; using System.Collections.Specialized; +using System.ComponentModel; using System.Net; using System.Text; +using System.Threading; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; @@ -41,17 +44,10 @@ public static void ExecuteUpload(RedmineManager redmineManager, string address, { using (var wc = redmineManager.CreateWebClient(parameters)) { - try + if (actionType == HttpVerbs.POST || actionType == HttpVerbs.DELETE || actionType == HttpVerbs.PUT || + actionType == HttpVerbs.PATCH) { - if (actionType == HttpVerbs.POST || actionType == HttpVerbs.DELETE || actionType == HttpVerbs.PUT || - actionType == HttpVerbs.PATCH) - { - wc.UploadString(address, actionType, data); - } - } - catch (WebException webException) - { - webException.HandleWebException(redmineManager.Serializer); + wc.UploadString(address, actionType, data); } } } @@ -70,20 +66,13 @@ public static T ExecuteUpload(RedmineManager redmineManager, string address, { using (var wc = redmineManager.CreateWebClient(null)) { - try + if (actionType == HttpVerbs.POST || actionType == HttpVerbs.DELETE || actionType == HttpVerbs.PUT || + actionType == HttpVerbs.PATCH) { - if (actionType == HttpVerbs.POST || actionType == HttpVerbs.DELETE || actionType == HttpVerbs.PUT || - actionType == HttpVerbs.PATCH) - { - var response = wc.UploadString(address, actionType, data); - return redmineManager.Serializer.Deserialize(response); - } + var response = wc.UploadString(address, actionType, data); + return redmineManager.Serializer.Deserialize(response); } - catch (WebException webException) - { - webException.HandleWebException(redmineManager.Serializer); - } - return default(T); + return default; } } @@ -101,17 +90,13 @@ public static T ExecuteDownload(RedmineManager redmineManager, string address { using (var wc = redmineManager.CreateWebClient(parameters)) { - try - { - var response = wc.DownloadString(address); - if (!string.IsNullOrEmpty(response)) - return redmineManager.Serializer.Deserialize(response); - } - catch (WebException webException) + var response = wc.DownloadString(address); + if (!string.IsNullOrEmpty(response)) { - webException.HandleWebException(redmineManager.Serializer); + return redmineManager.Serializer.Deserialize(response); } - return default(T); + + return default; } } @@ -128,16 +113,35 @@ public static PagedResults ExecuteDownloadList(RedmineManager redmineManag { using (var wc = redmineManager.CreateWebClient(parameters)) { - try - { - var response = wc.DownloadString(address); - return redmineManager.Serializer.DeserializeToPagedResults(response); - } - catch (WebException webException) + var response = wc.DownloadString(address); + return redmineManager.Serializer.DeserializeToPagedResults(response); + } + } + + /// + /// Executes the download file. + /// + /// The redmine manager. + /// The address. + /// The name of the file to be placed on the local computer. + /// + public static void ExecuteDownloadFile(RedmineManager redmineManager, string address, string filename) + { + using (var wc = redmineManager.CreateWebClient(null, true)) + { + wc.DownloadProgressChanged += HandleDownloadProgress; + wc.DownloadFileCompleted += HandleDownloadComplete; + + var syncObject = new object(); + lock (syncObject) { - webException.HandleWebException(redmineManager.Serializer); + wc.DownloadFileAsync(new Uri(address), filename, syncObject); + //This would block the thread until download completes + Monitor.Wait(syncObject); } - return null; + + wc.DownloadProgressChanged -= HandleDownloadProgress; + wc.DownloadFileCompleted -= HandleDownloadComplete; } } @@ -151,18 +155,23 @@ public static byte[] ExecuteDownloadFile(RedmineManager redmineManager, string a { using (var wc = redmineManager.CreateWebClient(null, true)) { - try - { - return wc.DownloadData(address); - } - catch (WebException webException) - { - webException.HandleWebException(redmineManager.Serializer); - } - return null; + return wc.DownloadData(address); } } + private static void HandleDownloadComplete(object sender, AsyncCompletedEventArgs e) + { + lock (e.UserState) + { + //releases blocked thread + Monitor.Pulse(e.UserState); + } + } + + private static void HandleDownloadProgress(object sender, DownloadProgressChangedEventArgs e) + { + } + /// /// Executes the upload file. /// @@ -174,17 +183,9 @@ public static Upload ExecuteUploadFile(RedmineManager redmineManager, string add { using (var wc = redmineManager.CreateWebClient(null, true)) { - try - { - var response = wc.UploadData(address, data); - var responseString = Encoding.ASCII.GetString(response); - return redmineManager.Serializer.Deserialize(responseString); - } - catch (WebException webException) - { - webException.HandleWebException(redmineManager.Serializer); - } - return null; + var response = wc.UploadData(address, data); + var responseString = Encoding.ASCII.GetString(response); + return redmineManager.Serializer.Deserialize(responseString); } } } diff --git a/src/redmine-net-api/RedirectType.cs b/src/redmine-net-api/RedirectType.cs new file mode 100644 index 00000000..24cbc1c2 --- /dev/null +++ b/src/redmine-net-api/RedirectType.cs @@ -0,0 +1,21 @@ +namespace Redmine.Net.Api +{ + /// + /// + /// + public enum RedirectType + { + /// + /// + /// + None, + /// + /// + /// + OnlyHost, + /// + /// + /// + All + }; +} \ No newline at end of file diff --git a/src/redmine-net-api/RedmineWebClient.cs b/src/redmine-net-api/RedmineWebClient.cs index 391cf841..12ae7278 100644 --- a/src/redmine-net-api/RedmineWebClient.cs +++ b/src/redmine-net-api/RedmineWebClient.cs @@ -130,8 +130,8 @@ protected override WebRequest GetWebRequest(Uri address) DecompressionMethods.None; httpWebRequest.PreAuthenticate = PreAuthenticate; httpWebRequest.KeepAlive = KeepAlive; - httpWebRequest.UseDefaultCredentials = UseDefaultCredentials; httpWebRequest.Credentials = Credentials; + httpWebRequest.UseDefaultCredentials = (httpWebRequest.Credentials == null); httpWebRequest.UserAgent = UA; httpWebRequest.CachePolicy = CachePolicy; @@ -171,15 +171,14 @@ protected override WebResponse GetWebResponse(WebRequest request) webException.HandleWebException(RedmineSerializer); } - if (response == null) + switch (response) { - return null; - } - - if (response is HttpWebResponse) - { - HandleRedirect(request, response); - HandleCookies(request, response); + case null: + return null; + case HttpWebResponse _: + HandleRedirect(request, response); + HandleCookies(request, response); + break; } return response; @@ -243,9 +242,7 @@ protected void HandleRedirect(WebRequest request, WebResponse response) redirectUrl = string.Empty; } } - - - + /// /// Handles additional cookies /// @@ -266,23 +263,4 @@ protected void HandleCookies(WebRequest request, WebResponse response) CookieContainer.Add(col); } } - - /// - /// - /// - public enum RedirectType - { - /// - /// - /// - None, - /// - /// - /// - OnlyHost, - /// - /// - /// - All - }; } \ No newline at end of file From 1cb050820ec8f4bba6a40605620c64e8eefa5408 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Apr 2020 15:19:21 +0300 Subject: [PATCH 190/601] Remove TargetFramework --- src/redmine-net-api/redmine-net-api.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 76c99e9c..333a6d42 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -1,8 +1,8 @@ - + - net48 + net20;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48; false Redmine.Net.Api From 208035ade9bf47635bea83b418d34656e2884852 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Apr 2020 15:19:54 +0300 Subject: [PATCH 191/601] Update Microsoft.CodeAnalysis.FxCopAnalyzers --- src/redmine-net-api/redmine-net-api.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 333a6d42..c443405a 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -1,4 +1,4 @@ - + @@ -108,7 +108,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive From f669b90aea0323e5fc1e8fbde5eed8c86fb35b06 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Apr 2020 15:20:39 +0300 Subject: [PATCH 192/601] Fix #262 --- src/redmine-net-api/Types/IssueRelation.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index a6bae1f1..9cec2cc4 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -123,7 +123,7 @@ public override void ReadXml(XmlReader reader) public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.ISSUE_TO_ID, IssueToId.ToString(CultureInfo.InvariantCulture)); - writer.WriteElementString(RedmineKeys.RELATION_TYPE, Type.ToString()); + writer.WriteElementString(RedmineKeys.RELATION_TYPE, Type.ToString().ToLowerInvariant()); if (Type == IssueRelationType.Precedes || Type == IssueRelationType.Follows) { writer.WriteValueOrEmpty(RedmineKeys.DELAY, Delay); @@ -141,7 +141,7 @@ public override void WriteJson(JsonWriter writer) using (new JsonObject(writer, RedmineKeys.RELATION)) { writer.WriteProperty(RedmineKeys.ISSUE_TO_ID, IssueToId); - writer.WriteProperty(RedmineKeys.RELATION_TYPE, Type); + writer.WriteProperty(RedmineKeys.RELATION_TYPE, Type.ToString().ToLowerInvariant()); if (Type == IssueRelationType.Precedes || Type == IssueRelationType.Follows) { writer.WriteValueOrEmpty(RedmineKeys.DELAY, Delay); From e84795dbba3be3a719976aa2d615296b442a7e6e Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Apr 2020 15:45:07 +0300 Subject: [PATCH 193/601] Add issue and PR template markdown --- ISSUE_TEMPLATE.md | 6 ++++++ PULL_REQUEST_TEMPLATE.md | 0 redmine-net-api.sln | 2 ++ 3 files changed, 8 insertions(+) create mode 100644 ISSUE_TEMPLATE.md create mode 100644 PULL_REQUEST_TEMPLATE.md diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md new file mode 100644 index 00000000..9e322a34 --- /dev/null +++ b/ISSUE_TEMPLATE.md @@ -0,0 +1,6 @@ +When creating a new issue, please make sure the following information is part of your issue description (if applicable). + +- Which Redmine server version are you using +- Which Redmine.Net.Api version are you using +- Which serialization type (xml or json) are you using +- A list of steps or a gist or a github repository which can be easily used to reproduce your case. \ No newline at end of file diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..e69de29b diff --git a/redmine-net-api.sln b/redmine-net-api.sln index 07ba8903..65e353b8 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -20,6 +20,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionFolder", "SolutionF logo.png = logo.png README.md = README.md redmine-net-api.snk = redmine-net-api.snk + ISSUE_TEMPLATE.md = ISSUE_TEMPLATE.md + PULL_REQUEST_TEMPLATE.md = PULL_REQUEST_TEMPLATE.md EndProjectSection EndProject Global From b88d58ed2f7ed80fd2ff62bc625ba43e5279d0d0 Mon Sep 17 00:00:00 2001 From: Necati Meral Date: Tue, 28 Apr 2020 15:20:10 +0200 Subject: [PATCH 194/601] Fix #263 Consider generalizing deserialization of enums --- src/redmine-net-api/Types/IssueRelation.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index a6bae1f1..244fb1ef 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -173,10 +173,20 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.DELAY: Delay = reader.ReadAsInt32(); break; case RedmineKeys.ISSUE_ID: IssueId = reader.ReadAsInt(); break; case RedmineKeys.ISSUE_TO_ID: IssueToId = reader.ReadAsInt(); break; - case RedmineKeys.RELATION_TYPE: Type = (IssueRelationType)reader.ReadAsInt(); break; + case RedmineKeys.RELATION_TYPE: Type = ReadIssueRelationType(reader); break; } } } + + IssueRelationType ReadIssueRelationType(JsonReader reader) + { + var enumValue = reader.ReadAsString(); + if (short.TryParse(enumValue, out short enumId)) + { + return (IssueRelationType)enumId; + } + return (IssueRelationType)Enum.Parse(typeof(IssueRelationType), enumValue, true); + } #endregion #region Implementation of IEquatable From 3d5ffcc9ddae66a194f6594898a1d90b1a2bc73a Mon Sep 17 00:00:00 2001 From: Necati Meral Date: Tue, 28 Apr 2020 16:09:37 +0200 Subject: [PATCH 195/601] Fixed json serialization of `IssueRelation.Type` --- src/redmine-net-api/Types/IssueRelation.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 244fb1ef..0bd4c58b 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -141,7 +141,11 @@ public override void WriteJson(JsonWriter writer) using (new JsonObject(writer, RedmineKeys.RELATION)) { writer.WriteProperty(RedmineKeys.ISSUE_TO_ID, IssueToId); - writer.WriteProperty(RedmineKeys.RELATION_TYPE, Type); + +#pragma warning disable CA1308 // Redmine expects enum types as lower-case strings + writer.WriteProperty(RedmineKeys.RELATION_TYPE, Type.ToString().ToLowerInvariant()); +#pragma warning restore CA1308 + if (Type == IssueRelationType.Precedes || Type == IssueRelationType.Follows) { writer.WriteValueOrEmpty(RedmineKeys.DELAY, Delay); From a4dc08171d0442ad425d090da52e55bdf24e5b60 Mon Sep 17 00:00:00 2001 From: Necati Meral Date: Tue, 28 Apr 2020 16:52:11 +0200 Subject: [PATCH 196/601] Fixed: XML serialization should write relation_type as lower-case string Since xml deserialization handles empty string, I've added it to the json deserialization as well. --- src/redmine-net-api/Types/IssueRelation.cs | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 0bd4c58b..1a492796 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -123,7 +123,11 @@ public override void ReadXml(XmlReader reader) public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.ISSUE_TO_ID, IssueToId.ToString(CultureInfo.InvariantCulture)); - writer.WriteElementString(RedmineKeys.RELATION_TYPE, Type.ToString()); + +#pragma warning disable CA1308 // Redmine expects enum types as lower-case strings + writer.WriteElementString(RedmineKeys.RELATION_TYPE, Type.ToString().ToLowerInvariant()); +#pragma warning restore CA1308 + if (Type == IssueRelationType.Precedes || Type == IssueRelationType.Follows) { writer.WriteValueOrEmpty(RedmineKeys.DELAY, Delay); @@ -185,11 +189,15 @@ public override void ReadJson(JsonReader reader) IssueRelationType ReadIssueRelationType(JsonReader reader) { var enumValue = reader.ReadAsString(); - if (short.TryParse(enumValue, out short enumId)) + if (!enumValue.IsNullOrWhiteSpace()) { - return (IssueRelationType)enumId; + if (short.TryParse(enumValue, out short enumId)) + { + return (IssueRelationType)enumId; + } + return (IssueRelationType)Enum.Parse(typeof(IssueRelationType), enumValue, true); } - return (IssueRelationType)Enum.Parse(typeof(IssueRelationType), enumValue, true); + return default; } #endregion From 5e27a1e80cf5862b4812fdfc8ff99ed432affd40 Mon Sep 17 00:00:00 2001 From: Necati Meral Date: Tue, 28 Apr 2020 18:08:40 +0200 Subject: [PATCH 197/601] Fix #265: Implemented missing properties to circumvent weird deserialization offsets This fix seems easier, since I need the default_status value anyway. bonus content would be a validation of unexpected `BeginObject` tokens. --- src/redmine-net-api/RedmineKeys.cs | 6 ++++++ src/redmine-net-api/Types/Tracker.cs | 16 +++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index deb03f4d..4c3398d9 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -131,6 +131,12 @@ public static class RedmineKeys /// /// public const string CUSTOM_FIELDS = "custom_fields"; + + /// + /// + /// + public const string DEFAULT_STATUS = "default_status"; + /// /// /// diff --git a/src/redmine-net-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs index a63c7bc7..d08f5931 100644 --- a/src/redmine-net-api/Types/Tracker.cs +++ b/src/redmine-net-api/Types/Tracker.cs @@ -30,7 +30,17 @@ namespace Redmine.Net.Api.Types [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.TRACKER)] public class Tracker : IdentifiableName, IEquatable - { + { + /// + /// Gets the default (issue) status for this tracker. + /// + public IdentifiableName DefaultStatus { get; internal set; } + + /// + /// Gets the description of this tracker. + /// + public string Description { get; internal set; } + #region Implementation of IXmlSerialization /// /// Generates an object from its XML representation. @@ -51,6 +61,8 @@ public override void ReadXml(XmlReader reader) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; + case RedmineKeys.DEFAULT_STATUS: DefaultStatus = new IdentifiableName(reader); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; default: reader.Read(); break; } } @@ -81,6 +93,8 @@ public override void ReadJson(JsonReader reader) { case RedmineKeys.ID: Id = reader.ReadAsInt(); break; case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + case RedmineKeys.DEFAULT_STATUS: DefaultStatus = new IdentifiableName(reader); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; default: reader.Read(); break; } } From 84277d6d52db1f9803bfa8ce5be099d023ae5184 Mon Sep 17 00:00:00 2001 From: Necati Meral Date: Thu, 30 Apr 2020 16:46:52 +0200 Subject: [PATCH 198/601] Implemented a default value for `IssueRelationType` and added some error handling --- src/redmine-net-api/Types/IssueRelation.cs | 20 ++++++++++++++++++- .../Types/IssueRelationType.cs | 7 +++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 1a492796..ce06b95d 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -20,6 +20,7 @@ limitations under the License. using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; +using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; @@ -122,6 +123,8 @@ public override void ReadXml(XmlReader reader) /// public override void WriteXml(XmlWriter writer) { + AssertValidIssueRelationType(); + writer.WriteElementString(RedmineKeys.ISSUE_TO_ID, IssueToId.ToString(CultureInfo.InvariantCulture)); #pragma warning disable CA1308 // Redmine expects enum types as lower-case strings @@ -142,6 +145,8 @@ public override void WriteXml(XmlWriter writer) /// public override void WriteJson(JsonWriter writer) { + AssertValidIssueRelationType(); + using (new JsonObject(writer, RedmineKeys.RELATION)) { writer.WriteProperty(RedmineKeys.ISSUE_TO_ID, IssueToId); @@ -186,6 +191,16 @@ public override void ReadJson(JsonReader reader) } } + void AssertValidIssueRelationType() + { +#pragma warning disable CS0618 // Use of internal enumeration value is allowed here for error handling + if (Type == IssueRelationType.Undefined) + { + throw new RedmineException($"The value `{nameof(IssueRelationType)}.`{nameof(IssueRelationType.Undefined)}` is not allowed to create relations!"); + } +#pragma warning restore CS0618 + } + IssueRelationType ReadIssueRelationType(JsonReader reader) { var enumValue = reader.ReadAsString(); @@ -197,7 +212,10 @@ IssueRelationType ReadIssueRelationType(JsonReader reader) } return (IssueRelationType)Enum.Parse(typeof(IssueRelationType), enumValue, true); } - return default; + +#pragma warning disable CS0618 // Use of internal enumeration value is allowed here to have a fallback + return IssueRelationType.Undefined; +#pragma warning restore CS0618 } #endregion diff --git a/src/redmine-net-api/Types/IssueRelationType.cs b/src/redmine-net-api/Types/IssueRelationType.cs index 1d80d177..fbb2223c 100644 --- a/src/redmine-net-api/Types/IssueRelationType.cs +++ b/src/redmine-net-api/Types/IssueRelationType.cs @@ -14,6 +14,8 @@ You may obtain a copy of the License at limitations under the License. */ +using System; + namespace Redmine.Net.Api.Types { /// @@ -21,6 +23,11 @@ namespace Redmine.Net.Api.Types /// public enum IssueRelationType { + /// + /// Fallback value for deserialization purposes in case the deserialization fails. Do not use to create new relations! + /// + [Obsolete("Fallback value for deserialization purposes in case the deserialization fails. Do not use to create new relations!")] + Undefined = 0, /// /// /// From 7e51ce816cd88e6dd654fef404cae1c3238207ad Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 30 Apr 2020 18:34:40 +0300 Subject: [PATCH 199/601] Consistency --- src/redmine-net-api/Types/IssueRelation.cs | 43 ++++++------------- .../Types/IssueRelationType.cs | 5 ++- 2 files changed, 16 insertions(+), 32 deletions(-) diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 5d5f333f..0c7125b8 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -126,15 +126,8 @@ public override void WriteXml(XmlWriter writer) AssertValidIssueRelationType(); writer.WriteElementString(RedmineKeys.ISSUE_TO_ID, IssueToId.ToString(CultureInfo.InvariantCulture)); -<<<<<<< HEAD - writer.WriteElementString(RedmineKeys.RELATION_TYPE, Type.ToString().ToLowerInvariant()); -======= + writer.WriteElementString(RedmineKeys.RELATION_TYPE, Type.ToString().ToLowerInv()); -#pragma warning disable CA1308 // Redmine expects enum types as lower-case strings - writer.WriteElementString(RedmineKeys.RELATION_TYPE, Type.ToString().ToLowerInvariant()); -#pragma warning restore CA1308 - ->>>>>>> master if (Type == IssueRelationType.Precedes || Type == IssueRelationType.Follows) { writer.WriteValueOrEmpty(RedmineKeys.DELAY, Delay); @@ -154,15 +147,8 @@ public override void WriteJson(JsonWriter writer) using (new JsonObject(writer, RedmineKeys.RELATION)) { writer.WriteProperty(RedmineKeys.ISSUE_TO_ID, IssueToId); -<<<<<<< HEAD - writer.WriteProperty(RedmineKeys.RELATION_TYPE, Type.ToString().ToLowerInvariant()); -======= - -#pragma warning disable CA1308 // Redmine expects enum types as lower-case strings - writer.WriteProperty(RedmineKeys.RELATION_TYPE, Type.ToString().ToLowerInvariant()); -#pragma warning restore CA1308 + writer.WriteProperty(RedmineKeys.RELATION_TYPE, Type.ToString().ToLowerInv()); ->>>>>>> master if (Type == IssueRelationType.Precedes || Type == IssueRelationType.Follows) { writer.WriteValueOrEmpty(RedmineKeys.DELAY, Delay); @@ -199,31 +185,28 @@ public override void ReadJson(JsonReader reader) } } - void AssertValidIssueRelationType() + private void AssertValidIssueRelationType() { -#pragma warning disable CS0618 // Use of internal enumeration value is allowed here for error handling if (Type == IssueRelationType.Undefined) { throw new RedmineException($"The value `{nameof(IssueRelationType)}.`{nameof(IssueRelationType.Undefined)}` is not allowed to create relations!"); } -#pragma warning restore CS0618 } - IssueRelationType ReadIssueRelationType(JsonReader reader) + private IssueRelationType ReadIssueRelationType(JsonReader reader) { var enumValue = reader.ReadAsString(); - if (!enumValue.IsNullOrWhiteSpace()) + if (enumValue.IsNullOrWhiteSpace()) { - if (short.TryParse(enumValue, out short enumId)) - { - return (IssueRelationType)enumId; - } - return (IssueRelationType)Enum.Parse(typeof(IssueRelationType), enumValue, true); + return IssueRelationType.Undefined; } - -#pragma warning disable CS0618 // Use of internal enumeration value is allowed here to have a fallback - return IssueRelationType.Undefined; -#pragma warning restore CS0618 + + if (short.TryParse(enumValue, out var enumId)) + { + return (IssueRelationType)enumId; + } + + return (IssueRelationType)Enum.Parse(typeof(IssueRelationType), enumValue, true); } #endregion diff --git a/src/redmine-net-api/Types/IssueRelationType.cs b/src/redmine-net-api/Types/IssueRelationType.cs index fbb2223c..79ba9fdb 100644 --- a/src/redmine-net-api/Types/IssueRelationType.cs +++ b/src/redmine-net-api/Types/IssueRelationType.cs @@ -23,11 +23,12 @@ namespace Redmine.Net.Api.Types /// public enum IssueRelationType { +#pragma warning disable CS0618 // Use of internal enumeration value is allowed here to have a fallback /// /// Fallback value for deserialization purposes in case the deserialization fails. Do not use to create new relations! /// - [Obsolete("Fallback value for deserialization purposes in case the deserialization fails. Do not use to create new relations!")] - Undefined = 0, + Undefined = 0, +#pragma warning restore CS0618 /// /// /// From 178cba584e1b98a167ac0bfb0db6768149801e2f Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 2 May 2020 19:07:55 +0300 Subject: [PATCH 200/601] Fix #225, #245 - Split CreateOrUpdate into separate methods. --- .../Async/RedmineManagerAsync.cs | 18 ++++++++- .../Async/RedmineManagerAsync40.cs | 9 ++++- .../Async/RedmineManagerAsync45.cs | 25 +++++++++++- src/redmine-net-api/IRedmineManager.cs | 13 ++++++- src/redmine-net-api/RedmineManager.cs | 27 ++++++++++++- .../Tests/Async/WikiPageAsyncTests.cs | 10 ++++- .../Tests/Sync/WikiPageTests.cs | 39 ++++++++----------- 7 files changed, 108 insertions(+), 33 deletions(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync.cs b/src/redmine-net-api/Async/RedmineManagerAsync.cs index dbea12b0..441c6a3c 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync.cs @@ -44,10 +44,24 @@ public static Task GetCurrentUserAsync(this RedmineManager redmineManager, /// Name of the page. /// The wiki page. /// - public static Task CreateOrUpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, + public static Task CreateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) { - return delegate { return redmineManager.CreateOrUpdateWikiPage(projectId, pageName, wikiPage); }; + return delegate { return redmineManager.CreateWikiPage(projectId, pageName, wikiPage); }; + } + + /// + /// + /// + /// + /// + /// + /// + /// + public static Task UpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, + string pageName, WikiPage wikiPage) + { + return delegate { redmineManager.UpdateWikiPage(projectId, pageName, wikiPage); }; } /// diff --git a/src/redmine-net-api/Async/RedmineManagerAsync40.cs b/src/redmine-net-api/Async/RedmineManagerAsync40.cs index 303b2136..3d2a4f06 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync40.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync40.cs @@ -49,9 +49,14 @@ public static Task GetCurrentUserAsync(this RedmineManager redmineManager, /// Name of the page. /// The wiki page. /// - public static Task CreateOrUpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) + public static Task CreateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) { - return Task.Factory.StartNew(() => redmineManager.CreateOrUpdateWikiPage(projectId, pageName, wikiPage), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); + return Task.Factory.StartNew(() => redmineManager.CreateWikiPage(projectId, pageName, wikiPage), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); + } + + public static Task UpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) + { + return Task.Factory.StartNew(() => redmineManager.UpdateWikiPage(projectId, pageName, wikiPage), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } /// diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index aab48dfb..e15cf3a0 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -54,7 +54,7 @@ public static async Task GetCurrentUserAsync(this RedmineManager redmineMa /// Name of the page. /// The wiki page. /// - public static async Task CreateOrUpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) + public static async Task CreateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) { var data = redmineManager.Serializer.Serialize(wikiPage); if (string.IsNullOrEmpty(data)) return null; @@ -67,6 +67,29 @@ public static async Task CreateOrUpdateWikiPageAsync(this RedmineManag return redmineManager.Serializer.Deserialize(response); } + /// + /// Creates the or update wiki page asynchronous. + /// + /// The redmine manager. + /// The project identifier. + /// Name of the page. + /// The wiki page. + /// + public static async Task UpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) + { + var data = redmineManager.Serializer.Serialize(wikiPage); + if (string.IsNullOrEmpty(data)) + { + return ; + } + + var url = UrlHelper.GetWikiCreateOrUpdaterUrl(redmineManager, projectId, pageName); + + url = Uri.EscapeUriString(url); + + var response = await WebApiAsyncHelper.ExecuteUpload(redmineManager, url, HttpVerbs.PUT, data).ConfigureAwait(false); + } + /// /// Deletes the wiki page asynchronous. /// diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index 5dcc2d04..41863803 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -89,7 +89,7 @@ public interface IRedmineManager /// /// void RemoveWatcherFromIssue(int issueId, int userId); - + /// /// /// @@ -97,7 +97,16 @@ public interface IRedmineManager /// /// /// - WikiPage CreateOrUpdateWikiPage(string projectId, string pageName, WikiPage wikiPage); + WikiPage CreateWikiPage(string projectId, string pageName, WikiPage wikiPage); + + /// + /// + /// + /// + /// + /// + void UpdateWikiPage(string projectId, string pageName, WikiPage wikiPage); + /// /// /// diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 34ea7984..8652dd72 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -358,7 +358,30 @@ public void RemoveUserFromGroup(int groupId, int userId) /// The wiki page name. /// The wiki page to create or update. /// - public WikiPage CreateOrUpdateWikiPage(string projectId, string pageName, WikiPage wikiPage) + public void UpdateWikiPage(string projectId, string pageName, WikiPage wikiPage) + { + var result = Serializer.Serialize(wikiPage); + + if (string.IsNullOrEmpty(result)) + { + return; + } + + var url = UrlHelper.GetWikiCreateOrUpdaterUrl(this, projectId, pageName); + + url = Uri.EscapeUriString(url); + + WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, result); + } + + /// + /// + /// + /// + /// + /// + /// + public WikiPage CreateWikiPage(string projectId, string pageName, WikiPage wikiPage) { var result = Serializer.Serialize(wikiPage); diff --git a/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs index 08c85e30..586340c7 100644 --- a/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs @@ -26,13 +26,19 @@ public WikiPageAsyncTests(RedmineFixture fixture) } [Fact] - public async Task Should_Add_Or_Update_Page() + public async Task Should_Add_Wiki_Page() { - var page = await fixture.RedmineManager.CreateOrUpdateWikiPageAsync(PROJECT_ID, WIKI_PAGE_NAME, new WikiPage { Text = WIKI_PAGE_UPDATED_TEXT, Comments = WIKI_PAGE_COMMENT }); + var page = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, WIKI_PAGE_NAME, new WikiPage { Text = WIKI_PAGE_UPDATED_TEXT, Comments = WIKI_PAGE_COMMENT }); Assert.NotNull(page); Assert.True(page.Title == WIKI_PAGE_NAME, "Wiki page " + WIKI_PAGE_NAME + " does not exist."); } + + [Fact] + public async Task Should_Update_Wiki_Page() + { + await fixture.RedmineManager.UpdateWikiPageAsync(PROJECT_ID, WIKI_PAGE_NAME, new WikiPage { Text = WIKI_PAGE_UPDATED_TEXT, Comments = WIKI_PAGE_COMMENT }); + } [Fact] public async Task Should_Get_All_Pages() diff --git a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs index 43fc92b3..fefb48ad 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs @@ -37,23 +37,33 @@ public WikiPageTests(RedmineFixture fixture) private readonly RedmineFixture fixture; - private const string PROJECT_ID = "redmine-net-api"; + private const string PROJECT_ID = "redmine-net-api-project-test"; private const string WIKI_PAGE_NAME = "Wiki"; [Fact, Order(1)] - public void Should_Add_Or_Update_WikiPage() + public void Should_Add_WikiPage() { - const string WIKI_PAGE_UPDATED_TEXT = "Updated again and again wiki page"; + const string WIKI_PAGE_TEXT = "Create wiki page"; const string WIKI_PAGE_COMMENT = "I did it through code"; - var page = fixture.RedmineManager.CreateOrUpdateWikiPage(PROJECT_ID, WIKI_PAGE_NAME, - new WikiPage { Text = WIKI_PAGE_UPDATED_TEXT, Comments = WIKI_PAGE_COMMENT }); + var page = fixture.RedmineManager.CreateWikiPage(PROJECT_ID, "Wiki test page name", + new WikiPage { Text = WIKI_PAGE_TEXT, Comments = WIKI_PAGE_COMMENT }); Assert.NotNull(page); - Assert.True(page.Title.Equals(WIKI_PAGE_NAME), "Wiki page name is invalid."); - Assert.True(page.Text.Equals(WIKI_PAGE_UPDATED_TEXT), "Wiki page text is invalid."); + Assert.True(page.Title.Equals("Wiki test page name"), "Wiki page name is invalid."); + Assert.True(page.Text.Equals(WIKI_PAGE_TEXT), "Wiki page text is invalid."); Assert.True(page.Comments.Equals(WIKI_PAGE_COMMENT), "Wiki page comments are invalid."); } + + [Fact, Order(2)] + public void Should_Update_WikiPage() + { + const string WIKI_PAGE_UPDATED_TEXT = "Updated again and again wiki page and again"; + const string WIKI_PAGE_COMMENT = "I did it through code"; + + fixture.RedmineManager.UpdateWikiPage(PROJECT_ID, "Wiki test page name", + new WikiPage { Text = WIKI_PAGE_UPDATED_TEXT, Comments = WIKI_PAGE_COMMENT }); + } [Fact, Order(99)] public void Should_Delete_Wiki_Page() @@ -106,20 +116,5 @@ public void Should_Get_Wiki_Page_By_Version() Assert.Equal(oldPage.Title, WIKI_PAGE_NAME); Assert.True(oldPage.Version == WIKI_PAGE_VERSION, "Wiki page version is invalid."); } - - [Fact] - public void Should_Create_Wiki() - { - var result = fixture.RedmineManager.CreateOrUpdateWikiPage("1", "pagina2", new WikiPage - { - Text = "ana are mere multe si rosii!", - Comments = "asa", - Version = 1 - }); - - Assert.NotNull(result); - - } - } } \ No newline at end of file From 4b999b5c741be15b64c0fa164e03458148249c7b Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 2 May 2020 21:07:35 +0300 Subject: [PATCH 201/601] Add static Create of T to IdentifiableName --- src/redmine-net-api/Types/File.cs | 4 +- src/redmine-net-api/Types/Group.cs | 2 +- src/redmine-net-api/Types/IdentifiableName.cs | 14 +-- src/redmine-net-api/Types/Issue.cs | 4 +- src/redmine-net-api/Types/Project.cs | 2 +- .../Types/ProjectMembership.cs | 2 +- .../Tests/Async/AttachmentAsyncTests.cs | 22 ++--- .../Tests/Async/UserAsyncTests.cs | 2 +- .../Tests/Sync/AttachmentTests.cs | 2 +- .../Tests/Sync/GroupTests.cs | 4 +- .../Tests/Sync/IssueCategoryTests.cs | 4 +- .../Tests/Sync/IssueTests.cs | 91 ++++++++++--------- .../Tests/Sync/ProjectMembershipTests.cs | 6 +- .../Tests/Sync/ProjectTests.cs | 10 +- .../Tests/Sync/TimeEntryTests.cs | 12 +-- 15 files changed, 93 insertions(+), 88 deletions(-) diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index 5391565b..5094fa8e 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -123,7 +123,7 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.FILE_SIZE: FileSize = reader.ReadElementContentAsInt(); break; case RedmineKeys.TOKEN: Token = reader.ReadElementContentAsString(); break; case RedmineKeys.VERSION: Version = new IdentifiableName(reader); break; - case RedmineKeys.VERSION_ID: Version = IdentifiableName.Create(reader.ReadElementContentAsInt()); break; + case RedmineKeys.VERSION_ID: Version = IdentifiableName.Create(reader.ReadElementContentAsInt()); break; default: reader.Read(); break; } } @@ -175,7 +175,7 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.FILE_SIZE: FileSize = reader.ReadAsInt32().GetValueOrDefault(); break; case RedmineKeys.TOKEN: Token = reader.ReadAsString(); break; case RedmineKeys.VERSION: Version = new IdentifiableName(reader); break; - case RedmineKeys.VERSION_ID: Version = IdentifiableName.Create(reader.ReadAsInt32().GetValueOrDefault()); break; + case RedmineKeys.VERSION_ID: Version = IdentifiableName.Create(reader.ReadAsInt32().GetValueOrDefault()); break; default: reader.Read(); break; } } diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 82d2b366..92e76776 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index 271cefef..740f966c 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -29,17 +29,19 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] public class IdentifiableName : Identifiable + { /// /// /// /// /// - public static IdentifiableName Create(int id) - { - return new IdentifiableName {Id = id}; + public static T Create(int id) where T: IdentifiableName, new() + { + var t = new T (){Id = id}; + return t; } - + /// /// Initializes a new instance of the class. /// @@ -60,7 +62,7 @@ public IdentifiableName(XmlReader reader) /// public IdentifiableName(JsonReader reader) { - InitializeJsonReader(reader); + Initialize(reader); } private void Initialize(XmlReader reader) @@ -68,7 +70,7 @@ private void Initialize(XmlReader reader) ReadXml(reader); } - private void InitializeJsonReader(JsonReader reader) + private void Initialize(JsonReader reader) { ReadJson(reader); } diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 858eece9..3abb361c 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2017 Adrian Popescu, Dorin Huzum. Licensed under the Apache License, Version 2.0 (the "License"); @@ -583,7 +583,7 @@ public object Clone() /// public IdentifiableName AsParent() { - return IdentifiableName.Create(Id); + return IdentifiableName.Create(Id); } diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index c6ade8e9..55cb2e66 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index db571eda..cb8b1406 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tests/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs index b7f91e12..f454a497 100644 --- a/tests/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs @@ -50,21 +50,21 @@ public async Task Should_Upload_Attachment() attachments.Add(attachment); - var icf = (IssueCustomField)IdentifiableName.Create(13); + var icf = (IssueCustomField)IdentifiableName.Create(13); icf.Values = new List { new CustomFieldValue { Info = "Issue custom field completed" } }; var issue = new Issue { - Project = IdentifiableName.Create(9), - Tracker = IdentifiableName.Create(3), - Status = IdentifiableName.Create(6), - Priority = IdentifiableName.Create(9), + Project = IdentifiableName.Create(9), + Tracker = IdentifiableName.Create(3), + Status = IdentifiableName.Create(6), + Priority = IdentifiableName.Create(9), Subject = "Issue with attachments", Description = "Issue description...", - Category = IdentifiableName.Create(18), - FixedVersion = IdentifiableName.Create(9), - AssignedTo = IdentifiableName.Create(8), - ParentIssue = IdentifiableName.Create(96), + Category = IdentifiableName.Create(18), + FixedVersion = IdentifiableName.Create(9), + AssignedTo = IdentifiableName.Create(8), + ParentIssue = IdentifiableName.Create(96), CustomFields = new List {icf}, IsPrivate = true, EstimatedHours = 12, @@ -73,8 +73,8 @@ public async Task Should_Upload_Attachment() Uploads = attachments, Watchers = new List { - (Watcher) IdentifiableName.Create(8), - (Watcher) IdentifiableName.Create(2) + (Watcher) IdentifiableName.Create(8), + (Watcher) IdentifiableName.Create(2) } }; diff --git a/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs index 3570e5ae..f3690f44 100644 --- a/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs @@ -178,7 +178,7 @@ public async Task Should_Create_User() }; - var icf = (IssueCustomField)IdentifiableName.Create(4); + var icf = (IssueCustomField)IdentifiableName.Create(4); icf.Values = new List { new CustomFieldValue { Info = "userTestCustomField:" + DateTime.UtcNow } }; user.CustomFields = new List(); diff --git a/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs index b5debca6..014fd02a 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs @@ -89,7 +89,7 @@ public void Should_Upload_Attachment() var issue = new Issue { - Project = IdentifiableName.Create(PROJECT_ID ), + Project = IdentifiableName.Create(PROJECT_ID ), Subject = ISSUE_SUBJECT, Uploads = attachments }; diff --git a/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs index 2129a0bf..eae41a6f 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs @@ -33,7 +33,7 @@ public void Should_Add_Group() var group = new Group(); group.Name = NEW_GROUP_NAME; - group.Users = new List { (GroupUser)IdentifiableName.Create(NEW_GROUP_USER_ID )}; + group.Users = new List { (GroupUser)IdentifiableName.Create(NEW_GROUP_USER_ID )}; Group savedGroup = null; var exception = @@ -54,7 +54,7 @@ public void Should_Update_Group() var group = fixture.RedmineManager.GetObject(UPDATED_GROUP_ID, new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.USERS } }); group.Name = UPDATED_GROUP_NAME; - group.Users.Add((GroupUser)IdentifiableName.Create(UPDATED_GROUP_USER_ID)); + group.Users.Add((GroupUser)IdentifiableName.Create(UPDATED_GROUP_USER_ID)); fixture.RedmineManager.UpdateObject(UPDATED_GROUP_ID, group); diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs index f0346abf..fa47d282 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs @@ -31,7 +31,7 @@ public void Should_Create_IssueCategory() var issueCategory = new IssueCategory { Name = NEW_ISSUE_CATEGORY_NAME, - AssignTo = IdentifiableName.Create(NEW_ISSUE_CATEGORY_ASIGNEE_ID) + AssignTo = IdentifiableName.Create(NEW_ISSUE_CATEGORY_ASIGNEE_ID) }; var savedIssueCategory = fixture.RedmineManager.CreateObject(issueCategory, PROJECT_ID); @@ -95,7 +95,7 @@ public void Should_Update_IssueCategory() var issueCategory = fixture.RedmineManager.GetObject(createdIssueCategoryId, null); issueCategory.Name = ISSUE_CATEGORY_NAME_TO_UPDATE; - issueCategory.AssignTo = IdentifiableName.Create(ISSUE_CATEGORY_ASIGNEE_ID_TO_UPDATE); + issueCategory.AssignTo = IdentifiableName.Create(ISSUE_CATEGORY_ASIGNEE_ID_TO_UPDATE); fixture.RedmineManager.UpdateObject(createdIssueCategoryId, issueCategory); diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs index 14601c11..ab3b58bd 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs @@ -138,9 +138,9 @@ public void Should_Add_Issue() { const bool NEW_ISSUE_IS_PRIVATE = true; - const int NEW_ISSUE_PROJECT_ID = 9; - const int NEW_ISSUE_TRACKER_ID = 3; - const int NEW_ISSUE_STATUS_ID = 6; + const int NEW_ISSUE_PROJECT_ID = 1; + const int NEW_ISSUE_TRACKER_ID = 1; + const int NEW_ISSUE_STATUS_ID = 1; const int NEW_ISSUE_PRIORITY_ID = 9; const int NEW_ISSUE_CATEGORY_ID = 18; const int NEW_ISSUE_FIXED_VERSION_ID = 9; @@ -158,39 +158,43 @@ public void Should_Add_Issue() var newIssueStartDate = DateTime.Now; var newIssueDueDate = DateTime.Now.AddDays(10); - var icf = (IssueCustomField)IdentifiableName.Create(NEW_ISSUE_CUSTOM_FIELD_ID); - icf.Values = new List { new CustomFieldValue { Info = NEW_ISSUE_CUSTOM_FIELD_VALUE } }; + var icf = IdentifiableName.Create(NEW_ISSUE_CUSTOM_FIELD_ID); + if (icf != null) + { + icf.Values = new List {new CustomFieldValue {Info = NEW_ISSUE_CUSTOM_FIELD_VALUE}}; + } var issue = new Issue - { - Project = IdentifiableName.Create(NEW_ISSUE_PROJECT_ID), - Tracker = IdentifiableName.Create(NEW_ISSUE_TRACKER_ID), - Status = IdentifiableName.Create(NEW_ISSUE_STATUS_ID), - Priority = IdentifiableName.Create(NEW_ISSUE_PRIORITY_ID), - Subject = NEW_ISSUE_SUBJECT, - Description = NEW_ISSUE_DESCRIPTION, - Category = IdentifiableName.Create(NEW_ISSUE_CATEGORY_ID), - FixedVersion = IdentifiableName.Create(NEW_ISSUE_FIXED_VERSION_ID), - AssignedTo = IdentifiableName.Create(NEW_ISSUE_ASSIGNED_TO_ID), - ParentIssue = IdentifiableName.Create(NEW_ISSUE_PARENT_ISSUE_ID), - - CustomFields = new List { icf }, - IsPrivate = NEW_ISSUE_IS_PRIVATE, - EstimatedHours = NEW_ISSUE_ESTIMATED_HOURS, - StartDate = newIssueStartDate, - DueDate = newIssueDueDate, - Watchers = new List { - (Watcher) IdentifiableName.Create(NEW_ISSUE_FIRST_WATCHER_ID), - (Watcher) IdentifiableName.Create(NEW_ISSUE_SECOND_WATCHER_ID) - } - }; - - var savedIssue = fixture.RedmineManager.CreateObject(issue); - - Assert.NotNull(savedIssue); - Assert.True(issue.Subject.Equals(savedIssue.Subject), "Issue subject is invalid."); - Assert.NotEqual(issue, savedIssue); + Project = IdentifiableName.Create(NEW_ISSUE_PROJECT_ID), + Tracker = IdentifiableName.Create(NEW_ISSUE_TRACKER_ID), + Status = IdentifiableName.Create(NEW_ISSUE_STATUS_ID), + Priority = IdentifiableName.Create(NEW_ISSUE_PRIORITY_ID), + Subject = NEW_ISSUE_SUBJECT, + Description = NEW_ISSUE_DESCRIPTION, + Category = IdentifiableName.Create(NEW_ISSUE_CATEGORY_ID), + FixedVersion = IdentifiableName.Create(NEW_ISSUE_FIXED_VERSION_ID), + AssignedTo = IdentifiableName.Create(NEW_ISSUE_ASSIGNED_TO_ID), + ParentIssue = IdentifiableName.Create(NEW_ISSUE_PARENT_ISSUE_ID), + + CustomFields = new List {icf}, + IsPrivate = NEW_ISSUE_IS_PRIVATE, + EstimatedHours = NEW_ISSUE_ESTIMATED_HOURS, + StartDate = newIssueStartDate, + DueDate = newIssueDueDate, + Watchers = new List + { + IdentifiableName.Create(NEW_ISSUE_FIRST_WATCHER_ID), + IdentifiableName.Create(NEW_ISSUE_SECOND_WATCHER_ID) + } + }; + + var savedIssue = fixture.RedmineManager.CreateObject(issue); + + Assert.NotNull(savedIssue); + Assert.True(issue.Subject.Equals(savedIssue.Subject), "Issue subject is invalid."); + Assert.NotEqual(issue, savedIssue); + } [Fact, Order(12)] @@ -224,14 +228,14 @@ public void Should_Update_Issue() issue.Description = UPDATED_ISSUE_DESCRIPTION; issue.StartDate = updatedIssueStartDate; issue.DueDate = updatedIssueDueDate; - issue.Project = IdentifiableName.Create(UPDATED_ISSUE_PROJECT_ID); - issue.Tracker = IdentifiableName.Create(UPDATED_ISSUE_TRACKER_ID); - issue.Priority = IdentifiableName.Create(UPDATED_ISSUE_PRIORITY_ID); - issue.Category = IdentifiableName.Create(UPDATED_ISSUE_CATEGORY_ID); - issue.AssignedTo = IdentifiableName.Create(UPDATED_ISSUE_ASSIGNED_TO_ID); - issue.ParentIssue = IdentifiableName.Create(UPDATED_ISSUE_PARENT_ISSUE_ID); - - var icf = (IssueCustomField)IdentifiableName.Create(UPDATED_ISSUE_CUSTOM_FIELD_ID); + issue.Project = IdentifiableName.Create(UPDATED_ISSUE_PROJECT_ID); + issue.Tracker = IdentifiableName.Create(UPDATED_ISSUE_TRACKER_ID); + issue.Priority = IdentifiableName.Create(UPDATED_ISSUE_PRIORITY_ID); + issue.Category = IdentifiableName.Create(UPDATED_ISSUE_CATEGORY_ID); + issue.AssignedTo = IdentifiableName.Create(UPDATED_ISSUE_ASSIGNED_TO_ID); + issue.ParentIssue = IdentifiableName.Create(UPDATED_ISSUE_PARENT_ISSUE_ID); + + var icf = (IssueCustomField)IdentifiableName.Create(UPDATED_ISSUE_CUSTOM_FIELD_ID); icf.Values = new List { new CustomFieldValue { Info = UPDATED_ISSUE_CUSTOM_FIELD_VALUE } }; issue.CustomFields?.Add(icf); @@ -293,7 +297,7 @@ public void Should_Clone_Issue() const int CLONED_ISSUE_CUSTOM_FIELD_ID = 13; const string CLONED_ISSUE_CUSTOM_FIELD_VALUE = "Cloned issue custom field value"; - var icfc = (IssueCustomField)IdentifiableName.Create(ISSUE_TO_CLONE_CUSTOM_FIELD_ID); + var icfc = (IssueCustomField)IdentifiableName.Create(ISSUE_TO_CLONE_CUSTOM_FIELD_ID); icfc.Values = new List { new CustomFieldValue { Info = ISSUE_TO_CLONE_CUSTOM_FIELD_VALUE } }; var issueToClone = new Issue @@ -304,7 +308,7 @@ public void Should_Clone_Issue() var clonedIssue = (Issue)issueToClone.Clone(); - var icf = (IssueCustomField)IdentifiableName.Create(CLONED_ISSUE_CUSTOM_FIELD_ID); + var icf = (IssueCustomField)IdentifiableName.Create(CLONED_ISSUE_CUSTOM_FIELD_ID); icf.Values = new List { new CustomFieldValue { Info = CLONED_ISSUE_CUSTOM_FIELD_VALUE } }; clonedIssue.CustomFields.Add(icf); @@ -312,7 +316,6 @@ public void Should_Clone_Issue() Assert.True(issueToClone.CustomFields.Count != clonedIssue.CustomFields.Count); } - [Fact] public void Should_Get_Issue_With_Hours() { diff --git a/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs index 767849f4..85858563 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs @@ -48,8 +48,8 @@ public void Should_Add_Project_Membership() var pm = new ProjectMembership { - User = IdentifiableName.Create(NEW_PROJECT_MEMBERSHIP_USER_ID), - Roles = new List { (MembershipRole)IdentifiableName.Create(NEW_PROJECT_MEMBERSHIP_ROLE_ID)} + User = IdentifiableName.Create(NEW_PROJECT_MEMBERSHIP_USER_ID), + Roles = new List { (MembershipRole)IdentifiableName.Create(NEW_PROJECT_MEMBERSHIP_ROLE_ID)} }; var createdPm = fixture.RedmineManager.CreateObject(pm, PROJECT_IDENTIFIER); @@ -110,7 +110,7 @@ public void Should_Update_Project_Membership() const int UPDATED_PROJECT_MEMBERSHIP_ROLE_ID = 4; var pm = fixture.RedmineManager.GetObject(UPDATED_PROJECT_MEMBERSHIP_ID, null); - pm.Roles.Add((MembershipRole)IdentifiableName.Create(UPDATED_PROJECT_MEMBERSHIP_ROLE_ID)); + pm.Roles.Add((MembershipRole)IdentifiableName.Create(UPDATED_PROJECT_MEMBERSHIP_ROLE_ID)); fixture.RedmineManager.UpdateObject(UPDATED_PROJECT_MEMBERSHIP_ID, pm); diff --git a/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs index e1a79c98..acee0878 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs @@ -69,8 +69,8 @@ private static Project CreateTestProjectWithAllPropertiesSet() }, Trackers = new List { - (ProjectTracker) IdentifiableName.Create( 1), - (ProjectTracker) IdentifiableName.Create(2) + (ProjectTracker) IdentifiableName.Create( 1), + (ProjectTracker) IdentifiableName.Create(2) } }; @@ -85,8 +85,8 @@ private static Project CreateTestProjectWithInvalidTrackersId() Identifier = "rnaptit", Trackers = new List { - (ProjectTracker) IdentifiableName.Create(999999), - (ProjectTracker) IdentifiableName.Create(999998) + (ProjectTracker) IdentifiableName.Create(999999), + (ProjectTracker) IdentifiableName.Create(999998) } }; @@ -99,7 +99,7 @@ private static Project CreateTestProjectWithParentSet(int parentId) { Name = "Redmine Net Api Project With Parent Set", Identifier = "rnapwps", - Parent = IdentifiableName.Create(parentId) + Parent = IdentifiableName.Create(parentId) }; return project; diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs index 8605e5c7..e21458a3 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs @@ -47,11 +47,11 @@ public void Should_Create_Time_Entry() var timeEntry = new TimeEntry { - Issue = IdentifiableName.Create(NEW_TIME_ENTRY_ISSUE_ID), - Project = IdentifiableName.Create(NEW_TIME_ENTRY_PROJECT_ID), + Issue = IdentifiableName.Create(NEW_TIME_ENTRY_ISSUE_ID), + Project = IdentifiableName.Create(NEW_TIME_ENTRY_PROJECT_ID), SpentOn = newTimeEntryDate, Hours = NEW_TIME_ENTRY_HOURS, - Activity = IdentifiableName.Create(NEW_TIME_ENTRY_ACTIVITY_ID), + Activity = IdentifiableName.Create(NEW_TIME_ENTRY_ACTIVITY_ID), Comments = NEW_TIME_ENTRY_COMMENTS }; @@ -119,13 +119,13 @@ public void Should_Update_Time_Entry() var updatedTimeEntryDate = DateTime.Now.AddDays(-2); var timeEntry = fixture.RedmineManager.GetObject(UPDATED_TIME_ENTRY_ID, null); - timeEntry.Project = IdentifiableName.Create(UPDATED_TIME_ENTRY_PROJECT_ID); - timeEntry.Issue = IdentifiableName.Create(UPDATED_TIME_ENTRY_ISSUE_ID); + timeEntry.Project = IdentifiableName.Create(UPDATED_TIME_ENTRY_PROJECT_ID); + timeEntry.Issue = IdentifiableName.Create(UPDATED_TIME_ENTRY_ISSUE_ID); timeEntry.SpentOn = updatedTimeEntryDate; timeEntry.Hours = UPDATED_TIME_ENTRY_HOURS; timeEntry.Comments = UPDATED_TIME_ENTRY_COMMENTS; - if (timeEntry.Activity == null) timeEntry.Activity = IdentifiableName.Create(UPDATED_TIME_ENTRY_ACTIVITY_ID); + if (timeEntry.Activity == null) timeEntry.Activity = IdentifiableName.Create(UPDATED_TIME_ENTRY_ACTIVITY_ID); fixture.RedmineManager.UpdateObject(UPDATED_TIME_ENTRY_ID, timeEntry); From 193d614f338dad0008c533f5deb5a6e76ecd1141 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 2 May 2020 21:25:28 +0300 Subject: [PATCH 202/601] Small refactoring --- src/redmine-net-api/RedmineManager.cs | 13 ++++++-- src/redmine-net-api/RedmineWebClient.cs | 43 +++++++++---------------- 2 files changed, 26 insertions(+), 30 deletions(-) diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 8652dd72..6c78e828 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -819,6 +819,8 @@ public byte[] DownloadFile(string address) return WebApiHelper.ExecuteDownloadFile(this, address); } + private const string UA = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1"; + /// /// Creates the Redmine web client. /// @@ -828,8 +830,8 @@ public byte[] DownloadFile(string address) /// public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, bool uploadFile = false) { - var webClient = new RedmineWebClient { Proxy = Proxy, Scheme = Scheme, RedmineSerializer = Serializer}; - + var webClient = new RedmineWebClient { Scheme = Scheme, RedmineSerializer = Serializer}; + webClient.UserAgent = UA; if (!uploadFile) { webClient.Headers.Add(HttpRequestHeader.ContentType, MimeFormat == MimeFormat.Xml @@ -866,6 +868,13 @@ public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, } } + if (Proxy != null) + { + Proxy.Credentials = cache; + webClient.Proxy = Proxy; + webClient.UseProxy = true; + } + if (!string.IsNullOrEmpty(ImpersonateUser)) { webClient.Headers.Add("X-Redmine-Switch-User", ImpersonateUser); diff --git a/src/redmine-net-api/RedmineWebClient.cs b/src/redmine-net-api/RedmineWebClient.cs index 12ae7278..4784ca00 100644 --- a/src/redmine-net-api/RedmineWebClient.cs +++ b/src/redmine-net-api/RedmineWebClient.cs @@ -26,16 +26,8 @@ namespace Redmine.Net.Api /// public class RedmineWebClient : WebClient { - private const string UA = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1"; private string redirectUrl = string.Empty; - /// - /// - /// - public RedmineWebClient() - { - UserAgent = UA; - } - + /// /// /// @@ -120,37 +112,24 @@ protected override WebRequest GetWebRequest(Uri address) return base.GetWebRequest(address); } + httpWebRequest.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate | + DecompressionMethods.None; + if (UseCookies) { httpWebRequest.Headers.Add(HttpRequestHeader.Cookie, "redmineCookie"); httpWebRequest.CookieContainer = CookieContainer; } - - httpWebRequest.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate | - DecompressionMethods.None; - httpWebRequest.PreAuthenticate = PreAuthenticate; + httpWebRequest.KeepAlive = KeepAlive; - httpWebRequest.Credentials = Credentials; - httpWebRequest.UseDefaultCredentials = (httpWebRequest.Credentials == null); - httpWebRequest.UserAgent = UA; httpWebRequest.CachePolicy = CachePolicy; - - if (UseProxy) - { - if (Proxy != null) - { - Proxy.Credentials = Credentials; - httpWebRequest.Proxy = Proxy; - } - } - + if (Timeout != null) { httpWebRequest.Timeout = Timeout.Value.Milliseconds; } - + return httpWebRequest; - } /// @@ -253,6 +232,9 @@ protected void HandleCookies(WebRequest request, WebResponse response) if (!(response is HttpWebResponse webResponse)) return; var webRequest = request as HttpWebRequest; + + if (webResponse.Cookies.Count <= 0) return; + var col = new CookieCollection(); foreach (Cookie c in webResponse.Cookies) @@ -260,6 +242,11 @@ protected void HandleCookies(WebRequest request, WebResponse response) col.Add(new Cookie(c.Name, c.Value, c.Path, webRequest?.Headers["Host"])); } + if (CookieContainer == null) + { + CookieContainer = new CookieContainer(); + } + CookieContainer.Add(col); } } From cbd51b985546f7b8a2f91382249e3e5b8379af8f Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 2 May 2020 21:33:47 +0300 Subject: [PATCH 203/601] Fix #260 --- src/redmine-net-api/RedmineManager.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 6c78e828..14ec971c 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -579,7 +579,14 @@ public void DeleteWikiPage(string projectId, string pageName) /// Returns the complete list of objects. public List GetObjects(params string[] include) where T : class, new() { - return GetObjects(PageSize, 0, include); + var parameters = new NameValueCollection(); + + if (include != null && include.Length > 0) + { + parameters.Add(RedmineKeys.INCLUDE, string.Join(",", include)); + } + + return GetObjects(parameters); } /// From c337927ec800208f9c619213b0e31be8bfa76a93 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 2 May 2020 21:35:17 +0300 Subject: [PATCH 204/601] Change redmine & postgres version --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 78e1e2f4..e7a53c7d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: redmine: ports: - '8089:3000' - image: 'redmine:4.0.4' + image: 'redmine:4.1.1-alpine' container_name: 'redmine-web' depends_on: - db-postgres @@ -33,7 +33,7 @@ services: POSTGRES_USER: redmine-usr POSTGRES_PASSWORD: redmine-pswd container_name: 'redmine-db' - image: 'postgres:11.1' + image: 'postgres:11.1-alpine' healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 20s From 471c8dc440bd269e39bd58f3c96d34231657ad6b Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 3 May 2020 14:55:47 +0300 Subject: [PATCH 205/601] Add pragma CA1822 --- src/redmine-net-api/Serialization/JsonRedmineSerializer.cs | 4 +++- src/redmine-net-api/Serialization/XmlRedmineSerializer.cs | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs b/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs index ba98e836..5e5afde7 100644 --- a/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs @@ -85,6 +85,7 @@ internal sealed class JsonRedmineSerializer : IRedmineSerializer } } + #pragma warning disable CA1822 public int Count(string jsonResponse) where T : class, new() { if (jsonResponse.IsNullOrWhiteSpace()) @@ -116,7 +117,8 @@ internal sealed class JsonRedmineSerializer : IRedmineSerializer } } } - + #pragma warning restore CA1822 + public string Type { get; } = "json"; public string Serialize(T entity) where T : class diff --git a/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs index 0bed6bef..99149526 100644 --- a/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs @@ -50,6 +50,7 @@ public XmlRedmineSerializer(XmlWriterSettings xmlWriterSettings) } } +#pragma warning disable CA1822 public int Count(string xmlResponse) where T : class, new() { try @@ -62,6 +63,7 @@ public XmlRedmineSerializer(XmlWriterSettings xmlWriterSettings) throw new RedmineException(ex.Message, ex); } } +#pragma warning restore CA1822 public string Type { get; } = "xml"; From 3034579976588dc56728673c234afaa89101e50b Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 3 May 2020 14:54:14 +0300 Subject: [PATCH 206/601] Add props files. --- Directory.Build.props | 39 ++++++++++++++++++++++ redmine-net-api.sln | 5 +++ releasenotes.props | 24 +++++++++++++ signing.props | 6 ++++ src/redmine-net-api/redmine-net-api.csproj | 36 +------------------- version.props | 7 ++++ 6 files changed, 82 insertions(+), 35 deletions(-) create mode 100644 Directory.Build.props create mode 100644 releasenotes.props create mode 100644 signing.props create mode 100644 version.props diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 00000000..8ded1ea7 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,39 @@ + + + + + + Adrian Popescu + Redmine Api is a .NET rest client for Redmine. + p.adi + Adrian Popescu, 2011 - $([System.DateTime]::Now.Year.ToString()) + en-US + + redmine-api + redmine-api-signed + https://raw.githubusercontent.com/zapadi/redmine-net-api/master/logo.png + logo.png + LICENSE + Apache-2.0 + https://github.com/zapadi/redmine-net-api + true + Redmine; REST; API; Client; .NET; Adrian Popescu; + Redmine .NET API Client + git + https://github.com/zapadi/redmine-net-api + ... + Redmine .NET API Client + + + + + + false + $(SolutionDir)/.artifacts + + + + + + + \ No newline at end of file diff --git a/redmine-net-api.sln b/redmine-net-api.sln index 65e353b8..d81f37a3 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -22,6 +22,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionFolder", "SolutionF redmine-net-api.snk = redmine-net-api.snk ISSUE_TEMPLATE.md = ISSUE_TEMPLATE.md PULL_REQUEST_TEMPLATE.md = PULL_REQUEST_TEMPLATE.md + CHANGELOG.md = CHANGELOG.md + Directory.Build.props = Directory.Build.props + releasenotes.props = releasenotes.props + signing.props = signing.props + version.props = version.props EndProjectSection EndProject Global diff --git a/releasenotes.props b/releasenotes.props new file mode 100644 index 00000000..7a3e84ae --- /dev/null +++ b/releasenotes.props @@ -0,0 +1,24 @@ + + + + (id) in order to create identifiablename types with id. + +Features: +* Add support for .NET Standard 2.0 and 2.1 + +Fixes: +* Trackers - Cannot retreive List of trackers: Malformed objects (#265) (thanks NecatiMeral) +* IssueRelation - `relation_type` cannot be parsed (#263) (thanks NecatiMeral) +* Issue with 'relates" relation (#262) (thanks NecatiMeral) +* RedmineManager.GetObjects<>(params string[]) only retrieves 25 objects (#260) +* Unexpected ArgumentNullException in RedmineManager.cs:581 (#259) +]]> + + $(PackageReleaseNotes) + See $(PackageProjectUrl)/blob/master/CHANGELOG.md#v$(VersionPrefix.Replace('.','')) for more details. + + \ No newline at end of file diff --git a/signing.props b/signing.props new file mode 100644 index 00000000..1de15736 --- /dev/null +++ b/signing.props @@ -0,0 +1,6 @@ + + + true + ..\..\redmine-net-api.snk + + \ No newline at end of file diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index c443405a..c66c517b 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -1,4 +1,4 @@ - + @@ -25,40 +25,6 @@ - - Adrian Popescu - Redmine Api is a .NET rest client for Redmine. - p.adi - Adrian Popescu, 2011 - $([System.DateTime]::Now.Year.ToString()) - 1.0.0 - en-US - redmine-api - redmine-api-signed - https://raw.githubusercontent.com/zapadi/redmine-net-api/master/logo.png - logo.png - LICENSE - https://github.com/zapadi/redmine-net-api - true - - Add redmine-net-api.snk - Fix #242 - Invalid URI: The Uri scheme is too long - Fix package icon url. - - Redmine; REST; API; Client; .NET; Adrian Popescu; - Redmine .NET API Client - git - https://github.com/zapadi/redmine-net-api - ... - Redmine .NET API Client - 3.0.6 - 3.0.6.1 - - - - true - ..\..\redmine-net-api.snk - - NET20;NETFULL diff --git a/version.props b/version.props new file mode 100644 index 00000000..384aa58a --- /dev/null +++ b/version.props @@ -0,0 +1,7 @@ + + + 4.0.0 + $(VersionPrefix) + $(VersionPrefix)-$(VersionSuffix) + + \ No newline at end of file From ad3cc0a9e91f8f1e541ad7ed32db4954a053e7e5 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 3 May 2020 14:55:13 +0300 Subject: [PATCH 207/601] Add dotnetstandard 2.0 & 2.1 frameworks --- src/redmine-net-api/redmine-net-api.csproj | 26 ++++++++++++++++------ 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index c66c517b..58333434 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -2,8 +2,7 @@ - - net20;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48; + net20;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard2.0;netstandard2.1 false Redmine.Net.Api redmine-net-api @@ -12,6 +11,7 @@ TRACE Debug;Release;DebugJson PackageReference + 7.3 NU5105; CA1303; @@ -73,6 +73,18 @@ NET48;NETFULL + + NETSTANDARD13;NETSTANDARD + + + + NETSTANDARD20;NETSTANDARD + + + + NETSTANDARD21;NETSTANDARD + + all @@ -146,14 +158,14 @@ - - + + - redmine-net-api.snk - + redmine-net-api.snk + @@ -166,4 +178,4 @@ - + \ No newline at end of file From 8a6d286933fd7ae3f9481d849c39cda56c66b22d Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 3 May 2020 14:01:50 +0300 Subject: [PATCH 208/601] Add CHANGELOG.md --- src/CHANGELOG.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/CHANGELOG.md diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md new file mode 100644 index 00000000..9dc60cd4 --- /dev/null +++ b/src/CHANGELOG.md @@ -0,0 +1,28 @@ +# Changelog + +## [v4.0.0] + +Features: + +* Add support for .NET Standard 2.0 and 2.1 + +Fixes: + +* Trackers - Cannot retreive List of trackers: Malformed objects (#265) (thanks NecatiMeral) +* IssueRelation - `relation_type` cannot be parsed (#263) (thanks NecatiMeral) +* Issue with 'relates" relation (#262) (thanks NecatiMeral) +* RedmineManager.GetObjects<>(params string[]) only retrieves 25 objects (#260) +* Unexpected ArgumentNullException in RedmineManager.cs:581 (#259) +* Type Issue and its property ParentIssue have no matching base-type (#258) +* Cannot set the name of the project (#257) +* Cant create new issue (#256) +* Help me with create issues api redmine. Error is The property or indexer 'Identifiable.Id' cannot be used in this context because the set accessor is inaccessible (#254) +* Version 3.0.6.1 makes IssueCustomField.Info readonly breaking existing usage (#253) +* Empty response on CreateOrUpdateWikiPage (#245) +* Cannot set the status of a project (#255) +* Could not deserialize null!' When update WikiPage (#225) + +Breaking Changes: + +* Split CreateOrUpdateWikiPage into CreateWikiPage & UpdateWikiPage +* Add IdentifiableName.Create(id) in order to create identifiablename types with id. \ No newline at end of file From 0956529845b1df71c576c4a8a56ae5f253623b23 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 3 May 2020 15:04:30 +0300 Subject: [PATCH 209/601] Move CHANGELOG.md to solution folder --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..9dc60cd4 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,28 @@ +# Changelog + +## [v4.0.0] + +Features: + +* Add support for .NET Standard 2.0 and 2.1 + +Fixes: + +* Trackers - Cannot retreive List of trackers: Malformed objects (#265) (thanks NecatiMeral) +* IssueRelation - `relation_type` cannot be parsed (#263) (thanks NecatiMeral) +* Issue with 'relates" relation (#262) (thanks NecatiMeral) +* RedmineManager.GetObjects<>(params string[]) only retrieves 25 objects (#260) +* Unexpected ArgumentNullException in RedmineManager.cs:581 (#259) +* Type Issue and its property ParentIssue have no matching base-type (#258) +* Cannot set the name of the project (#257) +* Cant create new issue (#256) +* Help me with create issues api redmine. Error is The property or indexer 'Identifiable.Id' cannot be used in this context because the set accessor is inaccessible (#254) +* Version 3.0.6.1 makes IssueCustomField.Info readonly breaking existing usage (#253) +* Empty response on CreateOrUpdateWikiPage (#245) +* Cannot set the status of a project (#255) +* Could not deserialize null!' When update WikiPage (#225) + +Breaking Changes: + +* Split CreateOrUpdateWikiPage into CreateWikiPage & UpdateWikiPage +* Add IdentifiableName.Create(id) in order to create identifiablename types with id. \ No newline at end of file From 5131740d7723e5f63c3be7b4b6a5743720cf0ff0 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 3 May 2020 16:14:40 +0300 Subject: [PATCH 210/601] Cleanup --- Directory.Build.props | 2 +- src/CHANGELOG.md | 28 ------------------- .../Async/RedmineManagerAsync40.cs | 8 ++++++ .../Extensions/CollectionExtensions.cs | 2 ++ src/redmine-net-api/RedmineManager.cs | 15 ++++++++-- src/redmine-net-api/Types/IssueRelation.cs | 2 +- tests/redmine-net-api.Tests/TestHelper.cs | 2 +- tests/redmine-net-api.Tests/appsettings.json | 6 ++++ .../redmine-net-api.Tests.csproj | 2 +- 9 files changed, 32 insertions(+), 35 deletions(-) delete mode 100644 src/CHANGELOG.md diff --git a/Directory.Build.props b/Directory.Build.props index 8ded1ea7..88b08f71 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -29,7 +29,7 @@ false - $(SolutionDir)/.artifacts + $(SolutionDir)/artifacts diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md deleted file mode 100644 index 9dc60cd4..00000000 --- a/src/CHANGELOG.md +++ /dev/null @@ -1,28 +0,0 @@ -# Changelog - -## [v4.0.0] - -Features: - -* Add support for .NET Standard 2.0 and 2.1 - -Fixes: - -* Trackers - Cannot retreive List of trackers: Malformed objects (#265) (thanks NecatiMeral) -* IssueRelation - `relation_type` cannot be parsed (#263) (thanks NecatiMeral) -* Issue with 'relates" relation (#262) (thanks NecatiMeral) -* RedmineManager.GetObjects<>(params string[]) only retrieves 25 objects (#260) -* Unexpected ArgumentNullException in RedmineManager.cs:581 (#259) -* Type Issue and its property ParentIssue have no matching base-type (#258) -* Cannot set the name of the project (#257) -* Cant create new issue (#256) -* Help me with create issues api redmine. Error is The property or indexer 'Identifiable.Id' cannot be used in this context because the set accessor is inaccessible (#254) -* Version 3.0.6.1 makes IssueCustomField.Info readonly breaking existing usage (#253) -* Empty response on CreateOrUpdateWikiPage (#245) -* Cannot set the status of a project (#255) -* Could not deserialize null!' When update WikiPage (#225) - -Breaking Changes: - -* Split CreateOrUpdateWikiPage into CreateWikiPage & UpdateWikiPage -* Add IdentifiableName.Create(id) in order to create identifiablename types with id. \ No newline at end of file diff --git a/src/redmine-net-api/Async/RedmineManagerAsync40.cs b/src/redmine-net-api/Async/RedmineManagerAsync40.cs index 3d2a4f06..5b69444d 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync40.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync40.cs @@ -54,6 +54,14 @@ public static Task CreateWikiPageAsync(this RedmineManager redmineMana return Task.Factory.StartNew(() => redmineManager.CreateWikiPage(projectId, pageName, wikiPage), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } + /// + /// + /// + /// + /// + /// + /// + /// public static Task UpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) { return Task.Factory.StartNew(() => redmineManager.UpdateWikiPage(projectId, pageName, wikiPage), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); diff --git a/src/redmine-net-api/Extensions/CollectionExtensions.cs b/src/redmine-net-api/Extensions/CollectionExtensions.cs index 07d3b16b..22575397 100755 --- a/src/redmine-net-api/Extensions/CollectionExtensions.cs +++ b/src/redmine-net-api/Extensions/CollectionExtensions.cs @@ -38,7 +38,9 @@ public static IList Clone(this IList listToClone) where T : ICloneable if (listToClone == null) return null; IList clonedList = new List(); foreach (var item in listToClone) + { clonedList.Add((T) item.Clone()); + } return clonedList; } diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 14ec971c..b5eb7573 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); @@ -599,7 +599,7 @@ public void DeleteWikiPage(string projectId, string pageName) /// public List GetObjects(NameValueCollection parameters) where T : class, new() { - int totalCount = 0, pageSize = 0, offset = 0; + int pageSize = 0, offset = 0; var isLimitSet = false; List resultList = null; @@ -623,6 +623,7 @@ public void DeleteWikiPage(string projectId, string pageName) var hasOffset = TypesWithOffset.ContainsKey(typeof(T)); if (hasOffset) { + var totalCount = 0; do { parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); @@ -901,7 +902,15 @@ public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, /// public virtual bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors sslPolicyErrors) { - return sslPolicyErrors == SslPolicyErrors.None; + const SslPolicyErrors ignoredErrors = + SslPolicyErrors.RemoteCertificateChainErrors | + SslPolicyErrors.RemoteCertificateNameMismatch; + + if ((sslPolicyErrors & ~ignoredErrors) == SslPolicyErrors.None) + { + return true; + } + return false; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 0c7125b8..c9349001 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -193,7 +193,7 @@ private void AssertValidIssueRelationType() } } - private IssueRelationType ReadIssueRelationType(JsonReader reader) + private static IssueRelationType ReadIssueRelationType(JsonReader reader) { var enumValue = reader.ReadAsString(); if (enumValue.IsNullOrWhiteSpace()) diff --git a/tests/redmine-net-api.Tests/TestHelper.cs b/tests/redmine-net-api.Tests/TestHelper.cs index 377f9ab6..c49785c6 100644 --- a/tests/redmine-net-api.Tests/TestHelper.cs +++ b/tests/redmine-net-api.Tests/TestHelper.cs @@ -31,7 +31,7 @@ public static RedmineCredentials GetApplicationConfiguration(string outputPath = var iConfig = GetIConfigurationRoot(outputPath); iConfig - .GetSection("Credentials") + .GetSection("Credentials-Local") .Bind(credentials); return credentials; diff --git a/tests/redmine-net-api.Tests/appsettings.json b/tests/redmine-net-api.Tests/appsettings.json index 9b28a4ca..75421bd0 100644 --- a/tests/redmine-net-api.Tests/appsettings.json +++ b/tests/redmine-net-api.Tests/appsettings.json @@ -4,5 +4,11 @@ "ApiKey": "$ApiKey", "Username": "$Username", "Password": "$Password" + }, + "Credentials-Local":{ + "Uri": "$Uri", + "ApiKey": "$ApiKey", + "Username": "$Username", + "Password": "$Password" } } diff --git a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index 70a6b1d5..8fe1b797 100644 --- a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -8,7 +8,7 @@ net451;net452;net46;net461;net462;net47;net471;net472;net48; false Padi.RedmineApi.Tests - Padi.RedmineApi.Tests + f8b9e946-b547-42f1-861c-f719dca00a84 Release;Debug;DebugJson From 46c25e525d78a6aa0ae8b2d010f7f76812013b60 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 3 May 2020 18:15:27 +0300 Subject: [PATCH 211/601] Fix nuget packageid issue --- redmine-net-api.sln | 10 ++++------ .../redmine-net-api.Tests/redmine-net-api.Tests.csproj | 3 +++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/redmine-net-api.sln b/redmine-net-api.sln index d81f37a3..cd0dfab4 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -1,4 +1,3 @@ - Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.29503.13 @@ -14,16 +13,16 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionFolder", "SolutionFolder", "{E8C35EC2-DD90-46E8-9B63-84EFD5F2FDE3}" ProjectSection(SolutionItems) = preProject appveyor.yml = appveyor.yml + CHANGELOG.md = CHANGELOG.md CONTRIBUTING.md = CONTRIBUTING.md + Directory.Build.props = Directory.Build.props docker-compose.yml = docker-compose.yml + ISSUE_TEMPLATE.md = ISSUE_TEMPLATE.md LICENSE = LICENSE logo.png = logo.png + PULL_REQUEST_TEMPLATE.md = PULL_REQUEST_TEMPLATE.md README.md = README.md redmine-net-api.snk = redmine-net-api.snk - ISSUE_TEMPLATE.md = ISSUE_TEMPLATE.md - PULL_REQUEST_TEMPLATE.md = PULL_REQUEST_TEMPLATE.md - CHANGELOG.md = CHANGELOG.md - Directory.Build.props = Directory.Build.props releasenotes.props = releasenotes.props signing.props = signing.props version.props = version.props @@ -47,7 +46,6 @@ Global {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugJson|Any CPU.ActiveCfg = DebugJson|Any CPU {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugJson|Any CPU.Build.0 = DebugJson|Any CPU {900EF0B3-0233-45DA-811F-4C59483E8452}.Release|Any CPU.ActiveCfg = Debug|Any CPU - {900EF0B3-0233-45DA-811F-4C59483E8452}.Release|Any CPU.Build.0 = Debug|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index 8fe1b797..4a4eaf5c 100644 --- a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -11,6 +11,9 @@ f8b9e946-b547-42f1-861c-f719dca00a84 Release;Debug;DebugJson + + redmine-api-test + redmine-api-test-signed From 88e360c6e7354aef77da481fbb719689ab3e0bdf Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 3 May 2020 18:38:13 +0300 Subject: [PATCH 212/601] Fix appveyor build --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 541dc970..5ba3cbdc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -49,8 +49,8 @@ before_build: - ps: dotnet --version build_script: - - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX - - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX -p:Sign=true + - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX src\redmine-net-api\redmine-net-api.csproj + - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX -p:Sign=true src\redmine-net-api\redmine-net-api.csproj after_build: - ps: dotnet pack src\redmine-net-api\redmine-net-api.csproj -c Release --output .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build $env:VERSION_SUFFIX From 3a389af64729953d4766ab504804681a33f801dd Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 3 May 2020 18:40:46 +0300 Subject: [PATCH 213/601] Fix appveyor build(for real) --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 5ba3cbdc..69df924a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -49,8 +49,8 @@ before_build: - ps: dotnet --version build_script: - - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX src\redmine-net-api\redmine-net-api.csproj - - ps: dotnet build redmine-net-api.sln -c Release --version-suffix=$env:BUILD_SUFFIX -p:Sign=true src\redmine-net-api\redmine-net-api.csproj + - ps: dotnet build src\redmine-net-api\redmine-net-api.csproj -c Release --version-suffix=$env:BUILD_SUFFIX + - ps: dotnet build src\redmine-net-api\redmine-net-api.csproj -c Release --version-suffix=$env:BUILD_SUFFIX -p:Sign=true after_build: - ps: dotnet pack src\redmine-net-api\redmine-net-api.csproj -c Release --output .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build $env:VERSION_SUFFIX From 60b19eb89b7dd5960ebc252fe2d7e2d58a144a69 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Sat, 6 Jun 2020 13:54:40 +0300 Subject: [PATCH 214/601] Fix #271 (thanks muffmolch) --- src/redmine-net-api/Types/Upload.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index 6074fcf1..0a0e448a 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -142,10 +142,12 @@ public void ReadJson(JsonReader reader) /// public void WriteJson(JsonWriter writer) { + writer.WriteStartObject(); writer.WriteProperty(RedmineKeys.TOKEN, Token); writer.WriteProperty(RedmineKeys.CONTENT_TYPE, ContentType); writer.WriteProperty(RedmineKeys.FILE_NAME, FileName); writer.WriteProperty(RedmineKeys.DESCRIPTION, Description); + writer.WriteEndObject(); } #endregion From 77dc3f25ce483aecd18f54656775d5ad572201a0 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Sat, 6 Jun 2020 14:39:32 +0300 Subject: [PATCH 215/601] Bump up version, update release notes --- CHANGELOG.md | 6 ++++++ releasenotes.props | 16 ++-------------- version.props | 2 +- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dc60cd4..8addcde0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [v4.0.1] + +Fixes: + +* JSON serialization exception for issues with uploads (missing WriteStart/EndObject calls) (#271) (thanks muffmolch) + ## [v4.0.0] Features: diff --git a/releasenotes.props b/releasenotes.props index 7a3e84ae..2bc9e283 100644 --- a/releasenotes.props +++ b/releasenotes.props @@ -1,21 +1,9 @@ - + (id) in order to create identifiablename types with id. - -Features: -* Add support for .NET Standard 2.0 and 2.1 - Fixes: -* Trackers - Cannot retreive List of trackers: Malformed objects (#265) (thanks NecatiMeral) -* IssueRelation - `relation_type` cannot be parsed (#263) (thanks NecatiMeral) -* Issue with 'relates" relation (#262) (thanks NecatiMeral) -* RedmineManager.GetObjects<>(params string[]) only retrieves 25 objects (#260) -* Unexpected ArgumentNullException in RedmineManager.cs:581 (#259) +* JSON serialization exception for issues with uploads (missing WriteStart/EndObject calls) (#271) (thanks muffmolch) ]]> $(PackageReleaseNotes) diff --git a/version.props b/version.props index 384aa58a..f3437e57 100644 --- a/version.props +++ b/version.props @@ -1,6 +1,6 @@ - 4.0.0 + 4.0.1 $(VersionPrefix) $(VersionPrefix)-$(VersionSuffix) From fa2004b7b34131f6f9f63b1d1a0f2fa641054be8 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 8 Jul 2020 10:12:02 +0300 Subject: [PATCH 216/601] Add fix #236 to the current version --- src/redmine-net-api/Types/User.cs | 51 ++++++++++++++++++++++++++----- 1 file changed, 43 insertions(+), 8 deletions(-) diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index eeec1cec..dd220f56 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -179,12 +179,29 @@ public override void WriteXml(XmlWriter writer) writer.WriteElementString(RedmineKeys.FIRST_NAME, FirstName); writer.WriteElementString(RedmineKeys.LAST_NAME, LastName); writer.WriteElementString(RedmineKeys.MAIL, Email); - writer.WriteElementString(RedmineKeys.MAIL_NOTIFICATION, MailNotification); - writer.WriteElementString(RedmineKeys.PASSWORD, Password); - writer.WriteValueOrEmpty(RedmineKeys.AUTH_SOURCE_ID, AuthenticationModeId); + + if(!string.IsNullOrEmpty(MailNotification)) + { + writer.WriteElementString(RedmineKeys.MAIL_NOTIFICATION, MailNotification); + } + + if (!string.IsNullOrEmpty(Password)) + { + writer.WriteElementString(RedmineKeys.PASSWORD, Password); + } + + if(AuthenticationModeId.HasValue) + { + writer.WriteValueOrEmpty(RedmineKeys.AUTH_SOURCE_ID, AuthenticationModeId); + } + writer.WriteElementString(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword.ToString(CultureInfo.InvariantCulture).ToLowerInv()); writer.WriteElementString(RedmineKeys.STATUS, ((int)Status).ToString(CultureInfo.InvariantCulture)); - writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); + + if(CustomFields != null) + { + writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); + } } #endregion @@ -241,11 +258,29 @@ public override void WriteJson(JsonWriter writer) writer.WriteProperty(RedmineKeys.FIRST_NAME, FirstName); writer.WriteProperty(RedmineKeys.LAST_NAME, LastName); writer.WriteProperty(RedmineKeys.MAIL, Email); - writer.WriteProperty(RedmineKeys.MAIL_NOTIFICATION, MailNotification); - writer.WriteProperty(RedmineKeys.PASSWORD, Password); + + if(!string.IsNullOrEmpty(MailNotification)) + { + writer.WriteProperty(RedmineKeys.MAIL_NOTIFICATION, MailNotification); + } + + if (!string.IsNullOrEmpty(Password)) + { + writer.WriteProperty(RedmineKeys.PASSWORD, Password); + } + + if(AuthenticationModeId.HasValue) + { + writer.WriteValueOrEmpty(RedmineKeys.AUTH_SOURCE_ID, AuthenticationModeId); + } + writer.WriteProperty(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword.ToString(CultureInfo.InvariantCulture).ToLowerInv()); - writer.WriteValueOrEmpty(RedmineKeys.AUTH_SOURCE_ID, AuthenticationModeId); - writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); + writer.WriteProperty(RedmineKeys.STATUS, ((int)Status).ToString(CultureInfo.InvariantCulture)); + + if(CustomFields != null) + { + writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); + } } } #endregion From ce2d0e46f8f3b16be254fce37c017523548f86e8 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 8 Jul 2020 10:17:09 +0300 Subject: [PATCH 217/601] Update version & change log --- CHANGELOG.md | 4 ++++ releasenotes.props | 4 ++-- version.props | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8addcde0..2e82ae71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [v4.0.2] + +Fixes: Add #236 to current version. + ## [v4.0.1] Fixes: diff --git a/releasenotes.props b/releasenotes.props index 2bc9e283..fd4d6f3f 100644 --- a/releasenotes.props +++ b/releasenotes.props @@ -1,9 +1,9 @@ - + $(PackageReleaseNotes) diff --git a/version.props b/version.props index f3437e57..c8a0b166 100644 --- a/version.props +++ b/version.props @@ -1,6 +1,6 @@ - 4.0.1 + 4.0.2 $(VersionPrefix) $(VersionPrefix)-$(VersionSuffix) From 3f0d00c103bc0985978bd8ddc8152aa61cf1339d Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 26 Sep 2020 11:49:08 +0300 Subject: [PATCH 218/601] Fix #276 --- src/redmine-net-api/Types/Project.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 55cb2e66..73331225 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -122,12 +122,12 @@ public sealed class Project : IdentifiableName, IEquatable public IList EnabledModules { get; set; } /// - /// Gets the custom fields. + /// Gets or sets the custom fields. /// /// /// The custom fields. /// - public IList CustomFields { get; internal set; } + public IList CustomFields { get; set; } /// /// Gets the issue categories. From c8bad765f5b32d1953e813ffafa802fb1a1982dc Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 26 Sep 2020 11:49:56 +0300 Subject: [PATCH 219/601] Fix #274 --- src/redmine-net-api/Internals/UrlHelper.cs | 2 -- .../Tests/Async/WikiPageAsyncTests.cs | 20 +++++++++++++++++++ .../Tests/Sync/WikiPageTests.cs | 20 +++++++++++++++++++ 3 files changed, 40 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/Internals/UrlHelper.cs b/src/redmine-net-api/Internals/UrlHelper.cs index 7a33d45e..cfce99c3 100644 --- a/src/redmine-net-api/Internals/UrlHelper.cs +++ b/src/redmine-net-api/Internals/UrlHelper.cs @@ -243,8 +243,6 @@ public static string GetWikisUrl(RedmineManager redmineManager, string projectId /// public static string GetWikiPageUrl(RedmineManager redmineManager, string projectId, string pageName, uint version = 0) { - pageName = Uri.EscapeUriString(pageName); - var uri = version == 0 ? string.Format(CultureInfo.InvariantCulture,WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, redmineManager.Format) diff --git a/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs index 586340c7..52d1cccb 100644 --- a/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs @@ -1,4 +1,5 @@ #if !(NET20 || NET40) +using System; using System.Collections.Specialized; using System.Threading.Tasks; using Redmine.Net.Api.Async; @@ -75,6 +76,25 @@ public async Task Should_Delete_WikiPage() await fixture.RedmineManager.DeleteWikiPageAsync(PROJECT_ID, WIKI_PAGE_NAME); await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetWikiPageAsync(PROJECT_ID, null, WIKI_PAGE_NAME)); } + + [Fact] + public async Task Should_Get_Wiki_Page_With_Special_Chars() + { + var wikiPageName = "some-page-with-umlauts-and-other-special-chars-äöüÄÖÜß"; + + var wikiPage = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, wikiPageName, + new WikiPage { Text = "WIKI_PAGE_TEXT", Comments = "WIKI_PAGE_COMMENT" }); + + WikiPage page = await fixture.RedmineManager.GetWikiPageAsync + ( + PROJECT_ID, + null, + wikiPageName + ); + + Assert.NotNull(page); + Assert.True(string.Equals(page.Title,wikiPageName, StringComparison.OrdinalIgnoreCase),$"Wiki page {wikiPageName} does not exist."); + } } } diff --git a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs index fefb48ad..4457b64b 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs @@ -14,6 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ +using System; using System.Collections.Specialized; using System.Linq; using Padi.RedmineApi.Tests.Infrastructure; @@ -116,5 +117,24 @@ public void Should_Get_Wiki_Page_By_Version() Assert.Equal(oldPage.Title, WIKI_PAGE_NAME); Assert.True(oldPage.Version == WIKI_PAGE_VERSION, "Wiki page version is invalid."); } + + [Fact, Order(6)] + public void Should_Get_Wiki_Page_With_Special_Chars() + { + var wikiPageName = "some-page-with-umlauts-and-other-special-chars-äöüÄÖÜß"; + + var wikiPage = fixture.RedmineManager.CreateWikiPage(PROJECT_ID, wikiPageName, + new WikiPage { Text = "WIKI_PAGE_TEXT", Comments = "WIKI_PAGE_COMMENT" }); + + WikiPage page = fixture.RedmineManager.GetWikiPage + ( + PROJECT_ID, + null, + wikiPageName + ); + + Assert.NotNull(page); + Assert.True(string.Equals(page.Title,wikiPageName, StringComparison.OrdinalIgnoreCase),$"Wiki page {wikiPageName} does not exist."); + } } } \ No newline at end of file From 45f02b154b980e35a6b891d5ce1838426d9b8cf7 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 30 Sep 2020 08:46:49 +0300 Subject: [PATCH 220/601] Update release notes --- CHANGELOG.md | 8 ++++++++ releasenotes.props | 5 +++-- version.props | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e82ae71..8dab1df8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [v4.1.0] + +Fixes: + +* Assigning IssueCustomFields to a project should be supported (#277) +* How to add a custom field to a project (#276) +* Wrong encoding of special characters in URLs causes 404 (#274) + ## [v4.0.2] Fixes: Add #236 to current version. diff --git a/releasenotes.props b/releasenotes.props index fd4d6f3f..8d154e1f 100644 --- a/releasenotes.props +++ b/releasenotes.props @@ -1,9 +1,10 @@ - + $(PackageReleaseNotes) diff --git a/version.props b/version.props index c8a0b166..4fe37a14 100644 --- a/version.props +++ b/version.props @@ -1,6 +1,6 @@ - 4.0.2 + 4.1.0 $(VersionPrefix) $(VersionPrefix)-$(VersionSuffix) From 2aff74367895a7596a7ffd9a6b630146beff0b7c Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 30 Sep 2020 09:48:59 +0300 Subject: [PATCH 221/601] Auto stash before rebase of "4.1.0" --- appveyor.yml | 1 - src/redmine-net-api/RedmineManager.cs | 16 +++++----- src/redmine-net-api/RedmineWebClient.cs | 1 + .../Tests/Sync/WikiPageTests.cs | 32 +++++++++++++++++++ 4 files changed, 41 insertions(+), 9 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 69df924a..69a1e324 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -85,5 +85,4 @@ for: secure: iQKBODPsLcVrf7JQV5IR1jDHq01NiqEDmgj8N0Ahktuu76dKCs827tLggGMO9Mkd skip_symbols: true on: - branch: master APPVEYOR_REPO_TAG: true \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index b5eb7573..09288930 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -362,7 +362,7 @@ public void UpdateWikiPage(string projectId, string pageName, WikiPage wikiPage) { var result = Serializer.Serialize(wikiPage); - if (string.IsNullOrEmpty(result)) + if (result.IsNullOrWhiteSpace()) { return; } @@ -385,7 +385,7 @@ public WikiPage CreateWikiPage(string projectId, string pageName, WikiPage wikiP { var result = Serializer.Serialize(wikiPage); - if (string.IsNullOrEmpty(result)) + if (result.IsNullOrWhiteSpace()) { return null; } @@ -451,15 +451,17 @@ public void DeleteWikiPage(string projectId, string pageName) /// public int Count(NameValueCollection parameters) where T : class, new() { - int totalCount = 0, pageSize = 1, offset = 0; + var totalCount = 0; + const int PAGE_SIZE = 1; + const int OFFSET = 0; if (parameters == null) { parameters = new NameValueCollection(); } - parameters.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); - parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); + parameters.Set(RedmineKeys.LIMIT, PAGE_SIZE.ToString(CultureInfo.InvariantCulture)); + parameters.Set(RedmineKeys.OFFSET, OFFSET.ToString(CultureInfo.InvariantCulture)); try { @@ -827,8 +829,6 @@ public byte[] DownloadFile(string address) return WebApiHelper.ExecuteDownloadFile(this, address); } - private const string UA = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1"; - /// /// Creates the Redmine web client. /// @@ -839,7 +839,7 @@ public byte[] DownloadFile(string address) public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, bool uploadFile = false) { var webClient = new RedmineWebClient { Scheme = Scheme, RedmineSerializer = Serializer}; - webClient.UserAgent = UA; + if (!uploadFile) { webClient.Headers.Add(HttpRequestHeader.ContentType, MimeFormat == MimeFormat.Xml diff --git a/src/redmine-net-api/RedmineWebClient.cs b/src/redmine-net-api/RedmineWebClient.cs index 4784ca00..1608bbbd 100644 --- a/src/redmine-net-api/RedmineWebClient.cs +++ b/src/redmine-net-api/RedmineWebClient.cs @@ -26,6 +26,7 @@ namespace Redmine.Net.Api /// public class RedmineWebClient : WebClient { + private const string UA = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1"; private string redirectUrl = string.Empty; /// diff --git a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs index 4457b64b..a8dda8c3 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs @@ -17,6 +17,7 @@ limitations under the License. using System; using System.Collections.Specialized; using System.Linq; +using System.Net; using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; @@ -137,4 +138,35 @@ public void Should_Get_Wiki_Page_With_Special_Chars() Assert.True(string.Equals(page.Title,wikiPageName, StringComparison.OrdinalIgnoreCase),$"Wiki page {wikiPageName} does not exist."); } } + + [Trait("Redmine-Net-Api", "Download")] +#if !(NET20 || NET40) + [Collection("RedmineCollection")] +#endif + public class DownloadTests + { + private readonly RedmineFixture fixture; + + public DownloadTests(RedmineFixture fixture) + { + this.fixture = fixture; + } + + [Fact] + public void Should_Get_Gant_File() + { + using (WebClient client = fixture.RedmineManager.CreateWebClient(new NameValueCollection())) + { + var queryString = + "utf8=%E2%9C%93&set_filter=1&gant=1&f%5B%5D=status_id&f%5B%5D=project_id&f%5B%5D=&op%5Bstatus_id%5D=o&op%5Bproject_id%5D=%3D&v%5Bproject_id%5D%5B%5D=40&v%5Bproject_id%5D%5B%5D=6&v%5Bproject_id%5D%5B%5D=7&v%5Bproject_id%5D%5B%5D=13&v%5Bproject_id%5D%5B%5D=3&v%5Bproject_id%5D%5B%5D=14&v%5Bproject_id%5D%5B%5D=4&v%5Bproject_id%5D%5B%5D=8&query%5Bdraw_relations%5D=0&query%5Bdraw_relations%5D=1&query%5Bdraw_progress_line%5D=0&months=4&month=5&year=2017&zoom=4"; + + + var decode = Uri.UnescapeDataString(queryString); + + var address = $"{fixture.RedmineManager.Host}/issues/gantt.png?{queryString}"; + + // byte[] gantFile = client.DownloadData(address); + } + } + } } \ No newline at end of file From dd554f15a1fe44cd1bb66024d693df9afbc83e68 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 30 Sep 2020 09:48:59 +0300 Subject: [PATCH 222/601] Revert "Auto stash before rebase of "4.1.0"" This reverts commit 2aff74367895a7596a7ffd9a6b630146beff0b7c. --- appveyor.yml | 1 + src/redmine-net-api/RedmineManager.cs | 16 +++++----- src/redmine-net-api/RedmineWebClient.cs | 1 - .../Tests/Sync/WikiPageTests.cs | 32 ------------------- 4 files changed, 9 insertions(+), 41 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 69a1e324..69df924a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -85,4 +85,5 @@ for: secure: iQKBODPsLcVrf7JQV5IR1jDHq01NiqEDmgj8N0Ahktuu76dKCs827tLggGMO9Mkd skip_symbols: true on: + branch: master APPVEYOR_REPO_TAG: true \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 09288930..b5eb7573 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -362,7 +362,7 @@ public void UpdateWikiPage(string projectId, string pageName, WikiPage wikiPage) { var result = Serializer.Serialize(wikiPage); - if (result.IsNullOrWhiteSpace()) + if (string.IsNullOrEmpty(result)) { return; } @@ -385,7 +385,7 @@ public WikiPage CreateWikiPage(string projectId, string pageName, WikiPage wikiP { var result = Serializer.Serialize(wikiPage); - if (result.IsNullOrWhiteSpace()) + if (string.IsNullOrEmpty(result)) { return null; } @@ -451,17 +451,15 @@ public void DeleteWikiPage(string projectId, string pageName) /// public int Count(NameValueCollection parameters) where T : class, new() { - var totalCount = 0; - const int PAGE_SIZE = 1; - const int OFFSET = 0; + int totalCount = 0, pageSize = 1, offset = 0; if (parameters == null) { parameters = new NameValueCollection(); } - parameters.Set(RedmineKeys.LIMIT, PAGE_SIZE.ToString(CultureInfo.InvariantCulture)); - parameters.Set(RedmineKeys.OFFSET, OFFSET.ToString(CultureInfo.InvariantCulture)); + parameters.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); + parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); try { @@ -829,6 +827,8 @@ public byte[] DownloadFile(string address) return WebApiHelper.ExecuteDownloadFile(this, address); } + private const string UA = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1"; + /// /// Creates the Redmine web client. /// @@ -839,7 +839,7 @@ public byte[] DownloadFile(string address) public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, bool uploadFile = false) { var webClient = new RedmineWebClient { Scheme = Scheme, RedmineSerializer = Serializer}; - + webClient.UserAgent = UA; if (!uploadFile) { webClient.Headers.Add(HttpRequestHeader.ContentType, MimeFormat == MimeFormat.Xml diff --git a/src/redmine-net-api/RedmineWebClient.cs b/src/redmine-net-api/RedmineWebClient.cs index 1608bbbd..4784ca00 100644 --- a/src/redmine-net-api/RedmineWebClient.cs +++ b/src/redmine-net-api/RedmineWebClient.cs @@ -26,7 +26,6 @@ namespace Redmine.Net.Api /// public class RedmineWebClient : WebClient { - private const string UA = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1"; private string redirectUrl = string.Empty; /// diff --git a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs index a8dda8c3..4457b64b 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs @@ -17,7 +17,6 @@ limitations under the License. using System; using System.Collections.Specialized; using System.Linq; -using System.Net; using Padi.RedmineApi.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; @@ -138,35 +137,4 @@ public void Should_Get_Wiki_Page_With_Special_Chars() Assert.True(string.Equals(page.Title,wikiPageName, StringComparison.OrdinalIgnoreCase),$"Wiki page {wikiPageName} does not exist."); } } - - [Trait("Redmine-Net-Api", "Download")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class DownloadTests - { - private readonly RedmineFixture fixture; - - public DownloadTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - [Fact] - public void Should_Get_Gant_File() - { - using (WebClient client = fixture.RedmineManager.CreateWebClient(new NameValueCollection())) - { - var queryString = - "utf8=%E2%9C%93&set_filter=1&gant=1&f%5B%5D=status_id&f%5B%5D=project_id&f%5B%5D=&op%5Bstatus_id%5D=o&op%5Bproject_id%5D=%3D&v%5Bproject_id%5D%5B%5D=40&v%5Bproject_id%5D%5B%5D=6&v%5Bproject_id%5D%5B%5D=7&v%5Bproject_id%5D%5B%5D=13&v%5Bproject_id%5D%5B%5D=3&v%5Bproject_id%5D%5B%5D=14&v%5Bproject_id%5D%5B%5D=4&v%5Bproject_id%5D%5B%5D=8&query%5Bdraw_relations%5D=0&query%5Bdraw_relations%5D=1&query%5Bdraw_progress_line%5D=0&months=4&month=5&year=2017&zoom=4"; - - - var decode = Uri.UnescapeDataString(queryString); - - var address = $"{fixture.RedmineManager.Host}/issues/gantt.png?{queryString}"; - - // byte[] gantFile = client.DownloadData(address); - } - } - } } \ No newline at end of file From 4095b149b9a7b79231a622bfbb4e9f5b1019264d Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 30 Sep 2020 09:49:58 +0300 Subject: [PATCH 223/601] Update appveyor.yml --- appveyor.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 69df924a..69a1e324 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -85,5 +85,4 @@ for: secure: iQKBODPsLcVrf7JQV5IR1jDHq01NiqEDmgj8N0Ahktuu76dKCs827tLggGMO9Mkd skip_symbols: true on: - branch: master APPVEYOR_REPO_TAG: true \ No newline at end of file From 194c661861a2fd865e7ccac8db6ac752731583f0 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 30 Sep 2020 15:06:44 +0300 Subject: [PATCH 224/601] Small refactoring --- src/redmine-net-api/Extensions/WebExtensions.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/redmine-net-api/Extensions/WebExtensions.cs b/src/redmine-net-api/Extensions/WebExtensions.cs index 048f20d7..0d8920af 100644 --- a/src/redmine-net-api/Extensions/WebExtensions.cs +++ b/src/redmine-net-api/Extensions/WebExtensions.cs @@ -59,6 +59,7 @@ public static void HandleWebException(this WebException exception, IRedmineSeria throw new RedmineTimeoutException(nameof(WebExceptionStatus.Timeout), innerException); case WebExceptionStatus.NameResolutionFailure: throw new NameResolutionFailureException("Bad domain name.", innerException); + case WebExceptionStatus.ProtocolError: { var response = (HttpWebResponse)exception.Response; @@ -67,9 +68,6 @@ public static void HandleWebException(this WebException exception, IRedmineSeria case (int)HttpStatusCode.NotFound: throw new NotFoundException(response.StatusDescription, innerException); - case (int)HttpStatusCode.InternalServerError: - throw new InternalServerErrorException(response.StatusDescription, innerException); - case (int)HttpStatusCode.Unauthorized: throw new UnauthorizedException(response.StatusDescription, innerException); @@ -95,10 +93,12 @@ public static void HandleWebException(this WebException exception, IRedmineSeria case (int)HttpStatusCode.NotAcceptable: throw new NotAcceptableException(response.StatusDescription, innerException); + + default: + throw new RedmineException(response.StatusDescription, innerException); } } - break; - + default: throw new RedmineException(exception.Message, innerException); } From f7e30b3fdb44cfacd9e9dbc7c35ecf2f58efaf1a Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 30 Sep 2020 15:09:08 +0300 Subject: [PATCH 225/601] Update version & release notes --- CHANGELOG.md | 4 ++++ releasenotes.props | 6 ++---- version.props | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8dab1df8..bc0ed261 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [v4.1.0] +* Small refactoring + +## [v4.1.0] + Fixes: * Assigning IssueCustomFields to a project should be supported (#277) diff --git a/releasenotes.props b/releasenotes.props index 8d154e1f..efad2ed7 100644 --- a/releasenotes.props +++ b/releasenotes.props @@ -1,10 +1,8 @@ - + $(PackageReleaseNotes) diff --git a/version.props b/version.props index 4fe37a14..031fa779 100644 --- a/version.props +++ b/version.props @@ -1,6 +1,6 @@ - 4.1.0 + 4.2.1 $(VersionPrefix) $(VersionPrefix)-$(VersionSuffix) From ba9760f1980a38f1cadc083da7a68d3d52d9cea9 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 30 Sep 2020 15:10:45 +0300 Subject: [PATCH 226/601] Fix version --- CHANGELOG.md | 2 +- releasenotes.props | 2 +- version.props | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc0ed261..1eab31bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [v4.1.0] +## [v4.2.0] * Small refactoring diff --git a/releasenotes.props b/releasenotes.props index efad2ed7..45611974 100644 --- a/releasenotes.props +++ b/releasenotes.props @@ -1,6 +1,6 @@ - + diff --git a/version.props b/version.props index 031fa779..38ea1fb2 100644 --- a/version.props +++ b/version.props @@ -1,6 +1,6 @@ - 4.2.1 + 4.2.0 $(VersionPrefix) $(VersionPrefix)-$(VersionSuffix) From 59e7fc2cf8c7da05141696fa9f2404ceb1d2ea45 Mon Sep 17 00:00:00 2001 From: Padi Date: Tue, 13 Oct 2020 23:41:35 +0300 Subject: [PATCH 227/601] Update dotnetcore.yml --- .github/workflows/dotnetcore.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 1dcfefd5..ae23ff25 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -9,6 +9,7 @@ on: - LICENSE - tests/* pull_request: + workflow_dispatch: env: DOTNET_CLI_TELEMETRY_OPTOUT: 1 @@ -20,18 +21,33 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - dotnet: [ '3.1.100' ] + dotnet: [ '3.1.301' ] name: OS ${{ matrix.os }} - dotnet ${{ matrix.dotnet }} steps: - uses: actions/checkout@v2 + - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: dotnet-version: ${{ matrix.dotnet }} + + - name: Install dependencies + run: dotnet restore redmine-net-api.sln + #- name: Get the version # id: get_version # run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} # ${{ steps.get_version.outputs.VERSION }} - - name: Build with dotnet - run: dotnet build redmine-net-api.sln --configuration Release + + - name: Build + run: dotnet build redmine-net-api.sln --configuration Release --no-restore + + #- name: Test + # run: dotnet test --no-restore --verbosity normal + + #- name: Generate a NuGet package + # run: dotnet pack --no-build -c Release -o . + + #- name: Push to GitHub package registry + # run: dotnet nuget push *.nupkg From bb5e880703215387e9f757c5a9babfcac5bce1ff Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 5 Dec 2020 22:15:50 +0200 Subject: [PATCH 228/601] Fix #280 --- src/redmine-net-api/Async/RedmineManagerAsync45.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index e15cf3a0..53c60f6a 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -323,8 +323,10 @@ public static async Task> GetObjectsAsync(this RedmineManager redmine { if (resultList == null) { - resultList = new List(tempResult.Items); totalCount = tempResult.TotalItems; + resultList = totalCount > 0 + ? new List(tempResult.Items) + : new List(); } else { From 69c4163a1df728bebc0ecbc32b3251372d8f91bb Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 9 Dec 2020 14:33:30 +0200 Subject: [PATCH 229/601] Refactor GetObjectsAsync --- .../Async/RedmineManagerAsync45.cs | 39 ++++++++++++++----- src/redmine-net-api/RedmineManager.cs | 4 +- 2 files changed, 31 insertions(+), 12 deletions(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index 53c60f6a..24572b0d 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -299,13 +299,20 @@ public static async Task> GetPaginatedObjectsAsync(this Redmi public static async Task> GetObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { - int totalCount = 0, pageSize, offset; + int pageSize = 0, offset = 0; + var isLimitSet = false; List resultList = null; - if (parameters == null) parameters = new NameValueCollection(); - - int.TryParse(parameters[RedmineKeys.LIMIT], out pageSize); - int.TryParse(parameters[RedmineKeys.OFFSET], out offset); + if (parameters == null) + { + parameters = new NameValueCollection(); + } + else + { + isLimitSet = int.TryParse(parameters[RedmineKeys.LIMIT], out pageSize); + int.TryParse(parameters[RedmineKeys.OFFSET], out offset); + } + if (pageSize == default(int)) { pageSize = redmineManager.PageSize > 0 @@ -315,18 +322,21 @@ public static async Task> GetObjectsAsync(this RedmineManager redmine } try { + var hasOffset = RedmineManager.TypesWithOffset.ContainsKey(typeof(T)); + if (hasOffset) + { + var totalCount = 0; do { parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); var tempResult = await redmineManager.GetPaginatedObjectsAsync(parameters).ConfigureAwait(false); - if (tempResult != null) + totalCount = isLimitSet ? pageSize : tempResult.TotalItems; + + if (tempResult?.Items != null) { if (resultList == null) { - totalCount = tempResult.TotalItems; - resultList = totalCount > 0 - ? new List(tempResult.Items) - : new List(); + resultList = new List(tempResult.Items); } else { @@ -335,6 +345,15 @@ public static async Task> GetObjectsAsync(this RedmineManager redmine } offset += pageSize; } while (offset < totalCount); + } + else + { + var result = await redmineManager.GetPaginatedObjectsAsync(parameters).ConfigureAwait(false); + if (result?.Items != null) + { + return new List(result.Items); + } + } } catch (WebException wex) { diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index b5eb7573..29165b29 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -66,14 +66,14 @@ public class RedmineManager : IRedmineManager {typeof(CustomField), "custom_fields"} }; - private static readonly Dictionary TypesWithOffset = new Dictionary{ + public static readonly Dictionary TypesWithOffset = new Dictionary{ {typeof(Issue), true}, {typeof(Project), true}, {typeof(User), true}, {typeof(News), true}, {typeof(Query), true}, {typeof(TimeEntry), true}, - {typeof(ProjectMembership), true}, + {typeof(ProjectMembership), true} }; private readonly string basicAuthorization; From 9c2b92d1deac7d9bbe472ffa17d7532c96974ddc Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 9 Dec 2020 14:39:37 +0200 Subject: [PATCH 230/601] Update changelog & version --- CHANGELOG.md | 10 ++++++++++ releasenotes.props | 2 +- version.props | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1eab31bf..17f0c777 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [v4.2.2] + +Fixes: + +* GetObjectsAsync raises ArgumentNullException when should return null (#280) + +## [v4.2.1] + +* Small fixes. + ## [v4.2.0] * Small refactoring diff --git a/releasenotes.props b/releasenotes.props index 45611974..de533cd9 100644 --- a/releasenotes.props +++ b/releasenotes.props @@ -1,6 +1,6 @@ - + diff --git a/version.props b/version.props index 38ea1fb2..d3d645fc 100644 --- a/version.props +++ b/version.props @@ -1,6 +1,6 @@ - 4.2.0 + 4.2.2 $(VersionPrefix) $(VersionPrefix)-$(VersionSuffix) From df7abb96c601006fb182f1a4d3a75cdc0511947c Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 7 Feb 2021 22:25:40 +0200 Subject: [PATCH 231/601] Update workflow --- .github/workflows/dotnetcore.yml | 90 +++++++++++++++++++++++++++----- 1 file changed, 76 insertions(+), 14 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index ae23ff25..b5a7d094 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -6,13 +6,32 @@ on: - '**/*.md' - '**/*.gif' - '**/*.png' + - '**/*.gitignore' + - '**/*.gitattributes' - LICENSE - tests/* + tags: + - v[1-9].[0-9]+.[0-9]+ pull_request: workflow_dispatch: + branches: + - main + path-ignore: + - '**/*.md' + - '**/*.gif' + - '**/*.png' + - '**/*.gitignore' + - '**/*.gitattributes' + - LICENSE + - tests/* env: DOTNET_CLI_TELEMETRY_OPTOUT: 1 + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 + DOTNET_NOLOGO: true + DOTNET_GENERATE_ASPNET_CERTIFICATE: false + DOTNET_ADD_GLOBAL_TOOLS_TO_PATH: false + DOTNET_MULTILEVEL_LOOKUP: 0 jobs: build: @@ -21,13 +40,13 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - dotnet: [ '3.1.301' ] + dotnet: [ '3.1.x', '5.x' ] name: OS ${{ matrix.os }} - dotnet ${{ matrix.dotnet }} steps: - uses: actions/checkout@v2 - - name: Setup .NET Core + - name: Setup .NET Core SDK uses: actions/setup-dotnet@v1 with: dotnet-version: ${{ matrix.dotnet }} @@ -35,19 +54,62 @@ jobs: - name: Install dependencies run: dotnet restore redmine-net-api.sln - #- name: Get the version - # id: get_version - # run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - # ${{ steps.get_version.outputs.VERSION }} + - name: Get the version + id: get_version + run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} + ${{ steps.get_version.outputs.VERSION }} - name: Build - run: dotnet build redmine-net-api.sln --configuration Release --no-restore + run: dotnet build redmine-net-api.sln --configuration Release --no-restore --version-suffix=${{ steps.get_version.outputs.VERSION }} + + - name: Build Signed + run: dotnet build redmine-net-api.sln --configuration Release --no-restore --version-suffix=${{ steps.get_version.outputs.VERSION }} -p:Sign=true #- name: Test - # run: dotnet test --no-restore --verbosity normal - - #- name: Generate a NuGet package - # run: dotnet pack --no-build -c Release -o . - - #- name: Push to GitHub package registry - # run: dotnet nuget push *.nupkg + # run: dotnet test redmine-net-api.sln --no-restore --verbosity normal + + - name: Pack + run: dotnet pack redmine-net-api.sln --configuration Release -o .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build ${{ steps.get_version.outputs.VERSION }} + + - name: Pack Signed + run: dotnet pack redmine-net-api.sln --configuration Release -o .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build ${{ steps.get_version.outputs.VERSION }} -p:Sign=true + + - name: Publish NuGet Packages + uses: actions/upload-artifact@master + with: + name: nupkg + path: .\artifacts\**\*.nupkg + + - name: Publish Symbol Packages + uses: actions/upload-artifact@master + with: + name: snupkg + path: .\artifacts\**\*.snupkg + + deploy: + needs: build + name: Deploy Packages + steps: + - name: Download Package artifact + uses: actions/download-artifact@master + with: + name: nupkg + - name: Download Package artifact + uses: actions/download-artifact@master + with: + name: snupkg + + - name: Setup NuGet + uses: NuGet/setup-nuget@v1.0.2 + with: + nuget-api-key: ${{ secrets.NUGET_API_KEY }} + nuget-version: latest + + - name: Setup .NET Core SDK + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '3.1.x' + + - name: Push to NuGet + run: dotnet nuget push nupkg\*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://nuget.org + \ No newline at end of file From 8ecf59f3056a181be5644f67a829bc22c840886f Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 7 Feb 2021 20:28:24 +0000 Subject: [PATCH 232/601] Update dotnetcore.yml --- .github/workflows/dotnetcore.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index b5a7d094..624d3090 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -57,7 +57,7 @@ jobs: - name: Get the version id: get_version run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - ${{ steps.get_version.outputs.VERSION }} + #${{ steps.get_version.outputs.VERSION }} - name: Build run: dotnet build redmine-net-api.sln --configuration Release --no-restore --version-suffix=${{ steps.get_version.outputs.VERSION }} @@ -112,4 +112,4 @@ jobs: - name: Push to NuGet run: dotnet nuget push nupkg\*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://nuget.org - \ No newline at end of file + From c11c63755399a891be4675dcd1c1b5343204db81 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 7 Feb 2021 20:37:57 +0000 Subject: [PATCH 233/601] Update dotnetcore.yml --- .github/workflows/dotnetcore.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 624d3090..3ca5756e 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -87,6 +87,7 @@ jobs: path: .\artifacts\**\*.snupkg deploy: + runs-on: macOS-latest needs: build name: Deploy Packages steps: From 5ef2b9d2a22f40fdc313dee64a04ff3faab8ba47 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 7 Feb 2021 20:40:19 +0000 Subject: [PATCH 234/601] Update dotnetcore.yml --- .github/workflows/dotnetcore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 3ca5756e..84309a6f 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -40,7 +40,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - dotnet: [ '3.1.x', '5.x' ] + dotnet: [ '3.1.x'] name: OS ${{ matrix.os }} - dotnet ${{ matrix.dotnet }} steps: From da2c8c1e6ea8417b4c82f360c72a7a6ef812e4dd Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 7 Feb 2021 20:52:54 +0000 Subject: [PATCH 235/601] Update dotnetcore.yml --- .github/workflows/dotnetcore.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 84309a6f..ff56f50f 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -32,6 +32,7 @@ env: DOTNET_GENERATE_ASPNET_CERTIFICATE: false DOTNET_ADD_GLOBAL_TOOLS_TO_PATH: false DOTNET_MULTILEVEL_LOOKUP: 0 + VERSION: git.sha jobs: build: @@ -55,24 +56,25 @@ jobs: run: dotnet restore redmine-net-api.sln - name: Get the version - id: get_version - run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} + #id: get_version + #run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} #${{ steps.get_version.outputs.VERSION }} + run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Build - run: dotnet build redmine-net-api.sln --configuration Release --no-restore --version-suffix=${{ steps.get_version.outputs.VERSION }} + run: dotnet build redmine-net-api.sln --configuration Release --no-restore --version-suffix=${{ env.VERSION }} - name: Build Signed - run: dotnet build redmine-net-api.sln --configuration Release --no-restore --version-suffix=${{ steps.get_version.outputs.VERSION }} -p:Sign=true + run: dotnet build redmine-net-api.sln --configuration Release --no-restore --version-suffix=${{ env.VERSION }} -p:Sign=true #- name: Test # run: dotnet test redmine-net-api.sln --no-restore --verbosity normal - name: Pack - run: dotnet pack redmine-net-api.sln --configuration Release -o .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build ${{ steps.get_version.outputs.VERSION }} + run: dotnet pack redmine-net-api.sln --configuration Release -o .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build ${{ env.VERSION }} - name: Pack Signed - run: dotnet pack redmine-net-api.sln --configuration Release -o .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build ${{ steps.get_version.outputs.VERSION }} -p:Sign=true + run: dotnet pack redmine-net-api.sln --configuration Release -o .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build ${{ env.VERSION }} -p:Sign=true - name: Publish NuGet Packages uses: actions/upload-artifact@master From 92b67414af85edb9ad3a136cac1c0fdaa019e204 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 7 Feb 2021 20:55:43 +0000 Subject: [PATCH 236/601] Update dotnetcore.yml --- .github/workflows/dotnetcore.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index ff56f50f..4f7a2286 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -32,7 +32,6 @@ env: DOTNET_GENERATE_ASPNET_CERTIFICATE: false DOTNET_ADD_GLOBAL_TOOLS_TO_PATH: false DOTNET_MULTILEVEL_LOOKUP: 0 - VERSION: git.sha jobs: build: @@ -60,7 +59,10 @@ jobs: #run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} #${{ steps.get_version.outputs.VERSION }} run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - + - name: Test + run: | + echo $VERSION + echo ${{ env.VERSION }} - name: Build run: dotnet build redmine-net-api.sln --configuration Release --no-restore --version-suffix=${{ env.VERSION }} From f0b2e98c318081c02cc798ef4adccd3f97f05dc6 Mon Sep 17 00:00:00 2001 From: Padi Date: Mon, 8 Feb 2021 14:50:54 +0000 Subject: [PATCH 237/601] Update dotnetcore.yml --- .github/workflows/dotnetcore.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 4f7a2286..4d584342 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -58,11 +58,19 @@ jobs: #id: get_version #run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} #${{ steps.get_version.outputs.VERSION }} - run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + run: | + echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + # Get the version number + XVERSION=$(dotnet minver -t v -v e -d preview) + + - name: Test run: | echo $VERSION echo ${{ env.VERSION }} + echo $XVERSION + echo $github.run_number + - name: Build run: dotnet build redmine-net-api.sln --configuration Release --no-restore --version-suffix=${{ env.VERSION }} @@ -74,9 +82,11 @@ jobs: - name: Pack run: dotnet pack redmine-net-api.sln --configuration Release -o .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build ${{ env.VERSION }} + if: runner.os != 'Windows' - name: Pack Signed run: dotnet pack redmine-net-api.sln --configuration Release -o .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build ${{ env.VERSION }} -p:Sign=true + if: runner.os != 'Windows' - name: Publish NuGet Packages uses: actions/upload-artifact@master From 455b4870b8bc393584457c082c9bebeb530247a3 Mon Sep 17 00:00:00 2001 From: Padi Date: Mon, 8 Feb 2021 14:59:07 +0000 Subject: [PATCH 238/601] Update dotnetcore.yml --- .github/workflows/dotnetcore.yml | 104 +++++++++++++++---------------- 1 file changed, 51 insertions(+), 53 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 4d584342..d17aef8e 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -50,7 +50,10 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: ${{ matrix.dotnet }} - + # Fetches all tags for the repo + - name: Fetch tags + run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* + - name: Install dependencies run: dotnet restore redmine-net-api.sln @@ -58,73 +61,68 @@ jobs: #id: get_version #run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} #${{ steps.get_version.outputs.VERSION }} - run: | - echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - # Get the version number - XVERSION=$(dotnet minver -t v -v e -d preview) - + run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Test run: | echo $VERSION echo ${{ env.VERSION }} - echo $XVERSION echo $github.run_number - - name: Build - run: dotnet build redmine-net-api.sln --configuration Release --no-restore --version-suffix=${{ env.VERSION }} +# - name: Build +# run: dotnet build redmine-net-api.sln --configuration Release --no-restore --version-suffix=${{ env.VERSION }} - - name: Build Signed - run: dotnet build redmine-net-api.sln --configuration Release --no-restore --version-suffix=${{ env.VERSION }} -p:Sign=true +# - name: Build Signed +# run: dotnet build redmine-net-api.sln --configuration Release --no-restore --version-suffix=${{ env.VERSION }} -p:Sign=true - #- name: Test - # run: dotnet test redmine-net-api.sln --no-restore --verbosity normal +# #- name: Test +# # run: dotnet test redmine-net-api.sln --no-restore --verbosity normal - - name: Pack - run: dotnet pack redmine-net-api.sln --configuration Release -o .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build ${{ env.VERSION }} - if: runner.os != 'Windows' +# - name: Pack +# run: dotnet pack redmine-net-api.sln --configuration Release -o .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build ${{ env.VERSION }} +# if: runner.os != 'Windows' - - name: Pack Signed - run: dotnet pack redmine-net-api.sln --configuration Release -o .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build ${{ env.VERSION }} -p:Sign=true - if: runner.os != 'Windows' +# - name: Pack Signed +# run: dotnet pack redmine-net-api.sln --configuration Release -o .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build ${{ env.VERSION }} -p:Sign=true +# if: runner.os != 'Windows' - - name: Publish NuGet Packages - uses: actions/upload-artifact@master - with: - name: nupkg - path: .\artifacts\**\*.nupkg +# - name: Publish NuGet Packages +# uses: actions/upload-artifact@master +# with: +# name: nupkg +# path: .\artifacts\**\*.nupkg - - name: Publish Symbol Packages - uses: actions/upload-artifact@master - with: - name: snupkg - path: .\artifacts\**\*.snupkg +# - name: Publish Symbol Packages +# uses: actions/upload-artifact@master +# with: +# name: snupkg +# path: .\artifacts\**\*.snupkg - deploy: - runs-on: macOS-latest - needs: build - name: Deploy Packages - steps: - - name: Download Package artifact - uses: actions/download-artifact@master - with: - name: nupkg - - name: Download Package artifact - uses: actions/download-artifact@master - with: - name: snupkg +# deploy: +# runs-on: macOS-latest +# needs: build +# name: Deploy Packages +# steps: +# - name: Download Package artifact +# uses: actions/download-artifact@master +# with: +# name: nupkg +# - name: Download Package artifact +# uses: actions/download-artifact@master +# with: +# name: snupkg - - name: Setup NuGet - uses: NuGet/setup-nuget@v1.0.2 - with: - nuget-api-key: ${{ secrets.NUGET_API_KEY }} - nuget-version: latest +# - name: Setup NuGet +# uses: NuGet/setup-nuget@v1.0.2 +# with: +# nuget-api-key: ${{ secrets.NUGET_API_KEY }} +# nuget-version: latest - - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.x' +# - name: Setup .NET Core SDK +# uses: actions/setup-dotnet@v1 +# with: +# dotnet-version: '3.1.x' - - name: Push to NuGet - run: dotnet nuget push nupkg\*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://nuget.org +# - name: Push to NuGet +# run: dotnet nuget push nupkg\*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://nuget.org From 326ed514d2c62a957f255b3acf7e9e6c2c1d9b54 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 14 Feb 2021 14:46:45 +0200 Subject: [PATCH 239/601] Update appveyor --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 69a1e324..f5c6ee79 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -21,7 +21,7 @@ nuget: branches: only: - master - - /v\d*\.\d*\.\d*/ + - /\d*\.\d*\.\d*/ init: # Good practise, because Windows line endings are different from Unix/Linux ones From a9e2ecf9eaa42282a3f7ed67064f1bcd3426cc82 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 28 Feb 2021 20:38:28 +0200 Subject: [PATCH 240/601] Update appveyor --- appveyor.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index f5c6ee79..7927dc34 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -32,9 +32,9 @@ init: - ps: $buildNumber = $env:APPVEYOR_BUILD_NUMBER; - ps: $isRepoTag = $env:APPVEYOR_REPO_TAG; - ps: $revision = @{ $true = [string]::Empty; $false = "{0:00000}" -f [convert]::ToInt32("0" + $buildNumber, 10) }[$isRepoTag -eq "true"]; - - ps: $suffix = @{ $true = [string]::Empty; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and [string]::IsNullOrEmpty($revision)]; - - ps: $env:BUILD_SUFFIX = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[ -not ([string]::IsNullOrEmpty($suffix))]; - - ps: $env:VERSION_SUFFIX = @{ $true = "--version-suffix=$($suffix)"; $false = ""}[ -not ([string]::IsNullOrEmpty($suffix))]; + - ps: $suffix = @{ $true = [string]::Empty; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))$([string]::IsNullOrEmpty($revision) ? [string]::Empty : -$revision)"}[$branch -eq "master" -and [string]::IsNullOrEmpty($revision)]; + - ps: $env:BUILD_SUFFIX = @{ $true = "$($branch)-$($commitHash)"; $false = "$($suffix)-$($commitHash)" }[[string]::IsNullOrEmpty($suffix)]; + - ps: $env:VERSION_SUFFIX = @{ $true = ""; $false = "--version-suffix=$($suffix)"}[[string]::IsNullOrEmpty($suffix)]; install: - ps: dotnet restore redmine-net-api.sln @@ -85,4 +85,5 @@ for: secure: iQKBODPsLcVrf7JQV5IR1jDHq01NiqEDmgj8N0Ahktuu76dKCs827tLggGMO9Mkd skip_symbols: true on: + branch: master APPVEYOR_REPO_TAG: true \ No newline at end of file From 59ee00ddb5473768fb4ae213ef898b00fbad4179 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 28 Feb 2021 20:44:48 +0200 Subject: [PATCH 241/601] Fix #284 --- src/redmine-net-api/RedmineWebClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/RedmineWebClient.cs b/src/redmine-net-api/RedmineWebClient.cs index 4784ca00..e1ba04a7 100644 --- a/src/redmine-net-api/RedmineWebClient.cs +++ b/src/redmine-net-api/RedmineWebClient.cs @@ -126,7 +126,7 @@ protected override WebRequest GetWebRequest(Uri address) if (Timeout != null) { - httpWebRequest.Timeout = Timeout.Value.Milliseconds; + httpWebRequest.Timeout = (int)Timeout.Value.TotalMilliseconds; } return httpWebRequest; From e463600a787a731e3b101d003d1e8a6003826455 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 28 Feb 2021 20:53:24 +0200 Subject: [PATCH 242/601] Add timeout option to ctor --- src/redmine-net-api/RedmineManager.cs | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 29165b29..06fe12f3 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -91,20 +91,25 @@ public class RedmineManager : IRedmineManager /// The proxy. /// Use this parameter to specify a SecurityProtcolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. /// http or https. Default is https + /// /// /// Host is not defined! /// or /// The host is not valid! /// public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool verifyServerCert = true, - IWebProxy proxy = null, SecurityProtocolType securityProtocolType = default, string scheme = "https") + IWebProxy proxy = null, SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) { - if (string.IsNullOrEmpty(host)) throw new RedmineException("Host is not defined!"); + if (string.IsNullOrEmpty(host)) + { + throw new RedmineException("Host is not defined!"); + } PageSize = 25; Scheme = scheme; Host = host; MimeFormat = mimeFormat; + Timeout = timeout; Proxy = proxy; if (mimeFormat == MimeFormat.Xml) @@ -118,7 +123,7 @@ public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool Serializer = new JsonRedmineSerializer(); } - if (default == securityProtocolType) + if (securityProtocolType == default) { securityProtocolType = ServicePointManager.SecurityProtocol; } @@ -155,8 +160,8 @@ public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool /// Use this parameter to specify a SecurityProtcolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. public RedmineManager(string host, string apiKey, MimeFormat mimeFormat = MimeFormat.Xml, bool verifyServerCert = true, IWebProxy proxy = null, - SecurityProtocolType securityProtocolType = default) - : this(host, mimeFormat, verifyServerCert, proxy, securityProtocolType) + SecurityProtocolType securityProtocolType = default, TimeSpan? timeout = null) + : this(host, mimeFormat, verifyServerCert, proxy, securityProtocolType, timeout: timeout) { ApiKey = apiKey; } @@ -184,8 +189,8 @@ public RedmineManager(string host, string apiKey, MimeFormat mimeFormat = MimeFo /// Use this parameter to specify a SecurityProtcolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. public RedmineManager(string host, string login, string password, MimeFormat mimeFormat = MimeFormat.Xml, bool verifyServerCert = true, IWebProxy proxy = null, - SecurityProtocolType securityProtocolType = default) - : this(host, mimeFormat, verifyServerCert, proxy, securityProtocolType) + SecurityProtocolType securityProtocolType = default, TimeSpan? timeout = null) + : this(host, mimeFormat, verifyServerCert, proxy, securityProtocolType, timeout: timeout) { cache = new CredentialCache { { new Uri(host), "Basic", new NetworkCredential(login, password) } }; @@ -210,6 +215,8 @@ public RedmineManager(string host, string login, string password, MimeFormat mim /// /// public string Scheme { get; private set; } + + public TimeSpan? Timeout { get; private set; } /// /// Gets the host. @@ -840,6 +847,7 @@ public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, { var webClient = new RedmineWebClient { Scheme = Scheme, RedmineSerializer = Serializer}; webClient.UserAgent = UA; + webClient.Timeout = Timeout; if (!uploadFile) { webClient.Headers.Add(HttpRequestHeader.ContentType, MimeFormat == MimeFormat.Xml From 63538d00622484639cf49df47add958968318363 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 28 Feb 2021 21:43:23 +0200 Subject: [PATCH 243/601] Update appveyor --- appveyor.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7927dc34..d020e88e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -31,10 +31,10 @@ init: - ps: $branch = $env:APPVEYOR_REPO_BRANCH; - ps: $buildNumber = $env:APPVEYOR_BUILD_NUMBER; - ps: $isRepoTag = $env:APPVEYOR_REPO_TAG; - - ps: $revision = @{ $true = [string]::Empty; $false = "{0:00000}" -f [convert]::ToInt32("0" + $buildNumber, 10) }[$isRepoTag -eq "true"]; - - ps: $suffix = @{ $true = [string]::Empty; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))$([string]::IsNullOrEmpty($revision) ? [string]::Empty : -$revision)"}[$branch -eq "master" -and [string]::IsNullOrEmpty($revision)]; - - ps: $env:BUILD_SUFFIX = @{ $true = "$($branch)-$($commitHash)"; $false = "$($suffix)-$($commitHash)" }[[string]::IsNullOrEmpty($suffix)]; - - ps: $env:VERSION_SUFFIX = @{ $true = ""; $false = "--version-suffix=$($suffix)"}[[string]::IsNullOrEmpty($suffix)]; + - ps: $revision = $(If ($isRepoTag -eq "true") {[string]::Empty} Else {"{0:00000}" -f [convert]::ToInt32("0" + $buildNumber, 10)}); + - ps: $suffix = $(If ($branch -eq "master" -and [string]::IsNullOrEmpty($revision)) {[string]::Empty} Else {$branch.Substring(0, [math]::Min(10,$branch.Length))}); + - ps: $env:BUILD_SUFFIX = $(If ([string]::IsNullOrEmpty($suffix)) {"$branch-$commitHash"} Else {"$suffix-$commitHash"}); + - ps: $env:VERSION_SUFFIX = $(If ([string]::IsNullOrEmpty($suffix)) {[string]::Empty} Else {"--version-suffix=$suffix"}); install: - ps: dotnet restore redmine-net-api.sln From d8025adc679b51ba777642e3576934600fc5a755 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 28 Feb 2021 22:03:55 +0200 Subject: [PATCH 244/601] Update version & changelog & xml comments --- CHANGELOG.md | 5 +++ releasenotes.props | 5 --- src/redmine-net-api/RedmineManager.cs | 51 +++++++++++++++------------ version.props | 2 +- 4 files changed, 34 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17f0c777..256d1ff3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## [v4.2.3] + +Fixes: +* The only milliseconds component is set to Timeout. (#284) + ## [v4.2.2] Fixes: diff --git a/releasenotes.props b/releasenotes.props index de533cd9..2538fad8 100644 --- a/releasenotes.props +++ b/releasenotes.props @@ -1,10 +1,5 @@ - - - $(PackageReleaseNotes) See $(PackageProjectUrl)/blob/master/CHANGELOG.md#v$(VersionPrefix.Replace('.','')) for more details. diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 06fe12f3..91281903 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -66,6 +66,9 @@ public class RedmineManager : IRedmineManager {typeof(CustomField), "custom_fields"} }; + /// + /// + /// public static readonly Dictionary TypesWithOffset = new Dictionary{ {typeof(Issue), true}, {typeof(Project), true}, @@ -90,8 +93,8 @@ public class RedmineManager : IRedmineManager /// if set to true [verify server cert]. /// The proxy. /// Use this parameter to specify a SecurityProtcolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. - /// http or https. Default is https - /// + /// http or https. Default is https. + /// The webclient timeout. Default is 100 seconds. /// /// Host is not defined! /// or @@ -158,6 +161,7 @@ public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool /// if set to true [verify server cert]. /// The proxy. /// Use this parameter to specify a SecurityProtcolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. + /// The webclient timeout. Default is 100 seconds. public RedmineManager(string host, string apiKey, MimeFormat mimeFormat = MimeFormat.Xml, bool verifyServerCert = true, IWebProxy proxy = null, SecurityProtocolType securityProtocolType = default, TimeSpan? timeout = null) @@ -187,6 +191,7 @@ public RedmineManager(string host, string apiKey, MimeFormat mimeFormat = MimeFo /// if set to true [verify server cert]. /// The proxy. /// Use this parameter to specify a SecurityProtcolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. + /// The webclient timeout. Default is 100 seconds. public RedmineManager(string host, string login, string password, MimeFormat mimeFormat = MimeFormat.Xml, bool verifyServerCert = true, IWebProxy proxy = null, SecurityProtocolType securityProtocolType = default, TimeSpan? timeout = null) @@ -376,11 +381,11 @@ public void UpdateWikiPage(string projectId, string pageName, WikiPage wikiPage) var url = UrlHelper.GetWikiCreateOrUpdaterUrl(this, projectId, pageName); - url = Uri.EscapeUriString(url); + url = Uri.EscapeUriString(url); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, result); + WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, result); } - + /// /// /// @@ -444,9 +449,9 @@ public List GetAllWikiPages(string projectId) public void DeleteWikiPage(string projectId, string pageName) { var url = UrlHelper.GetDeleteWikiUrl(this, projectId, pageName); - + url = Uri.EscapeUriString(url); - + WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty); } @@ -471,7 +476,7 @@ public void DeleteWikiPage(string projectId, string pageName) try { var tempResult = GetPaginatedObjects(parameters); - + if (tempResult != null) { totalCount = tempResult.TotalItems; @@ -559,10 +564,10 @@ public void DeleteWikiPage(string projectId, string pageName) public List GetObjects(int limit, int offset, params string[] include) where T : class, new() { var parameters = new NameValueCollection(); - + parameters.Add(RedmineKeys.LIMIT, limit.ToString(CultureInfo.InvariantCulture)); parameters.Add(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); - + if (include != null && include.Length > 0) { parameters.Add(RedmineKeys.INCLUDE, string.Join(",", include)); @@ -587,7 +592,7 @@ public void DeleteWikiPage(string projectId, string pageName) public List GetObjects(params string[] include) where T : class, new() { var parameters = new NameValueCollection(); - + if (include != null && include.Length > 0) { parameters.Add(RedmineKeys.INCLUDE, string.Join(",", include)); @@ -644,7 +649,6 @@ public void DeleteWikiPage(string projectId, string pageName) if (resultList == null) { resultList = new List(tempResult.Items); - } else { @@ -653,8 +657,8 @@ public void DeleteWikiPage(string projectId, string pageName) } offset += pageSize; - - } while (offset < totalCount); + } + while (offset < totalCount); } else { @@ -718,9 +722,9 @@ public void DeleteWikiPage(string projectId, string pageName) public T CreateObject(T obj, string ownerId) where T : class, new() { var url = UrlHelper.GetCreateUrl(this, ownerId); - + var data = Serializer.Serialize(obj); - + return WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, data); } @@ -757,11 +761,11 @@ public void DeleteWikiPage(string projectId, string pageName) public void UpdateObject(string id, T obj, string projectId) where T : class, new() { var url = UrlHelper.GetUploadUrl(this, id); - + var data = Serializer.Serialize(obj); - + data = Regex.Replace(data, @"\r\n|\r|\n", "\r\n"); - + WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, data); } @@ -808,9 +812,9 @@ public Upload UploadFile(byte[] data) public void UpdateAttachment(int issueId, Attachment attachment) { var address = UrlHelper.GetAttachmentUpdateUrl(this, issueId); - + var attachments = new Attachments { { attachment.Id, attachment } }; - + var data = Serializer.Serialize(attachments); WebApiHelper.ExecuteUpload(this, address, HttpVerbs.PATCH, data); @@ -835,7 +839,7 @@ public byte[] DownloadFile(string address) } private const string UA = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1"; - + /// /// Creates the Redmine web client. /// @@ -890,7 +894,7 @@ public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, webClient.Proxy = Proxy; webClient.UseProxy = true; } - + if (!string.IsNullOrEmpty(ImpersonateUser)) { webClient.Headers.Add("X-Redmine-Switch-User", ImpersonateUser); @@ -918,6 +922,7 @@ public virtual bool RemoteCertValidate(object sender, X509Certificate cert, X509 { return true; } + return false; } } diff --git a/version.props b/version.props index d3d645fc..c493f568 100644 --- a/version.props +++ b/version.props @@ -1,6 +1,6 @@ - 4.2.2 + 4.2.3 $(VersionPrefix) $(VersionPrefix)-$(VersionSuffix) From 97274702d36d9a64637a2b5a6a9ca8b3f12fe8f3 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 28 Feb 2021 22:12:44 +0200 Subject: [PATCH 245/601] Fix appveyor --- appveyor.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index d020e88e..65e11969 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -32,7 +32,7 @@ init: - ps: $buildNumber = $env:APPVEYOR_BUILD_NUMBER; - ps: $isRepoTag = $env:APPVEYOR_REPO_TAG; - ps: $revision = $(If ($isRepoTag -eq "true") {[string]::Empty} Else {"{0:00000}" -f [convert]::ToInt32("0" + $buildNumber, 10)}); - - ps: $suffix = $(If ($branch -eq "master" -and [string]::IsNullOrEmpty($revision)) {[string]::Empty} Else {$branch.Substring(0, [math]::Min(10,$branch.Length))}); + - ps: $suffix = $(If ([string]::IsNullOrEmpty($revision)) {[string]::Empty} Else {$branch.Substring(0, [math]::Min(10,$branch.Length))}); - ps: $env:BUILD_SUFFIX = $(If ([string]::IsNullOrEmpty($suffix)) {"$branch-$commitHash"} Else {"$suffix-$commitHash"}); - ps: $env:VERSION_SUFFIX = $(If ([string]::IsNullOrEmpty($suffix)) {[string]::Empty} Else {"--version-suffix=$suffix"}); @@ -85,5 +85,4 @@ for: secure: iQKBODPsLcVrf7JQV5IR1jDHq01NiqEDmgj8N0Ahktuu76dKCs827tLggGMO9Mkd skip_symbols: true on: - branch: master APPVEYOR_REPO_TAG: true \ No newline at end of file From a2a29a691828e55e7c49c1ac55e26f791cfa7dee Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 28 Feb 2021 22:31:49 +0200 Subject: [PATCH 246/601] Update Nuget key --- appveyor.yml | 2 +- src/redmine-net-api/RedmineManager.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 65e11969..c4095dd5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -82,7 +82,7 @@ for: - provider: NuGet name: production api_key: - secure: iQKBODPsLcVrf7JQV5IR1jDHq01NiqEDmgj8N0Ahktuu76dKCs827tLggGMO9Mkd + secure: fEZylRkHvyJqjgeQ+i9TfL/JOPjLKr43k+a8Oy5MIy54IkFC8ZECaEfskcWOyqcg skip_symbols: true on: APPVEYOR_REPO_TAG: true \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 91281903..dc3e5833 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -221,6 +221,9 @@ public RedmineManager(string host, string login, string password, MimeFormat mim /// public string Scheme { get; private set; } + /// + /// + /// public TimeSpan? Timeout { get; private set; } /// From 737d61325b2d6c487b10469eaaea95ea74e6da29 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 28 Feb 2021 22:45:46 +0200 Subject: [PATCH 247/601] Update copyright --- .../Async/RedmineManagerAsync40.cs | 2 +- .../Async/RedmineManagerAsync45.cs | 2 +- .../Exceptions/ConflictException.cs | 2 +- .../Exceptions/ForbiddenException.cs | 2 +- .../InternalServerErrorException.cs | 2 +- .../NameResolutionFailureException.cs | 2 +- .../Exceptions/NotAcceptableException.cs | 2 +- .../Exceptions/NotFoundException.cs | 2 +- .../Exceptions/RedmineException.cs | 2 +- .../Exceptions/RedmineTimeoutException.cs | 2 +- .../Exceptions/UnauthorizedException.cs | 2 +- .../Extensions/CollectionExtensions.cs | 2 +- .../Extensions/WebExtensions.cs | 2 +- .../Extensions/XmlReaderExtensions.cs | 2 +- .../Extensions/XmlWriterExtensions.cs | 2 +- src/redmine-net-api/HttpVerbs.cs | 2 +- src/redmine-net-api/IRedmineManager.cs | 2 +- src/redmine-net-api/IRedmineWebClient.cs | 2 +- src/redmine-net-api/Internals/DataHelper.cs | 2 +- src/redmine-net-api/Internals/Func.cs | 2 +- .../Internals/HashCodeHelper.cs | 2 +- src/redmine-net-api/Internals/UrlHelper.cs | 2 +- .../Internals/WebApiAsyncHelper.cs | 2 +- src/redmine-net-api/Internals/WebApiHelper.cs | 19 +++++++++++++------ src/redmine-net-api/MimeFormat.cs | 2 +- src/redmine-net-api/RedmineManager.cs | 10 ++++++---- src/redmine-net-api/RedmineWebClient.cs | 2 +- src/redmine-net-api/Types/Attachment.cs | 2 +- src/redmine-net-api/Types/Attachments.cs | 2 +- src/redmine-net-api/Types/ChangeSet.cs | 2 +- src/redmine-net-api/Types/CustomField.cs | 2 +- .../Types/CustomFieldPossibleValue.cs | 2 +- src/redmine-net-api/Types/CustomFieldRole.cs | 2 +- src/redmine-net-api/Types/CustomFieldValue.cs | 2 +- src/redmine-net-api/Types/Detail.cs | 2 +- src/redmine-net-api/Types/Error.cs | 2 +- src/redmine-net-api/Types/File.cs | 2 +- src/redmine-net-api/Types/Group.cs | 2 +- src/redmine-net-api/Types/GroupUser.cs | 2 +- src/redmine-net-api/Types/IValue.cs | 2 +- src/redmine-net-api/Types/Identifiable.cs | 2 +- src/redmine-net-api/Types/IdentifiableName.cs | 2 +- src/redmine-net-api/Types/IssueCategory.cs | 2 +- src/redmine-net-api/Types/IssueChild.cs | 2 +- src/redmine-net-api/Types/IssueCustomField.cs | 2 +- src/redmine-net-api/Types/IssuePriority.cs | 2 +- src/redmine-net-api/Types/IssueRelation.cs | 2 +- .../Types/IssueRelationType.cs | 2 +- src/redmine-net-api/Types/IssueStatus.cs | 2 +- src/redmine-net-api/Types/Journal.cs | 2 +- src/redmine-net-api/Types/Membership.cs | 2 +- src/redmine-net-api/Types/MembershipRole.cs | 2 +- src/redmine-net-api/Types/News.cs | 2 +- src/redmine-net-api/Types/Permission.cs | 2 +- src/redmine-net-api/Types/Project.cs | 2 +- .../Types/ProjectEnabledModule.cs | 2 +- .../Types/ProjectIssueCategory.cs | 2 +- .../Types/ProjectMembership.cs | 2 +- src/redmine-net-api/Types/ProjectStatus.cs | 2 +- src/redmine-net-api/Types/ProjectTracker.cs | 2 +- src/redmine-net-api/Types/Query.cs | 2 +- src/redmine-net-api/Types/Role.cs | 2 +- src/redmine-net-api/Types/TimeEntry.cs | 2 +- .../Types/TimeEntryActivity.cs | 2 +- src/redmine-net-api/Types/Tracker.cs | 2 +- .../Types/TrackerCustomField.cs | 2 +- src/redmine-net-api/Types/Upload.cs | 2 +- src/redmine-net-api/Types/User.cs | 2 +- src/redmine-net-api/Types/UserGroup.cs | 2 +- src/redmine-net-api/Types/UserStatus.cs | 2 +- src/redmine-net-api/Types/Version.cs | 2 +- src/redmine-net-api/Types/Watcher.cs | 2 +- src/redmine-net-api/Types/WikiPage.cs | 2 +- .../Tests/Sync/AttachmentTests.cs | 2 +- .../Tests/Sync/CustomFieldTests.cs | 2 +- .../Tests/Sync/IssuePriorityTests.cs | 2 +- .../Tests/Sync/IssueRelationTests.cs | 2 +- .../Tests/Sync/IssueStatusTests.cs | 2 +- .../Tests/Sync/NewsTests.cs | 2 +- .../Tests/Sync/ProjectMembershipTests.cs | 2 +- .../Tests/Sync/ProjectTests.cs | 2 +- .../Tests/Sync/QueryTests.cs | 2 +- .../Tests/Sync/RoleTests.cs | 2 +- .../Tests/Sync/TimeEntryActivtiyTests.cs | 2 +- .../Tests/Sync/TimeEntryTests.cs | 2 +- .../Tests/Sync/TrackerTests.cs | 2 +- .../Tests/Sync/UserTests.cs | 2 +- .../Tests/Sync/VersionTests.cs | 2 +- .../Tests/Sync/WikiPageTests.cs | 2 +- 89 files changed, 106 insertions(+), 97 deletions(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync40.cs b/src/redmine-net-api/Async/RedmineManagerAsync40.cs index 5b69444d..3cf06d37 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync40.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync40.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index 24572b0d..afb27ea9 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2019 Adrian Popescu. +Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/ConflictException.cs b/src/redmine-net-api/Exceptions/ConflictException.cs index 43e4a5ad..86465c8d 100644 --- a/src/redmine-net-api/Exceptions/ConflictException.cs +++ b/src/redmine-net-api/Exceptions/ConflictException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/ForbiddenException.cs b/src/redmine-net-api/Exceptions/ForbiddenException.cs index de49d5f4..8c13b5a3 100644 --- a/src/redmine-net-api/Exceptions/ForbiddenException.cs +++ b/src/redmine-net-api/Exceptions/ForbiddenException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/InternalServerErrorException.cs b/src/redmine-net-api/Exceptions/InternalServerErrorException.cs index dea797e9..29704631 100644 --- a/src/redmine-net-api/Exceptions/InternalServerErrorException.cs +++ b/src/redmine-net-api/Exceptions/InternalServerErrorException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs b/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs index dd0e48c0..77781629 100644 --- a/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs +++ b/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/NotAcceptableException.cs b/src/redmine-net-api/Exceptions/NotAcceptableException.cs index 90aee858..7e4a914e 100644 --- a/src/redmine-net-api/Exceptions/NotAcceptableException.cs +++ b/src/redmine-net-api/Exceptions/NotAcceptableException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/NotFoundException.cs b/src/redmine-net-api/Exceptions/NotFoundException.cs index dbd29178..328f1a6d 100644 --- a/src/redmine-net-api/Exceptions/NotFoundException.cs +++ b/src/redmine-net-api/Exceptions/NotFoundException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/RedmineException.cs b/src/redmine-net-api/Exceptions/RedmineException.cs index 0867b830..2f6ed3ef 100644 --- a/src/redmine-net-api/Exceptions/RedmineException.cs +++ b/src/redmine-net-api/Exceptions/RedmineException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs b/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs index 8f0da618..04af4c12 100644 --- a/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs +++ b/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/UnauthorizedException.cs b/src/redmine-net-api/Exceptions/UnauthorizedException.cs index 4283b14c..edb6f1d0 100644 --- a/src/redmine-net-api/Exceptions/UnauthorizedException.cs +++ b/src/redmine-net-api/Exceptions/UnauthorizedException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/CollectionExtensions.cs b/src/redmine-net-api/Extensions/CollectionExtensions.cs index 22575397..1c70548e 100755 --- a/src/redmine-net-api/Extensions/CollectionExtensions.cs +++ b/src/redmine-net-api/Extensions/CollectionExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/WebExtensions.cs b/src/redmine-net-api/Extensions/WebExtensions.cs index 0d8920af..0bbbbcaf 100644 --- a/src/redmine-net-api/Extensions/WebExtensions.cs +++ b/src/redmine-net-api/Extensions/WebExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net-api/Extensions/XmlReaderExtensions.cs index 6002ca98..df17b0dc 100644 --- a/src/redmine-net-api/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlReaderExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs index 9e24e63f..bdfb161d 100644 --- a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/HttpVerbs.cs b/src/redmine-net-api/HttpVerbs.cs index b66ef937..29bd3194 100644 --- a/src/redmine-net-api/HttpVerbs.cs +++ b/src/redmine-net-api/HttpVerbs.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2019 Adrian Popescu. +Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index 41863803..66b8a6ac 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/IRedmineWebClient.cs b/src/redmine-net-api/IRedmineWebClient.cs index f33e5088..a19679b7 100644 --- a/src/redmine-net-api/IRedmineWebClient.cs +++ b/src/redmine-net-api/IRedmineWebClient.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/DataHelper.cs b/src/redmine-net-api/Internals/DataHelper.cs index dce5dd76..822082e2 100755 --- a/src/redmine-net-api/Internals/DataHelper.cs +++ b/src/redmine-net-api/Internals/DataHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/Func.cs b/src/redmine-net-api/Internals/Func.cs index d279f3eb..3c2a64e1 100644 --- a/src/redmine-net-api/Internals/Func.cs +++ b/src/redmine-net-api/Internals/Func.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/HashCodeHelper.cs b/src/redmine-net-api/Internals/HashCodeHelper.cs index c33d5f28..ce667b11 100755 --- a/src/redmine-net-api/Internals/HashCodeHelper.cs +++ b/src/redmine-net-api/Internals/HashCodeHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/UrlHelper.cs b/src/redmine-net-api/Internals/UrlHelper.cs index cfce99c3..e5ac0e24 100644 --- a/src/redmine-net-api/Internals/UrlHelper.cs +++ b/src/redmine-net-api/Internals/UrlHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs index 0962c043..93a4ca63 100644 --- a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs +++ b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/WebApiHelper.cs b/src/redmine-net-api/Internals/WebApiHelper.cs index 29766b27..7efc0d18 100644 --- a/src/redmine-net-api/Internals/WebApiHelper.cs +++ b/src/redmine-net-api/Internals/WebApiHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -66,13 +66,20 @@ public static T ExecuteUpload(RedmineManager redmineManager, string address, { using (var wc = redmineManager.CreateWebClient(null)) { - if (actionType == HttpVerbs.POST || actionType == HttpVerbs.DELETE || actionType == HttpVerbs.PUT || - actionType == HttpVerbs.PATCH) + switch (actionType) { - var response = wc.UploadString(address, actionType, data); - return redmineManager.Serializer.Deserialize(response); + case HttpVerbs.POST: + case HttpVerbs.DELETE: + case HttpVerbs.PUT: + case HttpVerbs.PATCH: + { + var response = wc.UploadString(address, actionType, data); + return redmineManager.Serializer.Deserialize(response); + } + + default: + return default; } - return default; } } diff --git a/src/redmine-net-api/MimeFormat.cs b/src/redmine-net-api/MimeFormat.cs index b99bf3c6..d1ae8316 100755 --- a/src/redmine-net-api/MimeFormat.cs +++ b/src/redmine-net-api/MimeFormat.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2019 Adrian Popescu. +Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index dc3e5833..0cf5b6b1 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -857,9 +857,11 @@ public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, webClient.Timeout = Timeout; if (!uploadFile) { - webClient.Headers.Add(HttpRequestHeader.ContentType, MimeFormat == MimeFormat.Xml - ? "application/xml" - : "application/json"); + webClient.Headers.Add(HttpRequestHeader.ContentType, MimeFormat switch + { + MimeFormat.Xml => "application/xml", + _ => "application/json" + }); webClient.Encoding = Encoding.UTF8; } else diff --git a/src/redmine-net-api/RedmineWebClient.cs b/src/redmine-net-api/RedmineWebClient.cs index e1ba04a7..453f057e 100644 --- a/src/redmine-net-api/RedmineWebClient.cs +++ b/src/redmine-net-api/RedmineWebClient.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index 9d8fb591..b99f4d51 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Attachments.cs b/src/redmine-net-api/Types/Attachments.cs index 6f4b0314..01ebb125 100644 --- a/src/redmine-net-api/Types/Attachments.cs +++ b/src/redmine-net-api/Types/Attachments.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs index c84c237d..c364db85 100644 --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index 0c7b0afd..b455fe85 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs index 4323c310..4225d9e1 100644 --- a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomFieldRole.cs b/src/redmine-net-api/Types/CustomFieldRole.cs index 261eba5a..8567c5fe 100644 --- a/src/redmine-net-api/Types/CustomFieldRole.cs +++ b/src/redmine-net-api/Types/CustomFieldRole.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index 3d902482..9cdd1ac8 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs index 216ec805..24e5f40f 100644 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs index c31be160..9f5e9ddc 100644 --- a/src/redmine-net-api/Types/Error.cs +++ b/src/redmine-net-api/Types/Error.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index 5094fa8e..1e7e8a69 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 92e76776..47bd7b58 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs index 4d2dcffe..71992a96 100644 --- a/src/redmine-net-api/Types/GroupUser.cs +++ b/src/redmine-net-api/Types/GroupUser.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IValue.cs b/src/redmine-net-api/Types/IValue.cs index 27777057..6f92c86e 100755 --- a/src/redmine-net-api/Types/IValue.cs +++ b/src/redmine-net-api/Types/IValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs index 5fc2ec10..751b95da 100644 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index 740f966c..ec3b2894 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs index eb850ea6..7f21100a 100644 --- a/src/redmine-net-api/Types/IssueCategory.cs +++ b/src/redmine-net-api/Types/IssueCategory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs index 5115ab33..63367ca9 100644 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index f30f8713..4f3ed6dd 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssuePriority.cs b/src/redmine-net-api/Types/IssuePriority.cs index 8eabc866..1060101d 100644 --- a/src/redmine-net-api/Types/IssuePriority.cs +++ b/src/redmine-net-api/Types/IssuePriority.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index c9349001..5f687c52 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueRelationType.cs b/src/redmine-net-api/Types/IssueRelationType.cs index 79ba9fdb..6cfd5e4c 100644 --- a/src/redmine-net-api/Types/IssueRelationType.cs +++ b/src/redmine-net-api/Types/IssueRelationType.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs index f6e28201..520ffb7f 100644 --- a/src/redmine-net-api/Types/IssueStatus.cs +++ b/src/redmine-net-api/Types/IssueStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index c7cd1950..3d9c2a7d 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index 956651a9..2286bfbb 100644 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs index 0b16f7d5..77903ef2 100644 --- a/src/redmine-net-api/Types/MembershipRole.cs +++ b/src/redmine-net-api/Types/MembershipRole.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index 3e738072..7f28c0be 100644 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index 185157c1..7ee3c69b 100644 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 73331225..0d71d1c8 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectEnabledModule.cs b/src/redmine-net-api/Types/ProjectEnabledModule.cs index d2a57d89..91ce379c 100644 --- a/src/redmine-net-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net-api/Types/ProjectEnabledModule.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2019 Adrian Popescu. +Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectIssueCategory.cs b/src/redmine-net-api/Types/ProjectIssueCategory.cs index 5af0986d..83916b01 100644 --- a/src/redmine-net-api/Types/ProjectIssueCategory.cs +++ b/src/redmine-net-api/Types/ProjectIssueCategory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index cb8b1406..188b651a 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectStatus.cs b/src/redmine-net-api/Types/ProjectStatus.cs index 5c9dbd20..0955954f 100755 --- a/src/redmine-net-api/Types/ProjectStatus.cs +++ b/src/redmine-net-api/Types/ProjectStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs index b42c5468..74cafbf7 100644 --- a/src/redmine-net-api/Types/ProjectTracker.cs +++ b/src/redmine-net-api/Types/ProjectTracker.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Query.cs b/src/redmine-net-api/Types/Query.cs index 53e3c8e4..6cf9e5f2 100644 --- a/src/redmine-net-api/Types/Query.cs +++ b/src/redmine-net-api/Types/Query.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index 3e6b905c..e11280f6 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index 29770f01..bf5f188c 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index 9fade0c3..82e7d1bd 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs index d08f5931..68ecacef 100644 --- a/src/redmine-net-api/Types/Tracker.cs +++ b/src/redmine-net-api/Types/Tracker.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/TrackerCustomField.cs b/src/redmine-net-api/Types/TrackerCustomField.cs index d20ae818..f1967a57 100644 --- a/src/redmine-net-api/Types/TrackerCustomField.cs +++ b/src/redmine-net-api/Types/TrackerCustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index 0a0e448a..b35301da 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index dd220f56..fa227276 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/UserGroup.cs b/src/redmine-net-api/Types/UserGroup.cs index 1de94606..7fde4bb8 100644 --- a/src/redmine-net-api/Types/UserGroup.cs +++ b/src/redmine-net-api/Types/UserGroup.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/UserStatus.cs b/src/redmine-net-api/Types/UserStatus.cs index 992d13b2..f2c541d6 100644 --- a/src/redmine-net-api/Types/UserStatus.cs +++ b/src/redmine-net-api/Types/UserStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index a5353243..87670a30 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index 0980205c..8e9bb1b7 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index 9bc11a3b..c4293c45 100644 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs index 014fd02a..24a644ad 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs index 100968a2..163cd1be 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs index 0e0a6fe5..f0aef0d0 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs index c9de2a44..c85d6139 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs index 59d32eaa..83dc2380 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs index 5cb2bad0..1fe7ffad 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs index 85858563..948a1c61 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs index acee0878..126542a3 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs index 3a472009..faad08df 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs index 7ef31761..1d5d5cc6 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs index 451309bc..28e2bbde 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs index e21458a3..e5424ebc 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs index 847c7a4d..cefbbd98 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs index 569405a8..624676f1 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs index 34eda71b..0c652581 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs index 4457b64b..68967b3d 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2019 Adrian Popescu. + Copyright 2011 - 2021 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. From d9a88f559096677c26132a27605690845e2eb696 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 1 Mar 2021 12:39:44 +0200 Subject: [PATCH 248/601] Revert test condition to c# 7.3 version --- src/redmine-net-api/RedmineManager.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 0cf5b6b1..0bc375a2 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -857,11 +857,8 @@ public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, webClient.Timeout = Timeout; if (!uploadFile) { - webClient.Headers.Add(HttpRequestHeader.ContentType, MimeFormat switch - { - MimeFormat.Xml => "application/xml", - _ => "application/json" - }); + webClient.Headers.Add(HttpRequestHeader.ContentType, + MimeFormat is MimeFormat.Xml ? "application/xml" : "application/json"); webClient.Encoding = Encoding.UTF8; } else From ddf53070bda2a8a407474ed0a39cdd341c66df6b Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 7 Apr 2021 13:02:56 +0300 Subject: [PATCH 249/601] Fix #288 --- src/redmine-net-api/RedmineKeys.cs | 8 ++ src/redmine-net-api/Types/IssueRelation.cs | 42 ++++---- .../Types/IssueRelationType.cs | 95 ++++++++++++++++++- 3 files changed, 120 insertions(+), 25 deletions(-) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index 4c3398d9..1ac7f942 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -107,6 +107,14 @@ public static class RedmineKeys /// /// /// + public const string COPIED_FROM = "copied_from"; + /// + /// + /// + public const string COPIED_TO = "copied_to"; + /// + /// + /// public const string CREATED_ON = "created_on"; /// diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 5f687c52..ec50bda6 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -87,13 +87,7 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.DELAY: Delay = reader.ReadAttributeAsNullableInt(attributeName); break; case RedmineKeys.ISSUE_ID: IssueId = reader.ReadAttributeAsInt(attributeName); break; case RedmineKeys.ISSUE_TO_ID: IssueToId = reader.ReadAttributeAsInt(attributeName); break; - case RedmineKeys.RELATION_TYPE: - var issueRelationType = reader.GetAttribute(attributeName); - if (!issueRelationType.IsNullOrWhiteSpace()) - { - Type = (IssueRelationType)Enum.Parse(typeof(IssueRelationType), issueRelationType, true); - } - break; + case RedmineKeys.RELATION_TYPE: Type = ReadIssueRelationType(reader.GetAttribute(attributeName)); break; } } return; @@ -105,13 +99,7 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.DELAY: Delay = reader.ReadElementContentAsNullableInt(); break; case RedmineKeys.ISSUE_ID: IssueId = reader.ReadElementContentAsInt(); break; case RedmineKeys.ISSUE_TO_ID: IssueToId = reader.ReadElementContentAsInt(); break; - case RedmineKeys.RELATION_TYPE: - var issueRelationType = reader.ReadElementContentAsString(); - if (!issueRelationType.IsNullOrWhiteSpace()) - { - Type = (IssueRelationType)Enum.Parse(typeof(IssueRelationType), issueRelationType, true); - } - break; + case RedmineKeys.RELATION_TYPE: Type = ReadIssueRelationType(reader.ReadElementContentAsString()); break; default: reader.Read(); break; } } @@ -180,7 +168,7 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.DELAY: Delay = reader.ReadAsInt32(); break; case RedmineKeys.ISSUE_ID: IssueId = reader.ReadAsInt(); break; case RedmineKeys.ISSUE_TO_ID: IssueToId = reader.ReadAsInt(); break; - case RedmineKeys.RELATION_TYPE: Type = ReadIssueRelationType(reader); break; + case RedmineKeys.RELATION_TYPE: Type = ReadIssueRelationType(reader.ReadAsString()); break; } } } @@ -192,22 +180,32 @@ private void AssertValidIssueRelationType() throw new RedmineException($"The value `{nameof(IssueRelationType)}.`{nameof(IssueRelationType.Undefined)}` is not allowed to create relations!"); } } - - private static IssueRelationType ReadIssueRelationType(JsonReader reader) + + private static IssueRelationType ReadIssueRelationType(string value) { - var enumValue = reader.ReadAsString(); - if (enumValue.IsNullOrWhiteSpace()) + if (value.IsNullOrWhiteSpace()) { return IssueRelationType.Undefined; } - if (short.TryParse(enumValue, out var enumId)) + if (short.TryParse(value, out var enumId)) { return (IssueRelationType)enumId; } - - return (IssueRelationType)Enum.Parse(typeof(IssueRelationType), enumValue, true); + + if (RedmineKeys.COPIED_TO.Equals(value, StringComparison.OrdinalIgnoreCase)) + { + return IssueRelationType.CopiedTo; + } + + if (RedmineKeys.COPIED_FROM.Equals(value, StringComparison.OrdinalIgnoreCase)) + { + return IssueRelationType.CopiedFrom; + } + + return (IssueRelationType)Enum.Parse(typeof(IssueRelationType), value, true); } + #endregion #region Implementation of IEquatable diff --git a/src/redmine-net-api/Types/IssueRelationType.cs b/src/redmine-net-api/Types/IssueRelationType.cs index 6cfd5e4c..c47bd96a 100644 --- a/src/redmine-net-api/Types/IssueRelationType.cs +++ b/src/redmine-net-api/Types/IssueRelationType.cs @@ -15,6 +15,10 @@ limitations under the License. */ using System; +using System.Xml.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.Runtime.Serialization; namespace Redmine.Net.Api.Types { @@ -23,47 +27,132 @@ namespace Redmine.Net.Api.Types /// public enum IssueRelationType { -#pragma warning disable CS0618 // Use of internal enumeration value is allowed here to have a fallback + #pragma warning disable CS0618 // Use of internal enumeration value is allowed here to have a fallback /// /// Fallback value for deserialization purposes in case the deserialization fails. Do not use to create new relations! /// - Undefined = 0, -#pragma warning restore CS0618 + Undefined = 0, + #pragma warning restore CS0618 /// /// /// Relates = 1, + /// /// /// Duplicates, + /// /// /// Duplicated, + /// /// /// Blocks, + /// /// /// Blocked, + /// /// /// Precedes, + /// /// /// Follows, + /// /// /// + + [XmlEnum("copied_to")] CopiedTo, + /// /// /// + [XmlEnum("copied_from")] CopiedFrom } + + // /// + // public class IssueRelationTypeConverter : JsonConverter + // { + // /// + // public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) + // { + // IssueRelationType messageTransportResponseStatus = (IssueRelationType) value; + // + // switch (messageTransportResponseStatus) + // { + // case IssueRelationType.Undefined: + // break; + // case IssueRelationType.Relates: + // writer.WriteValue("relates"); + // break; + // case IssueRelationType.Duplicates: + // writer.WriteValue("duplicates"); + // break; + // case IssueRelationType.Duplicated: + // writer.WriteValue("duplicated"); + // break; + // case IssueRelationType.Blocks: + // writer.WriteValue("blocks"); + // break; + // case IssueRelationType.Blocked: + // writer.WriteValue("blocked"); + // break; + // case IssueRelationType.Precedes: + // writer.WriteValue("precedes"); + // break; + // case IssueRelationType.Follows: + // writer.WriteValue("follows"); + // break; + // case IssueRelationType.CopiedTo: + // writer.WriteValue("copied_to"); + // break; + // case IssueRelationType.CopiedFrom: + // writer.WriteValue("copied_from"); + // break; + // default: + // throw new ArgumentOutOfRangeException(); + // } + // } + // + // /// + // public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) + // { + // var enumString = (string) reader.Value; + // switch (enumString) + // { + // case "relates": + // case "duplicates": + // case "duplicated": + // case "blocks": + // case "blocked": + // case "precedes": + // case "follows": + // return Enum.Parse(typeof(IssueRelationType), enumString, true); + // case "copied_to": + // return IssueRelationType.CopiedTo; + // case "copied_from": + // return IssueRelationType.CopiedFrom; + // default: + // throw new ArgumentOutOfRangeException(); + // } + // } + // + // /// + // public override bool CanConvert(Type objectType) + // { + // return objectType == typeof(string); + // } + // } } \ No newline at end of file From 457392c894d19344015e6b628523d36453a5b250 Mon Sep 17 00:00:00 2001 From: Necati Meral Date: Fri, 30 Apr 2021 10:24:04 +0200 Subject: [PATCH 250/601] Added serializer extension methods for `WriteBoolean` --- .../Extensions/JsonWriterExtensions.cs | 25 +++++++++---- .../Extensions/XmlWriterExtensions.cs | 35 +++++++++++++------ 2 files changed, 43 insertions(+), 17 deletions(-) diff --git a/src/redmine-net-api/Extensions/JsonWriterExtensions.cs b/src/redmine-net-api/Extensions/JsonWriterExtensions.cs index 3d00f176..063ff6f7 100644 --- a/src/redmine-net-api/Extensions/JsonWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/JsonWriterExtensions.cs @@ -32,12 +32,12 @@ public static void WriteIdIfNotNull(this JsonWriter jsonWriter, string tag, Iden } /// - /// + /// Writes if not default or null. /// /// - /// - /// - /// + /// The writer. + /// The value. + /// The property name. public static void WriteIfNotDefaultOrNull(this JsonWriter writer, string elementName, T value) { if (EqualityComparer.Default.Equals(value, default)) @@ -48,10 +48,23 @@ public static void WriteIfNotDefaultOrNull(this JsonWriter writer, string ele if (value is bool) { writer.WriteProperty(elementName, value.ToString().ToLowerInv()); - return; } + else + { + writer.WriteProperty(elementName, value.ToString()); + } + } - writer.WriteProperty(elementName, string.Format(CultureInfo.InvariantCulture, "{0}", value.ToString())); + /// + /// Writes the boolean value + /// + /// + /// The writer. + /// The value. + /// The property name. + public static void WriteBoolean(this JsonWriter writer, string elementName, bool value) + { + writer.WriteProperty(elementName, value.ToString().ToLowerInv()); } /// diff --git a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs index bdfb161d..42929452 100644 --- a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs @@ -30,11 +30,11 @@ namespace Redmine.Net.Api.Extensions public static partial class XmlExtensions { - #if !(NET20 || NET40 || NET45 || NET451 || NET452) +#if !(NET20 || NET40 || NET45 || NET451 || NET452) private static readonly Type[] EmptyTypeArray = Array.Empty(); - #else +#else private static readonly Type[] EmptyTypeArray = new Type[0]; - #endif +#endif private static readonly XmlAttributeOverrides XmlAttributeOverrides = new XmlAttributeOverrides(); /// @@ -63,7 +63,7 @@ public static void WriteArray(this XmlWriter writer, string elementName, IEnumer { return; } - + writer.WriteStartElement(elementName); writer.WriteAttributeString("type", "array"); @@ -115,12 +115,12 @@ public static void WriteArrayIds(this XmlWriter writer, string elementName, IEnu { return; } - + writer.WriteStartElement(elementName); writer.WriteAttributeString("type", "array"); var serializer = new XmlSerializer(type); - + foreach (var item in collection) { serializer.Serialize(writer, f.Invoke(item)); @@ -138,13 +138,13 @@ public static void WriteArrayIds(this XmlWriter writer, string elementName, IEnu /// The type. /// The root. /// The default namespace. - public static void WriteArray(this XmlWriter writer, string elementName, IEnumerable collection, Type type, string root, string defaultNamespace = null) + public static void WriteArray(this XmlWriter writer, string elementName, IEnumerable collection, Type type, string root, string defaultNamespace = null) { if (collection == null) { return; } - + writer.WriteStartElement(elementName); writer.WriteAttributeString("type", "array"); @@ -152,7 +152,7 @@ public static void WriteArray(this XmlWriter writer, string elementName, IEnumer var serializer = new XmlSerializer(type, XmlAttributeOverrides, EmptyTypeArray, rootAttribute, defaultNamespace); - + foreach (var item in collection) { serializer.Serialize(writer, item); @@ -252,10 +252,23 @@ public static void WriteIfNotDefaultOrNull(this XmlWriter writer, string elem if (value is bool) { writer.WriteElementString(elementName, value.ToString().ToLowerInv()); - return; } + else + { + writer.WriteElementString(elementName, value.ToString()); + } + } - writer.WriteElementString(elementName, value.ToString()); + /// + /// Writes the boolean value + /// + /// + /// The writer. + /// The value. + /// The tag. + public static void WriteBoolean(this XmlWriter writer, string elementName, bool value) + { + writer.WriteElementString(elementName, value.ToString().ToLowerInv()); } /// From e8d2d3094b9fad37ed54f48d102746698dca4c8f Mon Sep 17 00:00:00 2001 From: Necati Meral Date: Fri, 30 Apr 2021 10:24:34 +0200 Subject: [PATCH 251/601] Replaced serialization methods for boolean properties --- src/redmine-net-api/Types/Issue.cs | 6 +++--- src/redmine-net-api/Types/IssueCustomField.cs | 2 +- src/redmine-net-api/Types/Project.cs | 8 ++++---- src/redmine-net-api/Types/User.cs | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 3abb361c..65859599 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -322,7 +322,7 @@ public override void WriteXml(XmlWriter writer) if (Id != 0) { - writer.WriteElementString(RedmineKeys.PRIVATE_NOTES, PrivateNotes.ToString(CultureInfo.InvariantCulture).ToLowerInv()); + writer.WriteBoolean(RedmineKeys.PRIVATE_NOTES, PrivateNotes); } writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); @@ -423,10 +423,10 @@ public override void WriteJson(JsonWriter writer) if (Id != 0) { - writer.WriteProperty(RedmineKeys.PRIVATE_NOTES, PrivateNotes.ToString(CultureInfo.InvariantCulture).ToLowerInv()); + writer.WriteBoolean(RedmineKeys.PRIVATE_NOTES, PrivateNotes); } - writer.WriteProperty(RedmineKeys.IS_PRIVATE, IsPrivate.ToString(CultureInfo.InvariantCulture).ToLowerInv()); + writer.WriteBoolean(RedmineKeys.IS_PRIVATE, IsPrivate); writer.WriteIdIfNotNull(RedmineKeys.PROJECT_ID, Project); writer.WriteIdIfNotNull(RedmineKeys.PRIORITY_ID, Priority); writer.WriteIdIfNotNull(RedmineKeys.STATUS_ID, Status); diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 4f3ed6dd..d2816c4a 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -155,7 +155,7 @@ public override void WriteJson(JsonWriter writer) } writer.WriteEndArray(); - writer.WriteProperty(RedmineKeys.MULTIPLE, Multiple.ToString(CultureInfo.InvariantCulture).ToLowerInv()); + writer.WriteBoolean(RedmineKeys.MULTIPLE, Multiple); } else { diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 0d71d1c8..682a7290 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -193,8 +193,8 @@ public override void WriteXml(XmlWriter writer) writer.WriteElementString(RedmineKeys.IDENTIFIER, Identifier); writer.WriteIfNotDefaultOrNull(RedmineKeys.DESCRIPTION, Description); - writer.WriteIfNotDefaultOrNull(RedmineKeys.INHERIT_MEMBERS, InheritMembers); - writer.WriteIfNotDefaultOrNull(RedmineKeys.IS_PUBLIC, IsPublic); + writer.WriteBoolean(RedmineKeys.INHERIT_MEMBERS, InheritMembers); + writer.WriteBoolean(RedmineKeys.IS_PUBLIC, IsPublic); writer.WriteIfNotDefaultOrNull(RedmineKeys.HOMEPAGE, HomePage); writer.WriteIdIfNotNull(RedmineKeys.PARENT_ID, Parent); @@ -268,8 +268,8 @@ public override void WriteJson(JsonWriter writer) writer.WriteProperty(RedmineKeys.IDENTIFIER, Identifier); writer.WriteIfNotDefaultOrNull(RedmineKeys.DESCRIPTION, Description); writer.WriteIfNotDefaultOrNull(RedmineKeys.HOMEPAGE, HomePage); - writer.WriteIfNotDefaultOrNull(RedmineKeys.INHERIT_MEMBERS, InheritMembers); - writer.WriteIfNotDefaultOrNull(RedmineKeys.IS_PUBLIC, IsPublic); + writer.WriteBoolean(RedmineKeys.INHERIT_MEMBERS, InheritMembers); + writer.WriteBoolean(RedmineKeys.IS_PUBLIC, IsPublic); writer.WriteIdIfNotNull(RedmineKeys.PARENT_ID, Parent); writer.WriteRepeatableElement(RedmineKeys.TRACKER_IDS, (IEnumerable)Trackers); writer.WriteRepeatableElement(RedmineKeys.ENABLED_MODULE_NAMES, (IEnumerable)EnabledModules); diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index fa227276..7b2403bb 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -195,7 +195,7 @@ public override void WriteXml(XmlWriter writer) writer.WriteValueOrEmpty(RedmineKeys.AUTH_SOURCE_ID, AuthenticationModeId); } - writer.WriteElementString(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword.ToString(CultureInfo.InvariantCulture).ToLowerInv()); + writer.WriteBoolean(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword); writer.WriteElementString(RedmineKeys.STATUS, ((int)Status).ToString(CultureInfo.InvariantCulture)); if(CustomFields != null) @@ -274,7 +274,7 @@ public override void WriteJson(JsonWriter writer) writer.WriteValueOrEmpty(RedmineKeys.AUTH_SOURCE_ID, AuthenticationModeId); } - writer.WriteProperty(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword.ToString(CultureInfo.InvariantCulture).ToLowerInv()); + writer.WriteBoolean(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword); writer.WriteProperty(RedmineKeys.STATUS, ((int)Status).ToString(CultureInfo.InvariantCulture)); if(CustomFields != null) From 5ed26667f1356fc4b4dc83f662dfbd1270876d4d Mon Sep 17 00:00:00 2001 From: Necati Meral Date: Fri, 30 Apr 2021 10:41:16 +0200 Subject: [PATCH 252/601] Fixed xml comment --- src/redmine-net-api/Extensions/JsonWriterExtensions.cs | 1 - src/redmine-net-api/Extensions/XmlWriterExtensions.cs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/redmine-net-api/Extensions/JsonWriterExtensions.cs b/src/redmine-net-api/Extensions/JsonWriterExtensions.cs index 063ff6f7..6cfbecb2 100644 --- a/src/redmine-net-api/Extensions/JsonWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/JsonWriterExtensions.cs @@ -58,7 +58,6 @@ public static void WriteIfNotDefaultOrNull(this JsonWriter writer, string ele /// /// Writes the boolean value /// - /// /// The writer. /// The value. /// The property name. diff --git a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs index 42929452..01d59b6a 100644 --- a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs @@ -262,7 +262,6 @@ public static void WriteIfNotDefaultOrNull(this XmlWriter writer, string elem /// /// Writes the boolean value /// - /// /// The writer. /// The value. /// The tag. From 861da4c596491972732d44d82064ce8c88fef432 Mon Sep 17 00:00:00 2001 From: Necati Meral Date: Fri, 30 Apr 2021 10:49:10 +0200 Subject: [PATCH 253/601] Removed hiding of `Name` property in inherited classes --- src/redmine-net-api/Types/CustomField.cs | 4 ---- src/redmine-net-api/Types/CustomFieldRole.cs | 8 +------- src/redmine-net-api/Types/Group.cs | 4 ---- src/redmine-net-api/Types/GroupUser.cs | 5 ----- src/redmine-net-api/Types/IdentifiableName.cs | 13 ++++++++++++- src/redmine-net-api/Types/IssueCustomField.cs | 4 ---- src/redmine-net-api/Types/Project.cs | 5 ----- src/redmine-net-api/Types/ProjectEnabledModule.cs | 5 ----- src/redmine-net-api/Types/ProjectIssueCategory.cs | 8 +------- .../Types/ProjectTimeEntryActivity.cs | 8 +------- src/redmine-net-api/Types/ProjectTracker.cs | 8 +------- src/redmine-net-api/Types/Role.cs | 4 ---- src/redmine-net-api/Types/TimeEntryActivity.cs | 9 +-------- src/redmine-net-api/Types/UserGroup.cs | 5 ----- src/redmine-net-api/Types/Watcher.cs | 6 ------ 15 files changed, 17 insertions(+), 79 deletions(-) diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index b455fe85..48afa037 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -37,10 +37,6 @@ public sealed class CustomField : IdentifiableName, IEquatable /// /// /// - public new string Name { get; set; } - /// - /// - /// public string CustomizedType { get; internal set; } /// diff --git a/src/redmine-net-api/Types/CustomFieldRole.cs b/src/redmine-net-api/Types/CustomFieldRole.cs index 8567c5fe..711e7fca 100644 --- a/src/redmine-net-api/Types/CustomFieldRole.cs +++ b/src/redmine-net-api/Types/CustomFieldRole.cs @@ -33,16 +33,10 @@ public sealed class CustomFieldRole : IdentifiableName public CustomFieldRole() { } internal CustomFieldRole(int id, string name) + : base(id, name) { - Id = id; - Name = name; } - /// - /// - /// - public new string Name { get; set; } - /// /// /// diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 47bd7b58..d52fd8b6 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -49,10 +49,6 @@ public Group(string name) #region Properties /// - /// - /// - public new string Name { get; set; } - /// /// Represents the group's users. /// public IList Users { get; set; } diff --git a/src/redmine-net-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs index 71992a96..e6b8ac39 100644 --- a/src/redmine-net-api/Types/GroupUser.cs +++ b/src/redmine-net-api/Types/GroupUser.cs @@ -27,11 +27,6 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.USER)] public sealed class GroupUser : IdentifiableName, IValue { - /// - /// - /// - public new string Name { get; set; } - #region Implementation of IValue /// /// diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index ec3b2894..37236d53 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -47,6 +47,17 @@ public class IdentifiableName : Identifiable /// public IdentifiableName() { } + /// + /// Initializes the class by using the given Id and Name. + /// + /// The Id. + /// The Name. + internal IdentifiableName(int id, string name) + { + Id = id; + Name = name; + } + /// /// Initializes a new instance of the class. /// @@ -79,7 +90,7 @@ private void Initialize(JsonReader reader) /// /// Gets or sets the name. /// - public string Name { get; internal set; } + public virtual string Name { get; set; } #endregion #region Implementation of IXmlSerializable diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 4f3ed6dd..74330e0b 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -35,10 +35,6 @@ public sealed class IssueCustomField : IdentifiableName, IEquatable - /// - /// - public new string Name { get; set; } - /// /// Gets or sets the value. /// /// The value. diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 0d71d1c8..4b8d6f34 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -36,11 +36,6 @@ public sealed class Project : IdentifiableName, IEquatable { #region Properties - /// - /// - /// - public new string Name { get; set; } - /// /// Gets or sets the identifier. /// diff --git a/src/redmine-net-api/Types/ProjectEnabledModule.cs b/src/redmine-net-api/Types/ProjectEnabledModule.cs index 91ce379c..8ac0d753 100644 --- a/src/redmine-net-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net-api/Types/ProjectEnabledModule.cs @@ -50,11 +50,6 @@ public ProjectEnabledModule(string moduleName) #endregion - /// - /// - /// - public new string Name { get; set; } - #region Implementation of IValue /// /// diff --git a/src/redmine-net-api/Types/ProjectIssueCategory.cs b/src/redmine-net-api/Types/ProjectIssueCategory.cs index 83916b01..6f0c9e0c 100644 --- a/src/redmine-net-api/Types/ProjectIssueCategory.cs +++ b/src/redmine-net-api/Types/ProjectIssueCategory.cs @@ -32,16 +32,10 @@ public sealed class ProjectIssueCategory : IdentifiableName public ProjectIssueCategory() { } internal ProjectIssueCategory(int id, string name) + : base(id, name) { - Id = id; - Name = name; } - /// - /// - /// - public new string Name { get; set; } - /// /// /// diff --git a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs index 9633f284..daa9cd78 100644 --- a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs +++ b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs @@ -16,16 +16,10 @@ public sealed class ProjectTimeEntryActivity : IdentifiableName public ProjectTimeEntryActivity() { } internal ProjectTimeEntryActivity(int id, string name) + : base(id, name) { - Id = id; - Name = name; } - /// - /// - /// - public new string Name { get; set; } - /// /// /// diff --git a/src/redmine-net-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs index 74cafbf7..e10bd823 100644 --- a/src/redmine-net-api/Types/ProjectTracker.cs +++ b/src/redmine-net-api/Types/ProjectTracker.cs @@ -38,9 +38,8 @@ public ProjectTracker() { } /// the tracker id: 1 for Bug, etc. /// public ProjectTracker(int trackerId, string name) + : base(trackerId, name) { - Id = trackerId; - Name = name; } /// @@ -52,11 +51,6 @@ internal ProjectTracker(int trackerId) Id = trackerId; } - /// - /// - /// - public new string Name { get; set; } - #region Implementation of IValue /// diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index e11280f6..6c4ac088 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -34,10 +34,6 @@ public sealed class Role : IdentifiableName, IEquatable { #region Properties /// - /// - /// - public new string Name { get; set; } - /// /// Gets the permissions. /// /// diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index 82e7d1bd..b7a145dc 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -38,18 +38,11 @@ public sealed class TimeEntryActivity : IdentifiableName, IEquatable - /// - /// - public new string Name { get; set; } - /// /// /// diff --git a/src/redmine-net-api/Types/UserGroup.cs b/src/redmine-net-api/Types/UserGroup.cs index 7fde4bb8..b5be7db6 100644 --- a/src/redmine-net-api/Types/UserGroup.cs +++ b/src/redmine-net-api/Types/UserGroup.cs @@ -26,11 +26,6 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.GROUP)] public sealed class UserGroup : IdentifiableName { - /// - /// - /// - public new string Name { get; set; } - /// /// /// diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index 8e9bb1b7..0160da16 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -28,12 +28,6 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.USER)] public sealed class Watcher : IdentifiableName, IValue, ICloneable { - /// - /// - /// - public new string Name { get; set; } - - #region Implementation of IValue /// /// From dc41a2be3aed9c84ca783589ef0cd3a0f9ef9189 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 8 Jun 2021 13:57:37 +0300 Subject: [PATCH 254/601] Added WikiPageTitle, EstimatedHours & SpentHours to version --- src/redmine-net-api/RedmineKeys.cs | 6 +++- src/redmine-net-api/Types/Version.cs | 45 ++++++++++++++++++++++++---- 2 files changed, 45 insertions(+), 6 deletions(-) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index 1ac7f942..d471c9ea 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -702,7 +702,11 @@ public static class RedmineKeys /// /// /// - public const string WIKI_PAGE = "wiki_page"; + public const string WIKI_PAGE = "wiki_page"; + /// + /// + /// + public const string WIKI_PAGE_TITLE = "wiki_page_title"; /// /// /// diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 87670a30..70b5ae5e 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -69,6 +69,21 @@ public sealed class Version : Identifiable /// /// The sharing. public VersionSharing Sharing { get; set; } + + /// + /// + /// + public string WikiPageTitle { get; set; } + + /// + /// + /// + public float? EstimatedHours { get; set; } + + /// + /// + /// + public float? SpentHours { get; set; } /// /// Gets the created on. @@ -111,6 +126,9 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.SHARING: Sharing = (VersionSharing)Enum.Parse(typeof(VersionSharing), reader.ReadElementContentAsString(), true); break; case RedmineKeys.STATUS: Status = (VersionStatus)Enum.Parse(typeof(VersionStatus), reader.ReadElementContentAsString(), true); break; case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.WIKI_PAGE_TITLE: WikiPageTitle = reader.ReadElementContentAsString(); break; + case RedmineKeys.ESTIMATED_HOURS: EstimatedHours = reader.ReadElementContentAsNullableFloat(); break; + case RedmineKeys.SPENT_HOURS: SpentHours = reader.ReadElementContentAsNullableFloat(); break; default: reader.Read(); break; } } @@ -158,9 +176,14 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.DUE_DATE: DueDate = reader.ReadAsDateTime(); break; case RedmineKeys.NAME: Name = reader.ReadAsString(); break; case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; - case RedmineKeys.SHARING: Sharing = (VersionSharing)Enum.Parse(typeof(VersionSharing), reader.ReadAsString(), true); break; - case RedmineKeys.STATUS: Status = (VersionStatus)Enum.Parse(typeof(VersionStatus), reader.ReadAsString(), true); break; + case RedmineKeys.SHARING: Sharing = (VersionSharing)Enum.Parse(typeof(VersionSharing), reader.ReadAsString() ?? string.Empty, true); break; + case RedmineKeys.STATUS: Status = (VersionStatus)Enum.Parse(typeof(VersionStatus), reader.ReadAsString() ?? string.Empty, true); break; case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.WIKI_PAGE_TITLE: WikiPageTitle = reader.ReadAsString(); break; + case RedmineKeys.ESTIMATED_HOURS: EstimatedHours = (float?)reader.ReadAsDouble(); break; + case RedmineKeys.SPENT_HOURS: SpentHours = (float?)reader.ReadAsDouble(); break; + + default: reader.Read(); break; } } @@ -200,7 +223,11 @@ public override bool Equals(Version other) && Sharing == other.Sharing && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null); + && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) + && string.Equals(WikiPageTitle,other.WikiPageTitle, StringComparison.InvariantCultureIgnoreCase) + && EstimatedHours == other.EstimatedHours + && SpentHours == other.SpentHours + ; } /// /// @@ -219,6 +246,9 @@ public override int GetHashCode() hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); + hashCode = HashCodeHelper.GetHashCode(WikiPageTitle, hashCode); + hashCode = HashCodeHelper.GetHashCode(EstimatedHours, hashCode); + hashCode = HashCodeHelper.GetHashCode(SpentHours, hashCode); return hashCode; } } @@ -228,12 +258,17 @@ public override int GetHashCode() /// /// /// - private string DebuggerDisplay => $@"[{nameof(Version)}: {ToString()}, Project={Project}, Description={Description}, + private string DebuggerDisplay => $@"[{nameof(Version)}: {ToString()}, +Project={Project}, +Description={Description}, Status={Status:G}, - DueDate={DueDate?.ToString("u", CultureInfo.InvariantCulture)}, +DueDate={DueDate?.ToString("u", CultureInfo.InvariantCulture)}, Sharing={Sharing:G}, CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, UpdatedOn={UpdatedOn?.ToString("u", CultureInfo.InvariantCulture)}, +EstimatedHours={EstimatedHours?.ToString("F", CultureInfo.InvariantCulture)}, +SpentHours={SpentHours?.ToString("F", CultureInfo.InvariantCulture)}, +WikiPageTitle={WikiPageTitle} CustomFields={CustomFields.Dump()}]"; } From 6fa4c61a28e0b6bc2ebc87011581696fdbe9e1cd Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 8 Jun 2021 14:00:37 +0300 Subject: [PATCH 255/601] Added IsAdmin, TwoFactorAuthenticationScheme, PasswordChangedOn, UpdatedOn to user --- src/redmine-net-api/RedmineKeys.cs | 8 +++++ src/redmine-net-api/Types/User.cs | 52 ++++++++++++++++++++++++++++-- 2 files changed, 57 insertions(+), 3 deletions(-) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index d471c9ea..02abae14 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -450,6 +450,10 @@ public static class RedmineKeys /// /// /// + public const string PASSWORD_CHANGED_ON = "passwd_changed_on"; + /// + /// + /// public const string PERMISSION = "permission"; /// /// @@ -638,6 +642,10 @@ public static class RedmineKeys /// /// /// + public const string TWO_FA_SCHEME = "twofa_scheme"; + /// + /// + /// public const string UPDATED_ON = "updated_on"; /// /// diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index 7b2403bb..9968bea4 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -65,6 +65,16 @@ public sealed class User : Identifiable /// The email. public string Email { get; set; } + /// + /// + /// + public bool IsAdmin { get; set; } + + /// + /// twofa_scheme + /// + public string TwoFactorAuthenticationScheme { get; set; } + /// /// Gets or sets the authentication mode id. /// @@ -74,7 +84,7 @@ public sealed class User : Identifiable public int? AuthenticationModeId { get; set; } /// - /// Gets or sets the created on. + /// Gets the created on. /// /// The created on. public DateTime? CreatedOn { get; internal set; } @@ -100,6 +110,17 @@ public sealed class User : Identifiable /// public bool MustChangePassword { get; set; } + + /// + /// + /// + public DateTime? PasswordChangedOn { get; set; } + + /// + /// + /// + public DateTime? UpdatedOn { get; set; } + /// /// Gets or sets the custom fields. /// @@ -150,6 +171,7 @@ public override void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; + case RedmineKeys.ADMIN: IsAdmin = reader.ReadElementContentAsBoolean(); break; case RedmineKeys.API_KEY: ApiKey = reader.ReadElementContentAsString(); break; case RedmineKeys.AUTH_SOURCE_ID: AuthenticationModeId = reader.ReadElementContentAsNullableInt(); break; case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; @@ -163,7 +185,10 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.MAIL_NOTIFICATION: MailNotification = reader.ReadElementContentAsString(); break; case RedmineKeys.MEMBERSHIPS: Memberships = reader.ReadElementContentAsCollection(); break; case RedmineKeys.MUST_CHANGE_PASSWORD: MustChangePassword = reader.ReadElementContentAsBoolean(); break; + case RedmineKeys.PASSWORD_CHANGED_ON: PasswordChangedOn = reader.ReadElementContentAsNullableDateTime(); break; case RedmineKeys.STATUS: Status = (UserStatus)reader.ReadElementContentAsInt(); break; + case RedmineKeys.TWO_FA_SCHEME: TwoFactorAuthenticationScheme = reader.ReadContentAsString(); break; + case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadElementContentAsNullableDateTime(); break; default: reader.Read(); break; } } @@ -227,6 +252,7 @@ public override void ReadJson(JsonReader reader) switch (reader.Value) { case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.ADMIN: IsAdmin = reader.ReadAsBool(); break; case RedmineKeys.API_KEY: ApiKey = reader.ReadAsString(); break; case RedmineKeys.AUTH_SOURCE_ID: AuthenticationModeId = reader.ReadAsInt32(); break; case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; @@ -240,7 +266,10 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.MAIL_NOTIFICATION: MailNotification = reader.ReadAsString(); break; case RedmineKeys.MEMBERSHIPS: Memberships = reader.ReadAsCollection(); break; case RedmineKeys.MUST_CHANGE_PASSWORD: MustChangePassword = reader.ReadAsBool(); break; + case RedmineKeys.PASSWORD_CHANGED_ON: PasswordChangedOn = reader.ReadAsDateTime(); break; case RedmineKeys.STATUS: Status = (UserStatus)reader.ReadAsInt(); break; + case RedmineKeys.TWO_FA_SCHEME: TwoFactorAuthenticationScheme = reader.ReadAsString(); break; + case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadAsDateTime(); break; default: reader.Read(); break; } } @@ -308,7 +337,12 @@ public override bool Equals(User other) && MustChangePassword == other.MustChangePassword && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) && (Memberships != null ? Memberships.Equals(other.Memberships) : other.Memberships == null) - && (Groups != null ? Groups.Equals(other.Groups) : other.Groups == null); + && (Groups != null ? Groups.Equals(other.Groups) : other.Groups == null) + && string.Equals(TwoFactorAuthenticationScheme,other.TwoFactorAuthenticationScheme, StringComparison.OrdinalIgnoreCase) + && IsAdmin == other.IsAdmin + && PasswordChangedOn == other.PasswordChangedOn + && UpdatedOn == other.UpdatedOn + ; } /// @@ -335,6 +369,10 @@ public override int GetHashCode() hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); hashCode = HashCodeHelper.GetHashCode(Memberships, hashCode); hashCode = HashCodeHelper.GetHashCode(Groups, hashCode); + hashCode = HashCodeHelper.GetHashCode(TwoFactorAuthenticationScheme, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsAdmin, hashCode); + hashCode = HashCodeHelper.GetHashCode(PasswordChangedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); return hashCode; } } @@ -345,10 +383,18 @@ public override int GetHashCode() /// /// private string DebuggerDisplay => - $@"[{nameof(User)}: {Groups}, Login={Login}, Password={Password}, FirstName={FirstName}, LastName={LastName}, Email={Email}, + $@"[{nameof(User)}: {Groups}, +Login={Login}, Password={Password}, +FirstName={FirstName}, +LastName={LastName}, +IsAdmin={IsAdmin.ToString(CultureInfo.InvariantCulture)}, +TwoFactorAuthenticationScheme={TwoFactorAuthenticationScheme} +Email={Email}, EmailNotification={MailNotification}, AuthenticationModeId={AuthenticationModeId?.ToString(CultureInfo.InvariantCulture)}, CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, +UpdatedOn={UpdatedOn?.ToString("u", CultureInfo.InvariantCulture)} +PasswordChangedOn={PasswordChangedOn?.ToString("u", CultureInfo.InvariantCulture)} LastLoginOn={LastLoginOn?.ToString("u", CultureInfo.InvariantCulture)}, ApiKey={ApiKey}, Status={Status:G}, From 83243b26e5072041c6a8151d0b4ab893985f164a Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 8 Jun 2021 14:01:29 +0300 Subject: [PATCH 256/601] Added IsActive to time entry activity --- src/redmine-net-api/RedmineKeys.cs | 4 ++++ src/redmine-net-api/Types/TimeEntryActivity.cs | 12 ++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index 02abae14..f1dafa5d 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -20,6 +20,10 @@ namespace Redmine.Net.Api /// public static class RedmineKeys { + /// + /// + /// + public const string ACTIVE = "active"; /// /// The activity /// diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index b7a145dc..299386fc 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -47,6 +47,11 @@ internal TimeEntryActivity(int id, string name) /// /// public bool IsDefault { get; internal set; } + + /// + /// + /// + public bool IsActive { get; internal set; } #endregion #region Implementation of IXmlSerializable @@ -71,6 +76,7 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; case RedmineKeys.IS_DEFAULT: IsDefault = reader.ReadElementContentAsBoolean(); break; case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; + case RedmineKeys.ACTIVE: IsActive = reader.ReadElementContentAsBoolean(); break; default: reader.Read(); break; } } @@ -108,6 +114,7 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.ID: Id = reader.ReadAsInt(); break; case RedmineKeys.IS_DEFAULT: IsDefault = reader.ReadAsBool(); break; case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + case RedmineKeys.ACTIVE: IsActive = reader.ReadAsBool(); break; default: reader.Read(); break; } } @@ -125,7 +132,7 @@ public bool Equals(TimeEntryActivity other) { if (other == null) return false; - return Id == other.Id && Name == other.Name && IsDefault == other.IsDefault; + return Id == other.Id && Name == other.Name && IsDefault == other.IsDefault && IsActive == other.IsActive; } /// @@ -153,6 +160,7 @@ public override int GetHashCode() hashCode = HashCodeHelper.GetHashCode(Id, hashCode); hashCode = HashCodeHelper.GetHashCode(Name, hashCode); hashCode = HashCodeHelper.GetHashCode(IsDefault, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsActive, hashCode); return hashCode; } } @@ -163,7 +171,7 @@ public override int GetHashCode() /// /// /// - private string DebuggerDisplay => $"[{nameof(TimeEntryActivity)}:{ToString()}, IsDefault={IsDefault.ToString(CultureInfo.InvariantCulture)}]"; + private string DebuggerDisplay => $"[{nameof(TimeEntryActivity)}:{ToString()}, IsDefault={IsDefault.ToString(CultureInfo.InvariantCulture)}, IsActive={IsActive.ToString(CultureInfo.InvariantCulture)}]"; } } \ No newline at end of file From dcc8201b0458378767a67e3e8ba212cdb5013d2b Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 8 Jun 2021 14:03:42 +0300 Subject: [PATCH 257/601] Added IssuesVisibility, TimeEntriesVisibility, UsersVisibility & IsAssignable to role --- src/redmine-net-api/RedmineKeys.cs | 17 +++++++++++++++++ src/redmine-net-api/Types/Role.cs | 20 ++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index f1dafa5d..f88c1382 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -55,6 +55,10 @@ public static class RedmineKeys /// /// /// + public const string ASSIGNABLE = "Assignable"; + /// + /// + /// public const string ATTACHMENT = "attachment"; /// /// @@ -323,6 +327,11 @@ public static class RedmineKeys /// /// public const string ISSUE_TO_ID = "issue_to_id"; + /// + /// + /// + public const string ISSUES_VISIBILITY = "issues_visibility"; + /// /// /// @@ -606,6 +615,10 @@ public static class RedmineKeys /// /// /// + public const string TIME_ENTRIES_VISIBILITY = "time_entries_visibility"; + /// + /// + /// public const string TITLE = "title"; /// /// @@ -678,6 +691,10 @@ public static class RedmineKeys /// /// /// + public const string USERS_VISIBILITY = "users_visibility"; + /// + /// + /// public const string VALUE = "value"; /// /// diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index 6c4ac088..8e049af2 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -40,6 +40,26 @@ public sealed class Role : IdentifiableName, IEquatable /// The issue relations. /// public IList Permissions { get; internal set; } + + /// + /// + /// + public string IssuesVisibility { get; set; } + + /// + /// + /// + public string TimeEntriesVisibility { get; set; } + + /// + /// + /// + public string UsersVisibility { get; set; } + + /// + /// + /// + public bool IsAssignable { get; set; } #endregion #region Implementation of IXmlSerialization From fda8f00a95b3bab135814ffb35f15a51290bb977 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 8 Jun 2021 14:05:09 +0300 Subject: [PATCH 258/601] Added DefaultAssignee & DefaultVersion to project --- src/redmine-net-api/RedmineKeys.cs | 8 ++++++++ src/redmine-net-api/Types/Project.cs | 28 ++++++++++++++++++++++++++-- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index f88c1382..d825a24c 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -148,6 +148,10 @@ public static class RedmineKeys /// public const string CUSTOM_FIELDS = "custom_fields"; + /// + /// + /// + public const string DEFAULT_ASSIGNEE = "default_assignee"; /// /// /// @@ -160,6 +164,10 @@ public static class RedmineKeys /// /// /// + public const string DEFAULT_VERSION = "default_version"; + /// + /// + /// public const string DELAY = "delay"; /// /// diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index c4240c6d..8130fda4 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -138,6 +138,16 @@ public sealed class Project : IdentifiableName, IEquatable /// /// Available in Redmine starting with 3.4.0 version. public IList TimeEntryActivities { get; internal set; } + + /// + /// + /// + public IdentifiableName DefaultVersion { get; set; } + + /// + /// + /// + public IdentifiableName DefaultAssignee { get; set; } #endregion #region Implementation of IXmlSerializer @@ -174,6 +184,8 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.TIME_ENTRY_ACTIVITIES: TimeEntryActivities = reader.ReadElementContentAsCollection(); break; case RedmineKeys.TRACKERS: Trackers = reader.ReadElementContentAsCollection(); break; case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.DEFAULT_ASSIGNEE: DefaultAssignee = new IdentifiableName(reader); break; + case RedmineKeys.DEFAULT_VERSION: DefaultVersion = new IdentifiableName(reader); break; default: reader.Read(); break; } } @@ -246,6 +258,8 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.TIME_ENTRY_ACTIVITIES: TimeEntryActivities = reader.ReadAsCollection(); break; case RedmineKeys.TRACKERS: Trackers = reader.ReadAsCollection(); break; case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.DEFAULT_ASSIGNEE: DefaultAssignee = new IdentifiableName(reader); break; + case RedmineKeys.DEFAULT_VERSION: DefaultVersion = new IdentifiableName(reader); break; default: reader.Read(); break; } } @@ -307,7 +321,9 @@ public bool Equals(Project other) && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) && (IssueCategories != null ? IssueCategories.Equals(other.IssueCategories) : other.IssueCategories == null) && (EnabledModules != null ? EnabledModules.Equals(other.EnabledModules) : other.EnabledModules == null) - && (TimeEntryActivities != null ? TimeEntryActivities.Equals(other.TimeEntryActivities) : other.TimeEntryActivities == null); + && (TimeEntryActivities != null ? TimeEntryActivities.Equals(other.TimeEntryActivities) : other.TimeEntryActivities == null) + && (DefaultAssignee != null ? DefaultAssignee.Equals(other.DefaultAssignee) : other.DefaultAssignee == null) + && (DefaultVersion != null ? DefaultVersion.Equals(other.DefaultVersion) : other.DefaultVersion == null); } /// @@ -333,6 +349,8 @@ public override int GetHashCode() hashCode = HashCodeHelper.GetHashCode(IssueCategories, hashCode); hashCode = HashCodeHelper.GetHashCode(EnabledModules, hashCode); hashCode = HashCodeHelper.GetHashCode(TimeEntryActivities, hashCode); + hashCode = HashCodeHelper.GetHashCode(DefaultAssignee, hashCode); + hashCode = HashCodeHelper.GetHashCode(DefaultVersion, hashCode); return hashCode; } @@ -344,12 +362,18 @@ public override int GetHashCode() /// /// private string DebuggerDisplay => - $@"[Project: {ToString()}, Identifier={Identifier}, Description={Description}, Parent={Parent}, HomePage={HomePage}, + $@"[Project: {ToString()}, +Identifier={Identifier}, +Description={Description}, +Parent={Parent}, +HomePage={HomePage}, CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, UpdatedOn={UpdatedOn?.ToString("u", CultureInfo.InvariantCulture)}, Status={Status:G}, IsPublic={IsPublic.ToString(CultureInfo.InvariantCulture)}, InheritMembers={InheritMembers.ToString(CultureInfo.InvariantCulture)}, +DefaultAssignee={DefaultAssignee}, +DefaultVersion={DefaultVersion}, Trackers={Trackers.Dump()}, CustomFields={CustomFields.Dump()}, IssueCategories={IssueCategories.Dump()}, From f454e3070849609ecb9e4b2e8928f12353857f20 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 8 Jun 2021 14:06:51 +0300 Subject: [PATCH 259/601] Added MyAccount type --- src/redmine-net-api/Internals/UrlHelper.cs | 9 +- src/redmine-net-api/RedmineManager.cs | 10 + src/redmine-net-api/Types/MyAccount.cs | 210 ++++++++++++++++++ .../Types/MyAccountCustomField.cs | 137 ++++++++++++ 4 files changed, 365 insertions(+), 1 deletion(-) create mode 100644 src/redmine-net-api/Types/MyAccount.cs create mode 100644 src/redmine-net-api/Types/MyAccountCustomField.cs diff --git a/src/redmine-net-api/Internals/UrlHelper.cs b/src/redmine-net-api/Internals/UrlHelper.cs index e5ac0e24..d6b33f2d 100644 --- a/src/redmine-net-api/Internals/UrlHelper.cs +++ b/src/redmine-net-api/Internals/UrlHelper.cs @@ -63,8 +63,10 @@ internal static class UrlHelper /// private const string FILE_URL_FORMAT = "{0}/projects/{1}/files.{2}"; + private const string MY_ACCOUNT_FORMAT = "{0}/my/account.{1}"; + - /// + /// /// private const string CURRENT_USER_URI = "current"; /// @@ -301,6 +303,11 @@ public static string GetCurrentUserUrl(RedmineManager redmineManager) redmineManager.Format); } + public static string GetMyAccountUrl(RedmineManager redmineManager) + { + return string.Format(CultureInfo.InvariantCulture,MY_ACCOUNT_FORMAT, redmineManager.Host, redmineManager.Format); + } + /// /// Gets the wiki create or updater URL. /// diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 0bc375a2..7d92035e 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -322,6 +322,16 @@ public User GetCurrentUser(NameValueCollection parameters = null) return WebApiHelper.ExecuteDownload(this, url, parameters); } + /// + /// + /// + /// Returns the my account details. + public MyAccount GetMyAccount() + { + var url = UrlHelper.GetMyAccountUrl(this); + return WebApiHelper.ExecuteDownload(this, url); + } + /// /// Adds the watcher to issue. /// diff --git a/src/redmine-net-api/Types/MyAccount.cs b/src/redmine-net-api/Types/MyAccount.cs new file mode 100644 index 00000000..96a70bc5 --- /dev/null +++ b/src/redmine-net-api/Types/MyAccount.cs @@ -0,0 +1,210 @@ +/* + Copyright 2011 - 2021 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Globalization; +using System.Xml; +using System.Xml.Serialization; +using Newtonsoft.Json; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Internals; + +namespace Redmine.Net.Api.Types +{ + /// + /// + /// + /// Availability 4.1 + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [XmlRoot(RedmineKeys.USER)] + public sealed class MyAccount : Identifiable + { + #region Properties + + /// + /// Gets the user login. + /// + /// The login. + public string Login { get; internal set; } + + /// + /// Gets the first name. + /// + /// The first name. + public string FirstName { get; internal set; } + + /// + /// Gets the last name. + /// + /// The last name. + public string LastName { get; internal set; } + + /// + /// Gets the email. + /// + /// The email. + public string Email { get; internal set; } + + /// + /// Returns true if user is admin. + /// + /// + /// The authentication mode id. + /// + public bool IsAdmin { get; internal set; } + + /// + /// Gets the created on. + /// + /// The created on. + public DateTime? CreatedOn { get; internal set; } + + /// + /// Gets the last login on. + /// + /// The last login on. + public DateTime? LastLoginOn { get; internal set; } + + /// + /// Gets the API key + /// + public string ApiKey { get; internal set; } + + /// + /// Gets or sets the custom fields + /// + public List CustomFields { get; set; } + + #endregion + + #region Implementation of IXmlSerializable + + /// + public override void ReadXml(XmlReader reader) + { + reader.Read(); + while (!reader.EOF) + { + if (reader.IsEmptyElement && !reader.HasAttributes) + { + reader.Read(); + continue; + } + + switch (reader.Name) + { + case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; + case RedmineKeys.ADMIN: IsAdmin = reader.ReadElementContentAsBoolean(); break; + case RedmineKeys.API_KEY: ApiKey = reader.ReadElementContentAsString(); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadElementContentAsCollection(); break; + case RedmineKeys.FIRST_NAME: FirstName = reader.ReadElementContentAsString(); break; + case RedmineKeys.LAST_LOGIN_ON: LastLoginOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.LAST_NAME: LastName = reader.ReadElementContentAsString(); break; + case RedmineKeys.LOGIN: Login = reader.ReadElementContentAsString(); break; + case RedmineKeys.MAIL: Email = reader.ReadElementContentAsString(); break; + default: reader.Read(); break; + } + } + } + + #endregion + + #region Implementation of IJsonSerializable + + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.ADMIN: IsAdmin = reader.ReadAsBool(); break; + case RedmineKeys.API_KEY: ApiKey = reader.ReadAsString(); break; + case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadAsCollection(); break; + case RedmineKeys.FIRST_NAME: FirstName = reader.ReadAsString(); break; + case RedmineKeys.LAST_LOGIN_ON: LastLoginOn = reader.ReadAsDateTime(); break; + case RedmineKeys.LAST_NAME: LastName = reader.ReadAsString(); break; + case RedmineKeys.LOGIN: Login = reader.ReadAsString(); break; + case RedmineKeys.MAIL: Email = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + + #endregion + + /// + public override bool Equals(MyAccount other) + { + if (other == null) return false; + return Id == other.Id + && string.Equals(Login, other.Login, StringComparison.OrdinalIgnoreCase) + && string.Equals(FirstName, other.FirstName, StringComparison.OrdinalIgnoreCase) + && string.Equals(LastName, other.LastName, StringComparison.OrdinalIgnoreCase) + && string.Equals(ApiKey, other.ApiKey, StringComparison.OrdinalIgnoreCase) + && IsAdmin == other.IsAdmin + && CreatedOn == other.CreatedOn + && LastLoginOn == other.LastLoginOn + && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null); + } + + /// + public override int GetHashCode() + { + unchecked + { + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Login, hashCode); + hashCode = HashCodeHelper.GetHashCode(FirstName, hashCode); + hashCode = HashCodeHelper.GetHashCode(LastName, hashCode); + hashCode = HashCodeHelper.GetHashCode(Email, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsAdmin, hashCode); + hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(LastLoginOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(ApiKey, hashCode); + hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); + return hashCode; + } + } + + private string DebuggerDisplay => $@"[ {nameof(MyAccount)}: +Id={Id.ToString(CultureInfo.InvariantCulture)}, +Login={Login}, +ApiKey={ApiKey}, +FirstName={FirstName}, +LastName={LastName}, +Email={Email}, +IsAdmin={IsAdmin.ToString(CultureInfo.InvariantCulture).ToLowerInv()}, +CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, +LastLoginOn={LastLoginOn?.ToString("u", CultureInfo.InvariantCulture)}, +CustomFields={CustomFields.Dump()}]"; + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Types/MyAccountCustomField.cs b/src/redmine-net-api/Types/MyAccountCustomField.cs new file mode 100644 index 00000000..08631c43 --- /dev/null +++ b/src/redmine-net-api/Types/MyAccountCustomField.cs @@ -0,0 +1,137 @@ +/* + Copyright 2011 - 2021 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using System.Diagnostics; +using System.Xml; +using System.Xml.Serialization; +using Newtonsoft.Json; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Internals; + +namespace Redmine.Net.Api.Types +{ + /// + /// + /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [XmlRoot(RedmineKeys.CUSTOM_FIELD)] + public sealed class MyAccountCustomField : IdentifiableName + { + /// + /// Initializes a new instance of the class. + /// + /// Serialization + public MyAccountCustomField() { } + + + /// + /// + /// + public string Value { get; internal set; } + + internal MyAccountCustomField(int id, string name) + { + Id = id; + Name = name; + } + + /// + public override void ReadXml(XmlReader reader) + { + base.ReadXml(reader); + while (!reader.EOF) + { + if (reader.IsEmptyElement) + { + reader.Read(); + continue; + } + + switch (reader.Name) + { + case RedmineKeys.VALUE: + Value = reader.ReadElementContentAsString(); + break; + + default: + reader.Read(); + break; + } + } + } + + /// + public override void WriteXml(XmlWriter writer) + { + } + + + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType == JsonToken.PropertyName) + { + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + case RedmineKeys.VALUE: Value = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + } + + /// + public override void WriteJson(JsonWriter writer) + { + } + + /// + public override bool Equals(IdentifiableName other) + { + var result = base.Equals(other); + + return result && string.Equals(Value,((MyAccountCustomField)other)?.Value, StringComparison.OrdinalIgnoreCase); + } + + /// + public override int GetHashCode() + { + unchecked + { + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Value, hashCode); + return hashCode; + } + } + + /// + /// + /// + /// + private string DebuggerDisplay => $"[{nameof(MyAccountCustomField)}: {ToString()}, Value: {Value}]"; + + } +} \ No newline at end of file From 85ece934a6fd2661aa40591f147cfff83fedc2f4 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 8 Jun 2021 14:07:51 +0300 Subject: [PATCH 260/601] Added attachments & comments to news --- src/redmine-net-api/RedmineKeys.cs | 8 ++ src/redmine-net-api/Types/News.cs | 19 ++++ src/redmine-net-api/Types/NewsComment.cs | 124 +++++++++++++++++++++++ 3 files changed, 151 insertions(+) create mode 100644 src/redmine-net-api/Types/NewsComment.cs diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index d825a24c..c705cb62 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -99,6 +99,10 @@ public static class RedmineKeys /// /// /// + public const string COMMENT = "comment"; + /// + /// + /// public const string COMMENTS = "comments"; /// /// @@ -107,6 +111,10 @@ public static class RedmineKeys /// /// /// + public const string CONTENT = "content"; + /// + /// + /// public const string CONTENT_TYPE = "content_type"; /// /// diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index 7f28c0be..de25df19 100644 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Xml; @@ -68,6 +69,16 @@ public sealed class News : Identifiable /// /// The created on. public DateTime? CreatedOn { get; internal set; } + + /// + /// + /// + public List Attachments { get; internal set; } + + /// + /// + /// + public List Comments { get; internal set; } #endregion #region Implementation of IXmlSerialization @@ -95,6 +106,10 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; case RedmineKeys.SUMMARY: Summary = reader.ReadElementContentAsString(); break; case RedmineKeys.TITLE: Title = reader.ReadElementContentAsString(); break; + case RedmineKeys.ATTACHMENTS: Attachments = reader.ReadElementContentAsCollection(); + break; + case RedmineKeys.COMMENTS: Comments = reader.ReadElementContentAsCollection(); + break; default: reader.Read(); break; } } @@ -129,6 +144,10 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; case RedmineKeys.SUMMARY: Summary = reader.ReadAsString(); break; case RedmineKeys.TITLE: Title = reader.ReadAsString(); break; + case RedmineKeys.ATTACHMENTS: Attachments = reader.ReadAsCollection(); + break; + case RedmineKeys.COMMENTS: Comments = reader.ReadAsCollection(); + break; default: reader.Read(); break; } } diff --git a/src/redmine-net-api/Types/NewsComment.cs b/src/redmine-net-api/Types/NewsComment.cs new file mode 100644 index 00000000..3144765e --- /dev/null +++ b/src/redmine-net-api/Types/NewsComment.cs @@ -0,0 +1,124 @@ +/* + Copyright 2011 - 2021 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System.Diagnostics; +using System.Xml; +using System.Xml.Serialization; +using Newtonsoft.Json; +using Redmine.Net.Api.Internals; + +namespace Redmine.Net.Api.Types +{ + /// + /// + /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [XmlRoot(RedmineKeys.COMMENT)] + public sealed class NewsComment: Identifiable + { + /// + /// + /// + public IdentifiableName Author { get; set; } + /// + /// + /// + public string Content { get; set; } + + /// + public override void ReadXml(XmlReader reader) + { + reader.Read(); + + while (!reader.EOF) + { + if (reader.IsEmptyElement && !reader.HasAttributes) + { + reader.Read(); + continue; + } + + switch (reader.Name) + { + case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; + case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; + case RedmineKeys.CONTENT: Content = reader.ReadElementContentAsString(); break; + default: reader.Read(); break; + } + } + } + + /// + public override void WriteXml(XmlWriter writer) + { + } + + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: + Id = reader.ReadAsInt32().GetValueOrDefault(); + break; + case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; + case RedmineKeys.CONTENT: Content = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + + /// + public override void WriteJson(JsonWriter writer) + { + } + + /// + public override bool Equals(NewsComment other) + { + if (other == null) return false; + return Id == other.Id && Author == other.Author && Content == other.Content; + } + + /// + public override int GetHashCode() + { + var hashCode = base.GetHashCode(); + + hashCode = HashCodeHelper.GetHashCode(Author, hashCode); + hashCode = HashCodeHelper.GetHashCode(Content, hashCode); + + return hashCode; + } + + private string DebuggerDisplay => $@"[{nameof(IssueAllowedStatus)}: {ToString()}, +{nameof(NewsComment)}: {ToString()}, +Author={Author}, +CONTENT={Content}]"; + } +} \ No newline at end of file From 6b1ec8e0a724badd4545b51946515c0a9132b735 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 8 Jun 2021 14:09:32 +0300 Subject: [PATCH 261/601] Added AllowedStatuses to issue --- src/redmine-net-api/RedmineKeys.cs | 4 +++ src/redmine-net-api/Types/Issue.cs | 7 +++++ .../Types/IssueAllowedStatus.cs | 31 +++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 src/redmine-net-api/Types/IssueAllowedStatus.cs diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index c705cb62..809dcef7 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -43,6 +43,10 @@ public static class RedmineKeys /// /// /// + public const string ALLOWED_STATUSES = "allowed_statuses"; + /// + /// + /// public const string API_KEY = "api_key"; /// /// diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 65859599..b10c2f29 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -253,6 +253,11 @@ public sealed class Issue : Identifiable, ICloneable /// /// public IList Watchers { get; set; } + + /// + /// + /// + public List AllowedStatuses { get; set; } #endregion #region Implementation of IXmlSerialization @@ -275,6 +280,7 @@ public override void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; + case RedmineKeys.ALLOWED_STATUSES: AllowedStatuses = reader.ReadElementContentAsCollection(); break; case RedmineKeys.ASSIGNED_TO: AssignedTo = new IdentifiableName(reader); break; case RedmineKeys.ATTACHMENTS: Attachments = reader.ReadElementContentAsCollection(); break; case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; @@ -373,6 +379,7 @@ public override void ReadJson(JsonReader reader) switch (reader.Value) { case RedmineKeys.ID: Id = reader.ReadAsInt32().GetValueOrDefault(); break; + case RedmineKeys.ALLOWED_STATUSES: AllowedStatuses = reader.ReadAsCollection(); break; case RedmineKeys.ASSIGNED_TO: AssignedTo = new IdentifiableName(reader); break; case RedmineKeys.ATTACHMENTS: Attachments = reader.ReadAsCollection(); break; case RedmineKeys.AUTHOR: Author = new IdentifiableName(reader); break; diff --git a/src/redmine-net-api/Types/IssueAllowedStatus.cs b/src/redmine-net-api/Types/IssueAllowedStatus.cs new file mode 100644 index 00000000..23a2a3cc --- /dev/null +++ b/src/redmine-net-api/Types/IssueAllowedStatus.cs @@ -0,0 +1,31 @@ +/* + Copyright 2011 - 2021 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System.Diagnostics; +using System.Xml.Serialization; + +namespace Redmine.Net.Api.Types +{ + /// + /// + /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [XmlRoot(RedmineKeys.STATUS)] + public sealed class IssueAllowedStatus : IdentifiableName + { + private string DebuggerDisplay => $"[{nameof(IssueAllowedStatus)}: {ToString()}]"; + } +} \ No newline at end of file From 604be0fa634fbeb5f40f2d4ad1901ce069bb9c47 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 8 Jun 2021 14:10:56 +0300 Subject: [PATCH 262/601] Added search type --- src/redmine-net-api/RedmineKeys.cs | 18 ++++ src/redmine-net-api/Types/Search.cs | 157 ++++++++++++++++++++++++++++ 2 files changed, 175 insertions(+) create mode 100644 src/redmine-net-api/Types/Search.cs diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index 809dcef7..d96921cc 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -159,6 +159,11 @@ public static class RedmineKeys /// /// public const string CUSTOM_FIELDS = "custom_fields"; + + /// + /// + /// + public const string DATE_TIME = "datetime"; /// /// @@ -555,6 +560,10 @@ public static class RedmineKeys /// /// /// + public const string RESULT = "result"; + /// + /// + /// public const string REVISION = "revision"; /// /// @@ -676,6 +685,11 @@ public static class RedmineKeys /// /// public const string TRACKER_IDS = "tracker_ids"; + + /// + /// + /// + public const string TYPE = "type"; /// /// /// @@ -695,6 +709,10 @@ public static class RedmineKeys /// /// /// + public const string URL = "url"; + /// + /// + /// public const string USER = "user"; /// /// diff --git a/src/redmine-net-api/Types/Search.cs b/src/redmine-net-api/Types/Search.cs new file mode 100644 index 00000000..03786c82 --- /dev/null +++ b/src/redmine-net-api/Types/Search.cs @@ -0,0 +1,157 @@ +/* + Copyright 2011 - 2021 Adrian Popescu. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using System.Diagnostics; +using System.Globalization; +using System.Xml; +using System.Xml.Schema; +using System.Xml.Serialization; +using Newtonsoft.Json; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; + +namespace Redmine.Net.Api.Types +{ + /// + /// + /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [XmlRoot(RedmineKeys.RESULT)] + public sealed class Search: IXmlSerializable, IJsonSerializable, IEquatable + { + /// + /// + /// + public int Id { get; set; } + /// + /// + /// + public string Title { get; set; } + /// + /// + /// + public string Type { get; set; } + /// + /// + /// + public string Url { get; set; } + /// + /// + /// + public string Description { get; set; } + /// + /// + /// + public DateTime? DateTime { get; set; } + + /// + public XmlSchema GetSchema() { return null; } + + /// + public void ReadXml(XmlReader reader) + { + reader.Read(); + while (!reader.EOF) + { + switch (reader.Name) + { + case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; + case RedmineKeys.DATE_TIME: DateTime = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.URL: Url = reader.ReadElementContentAsString(); break; + case RedmineKeys.TYPE: Type = reader.ReadElementContentAsString(); break; + case RedmineKeys.TITLE: Title = reader.ReadElementContentAsString(); break; + default: reader.Read(); break; + } + } + } + + /// + public void WriteXml(XmlWriter writer) + { + } + + /// + public void WriteJson(JsonWriter writer) + { + } + + /// + public void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; + case RedmineKeys.DATE_TIME: DateTime = reader.ReadAsDateTime(); break; + case RedmineKeys.URL: Url = reader.ReadAsString(); break; + case RedmineKeys.TYPE: Type = reader.ReadAsString(); break; + case RedmineKeys.TITLE: Title = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + + /// + public bool Equals(Search other) + { + if (other == null) return false; + return Id == other.Id && string.Equals(Title, other.Title, StringComparison.InvariantCultureIgnoreCase) + && string.Equals(Description, other.Description, StringComparison.InvariantCultureIgnoreCase) + && string.Equals(Url, other.Url, StringComparison.InvariantCultureIgnoreCase) + && string.Equals(Type, other.Type, StringComparison.InvariantCultureIgnoreCase) + && DateTime == other.DateTime; + } + + /// + public override bool Equals(object obj) + { + return Equals(obj as Search); + } + + /// + public override int GetHashCode() + { + unchecked + { + var hashCode = 397; + hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + hashCode = HashCodeHelper.GetHashCode(Title, hashCode); + hashCode = HashCodeHelper.GetHashCode(Type, hashCode); + hashCode = HashCodeHelper.GetHashCode(Url, hashCode); + hashCode = HashCodeHelper.GetHashCode(Description, hashCode); + hashCode = HashCodeHelper.GetHashCode(DateTime, hashCode); + return hashCode; + } + } + + private string DebuggerDisplay => $@"[{nameof(Search)}:Id={Id.ToString(CultureInfo.InvariantCulture)},Title={Title},Type={Type},Url={Url},Description={Description}, DateTime={DateTime?.ToString("u", CultureInfo.InvariantCulture)}]"; + } +} \ No newline at end of file From 9742932ec368856f1da366b889308fe58e63e1a2 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 8 Jun 2021 14:12:07 +0300 Subject: [PATCH 263/601] Cleanup --- src/redmine-net-api/Types/Attachment.cs | 4 ---- src/redmine-net-api/Types/CustomFieldPossibleValue.cs | 8 ++++---- src/redmine-net-api/Types/IdentifiableName.cs | 1 - 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index b99f4d51..abc924ed 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -220,10 +220,6 @@ public override int GetHashCode() } #endregion - /// - /// - /// - /// private string DebuggerDisplay => $@"[{nameof(Attachment)}: {ToString()}, diff --git a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs index 4225d9e1..e2f42a59 100644 --- a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs @@ -33,10 +33,10 @@ namespace Redmine.Net.Api.Types public sealed class CustomFieldPossibleValue : IXmlSerializable, IJsonSerializable, IEquatable { #region Properties - /// - /// - /// - public string Value { get; internal set; } + /// + /// + /// + public string Value { get; internal set; } /// /// diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index 37236d53..7446d1cb 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -29,7 +29,6 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] public class IdentifiableName : Identifiable - { /// /// From bb9475b437d6b581cb2538a8e61da2240727fd89 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 8 Jun 2021 14:12:20 +0300 Subject: [PATCH 264/601] Update readme --- README.md | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index c3c8f8b3..9398bf40 100755 --- a/README.md +++ b/README.md @@ -16,26 +16,29 @@ redmine-net-api is a library for communicating with a Redmine project management * This API provides access and basic CRUD operations (create, read, update, delete) for the resources described below: |Resource | Read | Create | Update | Delete | -|:---------|:------:|:--------:|:--------:|:-------:| - Attachments|x|x|-|- - Custom Fields|x|-|-|- - Enumerations |x|-|-|- - Files |x|x|-|- - Groups|x|x|x|x - Issues |x|x|x|x - Issue Categories|x|x|x|x - Issue Relations|x|x|x|x - Issue Statuses|x|-|-|- - News|x|-|-|- - Projects|x|x|x|x - Project Memberships|x|x|x|x - Queries |x|-|-|- - Roles |x|-|-|- - Time Entries |x|x|x|x - Trackers |x|-|-|- - Users |x|x|x|x - Versions |x|x|x|x - Wiki Pages |x|x|x|x +|:---------|:------:|:----------:|:---------:|:-------:| + Attachments | ✓ | ✓ | ✗ | ✗| + Custom Fields | ✓ | ✗ | ✗ | ✗ + Enumerations | ✓ | ✗ | ✗ | ✗ + Files |✓|✓|✗|✗ + Groups |✓|✓|✓|✓ + Issues |✓|✓|✓|✓ + Issue Categories |✓|✓|✓|✓ + Issue Relations |✓|✓|✓|✓ + Issue Statuses |✓|✗|✗|✗ + My account |✓|✗|✓|✗ + News |✓|✗|✗|✗ + Projects |✓|✓|✓|✓ + Project Memberships|✓|✓|✓|✓ + Queries |✓|✗|✗|✗ + Roles |✓|✗|✗|✗ + Search | + Time Entries |✓|✓|✓|✓ + Trackers |✓|✗|✗|✗ + Users |✓|✓|✓|✓ + Versions |✓|✓|✓|✓ + Wiki Pages |✓|✓|✓|✓ + ## WIKI From 9ad5a03dd73f96d15939d6e623fd704a9da277b6 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 8 Jun 2021 14:41:24 +0300 Subject: [PATCH 265/601] Updated version & changelog --- CHANGELOG.md | 17 +++++++++++++++++ version.props | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 256d1ff3..501cd134 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [v4.3.0] + +Added: +* Added WikiPageTitle, EstimatedHours & SpentHours to version +* Added IsAdmin, TwoFactorAuthenticationScheme, PasswordChangedOn, UpdatedOn to user +* Added IsActive to time entry activity +* Added IssuesVisibility, TimeEntriesVisibility, UsersVisibility & IsAssignable to role +* Added DefaultAssignee & DefaultVersion to project +* Added MyAccount type +* Added attachments & comments to news +* Added AllowedStatuses to issue +* Added search type + +Fixes: +* Issue Relations Read Error for Copied Issues (Relation Type : copied_to) (#288) + + ## [v4.2.3] Fixes: diff --git a/version.props b/version.props index c493f568..1a63b825 100644 --- a/version.props +++ b/version.props @@ -1,6 +1,6 @@ - 4.2.3 + 4.3.0 $(VersionPrefix) $(VersionPrefix)-$(VersionSuffix) From 0a11d8bcc070bd1353406287d013e8b1f97a557d Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 22 Jan 2022 14:46:51 +0200 Subject: [PATCH 266/601] WIP: CI/CD action --- .github/workflows/act.yml | 93 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 .github/workflows/act.yml diff --git a/.github/workflows/act.yml b/.github/workflows/act.yml new file mode 100644 index 00000000..642cb981 --- /dev/null +++ b/.github/workflows/act.yml @@ -0,0 +1,93 @@ + +name: "CI/CD" +on: + push: + branches: + - "master" + pull_request: + branches: [ "master" ] + + +env: + # Disable the .NET logo in the console output. + DOTNET_NOLOGO: true + + # Stop wasting time caching packages + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true + + # Disable sending usage data to Microsoft + DOTNET_CLI_TELEMETRY_OPTOUT: true + + # Project name to pack and publish + PROJECT_NAME: redmine-net-api + + # GitHub Packages Feed settings + GITHUB_FEED: https://nuget.pkg.github.com/redmine-net-api/ + GITHUB_USER: zapadi + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # Official NuGet Feed settings + NUGET_FEED: https://api.nuget.org/v3/index.json + NUGET_KEY: ${{ secrets.NUGET_KEY }} + + # Set the build number in MinVer. + MINVERBUILDMETADATA: build.${{github.run_number}} + +jobs: + build: + name: Build-${{matrix.os}} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ ubuntu-latest, windows-latest, macos-latest ] + env: + PUSH_PACKAGES: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + steps: + - name: Checkout + uses: actions/checkout@v2.4.0 + with: + lfs: true + fetch-depth: 0 + + - name: Setup .NET Core + uses: actions/setup-dotnet@v1.9.0 + with: + dotnet-version: | + 3.1.x + 5.0.x + + # - name: "Install .NET Core SDK" + # uses: actions/setup-dotnet@v1.9.0 + + - name: Restore + run: dotnet restore + + - name: Build + run: dotnet build -c Release --no-restore + + - name: Test + run: dotnet test -c Release --no-build + + - name: Create Release NuGet package + run: | + arrTag=(${GITHUB_REF//\// }) + VERSION="${arrTag[2]}" + VERSION="${VERSION//v}" + dotnet pack -v normal -c Release --include-symbols --include-source -p:PackageVersion=$VERSION -o nupkg src/$PROJECT_NAME/$PROJECT_NAME.*proj + + + - name: Update robots.txt for Testing Site + if: github.event_name == 'pull_request' + run: | + rm ./public/robots.txt + echo $'User-agent: *\nDisallow: /' >> ./public/robots.txt + + - name: Notify Slack + if: always() + uses: 8398a7/action-slack@v3 + with: + status: ${{ job.status }} + fields: repo,message,commit,author,action,eventName,ref,workflow,job,took # selectable (default: repo,message) + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required + From 6729e7b554e2cc5ce4032e314a598a8f315b4a6e Mon Sep 17 00:00:00 2001 From: Padi Date: Mon, 24 Jan 2022 09:55:05 +0000 Subject: [PATCH 267/601] Create codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 70 +++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 00000000..e47ceb46 --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,70 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ master ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ master ] + schedule: + - cron: '34 7 * * 6' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'csharp' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] + # Learn more about CodeQL language support at https://git.io/codeql-language-support + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v1 + + # ℹ️ Command-line programs to run using the OS shell. + # 📚 https://git.io/JvXDl + + # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language + + #- run: | + # make bootstrap + # make release + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 From 7b735fac1a31db36b41683715adfed3b76405aea Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 5 Mar 2022 15:57:01 +0200 Subject: [PATCH 268/601] Update copyright --- .../Async/RedmineManagerAsync.cs | 17 +++++++++++++++++ .../Async/RedmineManagerAsync40.cs | 2 +- .../Async/RedmineManagerAsync45.cs | 2 +- .../Exceptions/ConflictException.cs | 2 +- .../Exceptions/ForbiddenException.cs | 2 +- .../Exceptions/InternalServerErrorException.cs | 2 +- .../NameResolutionFailureException.cs | 2 +- .../Exceptions/NotAcceptableException.cs | 2 +- .../Exceptions/NotFoundException.cs | 2 +- .../Exceptions/RedmineException.cs | 2 +- .../Exceptions/RedmineTimeoutException.cs | 2 +- .../Exceptions/UnauthorizedException.cs | 2 +- .../Extensions/CollectionExtensions.cs | 2 +- .../Extensions/ExtensionAttribute.cs | 2 +- .../Extensions/JsonReaderExtensions.cs | 18 +++++++++++++++++- .../Extensions/JsonWriterExtensions.cs | 16 ++++++++++++++++ .../NameValueCollectionExtensions.cs | 2 +- .../Extensions/StringExtensions.cs | 16 ++++++++++++++++ .../Extensions/WebExtensions.cs | 2 +- .../Extensions/XmlReaderExtensions.cs | 2 +- .../Extensions/XmlWriterExtensions.cs | 2 +- src/redmine-net-api/HttpVerbs.cs | 2 +- src/redmine-net-api/IRedmineManager.cs | 2 +- src/redmine-net-api/IRedmineWebClient.cs | 2 +- src/redmine-net-api/Internals/DataHelper.cs | 2 +- src/redmine-net-api/Internals/Func.cs | 2 +- .../Internals/HashCodeHelper.cs | 2 +- src/redmine-net-api/Internals/UrlHelper.cs | 2 +- .../Internals/WebApiAsyncHelper.cs | 2 +- src/redmine-net-api/Internals/WebApiHelper.cs | 2 +- .../Internals/XmlTextReaderBuilder.cs | 16 ++++++++++++++++ src/redmine-net-api/MimeFormat.cs | 2 +- src/redmine-net-api/RedirectType.cs | 16 ++++++++++++++++ src/redmine-net-api/RedmineKeys.cs | 2 +- src/redmine-net-api/RedmineManager.cs | 2 +- src/redmine-net-api/RedmineWebClient.cs | 2 +- .../Serialization/CacheKeyFactory.cs | 16 ++++++++++++++++ .../Serialization/IJsonSerializable.cs | 16 ++++++++++++++++ .../Serialization/ISerialization.cs | 16 ++++++++++++++++ .../Serialization/IXmlSerializerCache.cs | 16 ++++++++++++++++ .../Serialization/JsonObject.cs | 16 ++++++++++++++++ .../Serialization/JsonRedmineSerializer.cs | 16 ++++++++++++++++ .../Serialization/PagedResults.cs | 16 ++++++++++++++++ .../Serialization/XmlRedmineSerializer.cs | 16 ++++++++++++++++ .../Serialization/XmlSerializerCache.cs | 16 ++++++++++++++++ src/redmine-net-api/Types/Attachment.cs | 2 +- src/redmine-net-api/Types/Attachments.cs | 2 +- src/redmine-net-api/Types/ChangeSet.cs | 2 +- src/redmine-net-api/Types/CustomField.cs | 2 +- .../Types/CustomFieldPossibleValue.cs | 2 +- src/redmine-net-api/Types/CustomFieldRole.cs | 2 +- src/redmine-net-api/Types/CustomFieldValue.cs | 2 +- src/redmine-net-api/Types/Detail.cs | 2 +- src/redmine-net-api/Types/Error.cs | 2 +- src/redmine-net-api/Types/File.cs | 2 +- src/redmine-net-api/Types/Group.cs | 2 +- src/redmine-net-api/Types/GroupUser.cs | 2 +- src/redmine-net-api/Types/IValue.cs | 2 +- src/redmine-net-api/Types/Identifiable.cs | 2 +- src/redmine-net-api/Types/IdentifiableName.cs | 2 +- src/redmine-net-api/Types/Issue.cs | 2 +- .../Types/IssueAllowedStatus.cs | 2 +- src/redmine-net-api/Types/IssueCategory.cs | 2 +- src/redmine-net-api/Types/IssueChild.cs | 2 +- src/redmine-net-api/Types/IssueCustomField.cs | 2 +- src/redmine-net-api/Types/IssuePriority.cs | 2 +- src/redmine-net-api/Types/IssueRelation.cs | 2 +- src/redmine-net-api/Types/IssueRelationType.cs | 2 +- src/redmine-net-api/Types/IssueStatus.cs | 2 +- src/redmine-net-api/Types/Journal.cs | 2 +- src/redmine-net-api/Types/Membership.cs | 2 +- src/redmine-net-api/Types/MembershipRole.cs | 2 +- src/redmine-net-api/Types/MyAccount.cs | 2 +- .../Types/MyAccountCustomField.cs | 2 +- src/redmine-net-api/Types/News.cs | 2 +- src/redmine-net-api/Types/NewsComment.cs | 2 +- src/redmine-net-api/Types/Permission.cs | 2 +- src/redmine-net-api/Types/Project.cs | 2 +- .../Types/ProjectEnabledModule.cs | 2 +- .../Types/ProjectIssueCategory.cs | 2 +- src/redmine-net-api/Types/ProjectMembership.cs | 2 +- src/redmine-net-api/Types/ProjectStatus.cs | 2 +- .../Types/ProjectTimeEntryActivity.cs | 18 +++++++++++++++++- src/redmine-net-api/Types/ProjectTracker.cs | 2 +- src/redmine-net-api/Types/Query.cs | 2 +- src/redmine-net-api/Types/Role.cs | 2 +- src/redmine-net-api/Types/Search.cs | 2 +- src/redmine-net-api/Types/TimeEntry.cs | 2 +- src/redmine-net-api/Types/TimeEntryActivity.cs | 2 +- src/redmine-net-api/Types/Tracker.cs | 2 +- .../Types/TrackerCustomField.cs | 2 +- src/redmine-net-api/Types/Upload.cs | 2 +- src/redmine-net-api/Types/User.cs | 2 +- src/redmine-net-api/Types/UserGroup.cs | 2 +- src/redmine-net-api/Types/UserStatus.cs | 2 +- src/redmine-net-api/Types/Version.cs | 2 +- src/redmine-net-api/Types/VersionSharing.cs | 18 +++++++++++++++++- src/redmine-net-api/Types/VersionStatus.cs | 18 +++++++++++++++++- src/redmine-net-api/Types/Watcher.cs | 2 +- src/redmine-net-api/Types/WikiPage.cs | 2 +- .../Tests/Sync/AttachmentTests.cs | 2 +- .../Tests/Sync/CustomFieldTests.cs | 2 +- .../Tests/Sync/IssuePriorityTests.cs | 2 +- .../Tests/Sync/IssueRelationTests.cs | 2 +- .../Tests/Sync/IssueStatusTests.cs | 2 +- .../Tests/Sync/NewsTests.cs | 2 +- .../Tests/Sync/ProjectMembershipTests.cs | 2 +- .../Tests/Sync/ProjectTests.cs | 2 +- .../Tests/Sync/QueryTests.cs | 2 +- .../Tests/Sync/RoleTests.cs | 2 +- .../Tests/Sync/TimeEntryActivtiyTests.cs | 2 +- .../Tests/Sync/TimeEntryTests.cs | 2 +- .../Tests/Sync/TrackerTests.cs | 2 +- .../Tests/Sync/UserTests.cs | 2 +- .../Tests/Sync/VersionTests.cs | 2 +- .../Tests/Sync/WikiPageTests.cs | 2 +- 116 files changed, 391 insertions(+), 102 deletions(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync.cs b/src/redmine-net-api/Async/RedmineManagerAsync.cs index 441c6a3c..bc76b936 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync.cs @@ -1,5 +1,22 @@ #if NET20 + +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System.Collections.Generic; using System.Collections.Specialized; using Redmine.Net.Api.Serialization; diff --git a/src/redmine-net-api/Async/RedmineManagerAsync40.cs b/src/redmine-net-api/Async/RedmineManagerAsync40.cs index 3cf06d37..09699ec3 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync40.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync40.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index afb27ea9..199e5e4a 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2021 Adrian Popescu. +Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/ConflictException.cs b/src/redmine-net-api/Exceptions/ConflictException.cs index 86465c8d..46faad5b 100644 --- a/src/redmine-net-api/Exceptions/ConflictException.cs +++ b/src/redmine-net-api/Exceptions/ConflictException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/ForbiddenException.cs b/src/redmine-net-api/Exceptions/ForbiddenException.cs index 8c13b5a3..b34dbbe9 100644 --- a/src/redmine-net-api/Exceptions/ForbiddenException.cs +++ b/src/redmine-net-api/Exceptions/ForbiddenException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/InternalServerErrorException.cs b/src/redmine-net-api/Exceptions/InternalServerErrorException.cs index 29704631..6d495faa 100644 --- a/src/redmine-net-api/Exceptions/InternalServerErrorException.cs +++ b/src/redmine-net-api/Exceptions/InternalServerErrorException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs b/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs index 77781629..27d648d2 100644 --- a/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs +++ b/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/NotAcceptableException.cs b/src/redmine-net-api/Exceptions/NotAcceptableException.cs index 7e4a914e..b660bf3f 100644 --- a/src/redmine-net-api/Exceptions/NotAcceptableException.cs +++ b/src/redmine-net-api/Exceptions/NotAcceptableException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/NotFoundException.cs b/src/redmine-net-api/Exceptions/NotFoundException.cs index 328f1a6d..fbc320c5 100644 --- a/src/redmine-net-api/Exceptions/NotFoundException.cs +++ b/src/redmine-net-api/Exceptions/NotFoundException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/RedmineException.cs b/src/redmine-net-api/Exceptions/RedmineException.cs index 2f6ed3ef..50be65f7 100644 --- a/src/redmine-net-api/Exceptions/RedmineException.cs +++ b/src/redmine-net-api/Exceptions/RedmineException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs b/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs index 04af4c12..9b615dff 100644 --- a/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs +++ b/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/UnauthorizedException.cs b/src/redmine-net-api/Exceptions/UnauthorizedException.cs index edb6f1d0..2599d7c3 100644 --- a/src/redmine-net-api/Exceptions/UnauthorizedException.cs +++ b/src/redmine-net-api/Exceptions/UnauthorizedException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/CollectionExtensions.cs b/src/redmine-net-api/Extensions/CollectionExtensions.cs index 1c70548e..4246c267 100755 --- a/src/redmine-net-api/Extensions/CollectionExtensions.cs +++ b/src/redmine-net-api/Extensions/CollectionExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/ExtensionAttribute.cs b/src/redmine-net-api/Extensions/ExtensionAttribute.cs index e9542cc7..fa070874 100755 --- a/src/redmine-net-api/Extensions/ExtensionAttribute.cs +++ b/src/redmine-net-api/Extensions/ExtensionAttribute.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2016 Adrian Popescu + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/JsonReaderExtensions.cs b/src/redmine-net-api/Extensions/JsonReaderExtensions.cs index 7cf3cfd2..bebf9925 100644 --- a/src/redmine-net-api/Extensions/JsonReaderExtensions.cs +++ b/src/redmine-net-api/Extensions/JsonReaderExtensions.cs @@ -1,4 +1,20 @@ -using System; +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; using System.Collections.Generic; using Newtonsoft.Json; using Redmine.Net.Api.Exceptions; diff --git a/src/redmine-net-api/Extensions/JsonWriterExtensions.cs b/src/redmine-net-api/Extensions/JsonWriterExtensions.cs index 6cfbecb2..e48d5b27 100644 --- a/src/redmine-net-api/Extensions/JsonWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/JsonWriterExtensions.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Collections; using System.Collections.Generic; diff --git a/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs index 3157ae68..28264d82 100644 --- a/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs +++ b/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index 2ba360ed..10308d2e 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Diagnostics.CodeAnalysis; using System.Security; diff --git a/src/redmine-net-api/Extensions/WebExtensions.cs b/src/redmine-net-api/Extensions/WebExtensions.cs index 0bbbbcaf..59ca73ab 100644 --- a/src/redmine-net-api/Extensions/WebExtensions.cs +++ b/src/redmine-net-api/Extensions/WebExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net-api/Extensions/XmlReaderExtensions.cs index df17b0dc..57be87d9 100644 --- a/src/redmine-net-api/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlReaderExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs index 01d59b6a..cddbd9b9 100644 --- a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/HttpVerbs.cs b/src/redmine-net-api/HttpVerbs.cs index 29bd3194..09abd93a 100644 --- a/src/redmine-net-api/HttpVerbs.cs +++ b/src/redmine-net-api/HttpVerbs.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2021 Adrian Popescu. +Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index 66b8a6ac..4456c725 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/IRedmineWebClient.cs b/src/redmine-net-api/IRedmineWebClient.cs index a19679b7..ef328929 100644 --- a/src/redmine-net-api/IRedmineWebClient.cs +++ b/src/redmine-net-api/IRedmineWebClient.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/DataHelper.cs b/src/redmine-net-api/Internals/DataHelper.cs index 822082e2..821996a1 100755 --- a/src/redmine-net-api/Internals/DataHelper.cs +++ b/src/redmine-net-api/Internals/DataHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/Func.cs b/src/redmine-net-api/Internals/Func.cs index 3c2a64e1..5adb6ef8 100644 --- a/src/redmine-net-api/Internals/Func.cs +++ b/src/redmine-net-api/Internals/Func.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/HashCodeHelper.cs b/src/redmine-net-api/Internals/HashCodeHelper.cs index ce667b11..87ebdc09 100755 --- a/src/redmine-net-api/Internals/HashCodeHelper.cs +++ b/src/redmine-net-api/Internals/HashCodeHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/UrlHelper.cs b/src/redmine-net-api/Internals/UrlHelper.cs index d6b33f2d..e3d9db16 100644 --- a/src/redmine-net-api/Internals/UrlHelper.cs +++ b/src/redmine-net-api/Internals/UrlHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs index 93a4ca63..deaa7255 100644 --- a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs +++ b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/WebApiHelper.cs b/src/redmine-net-api/Internals/WebApiHelper.cs index 7efc0d18..37e5e890 100644 --- a/src/redmine-net-api/Internals/WebApiHelper.cs +++ b/src/redmine-net-api/Internals/WebApiHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs index ec7d29ec..3fafc243 100644 --- a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs +++ b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System.IO; using System.Xml; diff --git a/src/redmine-net-api/MimeFormat.cs b/src/redmine-net-api/MimeFormat.cs index d1ae8316..5f0e4ff4 100755 --- a/src/redmine-net-api/MimeFormat.cs +++ b/src/redmine-net-api/MimeFormat.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2021 Adrian Popescu. +Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/RedirectType.cs b/src/redmine-net-api/RedirectType.cs index 24cbc1c2..d3157bcf 100644 --- a/src/redmine-net-api/RedirectType.cs +++ b/src/redmine-net-api/RedirectType.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + namespace Redmine.Net.Api { /// diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index d96921cc..2fe8f586 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -1,5 +1,5 @@ /* - Copyright 2016 - 2017 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 7d92035e..ec43f705 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/RedmineWebClient.cs b/src/redmine-net-api/RedmineWebClient.cs index 453f057e..3ecaa47b 100644 --- a/src/redmine-net-api/RedmineWebClient.cs +++ b/src/redmine-net-api/RedmineWebClient.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/CacheKeyFactory.cs b/src/redmine-net-api/Serialization/CacheKeyFactory.cs index d6244b1b..3e0d3c21 100644 --- a/src/redmine-net-api/Serialization/CacheKeyFactory.cs +++ b/src/redmine-net-api/Serialization/CacheKeyFactory.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Globalization; using System.Text; diff --git a/src/redmine-net-api/Serialization/IJsonSerializable.cs b/src/redmine-net-api/Serialization/IJsonSerializable.cs index efb4ec2f..ac0f6086 100644 --- a/src/redmine-net-api/Serialization/IJsonSerializable.cs +++ b/src/redmine-net-api/Serialization/IJsonSerializable.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using Newtonsoft.Json; namespace Redmine.Net.Api.Serialization diff --git a/src/redmine-net-api/Serialization/ISerialization.cs b/src/redmine-net-api/Serialization/ISerialization.cs index d571939d..0a65b9a4 100644 --- a/src/redmine-net-api/Serialization/ISerialization.cs +++ b/src/redmine-net-api/Serialization/ISerialization.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + namespace Redmine.Net.Api.Serialization { internal interface IRedmineSerializer diff --git a/src/redmine-net-api/Serialization/IXmlSerializerCache.cs b/src/redmine-net-api/Serialization/IXmlSerializerCache.cs index 72e458bf..50e80d25 100644 --- a/src/redmine-net-api/Serialization/IXmlSerializerCache.cs +++ b/src/redmine-net-api/Serialization/IXmlSerializerCache.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Xml.Serialization; diff --git a/src/redmine-net-api/Serialization/JsonObject.cs b/src/redmine-net-api/Serialization/JsonObject.cs index a42c4316..ff5b3b8a 100644 --- a/src/redmine-net-api/Serialization/JsonObject.cs +++ b/src/redmine-net-api/Serialization/JsonObject.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using Newtonsoft.Json; using Redmine.Net.Api.Extensions; diff --git a/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs b/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs index 5e5afde7..1357e6c0 100644 --- a/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Collections.Generic; using System.IO; diff --git a/src/redmine-net-api/Serialization/PagedResults.cs b/src/redmine-net-api/Serialization/PagedResults.cs index a6900f7c..56c40d1d 100644 --- a/src/redmine-net-api/Serialization/PagedResults.cs +++ b/src/redmine-net-api/Serialization/PagedResults.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System.Collections.Generic; namespace Redmine.Net.Api.Serialization diff --git a/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs index 99149526..f8ef1f00 100644 --- a/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.IO; using System.Xml; diff --git a/src/redmine-net-api/Serialization/XmlSerializerCache.cs b/src/redmine-net-api/Serialization/XmlSerializerCache.cs index cadbd6a9..d85e31f2 100644 --- a/src/redmine-net-api/Serialization/XmlSerializerCache.cs +++ b/src/redmine-net-api/Serialization/XmlSerializerCache.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index abc924ed..937c78c3 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Attachments.cs b/src/redmine-net-api/Types/Attachments.cs index 01ebb125..439955bf 100644 --- a/src/redmine-net-api/Types/Attachments.cs +++ b/src/redmine-net-api/Types/Attachments.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs index c364db85..89210dce 100644 --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index 48afa037..6e0fe955 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs index e2f42a59..ab994251 100644 --- a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomFieldRole.cs b/src/redmine-net-api/Types/CustomFieldRole.cs index 711e7fca..c0d910d1 100644 --- a/src/redmine-net-api/Types/CustomFieldRole.cs +++ b/src/redmine-net-api/Types/CustomFieldRole.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index 9cdd1ac8..9463d000 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs index 24e5f40f..c2bc5ae0 100644 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs index 9f5e9ddc..0a86d6b1 100644 --- a/src/redmine-net-api/Types/Error.cs +++ b/src/redmine-net-api/Types/Error.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index 1e7e8a69..9e07b06c 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index d52fd8b6..70a7892d 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs index e6b8ac39..8fa1775a 100644 --- a/src/redmine-net-api/Types/GroupUser.cs +++ b/src/redmine-net-api/Types/GroupUser.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IValue.cs b/src/redmine-net-api/Types/IValue.cs index 6f92c86e..52fb0065 100755 --- a/src/redmine-net-api/Types/IValue.cs +++ b/src/redmine-net-api/Types/IValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs index 751b95da..8dddd6cd 100644 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index 7446d1cb..4a57363a 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index b10c2f29..4bcbc1b0 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2017 Adrian Popescu, Dorin Huzum. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueAllowedStatus.cs b/src/redmine-net-api/Types/IssueAllowedStatus.cs index 23a2a3cc..9b37bb2d 100644 --- a/src/redmine-net-api/Types/IssueAllowedStatus.cs +++ b/src/redmine-net-api/Types/IssueAllowedStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs index 7f21100a..c489e118 100644 --- a/src/redmine-net-api/Types/IssueCategory.cs +++ b/src/redmine-net-api/Types/IssueCategory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs index 63367ca9..90ec83cd 100644 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 95c1a8c6..8ea5a7b6 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssuePriority.cs b/src/redmine-net-api/Types/IssuePriority.cs index 1060101d..155d98ec 100644 --- a/src/redmine-net-api/Types/IssuePriority.cs +++ b/src/redmine-net-api/Types/IssuePriority.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index ec50bda6..eddab5fa 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueRelationType.cs b/src/redmine-net-api/Types/IssueRelationType.cs index c47bd96a..006492e3 100644 --- a/src/redmine-net-api/Types/IssueRelationType.cs +++ b/src/redmine-net-api/Types/IssueRelationType.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs index 520ffb7f..7091ad2d 100644 --- a/src/redmine-net-api/Types/IssueStatus.cs +++ b/src/redmine-net-api/Types/IssueStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index 3d9c2a7d..49ed2647 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index 2286bfbb..59add538 100644 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs index 77903ef2..a9764a4d 100644 --- a/src/redmine-net-api/Types/MembershipRole.cs +++ b/src/redmine-net-api/Types/MembershipRole.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/MyAccount.cs b/src/redmine-net-api/Types/MyAccount.cs index 96a70bc5..e86c78e0 100644 --- a/src/redmine-net-api/Types/MyAccount.cs +++ b/src/redmine-net-api/Types/MyAccount.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/MyAccountCustomField.cs b/src/redmine-net-api/Types/MyAccountCustomField.cs index 08631c43..ebbbf4a8 100644 --- a/src/redmine-net-api/Types/MyAccountCustomField.cs +++ b/src/redmine-net-api/Types/MyAccountCustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index de25df19..f7702bb2 100644 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/NewsComment.cs b/src/redmine-net-api/Types/NewsComment.cs index 3144765e..4cb7520e 100644 --- a/src/redmine-net-api/Types/NewsComment.cs +++ b/src/redmine-net-api/Types/NewsComment.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index 7ee3c69b..3abc6495 100644 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 8130fda4..4d83d910 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectEnabledModule.cs b/src/redmine-net-api/Types/ProjectEnabledModule.cs index 8ac0d753..2ec6796c 100644 --- a/src/redmine-net-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net-api/Types/ProjectEnabledModule.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2021 Adrian Popescu. +Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectIssueCategory.cs b/src/redmine-net-api/Types/ProjectIssueCategory.cs index 6f0c9e0c..fcfe2ead 100644 --- a/src/redmine-net-api/Types/ProjectIssueCategory.cs +++ b/src/redmine-net-api/Types/ProjectIssueCategory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index 188b651a..f91508a4 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectStatus.cs b/src/redmine-net-api/Types/ProjectStatus.cs index 0955954f..f0092025 100755 --- a/src/redmine-net-api/Types/ProjectStatus.cs +++ b/src/redmine-net-api/Types/ProjectStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs index daa9cd78..d9bb4a50 100644 --- a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs +++ b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs @@ -1,4 +1,20 @@ -using System.Diagnostics; +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System.Diagnostics; using System.Xml.Serialization; namespace Redmine.Net.Api.Types diff --git a/src/redmine-net-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs index e10bd823..55d71cfe 100644 --- a/src/redmine-net-api/Types/ProjectTracker.cs +++ b/src/redmine-net-api/Types/ProjectTracker.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Query.cs b/src/redmine-net-api/Types/Query.cs index 6cf9e5f2..7adea21c 100644 --- a/src/redmine-net-api/Types/Query.cs +++ b/src/redmine-net-api/Types/Query.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index 8e049af2..7af6c8b0 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Search.cs b/src/redmine-net-api/Types/Search.cs index 03786c82..74bea91a 100644 --- a/src/redmine-net-api/Types/Search.cs +++ b/src/redmine-net-api/Types/Search.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index bf5f188c..2fef1f18 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index 299386fc..1ef81689 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs index 68ecacef..e9fca1d3 100644 --- a/src/redmine-net-api/Types/Tracker.cs +++ b/src/redmine-net-api/Types/Tracker.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/TrackerCustomField.cs b/src/redmine-net-api/Types/TrackerCustomField.cs index f1967a57..2f63a7e8 100644 --- a/src/redmine-net-api/Types/TrackerCustomField.cs +++ b/src/redmine-net-api/Types/TrackerCustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index b35301da..9c8800d7 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index 9968bea4..a93cdb6b 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/UserGroup.cs b/src/redmine-net-api/Types/UserGroup.cs index b5be7db6..e79e09d7 100644 --- a/src/redmine-net-api/Types/UserGroup.cs +++ b/src/redmine-net-api/Types/UserGroup.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/UserStatus.cs b/src/redmine-net-api/Types/UserStatus.cs index f2c541d6..7ff5ab48 100644 --- a/src/redmine-net-api/Types/UserStatus.cs +++ b/src/redmine-net-api/Types/UserStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 70b5ae5e..c7199e9d 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/VersionSharing.cs b/src/redmine-net-api/Types/VersionSharing.cs index a4c0a155..636853ed 100644 --- a/src/redmine-net-api/Types/VersionSharing.cs +++ b/src/redmine-net-api/Types/VersionSharing.cs @@ -1,4 +1,20 @@ -namespace Redmine.Net.Api.Types +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +namespace Redmine.Net.Api.Types { /// /// diff --git a/src/redmine-net-api/Types/VersionStatus.cs b/src/redmine-net-api/Types/VersionStatus.cs index ee86fedf..df070fed 100644 --- a/src/redmine-net-api/Types/VersionStatus.cs +++ b/src/redmine-net-api/Types/VersionStatus.cs @@ -1,4 +1,20 @@ -namespace Redmine.Net.Api.Types +/* + Copyright 2011 - 2022 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +namespace Redmine.Net.Api.Types { /// /// diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index 0160da16..212e42bb 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index c4293c45..e2d8e16f 100644 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs index 24a644ad..a4fd925e 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs index 163cd1be..799b0dde 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs index f0aef0d0..90b13829 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs index c85d6139..ed621c23 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs index 83dc2380..0616e192 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs index 1fe7ffad..b6ab8383 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs index 948a1c61..2a25a49a 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs index 126542a3..6d716190 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs index faad08df..249ee322 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs index 1d5d5cc6..2bfe2d53 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs index 28e2bbde..7d069c8f 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs index e5424ebc..3ef9065e 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs index cefbbd98..1a7af4b8 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs index 624676f1..f784ba3d 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs index 0c652581..e8db33ef 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs index 68967b3d..c9c1baf6 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2021 Adrian Popescu. + Copyright 2011 - 2022 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. From 2b1ce069f54374c84d002d18a777c429d4384d27 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 5 Mar 2022 17:25:26 +0200 Subject: [PATCH 269/601] Bump Microsoft.NETFramework.ReferenceAssemblies from 1.0.0 to 1.0.2 --- src/redmine-net-api/redmine-net-api.csproj | 2 +- tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 58333434..fa5a04d1 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -90,7 +90,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index 4a4eaf5c..b4255e60 100644 --- a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -123,7 +123,11 @@ - + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + all runtime; build; native; contentfiles; analyzers; buildtransitive From 07879f1c486640c1b2d7a335186e8dda37f746cf Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 5 Mar 2022 17:26:50 +0200 Subject: [PATCH 270/601] Bump Netwonsoft.Json from 12.0.3 to 13.0.1 --- src/redmine-net-api/redmine-net-api.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index fa5a04d1..d033eea5 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -94,7 +94,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + From 93e964bbe79765f9679dd50027ef49a383f18bda Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 5 Mar 2022 17:27:42 +0200 Subject: [PATCH 271/601] Bump xunit.runner.visualstudio from 2.4.1 to 2.4.3 --- tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index b4255e60..5ee231fe 100644 --- a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -128,6 +128,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -143,10 +144,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - From 1345c9dc8d1f00ccfb745e9a2110d1cf9791ec75 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 5 Mar 2022 17:28:20 +0200 Subject: [PATCH 272/601] Replace Microsoft.CodeAnalysis.FxCopAnalyzers with Microsoft.CodeAnalysis.NetAnalyzers --- src/redmine-net-api/redmine-net-api.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index d033eea5..c97520fd 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -86,7 +86,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive From 8a71cea6b344f456c22a4f4227a4861e93669244 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 5 Mar 2022 18:41:16 +0200 Subject: [PATCH 273/601] Rename workflow from act to ci-cd --- .github/workflows/act.yml | 93 ---------------------------- .github/workflows/ci-cd.yml | 120 ++++++++++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+), 93 deletions(-) delete mode 100644 .github/workflows/act.yml create mode 100644 .github/workflows/ci-cd.yml diff --git a/.github/workflows/act.yml b/.github/workflows/act.yml deleted file mode 100644 index 642cb981..00000000 --- a/.github/workflows/act.yml +++ /dev/null @@ -1,93 +0,0 @@ - -name: "CI/CD" -on: - push: - branches: - - "master" - pull_request: - branches: [ "master" ] - - -env: - # Disable the .NET logo in the console output. - DOTNET_NOLOGO: true - - # Stop wasting time caching packages - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - - # Disable sending usage data to Microsoft - DOTNET_CLI_TELEMETRY_OPTOUT: true - - # Project name to pack and publish - PROJECT_NAME: redmine-net-api - - # GitHub Packages Feed settings - GITHUB_FEED: https://nuget.pkg.github.com/redmine-net-api/ - GITHUB_USER: zapadi - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - # Official NuGet Feed settings - NUGET_FEED: https://api.nuget.org/v3/index.json - NUGET_KEY: ${{ secrets.NUGET_KEY }} - - # Set the build number in MinVer. - MINVERBUILDMETADATA: build.${{github.run_number}} - -jobs: - build: - name: Build-${{matrix.os}} - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ ubuntu-latest, windows-latest, macos-latest ] - env: - PUSH_PACKAGES: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} - steps: - - name: Checkout - uses: actions/checkout@v2.4.0 - with: - lfs: true - fetch-depth: 0 - - - name: Setup .NET Core - uses: actions/setup-dotnet@v1.9.0 - with: - dotnet-version: | - 3.1.x - 5.0.x - - # - name: "Install .NET Core SDK" - # uses: actions/setup-dotnet@v1.9.0 - - - name: Restore - run: dotnet restore - - - name: Build - run: dotnet build -c Release --no-restore - - - name: Test - run: dotnet test -c Release --no-build - - - name: Create Release NuGet package - run: | - arrTag=(${GITHUB_REF//\// }) - VERSION="${arrTag[2]}" - VERSION="${VERSION//v}" - dotnet pack -v normal -c Release --include-symbols --include-source -p:PackageVersion=$VERSION -o nupkg src/$PROJECT_NAME/$PROJECT_NAME.*proj - - - - name: Update robots.txt for Testing Site - if: github.event_name == 'pull_request' - run: | - rm ./public/robots.txt - echo $'User-agent: *\nDisallow: /' >> ./public/robots.txt - - - name: Notify Slack - if: always() - uses: 8398a7/action-slack@v3 - with: - status: ${{ job.status }} - fields: repo,message,commit,author,action,eventName,ref,workflow,job,took # selectable (default: repo,message) - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required - diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml new file mode 100644 index 00000000..06c03936 --- /dev/null +++ b/.github/workflows/ci-cd.yml @@ -0,0 +1,120 @@ + +name: "CI/CD" +on: + workflow_dispatch: + push: + branches: [ master ] + paths-ignore: + - '**/*.md' + - '**/*.gif' + - '**/*.png' + - '**/*.gitignore' + - '**/*.gitattributes' + - LICENSE + - tests/* + tags: + - v[1-9].[0-9]+.[0-9]+ + pull_request: + branches: [ master ] + paths-ignore: + - '**/*.md' + - '**/*.gif' + - '**/*.png' + - '**/*.gitignore' + - '**/*.gitattributes' + - LICENSE + - tests/* + +env: + # Disable the .NET logo in the console output. + DOTNET_NOLOGO: true + + # Stop wasting time caching packages + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true + + # Disable sending usage data to Microsoft + DOTNET_CLI_TELEMETRY_OPTOUT: true + + DOTNET_ADD_GLOBAL_TOOLS_TO_PATH: false + + DOTNET_MULTILEVEL_LOOKUP: 0 + + # Project name to pack and publish + PROJECT_NAME: redmine-net-api + + BUILD_CONFIGURATION: Release + + # Set the build number in MinVer. + MINVERBUILDMETADATA: build.${{github.run_number}} + +jobs: + build: + name: OS ${{ matrix.os }} - dotnet ${{ matrix.dotnet }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ ubuntu-latest, windows-latest, macos-latest ] + dotnet: [ '3.1.x', '5.x.x', '6.x.x' ] + + steps: + - name: Checkout + uses: actions/checkout@v2.4.0 + with: + lfs: true + fetch-depth: 0 + + - name: Setup .NET Core + uses: actions/setup-dotnet@v1.9.0 + with: + dotnet-version: ${{ matrix.dotnet }} + + - name: Get Version + #run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + run: | + arrTag=(${GITHUB_REF//\// }) + VERSION="${arrTag[2]}" + echo "1. Version = ${VERSION}" + echo "VERSION="${VERSION//v}"" >> $GITHUB_ENV + + - name: Restore + run: dotnet restore + + - name: Build + run: dotnet build --no-restore --configuration $BUILD_CONFIGURATION --version-suffix=${{ env.VERSION }} + + - name: Build Signed + if: runner.os == 'Ubuntu' + run: dotnet build redmine-net-api.sln --no-restore --configuration $BUILD_CONFIGURATION --version-suffix=${{ env.VERSION }} -p:Sign=true + + - name: Test + run: dotnet test --no-restore --no-build --configuration $BUILD_CONFIGURATION + + - name: Pack + if: runner.os == 'Ubuntu' + run: | + dotnet pack --output ./artifacts --configuration $BUILD_CONFIG --version-suffix $VERSION --include-symbols --include-source + + - name: Pack Signed + if: runner.os == 'Ubuntu' + run: | + dotnet pack --output ./artifacts --configuration $BUILD_CONFIG --version-suffix $VERSION --include-symbols --include-source -p:Sign=true + + - uses: actions/upload-artifact@v1 + if: runner.os == 'Ubuntu' + with: + name: artifacts + path: ./artifacts + + deploy: + runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/v') + needs: build + name: Deploy Packages + steps: + - uses: actions/download-artifact@v1 + with: + name: artifacts + path: ./artifacts + + - name: Publish packages + run: dotnet nuget push ./artifacts/**.nupkg --source nuget.org --api-key ${{secrets.NUGET_TOKEN}} \ No newline at end of file From dee9ac3fca0fd915f28f37067e565f5b1daa79df Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 5 Mar 2022 18:41:48 +0200 Subject: [PATCH 274/601] Change branch name main in master --- .github/workflows/dotnetcore.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index d17aef8e..3214bad2 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -15,7 +15,7 @@ on: pull_request: workflow_dispatch: branches: - - main + - master path-ignore: - '**/*.md' - '**/*.gif' @@ -40,7 +40,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - dotnet: [ '3.1.x'] + dotnet: [ '3.1.x', '5.x.x', '6.x.x'] name: OS ${{ matrix.os }} - dotnet ${{ matrix.dotnet }} steps: @@ -50,6 +50,7 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: ${{ matrix.dotnet }} + # Fetches all tags for the repo - name: Fetch tags run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* From a686533bfa16115a666ec151553c028084b3be59 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 5 Mar 2022 19:16:35 +0200 Subject: [PATCH 275/601] Comment out VersionPrefix & PackageVersion --- version.props | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/version.props b/version.props index 1a63b825..05e950d9 100644 --- a/version.props +++ b/version.props @@ -1,7 +1,7 @@ - 4.3.0 - $(VersionPrefix) - $(VersionPrefix)-$(VersionSuffix) + + + \ No newline at end of file From 7f35136ee21c023e368ae26fb44d8dee3fde397f Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 5 Mar 2022 19:21:42 +0200 Subject: [PATCH 276/601] Change tags regex --- .github/workflows/ci-cd.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 06c03936..f918705a 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -13,7 +13,7 @@ on: - LICENSE - tests/* tags: - - v[1-9].[0-9]+.[0-9]+ + - [1-9].[0-9]+.[0-9]+ pull_request: branches: [ master ] paths-ignore: @@ -69,12 +69,8 @@ jobs: dotnet-version: ${{ matrix.dotnet }} - name: Get Version - #run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV run: | - arrTag=(${GITHUB_REF//\// }) - VERSION="${arrTag[2]}" - echo "1. Version = ${VERSION}" - echo "VERSION="${VERSION//v}"" >> $GITHUB_ENV + echo "VERSION = $(git describe --tags --dirty)" >> $GITHUB_ENV - name: Restore run: dotnet restore From 436367d60938ba5bff03297f6c05346e612bc9c6 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 5 Mar 2022 19:28:36 +0200 Subject: [PATCH 277/601] Fix tags regex --- .github/workflows/ci-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index f918705a..820fdf66 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -13,7 +13,7 @@ on: - LICENSE - tests/* tags: - - [1-9].[0-9]+.[0-9]+ + - '[0-9]+.[0-9]+.[0-9]+' pull_request: branches: [ master ] paths-ignore: From 9de4c1aaf0fdecbdebf86276a15024527df93da3 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 5 Mar 2022 19:49:37 +0200 Subject: [PATCH 278/601] Fix configuration build & version parameters --- .github/workflows/ci-cd.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 820fdf66..61aeb894 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -76,11 +76,11 @@ jobs: run: dotnet restore - name: Build - run: dotnet build --no-restore --configuration $BUILD_CONFIGURATION --version-suffix=${{ env.VERSION }} + run: dotnet build --no-restore --configuration $BUILD_CONFIGURATION --version-suffix $VERSION - name: Build Signed if: runner.os == 'Ubuntu' - run: dotnet build redmine-net-api.sln --no-restore --configuration $BUILD_CONFIGURATION --version-suffix=${{ env.VERSION }} -p:Sign=true + run: dotnet build redmine-net-api.sln --no-restore --configuration $BUILD_CONFIGURATION --version-suffix $VERSION -p:Sign=true - name: Test run: dotnet test --no-restore --no-build --configuration $BUILD_CONFIGURATION @@ -88,12 +88,12 @@ jobs: - name: Pack if: runner.os == 'Ubuntu' run: | - dotnet pack --output ./artifacts --configuration $BUILD_CONFIG --version-suffix $VERSION --include-symbols --include-source + dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION --version-suffix $VERSION --include-symbols --include-source - name: Pack Signed if: runner.os == 'Ubuntu' run: | - dotnet pack --output ./artifacts --configuration $BUILD_CONFIG --version-suffix $VERSION --include-symbols --include-source -p:Sign=true + dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION --version-suffix $VERSION --include-symbols --include-source -p:Sign=true - uses: actions/upload-artifact@v1 if: runner.os == 'Ubuntu' @@ -103,7 +103,7 @@ jobs: deploy: runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/v') + if: startsWith(github.ref, 'refs/tags') needs: build name: Deploy Packages steps: From 370cbf5daee7353dc6ed23d30eb9c01b7060fb98 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 5 Mar 2022 19:56:16 +0200 Subject: [PATCH 279/601] Another fix --- .github/workflows/ci-cd.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 61aeb894..cbdadc63 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -76,11 +76,11 @@ jobs: run: dotnet restore - name: Build - run: dotnet build --no-restore --configuration $BUILD_CONFIGURATION --version-suffix $VERSION + run: dotnet build --no-restore --configuration $BUILD_CONFIGURATION --version-suffix ${{env.VERSION}} - name: Build Signed if: runner.os == 'Ubuntu' - run: dotnet build redmine-net-api.sln --no-restore --configuration $BUILD_CONFIGURATION --version-suffix $VERSION -p:Sign=true + run: dotnet build redmine-net-api.sln --no-restore --configuration $BUILD_CONFIGURATION --version-suffix ${{env.VERSION}} -p:Sign=true - name: Test run: dotnet test --no-restore --no-build --configuration $BUILD_CONFIGURATION @@ -88,12 +88,12 @@ jobs: - name: Pack if: runner.os == 'Ubuntu' run: | - dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION --version-suffix $VERSION --include-symbols --include-source + dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION --version-suffix ${{env.VERSION}} --include-symbols --include-source - name: Pack Signed if: runner.os == 'Ubuntu' run: | - dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION --version-suffix $VERSION --include-symbols --include-source -p:Sign=true + dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION --version-suffix ${{env.VERSION}} --include-symbols --include-source -p:Sign=true - uses: actions/upload-artifact@v1 if: runner.os == 'Ubuntu' From 4cd2748e43d53c39f36d54cf9dfa6a912e6fffaa Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 5 Mar 2022 20:32:29 +0200 Subject: [PATCH 280/601] Update ci-cd.yml --- .github/workflows/ci-cd.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index cbdadc63..31067605 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -70,30 +70,30 @@ jobs: - name: Get Version run: | - echo "VERSION = $(git describe --tags --dirty)" >> $GITHUB_ENV + echo "VERSION = $(git describe --abbrev=0)" >> $GITHUB_ENV - name: Restore run: dotnet restore - name: Build - run: dotnet build --no-restore --configuration $BUILD_CONFIGURATION --version-suffix ${{env.VERSION}} + run: dotnet build --no-restore --configuration $BUILD_CONFIGURATION /p:Version="${{env.VERSION}}" - name: Build Signed if: runner.os == 'Ubuntu' - run: dotnet build redmine-net-api.sln --no-restore --configuration $BUILD_CONFIGURATION --version-suffix ${{env.VERSION}} -p:Sign=true + run: dotnet build redmine-net-api.sln --no-restore --configuration $BUILD_CONFIGURATION /p:Version="${{env.VERSION}}" -p:Sign=true - name: Test run: dotnet test --no-restore --no-build --configuration $BUILD_CONFIGURATION - name: Pack - if: runner.os == 'Ubuntu' + if: runner.os == 'Ubuntu' && startsWith(github.ref, 'refs/tags') run: | - dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION --version-suffix ${{env.VERSION}} --include-symbols --include-source + dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION /p:Version="${{env.VERSION}}" --include-symbols --include-source - - name: Pack Signed + - name: Pack Signed && startsWith(github.ref, 'refs/tags') if: runner.os == 'Ubuntu' run: | - dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION --version-suffix ${{env.VERSION}} --include-symbols --include-source -p:Sign=true + dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION /p:Version="${{env.VERSION}}" --include-symbols --include-source -p:Sign=true - uses: actions/upload-artifact@v1 if: runner.os == 'Ubuntu' From 48f40bea2a2dd3d89bd84a48c0be22777d53ed32 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 5 Mar 2022 20:38:16 +0200 Subject: [PATCH 281/601] Update ci-cd.yml --- .github/workflows/ci-cd.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 31067605..07dc1385 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -71,16 +71,17 @@ jobs: - name: Get Version run: | echo "VERSION = $(git describe --abbrev=0)" >> $GITHUB_ENV + echo $VERSION - name: Restore run: dotnet restore - name: Build - run: dotnet build --no-restore --configuration $BUILD_CONFIGURATION /p:Version="${{env.VERSION}}" + run: dotnet build --no-restore --configuration $BUILD_CONFIGURATION -p:Version=$VERSION - name: Build Signed if: runner.os == 'Ubuntu' - run: dotnet build redmine-net-api.sln --no-restore --configuration $BUILD_CONFIGURATION /p:Version="${{env.VERSION}}" -p:Sign=true + run: dotnet build redmine-net-api.sln --no-restore --configuration $BUILD_CONFIGURATION -p:Version=$VERSION -p:Sign=true - name: Test run: dotnet test --no-restore --no-build --configuration $BUILD_CONFIGURATION @@ -88,12 +89,12 @@ jobs: - name: Pack if: runner.os == 'Ubuntu' && startsWith(github.ref, 'refs/tags') run: | - dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION /p:Version="${{env.VERSION}}" --include-symbols --include-source + dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source - name: Pack Signed && startsWith(github.ref, 'refs/tags') if: runner.os == 'Ubuntu' run: | - dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION /p:Version="${{env.VERSION}}" --include-symbols --include-source -p:Sign=true + dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source -p:Sign=true - uses: actions/upload-artifact@v1 if: runner.os == 'Ubuntu' From 8e8859212bc90e96705463b4a88cd8896604b76b Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 6 Mar 2022 12:45:41 +0200 Subject: [PATCH 282/601] Update ci-cd.yml --- .github/workflows/ci-cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 07dc1385..c2d80305 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -70,8 +70,8 @@ jobs: - name: Get Version run: | - echo "VERSION = $(git describe --abbrev=0)" >> $GITHUB_ENV - echo $VERSION + echo "VERSION = ${git describe --abbrev=0}" >> $GITHUB_ENV + echo "$VERSION" - name: Restore run: dotnet restore From 030c75bd4c7b63c8aefecc3c9ffcd3ad9e01146e Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 6 Mar 2022 12:47:47 +0200 Subject: [PATCH 283/601] Update ci-cd.yml --- .github/workflows/ci-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index c2d80305..6049072f 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -70,7 +70,7 @@ jobs: - name: Get Version run: | - echo "VERSION = ${git describe --abbrev=0}" >> $GITHUB_ENV + echo "VERSION = ${(git describe --abbrev=0)}" >> $GITHUB_ENV echo "$VERSION" - name: Restore From ace668fceec7b1ea766c2d2ac57d450bcdb07b3e Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 6 Mar 2022 12:49:09 +0200 Subject: [PATCH 284/601] Fix substitution --- .github/workflows/ci-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 6049072f..b4d9d96c 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -70,7 +70,7 @@ jobs: - name: Get Version run: | - echo "VERSION = ${(git describe --abbrev=0)}" >> $GITHUB_ENV + echo "VERSION = $(git describe --abbrev=0)" >> $GITHUB_ENV echo "$VERSION" - name: Restore From 0a0503f414c942128447dce51bd073f40c6614f2 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 6 Mar 2022 12:58:59 +0200 Subject: [PATCH 285/601] Update ci-cd.yml --- .github/workflows/ci-cd.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index b4d9d96c..742087f6 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -71,13 +71,14 @@ jobs: - name: Get Version run: | echo "VERSION = $(git describe --abbrev=0)" >> $GITHUB_ENV - echo "$VERSION" + + - run: echo ${{ env.VERSION }} - name: Restore run: dotnet restore - name: Build - run: dotnet build --no-restore --configuration $BUILD_CONFIGURATION -p:Version=$VERSION + run: dotnet build --no-restore --configuration $BUILD_CONFIGURATION -p:Version=${{env.VERSION}} - name: Build Signed if: runner.os == 'Ubuntu' From a0dc51b2dc4c73ca8fb773ca2523e6a61af132b3 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 6 Mar 2022 13:25:08 +0200 Subject: [PATCH 286/601] Update ci-cd.yml --- .github/workflows/ci-cd.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 742087f6..aedd74c2 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -71,14 +71,20 @@ jobs: - name: Get Version run: | echo "VERSION = $(git describe --abbrev=0)" >> $GITHUB_ENV - - - run: echo ${{ env.VERSION }} + + - name: Display VERSION env variable (shell) + run: echo "Version=$VERSION" + + - name: Display VERSION env variable + run: echo "Version = ${{ env.VERSION }}" - name: Restore run: dotnet restore - name: Build - run: dotnet build --no-restore --configuration $BUILD_CONFIGURATION -p:Version=${{env.VERSION}} + run: | + echo "Version=$VERSION" + dotnet build --no-restore --configuration $BUILD_CONFIGURATION -p:Version=${{env.VERSION}} - name: Build Signed if: runner.os == 'Ubuntu' From ac6f3b40de68a5f82f9fe7a0d359b4c8636cbcac Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 6 Mar 2022 13:49:47 +0200 Subject: [PATCH 287/601] Update ci-cd.yml --- .github/workflows/ci-cd.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index aedd74c2..126435a6 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -53,8 +53,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-latest, windows-latest, macos-latest ] - dotnet: [ '3.1.x', '5.x.x', '6.x.x' ] + os: [ ubuntu-latest]#, windows-latest, macos-latest ] + dotnet: [ '3.1.x']#, '5.x.x', '6.x.x' ] steps: - name: Checkout @@ -70,13 +70,13 @@ jobs: - name: Get Version run: | - echo "VERSION = $(git describe --abbrev=0)" >> $GITHUB_ENV + echo "VERSION=$(git describe --abbrev=0)" >> $GITHUB_ENV - name: Display VERSION env variable (shell) run: echo "Version=$VERSION" - name: Display VERSION env variable - run: echo "Version = ${{ env.VERSION }}" + run: echo "Version=${{ env.VERSION }}" - name: Restore run: dotnet restore From 1e3296316bf20f58177177b784ad4b325cb78f33 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 6 Mar 2022 13:55:21 +0200 Subject: [PATCH 288/601] Clean test steps & fix runner.os context --- .github/workflows/ci-cd.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 126435a6..bba599c8 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -72,39 +72,32 @@ jobs: run: | echo "VERSION=$(git describe --abbrev=0)" >> $GITHUB_ENV - - name: Display VERSION env variable (shell) - run: echo "Version=$VERSION" - - - name: Display VERSION env variable - run: echo "Version=${{ env.VERSION }}" - - name: Restore run: dotnet restore - name: Build run: | - echo "Version=$VERSION" dotnet build --no-restore --configuration $BUILD_CONFIGURATION -p:Version=${{env.VERSION}} - name: Build Signed - if: runner.os == 'Ubuntu' + if: runner.os == 'Linux' run: dotnet build redmine-net-api.sln --no-restore --configuration $BUILD_CONFIGURATION -p:Version=$VERSION -p:Sign=true - name: Test run: dotnet test --no-restore --no-build --configuration $BUILD_CONFIGURATION - name: Pack - if: runner.os == 'Ubuntu' && startsWith(github.ref, 'refs/tags') + if: runner.os == 'Linux' && startsWith(github.ref, 'refs/tags') run: | dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source - name: Pack Signed && startsWith(github.ref, 'refs/tags') - if: runner.os == 'Ubuntu' + if: runner.os == 'Linux' run: | dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source -p:Sign=true - uses: actions/upload-artifact@v1 - if: runner.os == 'Ubuntu' + if: runner.os == 'Linux' with: name: artifacts path: ./artifacts From 347f5c074ef66b99f320ab5011234727e4d9ad15 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 7 Mar 2022 18:09:41 +0200 Subject: [PATCH 289/601] Add SearchFilterBuilder --- src/redmine-net-api/SearchFilterBuilder.cs | 204 +++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 src/redmine-net-api/SearchFilterBuilder.cs diff --git a/src/redmine-net-api/SearchFilterBuilder.cs b/src/redmine-net-api/SearchFilterBuilder.cs new file mode 100644 index 00000000..e4a0b294 --- /dev/null +++ b/src/redmine-net-api/SearchFilterBuilder.cs @@ -0,0 +1,204 @@ +using System; +using System.Collections.Specialized; +using System.Globalization; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api +{ + /// + /// + /// + public sealed class SearchFilterBuilder + { + /// + /// search scope condition + /// + /// + public SearchScope? Scope + { + get => _scope; + set + { + _scope = value; + if (_scope != null) + { + switch (_scope) + { + case SearchScope.All: + _internalScope = "all"; + break; + case SearchScope.MyProject: + _internalScope = "my_project"; + break; + case SearchScope.SubProjects: + _internalScope = "subprojects"; + break; + default: + throw new ArgumentOutOfRangeException(); + } + } + } + } + + /// + /// + /// + public bool? AllWords { get; set; } + + /// + /// + /// + public bool? TitlesOnly { get; set; } + + /// + /// + /// + public bool? IncludeIssues{ get; set; } + + /// + /// + /// + public bool? IncludeNews{ get; set; } + + /// + /// + /// + public bool? IncludeDocuments{ get; set; } + + /// + /// + /// + public bool? IncludeChangeSets{ get; set; } + + /// + /// + /// + public bool? IncludeWikiPages{ get; set; } + + /// + /// + /// + public bool? IncludeMessages{ get; set; } + + /// + /// + /// + public bool? IncludeProjects{ get; set; } + + /// + /// filtered by open issues. + /// + public bool? OpenIssues{ get; set; } + + + /// + /// + public SearchAttachment? Attachments + { + get => _attachments; + set + { + _attachments = value; + if (_attachments != null) + { + switch (_attachments) + { + case SearchAttachment.OnlyInAttachment: + _internalAttachments = "only"; + break; + + case SearchAttachment.InDescription: + _internalAttachments = "0"; + break; + case SearchAttachment.InDescriptionAndAttachment: + _internalAttachments = "1"; + break; + default: + throw new ArgumentOutOfRangeException(); + } + } + } + } + + private string _internalScope; + private string _internalAttachments; + private SearchAttachment? _attachments; + private SearchScope? _scope; + + /// + /// + /// + public NameValueCollection Build(NameValueCollection sb) + { + AddIfNotNull(sb,"scope",_internalScope); + AddIfNotNull(sb,"projects",IncludeProjects); + AddIfNotNull(sb,"open_issues",OpenIssues); + AddIfNotNull(sb,"messages",IncludeMessages); + AddIfNotNull(sb,"wiki_pages",IncludeWikiPages); + AddIfNotNull(sb,"changesets",IncludeChangeSets); + AddIfNotNull(sb,"documents",IncludeDocuments); + AddIfNotNull(sb,"news",IncludeNews); + AddIfNotNull(sb,"issues",IncludeIssues); + AddIfNotNull(sb,"titles_only",TitlesOnly); + AddIfNotNull(sb,"all_words", AllWords); + AddIfNotNull(sb,"attachments", _internalAttachments); + + return sb; + } + + private static void AddIfNotNull(NameValueCollection nameValueCollection, string key, bool? value) + { + if (value.HasValue) + { + nameValueCollection.Add(key, value.Value.ToString(CultureInfo.InvariantCulture)); + } + } + + private static void AddIfNotNull(NameValueCollection nameValueCollection, string key, string value) + { + if (!value.IsNullOrWhiteSpace()) + { + nameValueCollection.Add(key, value); + } + } + + } + + /// + /// + /// + public enum SearchScope + { + /// + /// all projects + /// + All, + /// + /// assigned projects + /// + MyProject, + /// + /// include subproject + /// + SubProjects + } + + /// + /// + /// + public enum SearchAttachment + { + /// + /// search only in description + /// + InDescription = 0, + /// + /// search by description and attachment + /// + InDescriptionAndAttachment, + /// + /// search only in attachment + /// + OnlyInAttachment + } +} \ No newline at end of file From 8e2e26f34980c0e97b08b99acb78a9656b598427 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 7 Mar 2022 18:10:05 +0200 Subject: [PATCH 290/601] Add Q keyword --- src/redmine-net-api/RedmineKeys.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index 2fe8f586..5bbb3b14 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -536,6 +536,10 @@ public static class RedmineKeys /// /// /// + public const string Q = "q"; + /// + /// + /// public const string QUERY = "query"; /// /// From fe4a7a85ab08969dfe43a8f20f15023f69a17d1f Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 7 Mar 2022 18:21:21 +0200 Subject: [PATCH 291/601] Add Search method --- .../Async/RedmineManagerAsync.cs | 37 ++++++++++++++++ .../Async/RedmineManagerAsync40.cs | 37 ++++++++++++++++ .../Async/RedmineManagerAsync45.cs | 34 +++++++++++++++ src/redmine-net-api/IRedmineManager.cs | 14 +++++++ src/redmine-net-api/RedmineManager.cs | 42 ++++++++++++++++++- 5 files changed, 162 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync.cs b/src/redmine-net-api/Async/RedmineManagerAsync.cs index bc76b936..9f29ceeb 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync.cs @@ -17,8 +17,11 @@ You may obtain a copy of the License at limitations under the License. */ +using System; using System.Collections.Generic; using System.Collections.Specialized; +using System.Globalization; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; @@ -281,6 +284,40 @@ public static Task DownloadFileAsync(this RedmineManager redmineManager, { return delegate { return redmineManager.DownloadFile(address); }; } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static Task> SearchAsync(this RedmineManager redmineManager, string q, int limit = RedmineManager.DEFAULT_PAGE_SIZE_VALUE, int offset = 0, SearchFilterBuilder searchFilter = null) + { + if (q.IsNullOrWhiteSpace()) + { + throw new ArgumentNullException(nameof(q)); + } + + var parameters = new NameValueCollection + { + {RedmineKeys.Q, q}, + {RedmineKeys.LIMIT, limit.ToString(CultureInfo.InvariantCulture)}, + {RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)}, + }; + + if (searchFilter != null) + { + parameters = searchFilter.Build(parameters); + } + + var result = redmineManager.GetPaginatedObjectsAsync(parameters); + + return result; + } } } #endif \ No newline at end of file diff --git a/src/redmine-net-api/Async/RedmineManagerAsync40.cs b/src/redmine-net-api/Async/RedmineManagerAsync40.cs index 09699ec3..09253578 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync40.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync40.cs @@ -16,10 +16,13 @@ limitations under the License. #if NET40 +using System; using System.Collections.Generic; using System.Collections.Specialized; +using System.Globalization; using System.Threading; using System.Threading.Tasks; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; using Redmine.Net.Api.Serialization; @@ -286,6 +289,40 @@ public static Task DownloadFileAsync(this RedmineManager redmineManager, { return Task.Factory.StartNew(() => redmineManager.DownloadFile(address), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static Task> SearchAsync(this RedmineManager redmineManager, string q, int limit = RedmineManager.DEFAULT_PAGE_SIZE_VALUE, int offset = 0, SearchFilterBuilder searchFilter = null) + { + if (q.IsNullOrWhiteSpace()) + { + throw new ArgumentNullException(nameof(q)); + } + + var parameters = new NameValueCollection + { + {RedmineKeys.Q, q}, + {RedmineKeys.LIMIT, limit.ToString(CultureInfo.InvariantCulture)}, + {RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)}, + }; + + if (searchFilter != null) + { + parameters = searchFilter.Build(parameters); + } + + var result = redmineManager.GetPaginatedObjectsAsync(parameters); + + return result; + } } } #endif \ No newline at end of file diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index 199e5e4a..59c492cc 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -439,6 +439,40 @@ public static async Task DeleteObjectAsync(this RedmineManager redmineManager var uri = UrlHelper.GetDeleteUrl(redmineManager, id); await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty).ConfigureAwait(false); } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static async Task> SearchAsync(this RedmineManager redmineManager, string q, int limit = RedmineManager.DEFAULT_PAGE_SIZE_VALUE, int offset = 0, SearchFilterBuilder searchFilter = null) + { + if (q.IsNullOrWhiteSpace()) + { + throw new ArgumentNullException(nameof(q)); + } + + var parameters = new NameValueCollection + { + {RedmineKeys.Q, q}, + {RedmineKeys.LIMIT, limit.ToString(CultureInfo.InvariantCulture)}, + {RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)}, + }; + + if (searchFilter != null) + { + parameters = searchFilter.Build(parameters); + } + + var result = await redmineManager.GetPaginatedObjectsAsync(parameters).ConfigureAwait(false); + + return result; + } } } #endif \ No newline at end of file diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index 4456c725..bb647f54 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -141,6 +141,20 @@ public interface IRedmineManager /// /// void UpdateAttachment(int issueId, Attachment attachment); + + /// + /// + /// + /// query strings. enable to specify multiple values separated by a space " ". + /// number of results in response. + /// skip this number of results in response + /// Optional filters. + /// + /// Returns the search results by the specified condition parameters. + /// + PagedResults Search(string q, int limit , int offset = 0, + SearchFilterBuilder searchFilter = null); + /// /// /// diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index ec43f705..f07f385c 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -63,7 +63,8 @@ public class RedmineManager : IRedmineManager {typeof(IssuePriority), "enumerations/issue_priorities"}, {typeof(Watcher), "watchers"}, {typeof(IssueCustomField), "custom_fields"}, - {typeof(CustomField), "custom_fields"} + {typeof(CustomField), "custom_fields"}, + {typeof(Search), "search"} }; /// @@ -76,7 +77,8 @@ public class RedmineManager : IRedmineManager {typeof(News), true}, {typeof(Query), true}, {typeof(TimeEntry), true}, - {typeof(ProjectMembership), true} + {typeof(ProjectMembership), true}, + {typeof(Search), true} }; private readonly string basicAuthorization; @@ -851,6 +853,42 @@ public byte[] DownloadFile(string address) return WebApiHelper.ExecuteDownloadFile(this, address); } + + /// + /// + /// + /// query strings. enable to specify multiple values separated by a space " ". + /// number of results in response. + /// skip this number of results in response + /// Optional filters. + /// + /// Returns the search results by the specified condition parameters. + /// + /// + public PagedResults Search(string q, int limit = DEFAULT_PAGE_SIZE_VALUE, int offset = 0, SearchFilterBuilder searchFilter = null) + { + if (q.IsNullOrWhiteSpace()) + { + throw new ArgumentNullException(nameof(q)); + } + + var parameters = new NameValueCollection + { + {RedmineKeys.Q, q}, + {RedmineKeys.LIMIT, limit.ToString(CultureInfo.InvariantCulture)}, + {RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)}, + }; + + if (searchFilter != null) + { + parameters = searchFilter.Build(parameters); + } + + var result = GetPaginatedObjects(parameters); + + return result; + } + private const string UA = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1"; /// From f16ecdb7bc05dcd808d2515ce517c852f5dae290 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Feb 2023 20:39:57 +0200 Subject: [PATCH 292/601] Updated copyrigth --- src/redmine-net-api/Async/RedmineManagerAsync.cs | 2 +- .../Async/RedmineManagerAsync40.cs | 2 +- .../Async/RedmineManagerAsync45.cs | 2 +- .../Exceptions/ConflictException.cs | 2 +- .../Exceptions/ForbiddenException.cs | 2 +- .../Exceptions/InternalServerErrorException.cs | 2 +- .../Exceptions/NameResolutionFailureException.cs | 2 +- .../Exceptions/NotAcceptableException.cs | 2 +- .../Exceptions/NotFoundException.cs | 2 +- .../Exceptions/RedmineException.cs | 2 +- .../Exceptions/RedmineTimeoutException.cs | 2 +- .../Exceptions/UnauthorizedException.cs | 2 +- .../Extensions/CollectionExtensions.cs | 2 +- .../Extensions/ExtensionAttribute.cs | 2 +- .../Extensions/JsonReaderExtensions.cs | 2 +- .../Extensions/JsonWriterExtensions.cs | 2 +- .../Extensions/NameValueCollectionExtensions.cs | 2 +- .../Extensions/StringExtensions.cs | 2 +- src/redmine-net-api/Extensions/WebExtensions.cs | 2 +- .../Extensions/XmlReaderExtensions.cs | 2 +- .../Extensions/XmlWriterExtensions.cs | 2 +- src/redmine-net-api/HttpVerbs.cs | 2 +- src/redmine-net-api/IRedmineManager.cs | 2 +- src/redmine-net-api/IRedmineWebClient.cs | 2 +- src/redmine-net-api/Internals/DataHelper.cs | 2 +- src/redmine-net-api/Internals/Func.cs | 2 +- src/redmine-net-api/Internals/HashCodeHelper.cs | 2 +- src/redmine-net-api/Internals/UrlHelper.cs | 2 +- .../Internals/WebApiAsyncHelper.cs | 2 +- src/redmine-net-api/Internals/WebApiHelper.cs | 2 +- .../Internals/XmlTextReaderBuilder.cs | 2 +- src/redmine-net-api/MimeFormat.cs | 2 +- src/redmine-net-api/RedirectType.cs | 2 +- src/redmine-net-api/RedmineKeys.cs | 2 +- src/redmine-net-api/RedmineManager.cs | 2 +- src/redmine-net-api/RedmineWebClient.cs | 2 +- src/redmine-net-api/SearchFilterBuilder.cs | 16 ++++++++++++++++ .../Serialization/CacheKeyFactory.cs | 2 +- .../Serialization/IJsonSerializable.cs | 2 +- .../Serialization/ISerialization.cs | 2 +- .../Serialization/IXmlSerializerCache.cs | 2 +- src/redmine-net-api/Serialization/JsonObject.cs | 2 +- .../Serialization/JsonRedmineSerializer.cs | 2 +- .../Serialization/PagedResults.cs | 2 +- .../Serialization/XmlRedmineSerializer.cs | 2 +- .../Serialization/XmlSerializerCache.cs | 2 +- src/redmine-net-api/Types/Attachment.cs | 2 +- src/redmine-net-api/Types/Attachments.cs | 2 +- src/redmine-net-api/Types/ChangeSet.cs | 2 +- src/redmine-net-api/Types/CustomField.cs | 2 +- .../Types/CustomFieldPossibleValue.cs | 2 +- src/redmine-net-api/Types/CustomFieldRole.cs | 2 +- src/redmine-net-api/Types/CustomFieldValue.cs | 2 +- src/redmine-net-api/Types/Detail.cs | 2 +- src/redmine-net-api/Types/Error.cs | 2 +- src/redmine-net-api/Types/File.cs | 2 +- src/redmine-net-api/Types/Group.cs | 2 +- src/redmine-net-api/Types/GroupUser.cs | 2 +- src/redmine-net-api/Types/IValue.cs | 2 +- src/redmine-net-api/Types/Identifiable.cs | 2 +- src/redmine-net-api/Types/IdentifiableName.cs | 2 +- src/redmine-net-api/Types/Issue.cs | 2 +- src/redmine-net-api/Types/IssueAllowedStatus.cs | 2 +- src/redmine-net-api/Types/IssueCategory.cs | 2 +- src/redmine-net-api/Types/IssueChild.cs | 2 +- src/redmine-net-api/Types/IssueCustomField.cs | 2 +- src/redmine-net-api/Types/IssuePriority.cs | 2 +- src/redmine-net-api/Types/IssueRelation.cs | 2 +- src/redmine-net-api/Types/IssueRelationType.cs | 2 +- src/redmine-net-api/Types/IssueStatus.cs | 2 +- src/redmine-net-api/Types/Journal.cs | 2 +- src/redmine-net-api/Types/Membership.cs | 2 +- src/redmine-net-api/Types/MembershipRole.cs | 2 +- src/redmine-net-api/Types/MyAccount.cs | 2 +- .../Types/MyAccountCustomField.cs | 2 +- src/redmine-net-api/Types/News.cs | 2 +- src/redmine-net-api/Types/NewsComment.cs | 2 +- src/redmine-net-api/Types/Permission.cs | 2 +- src/redmine-net-api/Types/Project.cs | 2 +- .../Types/ProjectEnabledModule.cs | 2 +- .../Types/ProjectIssueCategory.cs | 2 +- src/redmine-net-api/Types/ProjectMembership.cs | 2 +- src/redmine-net-api/Types/ProjectStatus.cs | 2 +- .../Types/ProjectTimeEntryActivity.cs | 2 +- src/redmine-net-api/Types/ProjectTracker.cs | 2 +- src/redmine-net-api/Types/Query.cs | 2 +- src/redmine-net-api/Types/Role.cs | 2 +- src/redmine-net-api/Types/Search.cs | 2 +- src/redmine-net-api/Types/TimeEntry.cs | 2 +- src/redmine-net-api/Types/TimeEntryActivity.cs | 2 +- src/redmine-net-api/Types/Tracker.cs | 2 +- src/redmine-net-api/Types/TrackerCustomField.cs | 2 +- src/redmine-net-api/Types/Upload.cs | 2 +- src/redmine-net-api/Types/User.cs | 2 +- src/redmine-net-api/Types/UserGroup.cs | 2 +- src/redmine-net-api/Types/UserStatus.cs | 2 +- src/redmine-net-api/Types/Version.cs | 2 +- src/redmine-net-api/Types/VersionSharing.cs | 2 +- src/redmine-net-api/Types/VersionStatus.cs | 2 +- src/redmine-net-api/Types/Watcher.cs | 2 +- src/redmine-net-api/Types/WikiPage.cs | 2 +- .../Tests/Sync/AttachmentTests.cs | 2 +- .../Tests/Sync/CustomFieldTests.cs | 2 +- .../Tests/Sync/IssuePriorityTests.cs | 2 +- .../Tests/Sync/IssueRelationTests.cs | 2 +- .../Tests/Sync/IssueStatusTests.cs | 2 +- .../Tests/Sync/NewsTests.cs | 2 +- .../Tests/Sync/ProjectMembershipTests.cs | 2 +- .../Tests/Sync/ProjectTests.cs | 2 +- .../Tests/Sync/QueryTests.cs | 2 +- .../Tests/Sync/RoleTests.cs | 2 +- .../Tests/Sync/TimeEntryActivtiyTests.cs | 2 +- .../Tests/Sync/TimeEntryTests.cs | 2 +- .../Tests/Sync/TrackerTests.cs | 2 +- .../Tests/Sync/UserTests.cs | 2 +- .../Tests/Sync/VersionTests.cs | 2 +- .../Tests/Sync/WikiPageTests.cs | 2 +- 117 files changed, 132 insertions(+), 116 deletions(-) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync.cs b/src/redmine-net-api/Async/RedmineManagerAsync.cs index 9f29ceeb..124c2b45 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync.cs @@ -2,7 +2,7 @@ #if NET20 /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Async/RedmineManagerAsync40.cs b/src/redmine-net-api/Async/RedmineManagerAsync40.cs index 09253578..93845ccc 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync40.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync40.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index 59c492cc..1cdc2725 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2022 Adrian Popescu +Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/ConflictException.cs b/src/redmine-net-api/Exceptions/ConflictException.cs index 46faad5b..1cb1dcf9 100644 --- a/src/redmine-net-api/Exceptions/ConflictException.cs +++ b/src/redmine-net-api/Exceptions/ConflictException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/ForbiddenException.cs b/src/redmine-net-api/Exceptions/ForbiddenException.cs index b34dbbe9..6821eb19 100644 --- a/src/redmine-net-api/Exceptions/ForbiddenException.cs +++ b/src/redmine-net-api/Exceptions/ForbiddenException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/InternalServerErrorException.cs b/src/redmine-net-api/Exceptions/InternalServerErrorException.cs index 6d495faa..bf6dda64 100644 --- a/src/redmine-net-api/Exceptions/InternalServerErrorException.cs +++ b/src/redmine-net-api/Exceptions/InternalServerErrorException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs b/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs index 27d648d2..3651d6db 100644 --- a/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs +++ b/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/NotAcceptableException.cs b/src/redmine-net-api/Exceptions/NotAcceptableException.cs index b660bf3f..6b1ef5ea 100644 --- a/src/redmine-net-api/Exceptions/NotAcceptableException.cs +++ b/src/redmine-net-api/Exceptions/NotAcceptableException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/NotFoundException.cs b/src/redmine-net-api/Exceptions/NotFoundException.cs index fbc320c5..71722e93 100644 --- a/src/redmine-net-api/Exceptions/NotFoundException.cs +++ b/src/redmine-net-api/Exceptions/NotFoundException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/RedmineException.cs b/src/redmine-net-api/Exceptions/RedmineException.cs index 50be65f7..9ce2af67 100644 --- a/src/redmine-net-api/Exceptions/RedmineException.cs +++ b/src/redmine-net-api/Exceptions/RedmineException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs b/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs index 9b615dff..0f4d89c4 100644 --- a/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs +++ b/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/UnauthorizedException.cs b/src/redmine-net-api/Exceptions/UnauthorizedException.cs index 2599d7c3..7e063c58 100644 --- a/src/redmine-net-api/Exceptions/UnauthorizedException.cs +++ b/src/redmine-net-api/Exceptions/UnauthorizedException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/CollectionExtensions.cs b/src/redmine-net-api/Extensions/CollectionExtensions.cs index 4246c267..e01f1e57 100755 --- a/src/redmine-net-api/Extensions/CollectionExtensions.cs +++ b/src/redmine-net-api/Extensions/CollectionExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/ExtensionAttribute.cs b/src/redmine-net-api/Extensions/ExtensionAttribute.cs index fa070874..cdb7b66b 100755 --- a/src/redmine-net-api/Extensions/ExtensionAttribute.cs +++ b/src/redmine-net-api/Extensions/ExtensionAttribute.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/JsonReaderExtensions.cs b/src/redmine-net-api/Extensions/JsonReaderExtensions.cs index bebf9925..ad54ba31 100644 --- a/src/redmine-net-api/Extensions/JsonReaderExtensions.cs +++ b/src/redmine-net-api/Extensions/JsonReaderExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/JsonWriterExtensions.cs b/src/redmine-net-api/Extensions/JsonWriterExtensions.cs index e48d5b27..2bbca7dd 100644 --- a/src/redmine-net-api/Extensions/JsonWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/JsonWriterExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs index 28264d82..2fd504b8 100644 --- a/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs +++ b/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index 10308d2e..d0856246 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/WebExtensions.cs b/src/redmine-net-api/Extensions/WebExtensions.cs index 59ca73ab..493a07c9 100644 --- a/src/redmine-net-api/Extensions/WebExtensions.cs +++ b/src/redmine-net-api/Extensions/WebExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net-api/Extensions/XmlReaderExtensions.cs index 57be87d9..87b2b528 100644 --- a/src/redmine-net-api/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlReaderExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs index cddbd9b9..8791c6b1 100644 --- a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Extensions/XmlWriterExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/HttpVerbs.cs b/src/redmine-net-api/HttpVerbs.cs index 09abd93a..83c65de5 100644 --- a/src/redmine-net-api/HttpVerbs.cs +++ b/src/redmine-net-api/HttpVerbs.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2022 Adrian Popescu +Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index bb647f54..57f8a423 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/IRedmineWebClient.cs b/src/redmine-net-api/IRedmineWebClient.cs index ef328929..91cf5bb2 100644 --- a/src/redmine-net-api/IRedmineWebClient.cs +++ b/src/redmine-net-api/IRedmineWebClient.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/DataHelper.cs b/src/redmine-net-api/Internals/DataHelper.cs index 821996a1..7686e2fa 100755 --- a/src/redmine-net-api/Internals/DataHelper.cs +++ b/src/redmine-net-api/Internals/DataHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/Func.cs b/src/redmine-net-api/Internals/Func.cs index 5adb6ef8..0b6a38f2 100644 --- a/src/redmine-net-api/Internals/Func.cs +++ b/src/redmine-net-api/Internals/Func.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/HashCodeHelper.cs b/src/redmine-net-api/Internals/HashCodeHelper.cs index 87ebdc09..5f8982c8 100755 --- a/src/redmine-net-api/Internals/HashCodeHelper.cs +++ b/src/redmine-net-api/Internals/HashCodeHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/UrlHelper.cs b/src/redmine-net-api/Internals/UrlHelper.cs index e3d9db16..a1867e3b 100644 --- a/src/redmine-net-api/Internals/UrlHelper.cs +++ b/src/redmine-net-api/Internals/UrlHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs index deaa7255..6f0b3f16 100644 --- a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs +++ b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/WebApiHelper.cs b/src/redmine-net-api/Internals/WebApiHelper.cs index 37e5e890..27406f2c 100644 --- a/src/redmine-net-api/Internals/WebApiHelper.cs +++ b/src/redmine-net-api/Internals/WebApiHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs index 3fafc243..2d24a598 100644 --- a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs +++ b/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/MimeFormat.cs b/src/redmine-net-api/MimeFormat.cs index 5f0e4ff4..8bc2b2ae 100755 --- a/src/redmine-net-api/MimeFormat.cs +++ b/src/redmine-net-api/MimeFormat.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2022 Adrian Popescu +Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/RedirectType.cs b/src/redmine-net-api/RedirectType.cs index d3157bcf..ead5ed4a 100644 --- a/src/redmine-net-api/RedirectType.cs +++ b/src/redmine-net-api/RedirectType.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index 5bbb3b14..081ba422 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu. + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index f07f385c..f89d8989 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/RedmineWebClient.cs b/src/redmine-net-api/RedmineWebClient.cs index 3ecaa47b..6db3ee4d 100644 --- a/src/redmine-net-api/RedmineWebClient.cs +++ b/src/redmine-net-api/RedmineWebClient.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/SearchFilterBuilder.cs b/src/redmine-net-api/SearchFilterBuilder.cs index e4a0b294..d4c6e9fd 100644 --- a/src/redmine-net-api/SearchFilterBuilder.cs +++ b/src/redmine-net-api/SearchFilterBuilder.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Collections.Specialized; using System.Globalization; diff --git a/src/redmine-net-api/Serialization/CacheKeyFactory.cs b/src/redmine-net-api/Serialization/CacheKeyFactory.cs index 3e0d3c21..f8a4fa72 100644 --- a/src/redmine-net-api/Serialization/CacheKeyFactory.cs +++ b/src/redmine-net-api/Serialization/CacheKeyFactory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/IJsonSerializable.cs b/src/redmine-net-api/Serialization/IJsonSerializable.cs index ac0f6086..c325545f 100644 --- a/src/redmine-net-api/Serialization/IJsonSerializable.cs +++ b/src/redmine-net-api/Serialization/IJsonSerializable.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/ISerialization.cs b/src/redmine-net-api/Serialization/ISerialization.cs index 0a65b9a4..52a0c317 100644 --- a/src/redmine-net-api/Serialization/ISerialization.cs +++ b/src/redmine-net-api/Serialization/ISerialization.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/IXmlSerializerCache.cs b/src/redmine-net-api/Serialization/IXmlSerializerCache.cs index 50e80d25..daa3afed 100644 --- a/src/redmine-net-api/Serialization/IXmlSerializerCache.cs +++ b/src/redmine-net-api/Serialization/IXmlSerializerCache.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/JsonObject.cs b/src/redmine-net-api/Serialization/JsonObject.cs index ff5b3b8a..7c8624e4 100644 --- a/src/redmine-net-api/Serialization/JsonObject.cs +++ b/src/redmine-net-api/Serialization/JsonObject.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs b/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs index 1357e6c0..2e09c76b 100644 --- a/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/PagedResults.cs b/src/redmine-net-api/Serialization/PagedResults.cs index 56c40d1d..b6b446e5 100644 --- a/src/redmine-net-api/Serialization/PagedResults.cs +++ b/src/redmine-net-api/Serialization/PagedResults.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs index f8ef1f00..15d585d0 100644 --- a/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/XmlSerializerCache.cs b/src/redmine-net-api/Serialization/XmlSerializerCache.cs index d85e31f2..bb90a370 100644 --- a/src/redmine-net-api/Serialization/XmlSerializerCache.cs +++ b/src/redmine-net-api/Serialization/XmlSerializerCache.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index 937c78c3..b6e188a6 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Attachments.cs b/src/redmine-net-api/Types/Attachments.cs index 439955bf..7797e7e7 100644 --- a/src/redmine-net-api/Types/Attachments.cs +++ b/src/redmine-net-api/Types/Attachments.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs index 89210dce..9c9cd711 100644 --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index 6e0fe955..28573116 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs index ab994251..0934e711 100644 --- a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomFieldRole.cs b/src/redmine-net-api/Types/CustomFieldRole.cs index c0d910d1..8bbf192b 100644 --- a/src/redmine-net-api/Types/CustomFieldRole.cs +++ b/src/redmine-net-api/Types/CustomFieldRole.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index 9463d000..0a0f1033 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs index c2bc5ae0..298e93b7 100644 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs index 0a86d6b1..ef6b7b7e 100644 --- a/src/redmine-net-api/Types/Error.cs +++ b/src/redmine-net-api/Types/Error.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index 9e07b06c..2afc20e1 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 70a7892d..9db8382a 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs index 8fa1775a..90b77899 100644 --- a/src/redmine-net-api/Types/GroupUser.cs +++ b/src/redmine-net-api/Types/GroupUser.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IValue.cs b/src/redmine-net-api/Types/IValue.cs index 52fb0065..ae430755 100755 --- a/src/redmine-net-api/Types/IValue.cs +++ b/src/redmine-net-api/Types/IValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs index 8dddd6cd..799355b8 100644 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index 4a57363a..277e6929 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 4bcbc1b0..7864a2c5 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueAllowedStatus.cs b/src/redmine-net-api/Types/IssueAllowedStatus.cs index 9b37bb2d..2df5b42a 100644 --- a/src/redmine-net-api/Types/IssueAllowedStatus.cs +++ b/src/redmine-net-api/Types/IssueAllowedStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs index c489e118..c7fb203e 100644 --- a/src/redmine-net-api/Types/IssueCategory.cs +++ b/src/redmine-net-api/Types/IssueCategory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs index 90ec83cd..f0821625 100644 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 8ea5a7b6..d278d5fc 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssuePriority.cs b/src/redmine-net-api/Types/IssuePriority.cs index 155d98ec..80539b90 100644 --- a/src/redmine-net-api/Types/IssuePriority.cs +++ b/src/redmine-net-api/Types/IssuePriority.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index eddab5fa..7f7e8381 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueRelationType.cs b/src/redmine-net-api/Types/IssueRelationType.cs index 006492e3..35a34519 100644 --- a/src/redmine-net-api/Types/IssueRelationType.cs +++ b/src/redmine-net-api/Types/IssueRelationType.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs index 7091ad2d..80164ece 100644 --- a/src/redmine-net-api/Types/IssueStatus.cs +++ b/src/redmine-net-api/Types/IssueStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index 49ed2647..7cee01df 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index 59add538..b819c91b 100644 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs index a9764a4d..25af2590 100644 --- a/src/redmine-net-api/Types/MembershipRole.cs +++ b/src/redmine-net-api/Types/MembershipRole.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/MyAccount.cs b/src/redmine-net-api/Types/MyAccount.cs index e86c78e0..06189301 100644 --- a/src/redmine-net-api/Types/MyAccount.cs +++ b/src/redmine-net-api/Types/MyAccount.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/MyAccountCustomField.cs b/src/redmine-net-api/Types/MyAccountCustomField.cs index ebbbf4a8..a09a6bbe 100644 --- a/src/redmine-net-api/Types/MyAccountCustomField.cs +++ b/src/redmine-net-api/Types/MyAccountCustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index f7702bb2..8e037189 100644 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/NewsComment.cs b/src/redmine-net-api/Types/NewsComment.cs index 4cb7520e..48496829 100644 --- a/src/redmine-net-api/Types/NewsComment.cs +++ b/src/redmine-net-api/Types/NewsComment.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index 3abc6495..f912a2e9 100644 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 4d83d910..44dd0c0d 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectEnabledModule.cs b/src/redmine-net-api/Types/ProjectEnabledModule.cs index 2ec6796c..5128a5c0 100644 --- a/src/redmine-net-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net-api/Types/ProjectEnabledModule.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2022 Adrian Popescu +Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectIssueCategory.cs b/src/redmine-net-api/Types/ProjectIssueCategory.cs index fcfe2ead..d9181e17 100644 --- a/src/redmine-net-api/Types/ProjectIssueCategory.cs +++ b/src/redmine-net-api/Types/ProjectIssueCategory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index f91508a4..8ed99f79 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectStatus.cs b/src/redmine-net-api/Types/ProjectStatus.cs index f0092025..355a3092 100755 --- a/src/redmine-net-api/Types/ProjectStatus.cs +++ b/src/redmine-net-api/Types/ProjectStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs index d9bb4a50..44e23cd5 100644 --- a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs +++ b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs index 55d71cfe..bf96390d 100644 --- a/src/redmine-net-api/Types/ProjectTracker.cs +++ b/src/redmine-net-api/Types/ProjectTracker.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Query.cs b/src/redmine-net-api/Types/Query.cs index 7adea21c..3c68cf8e 100644 --- a/src/redmine-net-api/Types/Query.cs +++ b/src/redmine-net-api/Types/Query.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index 7af6c8b0..366ce69e 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Search.cs b/src/redmine-net-api/Types/Search.cs index 74bea91a..d9355764 100644 --- a/src/redmine-net-api/Types/Search.cs +++ b/src/redmine-net-api/Types/Search.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index 2fef1f18..1a088178 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index 1ef81689..762cc5e8 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs index e9fca1d3..157b75aa 100644 --- a/src/redmine-net-api/Types/Tracker.cs +++ b/src/redmine-net-api/Types/Tracker.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/TrackerCustomField.cs b/src/redmine-net-api/Types/TrackerCustomField.cs index 2f63a7e8..875d93b7 100644 --- a/src/redmine-net-api/Types/TrackerCustomField.cs +++ b/src/redmine-net-api/Types/TrackerCustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index 9c8800d7..42b25a75 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index a93cdb6b..7fcfac3f 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/UserGroup.cs b/src/redmine-net-api/Types/UserGroup.cs index e79e09d7..88a173ca 100644 --- a/src/redmine-net-api/Types/UserGroup.cs +++ b/src/redmine-net-api/Types/UserGroup.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/UserStatus.cs b/src/redmine-net-api/Types/UserStatus.cs index 7ff5ab48..ae00c930 100644 --- a/src/redmine-net-api/Types/UserStatus.cs +++ b/src/redmine-net-api/Types/UserStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index c7199e9d..b7c8b8d9 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/VersionSharing.cs b/src/redmine-net-api/Types/VersionSharing.cs index 636853ed..1fbf63b0 100644 --- a/src/redmine-net-api/Types/VersionSharing.cs +++ b/src/redmine-net-api/Types/VersionSharing.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/VersionStatus.cs b/src/redmine-net-api/Types/VersionStatus.cs index df070fed..60a4684b 100644 --- a/src/redmine-net-api/Types/VersionStatus.cs +++ b/src/redmine-net-api/Types/VersionStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index 212e42bb..7dbc2b8d 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index e2d8e16f..f26c7b25 100644 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs index a4fd925e..0a5d2f3f 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs index 799b0dde..de6db017 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs index 90b13829..6d82c763 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs index ed621c23..e8e74148 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs index 0616e192..1ae6b7c1 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs index b6ab8383..e7a4482c 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs index 2a25a49a..0b9e7ae8 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs index 6d716190..b07e0065 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs index 249ee322..87f5c4b0 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs index 2bfe2d53..6c44ea55 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs index 7d069c8f..77d7150b 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs index 3ef9065e..f52808ec 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs index 1a7af4b8..b5061e55 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs index f784ba3d..bf771e3e 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs index e8db33ef..f629df86 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs index c9c1baf6..c5788f0e 100644 --- a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs +++ b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2022 Adrian Popescu + Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. From 0a101550e369e28370bbe8977afd1414e71b53df Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Feb 2023 20:56:21 +0200 Subject: [PATCH 293/601] Fixed #311 --- src/redmine-net-api/Types/ChangeSet.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs index 9c9cd711..5a362d68 100644 --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -38,7 +38,7 @@ public sealed class ChangeSet : IXmlSerializable, IJsonSerializable, IEquatable< /// /// /// - public int Revision { get; internal set; } + public string Revision { get; internal set; } /// /// @@ -78,7 +78,7 @@ public void ReadXml(XmlReader reader) continue; } - Revision = reader.ReadAttributeAsInt(RedmineKeys.REVISION); + Revision = reader.GetAttribute(RedmineKeys.REVISION); switch (reader.Name) { @@ -125,7 +125,7 @@ public void ReadJson(JsonReader reader) case RedmineKeys.COMMITTED_ON: CommittedOn = reader.ReadAsDateTime(); break; - case RedmineKeys.REVISION: Revision = reader.ReadAsInt(); break; + case RedmineKeys.REVISION: Revision = reader.ReadAsString(); break; case RedmineKeys.USER: User = new IdentifiableName(reader); break; From cef39aff155d7ba61b49b2fcfae82ab8e0342cbc Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 1 Mar 2023 22:23:13 +0200 Subject: [PATCH 294/601] Update appveyor nuget api key --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index c4095dd5..fcb1ad07 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -82,7 +82,7 @@ for: - provider: NuGet name: production api_key: - secure: fEZylRkHvyJqjgeQ+i9TfL/JOPjLKr43k+a8Oy5MIy54IkFC8ZECaEfskcWOyqcg + secure: W38N2nYNrxoik84zDowE+ShuVYKUyPA/fl4/8nYMBEXwcG+pSHVkt/2r6xQvQOaC skip_symbols: true on: APPVEYOR_REPO_TAG: true \ No newline at end of file From f2ff58786b8a7ff166901fca95950f82a5dbb454 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 1 Mar 2023 23:25:39 +0200 Subject: [PATCH 295/601] Add parent title to wiki page --- src/redmine-net-api/Types/WikiPage.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index f26c7b25..bba1fcf7 100644 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -39,7 +39,12 @@ public sealed class WikiPage : Identifiable /// Gets the title. /// public string Title { get; internal set; } - + + /// + /// + /// + public string ParentTitle { get; internal set; } + /// /// Gets or sets the text. /// @@ -118,6 +123,7 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.TITLE: Title = reader.ReadElementContentAsString(); break; case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadElementContentAsNullableDateTime(); break; case RedmineKeys.VERSION: Version = reader.ReadElementContentAsInt(); break; + case RedmineKeys.PARENT: ParentTitle = reader.GetAttribute(RedmineKeys.PARENT); break; default: reader.Read(); break; } } @@ -167,6 +173,7 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.TITLE: Title = reader.ReadAsString(); break; case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadAsDateTime(); break; case RedmineKeys.VERSION: Version = reader.ReadAsInt(); break; + case RedmineKeys.PARENT: ParentTitle = reader.ReadAsString(); break; default: reader.Read(); break; } } From 676c78c67eebc55adf555702f539054b88307138 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 1 Mar 2023 23:38:17 +0200 Subject: [PATCH 296/601] Updated CHANGELOG.md --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 501cd134..a423cf3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## [v4.4.0] + +Added: +* Added ParentTitle to wiki page + +Breaking Changes: + +* Changed ChangeSet revision type from int to string + ## [v4.3.0] Added: From a5fa39f5181279a0649f9645b3fcf94537f7abbd Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 2 Mar 2023 00:38:46 +0200 Subject: [PATCH 297/601] Upgrade Newtonsoft.Json from 13.0.1 to 13.0.2 --- src/redmine-net-api/redmine-net-api.csproj | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index c97520fd..811bb8c3 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -86,15 +86,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + From d58cc8b19886682d48552241cc927eae05e0f541 Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 2 Mar 2023 00:40:51 +0200 Subject: [PATCH 298/601] Set actions version to 3 --- .github/workflows/ci-cd.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index bba599c8..aa8eea53 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -54,17 +54,17 @@ jobs: strategy: matrix: os: [ ubuntu-latest]#, windows-latest, macos-latest ] - dotnet: [ '3.1.x']#, '5.x.x', '6.x.x' ] + dotnet: [ '7.x.x' ] steps: - name: Checkout - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3 with: lfs: true fetch-depth: 0 - name: Setup .NET Core - uses: actions/setup-dotnet@v1.9.0 + uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ matrix.dotnet }} @@ -77,7 +77,7 @@ jobs: - name: Build run: | - dotnet build --no-restore --configuration $BUILD_CONFIGURATION -p:Version=${{env.VERSION}} + dotnet build --no-restore --configuration $BUILD_CONFIGURATION -p:Version=$VERSION - name: Build Signed if: runner.os == 'Linux' @@ -86,17 +86,17 @@ jobs: - name: Test run: dotnet test --no-restore --no-build --configuration $BUILD_CONFIGURATION - - name: Pack - if: runner.os == 'Linux' && startsWith(github.ref, 'refs/tags') + - name: Pack && startsWith(github.ref, 'refs/tags') + if: runner.os == 'Linux' run: | - dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source + dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source -p:SymbolPackageFormat=snupkg - name: Pack Signed && startsWith(github.ref, 'refs/tags') if: runner.os == 'Linux' run: | - dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source -p:Sign=true + dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source -p:Sign=true -p:SymbolPackageFormat=snupkg - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 if: runner.os == 'Linux' with: name: artifacts @@ -108,10 +108,10 @@ jobs: needs: build name: Deploy Packages steps: - - uses: actions/download-artifact@v1 + - uses: actions/download-artifact@v3 with: name: artifacts path: ./artifacts - name: Publish packages - run: dotnet nuget push ./artifacts/**.nupkg --source nuget.org --api-key ${{secrets.NUGET_TOKEN}} \ No newline at end of file + run: dotnet nuget push ./artifacts/**.nupkg --source nuget.org -k ${{secrets.NUGET_TOKEN}} \ No newline at end of file From 84d207aac4a1178bf52d1cf61ef01ca67f2d9615 Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 2 Mar 2023 00:53:11 +0200 Subject: [PATCH 299/601] Added --tags --- .github/workflows/ci-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index aa8eea53..8352668f 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -70,7 +70,7 @@ jobs: - name: Get Version run: | - echo "VERSION=$(git describe --abbrev=0)" >> $GITHUB_ENV + echo "VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV - name: Restore run: dotnet restore From 46e2d739690cfee4ee22462a647abdbc1c358588 Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 2 Mar 2023 01:07:28 +0200 Subject: [PATCH 300/601] Changed pack output with --property:PackageOutputPath --- .github/workflows/ci-cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 8352668f..abc4ef9a 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -89,12 +89,12 @@ jobs: - name: Pack && startsWith(github.ref, 'refs/tags') if: runner.os == 'Linux' run: | - dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source -p:SymbolPackageFormat=snupkg + dotnet pack --property:PackageOutputPath ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source -p:SymbolPackageFormat=snupkg - name: Pack Signed && startsWith(github.ref, 'refs/tags') if: runner.os == 'Linux' run: | - dotnet pack --output ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source -p:Sign=true -p:SymbolPackageFormat=snupkg + dotnet pack --property:PackageOutputPath ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source -p:Sign=true -p:SymbolPackageFormat=snupkg - uses: actions/upload-artifact@v3 if: runner.os == 'Linux' From 1879269599dc6717edf228de910341479d11deae Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 2 Mar 2023 01:14:03 +0200 Subject: [PATCH 301/601] Revert --- .github/workflows/ci-cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index abc4ef9a..78a99fed 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -89,12 +89,12 @@ jobs: - name: Pack && startsWith(github.ref, 'refs/tags') if: runner.os == 'Linux' run: | - dotnet pack --property:PackageOutputPath ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source -p:SymbolPackageFormat=snupkg + dotnet pack ./src/redmine-net-api/redmine-net-api.csproj -o ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source -p:SymbolPackageFormat=snupkg - name: Pack Signed && startsWith(github.ref, 'refs/tags') if: runner.os == 'Linux' run: | - dotnet pack --property:PackageOutputPath ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source -p:Sign=true -p:SymbolPackageFormat=snupkg + dotnet pack ./src/redmine-net-api/redmine-net-api.csproj -o ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source -p:Sign=true -p:SymbolPackageFormat=snupkg - uses: actions/upload-artifact@v3 if: runner.os == 'Linux' From 4e83b1c53540dd4414254da62f0704c634a79390 Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 2 Mar 2023 01:22:09 +0200 Subject: [PATCH 302/601] Fixed nuget api key env name --- .github/workflows/ci-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 78a99fed..029bbc5f 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -114,4 +114,4 @@ jobs: path: ./artifacts - name: Publish packages - run: dotnet nuget push ./artifacts/**.nupkg --source nuget.org -k ${{secrets.NUGET_TOKEN}} \ No newline at end of file + run: dotnet nuget push ./artifacts/**.nupkg --source nuget.org -k ${{secrets.NUGET_API_KEY}} \ No newline at end of file From 5ea0f6294fdd2640b30f4672e1cb429d8fc6e1e6 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 7 Mar 2023 12:48:43 +0100 Subject: [PATCH 303/601] Add & retrieve project news --- README.md | 53 ++++++++------- .../Extensions/RedmineManagerExtensions.cs | 64 +++++++++++++++++++ src/redmine-net-api/Types/News.cs | 42 ++++++++++++ 3 files changed, 132 insertions(+), 27 deletions(-) create mode 100644 src/redmine-net-api/Extensions/RedmineManagerExtensions.cs diff --git a/README.md b/README.md index 9398bf40..06420b3d 100755 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -![Nuget](https://img.shields.io/nuget/dt/redmine-net-api) -![Redmine .NET Api](https://github.com/zapadi/redmine-net-api/workflows/Redmine%20.NET%20Api/badge.svg?branch=master) +![Redmine .NET Api](https://github.com/zapadi/redmine-net-api/workflows/CI%2FCD/badge.svg?branch=master) ![Appveyor last build status](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true&passingText=master%20-%20OK&failingText=ups...) -[![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) +[![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) +![Nuget](https://img.shields.io/nuget/dt/redmine-net-api) Buy Me A Coffee @@ -15,30 +15,29 @@ redmine-net-api is a library for communicating with a Redmine project management * Supports GZipped responses from servers. * This API provides access and basic CRUD operations (create, read, update, delete) for the resources described below: -|Resource | Read | Create | Update | Delete | -|:---------|:------:|:----------:|:---------:|:-------:| - Attachments | ✓ | ✓ | ✗ | ✗| - Custom Fields | ✓ | ✗ | ✗ | ✗ - Enumerations | ✓ | ✗ | ✗ | ✗ - Files |✓|✓|✗|✗ - Groups |✓|✓|✓|✓ - Issues |✓|✓|✓|✓ - Issue Categories |✓|✓|✓|✓ - Issue Relations |✓|✓|✓|✓ - Issue Statuses |✓|✗|✗|✗ - My account |✓|✗|✓|✗ - News |✓|✗|✗|✗ - Projects |✓|✓|✓|✓ - Project Memberships|✓|✓|✓|✓ - Queries |✓|✗|✗|✗ - Roles |✓|✗|✗|✗ - Search | - Time Entries |✓|✓|✓|✓ - Trackers |✓|✗|✗|✗ - Users |✓|✓|✓|✓ - Versions |✓|✓|✓|✓ - Wiki Pages |✓|✓|✓|✓ - +| Resource | Read | Create | Update | Delete | +|:--------------------|:-------:|:-------:|:-------:|:-------:| +| Attachments | ✓ | ✓ | ✗ | ✗ | +| Custom Fields | ✓ | ✗ | ✗ | ✗ | +| Enumerations | ✓ | ✗ | ✗ | ✗ | +| Files | ✓ | ✓ | ✗ | ✗ | +| Groups | ✓ | ✓ | ✓ | ✓ | +| Issues | ✓ | ✓ | ✓ | ✓ | +| Issue Categories | ✓ | ✓ | ✓ | ✓ | +| Issue Relations | ✓ | ✓ | ✓ | ✓ | +| Issue Statuses | ✓ | ✗ | ✗ | ✗ | +| My account | ✓ | ✗ | ✓ | ✗ | +| News | ✓ | ✓ | ✓ | ✓ | +| Projects | ✓ | ✓ | ✓ | ✓ | +| Project Memberships | ✓ | ✓ | ✓ | ✓ | +| Queries | ✓ | ✗ | ✗ | ✗ | +| Roles | ✓ | ✗ | ✗ | ✗ | +| Search | ✓ | | | | +| Time Entries | ✓ | ✓ | ✓ | ✓ | +| Trackers | ✓ | ✗ | ✗ | ✗ | +| Users | ✓ | ✓ | ✓ | ✓ | +| Versions | ✓ | ✓ | ✓ | ✓ | +| Wiki Pages | ✓ | ✓ | ✓ | ✓ | ## WIKI diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs new file mode 100644 index 00000000..e62f61a0 --- /dev/null +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -0,0 +1,64 @@ +using System; +using System.Collections.Specialized; +using System.Globalization; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Types; +using Version = Redmine.Net.Api.Types.Version; + +namespace Redmine.Net.Api.Extensions +{ + /// + /// + /// + public static class RedmineManagerExtensions + { + /// + /// + /// + /// + /// + /// + /// + public static PagedResults GetProjectNews(this RedmineManager redmineManager, string projectIdentifier, NameValueCollection nameValueCollection) + { + if (projectIdentifier.IsNullOrWhiteSpace()) + { + throw new RedmineException("Argument 'projectIdentifier' is null"); + } + + return WebApiHelper.ExecuteDownloadList(redmineManager, Uri.EscapeUriString($"{redmineManager.Host}/project/{projectIdentifier}/news.{redmineManager.Format}"), nameValueCollection); + } + + /// + /// + /// + /// + /// + /// + /// + /// + public static News AddProjectNews(this RedmineManager redmineManager, string projectIdentifier, News news) + { + if (projectIdentifier.IsNullOrWhiteSpace()) + { + throw new RedmineException("Argument 'projectIdentifier' is null"); + } + + if (news == null) + { + throw new RedmineException("Argument news is null"); + } + + if (news.Title.IsNullOrWhiteSpace()) + { + throw new RedmineException("Title cannot be blank"); + } + + var data = redmineManager.Serializer.Serialize(news); + + return WebApiHelper.ExecuteUpload(redmineManager, Uri.EscapeUriString($"{redmineManager.Host}/project/{projectIdentifier}/news.{redmineManager.Format}"), HttpVerbs.POST, data); + } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index 8e037189..e5fbb3b4 100644 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -23,6 +23,7 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -79,6 +80,12 @@ public sealed class News : Identifiable /// /// public List Comments { get; internal set; } + + /// + /// + /// + public List Uploads { get; set; } + #endregion #region Implementation of IXmlSerialization @@ -114,6 +121,22 @@ public override void ReadXml(XmlReader reader) } } } + + /// + /// + /// + /// + public override void WriteXml(XmlWriter writer) + { + writer.WriteElementString(RedmineKeys.TITLE, Title); + writer.WriteElementString(RedmineKeys.SUMMARY, Summary); + writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); + if (Uploads != null) + { + writer.WriteArray(RedmineKeys.UPLOADS, Uploads); + } + } + #endregion #region Implementation of IJsonSerialization @@ -152,6 +175,25 @@ public override void ReadJson(JsonReader reader) } } } + + /// + /// + /// + /// + public override void WriteJson(JsonWriter writer) + { + using (new JsonObject(writer, RedmineKeys.NEWS)) + { + writer.WriteProperty(RedmineKeys.TITLE, Title); + writer.WriteProperty(RedmineKeys.SUMMARY, Summary); + writer.WriteProperty(RedmineKeys.DESCRIPTION, Description); + if (Uploads != null) + { + writer.WriteArray(RedmineKeys.UPLOADS, Uploads); + } + } + } + #endregion #region Implementation of IEquatable From a4df0e6aa478c5a70b45b70489981f618c01fb42 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Mar 2023 08:56:38 +0200 Subject: [PATCH 304/601] Added GetProjectMemberships extension --- .../Extensions/RedmineManagerExtensions.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index e62f61a0..5a1cbfce 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -60,5 +60,15 @@ public static News AddProjectNews(this RedmineManager redmineManager, string pro return WebApiHelper.ExecuteUpload(redmineManager, Uri.EscapeUriString($"{redmineManager.Host}/project/{projectIdentifier}/news.{redmineManager.Format}"), HttpVerbs.POST, data); } + + public static PagedResults GetProjectMemberships(this RedmineManager redmineManager, string projectIdentifier, NameValueCollection nameValueCollection) + { + if (projectIdentifier.IsNullOrWhiteSpace()) + { + throw new RedmineException($"Argument '{nameof(projectIdentifier)}' is null"); + } + + return WebApiHelper.ExecuteDownloadList(redmineManager, Uri.EscapeUriString($"{redmineManager.Host}/project/{projectIdentifier}/memberships.{redmineManager.Format}"), nameValueCollection); + } } } \ No newline at end of file From f129d109a0396b09f775b24b0cae32ecc359fcb7 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Mar 2023 08:58:11 +0200 Subject: [PATCH 305/601] Enabled schema set --- src/redmine-net-api/RedmineManager.cs | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index f89d8989..50bd7f60 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -105,7 +105,7 @@ public class RedmineManager : IRedmineManager public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool verifyServerCert = true, IWebProxy proxy = null, SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) { - if (string.IsNullOrEmpty(host)) + if (host.IsNullOrWhiteSpace()) { throw new RedmineException("Host is not defined!"); } @@ -163,11 +163,12 @@ public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool /// if set to true [verify server cert]. /// The proxy. /// Use this parameter to specify a SecurityProtcolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. + /// /// The webclient timeout. Default is 100 seconds. public RedmineManager(string host, string apiKey, MimeFormat mimeFormat = MimeFormat.Xml, - bool verifyServerCert = true, IWebProxy proxy = null, - SecurityProtocolType securityProtocolType = default, TimeSpan? timeout = null) - : this(host, mimeFormat, verifyServerCert, proxy, securityProtocolType, timeout: timeout) + bool verifyServerCert = true, IWebProxy proxy = null, + SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) + : this(host, mimeFormat, verifyServerCert, proxy, securityProtocolType, scheme, timeout: timeout) { ApiKey = apiKey; } @@ -193,11 +194,13 @@ public RedmineManager(string host, string apiKey, MimeFormat mimeFormat = MimeFo /// if set to true [verify server cert]. /// The proxy. /// Use this parameter to specify a SecurityProtcolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. + /// /// The webclient timeout. Default is 100 seconds. public RedmineManager(string host, string login, string password, MimeFormat mimeFormat = MimeFormat.Xml, - bool verifyServerCert = true, IWebProxy proxy = null, - SecurityProtocolType securityProtocolType = default, TimeSpan? timeout = null) - : this(host, mimeFormat, verifyServerCert, proxy, securityProtocolType, timeout: timeout) + bool verifyServerCert = true, IWebProxy proxy = null, + SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) + : this(host, mimeFormat, verifyServerCert, proxy, securityProtocolType, scheme, timeout: timeout) + { cache = new CredentialCache { { new Uri(host), "Basic", new NetworkCredential(login, password) } }; @@ -244,6 +247,11 @@ private set if (Uri.TryCreate(host, UriKind.Absolute, out Uri uriResult) && (uriResult.Scheme == Uri.UriSchemeHttp || uriResult.Scheme == Uri.UriSchemeHttps)) { + if (Scheme.IsNullOrWhiteSpace()) + { + Scheme = uriResult.Scheme; + } + return; } From f057ceb8800d185c2ac18e7f877e1667feae0a0f Mon Sep 17 00:00:00 2001 From: Elvaron Date: Tue, 27 Jun 2023 12:09:50 +0200 Subject: [PATCH 306/601] UpdateObject not changing Custom Fields in Version objects #301 (#323) --- src/redmine-net-api/Types/Version.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index b7c8b8d9..e094ee27 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -145,6 +145,10 @@ public override void WriteXml(XmlWriter writer) writer.WriteElementString(RedmineKeys.SHARING, Sharing.ToString().ToLowerInv()); writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, DueDate); writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); + if (CustomFields != null) + { + writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); + } } #endregion @@ -272,4 +276,4 @@ public override int GetHashCode() CustomFields={CustomFields.Dump()}]"; } -} \ No newline at end of file +} From 49a9eb69afb097d436f26be651677f91e8f0cb66 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 27 Aug 2023 18:53:21 +0000 Subject: [PATCH 307/601] #324 fix (#327) --- src/redmine-net-api/Types/User.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index 7fcfac3f..7a93bfcf 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -187,7 +187,7 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.MUST_CHANGE_PASSWORD: MustChangePassword = reader.ReadElementContentAsBoolean(); break; case RedmineKeys.PASSWORD_CHANGED_ON: PasswordChangedOn = reader.ReadElementContentAsNullableDateTime(); break; case RedmineKeys.STATUS: Status = (UserStatus)reader.ReadElementContentAsInt(); break; - case RedmineKeys.TWO_FA_SCHEME: TwoFactorAuthenticationScheme = reader.ReadContentAsString(); break; + case RedmineKeys.TWO_FA_SCHEME: TwoFactorAuthenticationScheme = reader.ReadElementContentAsString(); break; case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadElementContentAsNullableDateTime(); break; default: reader.Read(); break; } From 85fec9b7a0e2f5de9d7b309e720e1efc84c0684f Mon Sep 17 00:00:00 2001 From: Padi Date: Tue, 29 Aug 2023 08:25:01 +0000 Subject: [PATCH 308/601] #328 Fix - Getting role ends with exception (#329) --- .../Serialization/XmlRedmineSerializer.cs | 18 ++++++++++-------- src/redmine-net-api/Types/Permission.cs | 14 ++------------ 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs index 15d585d0..be1764a0 100644 --- a/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs @@ -50,7 +50,7 @@ public XmlRedmineSerializer(XmlWriterSettings xmlWriterSettings) } catch (Exception ex) { - throw new RedmineException(ex.Message, ex); + throw new RedmineException(ex.GetBaseException().Message, ex); } } @@ -62,7 +62,7 @@ public XmlRedmineSerializer(XmlWriterSettings xmlWriterSettings) } catch (Exception ex) { - throw new RedmineException(ex.Message, ex); + throw new RedmineException(ex.GetBaseException().Message, ex); } } @@ -76,7 +76,7 @@ public XmlRedmineSerializer(XmlWriterSettings xmlWriterSettings) } catch (Exception ex) { - throw new RedmineException(ex.Message, ex); + throw new RedmineException(ex.GetBaseException().Message, ex); } } #pragma warning restore CA1822 @@ -91,7 +91,7 @@ public string Serialize(T entity) where T : class } catch (Exception ex) { - throw new RedmineException(ex.Message, ex); + throw new RedmineException(ex.GetBaseException().Message, ex); } } @@ -109,12 +109,14 @@ public string Serialize(T entity) where T : class throw new ArgumentNullException(nameof(xmlResponse), $"Could not deserialize null or empty input for type '{typeof(T).Name}'."); } - using (TextReader stringReader = new StringReader(xmlResponse)) + using (var stringReader = new StringReader(xmlResponse)) { - using (var xmlReader = XmlReader.Create(stringReader)) + using (var xmlReader = XmlTextReaderBuilder.Create(stringReader)) { - xmlReader.Read(); - xmlReader.Read(); + while (xmlReader.NodeType == XmlNodeType.None || xmlReader.NodeType == XmlNodeType.XmlDeclaration) + { + xmlReader.Read(); + } var totalItems = xmlReader.ReadAttributeAsInt(RedmineKeys.TOTAL_COUNT); diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index f912a2e9..13fb4e9d 100644 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -54,19 +54,9 @@ public sealed class Permission : IXmlSerializable, IJsonSerializable, IEquatable public void ReadXml(XmlReader reader) { reader.Read(); - while (!reader.EOF) + if (reader.NodeType == XmlNodeType.Text) { - if (reader.IsEmptyElement && !reader.HasAttributes) - { - reader.Read(); - continue; - } - - switch (reader.Name) - { - case RedmineKeys.PERMISSION: Info = reader.ReadElementContentAsString(); break; - default: reader.Read(); break; - } + Info = reader.Value; } } From b4319206d8cfe991dfb292d000c8cc3d2ef97cbe Mon Sep 17 00:00:00 2001 From: Padi Date: Tue, 3 Oct 2023 08:22:09 +0000 Subject: [PATCH 309/601] [Journal] Add support for notes update (#335) --- src/redmine-net-api/RedmineManager.cs | 3 ++- src/redmine-net-api/Types/Journal.cs | 18 +++++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 50bd7f60..df24603c 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -64,7 +64,8 @@ public class RedmineManager : IRedmineManager {typeof(Watcher), "watchers"}, {typeof(IssueCustomField), "custom_fields"}, {typeof(CustomField), "custom_fields"}, - {typeof(Search), "search"} + {typeof(Search), "search"}, + {typeof(Journal), "journals"} }; /// diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index 7cee01df..9558fa8a 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -48,7 +48,9 @@ public sealed class Journal : Identifiable /// /// The notes. /// - public string Notes { get; internal set; } + /// Setting Notes to string.empty or null will destroy the journal + /// + public string Notes { get; set; } /// /// Gets or sets the created on. @@ -101,6 +103,13 @@ public override void ReadXml(XmlReader reader) } } } + + /// + public override void WriteXml(XmlWriter writer) + { + writer.WriteElementString(RedmineKeys.NOTES, Notes); + } + #endregion #region Implementation of IJsonSerialization @@ -136,6 +145,13 @@ public override void ReadJson(JsonReader reader) } } } + + /// + public override void WriteJson(JsonWriter writer) + { + writer.WriteProperty(RedmineKeys.NOTES, Notes); + } + #endregion #region Implementation of IEquatable From 30d9ca2f93ba7cc8623c7670dcb66d323864a560 Mon Sep 17 00:00:00 2001 From: Padi Date: Tue, 3 Oct 2023 10:16:50 +0000 Subject: [PATCH 310/601] [New][RedmineManagerExtension] Add GetProjectFiles (#336) --- .../Extensions/RedmineManagerExtensions.cs | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index 5a1cbfce..987bc928 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -61,6 +61,14 @@ public static News AddProjectNews(this RedmineManager redmineManager, string pro return WebApiHelper.ExecuteUpload(redmineManager, Uri.EscapeUriString($"{redmineManager.Host}/project/{projectIdentifier}/news.{redmineManager.Format}"), HttpVerbs.POST, data); } + /// + /// + /// + /// + /// + /// + /// + /// public static PagedResults GetProjectMemberships(this RedmineManager redmineManager, string projectIdentifier, NameValueCollection nameValueCollection) { if (projectIdentifier.IsNullOrWhiteSpace()) @@ -70,5 +78,23 @@ public static PagedResults GetProjectMemberships(this Redmine return WebApiHelper.ExecuteDownloadList(redmineManager, Uri.EscapeUriString($"{redmineManager.Host}/project/{projectIdentifier}/memberships.{redmineManager.Format}"), nameValueCollection); } + + /// + /// + /// + /// + /// + /// + /// + /// + public static PagedResults GetProjectFiles(this RedmineManager redmineManager, string projectIdentifier, NameValueCollection nameValueCollection) + { + if (projectIdentifier.IsNullOrWhiteSpace()) + { + throw new RedmineException($"Argument '{nameof(projectIdentifier)}' is null"); + } + + return WebApiHelper.ExecuteDownloadList(redmineManager, Uri.EscapeUriString($"{redmineManager.Host}/project/{projectIdentifier}/files.{redmineManager.Format}"), nameValueCollection); + } } } \ No newline at end of file From 3876d0210598a7060d9ca23874bc589a1c4b3cc2 Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 24 Nov 2023 12:35:28 +0000 Subject: [PATCH 311/601] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 06420b3d..28ec1021 100755 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![Redmine .NET Api](https://github.com/zapadi/redmine-net-api/workflows/CI%2FCD/badge.svg?branch=master) ![Appveyor last build status](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true&passingText=master%20-%20OK&failingText=ups...) [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) -![Nuget](https://img.shields.io/nuget/dt/redmine-net-api) +![Nuget](https://img.shields.io/nuget/dt/redmine-net) Buy Me A Coffee From a1267eef1e5eff4486a70e5b086b295159608b63 Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 24 Nov 2023 12:36:31 +0000 Subject: [PATCH 312/601] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 28ec1021..5d79c737 100755 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![Redmine .NET Api](https://github.com/zapadi/redmine-net-api/workflows/CI%2FCD/badge.svg?branch=master) ![Appveyor last build status](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true&passingText=master%20-%20OK&failingText=ups...) [![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) -![Nuget](https://img.shields.io/nuget/dt/redmine-net) +![Nuget](https://img.shields.io/nuget/dt/redmine-api) Buy Me A Coffee From 8c961a403703151c42b4c5592d8240160e4e2367 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 26 Nov 2023 02:16:29 +0200 Subject: [PATCH 313/601] [Csproj] Clean up --- Directory.Build.props | 10 +- src/redmine-net-api/redmine-net-api.csproj | 142 +-------- tests/redmine-net-api.Tests/TestHelper.cs | 1 - .../redmine-net-api.Tests.csproj | 296 ++++-------------- 4 files changed, 81 insertions(+), 368 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 88b08f71..60f98518 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -26,12 +26,16 @@ - - + true + embedded false $(SolutionDir)/artifacts - + + + + + diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 811bb8c3..0684adee 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -2,10 +2,10 @@ - net20;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard2.0;netstandard2.1 - false Redmine.Net.Api redmine-net-api + net20;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;net481;net60;net70; + false False true TRACE @@ -22,137 +22,33 @@ CA1724; CA1806; CA2227; + CS0612; + CS0618; + CA1002; - - - NET20;NETFULL - - - - NET40;NETFULL - - - - NET45;NETFULL - - - - NET451;NETFULL - - - - NET452;NETFULL - - - - NET46;NETFULL - - - - NET461;NETFULL - - - - NET462;NETFULL - - - - NET47;NETFULL - - - - NET471;NETFULL - - - - NET472;NETFULL - - - - NET48;NETFULL - - - - NETSTANDARD13;NETSTANDARD - - - - NETSTANDARD20;NETSTANDARD - - - - NETSTANDARD21;NETSTANDARD + + + true + true + AllEnabledByDefault + latest - + - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -167,11 +63,7 @@ - - <_Parameter1 Condition="'$(Sign)' == '' OR '$(Sign)' == 'false'">$(MSBuildProjectName).Tests - <_Parameter1 Condition="'$(Sign)' == 'true'">$(MSBuildProjectName).Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100678670c10a958cde6b74892d5207885bd2ab375255b85fd7794d60ff01ba1cf81aaff13f54d8a08a8f8c7816ef4fc0138de7941031e47b5b0c5d51f58cbfe6c5652e11cfa0865e2d0a860f47f73b701e6758e3e381665f7664f938462c9eb9bdc17312621e984981227fd9d38dbec5288e269d42836b9c8fc4c8ebd0282ca4d3 - - + \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/TestHelper.cs b/tests/redmine-net-api.Tests/TestHelper.cs index c49785c6..785a5607 100644 --- a/tests/redmine-net-api.Tests/TestHelper.cs +++ b/tests/redmine-net-api.Tests/TestHelper.cs @@ -15,7 +15,6 @@ public static IConfigurationRoot GetIConfigurationRoot(string outputPath) .AddJsonFile("appsettings.json", optional: true) .AddJsonFile($"appsettings.{environment}.json", optional: true) .AddUserSecrets("f8b9e946-b547-42f1-861c-f719dca00a84") - .AddEnvironmentVariables() .Build(); } diff --git a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index 5ee231fe..3de7e771 100644 --- a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -1,79 +1,21 @@ + + Padi.DotNet.RedmineAPI.Tests + $(AssemblyName) + false + net481 + net451;net452;net46;net461;net462;net47;net471;net472;net48;net481; + false + f8b9e946-b547-42f1-861c-f719dca00a84 + Release;Debug;DebugJson + - - false - net48 - net451;net452;net46;net461;net462;net47;net471;net472;net48; - false - Padi.RedmineApi.Tests - - f8b9e946-b547-42f1-861c-f719dca00a84 - Release;Debug;DebugJson - - redmine-api-test - redmine-api-test-signed - - - - true - ..\..\redmine-net-api.snk - - - - NET20;NETFULL - - - - NET40;NETFULL - - - - DEBUG;NET45;NETFULL; - - - - DEBUG;NET451;NETFULL;DEBUG_JSON - - - - NET452;NETFULL - - - - NET46;NETFULL - - - - NET461;NETFULL - - - - NET462;NETFULL - - - - - NET47;NETFULL - - - - NET471;NETFULL - - - - NET472;NETFULL - - - - NET48;NETFULL - - - - false - - + + |net45|net451|net452|net46|net461| + + AnyCPU true @@ -84,7 +26,7 @@ prompt 4 - + AnyCPU true @@ -95,6 +37,7 @@ prompt 4 + AnyCPU pdbonly @@ -105,170 +48,45 @@ 4 - - - - - - - - - - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - - - - - - - - - - - - - redmine-net-api.snk - - - - - - PreserveNewest - - - - - - 1.1.0 - - - 1.1.0 - - - 1.1.0 - - - - - - 1.1.0 - - - 1.1.0 - - - 1.1.0 - - - - - - 1.1.0 - - - 1.1.0 - - - 1.1.0 - - - - - - 1.1.0 - - - 1.1.0 - - - 1.1.0 - - - - - - 1.1.0 - - - 1.1.0 - - - 1.1.0 - - - - - - 1.1.0 - - - 1.1.0 - - - 1.1.0 - - - - - - 1.1.0 - - - 1.1.0 - - - 1.1.0 - - - - - - 1.1.0 - - - 1.1.0 - - - 1.1.0 - - - - - - 1.1.0 - - - 1.1.0 - - - 1.1.0 - - - - + + + + + + + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + PreserveNewest + + + \ No newline at end of file From 8f0f839a1499c84da24d12c498628b7472b1f3c7 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 26 Nov 2023 18:56:44 +0200 Subject: [PATCH 314/601] [LangVersion] Set to 11 --- Directory.Build.props | 2 ++ src/redmine-net-api/redmine-net-api.csproj | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index 60f98518..d0f44311 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -26,6 +26,8 @@ + 11 + strict true embedded false diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 0684adee..d6eff592 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -11,7 +11,6 @@ TRACE Debug;Release;DebugJson PackageReference - 7.3 NU5105; CA1303; From b5a7e818449b52723f3423c5dd03eb753433809b Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 26 Nov 2023 18:56:13 +0200 Subject: [PATCH 315/601] [Replace] DataHelper with SerializationHelper --- .../Async/RedmineManagerAsync45.cs | 4 +- src/redmine-net-api/Internals/DataHelper.cs | 37 ------------------- src/redmine-net-api/RedmineManager.cs | 4 +- .../Serialization/SerializationHelper.cs | 23 ++++++++++++ 4 files changed, 27 insertions(+), 41 deletions(-) delete mode 100755 src/redmine-net-api/Internals/DataHelper.cs create mode 100644 src/redmine-net-api/Serialization/SerializationHelper.cs diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Async/RedmineManagerAsync45.cs index 1cdc2725..2020dee6 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Async/RedmineManagerAsync45.cs @@ -172,7 +172,7 @@ public static async Task> GetAllWikiPagesAsync(this RedmineManage /// public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, int groupId, int userId) { - var data = DataHelper.UserData(userId, redmineManager.MimeFormat); + var data = SerializationHelper.SerializeUserId(userId, redmineManager.MimeFormat); var uri = UrlHelper.GetAddUserToGroupUrl(redmineManager, groupId); await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data).ConfigureAwait(false); @@ -200,7 +200,7 @@ public static async Task RemoveUserFromGroupAsync(this RedmineManager redmineMan /// public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManager, int issueId, int userId) { - var data = DataHelper.UserData(userId, redmineManager.MimeFormat); + var data = SerializationHelper.SerializeUserId(userId, redmineManager.MimeFormat); var uri = UrlHelper.GetAddWatcherUrl(redmineManager, issueId); await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data).ConfigureAwait(false); diff --git a/src/redmine-net-api/Internals/DataHelper.cs b/src/redmine-net-api/Internals/DataHelper.cs deleted file mode 100755 index 7686e2fa..00000000 --- a/src/redmine-net-api/Internals/DataHelper.cs +++ /dev/null @@ -1,37 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -namespace Redmine.Net.Api.Internals -{ - /// - /// - /// - internal static class DataHelper - { - /// - /// Users the data. - /// - /// The user identifier. - /// The MIME format. - /// - public static string UserData(int userId, MimeFormat mimeFormat) - { - return mimeFormat == MimeFormat.Xml - ? $"{userId}" - : $"{{\"user_id\":\"{userId}\"}}"; - } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index df24603c..4b732745 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -351,7 +351,7 @@ public MyAccount GetMyAccount() public void AddWatcherToIssue(int issueId, int userId) { var url = UrlHelper.GetAddWatcherUrl(this, issueId); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, DataHelper.UserData(userId, MimeFormat)); + WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, SerializationHelper.SerializeUserId(userId, MimeFormat)); } /// @@ -373,7 +373,7 @@ public void RemoveWatcherFromIssue(int issueId, int userId) public void AddUserToGroup(int groupId, int userId) { var url = UrlHelper.GetAddUserToGroupUrl(this, groupId); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, DataHelper.UserData(userId, MimeFormat)); + WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, SerializationHelper.SerializeUserId(userId, MimeFormat)); } /// diff --git a/src/redmine-net-api/Serialization/SerializationHelper.cs b/src/redmine-net-api/Serialization/SerializationHelper.cs new file mode 100644 index 00000000..678b22c7 --- /dev/null +++ b/src/redmine-net-api/Serialization/SerializationHelper.cs @@ -0,0 +1,23 @@ +using System.Globalization; + +namespace Redmine.Net.Api +{ + /// + /// + /// + internal static class SerializationHelper + { + /// + /// + /// + /// + /// + /// + public static string SerializeUserId(int userId, MimeFormat mimeFormat) + { + return mimeFormat == MimeFormat.Xml + ? $"{userId.ToString(CultureInfo.InvariantCulture)}" + : $"{{\"user_id\":\"{userId.ToString(CultureInfo.InvariantCulture)}\"}}"; + } + } +} \ No newline at end of file From 3585478c223d0c72609006e0a63838d6bccf3d87 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 26 Nov 2023 19:28:31 +0200 Subject: [PATCH 316/601] [Rearrange] Serialization files --- .../{ => Serialization/Json}/Extensions/JsonReaderExtensions.cs | 0 .../{ => Serialization/Json}/Extensions/JsonWriterExtensions.cs | 0 .../Serialization/{ => Json}/IJsonSerializable.cs | 0 src/redmine-net-api/Serialization/{ => Json}/JsonObject.cs | 0 .../Serialization/{ => Json}/JsonRedmineSerializer.cs | 0 src/redmine-net-api/{ => Serialization}/MimeFormat.cs | 1 - src/redmine-net-api/Serialization/{ => Xml}/CacheKeyFactory.cs | 0 .../{ => Serialization/Xml}/Extensions/XmlReaderExtensions.cs | 0 .../{ => Serialization/Xml}/Extensions/XmlWriterExtensions.cs | 0 .../Serialization/{ => Xml}/IXmlSerializerCache.cs | 0 .../Serialization/{ => Xml}/XmlRedmineSerializer.cs | 0 .../Serialization/{ => Xml}/XmlSerializerCache.cs | 0 .../{Internals => Serialization/Xml}/XmlTextReaderBuilder.cs | 0 13 files changed, 1 deletion(-) rename src/redmine-net-api/{ => Serialization/Json}/Extensions/JsonReaderExtensions.cs (100%) rename src/redmine-net-api/{ => Serialization/Json}/Extensions/JsonWriterExtensions.cs (100%) rename src/redmine-net-api/Serialization/{ => Json}/IJsonSerializable.cs (100%) rename src/redmine-net-api/Serialization/{ => Json}/JsonObject.cs (100%) rename src/redmine-net-api/Serialization/{ => Json}/JsonRedmineSerializer.cs (100%) rename src/redmine-net-api/{ => Serialization}/MimeFormat.cs (99%) rename src/redmine-net-api/Serialization/{ => Xml}/CacheKeyFactory.cs (100%) rename src/redmine-net-api/{ => Serialization/Xml}/Extensions/XmlReaderExtensions.cs (100%) rename src/redmine-net-api/{ => Serialization/Xml}/Extensions/XmlWriterExtensions.cs (100%) rename src/redmine-net-api/Serialization/{ => Xml}/IXmlSerializerCache.cs (100%) rename src/redmine-net-api/Serialization/{ => Xml}/XmlRedmineSerializer.cs (100%) rename src/redmine-net-api/Serialization/{ => Xml}/XmlSerializerCache.cs (100%) rename src/redmine-net-api/{Internals => Serialization/Xml}/XmlTextReaderBuilder.cs (100%) diff --git a/src/redmine-net-api/Extensions/JsonReaderExtensions.cs b/src/redmine-net-api/Serialization/Json/Extensions/JsonReaderExtensions.cs similarity index 100% rename from src/redmine-net-api/Extensions/JsonReaderExtensions.cs rename to src/redmine-net-api/Serialization/Json/Extensions/JsonReaderExtensions.cs diff --git a/src/redmine-net-api/Extensions/JsonWriterExtensions.cs b/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs similarity index 100% rename from src/redmine-net-api/Extensions/JsonWriterExtensions.cs rename to src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs diff --git a/src/redmine-net-api/Serialization/IJsonSerializable.cs b/src/redmine-net-api/Serialization/Json/IJsonSerializable.cs similarity index 100% rename from src/redmine-net-api/Serialization/IJsonSerializable.cs rename to src/redmine-net-api/Serialization/Json/IJsonSerializable.cs diff --git a/src/redmine-net-api/Serialization/JsonObject.cs b/src/redmine-net-api/Serialization/Json/JsonObject.cs similarity index 100% rename from src/redmine-net-api/Serialization/JsonObject.cs rename to src/redmine-net-api/Serialization/Json/JsonObject.cs diff --git a/src/redmine-net-api/Serialization/JsonRedmineSerializer.cs b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs similarity index 100% rename from src/redmine-net-api/Serialization/JsonRedmineSerializer.cs rename to src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs diff --git a/src/redmine-net-api/MimeFormat.cs b/src/redmine-net-api/Serialization/MimeFormat.cs similarity index 99% rename from src/redmine-net-api/MimeFormat.cs rename to src/redmine-net-api/Serialization/MimeFormat.cs index 8bc2b2ae..5f755688 100755 --- a/src/redmine-net-api/MimeFormat.cs +++ b/src/redmine-net-api/Serialization/MimeFormat.cs @@ -14,7 +14,6 @@ You may obtain a copy of the License at limitations under the License. */ - namespace Redmine.Net.Api { /// diff --git a/src/redmine-net-api/Serialization/CacheKeyFactory.cs b/src/redmine-net-api/Serialization/Xml/CacheKeyFactory.cs similarity index 100% rename from src/redmine-net-api/Serialization/CacheKeyFactory.cs rename to src/redmine-net-api/Serialization/Xml/CacheKeyFactory.cs diff --git a/src/redmine-net-api/Extensions/XmlReaderExtensions.cs b/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs similarity index 100% rename from src/redmine-net-api/Extensions/XmlReaderExtensions.cs rename to src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs diff --git a/src/redmine-net-api/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs similarity index 100% rename from src/redmine-net-api/Extensions/XmlWriterExtensions.cs rename to src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs diff --git a/src/redmine-net-api/Serialization/IXmlSerializerCache.cs b/src/redmine-net-api/Serialization/Xml/IXmlSerializerCache.cs similarity index 100% rename from src/redmine-net-api/Serialization/IXmlSerializerCache.cs rename to src/redmine-net-api/Serialization/Xml/IXmlSerializerCache.cs diff --git a/src/redmine-net-api/Serialization/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs similarity index 100% rename from src/redmine-net-api/Serialization/XmlRedmineSerializer.cs rename to src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs diff --git a/src/redmine-net-api/Serialization/XmlSerializerCache.cs b/src/redmine-net-api/Serialization/Xml/XmlSerializerCache.cs similarity index 100% rename from src/redmine-net-api/Serialization/XmlSerializerCache.cs rename to src/redmine-net-api/Serialization/Xml/XmlSerializerCache.cs diff --git a/src/redmine-net-api/Internals/XmlTextReaderBuilder.cs b/src/redmine-net-api/Serialization/Xml/XmlTextReaderBuilder.cs similarity index 100% rename from src/redmine-net-api/Internals/XmlTextReaderBuilder.cs rename to src/redmine-net-api/Serialization/Xml/XmlTextReaderBuilder.cs From 3259d2a506d1ee421c29b3ff493d6c32324d2034 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 26 Nov 2023 18:55:17 +0200 Subject: [PATCH 317/601] [Rearrange] .NET 20 files & PagedResults --- .../{Extensions => Features/net20}/ExtensionAttribute.cs | 2 +- src/redmine-net-api/{Internals => Features/net20}/Func.cs | 0 src/redmine-net-api/{Serialization => Types}/PagedResults.cs | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename src/redmine-net-api/{Extensions => Features/net20}/ExtensionAttribute.cs (94%) rename src/redmine-net-api/{Internals => Features/net20}/Func.cs (100%) rename src/redmine-net-api/{Serialization => Types}/PagedResults.cs (100%) diff --git a/src/redmine-net-api/Extensions/ExtensionAttribute.cs b/src/redmine-net-api/Features/net20/ExtensionAttribute.cs similarity index 94% rename from src/redmine-net-api/Extensions/ExtensionAttribute.cs rename to src/redmine-net-api/Features/net20/ExtensionAttribute.cs index cdb7b66b..7aa12379 100755 --- a/src/redmine-net-api/Extensions/ExtensionAttribute.cs +++ b/src/redmine-net-api/Features/net20/ExtensionAttribute.cs @@ -23,7 +23,7 @@ namespace System.Runtime.CompilerServices /// /// [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method, AllowMultiple=false, Inherited=false)] - public class ExtensionAttribute: Attribute + public sealed class ExtensionAttribute: Attribute { } } diff --git a/src/redmine-net-api/Internals/Func.cs b/src/redmine-net-api/Features/net20/Func.cs similarity index 100% rename from src/redmine-net-api/Internals/Func.cs rename to src/redmine-net-api/Features/net20/Func.cs diff --git a/src/redmine-net-api/Serialization/PagedResults.cs b/src/redmine-net-api/Types/PagedResults.cs similarity index 100% rename from src/redmine-net-api/Serialization/PagedResults.cs rename to src/redmine-net-api/Types/PagedResults.cs From c577d3d6f60640467acdea05f3092d679a18030c Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 26 Nov 2023 19:28:56 +0200 Subject: [PATCH 318/601] [Rearrange] Grouped WebClient related files --- src/redmine-net-api/{ => Net}/HttpVerbs.cs | 0 src/redmine-net-api/{ => Net}/RedirectType.cs | 0 .../WebClient}/Extensions/NameValueCollectionExtensions.cs | 0 .../{ => Net/WebClient}/Extensions/WebExtensions.cs | 0 src/redmine-net-api/{ => Net/WebClient}/IRedmineWebClient.cs | 0 src/redmine-net-api/{ => Net/WebClient}/RedmineWebClient.cs | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename src/redmine-net-api/{ => Net}/HttpVerbs.cs (100%) rename src/redmine-net-api/{ => Net}/RedirectType.cs (100%) rename src/redmine-net-api/{ => Net/WebClient}/Extensions/NameValueCollectionExtensions.cs (100%) rename src/redmine-net-api/{ => Net/WebClient}/Extensions/WebExtensions.cs (100%) rename src/redmine-net-api/{ => Net/WebClient}/IRedmineWebClient.cs (100%) rename src/redmine-net-api/{ => Net/WebClient}/RedmineWebClient.cs (100%) diff --git a/src/redmine-net-api/HttpVerbs.cs b/src/redmine-net-api/Net/HttpVerbs.cs similarity index 100% rename from src/redmine-net-api/HttpVerbs.cs rename to src/redmine-net-api/Net/HttpVerbs.cs diff --git a/src/redmine-net-api/RedirectType.cs b/src/redmine-net-api/Net/RedirectType.cs similarity index 100% rename from src/redmine-net-api/RedirectType.cs rename to src/redmine-net-api/Net/RedirectType.cs diff --git a/src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs similarity index 100% rename from src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs rename to src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs diff --git a/src/redmine-net-api/Extensions/WebExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs similarity index 100% rename from src/redmine-net-api/Extensions/WebExtensions.cs rename to src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs diff --git a/src/redmine-net-api/IRedmineWebClient.cs b/src/redmine-net-api/Net/WebClient/IRedmineWebClient.cs similarity index 100% rename from src/redmine-net-api/IRedmineWebClient.cs rename to src/redmine-net-api/Net/WebClient/IRedmineWebClient.cs diff --git a/src/redmine-net-api/RedmineWebClient.cs b/src/redmine-net-api/Net/WebClient/RedmineWebClient.cs similarity index 100% rename from src/redmine-net-api/RedmineWebClient.cs rename to src/redmine-net-api/Net/WebClient/RedmineWebClient.cs From bd231dc79069d1921054f6fd468f1e6c63f38977 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 24 Oct 2023 19:37:25 +0300 Subject: [PATCH 319/601] [RedmineKeys] Add new keys --- src/redmine-net-api/RedmineKeys.cs | 34 +++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index 081ba422..ba82b08f 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -172,8 +172,11 @@ public static class RedmineKeys /// /// /// + public const string DEFAULT_ASSIGNED_TO_ID = "default_assigned_to_id"; + /// + /// + /// public const string DEFAULT_STATUS = "default_status"; - /// /// /// @@ -185,6 +188,10 @@ public static class RedmineKeys /// /// /// + public const string DEFAULT_VERSION_ID = "default_version_id"; + /// + /// + /// public const string DELAY = "delay"; /// /// @@ -229,6 +236,14 @@ public static class RedmineKeys /// /// /// + public const string ENUMERATION_ISSUE_PRIORITIES = "enumerations/issue_priorities"; + /// + /// + /// + public const string ENUMERATION_TIME_ENTRY_ACTIVITIES = "enumerations/time_entry_activities"; + /// + /// + /// public const string ERROR = "error"; /// /// @@ -351,6 +366,10 @@ public static class RedmineKeys /// /// /// + public const string ISSUE_STATUSES = "issue_statuses"; + /// + /// + /// public const string ISSUE_TO_ID = "issue_to_id"; /// /// @@ -542,6 +561,10 @@ public static class RedmineKeys /// public const string QUERY = "query"; /// + /// + /// + public const string QUERIES = "queries"; + /// /// /// public const string REASSIGN_TO_ID = "reassign_to_id"; @@ -592,6 +615,10 @@ public static class RedmineKeys /// /// /// + public const string SEARCH = "search"; + /// + /// + /// public const string SHARING = "sharing"; /// /// @@ -640,6 +667,10 @@ public static class RedmineKeys /// /// /// + public const string TIME_ENTRIES = "time_entries"; + /// + /// + /// public const string TIME_ENTRY_ACTIVITIES = "time_entry_activities"; /// /// @@ -783,5 +814,6 @@ public static class RedmineKeys /// public const string WIKI_PAGES = "wiki_pages"; + } } \ No newline at end of file From 943cb24188c651657e51d66ded7fc1ad26178120 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 26 Nov 2023 19:17:26 +0200 Subject: [PATCH 320/601] [New] RedmineConstants --- src/redmine-net-api/RedmineConstants.cs | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/redmine-net-api/RedmineConstants.cs diff --git a/src/redmine-net-api/RedmineConstants.cs b/src/redmine-net-api/RedmineConstants.cs new file mode 100644 index 00000000..6aa78d05 --- /dev/null +++ b/src/redmine-net-api/RedmineConstants.cs @@ -0,0 +1,30 @@ +namespace Redmine.Net.Api +{ + /// + /// + /// + public static class RedmineConstants + { + /// + /// + /// + public const string OBSOLETE_TEXT = "In next major release, it will no longer be available."; + /// + /// + /// + public const int DEFAULT_PAGE_SIZE_VALUE = 25; + + /// + /// + /// + public const string CONTENT_TYPE_APPLICATION_JSON = "application/json"; + /// + /// + /// + public const string CONTENT_TYPE_APPLICATION_XML = "application/xml"; + /// + /// + /// + public const string CONTENT_TYPE_APPLICATION_STREAM = "application/octet-stream"; + } +} \ No newline at end of file From 5a66e17b788cc0e51947078799e38dcaa9451092 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 26 Nov 2023 19:18:22 +0200 Subject: [PATCH 321/601] [New] SerializationType --- .../Serialization/SerializationType.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/redmine-net-api/Serialization/SerializationType.cs diff --git a/src/redmine-net-api/Serialization/SerializationType.cs b/src/redmine-net-api/Serialization/SerializationType.cs new file mode 100644 index 00000000..e57dd054 --- /dev/null +++ b/src/redmine-net-api/Serialization/SerializationType.cs @@ -0,0 +1,16 @@ +namespace Redmine.Net.Api.Serialization +{ + /// + /// + /// + public enum SerializationType + { + /// + /// + Xml, + /// + /// The json + /// + Json + } +} \ No newline at end of file From d24a7b8ed38ad1f5452e75557ab8ee951ed42dfd Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 24 Oct 2023 19:40:20 +0300 Subject: [PATCH 322/601] [New] RedmineApiException --- .../Exceptions/RedmineApiException.cs | 95 +++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 src/redmine-net-api/Exceptions/RedmineApiException.cs diff --git a/src/redmine-net-api/Exceptions/RedmineApiException.cs b/src/redmine-net-api/Exceptions/RedmineApiException.cs new file mode 100644 index 00000000..ad3b114b --- /dev/null +++ b/src/redmine-net-api/Exceptions/RedmineApiException.cs @@ -0,0 +1,95 @@ +using System; +using System.Runtime.Serialization; + +namespace Redmine.Net.Api.Exceptions +{ + /// + /// + /// + [Serializable] + public sealed class RedmineApiException : RedmineException + { + /// + /// + /// + public RedmineApiException() + : this(errorCode: null, false) + { + } + + /// + /// + /// + /// + public RedmineApiException(string message) + : this(message, errorCode: null, false) + { + } + + /// + /// + /// + /// + /// + public RedmineApiException(string message, Exception innerException) + : this(message, innerException, errorCode: null, false) + { + } + + /// + /// + /// + /// + /// + public RedmineApiException(string errorCode, bool isTransient) + : this(string.Empty, errorCode, isTransient) + { + } + + /// + /// + /// + /// + /// + /// + public RedmineApiException(string message, string errorCode, bool isTransient) + : this(message, null, errorCode, isTransient) + { + } + + /// + /// + /// + /// + /// + /// + /// + public RedmineApiException(string message, Exception inner, string errorCode, bool isTransient) + : base(message, inner) + { + this.ErrorCode = errorCode ?? "UNKNOWN"; + this.IsTransient = isTransient; + } + + /// + /// Gets the error code parameter. + /// + /// The error code associated with the exception. + public string ErrorCode { get; } + + /// + /// Gets a value indicating whether gets exception is Transient and operation can be retried. + /// + /// Value indicating whether the exception is transient or not. + public bool IsTransient { get; } + + /// + public override void GetObjectData(SerializationInfo info, StreamingContext context) + { + base.GetObjectData(info, context); + + info.AddValue(nameof(this.ErrorCode), this.ErrorCode); + info.AddValue(nameof(this.IsTransient), this.IsTransient); + } + } +} \ No newline at end of file From e54ea32a867f1c226dfd0c94730522ec9067c55d Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 26 Nov 2023 20:33:39 +0200 Subject: [PATCH 323/601] [Extensions] Improvements --- .../Extensions/CollectionExtensions.cs | 57 +++++++++--------- .../Extensions/StringExtensions.cs | 29 +++++----- .../NameValueCollectionExtensions.cs | 9 +-- .../Json/Extensions/JsonReaderExtensions.cs | 9 ++- .../Json/Extensions/JsonWriterExtensions.cs | 58 ++++++++++++++----- .../Xml/Extensions/XmlReaderExtensions.cs | 5 +- 6 files changed, 93 insertions(+), 74 deletions(-) diff --git a/src/redmine-net-api/Extensions/CollectionExtensions.cs b/src/redmine-net-api/Extensions/CollectionExtensions.cs index e01f1e57..5a14bfe3 100755 --- a/src/redmine-net-api/Extensions/CollectionExtensions.cs +++ b/src/redmine-net-api/Extensions/CollectionExtensions.cs @@ -23,8 +23,6 @@ namespace Redmine.Net.Api.Extensions /// /// /// - - public static class CollectionExtensions { /// @@ -35,18 +33,24 @@ public static class CollectionExtensions /// public static IList Clone(this IList listToClone) where T : ICloneable { - if (listToClone == null) return null; - IList clonedList = new List(); - foreach (var item in listToClone) + if (listToClone == null) + { + return null; + } + + var clonedList = new List(); + + for (var index = 0; index < listToClone.Count; index++) { + var item = listToClone[index]; clonedList.Add((T) item.Clone()); } + return clonedList; } - - + /// - /// Equalses the specified list to compare. + /// /// /// /// The list. @@ -54,26 +58,23 @@ public static IList Clone(this IList listToClone) where T : ICloneable /// public static bool Equals(this IList list, IList listToCompare) where T : class { - if (list ==null || listToCompare == null) return false; - -#if NET20 + if (list == null || listToCompare == null) + { + return false; + } + if (list.Count != listToCompare.Count) { return false; } + var index = 0; - while (index < list.Count && (list[index] as T).Equals(listToCompare[index] as T)) + while (index < list.Count && list[index].Equals(listToCompare[index])) { index++; } return index == list.Count; -#else - var set = new HashSet(list); - var setToCompare = new HashSet(listToCompare); - - return set.SetEquals(setToCompare); -#endif } /// @@ -87,21 +88,23 @@ public static string Dump(this IEnumerable collection) where TIn : cla return null; } - var sb = new StringBuilder(); + var sb = new StringBuilder("{"); + foreach (var item in collection) { - sb.Append(",").Append(item); + sb.Append(item).Append(','); } - sb[0] = '{'; - sb.Append("}"); + if (sb.Length > 1) + { + sb.Length -= 1; + } + + sb.Append('}'); var str = sb.ToString(); -#if NET20 - sb = null; -#else - sb.Clear(); -#endif + sb.Length = 0; + return str; } } diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index d0856246..00b73e2f 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -23,7 +23,7 @@ namespace Redmine.Net.Api.Extensions /// /// /// - public static class StringExtensions + public static partial class StringExtensions { /// /// @@ -59,15 +59,12 @@ public static bool IsNullOrWhiteSpace(this string value) /// public static string Truncate(this string text, int maximumLength) { - if (!text.IsNullOrWhiteSpace()) + if (text.IsNullOrWhiteSpace()) { - if (text.Length > maximumLength) - { - text = text.Substring(0, maximumLength); - } + return text; } - - return text; + + return text.Length > maximumLength ? text.Substring(0, maximumLength) : text; } /// @@ -97,23 +94,23 @@ internal static SecureString ToSecureString(this string value) return null; } - using (var rv = new SecureString()) + var rv = new SecureString(); + foreach (var c in value) { - foreach (var c in value) - { - rv.AppendChar(c); - } - - return rv; + rv.AppendChar(c); } + + return rv; } internal static string RemoveTrailingSlash(this string s) { if (string.IsNullOrEmpty(s)) + { return s; + } - if (s.EndsWith("/", StringComparison.OrdinalIgnoreCase) || s.EndsWith("\"", StringComparison.OrdinalIgnoreCase)) + if (s.EndsWith("/", StringComparison.OrdinalIgnoreCase) || s.EndsWith(@"\", StringComparison.OrdinalIgnoreCase)) { return s.Substring(0, s.Length - 1); } diff --git a/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs index 2fd504b8..1ce0a13d 100644 --- a/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs +++ b/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs @@ -79,19 +79,16 @@ public static string ToQueryString(this NameValueCollection requestParameters) { stringBuilder .Append(requestParameters.AllKeys[index].ToString(CultureInfo.InvariantCulture)) - .Append("=") + .Append('=') .Append(requestParameters[index].ToString(CultureInfo.InvariantCulture)) - .Append("&"); + .Append('&'); } stringBuilder.Length -= 1; var queryString = stringBuilder.ToString(); - #if !(NET20) - stringBuilder.Clear(); - #endif - stringBuilder = null; + stringBuilder.Length = 0; return queryString; } diff --git a/src/redmine-net-api/Serialization/Json/Extensions/JsonReaderExtensions.cs b/src/redmine-net-api/Serialization/Json/Extensions/JsonReaderExtensions.cs index ad54ba31..94776ceb 100644 --- a/src/redmine-net-api/Serialization/Json/Extensions/JsonReaderExtensions.cs +++ b/src/redmine-net-api/Serialization/Json/Extensions/JsonReaderExtensions.cs @@ -63,7 +63,7 @@ public static List ReadAsCollection(this JsonReader reader, bool readInner throw new RedmineException($"Entity of type '{typeof(T)}' should implement IJsonSerializable."); } - var col = new List(); + List collection = null; while (reader.Read()) { @@ -89,12 +89,11 @@ public static List ReadAsCollection(this JsonReader reader, bool readInner ((IJsonSerializable)entity).ReadJson(reader); - var des = entity; - - col.Add(des); + collection ??= new List(); + collection.Add(entity); } - return col; + return collection; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs b/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs index 2bbca7dd..0d5bd08e 100644 --- a/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs +++ b/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs @@ -61,14 +61,7 @@ public static void WriteIfNotDefaultOrNull(this JsonWriter writer, string ele return; } - if (value is bool) - { - writer.WriteProperty(elementName, value.ToString().ToLowerInv()); - } - else - { - writer.WriteProperty(elementName, value.ToString()); - } + writer.WriteProperty(elementName, typeof(T) == typeof(bool) ? value.ToString().ToLowerInv() : value.ToString()); } /// @@ -155,6 +148,30 @@ public static void WriteProperty(this JsonWriter jsonWriter, string tag, object jsonWriter.WritePropertyName(tag); jsonWriter.WriteValue(value); } + + /// + /// + /// + /// + /// + /// + public static void WriteProperty(this JsonWriter jsonWriter, string tag, int value) + { + jsonWriter.WritePropertyName(tag); + jsonWriter.WriteValue(value); + } + + /// + /// + /// + /// + /// + /// + public static void WriteProperty(this JsonWriter jsonWriter, string tag, bool value) + { + jsonWriter.WritePropertyName(tag); + jsonWriter.WriteValue(value); + } /// /// @@ -171,8 +188,7 @@ public static void WriteRepeatableElement(this JsonWriter jsonWriter, string tag foreach (var value in collection) { - jsonWriter.WritePropertyName(tag); - jsonWriter.WriteValue(value.Value); + jsonWriter.WriteProperty(tag, value.Value); } } @@ -196,12 +212,17 @@ public static void WriteArrayIds(this JsonWriter jsonWriter, string tag, IEnumer foreach (var identifiableName in collection) { - sb.Append(identifiableName.Id.ToString(CultureInfo.InvariantCulture)).Append(","); + sb.Append(identifiableName.Id.ToString(CultureInfo.InvariantCulture)).Append(','); } - sb.Length -= 1; + if (sb.Length > 1) + { + sb.Length -= 1; + } + jsonWriter.WriteValue(sb.ToString()); - sb= null; + + sb.Length = 0; jsonWriter.WriteEndArray(); } @@ -226,12 +247,17 @@ public static void WriteArrayNames(this JsonWriter jsonWriter, string tag, IEnum foreach (var identifiableName in collection) { - sb.Append(identifiableName.Name).Append(","); + sb.Append(identifiableName.Name).Append(','); + } + + if (sb.Length > 1) + { + sb.Length -= 1; } - sb.Length -= 1; jsonWriter.WriteValue(sb.ToString()); - sb = null; + + sb.Length = 0; jsonWriter.WriteEndArray(); } diff --git a/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs b/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs index 87b2b528..f0312351 100644 --- a/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs @@ -210,10 +210,7 @@ public static List ReadElementContentAsCollection(this XmlReader reader) w if (entity != null) { - if (result == null) - { - result = new List(); - } + result ??= new List(); result.Add(entity); } From 05838102cffa868df2039ef71b6619e734b784ed Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 15:48:10 +0200 Subject: [PATCH 324/601] [Features] Enable for older versions (NET2.0..NET4.8.1) --- .../Features/IsExternalInit.cs | 20 +++++++++++++++++++ .../Features/net20/ExtensionAttribute.cs | 4 +++- src/redmine-net-api/Features/net20/Func.cs | 1 + 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 src/redmine-net-api/Features/IsExternalInit.cs diff --git a/src/redmine-net-api/Features/IsExternalInit.cs b/src/redmine-net-api/Features/IsExternalInit.cs new file mode 100644 index 00000000..6490f153 --- /dev/null +++ b/src/redmine-net-api/Features/IsExternalInit.cs @@ -0,0 +1,20 @@ +#if NET20_OR_GREATER + +// ReSharper disable once CheckNamespace +namespace System.Runtime.CompilerServices +{ + /// + /// Reserved to be used by the compiler for tracking metadata. + /// This class should not be used by developers in source code. + /// + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + internal static class IsExternalInit + { + } +} +#endif + + + + + diff --git a/src/redmine-net-api/Features/net20/ExtensionAttribute.cs b/src/redmine-net-api/Features/net20/ExtensionAttribute.cs index 7aa12379..41a3b55c 100755 --- a/src/redmine-net-api/Features/net20/ExtensionAttribute.cs +++ b/src/redmine-net-api/Features/net20/ExtensionAttribute.cs @@ -16,6 +16,7 @@ limitations under the License. #if NET20 +// ReSharper disable once CheckNamespace namespace System.Runtime.CompilerServices { /// @@ -28,4 +29,5 @@ public sealed class ExtensionAttribute: Attribute } } -#endif \ No newline at end of file +#endif + diff --git a/src/redmine-net-api/Features/net20/Func.cs b/src/redmine-net-api/Features/net20/Func.cs index 0b6a38f2..ce8db0e9 100644 --- a/src/redmine-net-api/Features/net20/Func.cs +++ b/src/redmine-net-api/Features/net20/Func.cs @@ -15,6 +15,7 @@ limitations under the License. */ #if NET20 +// ReSharper disable once CheckNamespace namespace System { /// From 3ab1bcb90607b075668b6c3f0cdc080c8efab478 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 15:48:46 +0200 Subject: [PATCH 325/601] [New] RedmineWebClientOptions --- .../Net/WebClient/RedmineWebClientOptions.cs | 179 ++++++++++++++++++ 1 file changed, 179 insertions(+) create mode 100644 src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs diff --git a/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs b/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs new file mode 100644 index 00000000..05b0c766 --- /dev/null +++ b/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs @@ -0,0 +1,179 @@ +using System; +using System.Collections.Generic; +using System.Net; +using System.Net.Cache; +using System.Net.Security; +using System.Security.Cryptography.X509Certificates; + +namespace Redmine.Net.Api.Net.WebClient; +/// +/// +/// +public sealed class RedmineWebClientOptions: IRedmineApiClientOptions +{ + /// + /// + /// + public bool? AutoRedirect { get; set; } + + /// + /// + /// + public CookieContainer CookieContainer { get; set; } + + /// + /// + /// + public DecompressionMethods? DecompressionFormat { get; set; } + + /// + /// + /// + public ICredentials Credentials { get; set; } + + /// + /// + /// + public Dictionary DefaultHeaders { get; set; } + + /// + /// + /// + public IWebProxy Proxy { get; set; } + + /// + /// + /// + public bool? KeepAlive { get; set; } + + /// + /// + /// + public int? MaxAutomaticRedirections { get; set; } + + /// + /// + /// + public long? MaxRequestContentBufferSize { get; set; } + + /// + /// + /// + public long? MaxResponseContentBufferSize { get; set; } + + /// + /// + /// + public int? MaxConnectionsPerServer { get; set; } + + /// + /// + /// + public int? MaxResponseHeadersLength { get; set; } + + /// + /// + /// + public bool? PreAuthenticate { get; set; } + + /// + /// + /// + public RequestCachePolicy RequestCachePolicy { get; set; } + + /// + /// + /// + public string Scheme { get; set; } = "https"; + + /// + /// + /// + public RemoteCertificateValidationCallback ServerCertificateValidationCallback { get; set; } + + /// + /// + /// + public TimeSpan? Timeout { get; set; } + + /// + /// + /// + public bool? UnsafeAuthenticatedConnectionSharing { get; set; } + + /// + /// + /// + public string UserAgent { get; set; } = "RedmineDotNetAPIClient"; + + /// + /// + /// + public bool? UseCookies { get; set; } + + /// + /// + /// + public bool? UseDefaultCredentials { get; set; } + + /// + /// + /// + public bool? UseProxy { get; set; } + + /// + /// + /// + /// Only HTTP/1.0 and HTTP/1.1 version requests are currently supported. + public Version ProtocolVersion { get; set; } + + + #if NET40_OR_GREATER || NETCOREAPP + /// + /// + /// + public X509CertificateCollection ClientCertificates { get; set; } + #endif + + /// + /// + /// + public bool CheckCertificateRevocationList { get; set; } + + /// + /// + /// + public int? DefaultConnectionLimit { get; set; } + + /// + /// + /// + public int? DnsRefreshTimeout { get; set; } + + /// + /// + /// + public bool? EnableDnsRoundRobin { get; set; } + + /// + /// + /// + public int? MaxServicePoints { get; set; } + + /// + /// + /// + public int? MaxServicePointIdleTime { get; set; } + + #if(NET46_OR_GREATER || NETCOREAPP) + /// + /// + /// + public bool? ReusePort { get; set; } + #endif + + /// + /// + /// + public SecurityProtocolType? SecurityProtocolType { get; set; } +} \ No newline at end of file From 4766320ce3958ac06e96e73ebe97a51728a437b8 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 15:49:26 +0200 Subject: [PATCH 326/601] [New] RedmineManagerOptionsBuilder --- .../RedmineManagerOptionsBuilder.cs | 187 ++++++++++++++++++ 1 file changed, 187 insertions(+) create mode 100644 src/redmine-net-api/RedmineManagerOptionsBuilder.cs diff --git a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs new file mode 100644 index 00000000..e4e1357e --- /dev/null +++ b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs @@ -0,0 +1,187 @@ +using System; +using System.Xml.Serialization; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Serialization; + +namespace Redmine.Net.Api +{ + /// + /// + /// + public sealed class RedmineManagerOptionsBuilder + { + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithPageSize(int pageSize) + { + this.PageSize = pageSize; + return this; + } + + /// + /// + /// + public int PageSize { get; private set; } + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithBaseAddress(string baseAddress) + { + return WithBaseAddress(new Uri(baseAddress)); + } + + /// + /// + /// + public Uri BaseAddress { get; private set; } + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithBaseAddress(Uri baseAddress) + { + this.BaseAddress = baseAddress; + return this; + } + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithSerializationType(SerializationType serializationType) + { + this.SerializationType = serializationType; + return this; + } + + /// + /// + /// + public SerializationType SerializationType { get; private set; } + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithAuthentication(IRedmineAuthentication authentication) + { + this.Authentication = authentication; + return this; + } + + /// + /// + /// + public IRedmineAuthentication Authentication { get; private set; } + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithClient(Func clientFunc) + { + this.ClientFunc = clientFunc; + return this; + } + + /// + /// + /// + public Func ClientFunc { get; private set; } + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithClientOptions(IRedmineApiClientOptions clientOptions) + { + this.ClientOptions = clientOptions; + return this; + } + + /// + /// + /// + public IRedmineApiClientOptions ClientOptions { get; private set; } + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithVersion(Version version) + { + this.Version = version; + return this; + } + + /// + /// + /// + public Version Version { get; set; } + + internal RedmineManagerOptionsBuilder WithVerifyServerCert(bool verifyServerCert) + { + this.VerifyServerCert = verifyServerCert; + return this; + } + + /// + /// + /// + public bool VerifyServerCert { get; private set; } + + /// + /// + /// + /// + internal RedmineManagerOptions Build() + { + if (Authentication == null) + { + throw new RedmineException("Authentication cannot be null"); + } + + var options = new RedmineManagerOptions() + { + PageSize = PageSize > 0 ? PageSize : RedmineManager.DEFAULT_PAGE_SIZE_VALUE, + VerifyServerCert = VerifyServerCert, + Serializer = SerializationType == SerializationType.Xml ? new XmlRedmineSerializer() : new JsonRedmineSerializer(), + Version = Version, + //Authentication = + ClientOptions = ClientOptions, + + }; + + + return options; + } + + + /// + /// + /// + /// + /// + /// + public static bool TryParse(string serviceName, out string parts) + { + parts = null; + return false; + } + + } +} \ No newline at end of file From d1c6adf4ffc41087f761259901c4411e196b737b Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 15:49:45 +0200 Subject: [PATCH 327/601] [New] RedmineManagerOptions --- src/redmine-net-api/RedmineManagerOptions.cs | 53 ++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 src/redmine-net-api/RedmineManagerOptions.cs diff --git a/src/redmine-net-api/RedmineManagerOptions.cs b/src/redmine-net-api/RedmineManagerOptions.cs new file mode 100644 index 00000000..aa35b07f --- /dev/null +++ b/src/redmine-net-api/RedmineManagerOptions.cs @@ -0,0 +1,53 @@ +using System; +using Redmine.Net.Api.Serialization; + +namespace Redmine.Net.Api +{ + /// + /// + /// + internal sealed class RedmineManagerOptions + { + /// + /// + /// + public string BaseAddress { get; init; } + + /// + /// Gets or sets the page size for paginated Redmine API responses. + /// The default page size is 25, but you can customize it as needed. + /// + public int PageSize { get; init; } + + /// + /// Gets or sets the desired MIME format for Redmine API responses, which represents the way of serialization. + /// Supported formats include XML and JSON. The default format is XML. + /// + public IRedmineSerializer Serializer { get; init; } + + /// + /// Gets or sets the authentication method to be used when connecting to the Redmine server. + /// The available authentication types include API token-based authentication and basic authentication + /// (using a username and password). You can set an instance of the corresponding authentication class + /// to use the desired authentication method. + /// + public IRedmineAuthentication Authentication { get; init; } + + /// + /// Gets or sets a custom function that creates and returns a specialized instance of the WebClient class. + /// + public Func ClientFunc { get; init; } + + /// + /// Gets or sets the settings for configuring the Redmine web client. + /// + public IRedmineApiClientOptions ClientOptions { get; init; } + + /// + /// Gets or sets the version of the Redmine server to which this client will connect. + /// + public Version Version { get; init; } + + internal bool VerifyServerCert { get; set; } + } +} \ No newline at end of file From 7146a542f7ce8e919882594830d5673b81985241 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 15:51:21 +0200 Subject: [PATCH 328/601] [New] IRedmineApiClientOptions --- .../Net/IRedmineApiClientOptions.cs | 166 ++++++++++++++++++ 1 file changed, 166 insertions(+) create mode 100644 src/redmine-net-api/Net/IRedmineApiClientOptions.cs diff --git a/src/redmine-net-api/Net/IRedmineApiClientOptions.cs b/src/redmine-net-api/Net/IRedmineApiClientOptions.cs new file mode 100644 index 00000000..23202f37 --- /dev/null +++ b/src/redmine-net-api/Net/IRedmineApiClientOptions.cs @@ -0,0 +1,166 @@ +using System; +using System.Collections.Generic; +using System.Net; +using System.Net.Cache; +using System.Net.Security; +using System.Security.Cryptography.X509Certificates; + +namespace Redmine.Net.Api +{ + /// + /// + /// + public interface IRedmineApiClientOptions + { + /// + /// + /// + bool? AutoRedirect { get; set; } + + /// + /// + /// + CookieContainer CookieContainer { get; set; } + + /// + /// + /// + DecompressionMethods? DecompressionFormat { get; set; } + + /// + /// + /// + ICredentials Credentials { get; set; } + + /// + /// + /// + Dictionary DefaultHeaders { get; set; } + + /// + /// + /// + IWebProxy Proxy { get; set; } + + /// + /// + /// + bool? KeepAlive { get; set; } + + /// + /// + /// + int? MaxAutomaticRedirections { get; set; } + + /// + /// + /// + long? MaxRequestContentBufferSize { get; set; } + + /// + /// + /// + long? MaxResponseContentBufferSize { get; set; } + + /// + /// + /// + int? MaxConnectionsPerServer { get; set; } + + /// + /// + /// + int? MaxResponseHeadersLength { get; set; } + + /// + /// + /// + bool? PreAuthenticate { get; set; } + + /// + /// + /// + RequestCachePolicy RequestCachePolicy { get; set; } + + /// + /// + /// + string Scheme { get; set; } + + /// + /// + /// + RemoteCertificateValidationCallback ServerCertificateValidationCallback { get; set; } + + /// + /// + /// + TimeSpan? Timeout { get; set; } + + /// + /// + /// + bool? UnsafeAuthenticatedConnectionSharing { get; set; } + + /// + /// + /// + string UserAgent { get; set; } + + /// + /// + /// + bool? UseCookies { get; set; } + + /// + /// + /// + bool? UseDefaultCredentials { get; set; } + + /// + /// + /// + bool? UseProxy { get; set; } + + /// + /// + /// + /// Only HTTP/1.0 and HTTP/1.1 version requests are currently supported. + Version ProtocolVersion { get; set; } + + /// + /// + /// + bool CheckCertificateRevocationList { get; set; } + + /// + /// + /// + int? DefaultConnectionLimit { get; set; } + + /// + /// + /// + int? DnsRefreshTimeout { get; set; } + + /// + /// + /// + bool? EnableDnsRoundRobin { get; set; } + + /// + /// + /// + int? MaxServicePoints { get; set; } + + /// + /// + /// + int? MaxServicePointIdleTime { get; set; } + + /// + /// + /// + SecurityProtocolType? SecurityProtocolType { get; set; } + } +} \ No newline at end of file From 8b8f0d2cfd5752dd9a9ed8061d2eefc87c4654d9 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 15:52:12 +0200 Subject: [PATCH 329/601] [New] IRedmineAuthentication --- .../Authentication/IRedmineAuthentication.cs | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/redmine-net-api/Authentication/IRedmineAuthentication.cs diff --git a/src/redmine-net-api/Authentication/IRedmineAuthentication.cs b/src/redmine-net-api/Authentication/IRedmineAuthentication.cs new file mode 100644 index 00000000..9604c83f --- /dev/null +++ b/src/redmine-net-api/Authentication/IRedmineAuthentication.cs @@ -0,0 +1,24 @@ +using System.Net; + +namespace Redmine.Net.Api; + +/// +/// +/// +public interface IRedmineAuthentication +{ + /// + /// + /// + string AuthenticationType { get; } + + /// + /// + /// + string Token { get; } + + /// + /// + /// + ICredentials Credentials { get; } +} \ No newline at end of file From c12da02c946a6de572e066ba4a67ca6cd30e3229 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 15:52:29 +0200 Subject: [PATCH 330/601] [New] RedmineApiKeyAuthentication --- .../RedmineApiKeyAuthentication.cs | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs diff --git a/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs b/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs new file mode 100644 index 00000000..084752d3 --- /dev/null +++ b/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs @@ -0,0 +1,27 @@ +using System.Net; + +namespace Redmine.Net.Api.Authentication; + +/// +/// +/// +public sealed class RedmineApiKeyAuthentication: IRedmineAuthentication +{ + /// + public string AuthenticationType { get; } = "X-Redmine-API-Key"; + + /// + public string Token { get; init; } + + /// + public ICredentials Credentials { get; init; } + + /// + /// + /// + /// + public RedmineApiKeyAuthentication(string apiKey) + { + Token = apiKey; + } +} \ No newline at end of file From 72f23cdfb5d9967df66a3ed789bc38bf92d4eaa7 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 15:53:01 +0200 Subject: [PATCH 331/601] [New] RedmineBasicAuthentication --- .../RedmineBasicAuthentication.cs | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs diff --git a/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs b/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs new file mode 100644 index 00000000..58c740ba --- /dev/null +++ b/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs @@ -0,0 +1,35 @@ +using System; +using System.Net; +using System.Text; +using Redmine.Net.Api.Exceptions; + +namespace Redmine.Net.Api.Authentication +{ + /// + /// + /// + public sealed class RedmineBasicAuthentication: IRedmineAuthentication + { + /// + public string AuthenticationType { get; } = "Basic"; + + /// + public string Token { get; init; } + + /// + public ICredentials Credentials { get; init; } + + /// + /// + /// + /// + /// + public RedmineBasicAuthentication(string username, string password) + { + if (username == null) throw new RedmineException(nameof(username)); + if (password == null) throw new RedmineException(nameof(password)); + + Token = Convert.ToBase64String(Encoding.UTF8.GetBytes($"{username}:{password}")); + } + } +} \ No newline at end of file From 068b8276e2e68f7bcac6424a33ddfeea55aff7a4 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 15:54:17 +0200 Subject: [PATCH 332/601] [Serialization] Small improvements --- .../Serialization/Json/JsonObject.cs | 10 ++++++---- .../Json/JsonRedmineSerializer.cs | 19 +++++++------------ .../Serialization/Xml/XmlSerializerCache.cs | 2 +- 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/src/redmine-net-api/Serialization/Json/JsonObject.cs b/src/redmine-net-api/Serialization/Json/JsonObject.cs index 7c8624e4..452df4a4 100644 --- a/src/redmine-net-api/Serialization/Json/JsonObject.cs +++ b/src/redmine-net-api/Serialization/Json/JsonObject.cs @@ -37,12 +37,14 @@ public JsonObject(JsonWriter writer, string root = null) Writer = writer; Writer.WriteStartObject(); - if (!root.IsNullOrWhiteSpace()) + if (root.IsNullOrWhiteSpace()) { - hasRoot = true; - Writer.WritePropertyName(root); - Writer.WriteStartObject(); + return; } + + hasRoot = true; + Writer.WritePropertyName(root); + Writer.WriteStartObject(); } private JsonWriter Writer { get; } diff --git a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs index 2e09c76b..43cf4e8a 100644 --- a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs @@ -42,7 +42,7 @@ internal sealed class JsonRedmineSerializer : IRedmineSerializer using (var stringReader = new StringReader(jsonResponse)) { - using (JsonReader jsonReader = new JsonTextReader(stringReader)) + using (var jsonReader = new JsonTextReader(stringReader)) { var obj = Activator.CreateInstance(); @@ -68,7 +68,7 @@ internal sealed class JsonRedmineSerializer : IRedmineSerializer using (var sr = new StringReader(jsonResponse)) { - using (JsonReader reader = new JsonTextReader(sr)) + using (var reader = new JsonTextReader(sr)) { var total = 0; var offset = 0; @@ -111,7 +111,7 @@ internal sealed class JsonRedmineSerializer : IRedmineSerializer using (var sr = new StringReader(jsonResponse)) { - using (JsonReader reader = new JsonTextReader(sr)) + using (var reader = new JsonTextReader(sr)) { var total = 0; @@ -144,9 +144,7 @@ public string Serialize(T entity) where T : class throw new ArgumentNullException(nameof(entity), $"Could not serialize null of type {typeof(T).Name}"); } - var jsonSerializable = entity as IJsonSerializable; - - if (jsonSerializable == null) + if (entity is not IJsonSerializable jsonSerializable) { throw new RedmineException($"Entity of type '{typeof(T)}' should implement IJsonSerializable."); } @@ -155,7 +153,7 @@ public string Serialize(T entity) where T : class using (var sw = new StringWriter(stringBuilder)) { - using (JsonWriter writer = new JsonTextWriter(sw)) + using (var writer = new JsonTextWriter(sw)) { writer.Formatting = Newtonsoft.Json.Formatting.Indented; writer.DateFormatHandling = DateFormatHandling.IsoDateFormat; @@ -163,12 +161,9 @@ public string Serialize(T entity) where T : class jsonSerializable.WriteJson(writer); var json = stringBuilder.ToString(); + + stringBuilder.Length = 0; -#if NET20 - stringBuilder = null; -#else - stringBuilder.Clear(); -#endif return json; } } diff --git a/src/redmine-net-api/Serialization/Xml/XmlSerializerCache.cs b/src/redmine-net-api/Serialization/Xml/XmlSerializerCache.cs index bb90a370..cdc73fe8 100644 --- a/src/redmine-net-api/Serialization/Xml/XmlSerializerCache.cs +++ b/src/redmine-net-api/Serialization/Xml/XmlSerializerCache.cs @@ -24,7 +24,7 @@ namespace Redmine.Net.Api.Serialization /// /// /// - internal class XmlSerializerCache : IXmlSerializerCache + internal sealed class XmlSerializerCache : IXmlSerializerCache { #if !(NET20 || NET40 || NET45 || NET451 || NET452) private static readonly Type[] EmptyTypes = Array.Empty(); From 926b2d6e6c73c2cc6d4d33843f4f4ea9e96563ff Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 21:50:05 +0200 Subject: [PATCH 333/601] [Authentication] RedmineNoAuthentication --- .../Authentication/RedmineNoAuthentication.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/redmine-net-api/Authentication/RedmineNoAuthentication.cs diff --git a/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs b/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs new file mode 100644 index 00000000..f568f1bc --- /dev/null +++ b/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs @@ -0,0 +1,18 @@ +using System.Net; + +namespace Redmine.Net.Api.Authentication; + +/// +/// +/// +public sealed class RedmineNoAuthentication: IRedmineAuthentication +{ + /// + public string AuthenticationType { get; } = "NoAuth"; + + /// + public string Token { get; init; } + + /// + public ICredentials Credentials { get; init; } +} \ No newline at end of file From 08e7f81a48f3edd29920a043c8b1bd2dd3c84bec Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 21:50:50 +0200 Subject: [PATCH 334/601] [StringExtensions] Add ValueOrFallback --- src/redmine-net-api/Extensions/StringExtensions.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index 00b73e2f..2aa91799 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -117,5 +117,10 @@ internal static string RemoveTrailingSlash(this string s) return s; } + + internal static string ValueOrFallback(this string value, string fallback) + { + return !value.IsNullOrWhiteSpace() ? value : fallback; + } } } \ No newline at end of file From eef4868c5cedcfc3d9560c06f15693858079363b Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 21:52:14 +0200 Subject: [PATCH 335/601] [New] [Features] CallerArgumentExpressionAttribute & NotNullAttribute --- .../CallerArgumentExpressionAttribute.cs | 31 +++++++++++++++++++ .../Features/NotNullAttribute.cs | 25 +++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 src/redmine-net-api/Features/CallerArgumentExpressionAttribute.cs create mode 100644 src/redmine-net-api/Features/NotNullAttribute.cs diff --git a/src/redmine-net-api/Features/CallerArgumentExpressionAttribute.cs b/src/redmine-net-api/Features/CallerArgumentExpressionAttribute.cs new file mode 100644 index 00000000..2c57f348 --- /dev/null +++ b/src/redmine-net-api/Features/CallerArgumentExpressionAttribute.cs @@ -0,0 +1,31 @@ +#if NET20_OR_GREATER +#pragma warning disable +#nullable enable annotations + +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace System.Runtime.CompilerServices +{ + /// + /// An attribute that allows parameters to receive the expression of other parameters. + /// + [global::System.AttributeUsage(global::System.AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] + internal sealed class CallerArgumentExpressionAttribute : global::System.Attribute + { + /// + /// Initializes a new instance of the class. + /// + /// The condition parameter value. + public CallerArgumentExpressionAttribute(string parameterName) + { + ParameterName = parameterName; + } + + /// + /// Gets the parameter name the expression is retrieved from. + /// + public string ParameterName { get; } + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api/Features/NotNullAttribute.cs b/src/redmine-net-api/Features/NotNullAttribute.cs new file mode 100644 index 00000000..0a3e9093 --- /dev/null +++ b/src/redmine-net-api/Features/NotNullAttribute.cs @@ -0,0 +1,25 @@ +#if NET20_OR_GREATER +// +#pragma warning disable +#nullable enable annotations + +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace System.Diagnostics.CodeAnalysis +{ + /// + /// Specifies that an output will not be null even if the corresponding type allows it. + /// Specifies that an input argument was not null when the call returns. + /// + [global::System.AttributeUsage( + global::System.AttributeTargets.Field | + global::System.AttributeTargets.Parameter | + global::System.AttributeTargets.Property | + global::System.AttributeTargets.ReturnValue, + Inherited = false)] + internal sealed class NotNullAttribute : global::System.Attribute + { + } +} +#endif \ No newline at end of file From 3ab6676c538bd61776e71620d7c2c4ec323f752f Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 21:54:00 +0200 Subject: [PATCH 336/601] [New] ApiRequestMessage & ApiRequestMessageContent --- src/redmine-net-api/Net/ApiRequestMessage.cs | 14 ++++++++++++++ .../Net/ApiRequestMessageContent.cs | 8 ++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/redmine-net-api/Net/ApiRequestMessage.cs create mode 100644 src/redmine-net-api/Net/ApiRequestMessageContent.cs diff --git a/src/redmine-net-api/Net/ApiRequestMessage.cs b/src/redmine-net-api/Net/ApiRequestMessage.cs new file mode 100644 index 00000000..b4a2e11e --- /dev/null +++ b/src/redmine-net-api/Net/ApiRequestMessage.cs @@ -0,0 +1,14 @@ +using System.Collections.Specialized; + +namespace Redmine.Net.Api.Net; + +internal sealed class ApiRequestMessage +{ + public ApiRequestMessageContent Content { get; set; } + public string Method { get; set; } = HttpVerbs.GET; + public string RequestUri { get; set; } + public NameValueCollection QueryString { get; set; } + public string ImpersonateUser { get; set; } + + public string ContentType { get; set; } +} \ No newline at end of file diff --git a/src/redmine-net-api/Net/ApiRequestMessageContent.cs b/src/redmine-net-api/Net/ApiRequestMessageContent.cs new file mode 100644 index 00000000..f3e6fb48 --- /dev/null +++ b/src/redmine-net-api/Net/ApiRequestMessageContent.cs @@ -0,0 +1,8 @@ +namespace Redmine.Net.Api.Net; + +internal abstract class ApiRequestMessageContent +{ + public string ContentType { get; internal set; } + + public byte[] Body { get; internal set; } +} \ No newline at end of file From 941d63559a3d62c1c9a5a33ec3c14f5362c260dc Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 21:56:01 +0200 Subject: [PATCH 337/601] [New] [WebClient] Byte|String|Stream message content --- .../ByteArrayApiRequestMessageContent.cs | 9 +++++++ .../StreamApiRequestMessageContent.cs | 9 +++++++ .../StringApiRequestMessageContent.cs | 24 +++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 src/redmine-net-api/Net/WebClient/ByteArrayApiRequestMessageContent.cs create mode 100644 src/redmine-net-api/Net/WebClient/StreamApiRequestMessageContent.cs create mode 100644 src/redmine-net-api/Net/WebClient/StringApiRequestMessageContent.cs diff --git a/src/redmine-net-api/Net/WebClient/ByteArrayApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/ByteArrayApiRequestMessageContent.cs new file mode 100644 index 00000000..66650e04 --- /dev/null +++ b/src/redmine-net-api/Net/WebClient/ByteArrayApiRequestMessageContent.cs @@ -0,0 +1,9 @@ +namespace Redmine.Net.Api.Net.WebClient; + +internal class ByteArrayApiRequestMessageContent : ApiRequestMessageContent +{ + public ByteArrayApiRequestMessageContent(byte[] content) + { + Body = content; + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/StreamApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/StreamApiRequestMessageContent.cs new file mode 100644 index 00000000..c04820df --- /dev/null +++ b/src/redmine-net-api/Net/WebClient/StreamApiRequestMessageContent.cs @@ -0,0 +1,9 @@ +namespace Redmine.Net.Api.Net.WebClient; + +internal sealed class StreamApiRequestMessageContent : ByteArrayApiRequestMessageContent +{ + public StreamApiRequestMessageContent(byte[] content) : base(content) + { + ContentType = RedmineConstants.CONTENT_TYPE_APPLICATION_STREAM; + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/StringApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/StringApiRequestMessageContent.cs new file mode 100644 index 00000000..80b77fe5 --- /dev/null +++ b/src/redmine-net-api/Net/WebClient/StringApiRequestMessageContent.cs @@ -0,0 +1,24 @@ +using System; +using System.Text; + +namespace Redmine.Net.Api.Net.WebClient; + +internal sealed class StringApiRequestMessageContent : ByteArrayApiRequestMessageContent +{ + private static readonly Encoding DefaultStringEncoding = Encoding.UTF8; + + public StringApiRequestMessageContent(string content, string mediaType) : this(content, mediaType, DefaultStringEncoding) + { + } + + public StringApiRequestMessageContent(string content, string mediaType, Encoding encoding) : base(GetContentByteArray(content, encoding)) + { + ContentType = mediaType; + } + + private static byte[] GetContentByteArray(string content, Encoding encoding) + { + if (content == null) throw new ArgumentNullException(nameof(content)); + return (encoding ?? DefaultStringEncoding).GetBytes(content); + } +} \ No newline at end of file From 0da74dc0b2cac68dd2156c21083d4167cf096774 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 21:57:21 +0200 Subject: [PATCH 338/601] [New] ApiResponseMessage --- src/redmine-net-api/Net/ApiResponseMessage.cs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/redmine-net-api/Net/ApiResponseMessage.cs diff --git a/src/redmine-net-api/Net/ApiResponseMessage.cs b/src/redmine-net-api/Net/ApiResponseMessage.cs new file mode 100644 index 00000000..fc644ee5 --- /dev/null +++ b/src/redmine-net-api/Net/ApiResponseMessage.cs @@ -0,0 +1,9 @@ +using System.Collections.Specialized; + +namespace Redmine.Net.Api.Net; + +internal sealed class ApiResponseMessage +{ + public NameValueCollection Headers { get; init; } + public byte[] Content { get; set; } +} \ No newline at end of file From 49c0727ba4ea8d545ddea14aa5bf6bfc82a121d0 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 21:58:59 +0200 Subject: [PATCH 339/601] [HttpVerbs] Add internal DOWNLOAD & UPLOAD verbs --- src/redmine-net-api/Net/HttpVerbs.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/redmine-net-api/Net/HttpVerbs.cs b/src/redmine-net-api/Net/HttpVerbs.cs index 83c65de5..bcd88271 100644 --- a/src/redmine-net-api/Net/HttpVerbs.cs +++ b/src/redmine-net-api/Net/HttpVerbs.cs @@ -42,5 +42,10 @@ public static class HttpVerbs /// Represents an HTTP DELETE protocol method that is used to delete an existing entity identified by a URI. /// public const string DELETE = "DELETE"; + + + internal const string DOWNLOAD = "DOWNLOAD"; + + internal const string UPLOAD = "UPLOAD"; } } \ No newline at end of file From 9bbca14caa6d5c62d1f2ad5f614bca0456465e16 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 21:59:20 +0200 Subject: [PATCH 340/601] [New] RequestOptions --- src/redmine-net-api/Net/RequestOptions.cs | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/redmine-net-api/Net/RequestOptions.cs diff --git a/src/redmine-net-api/Net/RequestOptions.cs b/src/redmine-net-api/Net/RequestOptions.cs new file mode 100644 index 00000000..eaaef3b8 --- /dev/null +++ b/src/redmine-net-api/Net/RequestOptions.cs @@ -0,0 +1,30 @@ +using System.Collections.Specialized; + +namespace Redmine.Net.Api.Net; + +/// +/// +/// +public sealed class RequestOptions +{ + /// + /// + /// + public NameValueCollection QueryString { get; set; } + /// + /// + /// + public string ImpersonateUser { get; set; } + /// + /// + /// + public string ContentType { get; set; } + /// + /// + /// + public string Accept { get; set; } + /// + /// + /// + public string UserAgent { get; set; } +} \ No newline at end of file From c22df68ff483a2c9693d769c78411b4d9f735745 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 22:00:21 +0200 Subject: [PATCH 341/601] [RedmineConstants] Add IMPERSONATE_HEADER_KEY --- src/redmine-net-api/RedmineConstants.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/RedmineConstants.cs b/src/redmine-net-api/RedmineConstants.cs index 6aa78d05..dea7584a 100644 --- a/src/redmine-net-api/RedmineConstants.cs +++ b/src/redmine-net-api/RedmineConstants.cs @@ -8,7 +8,7 @@ public static class RedmineConstants /// /// /// - public const string OBSOLETE_TEXT = "In next major release, it will no longer be available."; + internal const string OBSOLETE_TEXT = "In next major release, it will no longer be available."; /// /// /// @@ -26,5 +26,10 @@ public static class RedmineConstants /// /// public const string CONTENT_TYPE_APPLICATION_STREAM = "application/octet-stream"; + + /// + /// + /// + public const string IMPERSONATE_HEADER_KEY = "X-Redmine-Switch-User"; } } \ No newline at end of file From 4ea6b5f971947a3c1487f04e84dcbfe8c49744a6 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 22:01:17 +0200 Subject: [PATCH 342/601] [IRedmineApiClientOptions] Add ClientCertificates & ReusePort --- .../Net/IRedmineApiClientOptions.cs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Net/IRedmineApiClientOptions.cs b/src/redmine-net-api/Net/IRedmineApiClientOptions.cs index 23202f37..56013ec2 100644 --- a/src/redmine-net-api/Net/IRedmineApiClientOptions.cs +++ b/src/redmine-net-api/Net/IRedmineApiClientOptions.cs @@ -5,7 +5,7 @@ using System.Net.Security; using System.Security.Cryptography.X509Certificates; -namespace Redmine.Net.Api +namespace Redmine.Net.Api.Net { /// /// @@ -162,5 +162,19 @@ public interface IRedmineApiClientOptions /// /// SecurityProtocolType? SecurityProtocolType { get; set; } + + #if NET40_OR_GREATER || NETCOREAPP + /// + /// + /// + public X509CertificateCollection ClientCertificates { get; set; } + #endif + + #if(NET46_OR_GREATER || NETCOREAPP) + /// + /// + /// + public bool? ReusePort { get; set; } + #endif } } \ No newline at end of file From 597af841bac220644821d024eb224296eb551b39 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 22:03:14 +0200 Subject: [PATCH 343/601] [RedmineManagerOptions] Change BaseAddress type from string to Uri --- src/redmine-net-api/RedmineManagerOptions.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/RedmineManagerOptions.cs b/src/redmine-net-api/RedmineManagerOptions.cs index aa35b07f..95acc4f6 100644 --- a/src/redmine-net-api/RedmineManagerOptions.cs +++ b/src/redmine-net-api/RedmineManagerOptions.cs @@ -1,4 +1,5 @@ using System; +using Redmine.Net.Api.Net; using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api @@ -11,7 +12,7 @@ internal sealed class RedmineManagerOptions /// /// /// - public string BaseAddress { get; init; } + public Uri BaseAddress { get; init; } /// /// Gets or sets the page size for paginated Redmine API responses. From 252b39b72a36e076eed175c3232535cc39ee4685 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 27 Nov 2023 22:09:28 +0200 Subject: [PATCH 344/601] [Improvements] Small improvements & clean up --- .../Features/IsExternalInit.cs | 1 + src/redmine-net-api/Internals/UrlHelper.cs | 28 +++++++++---------- src/redmine-net-api/Net/RedirectType.cs | 2 +- .../NameValueCollectionExtensions.cs | 11 ++++---- .../Net/WebClient/Extensions/WebExtensions.cs | 27 ++++++++++++------ src/redmine-net-api/SearchFilterBuilder.cs | 2 +- 6 files changed, 41 insertions(+), 30 deletions(-) diff --git a/src/redmine-net-api/Features/IsExternalInit.cs b/src/redmine-net-api/Features/IsExternalInit.cs index 6490f153..0de2af11 100644 --- a/src/redmine-net-api/Features/IsExternalInit.cs +++ b/src/redmine-net-api/Features/IsExternalInit.cs @@ -12,6 +12,7 @@ internal static class IsExternalInit { } } + #endif diff --git a/src/redmine-net-api/Internals/UrlHelper.cs b/src/redmine-net-api/Internals/UrlHelper.cs index a1867e3b..0b18b0ef 100644 --- a/src/redmine-net-api/Internals/UrlHelper.cs +++ b/src/redmine-net-api/Internals/UrlHelper.cs @@ -82,9 +82,9 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id) { var type = typeof(T); - if (!RedmineManager.Suffixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); + if (!RedmineManager.Suffixes.TryGetValue(type, out string value)) throw new KeyNotFoundException(type.Name); - return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Suffixes[type], id, + return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, value, id, redmineManager.Format); } @@ -105,19 +105,19 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id) { var type = typeof(T); - if (!RedmineManager.Suffixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); + if (!RedmineManager.Suffixes.TryGetValue(type, out string value)) throw new KeyNotFoundException(type.Name); if (type == typeof(Version) || type == typeof(IssueCategory) || type == typeof(ProjectMembership)) { if (string.IsNullOrEmpty(ownerId)) throw new RedmineException("The owner id(project id) is mandatory!"); return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.PROJECTS, - ownerId, RedmineManager.Suffixes[type], redmineManager.Format); + ownerId, value, redmineManager.Format); } if (type == typeof(IssueRelation)) { if (string.IsNullOrEmpty(ownerId)) throw new RedmineException("The owner id(issue id) is mandatory!"); return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.ISSUES, - ownerId, RedmineManager.Suffixes[type], redmineManager.Format); + ownerId, value, redmineManager.Format); } if (type == typeof(File)) @@ -129,7 +129,7 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id) return string.Format(CultureInfo.InvariantCulture,FILE_URL_FORMAT, redmineManager.Host, ownerId, redmineManager.Format); } - return string.Format(CultureInfo.InvariantCulture,FORMAT, redmineManager.Host, RedmineManager.Suffixes[type], + return string.Format(CultureInfo.InvariantCulture,FORMAT, redmineManager.Host, value, redmineManager.Format); } @@ -146,9 +146,9 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id) { var type = typeof(T); - if (!RedmineManager.Suffixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); + if (!RedmineManager.Suffixes.TryGetValue(type, out string value)) throw new KeyNotFoundException(type.Name); - return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Suffixes[type], id, + return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, value, id, redmineManager.Format); } @@ -164,9 +164,9 @@ public static string GetUploadUrl(RedmineManager redmineManager, string id) { var type = typeof(T); - if (!RedmineManager.Suffixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); + if (!RedmineManager.Suffixes.TryGetValue(type, out string value)) throw new KeyNotFoundException(type.Name); - return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, RedmineManager.Suffixes[type], id, + return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, value, id, redmineManager.Format); } @@ -188,7 +188,7 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle { var type = typeof(T); - if (!RedmineManager.Suffixes.ContainsKey(type)) throw new KeyNotFoundException(type.Name); + if (!RedmineManager.Suffixes.TryGetValue(type, out string value)) throw new KeyNotFoundException(type.Name); if (type == typeof(Version) || type == typeof(IssueCategory) || type == typeof(ProjectMembership)) { @@ -197,7 +197,7 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle throw new RedmineException("The project id is mandatory! \nCheck if you have included the parameter project_id to parameters."); return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.PROJECTS, - projectId, RedmineManager.Suffixes[type], redmineManager.Format); + projectId, value, redmineManager.Format); } if (type == typeof(IssueRelation)) { @@ -206,7 +206,7 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle throw new RedmineException("The issue id is mandatory! \nCheck if you have included the parameter issue_id to parameters"); return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.ISSUES, - issueId, RedmineManager.Suffixes[type], redmineManager.Format); + issueId, value, redmineManager.Format); } if (type == typeof(File)) @@ -219,7 +219,7 @@ public static string GetListUrl(RedmineManager redmineManager, NameValueColle return string.Format(CultureInfo.InvariantCulture,FILE_URL_FORMAT, redmineManager.Host, projectId, redmineManager.Format); } - return string.Format(CultureInfo.InvariantCulture,FORMAT, redmineManager.Host, RedmineManager.Suffixes[type], + return string.Format(CultureInfo.InvariantCulture,FORMAT, redmineManager.Host, value, redmineManager.Format); } diff --git a/src/redmine-net-api/Net/RedirectType.cs b/src/redmine-net-api/Net/RedirectType.cs index ead5ed4a..7793e23c 100644 --- a/src/redmine-net-api/Net/RedirectType.cs +++ b/src/redmine-net-api/Net/RedirectType.cs @@ -33,5 +33,5 @@ public enum RedirectType /// /// All - }; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs index 1ce0a13d..48391fa3 100644 --- a/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs +++ b/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs @@ -73,19 +73,20 @@ public static string ToQueryString(this NameValueCollection requestParameters) return null; } + var delimiter = string.Empty; + var stringBuilder = new StringBuilder(); for (var index = 0; index < requestParameters.Count; ++index) { stringBuilder + .Append(delimiter) .Append(requestParameters.AllKeys[index].ToString(CultureInfo.InvariantCulture)) .Append('=') - .Append(requestParameters[index].ToString(CultureInfo.InvariantCulture)) - .Append('&'); + .Append(requestParameters[index].ToString(CultureInfo.InvariantCulture)); + delimiter = "&"; } - - stringBuilder.Length -= 1; - + var queryString = stringBuilder.ToString(); stringBuilder.Length = 0; diff --git a/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs index 493a07c9..9d454562 100644 --- a/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs +++ b/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs @@ -18,6 +18,7 @@ limitations under the License. using System.Collections.Generic; using System.IO; using System.Net; +using System.Text; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; @@ -78,18 +79,26 @@ public static void HandleWebException(this WebException exception, IRedmineSeria throw new ConflictException("The page that you are trying to update is staled!", innerException); case 422: + RedmineException redmineException; var errors = GetRedmineExceptions(exception.Response, serializer); - var message = string.Empty; - - if (errors == null) - throw new RedmineException($"Invalid or missing attribute parameters: {message}", innerException); - - foreach (var error in errors) + + if (errors != null) + { + var sb = new StringBuilder(); + foreach (var error in errors) + { + sb.Append(error.Info).Append(Environment.NewLine); + } + + redmineException = new RedmineException($"Invalid or missing attribute parameters: {sb}", innerException, "Unprocessable Content"); + sb.Length = 0; + } + else { - message = message + error.Info + Environment.NewLine; + redmineException = new RedmineException("Invalid or missing attribute parameters", innerException); } - - throw new RedmineException("Invalid or missing attribute parameters: " + message, innerException); + + throw redmineException; case (int)HttpStatusCode.NotAcceptable: throw new NotAcceptableException(response.StatusDescription, innerException); diff --git a/src/redmine-net-api/SearchFilterBuilder.cs b/src/redmine-net-api/SearchFilterBuilder.cs index d4c6e9fd..fe2bc806 100644 --- a/src/redmine-net-api/SearchFilterBuilder.cs +++ b/src/redmine-net-api/SearchFilterBuilder.cs @@ -50,7 +50,7 @@ public SearchScope? Scope _internalScope = "subprojects"; break; default: - throw new ArgumentOutOfRangeException(); + throw new ArgumentOutOfRangeException(nameof(value)); } } } From 4d44ba7fa9b7dac77605e09f85ec00808819a105 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Nov 2023 22:29:50 +0200 Subject: [PATCH 345/601] [RedmineKeys] Add keys used by SearchFilterBuilder --- src/redmine-net-api/RedmineKeys.cs | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index ba82b08f..f5863407 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -43,6 +43,10 @@ public static class RedmineKeys /// /// /// + public const string ALL_WORDS = "all_words"; + /// + /// + /// public const string ALLOWED_STATUSES = "allowed_statuses"; /// /// @@ -216,6 +220,10 @@ public static class RedmineKeys /// /// /// + public const string DOCUMENTS = "documents"; + /// + /// + /// public const string DOWNLOADS = "downloads"; /// /// @@ -455,6 +463,10 @@ public static class RedmineKeys /// /// /// + public const string MESSAGES = "messages"; + /// + /// + /// public const string MIN_LENGTH = "min_length"; /// /// @@ -491,6 +503,10 @@ public static class RedmineKeys /// /// /// + public const string OPEN_ISSUES = "open_issues"; + /// + /// + /// public const string PARENT = "parent"; /// /// @@ -611,6 +627,10 @@ public static class RedmineKeys /// /// /// + public const string SCOPE = "scope"; + /// + /// + /// public const string SEARCHABLE = "searchable"; /// /// @@ -687,6 +707,10 @@ public static class RedmineKeys /// /// /// + public const string TITLES_ONLY = "titles_only"; + /// + /// + /// public const string THUMBNAIL_URL = "thumbnail_url"; /// /// From 9f21631fb597d4f3482dbc3a30f8a273be5fcfaf Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Nov 2023 22:31:06 +0200 Subject: [PATCH 346/601] [New] RedmineSerializerFactory --- .../Serialization/RedmineSerializerFactory.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/redmine-net-api/Serialization/RedmineSerializerFactory.cs diff --git a/src/redmine-net-api/Serialization/RedmineSerializerFactory.cs b/src/redmine-net-api/Serialization/RedmineSerializerFactory.cs new file mode 100644 index 00000000..d371f59b --- /dev/null +++ b/src/redmine-net-api/Serialization/RedmineSerializerFactory.cs @@ -0,0 +1,19 @@ +using System; + +namespace Redmine.Net.Api.Serialization; + +/// +/// Factory for creating RedmineSerializer instances +/// +internal static class RedmineSerializerFactory +{ + public static IRedmineSerializer CreateSerializer(SerializationType type) + { + return type switch + { + SerializationType.Xml => new XmlRedmineSerializer(), + SerializationType.Json => new JsonRedmineSerializer(), + _ => throw new NotImplementedException($"No serializer has been implemented for the serialization type: {type}") + }; + } +} \ No newline at end of file From ce37abed412db333149265d02f734e2ee7f5a193 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Nov 2023 22:31:41 +0200 Subject: [PATCH 347/601] [New] RedmineApiUrls --- src/redmine-net-api/Net/RedmineApiUrls.cs | 192 ++++++++++++++++++++++ 1 file changed, 192 insertions(+) create mode 100644 src/redmine-net-api/Net/RedmineApiUrls.cs diff --git a/src/redmine-net-api/Net/RedmineApiUrls.cs b/src/redmine-net-api/Net/RedmineApiUrls.cs new file mode 100644 index 00000000..4b3e5470 --- /dev/null +++ b/src/redmine-net-api/Net/RedmineApiUrls.cs @@ -0,0 +1,192 @@ +using System; +using System.Collections.Generic; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; +using Version = Redmine.Net.Api.Types.Version; + +namespace Redmine.Net.Api.Net +{ + internal sealed class RedmineApiUrls + { + public string Format { get; init; } + + private static readonly Dictionary TypeUrlFragments = new Dictionary() + { + {typeof(Attachment), RedmineKeys.ATTACHMENTS}, + {typeof(CustomField), RedmineKeys.CUSTOM_FIELDS}, + {typeof(Group), RedmineKeys.GROUPS}, + {typeof(Issue), RedmineKeys.ISSUES}, + {typeof(IssueCategory), RedmineKeys.ISSUE_CATEGORIES}, + {typeof(IssueCustomField), RedmineKeys.CUSTOM_FIELDS}, + {typeof(IssuePriority), RedmineKeys.ENUMERATION_ISSUE_PRIORITIES}, + {typeof(IssueRelation), RedmineKeys.RELATIONS}, + {typeof(IssueStatus), RedmineKeys.ISSUE_STATUSES}, + {typeof(Journal), RedmineKeys.JOURNALS}, + {typeof(News), RedmineKeys.NEWS}, + {typeof(Project), RedmineKeys.PROJECTS}, + {typeof(ProjectMembership), RedmineKeys.MEMBERSHIPS}, + {typeof(Query), RedmineKeys.QUERIES}, + {typeof(Role), RedmineKeys.ROLES}, + {typeof(Search), RedmineKeys.SEARCH}, + {typeof(TimeEntry), RedmineKeys.TIME_ENTRIES}, + {typeof(TimeEntryActivity), RedmineKeys.ENUMERATION_TIME_ENTRY_ACTIVITIES}, + {typeof(Tracker), RedmineKeys.TRACKERS}, + {typeof(User), RedmineKeys.USERS}, + {typeof(Version), RedmineKeys.VERSIONS}, + {typeof(Watcher), RedmineKeys.WATCHERS}, + }; + + public RedmineApiUrls(string format) + { + Format = format; + } + + public string ProjectFilesFragment(string projectId) + { + if (string.IsNullOrEmpty(projectId)) + { + throw new RedmineException("The owner id(project id) is mandatory!"); + } + + return $"{RedmineKeys.PROJECTS}/{projectId}/{RedmineKeys.FILES}.{Format}"; + } + + public string IssueAttachmentFragment(string issueId) + { + if (issueId.IsNullOrWhiteSpace()) + { + throw new RedmineException("The issue id is mandatory!"); + } + + return $"/{RedmineKeys.ATTACHMENTS}/{RedmineKeys.ISSUES}/{issueId}.{Format}"; + } + + public string ProjectParentFragment(string projectId, string mapTypeFragment) + { + if (string.IsNullOrEmpty(projectId)) + { + throw new RedmineException("The owner project id is mandatory!"); + } + + return $"{RedmineKeys.PROJECTS}/{projectId}/{mapTypeFragment}.{Format}"; + } + + public string IssueParentFragment(string issueId, string mapTypeFragment) + { + if (string.IsNullOrEmpty(issueId)) + { + throw new RedmineException("The owner issue id is mandatory!"); + } + + return $"{RedmineKeys.ISSUES}/{issueId}/{mapTypeFragment}.{Format}"; + } + + public static string TypeFragment(Dictionary mapTypeUrlFragments, Type type) + { + if (!mapTypeUrlFragments.TryGetValue(type, out var fragment)) + { + throw new RedmineException($"There is no uri fragment defined for type {type.Name}"); + } + + return fragment; + } + + public string CreateEntityFragment(string ownerId = null) + { + var type = typeof(T); + + if (type == typeof(Version) || type == typeof(IssueCategory) || type == typeof(ProjectMembership)) + { + return ProjectParentFragment(ownerId, TypeUrlFragments[type]); + } + + if (type == typeof(IssueRelation)) + { + return IssueParentFragment(ownerId, TypeUrlFragments[type]); + } + + if (type == typeof(File)) + { + return ProjectFilesFragment(ownerId); + } + + if (type == typeof(Upload)) + { + return RedmineKeys.UPLOADS; + } + + if (type == typeof(Attachment) || type == typeof(Attachments)) + { + return IssueAttachmentFragment(ownerId); + } + + return $"{TypeFragment(TypeUrlFragments, type)}.{Format}"; + } + + public string GetFragment(string id) where T : class, new() + { + var type = typeof(T); + + return $"{TypeFragment(TypeUrlFragments, type)}/{id}.{Format}"; + } + + public string PatchFragment(string ownerId) + { + var type = typeof(T); + + if (type == typeof(Attachment) || type == typeof(Attachments)) + { + return IssueAttachmentFragment(ownerId); + } + + throw new RedmineException($"No endpoint defined for type {type} for PATCH operation."); + } + + public string DeleteFragment(string id) + { + var type = typeof(T); + + return $"{TypeFragment(TypeUrlFragments, type)}/{id}.{Format}"; + } + + public string UpdateFragment(string id) + { + var type = typeof(T); + + return $"{TypeFragment(TypeUrlFragments, type)}/{id}.{Format}"; + } + + public string GetListFragment(string ownerId = null) where T : class, new() + { + var type = typeof(T); + + return GetListFragment(type, ownerId); + } + + public string GetListFragment(Type type, string ownerId = null) + { + if (type == typeof(Version) || type == typeof(IssueCategory) || type == typeof(ProjectMembership)) + { + return ProjectParentFragment(ownerId, TypeUrlFragments[type]); + } + + if (type == typeof(IssueRelation)) + { + return IssueParentFragment(ownerId, TypeUrlFragments[type]); + } + + if (type == typeof(File)) + { + return ProjectFilesFragment(ownerId); + } + + return $"{TypeFragment(TypeUrlFragments, type)}.{Format}"; + } + + public string UploadFragment() + { + return $"{RedmineKeys.UPLOADS}.{Format}"; + } + } +} \ No newline at end of file From e4d6e60d4c1116cf05fb62ede6c109111970a341 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Nov 2023 22:31:55 +0200 Subject: [PATCH 348/601] [New] RedmineApiUrlsExtensions --- .../Net/RedmineApiUrlsExtensions.cs | 137 ++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs diff --git a/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs b/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs new file mode 100644 index 00000000..4ccd918b --- /dev/null +++ b/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs @@ -0,0 +1,137 @@ +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.Net; + +internal static class RedmineApiUrlsExtensions +{ + public static string MyAccount(this RedmineApiUrls redmineApiUrls) + { + return $"my/account.{redmineApiUrls.Format}"; + } + + public static string CurrentUser(this RedmineApiUrls redmineApiUrls) + { + return $"{RedmineKeys.CURRENT}.{redmineApiUrls.Format}"; + } + + public static string ProjectNews(this RedmineApiUrls redmineApiUrls, string projectIdentifier) + { + if (projectIdentifier.IsNullOrWhiteSpace()) + { + throw new RedmineException($"Argument '{nameof(projectIdentifier)}' is null or whitespace"); + } + + return $"{RedmineKeys.PROJECT}/{projectIdentifier}/{RedmineKeys.NEWS}.{redmineApiUrls.Format}"; + } + + public static string ProjectMemberships(this RedmineApiUrls redmineApiUrls, string projectIdentifier) + { + if (projectIdentifier.IsNullOrWhiteSpace()) + { + throw new RedmineException($"Argument '{nameof(projectIdentifier)}' is null or whitespace"); + } + + return $"{RedmineKeys.PROJECT}/{projectIdentifier}/{RedmineKeys.MEMBERSHIPS}.{redmineApiUrls.Format}"; + } + + public static string ProjectWikiIndex(this RedmineApiUrls redmineApiUrls, string projectId) + { + return $"{RedmineKeys.PROJECTS}/{projectId}/{RedmineKeys.WIKI}/index.{redmineApiUrls.Format}"; + } + + public static string ProjectWikiPage(this RedmineApiUrls redmineApiUrls, string projectId, string wikiPageName) + { + return $"{RedmineKeys.PROJECTS}/{projectId}/{RedmineKeys.WIKI}/{wikiPageName}.{redmineApiUrls.Format}"; + } + + public static string ProjectWikiPageVersion(this RedmineApiUrls redmineApiUrls, string projectId, string wikiPageName, string version) + { + return $"{RedmineKeys.PROJECTS}/{projectId}/{RedmineKeys.WIKI}/{wikiPageName}/{version}.{redmineApiUrls.Format}"; + } + + public static string ProjectWikiPageCreate(this RedmineApiUrls redmineApiUrls, string projectId, string wikiPageName) + { + return $"{RedmineKeys.PROJECTS}/{projectId}/{RedmineKeys.WIKI}/{wikiPageName}.{redmineApiUrls.Format}"; + } + + public static string ProjectWikiPageUpdate(this RedmineApiUrls redmineApiUrls, string projectId, string wikiPageName) + { + return $"{RedmineKeys.PROJECTS}/{projectId}/{RedmineKeys.WIKI}/{wikiPageName}.{redmineApiUrls.Format}"; + } + + public static string ProjectWikiPageDelete(this RedmineApiUrls redmineApiUrls, string projectId, string wikiPageName) + { + return $"{RedmineKeys.PROJECTS}/{projectId}/{RedmineKeys.WIKI}/{wikiPageName}.{redmineApiUrls.Format}"; + } + + public static string ProjectWikis(this RedmineApiUrls redmineApiUrls, string projectId) + { + return ProjectWikiIndex(redmineApiUrls, projectId); + } + + public static string IssueWatcherAdd(this RedmineApiUrls redmineApiUrls, string issueIdentifier) + { + if (issueIdentifier.IsNullOrWhiteSpace()) + { + throw new RedmineException($"Argument '{nameof(issueIdentifier)}' is null or whitespace"); + } + + return $"{RedmineKeys.ISSUES}/{issueIdentifier}/{RedmineKeys.WATCHERS}.{redmineApiUrls.Format}"; + } + + public static string IssueWatcherRemove(this RedmineApiUrls redmineApiUrls, string issueIdentifier, string userId) + { + if (issueIdentifier.IsNullOrWhiteSpace()) + { + throw new RedmineException($"Argument '{nameof(issueIdentifier)}' is null or whitespace"); + } + + if (userId.IsNullOrWhiteSpace()) + { + throw new RedmineException($"Argument '{nameof(userId)}' is null or whitespace"); + } + + return $"{RedmineKeys.ISSUES}/{issueIdentifier}/{RedmineKeys.WATCHERS}/{userId}.{redmineApiUrls.Format}"; + } + + public static string GroupUserAdd(this RedmineApiUrls redmineApiUrls, string groupIdentifier) + { + if (groupIdentifier.IsNullOrWhiteSpace()) + { + throw new RedmineException($"Argument '{nameof(groupIdentifier)}' is null or whitespace"); + } + + return $"{RedmineKeys.GROUPS}/{groupIdentifier}/{RedmineKeys.USERS}.{redmineApiUrls.Format}"; + } + + public static string GroupUserRemove(this RedmineApiUrls redmineApiUrls, string groupIdentifier, string userId) + { + if (groupIdentifier.IsNullOrWhiteSpace()) + { + throw new RedmineException($"Argument '{nameof(groupIdentifier)}' is null or whitespace"); + } + + if (userId.IsNullOrWhiteSpace()) + { + throw new RedmineException($"Argument '{nameof(userId)}' is null or whitespace"); + } + + return $"{RedmineKeys.GROUPS}/{groupIdentifier}/{RedmineKeys.USERS}/{userId}.{redmineApiUrls.Format}"; + } + + public static string AttachmentUpdate(this RedmineApiUrls redmineApiUrls, string issueIdentifier) + { + if (issueIdentifier.IsNullOrWhiteSpace()) + { + throw new RedmineException($"Argument '{nameof(issueIdentifier)}' is null or whitespace"); + } + + return $"{RedmineKeys.ATTACHMENTS}/{RedmineKeys.ISSUES}/{issueIdentifier}.{redmineApiUrls.Format}"; + } + + public static string Uploads(this RedmineApiUrls redmineApiUrls) + { + return $"{RedmineKeys.UPLOADS}.{redmineApiUrls.Format}"; + } +} \ No newline at end of file From 49ef45d8f8e0defeba80db3057761197b8256e4c Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Nov 2023 22:33:38 +0200 Subject: [PATCH 349/601] [NameValueCollectionExtensions] More extensions added --- .../NameValueCollectionExtensions.cs | 64 +++++++++++++++---- 1 file changed, 53 insertions(+), 11 deletions(-) diff --git a/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs index 48391fa3..7e3420b0 100644 --- a/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs +++ b/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs @@ -33,30 +33,23 @@ public static class NameValueCollectionExtensions /// public static string GetParameterValue(this NameValueCollection parameters, string parameterName) { - if (parameters == null) - { - return null; - } - - var value = parameters.Get(parameterName); - - return value.IsNullOrWhiteSpace() ? null : value; + return GetValue(parameters, parameterName); } /// /// Gets the parameter value. /// /// The parameters. - /// Name of the parameter. + /// Name of the parameter. /// - public static string GetValue(this NameValueCollection parameters, string parameterName) + public static string GetValue(this NameValueCollection parameters, string key) { if (parameters == null) { return null; } - var value = parameters.Get(parameterName); + var value = parameters.Get(key); return value.IsNullOrWhiteSpace() ? null : value; } @@ -93,6 +86,55 @@ public static string ToQueryString(this NameValueCollection requestParameters) return queryString; } + + internal static NameValueCollection AddPagingParameters(this NameValueCollection parameters, int pageSize, int offset) + { + parameters ??= new NameValueCollection(); + + if(pageSize <= 0) + { + pageSize = RedmineConstants.DEFAULT_PAGE_SIZE_VALUE; + } + + if(offset < 0) + { + offset = 0; + } + + parameters.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); + parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); + + return parameters; + } + + internal static NameValueCollection AddParamsIfExist(this NameValueCollection parameters, string[] include) + { + if (include is not {Length: > 0}) + { + return parameters; + } + + parameters ??= new NameValueCollection(); + parameters.Add(RedmineKeys.INCLUDE, string.Join(",", include)); + + return parameters; + } + + internal static void AddIfNotNull(this NameValueCollection nameValueCollection, string key, string value) + { + if (!value.IsNullOrWhiteSpace()) + { + nameValueCollection.Add(key, value); + } + } + + internal static void AddIfNotNull(this NameValueCollection nameValueCollection, string key, bool? value) + { + if (value.HasValue) + { + nameValueCollection.Add(key, value.Value.ToString(CultureInfo.InvariantCulture)); + } + } } } \ No newline at end of file From 95c50b781c48f9d83626f2516f0c10522d7d5a4c Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Nov 2023 22:35:07 +0200 Subject: [PATCH 350/601] [SearchFilterBuilder] Rearrange code & remove AddIfNotNull helpers --- src/redmine-net-api/SearchFilterBuilder.cs | 83 +++++++--------------- 1 file changed, 25 insertions(+), 58 deletions(-) diff --git a/src/redmine-net-api/SearchFilterBuilder.cs b/src/redmine-net-api/SearchFilterBuilder.cs index fe2bc806..65e8a7df 100644 --- a/src/redmine-net-api/SearchFilterBuilder.cs +++ b/src/redmine-net-api/SearchFilterBuilder.cs @@ -16,7 +16,6 @@ limitations under the License. using System; using System.Collections.Specialized; -using System.Globalization; using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api @@ -24,6 +23,7 @@ namespace Redmine.Net.Api /// /// /// + // ReSharper disable once ClassNeverInstantiated.Global public sealed class SearchFilterBuilder { /// @@ -38,20 +38,13 @@ public SearchScope? Scope _scope = value; if (_scope != null) { - switch (_scope) + _internalScope = _scope switch { - case SearchScope.All: - _internalScope = "all"; - break; - case SearchScope.MyProject: - _internalScope = "my_project"; - break; - case SearchScope.SubProjects: - _internalScope = "subprojects"; - break; - default: - throw new ArgumentOutOfRangeException(nameof(value)); - } + SearchScope.All => "all", + SearchScope.MyProject => "my_project", + SearchScope.SubProjects => "subprojects", + _ => throw new ArgumentOutOfRangeException(nameof(value)) + }; } } } @@ -106,7 +99,6 @@ public SearchScope? Scope /// public bool? OpenIssues{ get; set; } - /// /// public SearchAttachment? Attachments @@ -117,21 +109,13 @@ public SearchAttachment? Attachments _attachments = value; if (_attachments != null) { - switch (_attachments) + _internalAttachments = _attachments switch { - case SearchAttachment.OnlyInAttachment: - _internalAttachments = "only"; - break; - - case SearchAttachment.InDescription: - _internalAttachments = "0"; - break; - case SearchAttachment.InDescriptionAndAttachment: - _internalAttachments = "1"; - break; - default: - throw new ArgumentOutOfRangeException(); - } + SearchAttachment.OnlyInAttachment => "only", + SearchAttachment.InDescription => "0", + SearchAttachment.InDescriptionAndAttachment => "1", + _ => throw new ArgumentOutOfRangeException(nameof(Attachments)) + }; } } } @@ -146,38 +130,21 @@ public SearchAttachment? Attachments /// public NameValueCollection Build(NameValueCollection sb) { - AddIfNotNull(sb,"scope",_internalScope); - AddIfNotNull(sb,"projects",IncludeProjects); - AddIfNotNull(sb,"open_issues",OpenIssues); - AddIfNotNull(sb,"messages",IncludeMessages); - AddIfNotNull(sb,"wiki_pages",IncludeWikiPages); - AddIfNotNull(sb,"changesets",IncludeChangeSets); - AddIfNotNull(sb,"documents",IncludeDocuments); - AddIfNotNull(sb,"news",IncludeNews); - AddIfNotNull(sb,"issues",IncludeIssues); - AddIfNotNull(sb,"titles_only",TitlesOnly); - AddIfNotNull(sb,"all_words", AllWords); - AddIfNotNull(sb,"attachments", _internalAttachments); + sb.AddIfNotNull(RedmineKeys.SCOPE,_internalScope); + sb.AddIfNotNull(RedmineKeys.PROJECTS, IncludeProjects); + sb.AddIfNotNull(RedmineKeys.OPEN_ISSUES, OpenIssues); + sb.AddIfNotNull(RedmineKeys.MESSAGES, IncludeMessages); + sb.AddIfNotNull(RedmineKeys.WIKI_PAGES, IncludeWikiPages); + sb.AddIfNotNull(RedmineKeys.CHANGE_SETS, IncludeChangeSets); + sb.AddIfNotNull(RedmineKeys.DOCUMENTS, IncludeDocuments); + sb.AddIfNotNull(RedmineKeys.NEWS, IncludeNews); + sb.AddIfNotNull(RedmineKeys.ISSUES, IncludeIssues); + sb.AddIfNotNull(RedmineKeys.TITLES_ONLY, TitlesOnly); + sb.AddIfNotNull(RedmineKeys.ALL_WORDS, AllWords); + sb.AddIfNotNull(RedmineKeys.ATTACHMENTS, _internalAttachments); return sb; } - - private static void AddIfNotNull(NameValueCollection nameValueCollection, string key, bool? value) - { - if (value.HasValue) - { - nameValueCollection.Add(key, value.Value.ToString(CultureInfo.InvariantCulture)); - } - } - - private static void AddIfNotNull(NameValueCollection nameValueCollection, string key, string value) - { - if (!value.IsNullOrWhiteSpace()) - { - nameValueCollection.Add(key, value); - } - } - } /// From 4b5a0b407985d44c19e38cb8b64b39f2dd451b9d Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Nov 2023 22:36:46 +0200 Subject: [PATCH 351/601] [NET20] Group all related files --- .../{Features/net20 => _net20}/ExtensionAttribute.cs | 6 ++---- src/redmine-net-api/{Features/net20 => _net20}/Func.cs | 0 .../{Async => _net20}/RedmineManagerAsync.cs | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) rename src/redmine-net-api/{Features/net20 => _net20}/ExtensionAttribute.cs (94%) rename src/redmine-net-api/{Features/net20 => _net20}/Func.cs (100%) rename src/redmine-net-api/{Async => _net20}/RedmineManagerAsync.cs (99%) diff --git a/src/redmine-net-api/Features/net20/ExtensionAttribute.cs b/src/redmine-net-api/_net20/ExtensionAttribute.cs similarity index 94% rename from src/redmine-net-api/Features/net20/ExtensionAttribute.cs rename to src/redmine-net-api/_net20/ExtensionAttribute.cs index 41a3b55c..c6857d81 100755 --- a/src/redmine-net-api/Features/net20/ExtensionAttribute.cs +++ b/src/redmine-net-api/_net20/ExtensionAttribute.cs @@ -1,4 +1,5 @@ -/* +#if NET20 +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -14,9 +15,6 @@ You may obtain a copy of the License at limitations under the License. */ -#if NET20 - -// ReSharper disable once CheckNamespace namespace System.Runtime.CompilerServices { /// diff --git a/src/redmine-net-api/Features/net20/Func.cs b/src/redmine-net-api/_net20/Func.cs similarity index 100% rename from src/redmine-net-api/Features/net20/Func.cs rename to src/redmine-net-api/_net20/Func.cs diff --git a/src/redmine-net-api/Async/RedmineManagerAsync.cs b/src/redmine-net-api/_net20/RedmineManagerAsync.cs similarity index 99% rename from src/redmine-net-api/Async/RedmineManagerAsync.cs rename to src/redmine-net-api/_net20/RedmineManagerAsync.cs index 124c2b45..acceb9b5 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync.cs +++ b/src/redmine-net-api/_net20/RedmineManagerAsync.cs @@ -1,4 +1,3 @@ - #if NET20 /* From 5b1b5ccf07607a341361e46008bca6dbe65a1bb2 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Nov 2023 22:38:14 +0200 Subject: [PATCH 352/601] [ReSharper] Disable CheckNamespace --- .../Features/CallerArgumentExpressionAttribute.cs | 2 +- src/redmine-net-api/Features/NotNullAttribute.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/Features/CallerArgumentExpressionAttribute.cs b/src/redmine-net-api/Features/CallerArgumentExpressionAttribute.cs index 2c57f348..62165823 100644 --- a/src/redmine-net-api/Features/CallerArgumentExpressionAttribute.cs +++ b/src/redmine-net-api/Features/CallerArgumentExpressionAttribute.cs @@ -4,7 +4,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. - +// ReSharper disable once CheckNamespace namespace System.Runtime.CompilerServices { /// diff --git a/src/redmine-net-api/Features/NotNullAttribute.cs b/src/redmine-net-api/Features/NotNullAttribute.cs index 0a3e9093..8aa30659 100644 --- a/src/redmine-net-api/Features/NotNullAttribute.cs +++ b/src/redmine-net-api/Features/NotNullAttribute.cs @@ -5,7 +5,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. - +// ReSharper disable once CheckNamespace namespace System.Diagnostics.CodeAnalysis { /// From 234e86a49e3f61ee2738708fd24289c548b403d5 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Nov 2023 22:39:50 +0200 Subject: [PATCH 353/601] [Delete] *.csproj.DotSettings --- src/redmine-net-api/redmine-net-api.csproj.DotSettings | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 src/redmine-net-api/redmine-net-api.csproj.DotSettings diff --git a/src/redmine-net-api/redmine-net-api.csproj.DotSettings b/src/redmine-net-api/redmine-net-api.csproj.DotSettings deleted file mode 100644 index b9fd6ee4..00000000 --- a/src/redmine-net-api/redmine-net-api.csproj.DotSettings +++ /dev/null @@ -1,2 +0,0 @@ - - CSharp80 \ No newline at end of file From fd8350d42c32e8dcb5196e1417bef3dfc262357f Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Nov 2023 22:44:26 +0200 Subject: [PATCH 354/601] [Refactor] Use C#11 new features --- src/redmine-net-api/Net/ApiResponseMessage.cs | 2 +- .../Net/WebClient/StringApiRequestMessageContent.cs | 9 ++++++++- src/redmine-net-api/RedmineManagerOptions.cs | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/redmine-net-api/Net/ApiResponseMessage.cs b/src/redmine-net-api/Net/ApiResponseMessage.cs index fc644ee5..c6f6431c 100644 --- a/src/redmine-net-api/Net/ApiResponseMessage.cs +++ b/src/redmine-net-api/Net/ApiResponseMessage.cs @@ -5,5 +5,5 @@ namespace Redmine.Net.Api.Net; internal sealed class ApiResponseMessage { public NameValueCollection Headers { get; init; } - public byte[] Content { get; set; } + public byte[] Content { get; init; } } \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/StringApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/StringApiRequestMessageContent.cs index 80b77fe5..8806a562 100644 --- a/src/redmine-net-api/Net/WebClient/StringApiRequestMessageContent.cs +++ b/src/redmine-net-api/Net/WebClient/StringApiRequestMessageContent.cs @@ -18,7 +18,14 @@ public StringApiRequestMessageContent(string content, string mediaType, Encoding private static byte[] GetContentByteArray(string content, Encoding encoding) { - if (content == null) throw new ArgumentNullException(nameof(content)); + #if NET5_0_OR_GREATER + ArgumentNullException.ThrowIfNull(content); + #else + if (content == null) + { + throw new ArgumentNullException(nameof(content)); + } + #endif return (encoding ?? DefaultStringEncoding).GetBytes(content); } } \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManagerOptions.cs b/src/redmine-net-api/RedmineManagerOptions.cs index 95acc4f6..41f8c45f 100644 --- a/src/redmine-net-api/RedmineManagerOptions.cs +++ b/src/redmine-net-api/RedmineManagerOptions.cs @@ -47,8 +47,8 @@ internal sealed class RedmineManagerOptions /// /// Gets or sets the version of the Redmine server to which this client will connect. /// - public Version Version { get; init; } + public Version RedmineVersion { get; init; } - internal bool VerifyServerCert { get; set; } + internal bool VerifyServerCert { get; init; } } } \ No newline at end of file From 915df2c312be6306fb96d42f52468b51deb882cf Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 28 Nov 2023 22:45:55 +0200 Subject: [PATCH 355/601] [RedmineManagerOptions] Change return type --- src/redmine-net-api/RedmineManagerOptions.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/RedmineManagerOptions.cs b/src/redmine-net-api/RedmineManagerOptions.cs index 41f8c45f..828f1422 100644 --- a/src/redmine-net-api/RedmineManagerOptions.cs +++ b/src/redmine-net-api/RedmineManagerOptions.cs @@ -1,4 +1,5 @@ using System; +using System.Net; using Redmine.Net.Api.Net; using Redmine.Net.Api.Serialization; @@ -37,7 +38,7 @@ internal sealed class RedmineManagerOptions /// /// Gets or sets a custom function that creates and returns a specialized instance of the WebClient class. /// - public Func ClientFunc { get; init; } + public Func ClientFunc { get; init; } /// /// Gets or sets the settings for configuring the Redmine web client. From 769cb00d60a3167dfcd72fcf846b5cc3d8ccc60d Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 2 Dec 2023 00:13:06 +0200 Subject: [PATCH 356/601] [StringExtensions] Small improvements --- .../Extensions/StringExtensions.cs | 31 ++++++++++++------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index 2aa91799..1fd04cdf 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -23,7 +23,7 @@ namespace Redmine.Net.Api.Extensions /// /// /// - public static partial class StringExtensions + public static class StringExtensions { /// /// @@ -32,7 +32,6 @@ public static partial class StringExtensions /// public static bool IsNullOrWhiteSpace(this string value) { -#if NET20 if (value == null) { return true; @@ -45,10 +44,8 @@ public static bool IsNullOrWhiteSpace(this string value) return false; } } + return true; -#else - return string.IsNullOrWhiteSpace(value); -#endif } /// @@ -59,12 +56,16 @@ public static bool IsNullOrWhiteSpace(this string value) /// public static string Truncate(this string text, int maximumLength) { - if (text.IsNullOrWhiteSpace()) + if (text.IsNullOrWhiteSpace() || maximumLength < 1 || text.Length <= maximumLength) { return text; } - return text.Length > maximumLength ? text.Substring(0, maximumLength) : text; + #if (NET5_0_OR_GREATER) + return text.AsSpan()[..maximumLength].ToString(); + #else + return text.Substring(0, maximumLength); + #endif } /// @@ -95,11 +96,12 @@ internal static SecureString ToSecureString(this string value) } var rv = new SecureString(); - foreach (var c in value) + + for (var index = 0; index < value.Length; ++index) { - rv.AppendChar(c); + rv.AppendChar(value[index]); } - + return rv; } @@ -110,11 +112,18 @@ internal static string RemoveTrailingSlash(this string s) return s; } + #if (NET5_0_OR_GREATER) + if (s.EndsWith('/') || s.EndsWith('\\')) + { + return s.AsSpan()[..(s.Length - 1)].ToString(); + } + #else if (s.EndsWith("/", StringComparison.OrdinalIgnoreCase) || s.EndsWith(@"\", StringComparison.OrdinalIgnoreCase)) { return s.Substring(0, s.Length - 1); } - + #endif + return s; } From ee8e807b314451b882c7aec68e66be15e6b4be2a Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 2 Dec 2023 00:14:12 +0200 Subject: [PATCH 357/601] [Delete] RedmineManagerAsync40 --- .../Async/RedmineManagerAsync40.cs | 328 ------------------ 1 file changed, 328 deletions(-) delete mode 100644 src/redmine-net-api/Async/RedmineManagerAsync40.cs diff --git a/src/redmine-net-api/Async/RedmineManagerAsync40.cs b/src/redmine-net-api/Async/RedmineManagerAsync40.cs deleted file mode 100644 index 93845ccc..00000000 --- a/src/redmine-net-api/Async/RedmineManagerAsync40.cs +++ /dev/null @@ -1,328 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - - -#if NET40 -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Globalization; -using System.Threading; -using System.Threading.Tasks; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; -using Redmine.Net.Api.Serialization; - -namespace Redmine.Net.Api.Async -{ - /// - /// - /// - public static class RedmineManagerAsync - { - /// - /// Gets the current user asynchronous. - /// - /// The redmine manager. - /// The parameters. - /// - public static Task GetCurrentUserAsync(this RedmineManager redmineManager, NameValueCollection parameters = null) - { - return Task.Factory.StartNew(() => redmineManager.GetCurrentUser(parameters), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Creates the or update wiki page asynchronous. - /// - /// The redmine manager. - /// The project identifier. - /// Name of the page. - /// The wiki page. - /// - public static Task CreateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) - { - return Task.Factory.StartNew(() => redmineManager.CreateWikiPage(projectId, pageName, wikiPage), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// - /// - /// - /// - /// - /// - /// - public static Task UpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) - { - return Task.Factory.StartNew(() => redmineManager.UpdateWikiPage(projectId, pageName, wikiPage), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Deletes the wiki page asynchronous. - /// - /// The redmine manager. - /// The project identifier. - /// Name of the page. - /// - public static Task DeleteWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName) - { - return Task.Factory.StartNew(() => redmineManager.DeleteWikiPage(projectId, pageName), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Gets the wiki page asynchronous. - /// - /// The redmine manager. - /// The project identifier. - /// The parameters. - /// Name of the page. - /// The version. - /// - public static Task GetWikiPageAsync(this RedmineManager redmineManager, string projectId, NameValueCollection parameters, string pageName, uint version = 0) - { - return Task.Factory.StartNew(() => redmineManager.GetWikiPage(projectId, parameters, pageName, version), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Gets all wiki pages asynchronous. - /// - /// The redmine manager. - /// The project identifier. - /// - public static Task> GetAllWikiPagesAsync(this RedmineManager redmineManager, string projectId) - { - return Task.Factory.StartNew(() => redmineManager.GetAllWikiPages(projectId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Adds the user to group asynchronous. - /// - /// The redmine manager. - /// The group identifier. - /// The user identifier. - /// - public static Task AddUserToGroupAsync(this RedmineManager redmineManager, int groupId, int userId) - { - return Task.Factory.StartNew(() => redmineManager.AddUserToGroup(groupId, userId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Removes the user from group asynchronous. - /// - /// The redmine manager. - /// The group identifier. - /// The user identifier. - /// - public static Task RemoveUserFromGroupAsync(this RedmineManager redmineManager, int groupId, int userId) - { - return Task.Factory.StartNew(() => redmineManager.RemoveUserFromGroup(groupId, userId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Adds the watcher to issue asynchronous. - /// - /// The redmine manager. - /// The issue identifier. - /// The user identifier. - /// - public static Task AddWatcherToIssueAsync(this RedmineManager redmineManager, int issueId, int userId) - { - return Task.Factory.StartNew(() => redmineManager.AddWatcherToIssue(issueId, userId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Removes the watcher from issue asynchronous. - /// - /// The redmine manager. - /// The issue identifier. - /// The user identifier. - /// - public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManager, int issueId, int userId) - { - return Task.Factory.StartNew(() => redmineManager.RemoveWatcherFromIssue(issueId, userId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Gets the object asynchronous. - /// - /// - /// The redmine manager. - /// The identifier. - /// The parameters. - /// - public static Task GetObjectAsync(this RedmineManager redmineManager, string id, NameValueCollection parameters) where T : class, new() - { - return Task.Factory.StartNew(() => redmineManager.GetObject(id, parameters), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Creates the object asynchronous. - /// - /// - /// The redmine manager. - /// The object. - /// - public static Task CreateObjectAsync(this RedmineManager redmineManager, T entity) where T : class, new() - { - return CreateObjectAsync(redmineManager, entity, null); - } - - - /// - /// - /// - /// - /// - /// - /// - public static Task CountAsync(this RedmineManager redmineManager, params string[] include) where T : class, new() - { - return Task.Factory.StartNew(()=> redmineManager.Count(include), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// - /// - /// - /// - /// - /// - public static Task CountAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() - { - return Task.Factory.StartNew(() => redmineManager.Count(parameters), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Creates the object asynchronous. - /// - /// - /// The redmine manager. - /// The object. - /// The owner identifier. - /// - public static Task CreateObjectAsync(this RedmineManager redmineManager, T entity, string ownerId) where T : class, new() - { - return Task.Factory.StartNew(() => redmineManager.CreateObject(entity, ownerId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Gets the paginated objects asynchronous. - /// - /// - /// The redmine manager. - /// The parameters. - /// - public static Task> GetPaginatedObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() - { - return Task.Factory.StartNew(() => redmineManager.GetPaginatedObjects(parameters), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Gets the objects asynchronous. - /// - /// - /// The redmine manager. - /// The parameters. - /// - public static Task> GetObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() - { - return Task.Factory.StartNew(() => redmineManager.GetObjects(parameters), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Updates the object asynchronous. - /// - /// - /// The redmine manager. - /// The identifier. - /// The object. - /// The project identifier. - /// - public static Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T entity, string projectId = null) where T : class, new() - { - return Task.Factory.StartNew(() => redmineManager.UpdateObject(id, entity, projectId), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Deletes the object asynchronous. - /// - /// - /// The redmine manager. - /// The identifier. - /// - public static Task DeleteObjectAsync(this RedmineManager redmineManager, string id) where T : class, new() - { - return Task.Factory.StartNew(() => redmineManager.DeleteObject(id), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Uploads the file asynchronous. - /// - /// The redmine manager. - /// The data. - /// - public static Task UploadFileAsync(this RedmineManager redmineManager, byte[] data) - { - return Task.Factory.StartNew(() => redmineManager.UploadFile(data), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Downloads the file asynchronous. - /// - /// The redmine manager. - /// The address. - /// - public static Task DownloadFileAsync(this RedmineManager redmineManager, string address) - { - return Task.Factory.StartNew(() => redmineManager.DownloadFile(address), CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - public static Task> SearchAsync(this RedmineManager redmineManager, string q, int limit = RedmineManager.DEFAULT_PAGE_SIZE_VALUE, int offset = 0, SearchFilterBuilder searchFilter = null) - { - if (q.IsNullOrWhiteSpace()) - { - throw new ArgumentNullException(nameof(q)); - } - - var parameters = new NameValueCollection - { - {RedmineKeys.Q, q}, - {RedmineKeys.LIMIT, limit.ToString(CultureInfo.InvariantCulture)}, - {RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)}, - }; - - if (searchFilter != null) - { - parameters = searchFilter.Build(parameters); - } - - var result = redmineManager.GetPaginatedObjectsAsync(parameters); - - return result; - } - } -} -#endif \ No newline at end of file From 1dbb3ce111ef1ffe70750b16ad7fed3c482ba1b7 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 2 Dec 2023 00:15:47 +0200 Subject: [PATCH 358/601] [New] ApiResponseMessageExtensions --- .../Net/ApiResponseMessageExtensions.cs | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/redmine-net-api/Net/ApiResponseMessageExtensions.cs diff --git a/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs b/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs new file mode 100644 index 00000000..7efdfd95 --- /dev/null +++ b/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs @@ -0,0 +1,44 @@ +using System.Collections.Generic; +using System.Text; +using Redmine.Net.Api.Serialization; + +namespace Redmine.Net.Api.Net; + +internal static class ApiResponseMessageExtensions +{ + internal static T DeserializeTo(this ApiResponseMessage responseMessage, IRedmineSerializer redmineSerializer) where T : new() + { + if (responseMessage?.Content == null) + { + return default; + } + + var responseAsString = Encoding.UTF8.GetString(responseMessage.Content); + + return redmineSerializer.Deserialize(responseAsString); + } + + internal static PagedResults DeserializeToPagedResults(this ApiResponseMessage responseMessage, IRedmineSerializer redmineSerializer) where T : class, new() + { + if (responseMessage?.Content == null) + { + return default; + } + + var responseAsString = Encoding.UTF8.GetString(responseMessage.Content); + + return redmineSerializer.DeserializeToPagedResults(responseAsString); + } + + internal static List DeserializeToList(this ApiResponseMessage responseMessage, IRedmineSerializer redmineSerializer) where T : class, new() + { + if (responseMessage?.Content == null) + { + return default; + } + + var responseAsString = Encoding.UTF8.GetString(responseMessage.Content); + + return redmineSerializer.Deserialize>(responseAsString); + } +} \ No newline at end of file From a1744135460960a9998fb0e27673cee1177a4e0b Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 4 Dec 2023 13:13:13 +0200 Subject: [PATCH 359/601] [Csproj] Cleanup test project file --- .../redmine-net-api.Tests.csproj | 37 +++++-------------- 1 file changed, 10 insertions(+), 27 deletions(-) diff --git a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index 3de7e771..6f78956b 100644 --- a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -6,7 +6,7 @@ $(AssemblyName) false net481 - net451;net452;net46;net461;net462;net47;net471;net472;net48;net481; + net40;net451;net452;net46;net461;net462;net47;net471;net472;net48;net481; false f8b9e946-b547-42f1-861c-f719dca00a84 Release;Debug;DebugJson @@ -14,41 +14,18 @@ |net45|net451|net452|net46|net461| + |net40|net45|net451|net452|net46|net461| - AnyCPU - true - full - false - bin\Debug\ DEBUG;TRACE;DEBUG_XML - prompt - 4 - AnyCPU - true - full - false - bin\Debug\ DEBUG;TRACE;DEBUG_JSON - prompt - 4 - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - + @@ -73,8 +50,14 @@ + + + + + - + + runtime; build; native; contentfiles; analyzers; buildtransitive From d484c617613f20cc403efcfbc3b765b30aeb38d1 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 4 Dec 2023 13:14:20 +0200 Subject: [PATCH 360/601] [Delete] Old test files --- .../Tests/Async/AttachmentAsyncTests.cs | 105 ------ .../Tests/Async/IssueAsyncTests.cs | 46 --- .../Tests/Async/UserAsyncTests.cs | 216 ------------ .../Tests/Async/WikiPageAsyncTests.cs | 101 ------ .../Tests/RedmineTest.cs | 59 ---- .../Tests/Sync/AttachmentTests.cs | 122 ------- .../Tests/Sync/CustomFieldTests.cs | 48 --- .../Tests/Sync/GroupTests.cs | 130 ------- .../Tests/Sync/IssueCategoryTests.cs | 132 ------- .../Tests/Sync/IssuePriorityTests.cs | 46 --- .../Tests/Sync/IssueRelationTests.cs | 105 ------ .../Tests/Sync/IssueStatusTests.cs | 46 --- .../Tests/Sync/IssueTests.cs | 332 ------------------ .../Tests/Sync/NewsTests.cs | 61 ---- .../Tests/Sync/ProjectMembershipTests.cs | 125 ------- .../Tests/Sync/ProjectTests.cs | 263 -------------- .../Tests/Sync/QueryTests.cs | 47 --- .../Tests/Sync/RoleTests.cs | 63 ---- .../Tests/Sync/TimeEntryActivtiyTests.cs | 48 --- .../Tests/Sync/TimeEntryTests.cs | 145 -------- .../Tests/Sync/TrackerTests.cs | 46 --- .../Tests/Sync/UserTests.cs | 219 ------------ .../Tests/Sync/VersionTests.cs | 144 -------- .../Tests/Sync/WikiPageTests.cs | 140 -------- 24 files changed, 2789 deletions(-) delete mode 100644 tests/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/RedmineTest.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs delete mode 100644 tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs diff --git a/tests/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs deleted file mode 100644 index f454a497..00000000 --- a/tests/redmine-net-api.Tests/Tests/Async/AttachmentAsyncTests.cs +++ /dev/null @@ -1,105 +0,0 @@ -#if !(NET20 || NET40) - -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Threading.Tasks; -using Redmine.Net.Api.Async; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Async -{ - [Collection("RedmineCollection")] - public class AttachmentAsyncTests - { - private const string ATTACHMENT_ID = "10"; - - private readonly RedmineFixture fixture; - public AttachmentAsyncTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - [Fact] - public async Task Should_Get_Attachment_By_Id() - { - var attachment = await fixture.RedmineManager.GetObjectAsync(ATTACHMENT_ID, null); - - Assert.NotNull(attachment); - Assert.IsType(attachment); - } - - [Fact] - public async Task Should_Upload_Attachment() - { - //read document from specified path - var documentPath = AppDomain.CurrentDomain.BaseDirectory + "/uploadAttachment.pages"; - var documentData = System.IO.File.ReadAllBytes(documentPath); - - //upload attachment to redmine - var attachment = await fixture.RedmineManager.UploadFileAsync(documentData); - - //set attachment properties - attachment.FileName = "uploadAttachment.pages"; - attachment.Description = "File uploaded using REST API"; - attachment.ContentType = "text/plain"; - - //create list of attachments to be added to issue - IList attachments = new List(); - attachments.Add(attachment); - - - var icf = (IssueCustomField)IdentifiableName.Create(13); - icf.Values = new List { new CustomFieldValue { Info = "Issue custom field completed" } }; - - var issue = new Issue - { - Project = IdentifiableName.Create(9), - Tracker = IdentifiableName.Create(3), - Status = IdentifiableName.Create(6), - Priority = IdentifiableName.Create(9), - Subject = "Issue with attachments", - Description = "Issue description...", - Category = IdentifiableName.Create(18), - FixedVersion = IdentifiableName.Create(9), - AssignedTo = IdentifiableName.Create(8), - ParentIssue = IdentifiableName.Create(96), - CustomFields = new List {icf}, - IsPrivate = true, - EstimatedHours = 12, - StartDate = DateTime.Now, - DueDate = DateTime.Now.AddMonths(1), - Uploads = attachments, - Watchers = new List - { - (Watcher) IdentifiableName.Create(8), - (Watcher) IdentifiableName.Create(2) - } - }; - - //create issue and attach document - var issueWithAttachment = await fixture.RedmineManager.CreateObjectAsync(issue); - - issue = await fixture.RedmineManager.GetObjectAsync(issueWithAttachment.Id.ToString(), - new NameValueCollection { { "include", "attachments" } }); - - Assert.NotNull(issue); - Assert.IsType(issue); - - Assert.True(issue.Attachments.Count == 1, "Attachments count != 1"); - Assert.True(issue.Attachments[0].FileName == attachment.FileName); - } - - [Fact] - public async Task Sould_Download_Attachment() - { - var attachment = await fixture.RedmineManager.GetObjectAsync(ATTACHMENT_ID, null); - - var document = await fixture.RedmineManager.DownloadFileAsync(attachment.ContentUrl); - - Assert.NotNull(document); - } - } -} -#endif \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs deleted file mode 100644 index b800e3c4..00000000 --- a/tests/redmine-net-api.Tests/Tests/Async/IssueAsyncTests.cs +++ /dev/null @@ -1,46 +0,0 @@ -#if !(NET20 || NET40) -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Threading.Tasks; -using Redmine.Net.Api.Async; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Async -{ - [Collection("RedmineCollection")] - public class IssueAsyncTests - { - private const int WATCHER_ISSUE_ID = 91; - private const int WATCHER_USER_ID = 2; - - private readonly RedmineFixture fixture; - public IssueAsyncTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - [Fact] - public async Task Should_Add_Watcher_To_Issue() - { - await fixture.RedmineManager.AddWatcherToIssueAsync(WATCHER_ISSUE_ID, WATCHER_USER_ID); - - var issue = await fixture.RedmineManager.GetObjectAsync(WATCHER_ISSUE_ID.ToString(), new NameValueCollection { { "include", "watchers" } }); - - Assert.NotNull(issue); - Assert.True(issue.Watchers.Count == 1, "Number of watchers != 1"); - Assert.True(((List)issue.Watchers).Find(w => w.Id == WATCHER_USER_ID) != null, "Watcher not added to issue."); - } - - [Fact] - public async Task Should_Remove_Watcher_From_Issue() - { - await fixture.RedmineManager.RemoveWatcherFromIssueAsync(WATCHER_ISSUE_ID, WATCHER_USER_ID); - - var issue = await fixture.RedmineManager.GetObjectAsync(WATCHER_ISSUE_ID.ToString(), new NameValueCollection { { "include", "watchers" } }); - - Assert.True(issue.Watchers == null || ((List)issue.Watchers).Find(w => w.Id == WATCHER_USER_ID) == null); - } - } -} -#endif \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs deleted file mode 100644 index f3690f44..00000000 --- a/tests/redmine-net-api.Tests/Tests/Async/UserAsyncTests.cs +++ /dev/null @@ -1,216 +0,0 @@ -#if !(NET20 || NET40) -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Globalization; -using System.Linq; -using System.Threading.Tasks; -using Redmine.Net.Api; -using Redmine.Net.Api.Async; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Async -{ - [Collection("RedmineCollection")] - public class UserAsyncTests - { - private const string USER_ID = "8"; - private const string LIMIT = "2"; - private const string OFFSET = "1"; - private const int GROUP_ID = 9; - - private readonly RedmineFixture fixture; - public UserAsyncTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - [Fact] - public async Task Should_Get_CurrentUser() - { - var currentUser = await fixture.RedmineManager.GetCurrentUserAsync(); - Assert.NotNull(currentUser); - } - - [Fact] - public async Task Should_Get_User_By_Id() - { - var user = await fixture.RedmineManager.GetObjectAsync(USER_ID, null); - Assert.NotNull(user); - } - - [Fact] - public async Task Should_Get_User_By_Id_Including_Groups_And_Memberships() - { - var user = await fixture.RedmineManager.GetObjectAsync(USER_ID, new NameValueCollection() { { RedmineKeys.INCLUDE, "groups,memberships" } }); - - Assert.NotNull(user); - - Assert.NotNull(user.Groups); - Assert.True(user.Groups.Count == 1, "Group count != 1"); - - Assert.NotNull(user.Memberships); - Assert.True(user.Memberships.Count == 3, "Membership count != 3"); - } - - [Fact] - public async Task Should_Get_X_Users_From_Offset_Y() - { - var result = await fixture.RedmineManager.GetPaginatedObjectsAsync(new NameValueCollection() { - { RedmineKeys.INCLUDE, "groups, memberships" }, - {RedmineKeys.LIMIT,LIMIT }, - {RedmineKeys.OFFSET,OFFSET } - }); - - Assert.NotNull(result); - Assert.All(result.Items, u => Assert.IsType(u)); - } - - [Fact] - public async Task Should_Get_All_Users_With_Groups_And_Memberships() - { - var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection { { RedmineKeys.INCLUDE, "groups, memberships" } }); - - Assert.NotNull(users); - Assert.All(users, u => Assert.IsType(u)); - } - - [Fact] - public async Task Should_Get_Active_Users() - { - var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection() - { - { RedmineKeys.STATUS, ((int)UserStatus.StatusActive).ToString(CultureInfo.InvariantCulture) } - }); - - Assert.NotNull(users); - Assert.True(users.Count == 6); - Assert.All(users, u => Assert.IsType(u)); - } - - [Fact] - public async Task Should_Get_Anonymous_Users() - { - var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection() - { - { RedmineKeys.STATUS, ((int)UserStatus.StatusAnonymous).ToString(CultureInfo.InvariantCulture) } - }); - - Assert.NotNull(users); - Assert.True(users.Count == 0); - Assert.All(users, u => Assert.IsType(u)); - } - - [Fact] - public async Task Should_Get_Locked_Users() - { - var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection() - { - { RedmineKeys.STATUS, ((int)UserStatus.StatusLocked).ToString(CultureInfo.InvariantCulture) } - }); - - Assert.NotNull(users); - Assert.True(users.Count == 1); - Assert.All(users, u => Assert.IsType(u)); - } - - [Fact] - public async Task Should_Get_Registered_Users() - { - var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection() - { - { RedmineKeys.STATUS, ((int)UserStatus.StatusRegistered).ToString(CultureInfo.InvariantCulture) } - }); - - Assert.NotNull(users); - Assert.True(users.Count == 1); - Assert.All(users, u => Assert.IsType(u)); - } - - [Fact] - public async Task Should_Get_Users_By_Group() - { - var users = await fixture.RedmineManager.GetObjectsAsync(new NameValueCollection() - { - {RedmineKeys.GROUP_ID, GROUP_ID.ToString(CultureInfo.InvariantCulture)} - }); - - Assert.NotNull(users); - Assert.True(users.Count == 3); - Assert.All(users, u => Assert.IsType(u)); - } - - [Fact] - public async Task Should_Add_User_To_Group() - { - await fixture.RedmineManager.AddUserToGroupAsync(GROUP_ID, int.Parse(USER_ID)); - - var user = fixture.RedmineManager.GetObject(USER_ID.ToString(CultureInfo.InvariantCulture), new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.GROUPS } }); - - Assert.NotNull(user.Groups); - Assert.True(user.Groups.FirstOrDefault(g => g.Id == GROUP_ID) != null); - } - - [Fact] - public async Task Should_Remove_User_From_Group() - { - await fixture.RedmineManager.RemoveUserFromGroupAsync(GROUP_ID, int.Parse(USER_ID)); - - var user = await fixture.RedmineManager.GetObjectAsync(USER_ID.ToString(CultureInfo.InvariantCulture), new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.GROUPS } }); - - Assert.True(user.Groups == null || user.Groups.FirstOrDefault(g => g.Id == GROUP_ID) == null); - } - - [Fact] - public async Task Should_Create_User() - { - var user = new User - { - Login = "userTestLogin4", - FirstName = "userTestFirstName", - LastName = "userTestLastName", - Email = "testTest4@redmineapi.com", - Password = "123456", - AuthenticationModeId = 1, - MustChangePassword = false - }; - - - var icf = (IssueCustomField)IdentifiableName.Create(4); - icf.Values = new List { new CustomFieldValue { Info = "userTestCustomField:" + DateTime.UtcNow } }; - - user.CustomFields = new List(); - user.CustomFields.Add(icf); - - var createdUser = await fixture.RedmineManager.CreateObjectAsync(user); - - Assert.Equal(user.Login, createdUser.Login); - Assert.Equal(user.Email, createdUser.Email); - } - - [Fact] - public async Task Should_Update_User() - { - var userId = 59.ToString(); - var user = fixture.RedmineManager.GetObject(userId, null); - user.FirstName = "modified first name"; - await fixture.RedmineManager.UpdateObjectAsync(userId, user); - - var updatedUser = await fixture.RedmineManager.GetObjectAsync(userId, null); - - Assert.Equal(user.FirstName, updatedUser.FirstName); - } - - [Fact] - public async Task Should_Delete_User() - { - var userId = 62.ToString(); - await fixture.RedmineManager.DeleteObjectAsync(userId); - await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetObjectAsync(userId, null)); - - } - } -} -#endif \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs b/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs deleted file mode 100644 index 52d1cccb..00000000 --- a/tests/redmine-net-api.Tests/Tests/Async/WikiPageAsyncTests.cs +++ /dev/null @@ -1,101 +0,0 @@ -#if !(NET20 || NET40) -using System; -using System.Collections.Specialized; -using System.Threading.Tasks; -using Redmine.Net.Api.Async; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Async -{ - [Collection("RedmineCollection")] - public class WikiPageAsyncTests - { - private const string PROJECT_ID = "redmine-net-testq"; - private const string WIKI_PAGE_NAME = "Wiki"; - private const int NO_OF_WIKI_PAGES = 1; - private const int WIKI_PAGE_VERSION = 1; - - private const string WIKI_PAGE_UPDATED_TEXT = "Updated again and again wiki page"; - private const string WIKI_PAGE_COMMENT = "Comment added through code"; - - private readonly RedmineFixture fixture; - public WikiPageAsyncTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - [Fact] - public async Task Should_Add_Wiki_Page() - { - var page = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, WIKI_PAGE_NAME, new WikiPage { Text = WIKI_PAGE_UPDATED_TEXT, Comments = WIKI_PAGE_COMMENT }); - - Assert.NotNull(page); - Assert.True(page.Title == WIKI_PAGE_NAME, "Wiki page " + WIKI_PAGE_NAME + " does not exist."); - } - - [Fact] - public async Task Should_Update_Wiki_Page() - { - await fixture.RedmineManager.UpdateWikiPageAsync(PROJECT_ID, WIKI_PAGE_NAME, new WikiPage { Text = WIKI_PAGE_UPDATED_TEXT, Comments = WIKI_PAGE_COMMENT }); - } - - [Fact] - public async Task Should_Get_All_Pages() - { - var pages = await fixture.RedmineManager.GetAllWikiPagesAsync(null, PROJECT_ID); - - Assert.NotNull(pages); - - Assert.True(pages.Count == NO_OF_WIKI_PAGES, "Number of pages != "+NO_OF_WIKI_PAGES); - Assert.True(pages.Exists(p => p.Title == WIKI_PAGE_NAME), "Wiki page "+WIKI_PAGE_NAME+" does not exist." ); - } - - [Fact] - public async Task Should_Get_Page_By_Name() - { - var page = await fixture.RedmineManager.GetWikiPageAsync(PROJECT_ID, new NameValueCollection { { "include", "attachments" } }, WIKI_PAGE_NAME); - - Assert.NotNull(page); - Assert.True(page.Title == WIKI_PAGE_NAME, "Wiki page " + WIKI_PAGE_NAME + " does not exist."); - } - - [Fact] - public async Task Should_Get_Wiki_Page_Old_Version() - { - var oldPage = await fixture.RedmineManager.GetWikiPageAsync(PROJECT_ID, new NameValueCollection { { "include", "attachments" } }, WIKI_PAGE_NAME, WIKI_PAGE_VERSION); - - Assert.True(oldPage.Title == WIKI_PAGE_NAME, "Wiki page " + WIKI_PAGE_NAME + " does not exist."); - Assert.True(oldPage.Version == WIKI_PAGE_VERSION, "Wiki page version " + WIKI_PAGE_VERSION + " does not exist."); - } - - [Fact] - public async Task Should_Delete_WikiPage() - { - await fixture.RedmineManager.DeleteWikiPageAsync(PROJECT_ID, WIKI_PAGE_NAME); - await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetWikiPageAsync(PROJECT_ID, null, WIKI_PAGE_NAME)); - } - - [Fact] - public async Task Should_Get_Wiki_Page_With_Special_Chars() - { - var wikiPageName = "some-page-with-umlauts-and-other-special-chars-äöüÄÖÜß"; - - var wikiPage = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, wikiPageName, - new WikiPage { Text = "WIKI_PAGE_TEXT", Comments = "WIKI_PAGE_COMMENT" }); - - WikiPage page = await fixture.RedmineManager.GetWikiPageAsync - ( - PROJECT_ID, - null, - wikiPageName - ); - - Assert.NotNull(page); - Assert.True(string.Equals(page.Title,wikiPageName, StringComparison.OrdinalIgnoreCase),$"Wiki page {wikiPageName} does not exist."); - } - - } -} -#endif \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/RedmineTest.cs b/tests/redmine-net-api.Tests/Tests/RedmineTest.cs deleted file mode 100644 index 83157397..00000000 --- a/tests/redmine-net-api.Tests/Tests/RedmineTest.cs +++ /dev/null @@ -1,59 +0,0 @@ -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api; -using Redmine.Net.Api.Exceptions; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests -{ - [Trait("Redmine-api", "Credentials")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - [Order(1)] - public sealed class RedmineTest - { - private static readonly RedmineCredentials Credentials; - - - static RedmineTest() - { - Credentials = TestHelper.GetApplicationConfiguration(); - } - - [Fact] - public void Should_Throw_Redmine_Exception_When_Host_Is_Null() - { - Assert.Throws(() => new RedmineManager(null, Credentials.Username, Credentials.Password)); - } - - [Fact] - public void Should_Throw_Redmine_Exception_When_Host_Is_Empty() - { - Assert.Throws(() => new RedmineManager(string.Empty, Credentials.Username, Credentials.Password)); - } - - [Fact] - public void Should_Throw_Redmine_Exception_When_Host_Is_Invalid() - { - Assert.Throws(() => new RedmineManager("invalid<>", Credentials.Username, Credentials.Password)); - } - - [Fact] - public void Should_Connect_With_Username_And_Password() - { - var a = new RedmineManager(Credentials.Uri, Credentials.Username, Credentials.Password); - var currentUser = a.GetCurrentUser(); - Assert.NotNull(currentUser); - Assert.True(currentUser.Login.Equals(Credentials.Username), "usernames not equals."); - } - - [Fact] - public void Should_Connect_With_Api_Key() - { - var a = new RedmineManager(Credentials.Uri, Credentials.ApiKey); - var currentUser = a.GetCurrentUser(); - Assert.NotNull(currentUser); - Assert.True(currentUser.ApiKey.Equals(Credentials.ApiKey),"api keys not equals."); - } - } -} diff --git a/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs deleted file mode 100644 index 0a5d2f3f..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/AttachmentTests.cs +++ /dev/null @@ -1,122 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "Attachments")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class AttachmentTests - { - public AttachmentTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private readonly RedmineFixture fixture; - - private const string ATTACHMENT_ID = "48"; - private const string ATTACHMENT_FILE_NAME = "uploadAttachment.pages"; - - [Fact, Order(1)] - public void Should_Download_Attachment() - { - var url = fixture.Credentials.Uri + "/attachments/download/" + ATTACHMENT_ID + "/" + ATTACHMENT_FILE_NAME; - - var document = fixture.RedmineManager.DownloadFile(url); - - Assert.NotNull(document); - } - - [Fact, Order(2)] - public void Should_Get_Attachment_By_Id() - { - var attachment = fixture.RedmineManager.GetObject(ATTACHMENT_ID, null); - - Assert.NotNull(attachment); - Assert.IsType(attachment); - Assert.True(attachment.FileName == ATTACHMENT_FILE_NAME, "Attachment file name ( " + attachment.FileName + " ) " + - "is not the expected one ( " + ATTACHMENT_FILE_NAME + " )."); - } - - [Fact, Order(3)] - public void Should_Upload_Attachment() - { - const string ATTACHMENT_LOCAL_PATH = "uploadAttachment.pages"; - const string ATTACHMENT_NAME = "AttachmentUploaded.txt"; - const string ATTACHMENT_DESCRIPTION = "File uploaded using REST API"; - const string ATTACHMENT_CONTENT_TYPE = "text/plain"; - const int PROJECT_ID = 9; - const string ISSUE_SUBJECT = "Issue with attachments"; - - //read document from specified path - var documentData = System.IO.File.ReadAllBytes(AppDomain.CurrentDomain.BaseDirectory + ATTACHMENT_LOCAL_PATH); - - //upload attachment to redmine - var attachment = fixture.RedmineManager.UploadFile(documentData); - - //set attachment properties - attachment.FileName = ATTACHMENT_NAME; - attachment.Description = ATTACHMENT_DESCRIPTION; - attachment.ContentType = ATTACHMENT_CONTENT_TYPE; - - //create list of attachments to be added to issue - IList attachments = new List(); - attachments.Add(attachment); - - var issue = new Issue - { - Project = IdentifiableName.Create(PROJECT_ID ), - Subject = ISSUE_SUBJECT, - Uploads = attachments - }; - - //create issue and attach document - var issueWithAttachment = fixture.RedmineManager.CreateObject(issue); - - issue = fixture.RedmineManager.GetObject(issueWithAttachment.Id.ToString(), - new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.ATTACHMENTS } }); - - Assert.NotNull(issue); - Assert.NotNull(issue.Attachments); - Assert.True(issue.Attachments.Count == 1, "Number of attachments ( " + issue.Attachments.Count + " ) != 1"); - - var firstAttachment = issue.Attachments[0]; - Assert.True(firstAttachment.FileName == ATTACHMENT_NAME, "Attachment name is invalid."); - Assert.True(firstAttachment.Description == ATTACHMENT_DESCRIPTION,"Attachment description is invalid."); - Assert.True(firstAttachment.ContentType == ATTACHMENT_CONTENT_TYPE,"Attachment content type is invalid."); - } - - - [Fact, Order(4)] - public void Should_Delete_Attachment() - { - var exception = (RedmineException)Record.Exception(() => fixture.RedmineManager.DeleteObject(ATTACHMENT_ID)); - Assert.Null(exception); - Assert.Throws(() => fixture.RedmineManager.GetObject(ATTACHMENT_ID, null)); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs deleted file mode 100644 index de6db017..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/CustomFieldTests.cs +++ /dev/null @@ -1,48 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "CustomFields")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class CustomFieldTests - { - public CustomFieldTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private readonly RedmineFixture fixture; - - [Fact, Order(1)] - public void Should_Get_All_CustomFields() - { - const int NUMBER_OF_CUSTOM_FIELDS = 10; - - var customFields = fixture.RedmineManager.GetObjects(); - - Assert.NotNull(customFields); - Assert.True(customFields.Count == NUMBER_OF_CUSTOM_FIELDS, - "Custom fields count(" + customFields.Count + ") != " + NUMBER_OF_CUSTOM_FIELDS); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs deleted file mode 100644 index eae41a6f..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/GroupTests.cs +++ /dev/null @@ -1,130 +0,0 @@ -using System.Collections.Generic; -using System.Collections.Specialized; -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "Groups")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class GroupTests - { - public GroupTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private readonly RedmineFixture fixture; - - private const string GROUP_ID = "57"; - private const int NUMBER_OF_MEMBERSHIPS = 1; - private const int NUMBER_OF_USERS = 2; - - [Fact, Order(1)] - public void Should_Add_Group() - { - const string NEW_GROUP_NAME = "Developers1"; - const int NEW_GROUP_USER_ID = 8; - - var group = new Group(); - group.Name = NEW_GROUP_NAME; - group.Users = new List { (GroupUser)IdentifiableName.Create(NEW_GROUP_USER_ID )}; - - Group savedGroup = null; - var exception = - (RedmineException)Record.Exception(() => savedGroup = fixture.RedmineManager.CreateObject(group)); - - Assert.Null(exception); - Assert.NotNull(savedGroup); - Assert.True(group.Name.Equals(savedGroup.Name), "Group name is not valid."); - } - - [Fact, Order(2)] - public void Should_Update_Group() - { - const string UPDATED_GROUP_ID = "58"; - const string UPDATED_GROUP_NAME = "Best Developers"; - const int UPDATED_GROUP_USER_ID = 2; - - var group = fixture.RedmineManager.GetObject(UPDATED_GROUP_ID, - new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.USERS } }); - group.Name = UPDATED_GROUP_NAME; - group.Users.Add((GroupUser)IdentifiableName.Create(UPDATED_GROUP_USER_ID)); - - fixture.RedmineManager.UpdateObject(UPDATED_GROUP_ID, group); - - var updatedGroup = fixture.RedmineManager.GetObject(UPDATED_GROUP_ID, - new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.USERS } }); - - Assert.NotNull(updatedGroup); - Assert.True(updatedGroup.Name.Equals(UPDATED_GROUP_NAME), "Group name was not updated."); - Assert.NotNull(updatedGroup.Users); - // Assert.True(updatedGroup.Users.Find(u => u.Id == UPDATED_GROUP_USER_ID) != null, - //"User was not added to group."); - } - - [Fact, Order(3)] - public void Should_Get_All_Groups() - { - const int NUMBER_OF_GROUPS = 3; - - var groups = fixture.RedmineManager.GetObjects(); - - Assert.NotNull(groups); - Assert.True(groups.Count == NUMBER_OF_GROUPS, "Number of groups ( " + groups.Count + " ) != " + NUMBER_OF_GROUPS); - } - - [Fact, Order(4)] - public void Should_Get_Group_With_All_Associated_Data() - { - var group = fixture.RedmineManager.GetObject(GROUP_ID, - new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.MEMBERSHIPS + "," + RedmineKeys.USERS } }); - - Assert.NotNull(group); - - Assert.True(group.Memberships.Count == NUMBER_OF_MEMBERSHIPS, - "Number of memberships != " + NUMBER_OF_MEMBERSHIPS); - - Assert.True(group.Users.Count == NUMBER_OF_USERS, "Number of users ( " + group.Users.Count + " ) != " + NUMBER_OF_USERS); - Assert.True(group.Name.Equals("Test"), "Group name is not valid."); - } - - [Fact, Order(5)] - public void Should_Get_Group_With_Memberships() - { - var group = fixture.RedmineManager.GetObject(GROUP_ID, - new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.MEMBERSHIPS } }); - - Assert.NotNull(group); - Assert.True(group.Memberships.Count == NUMBER_OF_MEMBERSHIPS, - "Number of memberships ( " + group.Memberships.Count + " ) != " + NUMBER_OF_MEMBERSHIPS); - } - - [Fact, Order(6)] - public void Should_Get_Group_With_Users() - { - var group = fixture.RedmineManager.GetObject(GROUP_ID, - new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.USERS } }); - - Assert.NotNull(group); - Assert.True(group.Users.Count == NUMBER_OF_USERS, "Number of users ( " + group.Users.Count + " ) != " + NUMBER_OF_USERS); - } - - [Fact, Order(99)] - public void Should_Delete_Group() - { - const string DELETED_GROUP_ID = "63"; - - var exception = - (RedmineException) - Record.Exception(() => fixture.RedmineManager.DeleteObject(DELETED_GROUP_ID)); - Assert.Null(exception); - Assert.Throws(() => fixture.RedmineManager.GetObject(DELETED_GROUP_ID, null)); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs deleted file mode 100644 index fa47d282..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueCategoryTests.cs +++ /dev/null @@ -1,132 +0,0 @@ -using System.Collections.Specialized; -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "IssueCategories")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class IssueCategoryTests - { - private readonly RedmineFixture fixture; - - private const string PROJECT_ID = "redmine-net-testq"; - private const string NEW_ISSUE_CATEGORY_NAME = "Test category"; - private const int NEW_ISSUE_CATEGORY_ASIGNEE_ID = 1; - private static string createdIssueCategoryId; - - public IssueCategoryTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - [Fact, Order(1)] - public void Should_Create_IssueCategory() - { - var issueCategory = new IssueCategory - { - Name = NEW_ISSUE_CATEGORY_NAME, - AssignTo = IdentifiableName.Create(NEW_ISSUE_CATEGORY_ASIGNEE_ID) - }; - - var savedIssueCategory = fixture.RedmineManager.CreateObject(issueCategory, PROJECT_ID); - - createdIssueCategoryId = savedIssueCategory.Id.ToString(); - - Assert.NotNull(savedIssueCategory); - Assert.True(savedIssueCategory.Name.Equals(NEW_ISSUE_CATEGORY_NAME), "Saved issue category name is invalid."); - } - - [Fact, Order(99)] - public void Should_Delete_IssueCategory() - { - var exception = - (RedmineException) - Record.Exception( - () => fixture.RedmineManager.DeleteObject(createdIssueCategoryId)); - Assert.Null(exception); - Assert.Throws( - () => fixture.RedmineManager.GetObject(createdIssueCategoryId, null)); - } - - [Fact, Order(2)] - public void Should_Get_All_IssueCategories_By_ProjectId() - { - const int NUMBER_OF_ISSUE_CATEGORIES = 3; - var issueCategories = - fixture.RedmineManager.GetObjects(new NameValueCollection - { - {RedmineKeys.PROJECT_ID, PROJECT_ID} - }); - - Assert.NotNull(issueCategories); - Assert.True(issueCategories.Count == NUMBER_OF_ISSUE_CATEGORIES, - "Number of issue categories ( "+issueCategories.Count+" ) != " + NUMBER_OF_ISSUE_CATEGORIES); - } - - [Fact, Order(3)] - public void Should_Get_IssueCategory_By_Id() - { - const string ISSUE_CATEGORY_PROJECT_NAME_TO_GET = "Redmine tests"; - const string ISSUE_CATEGORY_ASIGNEE_NAME_TO_GET = "Redmine"; - - var issueCategory = fixture.RedmineManager.GetObject(createdIssueCategoryId, null); - - Assert.NotNull(issueCategory); - Assert.True(issueCategory.Name.Equals(NEW_ISSUE_CATEGORY_NAME), "Issue category name is invalid."); - Assert.NotNull(issueCategory.AssignTo); - Assert.True(issueCategory.AssignTo.Name.Contains(ISSUE_CATEGORY_ASIGNEE_NAME_TO_GET), - "Asignee name is invalid."); - Assert.NotNull(issueCategory.Project); - Assert.True(issueCategory.Project.Name.Equals(ISSUE_CATEGORY_PROJECT_NAME_TO_GET), - "Project name is invalid."); - } - - [Fact, Order(4)] - public void Should_Update_IssueCategory() - { - const string ISSUE_CATEGORY_NAME_TO_UPDATE = "Category updated"; - const int ISSUE_CATEGORY_ASIGNEE_ID_TO_UPDATE = 2; - - var issueCategory = fixture.RedmineManager.GetObject(createdIssueCategoryId, null); - issueCategory.Name = ISSUE_CATEGORY_NAME_TO_UPDATE; - issueCategory.AssignTo = IdentifiableName.Create(ISSUE_CATEGORY_ASIGNEE_ID_TO_UPDATE); - - fixture.RedmineManager.UpdateObject(createdIssueCategoryId, issueCategory); - - var updatedIssueCategory = fixture.RedmineManager.GetObject(createdIssueCategoryId, null); - - Assert.NotNull(updatedIssueCategory); - Assert.True(updatedIssueCategory.Name.Equals(ISSUE_CATEGORY_NAME_TO_UPDATE), - "Issue category name was not updated."); - Assert.NotNull(updatedIssueCategory.AssignTo); - Assert.True(updatedIssueCategory.AssignTo.Id == ISSUE_CATEGORY_ASIGNEE_ID_TO_UPDATE, - "Issue category asignee was not updated."); - } - - [Fact, Order(5)] - public void Should_Reassign_Issue_After_Issue_Category_Is_Deleted() - { - const string ISSUE_CATEGORY_ID_TO_DELETE = "8"; - const string ISSUE_CATEGORY_ID_TO_REASSIGN = "10"; - const string ISSUE_ID_REASSIGNED = "9"; - - var exception = - (RedmineException) - Record.Exception( - () => fixture.RedmineManager.DeleteObject(ISSUE_CATEGORY_ID_TO_DELETE, new NameValueCollection{{RedmineKeys.REASSIGN_TO_ID, ISSUE_CATEGORY_ID_TO_REASSIGN}})); - Assert.Null(exception); - Assert.Throws( - () => fixture.RedmineManager.GetObject(ISSUE_CATEGORY_ID_TO_DELETE, null)); - - var issue = fixture.RedmineManager.GetObject(ISSUE_ID_REASSIGNED, null); - Assert.NotNull(issue.Category); - Assert.True(ISSUE_CATEGORY_ID_TO_REASSIGN.Equals(issue.Category.Id.ToString()), string.Format("Issue was not reassigned. Issue category id {0} != {1}", issue.Category.Id, ISSUE_CATEGORY_ID_TO_REASSIGN)); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs deleted file mode 100644 index 6d82c763..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssuePriorityTests.cs +++ /dev/null @@ -1,46 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "IssuePriorities")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class IssuePriorityTests - { - public IssuePriorityTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private readonly RedmineFixture fixture; - - [Fact] - public void Should_Get_All_Issue_Priority() - { - const int NUMBER_OF_ISSUE_PRIORITIES = 4; - var issuePriorities = fixture.RedmineManager.GetObjects(); - - Assert.NotNull(issuePriorities); - Assert.True(issuePriorities.Count == NUMBER_OF_ISSUE_PRIORITIES, - "Issue priorities count(" + issuePriorities.Count + ") != " + NUMBER_OF_ISSUE_PRIORITIES); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs deleted file mode 100644 index e8e74148..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueRelationTests.cs +++ /dev/null @@ -1,105 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Collections.Specialized; -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "IssueRelations")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class IssueRelationTests - { - public IssueRelationTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private readonly RedmineFixture fixture; - - private const string ISSUE_ID = "96"; - private const int RELATED_ISSUE_ID = 94; - private const int RELATION_DELAY = 2; - - private const IssueRelationType OPPOSED_RELATION_TYPE = IssueRelationType.Precedes; - - [Fact, Order(1)] - public void Should_Add_Issue_Relation() - { - const IssueRelationType RELATION_TYPE = IssueRelationType.Follows; - var relation = new IssueRelation - { - IssueToId = RELATED_ISSUE_ID, - Type = RELATION_TYPE, - Delay = RELATION_DELAY - }; - - var savedRelation = fixture.RedmineManager.CreateObject(relation, ISSUE_ID); - - Assert.NotNull(savedRelation); - Assert.True(savedRelation.IssueId == RELATED_ISSUE_ID, "Related issue id is not valid."); - Assert.True(savedRelation.IssueToId.ToString().Equals(ISSUE_ID), "Issue id is not valid."); - Assert.True(savedRelation.Delay == RELATION_DELAY, "Delay is not valid."); - Assert.True(savedRelation.Type == OPPOSED_RELATION_TYPE, "Relation type is not valid."); - } - - [Fact, Order(4)] - public void Should_Delete_Issue_Relation() - { - const string RELATION_ID_TO_DELETE = "23"; - var exception = - (RedmineException) - Record.Exception( - () => fixture.RedmineManager.DeleteObject(RELATION_ID_TO_DELETE)); - Assert.Null(exception); - Assert.Throws( - () => fixture.RedmineManager.GetObject(RELATION_ID_TO_DELETE, null)); - } - - [Fact, Order(2)] - public void Should_Get_IssueRelation_By_Id() - { - const string RELATION_ID_TO_GET = "27"; - var relation = fixture.RedmineManager.GetObject(RELATION_ID_TO_GET, null); - - Assert.NotNull(relation); - Assert.True(relation.IssueId == RELATED_ISSUE_ID, "Related issue id is not valid."); - Assert.True(relation.IssueToId.ToString().Equals(ISSUE_ID), "Issue id is not valid."); - Assert.True(relation.Delay == RELATION_DELAY, "Delay is not valid."); - Assert.True(relation.Type == OPPOSED_RELATION_TYPE, "Relation type is not valid."); - } - - [Fact, Order(3)] - public void Should_Get_IssueRelations_By_Issue_Id() - { - const int NUMBER_OF_RELATIONS = 1; - var relations = - fixture.RedmineManager.GetObjects(new NameValueCollection - { - {RedmineKeys.ISSUE_ID, ISSUE_ID} - }); - - Assert.NotNull(relations); - Assert.True(relations.Count == NUMBER_OF_RELATIONS, "Number of issue relations ( "+relations.Count+" ) != " + NUMBER_OF_RELATIONS); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs deleted file mode 100644 index 1ae6b7c1..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueStatusTests.cs +++ /dev/null @@ -1,46 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "IssueStatuses")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class IssueStatusTests - { - public IssueStatusTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private readonly RedmineFixture fixture; - - [Fact] - public void Should_Get_All_Issue_Statuses() - { - const int NUMBER_OF_ISSUE_STATUSES = 7; - var issueStatuses = fixture.RedmineManager.GetObjects(); - - Assert.NotNull(issueStatuses); - Assert.True(issueStatuses.Count == NUMBER_OF_ISSUE_STATUSES, - "Issue statuses count(" + issueStatuses.Count + ") != " + NUMBER_OF_ISSUE_STATUSES); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs deleted file mode 100644 index ab3b58bd..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/IssueTests.cs +++ /dev/null @@ -1,332 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "Issues")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class IssueTests - { - public IssueTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - private readonly RedmineFixture fixture; - - //filters - private const string PROJECT_ID = "redmine-net-testq"; - - //watcher - private const int WATCHER_ISSUE_ID = 96; - private const int WATCHER_USER_ID = 8; - - - [Fact, Order(1)] - public void Should_Get_All_Issues() - { - var issues = fixture.RedmineManager.GetObjects(); - - Assert.NotNull(issues); - } - - [Fact, Order(2)] - public void Should_Get_Paginated_Issues() - { - const int NUMBER_OF_PAGINATED_ISSUES = 3; - const int OFFSET = 1; - - var issues = fixture.RedmineManager.GetPaginatedObjects(new NameValueCollection - { - { RedmineKeys.OFFSET, OFFSET.ToString() }, { RedmineKeys.LIMIT, NUMBER_OF_PAGINATED_ISSUES.ToString() }, { "sort", "id:desc" } - }); - - Assert.NotNull(issues.Items); - //Assert.True(issues.Items.Count <= NUMBER_OF_PAGINATED_ISSUES, "number of issues ( "+ issues.Items.Count +" ) != " + NUMBER_OF_PAGINATED_ISSUES.ToString()); - } - - [Fact, Order(3)] - public void Should_Get_Issues_By_Project_Id() - { - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.PROJECT_ID, PROJECT_ID } }); - - Assert.NotNull(issues); - } - - [Fact, Order(4)] - public void Should_Get_Issues_By_SubProject_Id() - { - const string SUB_PROJECT_ID_VALUE = "redmine-net-testr"; - - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.SUB_PROJECT_ID, SUB_PROJECT_ID_VALUE } }); - - Assert.NotNull(issues); - } - - [Fact, Order(5)] - public void Should_Get_Issues_By_Project_Without_SubProject() - { - const string ALL_SUB_PROJECTS = "!*"; - - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection - { - { RedmineKeys.PROJECT_ID, PROJECT_ID }, { RedmineKeys.SUB_PROJECT_ID, ALL_SUB_PROJECTS } - }); - - Assert.NotNull(issues); - } - - [Fact, Order(6)] - public void Should_Get_Issues_By_Tracker() - { - const string TRACKER_ID = "3"; - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.TRACKER_ID, TRACKER_ID } }); - - Assert.NotNull(issues); - } - - [Fact, Order(7)] - public void Should_Get_Issues_By_Status() - { - const string STATUS_ID = "*"; - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.STATUS_ID, STATUS_ID } }); - Assert.NotNull(issues); - } - - [Fact, Order(8)] - public void Should_Get_Issues_By_Assignee() - { - const string ASSIGNED_TO_ID = "me"; - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { RedmineKeys.ASSIGNED_TO_ID, ASSIGNED_TO_ID } }); - - Assert.NotNull(issues); - } - - [Fact, Order(9)] - public void Should_Get_Issues_By_Custom_Field() - { - const string CUSTOM_FIELD_NAME = "cf_13"; - const string CUSTOM_FIELD_VALUE = "Testx"; - - var issues = fixture.RedmineManager.GetObjects(new NameValueCollection { { CUSTOM_FIELD_NAME, CUSTOM_FIELD_VALUE } }); - - Assert.NotNull(issues); - } - - [Fact, Order(10)] - public void Should_Get_Issue_By_Id() - { - const string ISSUE_ID = "96"; - - var issue = fixture.RedmineManager.GetObject(ISSUE_ID, new NameValueCollection - { - { RedmineKeys.INCLUDE, $"{RedmineKeys.CHILDREN},{RedmineKeys.ATTACHMENTS},{RedmineKeys.RELATIONS},{RedmineKeys.CHANGE_SETS},{RedmineKeys.JOURNALS},{RedmineKeys.WATCHERS}" } - }); - - Assert.NotNull(issue); - } - - [Fact, Order(11)] - public void Should_Add_Issue() - { - const bool NEW_ISSUE_IS_PRIVATE = true; - - const int NEW_ISSUE_PROJECT_ID = 1; - const int NEW_ISSUE_TRACKER_ID = 1; - const int NEW_ISSUE_STATUS_ID = 1; - const int NEW_ISSUE_PRIORITY_ID = 9; - const int NEW_ISSUE_CATEGORY_ID = 18; - const int NEW_ISSUE_FIXED_VERSION_ID = 9; - const int NEW_ISSUE_ASSIGNED_TO_ID = 8; - const int NEW_ISSUE_PARENT_ISSUE_ID = 96; - const int NEW_ISSUE_CUSTOM_FIELD_ID = 13; - const int NEW_ISSUE_ESTIMATED_HOURS = 12; - const int NEW_ISSUE_FIRST_WATCHER_ID = 2; - const int NEW_ISSUE_SECOND_WATCHER_ID = 8; - - const string NEW_ISSUE_CUSTOM_FIELD_VALUE = "Issue custom field completed"; - const string NEW_ISSUE_SUBJECT = "Issue created using Rest API"; - const string NEW_ISSUE_DESCRIPTION = "Issue description..."; - - var newIssueStartDate = DateTime.Now; - var newIssueDueDate = DateTime.Now.AddDays(10); - - var icf = IdentifiableName.Create(NEW_ISSUE_CUSTOM_FIELD_ID); - if (icf != null) - { - icf.Values = new List {new CustomFieldValue {Info = NEW_ISSUE_CUSTOM_FIELD_VALUE}}; - } - - var issue = new Issue - { - Project = IdentifiableName.Create(NEW_ISSUE_PROJECT_ID), - Tracker = IdentifiableName.Create(NEW_ISSUE_TRACKER_ID), - Status = IdentifiableName.Create(NEW_ISSUE_STATUS_ID), - Priority = IdentifiableName.Create(NEW_ISSUE_PRIORITY_ID), - Subject = NEW_ISSUE_SUBJECT, - Description = NEW_ISSUE_DESCRIPTION, - Category = IdentifiableName.Create(NEW_ISSUE_CATEGORY_ID), - FixedVersion = IdentifiableName.Create(NEW_ISSUE_FIXED_VERSION_ID), - AssignedTo = IdentifiableName.Create(NEW_ISSUE_ASSIGNED_TO_ID), - ParentIssue = IdentifiableName.Create(NEW_ISSUE_PARENT_ISSUE_ID), - - CustomFields = new List {icf}, - IsPrivate = NEW_ISSUE_IS_PRIVATE, - EstimatedHours = NEW_ISSUE_ESTIMATED_HOURS, - StartDate = newIssueStartDate, - DueDate = newIssueDueDate, - Watchers = new List - { - IdentifiableName.Create(NEW_ISSUE_FIRST_WATCHER_ID), - IdentifiableName.Create(NEW_ISSUE_SECOND_WATCHER_ID) - } - }; - - var savedIssue = fixture.RedmineManager.CreateObject(issue); - - Assert.NotNull(savedIssue); - Assert.True(issue.Subject.Equals(savedIssue.Subject), "Issue subject is invalid."); - Assert.NotEqual(issue, savedIssue); - - } - - [Fact, Order(12)] - public void Should_Update_Issue() - { - const string UPDATED_ISSUE_ID = "98"; - const string UPDATED_ISSUE_SUBJECT = "Issue updated subject"; - const string UPDATED_ISSUE_DESCRIPTION = null; - const int UPDATED_ISSUE_PROJECT_ID = 9; - const int UPDATED_ISSUE_TRACKER_ID = 3; - const int UPDATED_ISSUE_PRIORITY_ID = 8; - const int UPDATED_ISSUE_CATEGORY_ID = 18; - const int UPDATED_ISSUE_ASSIGNED_TO_ID = 2; - const int UPDATED_ISSUE_PARENT_ISSUE_ID = 91; - const int UPDATED_ISSUE_CUSTOM_FIELD_ID = 13; - const string UPDATED_ISSUE_CUSTOM_FIELD_VALUE = "Another custom field completed"; - const int UPDATED_ISSUE_ESTIMATED_HOURS = 23; - const string UPDATED_ISSUE_NOTES = "A lot is changed"; - const bool UPDATED_ISSUE_PRIVATE_NOTES = true; - - DateTime? updatedIssueStartDate = default(DateTime?); - - var updatedIssueDueDate = DateTime.Now.AddMonths(1); - - var issue = fixture.RedmineManager.GetObject(UPDATED_ISSUE_ID, new NameValueCollection - { - { RedmineKeys.INCLUDE, $"{RedmineKeys.CHILDREN},{RedmineKeys.ATTACHMENTS},{RedmineKeys.RELATIONS},{RedmineKeys.CHANGE_SETS},{RedmineKeys.JOURNALS},{RedmineKeys.WATCHERS}" } - }); - - issue.Subject = UPDATED_ISSUE_SUBJECT; - issue.Description = UPDATED_ISSUE_DESCRIPTION; - issue.StartDate = updatedIssueStartDate; - issue.DueDate = updatedIssueDueDate; - issue.Project = IdentifiableName.Create(UPDATED_ISSUE_PROJECT_ID); - issue.Tracker = IdentifiableName.Create(UPDATED_ISSUE_TRACKER_ID); - issue.Priority = IdentifiableName.Create(UPDATED_ISSUE_PRIORITY_ID); - issue.Category = IdentifiableName.Create(UPDATED_ISSUE_CATEGORY_ID); - issue.AssignedTo = IdentifiableName.Create(UPDATED_ISSUE_ASSIGNED_TO_ID); - issue.ParentIssue = IdentifiableName.Create(UPDATED_ISSUE_PARENT_ISSUE_ID); - - var icf = (IssueCustomField)IdentifiableName.Create(UPDATED_ISSUE_CUSTOM_FIELD_ID); - icf.Values = new List { new CustomFieldValue { Info = UPDATED_ISSUE_CUSTOM_FIELD_VALUE } }; - - issue.CustomFields?.Add(icf); - issue.EstimatedHours = UPDATED_ISSUE_ESTIMATED_HOURS; - issue.Notes = UPDATED_ISSUE_NOTES; - issue.PrivateNotes = UPDATED_ISSUE_PRIVATE_NOTES; - - fixture.RedmineManager.UpdateObject(UPDATED_ISSUE_ID, issue); - - var updatedIssue = fixture.RedmineManager.GetObject(UPDATED_ISSUE_ID, new NameValueCollection - { - { RedmineKeys.INCLUDE, $"{RedmineKeys.CHILDREN},{RedmineKeys.ATTACHMENTS},{RedmineKeys.RELATIONS},{RedmineKeys.CHANGE_SETS},{RedmineKeys.JOURNALS},{RedmineKeys.WATCHERS}" } - }); - - Assert.NotNull(updatedIssue); - Assert.True(issue.Subject.Equals(updatedIssue.Subject), "Issue subject is invalid."); - - } - - [Fact, Order(99)] - public void Should_Delete_Issue() - { - const string DELETED_ISSUE_ID = "90"; - - var exception = (RedmineException)Record.Exception(() => fixture.RedmineManager.DeleteObject(DELETED_ISSUE_ID)); - Assert.Null(exception); - Assert.Throws(() => fixture.RedmineManager.GetObject(DELETED_ISSUE_ID, null)); - } - - [Fact, Order(13)] - public void Should_Add_Watcher_To_Issue() - { - fixture.RedmineManager.AddWatcherToIssue(WATCHER_ISSUE_ID, WATCHER_USER_ID); - - var issue = fixture.RedmineManager.GetObject(WATCHER_ISSUE_ID.ToString(), new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.WATCHERS } }); - - Assert.NotNull(issue); - Assert.NotNull(issue.Watchers); - Assert.True(((List)issue.Watchers).Find(w => w.Id == WATCHER_USER_ID) != null, "Watcher was not added."); - } - - [Fact, Order(14)] - public void Should_Remove_Watcher_From_Issue() - { - fixture.RedmineManager.RemoveWatcherFromIssue(WATCHER_ISSUE_ID, WATCHER_USER_ID); - - var issue = fixture.RedmineManager.GetObject(WATCHER_ISSUE_ID.ToString(), new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.WATCHERS } }); - - Assert.NotNull(issue); - Assert.True(issue.Watchers == null || ((List)issue.Watchers).Find(w => w.Id == WATCHER_USER_ID) == null, "Watcher was not removed."); - } - - [Fact, Order(15)] - public void Should_Clone_Issue() - { - const string ISSUE_TO_CLONE_SUBJECT = "Issue to clone"; - const int ISSUE_TO_CLONE_CUSTOM_FIELD_ID = 13; - const string ISSUE_TO_CLONE_CUSTOM_FIELD_VALUE = "Issue to clone custom field value"; - const int CLONED_ISSUE_CUSTOM_FIELD_ID = 13; - const string CLONED_ISSUE_CUSTOM_FIELD_VALUE = "Cloned issue custom field value"; - - var icfc = (IssueCustomField)IdentifiableName.Create(ISSUE_TO_CLONE_CUSTOM_FIELD_ID); - icfc.Values = new List { new CustomFieldValue { Info = ISSUE_TO_CLONE_CUSTOM_FIELD_VALUE } }; - - var issueToClone = new Issue - { - Subject = ISSUE_TO_CLONE_SUBJECT, - CustomFields = new List() { icfc } - }; - - var clonedIssue = (Issue)issueToClone.Clone(); - - var icf = (IssueCustomField)IdentifiableName.Create(CLONED_ISSUE_CUSTOM_FIELD_ID); - icf.Values = new List { new CustomFieldValue { Info = CLONED_ISSUE_CUSTOM_FIELD_VALUE } }; - - clonedIssue.CustomFields.Add(icf); - - Assert.True(issueToClone.CustomFields.Count != clonedIssue.CustomFields.Count); - } - - [Fact] - public void Should_Get_Issue_With_Hours() - { - const string ISSUE_ID = "1"; - - var issue = fixture.RedmineManager.GetObject(ISSUE_ID, null); - - Assert.Equal(8.0f, issue.EstimatedHours); - Assert.Equal(8.0f, issue.TotalEstimatedHours); - Assert.Equal(5.0f, issue.TotalSpentHours); - Assert.Equal(5.0f, issue.SpentHours); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs deleted file mode 100644 index e7a4482c..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/NewsTests.cs +++ /dev/null @@ -1,61 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Collections.Specialized; -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "News")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class NewsTests - { - public NewsTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private readonly RedmineFixture fixture; - - [Fact, Order(1)] - public void Should_Get_All_News() - { - const int NUMBER_OF_NEWS = 2; - var news = fixture.RedmineManager.GetObjects(); - - Assert.NotNull(news); - Assert.True(news.Count == NUMBER_OF_NEWS, "News count(" + news.Count + ") != " + NUMBER_OF_NEWS); - } - - [Fact, Order(2)] - public void Should_Get_News_By_Project_Id() - { - const string PROJECT_ID = "redmine-net-testq"; - const int NUMBER_OF_NEWS_BY_PROJECT_ID = 1; - var news = - fixture.RedmineManager.GetObjects(new NameValueCollection {{RedmineKeys.PROJECT_ID, PROJECT_ID}}); - - Assert.NotNull(news); - Assert.True(news.Count == NUMBER_OF_NEWS_BY_PROJECT_ID, - "News count(" + news.Count + ") != " + NUMBER_OF_NEWS_BY_PROJECT_ID); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs deleted file mode 100644 index 0b9e7ae8..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/ProjectMembershipTests.cs +++ /dev/null @@ -1,125 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Collections.Generic; -using System.Collections.Specialized; -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "ProjectMemberships")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class ProjectMembershipTests - { - public ProjectMembershipTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private readonly RedmineFixture fixture; - - private const string PROJECT_IDENTIFIER = "redmine-net-testq"; - - - [Fact, Order(1)] - public void Should_Add_Project_Membership() - { - const int NEW_PROJECT_MEMBERSHIP_USER_ID = 2; - const int NEW_PROJECT_MEMBERSHIP_ROLE_ID = 5; - - var pm = new ProjectMembership - { - User = IdentifiableName.Create(NEW_PROJECT_MEMBERSHIP_USER_ID), - Roles = new List { (MembershipRole)IdentifiableName.Create(NEW_PROJECT_MEMBERSHIP_ROLE_ID)} - }; - - var createdPm = fixture.RedmineManager.CreateObject(pm, PROJECT_IDENTIFIER); - - Assert.NotNull(createdPm); - Assert.True(createdPm.User.Id == NEW_PROJECT_MEMBERSHIP_USER_ID, "User is invalid."); - Assert.NotNull(createdPm.Roles); - //Assert.True(createdPm.Roles.Exists(r => r.Id == NEW_PROJECT_MEMBERSHIP_ROLE_ID), - // string.Format("Role id {0} does not exist.", NEW_PROJECT_MEMBERSHIP_ROLE_ID)); - } - - [Fact,Order(99)] - public void Should_Delete_Project_Membership() - { - const string DELETED_PROJECT_MEMBERSHIP_ID = "142"; - var exception = - (RedmineException) - Record.Exception( - () => - fixture.RedmineManager.DeleteObject(DELETED_PROJECT_MEMBERSHIP_ID)); - Assert.Null(exception); - Assert.Throws( - () => fixture.RedmineManager.GetObject(DELETED_PROJECT_MEMBERSHIP_ID, null)); - } - - [Fact, Order(2)] - public void Should_Get_Memberships_By_Project_Identifier() - { - const int NUMBER_OF_PROJECT_MEMBERSHIPS = 3; - var projectMemberships = - fixture.RedmineManager.GetObjects(new NameValueCollection - { - {RedmineKeys.PROJECT_ID, PROJECT_IDENTIFIER} - }); - - Assert.NotNull(projectMemberships); - Assert.True(projectMemberships.Count == NUMBER_OF_PROJECT_MEMBERSHIPS, - "Project memberships count ( "+ projectMemberships.Count +" ) != " + NUMBER_OF_PROJECT_MEMBERSHIPS); - } - - [Fact, Order(3)] - public void Should_Get_Project_Membership_By_Id() - { - const string PROJECT_MEMBERSHIP_ID = "143"; - var projectMembership = fixture.RedmineManager.GetObject(PROJECT_MEMBERSHIP_ID, null); - - Assert.NotNull(projectMembership); - Assert.NotNull(projectMembership.Project); - Assert.True(projectMembership.User != null || projectMembership.Group != null, - "User and group are both null."); - Assert.NotNull(projectMembership.Roles); - } - - [Fact, Order(4)] - public void Should_Update_Project_Membership() - { - const string UPDATED_PROJECT_MEMBERSHIP_ID = "143"; - const int UPDATED_PROJECT_MEMBERSHIP_ROLE_ID = 4; - - var pm = fixture.RedmineManager.GetObject(UPDATED_PROJECT_MEMBERSHIP_ID, null); - pm.Roles.Add((MembershipRole)IdentifiableName.Create(UPDATED_PROJECT_MEMBERSHIP_ROLE_ID)); - - fixture.RedmineManager.UpdateObject(UPDATED_PROJECT_MEMBERSHIP_ID, pm); - - var updatedPm = fixture.RedmineManager.GetObject(UPDATED_PROJECT_MEMBERSHIP_ID, null); - - Assert.NotNull(updatedPm); - Assert.NotNull(updatedPm.Roles); - //Assert.True(updatedPm.Roles.Find(r => r.Id == UPDATED_PROJECT_MEMBERSHIP_ROLE_ID) != null, - // string.Format("Role with id {0} was not found in roles list.", UPDATED_PROJECT_MEMBERSHIP_ROLE_ID)); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs deleted file mode 100644 index b07e0065..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/ProjectTests.cs +++ /dev/null @@ -1,263 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Collections.Generic; -using System.Collections.Specialized; -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "Projects")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - [Order(1)] - public class ProjectTests - { - public ProjectTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private const string PROJECT_IDENTIFIER = "redmine-net-api-project-test"; - private const string PROJECT_NAME = "Redmine Net Api Project Test"; - - private readonly RedmineFixture fixture; - - private static Project CreateTestProjectWithRequiredPropertiesSet() - { - var project = new Project - { - Name = PROJECT_NAME, - Identifier = PROJECT_IDENTIFIER - }; - - return project; - } - - private static Project CreateTestProjectWithAllPropertiesSet() - { - var project = new Project - { - Name = "Redmine Net Api Project Test All Properties", - Description = "This is a test project.", - Identifier = "rnaptap", - HomePage = "www.redminetest.com", - IsPublic = true, - InheritMembers = true, - EnabledModules = new List - { - new ProjectEnabledModule {Name = "issue_tracking"}, - new ProjectEnabledModule {Name = "time_tracking"} - }, - Trackers = new List - { - (ProjectTracker) IdentifiableName.Create( 1), - (ProjectTracker) IdentifiableName.Create(2) - } - }; - - return project; - } - - private static Project CreateTestProjectWithInvalidTrackersId() - { - var project = new Project - { - Name = "Redmine Net Api Project Test Invalid Trackers", - Identifier = "rnaptit", - Trackers = new List - { - (ProjectTracker) IdentifiableName.Create(999999), - (ProjectTracker) IdentifiableName.Create(999998) - } - }; - - return project; - } - - private static Project CreateTestProjectWithParentSet(int parentId) - { - var project = new Project - { - Name = "Redmine Net Api Project With Parent Set", - Identifier = "rnapwps", - Parent = IdentifiableName.Create(parentId) - }; - - return project; - } - - [Fact, Order(0)] - public void Should_Create_Project_With_Required_Properties() - { - var savedProject = fixture.RedmineManager.CreateObject(CreateTestProjectWithRequiredPropertiesSet()); - - Assert.NotNull(savedProject); - Assert.NotEqual(0, savedProject.Id); - Assert.True(savedProject.Name.Equals(PROJECT_NAME), "Project name is invalid."); - Assert.True(savedProject.Identifier.Equals(PROJECT_IDENTIFIER), "Project identifier is invalid."); - } - - [Fact, Order(1)] - public void Should_Create_Project_With_All_Properties_Set() - { - var savedProject = fixture.RedmineManager.CreateObject(CreateTestProjectWithAllPropertiesSet()); - - Assert.NotNull(savedProject); - Assert.NotEqual(0, savedProject.Id); - Assert.True(savedProject.Identifier.Equals("rnaptap"), "Project identifier is invalid."); - Assert.True(savedProject.Name.Equals("Redmine Net Api Project Test All Properties"), - "Project name is invalid."); - } - - [Fact, Order(2)] - public void Should_Create_Project_With_Parent() - { - var parentProject = - fixture.RedmineManager.CreateObject(new Project { Identifier = "parent-project", Name = "Parent project" }); - - var savedProject = fixture.RedmineManager.CreateObject(CreateTestProjectWithParentSet(parentProject.Id)); - - Assert.NotNull(savedProject); - Assert.True(savedProject.Parent.Id == parentProject.Id, "Parent project is invalid."); - } - - [Fact, Order(3)] - public void Should_Get_Redmine_Net_Api_Project_Test_Project() - { - var project = fixture.RedmineManager.GetObject(PROJECT_IDENTIFIER, null); - - Assert.NotNull(project); - Assert.IsType(project); - Assert.Equal(project.Identifier, PROJECT_IDENTIFIER); - Assert.Equal(project.Name, PROJECT_NAME); - } - - [Fact, Order(4)] - public void Should_Get_Test_Project_With_All_Properties_Set() - { - var project = fixture.RedmineManager.GetObject("rnaptap", new NameValueCollection - { - {RedmineKeys.INCLUDE, string.Join(",", RedmineKeys.TRACKERS, RedmineKeys.ENABLED_MODULES)} - }); - - Assert.NotNull(project); - Assert.IsType(project); - Assert.True(project.Name.Equals("Redmine Net Api Project Test All Properties"), "Project name not equal."); - Assert.True(project.Identifier.Equals("rnaptap"), "Project identifier not equal."); - Assert.True(project.Description.Equals("This is a test project."), "Project description not equal."); - Assert.True(project.HomePage.Equals("www.redminetest.com"), "Project homepage not equal."); - Assert.True(project.IsPublic.Equals(true), - "Project is_public not equal. (This property is available starting with 2.6.0)"); - - Assert.NotNull(project.Trackers); - Assert.True(project.Trackers.Count == 2, "Trackers count != " + 2); - - Assert.NotNull(project.EnabledModules); - Assert.True(project.EnabledModules.Count == 2, - "Enabled modules count (" + project.EnabledModules.Count + ") != " + 2); - } - - [Fact, Order(5)] - public void Should_Update_Redmine_Net_Api_Project_Test_Project() - { - const string UPDATED_PROJECT_NAME = "Project created using API updated"; - const string UPDATED_PROJECT_DESCRIPTION = "Test project description updated"; - const string UPDATED_PROJECT_HOMEPAGE = "http://redminetestsupdated.com/"; - const bool UPDATED_PROJECT_ISPUBLIC = true; - const bool UPDATED_PROJECT_INHERIT_MEMBERS = false; - - var project = fixture.RedmineManager.GetObject(PROJECT_IDENTIFIER, null); - project.Name = UPDATED_PROJECT_NAME; - project.Description = UPDATED_PROJECT_DESCRIPTION; - project.HomePage = UPDATED_PROJECT_HOMEPAGE; - project.IsPublic = UPDATED_PROJECT_ISPUBLIC; - project.InheritMembers = UPDATED_PROJECT_INHERIT_MEMBERS; - - var exception = - (RedmineException) - Record.Exception(() => fixture.RedmineManager.UpdateObject(PROJECT_IDENTIFIER, project)); - Assert.Null(exception); - - var updatedProject = fixture.RedmineManager.GetObject(PROJECT_IDENTIFIER, null); - - Assert.True(updatedProject.Name.Equals(UPDATED_PROJECT_NAME), "Project name was not updated."); - Assert.True(updatedProject.Description.Equals(UPDATED_PROJECT_DESCRIPTION), - "Project description was not updated."); - Assert.True(updatedProject.HomePage.Equals(UPDATED_PROJECT_HOMEPAGE), "Project homepage was not updated."); - Assert.True(updatedProject.IsPublic.Equals(UPDATED_PROJECT_ISPUBLIC), - "Project is_public was not updated. (This property is available starting with 2.6.0)"); - } - - [Fact, Order(7)] - public void Should_Throw_Exception_When_Create_Empty_Project() - { - Assert.Throws(() => fixture.RedmineManager.CreateObject(new Project())); - } - - [Fact, Order(8)] - public void Should_Throw_Exception_When_Project_Identifier_Is_Invalid() - { - Assert.Throws(() => fixture.RedmineManager.GetObject("99999999", null)); - } - - [Fact, Order(9)] - public void Should_Delete_Project_And_Parent_Project() - { - var exception = - (RedmineException)Record.Exception(() => fixture.RedmineManager.DeleteObject("rnapwps")); - Assert.Null(exception); - Assert.Throws(() => fixture.RedmineManager.GetObject("rnapwps", null)); - - exception = - (RedmineException) - Record.Exception(() => fixture.RedmineManager.DeleteObject("parent-project")); - Assert.Null(exception); - Assert.Throws(() => fixture.RedmineManager.GetObject("parent-project", null)); - } - - [Fact, Order(10)] - public void Should_Delete_Project_With_All_Properties_Set() - { - var exception = - (RedmineException)Record.Exception(() => fixture.RedmineManager.DeleteObject("rnaptap")); - Assert.Null(exception); - Assert.Throws(() => fixture.RedmineManager.GetObject("rnaptap", null)); - } - - [Fact, Order(11)] - public void Should_Delete_Redmine_Net_Api_Project_Test_Project() - { - var exception = - (RedmineException) - Record.Exception(() => fixture.RedmineManager.DeleteObject(PROJECT_IDENTIFIER)); - Assert.Null(exception); - Assert.Throws(() => fixture.RedmineManager.GetObject(PROJECT_IDENTIFIER, null)); - } - - [Fact, Order(12)] - public void Should_Throw_Exception_Create_Project_Invalid_Trackers() - { - Assert.Throws( - () => fixture.RedmineManager.CreateObject(CreateTestProjectWithInvalidTrackersId())); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs deleted file mode 100644 index 87f5c4b0..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/QueryTests.cs +++ /dev/null @@ -1,47 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "Queries")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class QueryTests - { - public QueryTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private readonly RedmineFixture fixture; - - [Fact, Order(1)] - public void Should_Get_All_Queries() - { - const int NUMBER_OF_QUERIES = 2; - var queries = fixture.RedmineManager.GetObjects(); - - Assert.NotNull(queries); - Assert.True(queries.Count == NUMBER_OF_QUERIES, - "Queries count(" + queries.Count + ") != " + NUMBER_OF_QUERIES); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs deleted file mode 100644 index 6c44ea55..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/RoleTests.cs +++ /dev/null @@ -1,63 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "Roles")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class RoleTests - { - public RoleTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private readonly RedmineFixture fixture; - - [Fact, Order(1)] - public void Should_Get_All_Roles() - { - const int NUMBER_OF_ROLES = 3; - var roles = fixture.RedmineManager.GetObjects(); - - Assert.NotNull(roles); - Assert.True(roles.Count == NUMBER_OF_ROLES, "Roles count(" + roles.Count + ") != " + NUMBER_OF_ROLES); - } - - [Fact, Order(2)] - public void Should_Get_Role_By_Id() - { - const string ROLE_ID = "5"; - const int NUMBER_OF_ROLE_PERMISSIONS = 1; - const string ROLE_NAME = "CustomRole"; - - var role = fixture.RedmineManager.GetObject(ROLE_ID, null); - - Assert.NotNull(role); - Assert.True(role.Name.Equals(ROLE_NAME), "Role name is invalid."); - - Assert.NotNull(role.Permissions); - Assert.True(role.Permissions.Count == NUMBER_OF_ROLE_PERMISSIONS, - "Permissions count(" + role.Permissions.Count + ") != " + NUMBER_OF_ROLE_PERMISSIONS); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs deleted file mode 100644 index 77d7150b..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryActivtiyTests.cs +++ /dev/null @@ -1,48 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "TimeEntryActivities")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class TimeEntryActivityTests - { - public TimeEntryActivityTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private readonly RedmineFixture fixture; - - [Fact, Order(1)] - public void Should_Get_All_TimeEntryActivities() - { - const int NUMBER_OF_TIME_ENTRY_ACTIVITIES = 3; - - var timeEntryActivities = fixture.RedmineManager.GetObjects(); - - Assert.NotNull(timeEntryActivities); - Assert.True(timeEntryActivities.Count == NUMBER_OF_TIME_ENTRY_ACTIVITIES, - "Time entry activities count ( "+ timeEntryActivities.Count +" ) != " + NUMBER_OF_TIME_ENTRY_ACTIVITIES); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs deleted file mode 100644 index f52808ec..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/TimeEntryTests.cs +++ /dev/null @@ -1,145 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "TimeEntries")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class TimeEntryTests - { - public TimeEntryTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private readonly RedmineFixture fixture; - - [Fact, Order(1)] - public void Should_Create_Time_Entry() - { - const int NEW_TIME_ENTRY_ISSUE_ID = 18; - const int NEW_TIME_ENTRY_PROJECT_ID = 9; - var newTimeEntryDate = DateTime.Now; - const int NEW_TIME_ENTRY_HOURS = 1; - const int NEW_TIME_ENTRY_ACTIVITY_ID = 16; - const string NEW_TIME_ENTRY_COMMENTS = "Added time entry on project"; - - var timeEntry = new TimeEntry - { - Issue = IdentifiableName.Create(NEW_TIME_ENTRY_ISSUE_ID), - Project = IdentifiableName.Create(NEW_TIME_ENTRY_PROJECT_ID), - SpentOn = newTimeEntryDate, - Hours = NEW_TIME_ENTRY_HOURS, - Activity = IdentifiableName.Create(NEW_TIME_ENTRY_ACTIVITY_ID), - Comments = NEW_TIME_ENTRY_COMMENTS - }; - - var savedTimeEntry = fixture.RedmineManager.CreateObject(timeEntry); - - Assert.NotNull(savedTimeEntry); - Assert.NotNull(savedTimeEntry.Issue); - Assert.True(savedTimeEntry.Issue.Id == NEW_TIME_ENTRY_ISSUE_ID, "Issue id is invalid."); - Assert.NotNull(savedTimeEntry.Project); - Assert.True(savedTimeEntry.Project.Id == NEW_TIME_ENTRY_PROJECT_ID, "Project id is invalid."); - Assert.NotNull(savedTimeEntry.SpentOn); - Assert.True(DateTime.Compare(savedTimeEntry.SpentOn.Value.Date, newTimeEntryDate.Date) == 0, - "Date is invalid."); - Assert.True(savedTimeEntry.Hours == NEW_TIME_ENTRY_HOURS, "Hours value is not valid."); - Assert.NotNull(savedTimeEntry.Activity); - Assert.True(savedTimeEntry.Activity.Id == NEW_TIME_ENTRY_ACTIVITY_ID, "Activity id is invalid."); - Assert.NotNull(savedTimeEntry.Comments); - Assert.True(savedTimeEntry.Comments.Equals(NEW_TIME_ENTRY_COMMENTS), "Coments value is invalid."); - } - - [Fact, Order(99)] - public void Should_Delete_Time_Entry() - { - const string DELETED_TIME_ENTRY_ID = "43"; - var exception = - (RedmineException) - Record.Exception(() => fixture.RedmineManager.DeleteObject(DELETED_TIME_ENTRY_ID)); - Assert.Null(exception); - Assert.Throws( - () => fixture.RedmineManager.GetObject(DELETED_TIME_ENTRY_ID, null)); - } - - [Fact, Order(2)] - public void Should_Get_All_Time_Entries() - { - var timeEntries = fixture.RedmineManager.GetObjects(); - - Assert.NotNull(timeEntries); - Assert.NotEmpty(timeEntries); - } - - [Fact, Order(3)] - public void Should_Get_Time_Entry_By_Id() - { - const string TIME_ENTRY_ID = "30"; - - var timeEntry = fixture.RedmineManager.GetObject(TIME_ENTRY_ID, null); - - Assert.NotNull(timeEntry); - Assert.IsType(timeEntry); - Assert.NotNull(timeEntry.Project); - Assert.NotNull(timeEntry.SpentOn); - Assert.NotNull(timeEntry.Activity); - } - - [Fact, Order(4)] - public void Should_Update_Time_Entry() - { - const string UPDATED_TIME_ENTRY_ID = "31"; - const int UPDATED_TIME_ENTRY_ISSUE_ID = 18; - const int UPDATED_TIME_ENTRY_PROJECT_ID = 9; - const int UPDATED_TIME_ENTRY_HOURS = 3; - const int UPDATED_TIME_ENTRY_ACTIVITY_ID = 17; - const string UPDATED_TIME_ENTRY_COMMENTS = "Time entry updated"; - var updatedTimeEntryDate = DateTime.Now.AddDays(-2); - - var timeEntry = fixture.RedmineManager.GetObject(UPDATED_TIME_ENTRY_ID, null); - timeEntry.Project = IdentifiableName.Create(UPDATED_TIME_ENTRY_PROJECT_ID); - timeEntry.Issue = IdentifiableName.Create(UPDATED_TIME_ENTRY_ISSUE_ID); - timeEntry.SpentOn = updatedTimeEntryDate; - timeEntry.Hours = UPDATED_TIME_ENTRY_HOURS; - timeEntry.Comments = UPDATED_TIME_ENTRY_COMMENTS; - - if (timeEntry.Activity == null) timeEntry.Activity = IdentifiableName.Create(UPDATED_TIME_ENTRY_ACTIVITY_ID); - - fixture.RedmineManager.UpdateObject(UPDATED_TIME_ENTRY_ID, timeEntry); - - var updatedTimeEntry = fixture.RedmineManager.GetObject(UPDATED_TIME_ENTRY_ID, null); - - Assert.NotNull(updatedTimeEntry); - Assert.True(updatedTimeEntry.Project.Id == timeEntry.Project.Id, "Time entry project was not updated."); - Assert.True(updatedTimeEntry.Issue.Id == timeEntry.Issue.Id, "Time entry issue was not updated."); - Assert.True( - updatedTimeEntry.SpentOn != null && timeEntry.SpentOn != null && - DateTime.Compare(updatedTimeEntry.SpentOn.Value.Date, timeEntry.SpentOn.Value.Date) == 0, - "Time entry spent on field was not updated."); - Assert.True(updatedTimeEntry.Hours == timeEntry.Hours, "Time entry hours was not updated."); - Assert.True(updatedTimeEntry.Comments.Equals(timeEntry.Comments), "Time entry comments was not updated."); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs deleted file mode 100644 index b5061e55..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/TrackerTests.cs +++ /dev/null @@ -1,46 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "Trackers")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class TrackerTests - { - public TrackerTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private readonly RedmineFixture fixture; - - [Fact] - public void RedmineTrackers_ShouldGetAllTrackers() - { - const int NUMBER_OF_TRACKERS = 2; - - var trackers = fixture.RedmineManager.GetObjects(); - - Assert.NotNull(trackers); - Assert.True(trackers.Count == NUMBER_OF_TRACKERS, "Trackers count(" + trackers.Count + ") != " + NUMBER_OF_TRACKERS); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs deleted file mode 100644 index bf771e3e..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/UserTests.cs +++ /dev/null @@ -1,219 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Collections.Specialized; -using System.Globalization; -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "Users")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - [Order(2)] - public class UserTests - { - private readonly RedmineFixture fixture; - - public UserTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private const string USER_LOGIN = "testUser"; - private const string USER_FIRST_NAME = "User"; - private const string USER_LAST_NAME = "One"; - private const string USER_EMAIL = "testUser@mail.com"; - - private static string createdUserId; - private static string createdUserWithAllPropId; - - private static User CreateTestUserWithRequiredPropertiesSet() - { - var user = new User() - { - Login = USER_LOGIN, - FirstName = USER_FIRST_NAME, - LastName = USER_LAST_NAME, - Email = USER_EMAIL, - }; - - return user; - } - - [Fact, Order(1)] - public void Should_Create_User_With_Required_Properties() - { - var savedUser = fixture.RedmineManager.CreateObject(CreateTestUserWithRequiredPropertiesSet()); - - Assert.NotNull(savedUser); - Assert.NotEqual(0, savedUser.Id); - - createdUserId = savedUser.Id.ToString(); - - Assert.True(savedUser.Login.Equals(USER_LOGIN), "User login is invalid."); - Assert.True(savedUser.FirstName.Equals(USER_FIRST_NAME), "User first name is invalid."); - Assert.True(savedUser.LastName.Equals(USER_LAST_NAME), "User last name is invalid."); - Assert.True(savedUser.Email.Equals(USER_EMAIL), "User email is invalid."); - } - - [Fact, Order(2)] - public void Should_Throw_Exception_When_Create_Empty_User() - { - Assert.Throws(() => fixture.RedmineManager.CreateObject(new User())); - } - - [Fact, Order(3)] - public void Should_Create_User_With_All_Properties_Set() - { - var login = "testUserAllProp"; - var firstName = "firstName"; - var lastName = "lastName"; - var email = "email@a.com"; - var password = "pass123456"; - var mailNotification = "only_assigned"; - - var savedUser = fixture.RedmineManager.CreateObject(new User() - { - Login = login, - FirstName = firstName, - LastName = lastName, - Email = email, - Password = password, - MustChangePassword = true, - MailNotification = mailNotification - }); - - Assert.NotNull(savedUser); - Assert.NotEqual(0, savedUser.Id); - - createdUserWithAllPropId = savedUser.Id.ToString(); - - Assert.True(savedUser.Login.Equals(login), "User login is invalid."); - Assert.True(savedUser.FirstName.Equals(firstName), "User first name is invalid."); - Assert.True(savedUser.LastName.Equals(lastName), "User last name is invalid."); - Assert.True(savedUser.Email.Equals(email), "User email is invalid."); - } - - [Fact, Order(4)] - public void Should_Get_Created_User_With_Required_Fields() - { - var user = fixture.RedmineManager.GetObject(createdUserId, null); - - Assert.NotNull(user); - Assert.IsType(user); - Assert.True(user.Login.Equals(USER_LOGIN), "User login is invalid."); - Assert.True(user.FirstName.Equals(USER_FIRST_NAME), "User first name is invalid."); - Assert.True(user.LastName.Equals(USER_LAST_NAME), "User last name is invalid."); - Assert.True(user.Email.Equals(USER_EMAIL), "User email is invalid."); - } - - [Fact, Order(5)] - public void Should_Update_User() - { - const string UPDATED_USER_FIRST_NAME = "UpdatedFirstName"; - const string UPDATED_USER_LAST_NAME = "UpdatedLastName"; - const string UPDATED_USER_EMAIL = "updatedEmail@mail.com"; - - var user = fixture.RedmineManager.GetObject("8", null); - user.FirstName = UPDATED_USER_FIRST_NAME; - user.LastName = UPDATED_USER_LAST_NAME; - user.Email = UPDATED_USER_EMAIL; - - var exception = - (RedmineException) - Record.Exception(() => fixture.RedmineManager.UpdateObject("8", user)); - Assert.Null(exception); - - var updatedUser = fixture.RedmineManager.GetObject("8", null); - - Assert.True(updatedUser.FirstName.Equals(UPDATED_USER_FIRST_NAME), "User first name was not updated."); - Assert.True(updatedUser.LastName.Equals(UPDATED_USER_LAST_NAME), "User last name was not updated."); - Assert.True(updatedUser.Email.Equals(UPDATED_USER_EMAIL), "User email was not updated."); - - // curl -v --user zapadi:1qaz2wsx -H 'Content-Type: application/json' -X PUT -d '{"user":{"login":"testuser","firstname":"UpdatedFirstName","lastname":"UpdatedLastName","mail":"updatedEmail@mail.com","must_change_passwd":"false","status":"1"}}' http://192.168.1.53:8089/users/8.json - } - - [Fact, Order(6)] - public void Should_Not_Update_User_With_Invalid_Properties() - { - var user = fixture.RedmineManager.GetObject(createdUserId, null); - user.FirstName = ""; - - Assert.Throws(() => fixture.RedmineManager.UpdateObject(createdUserId, user)); - } - - [Fact, Order(7)] - public void Should_Delete_User() - { - var exception = - (RedmineException) - Record.Exception(() => fixture.RedmineManager.DeleteObject(createdUserId)); - Assert.Null(exception); - Assert.Throws(() => fixture.RedmineManager.GetObject(createdUserId, null)); - - } - - [Fact, Order(8)] - public void Should_Delete_User_Created_With_All_Properties_Set() - { - var exception = - (RedmineException) - Record.Exception(() => fixture.RedmineManager.DeleteObject(createdUserWithAllPropId)); - Assert.Null(exception); - Assert.Throws(() => fixture.RedmineManager.GetObject(createdUserWithAllPropId, null)); - - } - - [Fact, Order(9)] - public void Should_Get_Current_User() - { - var currentUser = fixture.RedmineManager.GetCurrentUser(); - - Assert.NotNull(currentUser); - Assert.Equal(currentUser.ApiKey, fixture.Credentials.ApiKey); - } - - [Fact, Order(10)] - public void Should_Get_X_Users_From_Offset_Y() - { - var result = fixture.RedmineManager.GetPaginatedObjects(new NameValueCollection() - { - {RedmineKeys.INCLUDE, RedmineKeys.GROUPS + "," + RedmineKeys.MEMBERSHIPS}, - {RedmineKeys.LIMIT, "2"}, - {RedmineKeys.OFFSET, "1"} - }); - - Assert.NotNull(result); - } - - [Fact, Order(11)] - public void Should_Get_Users_By_State() - { - var users = fixture.RedmineManager.GetObjects(new NameValueCollection() - { - {RedmineKeys.STATUS, ((int) UserStatus.StatusActive).ToString(CultureInfo.InvariantCulture)} - }); - - Assert.NotNull(users); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs deleted file mode 100644 index f629df86..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/VersionTests.cs +++ /dev/null @@ -1,144 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Specialized; -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Types; -using Xunit; -using Version = Redmine.Net.Api.Types.Version; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "Versions")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class VersionTests - { - public VersionTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private readonly RedmineFixture fixture; - - private const string PROJECT_ID = "redmine-net-api"; - - [Fact] - [Order(1)] - public void Should_Create_Version() - { - const string NEW_VERSION_NAME = "VersionTesting"; - const VersionStatus NEW_VERSION_STATUS = VersionStatus.Locked; - const VersionSharing NEW_VERSION_SHARING = VersionSharing.Hierarchy; - DateTime newVersionDueDate = DateTime.Now.AddDays(7); - const string NEW_VERSION_DESCRIPTION = "Version description"; - - var version = new Version - { - Name = NEW_VERSION_NAME, - Status = NEW_VERSION_STATUS, - Sharing = NEW_VERSION_SHARING, - DueDate = newVersionDueDate, - Description = NEW_VERSION_DESCRIPTION - }; - - var savedVersion = fixture.RedmineManager.CreateObject(version, PROJECT_ID); - - Assert.NotNull(savedVersion); - Assert.NotNull(savedVersion.Project); - Assert.True(savedVersion.Name.Equals(NEW_VERSION_NAME), "Version name is invalid."); - Assert.True(savedVersion.Status.Equals(NEW_VERSION_STATUS), "Version status is invalid."); - Assert.True(savedVersion.Sharing.Equals(NEW_VERSION_SHARING), "Version sharing is invalid."); - Assert.NotNull(savedVersion.DueDate); - Assert.True(savedVersion.DueDate.Value.Date.Equals(newVersionDueDate.Date), "Version due date is invalid."); - Assert.True(savedVersion.Description.Equals(NEW_VERSION_DESCRIPTION), "Version description is invalid."); - } - - [Fact] - [Order(99)] - public void Should_Delete_Version() - { - const string DELETED_VERSION_ID = "22"; - var exception = - (RedmineException) - Record.Exception(() => fixture.RedmineManager.DeleteObject(DELETED_VERSION_ID)); - Assert.Null(exception); - Assert.Throws(() => fixture.RedmineManager.GetObject(DELETED_VERSION_ID, null)); - } - - [Fact] - [Order(3)] - public void Should_Get_Version_By_Id() - { - const string VERSION_ID = "6"; - - var version = fixture.RedmineManager.GetObject(VERSION_ID, null); - - Assert.NotNull(version); - } - - [Fact] - [Order(2)] - public void Should_Get_Versions_By_Project_Id() - { - const int NUMBER_OF_VERSIONS = 5; - var versions = - fixture.RedmineManager.GetObjects(new NameValueCollection - { - {RedmineKeys.PROJECT_ID, PROJECT_ID} - }); - - Assert.NotNull(versions); - Assert.True(versions.Count == NUMBER_OF_VERSIONS, "Versions count ( "+versions.Count+" ) != " + NUMBER_OF_VERSIONS); - } - - [Fact] - [Order(4)] - public void Should_Update_Version() - { - const string UPDATED_VERSION_ID = "15"; - const string UPDATED_VERSION_NAME = "Updated version"; - const VersionStatus UPDATED_VERSION_STATUS = VersionStatus.Closed; - const VersionSharing UPDATED_VERSION_SHARING = VersionSharing.System; - const string UPDATED_VERSION_DESCRIPTION = "Updated description"; - - DateTime updatedVersionDueDate = DateTime.Now.AddMonths(1); - - var version = fixture.RedmineManager.GetObject(UPDATED_VERSION_ID, null); - version.Name = UPDATED_VERSION_NAME; - version.Status = UPDATED_VERSION_STATUS; - version.Sharing = UPDATED_VERSION_SHARING; - version.DueDate = updatedVersionDueDate; - version.Description = UPDATED_VERSION_DESCRIPTION; - - fixture.RedmineManager.UpdateObject(UPDATED_VERSION_ID, version); - - var updatedVersion = fixture.RedmineManager.GetObject(UPDATED_VERSION_ID, null); - - Assert.NotNull(version); - Assert.True(updatedVersion.Name.Equals(version.Name), "Version name not updated."); - Assert.True(updatedVersion.Status.Equals(version.Status), "Status not updated"); - Assert.True(updatedVersion.Sharing.Equals(version.Sharing), "Sharing not updated"); - Assert.True(updatedVersion.DueDate != null && DateTime.Compare(updatedVersion.DueDate.Value.Date, version.DueDate.Value.Date) == 0, - "DueDate not updated"); - Assert.True(updatedVersion.Description.Equals(version.Description), "Description not updated"); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs b/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs deleted file mode 100644 index c5788f0e..00000000 --- a/tests/redmine-net-api.Tests/Tests/Sync/WikiPageTests.cs +++ /dev/null @@ -1,140 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Specialized; -using System.Linq; -using Padi.RedmineApi.Tests.Infrastructure; -using Redmine.Net.Api; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Types; -using Xunit; - -namespace Padi.RedmineApi.Tests.Tests.Sync -{ - [Trait("Redmine-Net-Api", "WikiPages")] -#if !(NET20 || NET40) - [Collection("RedmineCollection")] -#endif - public class WikiPageTests - { - public WikiPageTests(RedmineFixture fixture) - { - this.fixture = fixture; - } - - private readonly RedmineFixture fixture; - - private const string PROJECT_ID = "redmine-net-api-project-test"; - private const string WIKI_PAGE_NAME = "Wiki"; - - [Fact, Order(1)] - public void Should_Add_WikiPage() - { - const string WIKI_PAGE_TEXT = "Create wiki page"; - const string WIKI_PAGE_COMMENT = "I did it through code"; - - var page = fixture.RedmineManager.CreateWikiPage(PROJECT_ID, "Wiki test page name", - new WikiPage { Text = WIKI_PAGE_TEXT, Comments = WIKI_PAGE_COMMENT }); - - Assert.NotNull(page); - Assert.True(page.Title.Equals("Wiki test page name"), "Wiki page name is invalid."); - Assert.True(page.Text.Equals(WIKI_PAGE_TEXT), "Wiki page text is invalid."); - Assert.True(page.Comments.Equals(WIKI_PAGE_COMMENT), "Wiki page comments are invalid."); - } - - [Fact, Order(2)] - public void Should_Update_WikiPage() - { - const string WIKI_PAGE_UPDATED_TEXT = "Updated again and again wiki page and again"; - const string WIKI_PAGE_COMMENT = "I did it through code"; - - fixture.RedmineManager.UpdateWikiPage(PROJECT_ID, "Wiki test page name", - new WikiPage { Text = WIKI_PAGE_UPDATED_TEXT, Comments = WIKI_PAGE_COMMENT }); - } - - [Fact, Order(99)] - public void Should_Delete_Wiki_Page() - { - fixture.RedmineManager.DeleteWikiPage(PROJECT_ID, WIKI_PAGE_NAME); - Assert.Throws(() => fixture.RedmineManager.GetWikiPage(PROJECT_ID, null, WIKI_PAGE_NAME)); - } - - [Fact, Order(2)] - public void Should_Get_All_Wiki_Pages_By_Project_Id() - { - const int NUMBER_OF_WIKI_PAGES = 2; - - var pages = fixture.RedmineManager.GetAllWikiPages(PROJECT_ID); - - Assert.NotNull(pages); - Assert.True(pages.Count == NUMBER_OF_WIKI_PAGES, "Wiki pages count != " + NUMBER_OF_WIKI_PAGES); - Assert.True(pages.Exists(p => p.Title == WIKI_PAGE_NAME), $"Wiki page {WIKI_PAGE_NAME} does not exist"); - } - - [Fact, Order(3)] - public void Should_Get_Wiki_Page_By_Title() - { - const string WIKI_PAGE_TITLE = "Wiki2"; - - var page = fixture.RedmineManager.GetWikiPage(PROJECT_ID, null, WIKI_PAGE_TITLE); - - Assert.NotNull(page); - Assert.True(page.Title.Equals(WIKI_PAGE_TITLE), "Wiki page title is invalid."); - } - - [Fact, Order(4)] - public void Should_Get_Wiki_Page_By_Title_With_Attachments() - { - var page = fixture.RedmineManager.GetWikiPage(PROJECT_ID, - new NameValueCollection { { RedmineKeys.INCLUDE, RedmineKeys.ATTACHMENTS } }, WIKI_PAGE_NAME); - - Assert.NotNull(page); - Assert.Equal(page.Title, WIKI_PAGE_NAME); - Assert.NotNull(page.Attachments.ToList()); - } - - [Fact, Order(5)] - public void Should_Get_Wiki_Page_By_Version() - { - const int WIKI_PAGE_VERSION = 1; - var oldPage = fixture.RedmineManager.GetWikiPage(PROJECT_ID, null, WIKI_PAGE_NAME, WIKI_PAGE_VERSION); - - Assert.NotNull(oldPage); - Assert.Equal(oldPage.Title, WIKI_PAGE_NAME); - Assert.True(oldPage.Version == WIKI_PAGE_VERSION, "Wiki page version is invalid."); - } - - [Fact, Order(6)] - public void Should_Get_Wiki_Page_With_Special_Chars() - { - var wikiPageName = "some-page-with-umlauts-and-other-special-chars-äöüÄÖÜß"; - - var wikiPage = fixture.RedmineManager.CreateWikiPage(PROJECT_ID, wikiPageName, - new WikiPage { Text = "WIKI_PAGE_TEXT", Comments = "WIKI_PAGE_COMMENT" }); - - WikiPage page = fixture.RedmineManager.GetWikiPage - ( - PROJECT_ID, - null, - wikiPageName - ); - - Assert.NotNull(page); - Assert.True(string.Equals(page.Title,wikiPageName, StringComparison.OrdinalIgnoreCase),$"Wiki page {wikiPageName} does not exist."); - } - } -} \ No newline at end of file From 1940df6550f9894e91eafcd03d8ad1d8ec67dc3b Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 4 Dec 2023 13:15:54 +0200 Subject: [PATCH 361/601] [Tests] Make all classes sealed & fix namespaces --- .../Infrastructure/{ => Order}/CaseOrder.cs | 13 ++++--- .../{ => Order}/CollectionOrderer.cs | 24 +++++++----- .../{ => Order}/OrderAttribute.cs | 4 +- .../Infrastructure/RedmineCollection.cs | 7 +--- .../RedmineCredentials.cs | 2 +- .../Infrastructure/RedmineFixture.cs | 39 +++++++++++++++++++ tests/redmine-net-api.Tests/RedmineFixture.cs | 30 -------------- tests/redmine-net-api.Tests/TestHelper.cs | 5 ++- 8 files changed, 69 insertions(+), 55 deletions(-) rename tests/redmine-net-api.Tests/Infrastructure/{ => Order}/CaseOrder.cs (68%) rename tests/redmine-net-api.Tests/Infrastructure/{ => Order}/CollectionOrderer.cs (65%) rename tests/redmine-net-api.Tests/Infrastructure/{ => Order}/OrderAttribute.cs (61%) rename tests/redmine-net-api.Tests/{ => Infrastructure}/RedmineCredentials.cs (80%) create mode 100644 tests/redmine-net-api.Tests/Infrastructure/RedmineFixture.cs delete mode 100644 tests/redmine-net-api.Tests/RedmineFixture.cs diff --git a/tests/redmine-net-api.Tests/Infrastructure/CaseOrder.cs b/tests/redmine-net-api.Tests/Infrastructure/Order/CaseOrder.cs similarity index 68% rename from tests/redmine-net-api.Tests/Infrastructure/CaseOrder.cs rename to tests/redmine-net-api.Tests/Infrastructure/Order/CaseOrder.cs index 22096ad4..97c849af 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/CaseOrder.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/Order/CaseOrder.cs @@ -6,17 +6,17 @@ using Xunit.Abstractions; using Xunit.Sdk; -namespace Padi.RedmineApi.Tests.Infrastructure +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure { /// /// Custom xUnit test case orderer that uses the OrderAttribute /// - public class CaseOrderer : ITestCaseOrderer + public sealed class CaseOrderer : ITestCaseOrderer { - public const string TYPE_NAME = "redmine.net.api.Tests.Infrastructure.CaseOrderer"; - public const string ASSEMBY_NAME = "redmine-net-api.Tests"; + // public const string TYPE_NAME = "redmine.net.api.Tests.Infrastructure.CaseOrderer"; + // public const string ASSEMBLY_NAME = "redmine-net-api.Tests"; - public static readonly ConcurrentDictionary> QueuedTests = new ConcurrentDictionary>(); + private static readonly ConcurrentDictionary> QueuedTests = new ConcurrentDictionary>(); public IEnumerable OrderTestCases(IEnumerable testCases) where TTestCase : ITestCase @@ -36,7 +36,8 @@ private static int GetOrder(TTestCase testCase) var attr = testCase.TestMethod.Method .ToRuntimeMethod() .GetCustomAttribute(); - return attr != null ? attr.Index : 0; + + return attr?.Index ?? 0; } } } diff --git a/tests/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs b/tests/redmine-net-api.Tests/Infrastructure/Order/CollectionOrderer.cs similarity index 65% rename from tests/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs rename to tests/redmine-net-api.Tests/Infrastructure/Order/CollectionOrderer.cs index fdbe5d03..abe9cd91 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/CollectionOrderer.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/Order/CollectionOrderer.cs @@ -7,15 +7,15 @@ using Xunit; using Xunit.Abstractions; -namespace Padi.RedmineApi.Tests.Infrastructure +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure { /// /// Custom xUnit test collection orderer that uses the OrderAttribute /// - public class CollectionOrderer : ITestCollectionOrderer + public sealed class CollectionOrderer : ITestCollectionOrderer { - public const string TYPE_NAME = "redmine.net.api.Tests.Infrastructure.CollectionOrderer"; - public const string ASSEMBY_NAME = "redmine-net-api.Tests"; + // public const string TYPE_NAME = "redmine.net.api.Tests.Infrastructure.CollectionOrderer"; + // public const string ASSEMBLY_NAME = "redmine-net-api.Tests"; public IEnumerable OrderTestCollections(IEnumerable testCollections) { @@ -30,15 +30,21 @@ public IEnumerable OrderTestCollections(IEnumerable private static int GetOrder(ITestCollection testCollection) { - var i = testCollection.DisplayName.LastIndexOf(' '); - if (i <= -1) return 0; + var index = testCollection.DisplayName.LastIndexOf(' '); + if (index <= -1) + { + return 0; + } - var className = testCollection.DisplayName.Substring(i + 1); + var className = testCollection.DisplayName.Substring(index + 1); var type = Type.GetType(className); - if (type == null) return 0; + if (type == null) + { + return 0; + } var attr = type.GetCustomAttribute(); - return attr != null ? attr.Index : 0; + return attr?.Index ?? 0; } } } diff --git a/tests/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs b/tests/redmine-net-api.Tests/Infrastructure/Order/OrderAttribute.cs similarity index 61% rename from tests/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs rename to tests/redmine-net-api.Tests/Infrastructure/Order/OrderAttribute.cs index b13b5af8..bc837971 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/OrderAttribute.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/Order/OrderAttribute.cs @@ -1,8 +1,8 @@ using System; -namespace Padi.RedmineApi.Tests.Infrastructure +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure { - public class OrderAttribute : Attribute + public sealed class OrderAttribute : Attribute { public OrderAttribute(int index) { diff --git a/tests/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs b/tests/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs index 831b2245..fa2bcbd4 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs @@ -1,12 +1,9 @@ #if !(NET20 || NET40) using Xunit; -namespace Padi.RedmineApi.Tests.Infrastructure +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure { [CollectionDefinition("RedmineCollection")] - public class RedmineCollection : ICollectionFixture - { - - } + public sealed class RedmineCollection : ICollectionFixture { } } #endif \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/RedmineCredentials.cs b/tests/redmine-net-api.Tests/Infrastructure/RedmineCredentials.cs similarity index 80% rename from tests/redmine-net-api.Tests/RedmineCredentials.cs rename to tests/redmine-net-api.Tests/Infrastructure/RedmineCredentials.cs index 380def2b..e3c489be 100644 --- a/tests/redmine-net-api.Tests/RedmineCredentials.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/RedmineCredentials.cs @@ -1,4 +1,4 @@ -namespace Padi.RedmineApi.Tests +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure { public sealed class RedmineCredentials { diff --git a/tests/redmine-net-api.Tests/Infrastructure/RedmineFixture.cs b/tests/redmine-net-api.Tests/Infrastructure/RedmineFixture.cs new file mode 100644 index 00000000..f4e7e2c1 --- /dev/null +++ b/tests/redmine-net-api.Tests/Infrastructure/RedmineFixture.cs @@ -0,0 +1,39 @@ +using System.Diagnostics; +using Redmine.Net.Api; +using Redmine.Net.Api.Authentication; +using Redmine.Net.Api.Serialization; + +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure +{ + public sealed class RedmineFixture + { + public RedmineCredentials Credentials { get; } + public RedmineManager RedmineManager { get; private set; } + + private readonly RedmineManagerOptionsBuilder _redmineManagerOptionsBuilder; + + public RedmineFixture () + { + Credentials = TestHelper.GetApplicationConfiguration(); + + _redmineManagerOptionsBuilder = new RedmineManagerOptionsBuilder() + .WithHost(Credentials.Uri) + .WithAuthentication(new RedmineApiKeyAuthentication(Credentials.ApiKey)); + + SetMimeTypeXml(); + SetMimeTypeJson(); + } + + [Conditional("DEBUG_JSON")] + private void SetMimeTypeJson() + { + RedmineManager = new RedmineManager(_redmineManagerOptionsBuilder.WithSerializationType(SerializationType.Json)); + } + + [Conditional("DEBUG_XML")] + private void SetMimeTypeXml() + { + RedmineManager = new RedmineManager(_redmineManagerOptionsBuilder.WithSerializationType(SerializationType.Xml)); + } + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/RedmineFixture.cs b/tests/redmine-net-api.Tests/RedmineFixture.cs deleted file mode 100644 index 89988e18..00000000 --- a/tests/redmine-net-api.Tests/RedmineFixture.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System.Diagnostics; -using Redmine.Net.Api; - -namespace Padi.RedmineApi.Tests -{ - public class RedmineFixture - { - public RedmineCredentials Credentials { get; private set; } - public RedmineManager RedmineManager { get; set; } - - public RedmineFixture () - { - Credentials = TestHelper.GetApplicationConfiguration(); - SetMimeTypeXml(); - SetMimeTypeJson(); - } - - [Conditional("DEBUG_JSON")] - private void SetMimeTypeJson() - { - RedmineManager = new RedmineManager(Credentials.Uri, Credentials.ApiKey, MimeFormat.Json); - } - - [Conditional("DEBUG_XML")] - private void SetMimeTypeXml() - { - RedmineManager = new RedmineManager(Credentials.Uri, Credentials.ApiKey); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/TestHelper.cs b/tests/redmine-net-api.Tests/TestHelper.cs index 785a5607..fbc1995f 100644 --- a/tests/redmine-net-api.Tests/TestHelper.cs +++ b/tests/redmine-net-api.Tests/TestHelper.cs @@ -1,12 +1,13 @@ using System; using System.IO; using Microsoft.Extensions.Configuration; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; -namespace Padi.RedmineApi.Tests +namespace Padi.DotNet.RedmineAPI.Tests { internal static class TestHelper { - public static IConfigurationRoot GetIConfigurationRoot(string outputPath) + private static IConfigurationRoot GetIConfigurationRoot(string outputPath) { var environment = Environment.GetEnvironmentVariable("Environment"); From 4da710b50ea233ce420e27d87953def559e6f309 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:39:05 +0200 Subject: [PATCH 362/601] [GitActions] Delete dotnetcore.yml --- .github/workflows/dotnetcore.yml | 129 ------------------------------- 1 file changed, 129 deletions(-) delete mode 100644 .github/workflows/dotnetcore.yml diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml deleted file mode 100644 index 3214bad2..00000000 --- a/.github/workflows/dotnetcore.yml +++ /dev/null @@ -1,129 +0,0 @@ -name: Redmine .NET Api - -on: - push: - paths-ignore: - - '**/*.md' - - '**/*.gif' - - '**/*.png' - - '**/*.gitignore' - - '**/*.gitattributes' - - LICENSE - - tests/* - tags: - - v[1-9].[0-9]+.[0-9]+ - pull_request: - workflow_dispatch: - branches: - - master - path-ignore: - - '**/*.md' - - '**/*.gif' - - '**/*.png' - - '**/*.gitignore' - - '**/*.gitattributes' - - LICENSE - - tests/* - -env: - DOTNET_CLI_TELEMETRY_OPTOUT: 1 - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 - DOTNET_NOLOGO: true - DOTNET_GENERATE_ASPNET_CERTIFICATE: false - DOTNET_ADD_GLOBAL_TOOLS_TO_PATH: false - DOTNET_MULTILEVEL_LOOKUP: 0 - -jobs: - build: - - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] - dotnet: [ '3.1.x', '5.x.x', '6.x.x'] - name: OS ${{ matrix.os }} - dotnet ${{ matrix.dotnet }} - - steps: - - uses: actions/checkout@v2 - - - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: ${{ matrix.dotnet }} - - # Fetches all tags for the repo - - name: Fetch tags - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - - - name: Install dependencies - run: dotnet restore redmine-net-api.sln - - - name: Get the version - #id: get_version - #run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - #${{ steps.get_version.outputs.VERSION }} - run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - - - name: Test - run: | - echo $VERSION - echo ${{ env.VERSION }} - echo $github.run_number - -# - name: Build -# run: dotnet build redmine-net-api.sln --configuration Release --no-restore --version-suffix=${{ env.VERSION }} - -# - name: Build Signed -# run: dotnet build redmine-net-api.sln --configuration Release --no-restore --version-suffix=${{ env.VERSION }} -p:Sign=true - -# #- name: Test -# # run: dotnet test redmine-net-api.sln --no-restore --verbosity normal - -# - name: Pack -# run: dotnet pack redmine-net-api.sln --configuration Release -o .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build ${{ env.VERSION }} -# if: runner.os != 'Windows' - -# - name: Pack Signed -# run: dotnet pack redmine-net-api.sln --configuration Release -o .\artifacts --include-symbols -p:SymbolPackageFormat=snupkg --no-build ${{ env.VERSION }} -p:Sign=true -# if: runner.os != 'Windows' - -# - name: Publish NuGet Packages -# uses: actions/upload-artifact@master -# with: -# name: nupkg -# path: .\artifacts\**\*.nupkg - -# - name: Publish Symbol Packages -# uses: actions/upload-artifact@master -# with: -# name: snupkg -# path: .\artifacts\**\*.snupkg - -# deploy: -# runs-on: macOS-latest -# needs: build -# name: Deploy Packages -# steps: -# - name: Download Package artifact -# uses: actions/download-artifact@master -# with: -# name: nupkg -# - name: Download Package artifact -# uses: actions/download-artifact@master -# with: -# name: snupkg - -# - name: Setup NuGet -# uses: NuGet/setup-nuget@v1.0.2 -# with: -# nuget-api-key: ${{ secrets.NUGET_API_KEY }} -# nuget-version: latest - -# - name: Setup .NET Core SDK -# uses: actions/setup-dotnet@v1 -# with: -# dotnet-version: '3.1.x' - -# - name: Push to NuGet -# run: dotnet nuget push nupkg\*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://nuget.org - From 1e73667ccb71fbd737646c180e8de230c4d7ea91 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:41:44 +0200 Subject: [PATCH 363/601] [Internals] Delete UrlHelper --- src/redmine-net-api/Internals/UrlHelper.cs | 379 --------------------- 1 file changed, 379 deletions(-) delete mode 100644 src/redmine-net-api/Internals/UrlHelper.cs diff --git a/src/redmine-net-api/Internals/UrlHelper.cs b/src/redmine-net-api/Internals/UrlHelper.cs deleted file mode 100644 index 0b18b0ef..00000000 --- a/src/redmine-net-api/Internals/UrlHelper.cs +++ /dev/null @@ -1,379 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Globalization; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; -using File = Redmine.Net.Api.Types.File; -using Version = Redmine.Net.Api.Types.Version; - -namespace Redmine.Net.Api.Internals -{ - /// - /// - internal static class UrlHelper - { - /// - /// - private const string REQUEST_FORMAT = "{0}/{1}/{2}.{3}"; - - /// - /// - private const string FORMAT = "{0}/{1}.{2}"; - - /// - /// - private const string WIKI_INDEX_FORMAT = "{0}/projects/{1}/wiki/index.{2}"; - - /// - /// - private const string WIKI_PAGE_FORMAT = "{0}/projects/{1}/wiki/{2}.{3}"; - - /// - /// - private const string WIKI_VERSION_FORMAT = "{0}/projects/{1}/wiki/{2}/{3}.{4}"; - - /// - /// - private const string ENTITY_WITH_PARENT_FORMAT = "{0}/{1}/{2}/{3}.{4}"; - - /// - /// - private const string ATTACHMENT_UPDATE_FORMAT = "{0}/attachments/issues/{1}.{2}"; - - /// - /// - /// - private const string FILE_URL_FORMAT = "{0}/projects/{1}/files.{2}"; - - private const string MY_ACCOUNT_FORMAT = "{0}/my/account.{1}"; - - - /// - /// - private const string CURRENT_USER_URI = "current"; - /// - /// Gets the upload URL. - /// - /// - /// The redmine manager. - /// The identifier. - /// - /// - public static string GetUploadUrl(RedmineManager redmineManager, string id) - where T : class, new() - { - var type = typeof(T); - - if (!RedmineManager.Suffixes.TryGetValue(type, out string value)) throw new KeyNotFoundException(type.Name); - - return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, value, id, - redmineManager.Format); - } - - /// - /// Gets the create URL. - /// - /// - /// The redmine manager. - /// The owner identifier. - /// - /// - /// - /// The owner id(project id) is mandatory! - /// or - /// The owner id(issue id) is mandatory! - /// - public static string GetCreateUrl(RedmineManager redmineManager, string ownerId) where T : class, new() - { - var type = typeof(T); - - if (!RedmineManager.Suffixes.TryGetValue(type, out string value)) throw new KeyNotFoundException(type.Name); - - if (type == typeof(Version) || type == typeof(IssueCategory) || type == typeof(ProjectMembership)) - { - if (string.IsNullOrEmpty(ownerId)) throw new RedmineException("The owner id(project id) is mandatory!"); - return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.PROJECTS, - ownerId, value, redmineManager.Format); - } - if (type == typeof(IssueRelation)) - { - if (string.IsNullOrEmpty(ownerId)) throw new RedmineException("The owner id(issue id) is mandatory!"); - return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.ISSUES, - ownerId, value, redmineManager.Format); - } - - if (type == typeof(File)) - { - if (string.IsNullOrEmpty(ownerId)) - { - throw new RedmineException("The owner id(project id) is mandatory!"); - } - return string.Format(CultureInfo.InvariantCulture,FILE_URL_FORMAT, redmineManager.Host, ownerId, redmineManager.Format); - } - - return string.Format(CultureInfo.InvariantCulture,FORMAT, redmineManager.Host, value, - redmineManager.Format); - } - - /// - /// Gets the delete URL. - /// - /// - /// The redmine manager. - /// The identifier. - /// - /// - /// - public static string GetDeleteUrl(RedmineManager redmineManager, string id) where T : class, new() - { - var type = typeof(T); - - if (!RedmineManager.Suffixes.TryGetValue(type, out string value)) throw new KeyNotFoundException(type.Name); - - return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, value, id, - redmineManager.Format); - } - - /// - /// Gets the get URL. - /// - /// - /// The redmine manager. - /// The identifier. - /// - /// - public static string GetGetUrl(RedmineManager redmineManager, string id) where T : class, new() - { - var type = typeof(T); - - if (!RedmineManager.Suffixes.TryGetValue(type, out string value)) throw new KeyNotFoundException(type.Name); - - return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, value, id, - redmineManager.Format); - } - - /// - /// Gets the list URL. - /// - /// - /// The redmine manager. - /// The parameters. - /// - /// - /// - /// The project id is mandatory! \nCheck if you have included the parameter project_id to parameters. - /// or - /// The issue id is mandatory! \nCheck if you have included the parameter issue_id to parameters - /// - public static string GetListUrl(RedmineManager redmineManager, NameValueCollection parameters) - where T : class, new() - { - var type = typeof(T); - - if (!RedmineManager.Suffixes.TryGetValue(type, out string value)) throw new KeyNotFoundException(type.Name); - - if (type == typeof(Version) || type == typeof(IssueCategory) || type == typeof(ProjectMembership)) - { - var projectId = parameters.GetParameterValue(RedmineKeys.PROJECT_ID); - if (string.IsNullOrEmpty(projectId)) - throw new RedmineException("The project id is mandatory! \nCheck if you have included the parameter project_id to parameters."); - - return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.PROJECTS, - projectId, value, redmineManager.Format); - } - if (type == typeof(IssueRelation)) - { - var issueId = parameters.GetParameterValue(RedmineKeys.ISSUE_ID); - if (string.IsNullOrEmpty(issueId)) - throw new RedmineException("The issue id is mandatory! \nCheck if you have included the parameter issue_id to parameters"); - - return string.Format(CultureInfo.InvariantCulture,ENTITY_WITH_PARENT_FORMAT, redmineManager.Host, RedmineKeys.ISSUES, - issueId, value, redmineManager.Format); - } - - if (type == typeof(File)) - { - var projectId = parameters.GetParameterValue(RedmineKeys.PROJECT_ID); - if (string.IsNullOrEmpty(projectId)) - { - throw new RedmineException("The project id is mandatory! \nCheck if you have included the parameter project_id to parameters."); - } - return string.Format(CultureInfo.InvariantCulture,FILE_URL_FORMAT, redmineManager.Host, projectId, redmineManager.Format); - } - - return string.Format(CultureInfo.InvariantCulture,FORMAT, redmineManager.Host, value, - redmineManager.Format); - } - - /// - /// Gets the wikis URL. - /// - /// The redmine manager. - /// The project identifier. - /// - public static string GetWikisUrl(RedmineManager redmineManager, string projectId) - { - return string.Format(CultureInfo.InvariantCulture,WIKI_INDEX_FORMAT, redmineManager.Host, projectId, - redmineManager.Format); - } - - /// - /// Gets the wiki page URL. - /// - /// The redmine manager. - /// The project identifier. - /// Name of the page. - /// The version. - /// - public static string GetWikiPageUrl(RedmineManager redmineManager, string projectId, string pageName, uint version = 0) - { - var uri = version == 0 - ? string.Format(CultureInfo.InvariantCulture,WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, - redmineManager.Format) - : string.Format(CultureInfo.InvariantCulture,WIKI_VERSION_FORMAT, redmineManager.Host, projectId, pageName, version.ToString(CultureInfo.InvariantCulture), - redmineManager.Format); - return uri; - } - - /// - /// Gets the add user to group URL. - /// - /// The redmine manager. - /// The group identifier. - /// - public static string GetAddUserToGroupUrl(RedmineManager redmineManager, int groupId) - { - return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, - RedmineManager.Suffixes[typeof(Group)], - $"{groupId.ToString(CultureInfo.InvariantCulture)}/users", redmineManager.Format); - } - - /// - /// Gets the remove user from group URL. - /// - /// The redmine manager. - /// The group identifier. - /// The user identifier. - /// - public static string GetRemoveUserFromGroupUrl(RedmineManager redmineManager, int groupId, int userId) - { - return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, - RedmineManager.Suffixes[typeof(Group)], - $"{groupId.ToString(CultureInfo.InvariantCulture)}/users/{userId.ToString(CultureInfo.InvariantCulture)}", redmineManager.Format); - } - - /// - /// Gets the upload file URL. - /// - /// The redmine manager. - /// - public static string GetUploadFileUrl(RedmineManager redmineManager) - { - return string.Format(CultureInfo.InvariantCulture,FORMAT, redmineManager.Host, RedmineKeys.UPLOADS, - redmineManager.Format); - } - - /// - /// Gets the current user URL. - /// - /// The redmine manager. - /// - public static string GetCurrentUserUrl(RedmineManager redmineManager) - { - return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, - RedmineManager.Suffixes[typeof(User)], CURRENT_USER_URI, - redmineManager.Format); - } - - public static string GetMyAccountUrl(RedmineManager redmineManager) - { - return string.Format(CultureInfo.InvariantCulture,MY_ACCOUNT_FORMAT, redmineManager.Host, redmineManager.Format); - } - - /// - /// Gets the wiki create or updater URL. - /// - /// The redmine manager. - /// The project identifier. - /// Name of the page. - /// - public static string GetWikiCreateOrUpdaterUrl(RedmineManager redmineManager, string projectId, string pageName) - { - return string.Format(CultureInfo.InvariantCulture,WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, - redmineManager.Format); - } - - /// - /// Gets the delete wiki URL. - /// - /// The redmine manager. - /// The project identifier. - /// Name of the page. - /// - public static string GetDeleteWikiUrl(RedmineManager redmineManager, string projectId, string pageName) - { - return string.Format(CultureInfo.InvariantCulture,WIKI_PAGE_FORMAT, redmineManager.Host, projectId, pageName, - redmineManager.Format); - } - - /// - /// Gets the add watcher URL. - /// - /// The redmine manager. - /// The issue identifier. - /// - public static string GetAddWatcherUrl(RedmineManager redmineManager, int issueId) - { - return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, - RedmineManager.Suffixes[typeof(Issue)], $"{issueId.ToString(CultureInfo.InvariantCulture)}/watchers", - redmineManager.Format); - } - - /// - /// Gets the remove watcher URL. - /// - /// The redmine manager. - /// The issue identifier. - /// The user identifier. - /// - public static string GetRemoveWatcherUrl(RedmineManager redmineManager, int issueId, int userId) - { - return string.Format(CultureInfo.InvariantCulture,REQUEST_FORMAT, redmineManager.Host, - RedmineManager.Suffixes[typeof(Issue)], $"{issueId.ToString(CultureInfo.InvariantCulture)}/watchers/{userId.ToString(CultureInfo.InvariantCulture)}", - redmineManager.Format); - } - - /// - /// Gets the attachment update URL. - /// - /// The redmine manager. - /// The issue identifier. - /// - public static string GetAttachmentUpdateUrl(RedmineManager redmineManager, int issueId) - { - return string.Format(CultureInfo.InvariantCulture, - ATTACHMENT_UPDATE_FORMAT, - redmineManager.Host, - issueId.ToString(CultureInfo.InvariantCulture), - redmineManager.Format); - } - } -} \ No newline at end of file From 1c25a03c030e3d8134b52672b6d0c00070a27da0 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:42:13 +0200 Subject: [PATCH 364/601] [Internals] Delete WebApiHelper --- src/redmine-net-api/Internals/WebApiHelper.cs | 199 ------------------ 1 file changed, 199 deletions(-) delete mode 100644 src/redmine-net-api/Internals/WebApiHelper.cs diff --git a/src/redmine-net-api/Internals/WebApiHelper.cs b/src/redmine-net-api/Internals/WebApiHelper.cs deleted file mode 100644 index 27406f2c..00000000 --- a/src/redmine-net-api/Internals/WebApiHelper.cs +++ /dev/null @@ -1,199 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Specialized; -using System.ComponentModel; -using System.Net; -using System.Text; -using System.Threading; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Serialization; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.Internals -{ - /// - /// - /// - internal static class WebApiHelper - { - /// - /// Executes the upload. - /// - /// The redmine manager. - /// The address. - /// Type of the action. - /// The data. - /// The parameters - public static void ExecuteUpload(RedmineManager redmineManager, string address, string actionType, string data, - NameValueCollection parameters = null) - { - using (var wc = redmineManager.CreateWebClient(parameters)) - { - if (actionType == HttpVerbs.POST || actionType == HttpVerbs.DELETE || actionType == HttpVerbs.PUT || - actionType == HttpVerbs.PATCH) - { - wc.UploadString(address, actionType, data); - } - } - } - - /// - /// Executes the upload. - /// - /// - /// The redmine manager. - /// The address. - /// Type of the action. - /// The data. - /// - public static T ExecuteUpload(RedmineManager redmineManager, string address, string actionType, string data) - where T : class, new() - { - using (var wc = redmineManager.CreateWebClient(null)) - { - switch (actionType) - { - case HttpVerbs.POST: - case HttpVerbs.DELETE: - case HttpVerbs.PUT: - case HttpVerbs.PATCH: - { - var response = wc.UploadString(address, actionType, data); - return redmineManager.Serializer.Deserialize(response); - } - - default: - return default; - } - } - } - - /// - /// Executes the download. - /// - /// - /// The redmine manager. - /// The address. - /// The parameters. - /// - public static T ExecuteDownload(RedmineManager redmineManager, string address, - NameValueCollection parameters = null) - where T : class, new() - { - using (var wc = redmineManager.CreateWebClient(parameters)) - { - var response = wc.DownloadString(address); - if (!string.IsNullOrEmpty(response)) - { - return redmineManager.Serializer.Deserialize(response); - } - - return default; - } - } - - /// - /// Executes the download list. - /// - /// - /// The redmine manager. - /// The address. - /// The parameters. - /// - public static PagedResults ExecuteDownloadList(RedmineManager redmineManager, string address, - NameValueCollection parameters = null) where T : class, new() - { - using (var wc = redmineManager.CreateWebClient(parameters)) - { - var response = wc.DownloadString(address); - return redmineManager.Serializer.DeserializeToPagedResults(response); - } - } - - /// - /// Executes the download file. - /// - /// The redmine manager. - /// The address. - /// The name of the file to be placed on the local computer. - /// - public static void ExecuteDownloadFile(RedmineManager redmineManager, string address, string filename) - { - using (var wc = redmineManager.CreateWebClient(null, true)) - { - wc.DownloadProgressChanged += HandleDownloadProgress; - wc.DownloadFileCompleted += HandleDownloadComplete; - - var syncObject = new object(); - lock (syncObject) - { - wc.DownloadFileAsync(new Uri(address), filename, syncObject); - //This would block the thread until download completes - Monitor.Wait(syncObject); - } - - wc.DownloadProgressChanged -= HandleDownloadProgress; - wc.DownloadFileCompleted -= HandleDownloadComplete; - } - } - - /// - /// Executes the download file. - /// - /// The redmine manager. - /// The address. - /// - public static byte[] ExecuteDownloadFile(RedmineManager redmineManager, string address) - { - using (var wc = redmineManager.CreateWebClient(null, true)) - { - return wc.DownloadData(address); - } - } - - private static void HandleDownloadComplete(object sender, AsyncCompletedEventArgs e) - { - lock (e.UserState) - { - //releases blocked thread - Monitor.Pulse(e.UserState); - } - } - - private static void HandleDownloadProgress(object sender, DownloadProgressChangedEventArgs e) - { - } - - /// - /// Executes the upload file. - /// - /// The redmine manager. - /// The address. - /// The data. - /// - public static Upload ExecuteUploadFile(RedmineManager redmineManager, string address, byte[] data) - { - using (var wc = redmineManager.CreateWebClient(null, true)) - { - var response = wc.UploadData(address, data); - var responseString = Encoding.ASCII.GetString(response); - return redmineManager.Serializer.Deserialize(responseString); - } - } - } -} \ No newline at end of file From d35adbea8831fbb85636b7f6efa3d078c0d04fb3 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:42:37 +0200 Subject: [PATCH 365/601] [Internals] Delete WebApiAsyncHelper --- .../Internals/WebApiAsyncHelper.cs | 148 ------------------ 1 file changed, 148 deletions(-) delete mode 100644 src/redmine-net-api/Internals/WebApiAsyncHelper.cs diff --git a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs b/src/redmine-net-api/Internals/WebApiAsyncHelper.cs deleted file mode 100644 index 6f0b3f16..00000000 --- a/src/redmine-net-api/Internals/WebApiAsyncHelper.cs +++ /dev/null @@ -1,148 +0,0 @@ -/* - Copyright 2011 - 2023 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ -#if !(NET20 || NET40) -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Net; -using System.Text; -using System.Threading.Tasks; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Serialization; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.Internals -{ - /// - /// - /// - internal static class WebApiAsyncHelper - { - /// - /// Executes the upload. - /// - /// The redmine manager. - /// The address. - /// Type of the action. - /// The data. - /// - public static async Task ExecuteUpload(RedmineManager redmineManager, string address, string actionType, string data) - { - using (var wc = redmineManager.CreateWebClient(null)) - { - if (actionType == HttpVerbs.POST || actionType == HttpVerbs.DELETE || actionType == HttpVerbs.PUT || - actionType == HttpVerbs.PATCH) - { - return await wc.UploadStringTaskAsync(address, actionType, data).ConfigureAwait(false); - } - } - - return null; - } - - /// - /// Executes the download. - /// - /// - /// The redmine manager. - /// The address. - /// The parameters. - /// - public static async Task ExecuteDownload(RedmineManager redmineManager, string address, - NameValueCollection parameters = null) - where T : class, new() - { - using (var wc = redmineManager.CreateWebClient(parameters)) - { - var response = await wc.DownloadStringTaskAsync(address).ConfigureAwait(false); - return redmineManager.Serializer.Deserialize(response); - } - } - - /// - /// Executes the download list. - /// - /// - /// The redmine manager. - /// The address. - /// The parameters. - /// - public static async Task> ExecuteDownloadList(RedmineManager redmineManager, string address, - NameValueCollection parameters = null) where T : class, new() - { - using (var wc = redmineManager.CreateWebClient(parameters)) - { - var response = await wc.DownloadStringTaskAsync(address).ConfigureAwait(false); - var result = redmineManager.Serializer.DeserializeToPagedResults(response); - if (result != null) - { - return new List(result.Items); - } - return null; - } - } - - - /// - /// Executes the download paginated list. - /// - /// - /// The redmine manager. - /// The address. - /// The parameters. - /// - public static async Task> ExecuteDownloadPaginatedList(RedmineManager redmineManager, string address, - NameValueCollection parameters = null) where T : class, new() - { - using (var wc = redmineManager.CreateWebClient(parameters)) - { - var response = await wc.DownloadStringTaskAsync(address).ConfigureAwait(false); - return redmineManager.Serializer.DeserializeToPagedResults(response); - } - } - - /// - /// Executes the download file. - /// - /// The redmine manager. - /// The address. - /// - public static async Task ExecuteDownloadFile(RedmineManager redmineManager, string address) - { - using (var wc = redmineManager.CreateWebClient(null, true)) - { - return await wc.DownloadDataTaskAsync(address).ConfigureAwait(false); - } - } - - /// - /// Executes the upload file. - /// - /// The redmine manager. - /// The address. - /// The data. - /// - public static async Task ExecuteUploadFile(RedmineManager redmineManager, string address, byte[] data) - { - using (var wc = redmineManager.CreateWebClient(null, true)) - { - var response = await wc.UploadDataTaskAsync(address, data).ConfigureAwait(false); - var responseString = Encoding.ASCII.GetString(response); - return redmineManager.Serializer.Deserialize(responseString); - } - } - } -} -#endif \ No newline at end of file From 0692e9ed37922cce5486d5653f1eae63212a85b5 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:45:04 +0200 Subject: [PATCH 366/601] [Extensions] Mark as obsolete RedmineManagerAsyncExtensions --- .../RedmineManagerAsyncExtensions.cs} | 264 +++++------------- 1 file changed, 76 insertions(+), 188 deletions(-) rename src/redmine-net-api/{Async/RedmineManagerAsync45.cs => Extensions/RedmineManagerAsyncExtensions.cs} (56%) diff --git a/src/redmine-net-api/Async/RedmineManagerAsync45.cs b/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.cs similarity index 56% rename from src/redmine-net-api/Async/RedmineManagerAsync45.cs rename to src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.cs index 2020dee6..fad99217 100644 --- a/src/redmine-net-api/Async/RedmineManagerAsync45.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.cs @@ -14,17 +14,14 @@ You may obtain a copy of the License at limitations under the License. */ -#if !(NET20 || NET40) +#if !(NET20) using System; using System.Collections.Generic; using System.Collections.Specialized; -using System.Globalization; -using System.Net; -using System.Text.RegularExpressions; +using System.Threading; using System.Threading.Tasks; using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; @@ -32,18 +29,22 @@ namespace Redmine.Net.Api.Async { /// /// - public static class RedmineManagerAsync + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use RedmineManger async methods instead")] + public static class RedmineManagerAsyncExtensions { /// /// Gets the current user asynchronous. /// /// The redmine manager. /// The parameters. + /// + /// /// - public static async Task GetCurrentUserAsync(this RedmineManager redmineManager, NameValueCollection parameters = null) + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public static async Task GetCurrentUserAsync(this RedmineManager redmineManager, NameValueCollection parameters = null, string impersonateUserName = null, CancellationToken cancellationToken = default) { - var uri = UrlHelper.GetCurrentUserUrl(redmineManager); - return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, parameters).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); + return await redmineManager.GetCurrentUserAsync(requestOptions, cancellationToken).ConfigureAwait(false); } /// @@ -54,20 +55,15 @@ public static async Task GetCurrentUserAsync(this RedmineManager redmineMa /// Name of the page. /// The wiki page. /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task CreateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) { - var data = redmineManager.Serializer.Serialize(wikiPage); - if (string.IsNullOrEmpty(data)) return null; + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - var url = UrlHelper.GetWikiCreateOrUpdaterUrl(redmineManager, projectId, pageName); - - url = Uri.EscapeUriString(url); - - var response = await WebApiAsyncHelper.ExecuteUpload(redmineManager, url, HttpVerbs.PUT, data).ConfigureAwait(false); - return redmineManager.Serializer.Deserialize(response); + return await redmineManager.CreateWikiPageAsync(projectId, pageName, wikiPage, requestOptions).ConfigureAwait(false); } - /// + /// /// Creates the or update wiki page asynchronous. /// /// The redmine manager. @@ -75,19 +71,11 @@ public static async Task CreateWikiPageAsync(this RedmineManager redmi /// Name of the page. /// The wiki page. /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task UpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) { - var data = redmineManager.Serializer.Serialize(wikiPage); - if (string.IsNullOrEmpty(data)) - { - return ; - } - - var url = UrlHelper.GetWikiCreateOrUpdaterUrl(redmineManager, projectId, pageName); - - url = Uri.EscapeUriString(url); - - var response = await WebApiAsyncHelper.ExecuteUpload(redmineManager, url, HttpVerbs.PUT, data).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); + await redmineManager.UpdateWikiPageAsync(projectId, pageName, wikiPage, requestOptions).ConfigureAwait(false); } /// @@ -97,12 +85,11 @@ public static async Task UpdateWikiPageAsync(this RedmineManager redmineManager, /// The project identifier. /// Name of the page. /// - public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, string projectId, - string pageName) + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName) { - var uri = UrlHelper.GetDeleteWikiUrl(redmineManager, projectId, pageName); - uri = Uri.EscapeUriString(uri); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); + await redmineManager.DeleteWikiPageAsync(projectId, pageName, requestOptions).ConfigureAwait(false); } /// @@ -114,10 +101,11 @@ public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, /// /// . /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task UploadFileAsync(this RedmineManager redmineManager, byte[] data) { - var uri = UrlHelper.GetUploadFileUrl(redmineManager); - return await WebApiAsyncHelper.ExecuteUploadFile(redmineManager, uri, data).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); + return await redmineManager.UploadFileAsync(data, requestOptions).ConfigureAwait(false); } /// @@ -126,9 +114,12 @@ public static async Task UploadFileAsync(this RedmineManager redmineMana /// The redmine manager. /// The address. /// + [Obsolete("Use DownloadFileAsync instead")] public static async Task DownloadFileAsync(this RedmineManager redmineManager, string address) { - return await WebApiAsyncHelper.ExecuteDownloadFile(redmineManager, address).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); + + return await redmineManager.DownloadFileAsync(address, requestOptions).ConfigureAwait(false); } /// @@ -140,12 +131,11 @@ public static async Task DownloadFileAsync(this RedmineManager redmineMa /// Name of the page. /// The version. /// - public static async Task GetWikiPageAsync(this RedmineManager redmineManager, string projectId, - NameValueCollection parameters, string pageName, uint version = 0) + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public static async Task GetWikiPageAsync(this RedmineManager redmineManager, string projectId, NameValueCollection parameters, string pageName, uint version = 0) { - var uri = UrlHelper.GetWikiPageUrl(redmineManager, projectId, pageName, version); - uri = Uri.EscapeUriString(uri); - return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, parameters).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); + return await redmineManager.GetWikiPageAsync(projectId, pageName, requestOptions, version).ConfigureAwait(false); } /// @@ -155,10 +145,11 @@ public static async Task GetWikiPageAsync(this RedmineManager redmineM /// The parameters. /// The project identifier. /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task> GetAllWikiPagesAsync(this RedmineManager redmineManager, NameValueCollection parameters, string projectId) { - var uri = UrlHelper.GetWikisUrl(redmineManager, projectId); - return await WebApiAsyncHelper.ExecuteDownloadList(redmineManager, uri, parameters).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); + return await redmineManager.GetAllWikiPagesAsync(projectId, requestOptions).ConfigureAwait(false); } /// @@ -170,12 +161,11 @@ public static async Task> GetAllWikiPagesAsync(this RedmineManage /// /// Returns the Guid associated with the async request. /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, int groupId, int userId) { - var data = SerializationHelper.SerializeUserId(userId, redmineManager.MimeFormat); - var uri = UrlHelper.GetAddUserToGroupUrl(redmineManager, groupId); - - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); + await redmineManager.AddUserToGroupAsync(groupId, userId, requestOptions).ConfigureAwait(false); } /// @@ -185,10 +175,11 @@ public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, /// The group id. /// The user id. /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task RemoveUserFromGroupAsync(this RedmineManager redmineManager, int groupId, int userId) { - var uri = UrlHelper.GetRemoveUserFromGroupUrl(redmineManager, groupId, userId); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); + await redmineManager.RemoveUserFromGroupAsync(groupId, userId, requestOptions).ConfigureAwait(false); } /// @@ -198,12 +189,11 @@ public static async Task RemoveUserFromGroupAsync(this RedmineManager redmineMan /// The issue identifier. /// The user identifier. /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManager, int issueId, int userId) { - var data = SerializationHelper.SerializeUserId(userId, redmineManager.MimeFormat); - var uri = UrlHelper.GetAddWatcherUrl(redmineManager, issueId); - - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); + await redmineManager.AddWatcherToIssueAsync(issueId, userId, requestOptions).ConfigureAwait(false); } /// @@ -213,10 +203,11 @@ public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManag /// The issue identifier. /// The user identifier. /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManager, int issueId, int userId) { - var uri = UrlHelper.GetRemoveWatcherUrl(redmineManager, issueId, userId); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); + await redmineManager.RemoveWatcherFromIssueAsync(issueId, userId, requestOptions).ConfigureAwait(false); } /// @@ -226,16 +217,10 @@ public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmine /// /// /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task CountAsync(this RedmineManager redmineManager, params string[] include) where T : class, new() { - var parameters = new NameValueCollection(); - - if (include != null) - { - parameters.Add(RedmineKeys.INCLUDE, string.Join(",", include)); - } - - return await CountAsync(redmineManager,parameters).ConfigureAwait(false); + return await RedmineManagerExtensions.CountAsync(redmineManager, include).ConfigureAwait(false); } /// @@ -245,32 +230,11 @@ public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmine /// /// /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task CountAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { - int totalCount = 0, pageSize = 1, offset = 0; - - if (parameters == null) - { - parameters = new NameValueCollection(); - } - - parameters.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); - parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); - - try - { - var tempResult = await GetPaginatedObjectsAsync(redmineManager,parameters).ConfigureAwait(false); - if (tempResult != null) - { - totalCount = tempResult.TotalItems; - } - } - catch (WebException wex) - { - wex.HandleWebException(redmineManager.Serializer); - } - - return totalCount; + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); + return await redmineManager.CountAsync(requestOptions).ConfigureAwait(false); } @@ -281,12 +245,12 @@ public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmine /// The redmine manager. /// The parameters. /// - public static async Task> GetPaginatedObjectsAsync(this RedmineManager redmineManager, - NameValueCollection parameters) + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public static async Task> GetPaginatedObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { - var uri = UrlHelper.GetListUrl(redmineManager, parameters); - return await WebApiAsyncHelper.ExecuteDownloadPaginatedList(redmineManager, uri, parameters).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); + return await redmineManager.GetPagedAsync(requestOptions).ConfigureAwait(false); } /// @@ -296,70 +260,12 @@ public static async Task> GetPaginatedObjectsAsync(this Redmi /// The redmine manager. /// The parameters. /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task> GetObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { - int pageSize = 0, offset = 0; - var isLimitSet = false; - List resultList = null; - - if (parameters == null) - { - parameters = new NameValueCollection(); - } - else - { - isLimitSet = int.TryParse(parameters[RedmineKeys.LIMIT], out pageSize); - int.TryParse(parameters[RedmineKeys.OFFSET], out offset); - } - - if (pageSize == default(int)) - { - pageSize = redmineManager.PageSize > 0 - ? redmineManager.PageSize - : RedmineManager.DEFAULT_PAGE_SIZE_VALUE; - parameters.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); - } - try - { - var hasOffset = RedmineManager.TypesWithOffset.ContainsKey(typeof(T)); - if (hasOffset) - { - var totalCount = 0; - do - { - parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); - var tempResult = await redmineManager.GetPaginatedObjectsAsync(parameters).ConfigureAwait(false); - totalCount = isLimitSet ? pageSize : tempResult.TotalItems; - - if (tempResult?.Items != null) - { - if (resultList == null) - { - resultList = new List(tempResult.Items); - } - else - { - resultList.AddRange(tempResult.Items); - } - } - offset += pageSize; - } while (offset < totalCount); - } - else - { - var result = await redmineManager.GetPaginatedObjectsAsync(parameters).ConfigureAwait(false); - if (result?.Items != null) - { - return new List(result.Items); - } - } - } - catch (WebException wex) - { - wex.HandleWebException(redmineManager.Serializer); - } - return resultList; + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); + return await redmineManager.GetObjectsAsync(requestOptions).ConfigureAwait(false); } /// @@ -370,11 +276,12 @@ public static async Task> GetObjectsAsync(this RedmineManager redmine /// The id of the object. /// Optional filters and/or optional fetched data. /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task GetObjectAsync(this RedmineManager redmineManager, string id, NameValueCollection parameters) where T : class, new() { - var uri = UrlHelper.GetGetUrl(redmineManager, id); - return await WebApiAsyncHelper.ExecuteDownload(redmineManager, uri, parameters).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); + return await redmineManager.GetObjectAsync(id, requestOptions).ConfigureAwait(false); } /// @@ -384,10 +291,12 @@ public static async Task GetObjectAsync(this RedmineManager redmineManager /// The redmine manager. /// The object to create. /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task CreateObjectAsync(this RedmineManager redmineManager, T entity) where T : class, new() { - return await CreateObjectAsync(redmineManager, entity, null).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); + return await redmineManager.CreateObjectAsync(entity, null, requestOptions).ConfigureAwait(false); } /// @@ -398,14 +307,12 @@ public static async Task CreateObjectAsync(this RedmineManager redmineMana /// The object to create. /// The owner identifier. /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task CreateObjectAsync(this RedmineManager redmineManager, T entity, string ownerId) where T : class, new() { - var uri = UrlHelper.GetCreateUrl(redmineManager, ownerId); - var data = redmineManager.Serializer.Serialize(entity); - - var response = await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.POST, data).ConfigureAwait(false); - return redmineManager.Serializer.Deserialize(response); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); + return await redmineManager.CreateObjectAsync(entity, ownerId, requestOptions, CancellationToken.None).ConfigureAwait(false); } /// @@ -416,14 +323,12 @@ public static async Task CreateObjectAsync(this RedmineManager redmineMana /// The identifier. /// The object. /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T entity) where T : class, new() { - var uri = UrlHelper.GetUploadUrl(redmineManager, id); - var data = redmineManager.Serializer.Serialize(entity); - data = Regex.Replace(data, @"\r\n|\r|\n", "\r\n"); - - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.PUT, data).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); + await redmineManager.UpdateObjectAsync(id, entity, requestOptions).ConfigureAwait(false); } /// @@ -433,11 +338,12 @@ public static async Task UpdateObjectAsync(this RedmineManager redmineManager /// The redmine manager. /// The id of the object to delete /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task DeleteObjectAsync(this RedmineManager redmineManager, string id) where T : class, new() { - var uri = UrlHelper.GetDeleteUrl(redmineManager, id); - await WebApiAsyncHelper.ExecuteUpload(redmineManager, uri, HttpVerbs.DELETE, string.Empty).ConfigureAwait(false); + var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); + await redmineManager.DeleteObjectAsync(id, requestOptions).ConfigureAwait(false); } /// @@ -450,28 +356,10 @@ public static async Task DeleteObjectAsync(this RedmineManager redmineManager /// /// /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task> SearchAsync(this RedmineManager redmineManager, string q, int limit = RedmineManager.DEFAULT_PAGE_SIZE_VALUE, int offset = 0, SearchFilterBuilder searchFilter = null) { - if (q.IsNullOrWhiteSpace()) - { - throw new ArgumentNullException(nameof(q)); - } - - var parameters = new NameValueCollection - { - {RedmineKeys.Q, q}, - {RedmineKeys.LIMIT, limit.ToString(CultureInfo.InvariantCulture)}, - {RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)}, - }; - - if (searchFilter != null) - { - parameters = searchFilter.Build(parameters); - } - - var result = await redmineManager.GetPaginatedObjectsAsync(parameters).ConfigureAwait(false); - - return result; + return await RedmineManagerExtensions.SearchAsync(redmineManager, q, limit, offset, searchFilter).ConfigureAwait(false); } } } From f0eb860bbe358fc01c45763019120a0b51c7a9ca Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:46:01 +0200 Subject: [PATCH 367/601] [New] IRedmineApiClient --- src/redmine-net-api/Net/IRedmineApiClient.cs | 32 ++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/redmine-net-api/Net/IRedmineApiClient.cs diff --git a/src/redmine-net-api/Net/IRedmineApiClient.cs b/src/redmine-net-api/Net/IRedmineApiClient.cs new file mode 100644 index 00000000..00a28bd7 --- /dev/null +++ b/src/redmine-net-api/Net/IRedmineApiClient.cs @@ -0,0 +1,32 @@ +using System.Threading; +#if!(NET20) +using System.Threading.Tasks; +#endif + +namespace Redmine.Net.Api.Net; + +/// +/// +/// +internal interface IRedmineApiClient +{ + ApiResponseMessage Get(string address, RequestOptions requestOptions = null); + ApiResponseMessage GetPaged(string address, RequestOptions requestOptions = null); + ApiResponseMessage Create(string address, string payload, RequestOptions requestOptions = null); + ApiResponseMessage Update(string address, string payload, RequestOptions requestOptions = null); + ApiResponseMessage Patch(string address, string payload, RequestOptions requestOptions = null); + ApiResponseMessage Delete(string address, RequestOptions requestOptions = null); + ApiResponseMessage Upload(string address, byte[] data, RequestOptions requestOptions = null); + ApiResponseMessage Download(string address, RequestOptions requestOptions = null); + + #if !(NET20) + Task GetAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + Task GetPagedAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + Task CreateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + Task UpdateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + Task PatchAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + Task DeleteAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + Task UploadFileAsync(string address, byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + Task DownloadAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + #endif +} \ No newline at end of file From 2f74e346ef789fca52666e58564c92a1a2e606c5 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:47:22 +0200 Subject: [PATCH 368/601] [New][Net][WebClient]InternalRedmineWebClient --- .../Net/WebClient/InternalRedmineWebClient.cs | 95 +++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 src/redmine-net-api/Net/WebClient/InternalRedmineWebClient.cs diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineWebClient.cs new file mode 100644 index 00000000..c2f35660 --- /dev/null +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineWebClient.cs @@ -0,0 +1,95 @@ +using System; +using System.Net; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.Net.WebClient; + +internal sealed class InternalRedmineWebClient : System.Net.WebClient +{ + private readonly IRedmineApiClientOptions _webClientSettings; + + public InternalRedmineWebClient(RedmineManagerOptions redmineManagerOptions) + { + _webClientSettings = redmineManagerOptions.ClientOptions; + BaseAddress = redmineManagerOptions.BaseAddress.ToString(); + } + + protected override WebRequest GetWebRequest(Uri address) + { + try + { + var webRequest = base.GetWebRequest(address); + + if (webRequest is not HttpWebRequest httpWebRequest) + { + return base.GetWebRequest(address); + } + + httpWebRequest.UserAgent = _webClientSettings.UserAgent.ValueOrFallback("RedmineDotNetAPIClient"); + + httpWebRequest.AutomaticDecompression = _webClientSettings.DecompressionFormat ?? DecompressionMethods.GZip | DecompressionMethods.Deflate | DecompressionMethods.None; + + AssignIfHasValue(_webClientSettings.AutoRedirect, value => httpWebRequest.AllowAutoRedirect = value); + + AssignIfHasValue(_webClientSettings.MaxAutomaticRedirections, value => httpWebRequest.MaximumAutomaticRedirections = value); + + AssignIfHasValue(_webClientSettings.KeepAlive, value => httpWebRequest.KeepAlive = value); + + AssignIfHasValue(_webClientSettings.Timeout, value => httpWebRequest.Timeout = (int) value.TotalMilliseconds); + + AssignIfHasValue(_webClientSettings.PreAuthenticate, value => httpWebRequest.PreAuthenticate = value); + + AssignIfHasValue(_webClientSettings.UseCookies, value => httpWebRequest.CookieContainer = _webClientSettings.CookieContainer); + + AssignIfHasValue(_webClientSettings.UnsafeAuthenticatedConnectionSharing, value => httpWebRequest.UnsafeAuthenticatedConnectionSharing = value); + + AssignIfHasValue(_webClientSettings.MaxResponseContentBufferSize, value => { }); + + if (_webClientSettings.DefaultHeaders != null) + { + httpWebRequest.Headers = new WebHeaderCollection(); + foreach (var defaultHeader in _webClientSettings.DefaultHeaders) + { + httpWebRequest.Headers.Add(defaultHeader.Key, defaultHeader.Value); + } + } + + httpWebRequest.CachePolicy = _webClientSettings.RequestCachePolicy; + + httpWebRequest.Proxy = _webClientSettings.Proxy; + + httpWebRequest.Credentials = _webClientSettings.Credentials; + + #if !(NET20) + if (_webClientSettings.ClientCertificates != null) + { + httpWebRequest.ClientCertificates = _webClientSettings.ClientCertificates; + } + #endif + + #if (NET45_OR_GREATER || NETCOREAPP) + httpWebRequest.ServerCertificateValidationCallback = _webClientSettings.ServerCertificateValidationCallback; + #endif + + if (_webClientSettings.ProtocolVersion != default) + { + httpWebRequest.ProtocolVersion = _webClientSettings.ProtocolVersion; + } + + return httpWebRequest; + } + catch (Exception webException) + { + throw new RedmineException(webException.GetBaseException().Message, webException); + } + } + + private static void AssignIfHasValue(T? nullableValue, Action assignAction) where T : struct + { + if (nullableValue.HasValue) + { + assignAction(nullableValue.Value); + } + } +} \ No newline at end of file From 12d668ed7f91cca3c3482213a5a15a4427f86f70 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:47:55 +0200 Subject: [PATCH 369/601] [New][Net][WebClient] RedmineApiClient --- .../Net/WebClient/RedmineApiClient.cs | 327 ++++++++++++++++++ 1 file changed, 327 insertions(+) create mode 100644 src/redmine-net-api/Net/WebClient/RedmineApiClient.cs diff --git a/src/redmine-net-api/Net/WebClient/RedmineApiClient.cs b/src/redmine-net-api/Net/WebClient/RedmineApiClient.cs new file mode 100644 index 00000000..2bb19404 --- /dev/null +++ b/src/redmine-net-api/Net/WebClient/RedmineApiClient.cs @@ -0,0 +1,327 @@ +using System; +using System.Collections.Specialized; +using System.Net; +using System.Text; +using System.Threading; +#if!(NET20) +using System.Threading.Tasks; +#endif +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Serialization; + +namespace Redmine.Net.Api.Net.WebClient +{ + /// + /// + /// + internal sealed class RedmineApiClient : IRedmineApiClient + { + private readonly Func _webClientFunc; + private readonly IRedmineAuthentication _credentials; + private readonly IRedmineSerializer _serializer; + + public RedmineApiClient(RedmineManagerOptions redmineManagerOptions) + : this(() => new InternalRedmineWebClient(redmineManagerOptions), redmineManagerOptions.Authentication, redmineManagerOptions.Serializer) + { + ConfigureServicePointManager(redmineManagerOptions.ClientOptions); + } + + public RedmineApiClient(Func webClientFunc, IRedmineAuthentication authentication, IRedmineSerializer serializer) + { + _webClientFunc = webClientFunc; + _credentials = authentication; + _serializer = serializer; + } + + private static void ConfigureServicePointManager(IRedmineApiClientOptions webClientSettings) + { + if (webClientSettings.MaxServicePoints.HasValue) + { + ServicePointManager.MaxServicePoints = webClientSettings.MaxServicePoints.Value; + } + + if (webClientSettings.MaxServicePointIdleTime.HasValue) + { + ServicePointManager.MaxServicePointIdleTime = webClientSettings.MaxServicePointIdleTime.Value; + } + + ServicePointManager.SecurityProtocol = webClientSettings.SecurityProtocolType ?? ServicePointManager.SecurityProtocol; + + if (webClientSettings.DefaultConnectionLimit.HasValue) + { + ServicePointManager.DefaultConnectionLimit = webClientSettings.DefaultConnectionLimit.Value; + } + + if (webClientSettings.DnsRefreshTimeout.HasValue) + { + ServicePointManager.DnsRefreshTimeout = webClientSettings.DnsRefreshTimeout.Value; + } + + ServicePointManager.CheckCertificateRevocationList = webClientSettings.CheckCertificateRevocationList; + + if (webClientSettings.EnableDnsRoundRobin.HasValue) + { + ServicePointManager.EnableDnsRoundRobin = webClientSettings.EnableDnsRoundRobin.Value; + } + + #if(NET46_OR_GREATER || NETCOREAPP) + if (webClientSettings.ReusePort.HasValue) + { + ServicePointManager.ReusePort = webClientSettings.ReusePort.Value; + } + #endif + } + + public ApiResponseMessage Get(string address, RequestOptions requestOptions = null) + { + return HandleRequest(address, HttpVerbs.GET, requestOptions); + } + + public ApiResponseMessage GetPaged(string address, RequestOptions requestOptions = null) + { + return Get(address, requestOptions); + } + + public ApiResponseMessage Create(string address, string payload, RequestOptions requestOptions = null) + { + var content = new StringApiRequestMessageContent(payload, GetContentType(_serializer)); + return HandleRequest(address, HttpVerbs.POST, requestOptions, content); + } + + public ApiResponseMessage Update(string address, string payload, RequestOptions requestOptions = null) + { + var content = new StringApiRequestMessageContent(payload, GetContentType(_serializer)); + return HandleRequest(address, HttpVerbs.PUT, requestOptions, content); + } + + public ApiResponseMessage Patch(string address, string payload, RequestOptions requestOptions = null) + { + var content = new StringApiRequestMessageContent(payload, GetContentType(_serializer)); + return HandleRequest(address, HttpVerbs.PATCH, requestOptions, content); + } + + public ApiResponseMessage Delete(string address, RequestOptions requestOptions = null) + { + return HandleRequest(address, HttpVerbs.DELETE, requestOptions); + } + + public ApiResponseMessage Download(string address, RequestOptions requestOptions = null) + { + return HandleRequest(address, HttpVerbs.DOWNLOAD, requestOptions); + } + + public ApiResponseMessage Upload(string address, byte[] data, RequestOptions requestOptions = null) + { + var content = new ByteArrayApiRequestMessageContent(data); + return HandleRequest(address, HttpVerbs.UPLOAD, requestOptions, content); + } + + #if !(NET20) + public async Task GetAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return await HandleRequestAsync(address, HttpVerbs.GET, requestOptions, cancellationToken:cancellationToken).ConfigureAwait(false); + } + + public Task GetPagedAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return GetAsync(address, requestOptions, cancellationToken); + } + + public async Task CreateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var content = new StringApiRequestMessageContent(payload, GetContentType(_serializer)); + return await HandleRequestAsync(address, HttpVerbs.POST, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); + } + + public async Task UpdateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var content = new StringApiRequestMessageContent(payload, GetContentType(_serializer)); + return await HandleRequestAsync(address, HttpVerbs.PUT, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); + } + + public async Task UploadFileAsync(string address, byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var content = new ByteArrayApiRequestMessageContent(data); + return await HandleRequestAsync(address, HttpVerbs.UPLOAD, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); + } + + public async Task PatchAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var content = new StringApiRequestMessageContent(payload, GetContentType(_serializer)); + return await HandleRequestAsync(address, HttpVerbs.PATCH, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); + } + + public async Task DeleteAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return await HandleRequestAsync(address, HttpVerbs.DELETE, requestOptions, cancellationToken:cancellationToken).ConfigureAwait(false); + } + + public async Task DownloadAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return await HandleRequestAsync(address, HttpVerbs.DOWNLOAD, requestOptions, cancellationToken:cancellationToken).ConfigureAwait(false); + } + + private Task HandleRequestAsync(string address, string verb, RequestOptions requestOptions = null, ApiRequestMessageContent content = null, CancellationToken cancellationToken = default) + { + return SendAsync(CreateRequestMessage(address, verb, requestOptions, content), cancellationToken); + } + + private async Task SendAsync(ApiRequestMessage requestMessage, CancellationToken cancellationToken) + { + System.Net.WebClient webClient = null; + byte[] response = null; + NameValueCollection responseHeaders = null; + try + { + webClient = _webClientFunc(); + + cancellationToken.Register(webClient.CancelAsync); + + SetWebClientHeaders(webClient, requestMessage); + + if (requestMessage.Method is HttpVerbs.GET or HttpVerbs.DOWNLOAD) + { + response = await webClient.DownloadDataTaskAsync(requestMessage.RequestUri).ConfigureAwait(false); + } + else + { + byte[] payload; + if (requestMessage.Content != null) + { + webClient.Headers.Add(HttpRequestHeader.ContentType, requestMessage.Content.ContentType); + payload = requestMessage.Content.Body; + } + else + { + payload = Encoding.UTF8.GetBytes(string.Empty); + } + + response = await webClient.UploadDataTaskAsync(requestMessage.RequestUri, requestMessage.Method, payload).ConfigureAwait(false); + } + + responseHeaders = webClient.ResponseHeaders; + } + catch (WebException ex) when (ex.Status == WebExceptionStatus.RequestCanceled) + { + //TODO: Handle cancellation... + } + catch (WebException webException) + { + webException.HandleWebException(_serializer); + } + finally + { + webClient?.Dispose(); + } + + return new ApiResponseMessage() + { + Headers = responseHeaders, + Content = response + }; + } + #endif + + + private static ApiRequestMessage CreateRequestMessage(string address, string verb, RequestOptions requestOptions = null, ApiRequestMessageContent content = null) + { + var req = new ApiRequestMessage() + { + RequestUri = address, + Method = verb, + }; + + if (requestOptions != null) + { + req.QueryString = requestOptions.QueryString; + req.ImpersonateUser = requestOptions.ImpersonateUser; + } + + if (content != null) + { + req.Content = content; + } + + return req; + } + + private ApiResponseMessage HandleRequest(string address, string verb, RequestOptions requestOptions = null, ApiRequestMessageContent content = null) + { + return Send(CreateRequestMessage(address, verb, requestOptions, content)); + } + + private ApiResponseMessage Send(ApiRequestMessage requestMessage) + { + System.Net.WebClient webClient = null; + byte[] response = null; + NameValueCollection responseHeaders = null; + + try + { + webClient = _webClientFunc(); + SetWebClientHeaders(webClient, requestMessage); + + if (IsGetOrDownload(requestMessage.Method)) + { + response = webClient.DownloadData(requestMessage.RequestUri); + } + else + { + byte[] payload; + if (requestMessage.Content != null) + { + webClient.Headers.Add(HttpRequestHeader.ContentType, requestMessage.Content.ContentType); + payload = requestMessage.Content.Body; + } + else + { + payload = Encoding.UTF8.GetBytes(string.Empty); + } + + response = webClient.UploadData(requestMessage.RequestUri, requestMessage.Method, payload); + } + + responseHeaders = webClient.ResponseHeaders; + } + catch (WebException webException) + { + webException.HandleWebException(_serializer); + } + finally + { + webClient?.Dispose(); + } + + return new ApiResponseMessage() + { + Headers = responseHeaders, + Content = response + }; + } + + private void SetWebClientHeaders(System.Net.WebClient webClient, ApiRequestMessage requestMessage) + { + if (requestMessage.QueryString != null) + { + webClient.QueryString = requestMessage.QueryString; + } + + webClient.Headers.Add(_credentials.AuthenticationType, _credentials.Token); + + if (!requestMessage.ImpersonateUser.IsNullOrWhiteSpace()) + { + webClient.Headers.Add(RedmineConstants.IMPERSONATE_HEADER_KEY, requestMessage.ImpersonateUser); + } + } + + private static bool IsGetOrDownload(string method) + { + return method is HttpVerbs.GET or HttpVerbs.DOWNLOAD; + } + + private static string GetContentType(IRedmineSerializer serializer) + { + return serializer.Format == "xml" ? RedmineConstants.CONTENT_TYPE_APPLICATION_XML : RedmineConstants.CONTENT_TYPE_APPLICATION_JSON; + } + } +} \ No newline at end of file From 39dd6e28e6b7cda4ff10f1475b2e8a65d1d8dd62 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:50:27 +0200 Subject: [PATCH 370/601] [New] RedmineManagerObsolete --- src/redmine-net-api/RedmineManagerObsolete.cs | 391 ++++++++++++++++++ 1 file changed, 391 insertions(+) create mode 100644 src/redmine-net-api/RedmineManagerObsolete.cs diff --git a/src/redmine-net-api/RedmineManagerObsolete.cs b/src/redmine-net-api/RedmineManagerObsolete.cs new file mode 100644 index 00000000..34764d20 --- /dev/null +++ b/src/redmine-net-api/RedmineManagerObsolete.cs @@ -0,0 +1,391 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Collections.Specialized; +using System.Net; +using System.Net.Security; +using System.Security.Cryptography.X509Certificates; +using Redmine.Net.Api.Authentication; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net.WebClient; +using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api +{ + /// + /// The main class to access Redmine API. + /// + public partial class RedmineManager + { + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use RedmineConstants.DEFAULT_PAGE_SIZE")]public const int DEFAULT_PAGE_SIZE_VALUE = 25; + + /// + /// Initializes a new instance of the class. + /// + /// The host. + /// The MIME format. + /// if set to true [verify server cert]. + /// The proxy. + /// Use this parameter to specify a SecurityProtocolType. + /// Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. + /// http or https. Default is https. + /// The webclient timeout. Default is 100 seconds. + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use RedmineManager(RedmineManagerOptionsBuilder")] + public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool verifyServerCert = true, + IWebProxy proxy = null, SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) + :this(new RedmineManagerOptionsBuilder() + .WithHost(host) + .WithAuthentication(new RedmineNoAuthentication()) + .WithSerializationType(mimeFormat) + .WithVerifyServerCert(verifyServerCert) + .WithClientOptions(new RedmineWebClientOptions() + { + Proxy = proxy, + Scheme = scheme, + Timeout = timeout, + SecurityProtocolType = securityProtocolType + }) + ) { } + + /// + /// Initializes a new instance of the class using your API key for authentication. + /// + /// + /// To enable the API-style authentication, you have to check Enable REST API in Administration -&gt; Settings -&gt; Authentication. + /// You can find your API key on your account page ( /my/account ) when logged in, on the right-hand pane of the default layout. + /// + /// The host. + /// The API key. + /// The MIME format. + /// if set to true [verify server cert]. + /// The proxy. + /// Use this parameter to specify a SecurityProtocolType. + /// Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. + /// + /// The webclient timeout. Default is 100 seconds. + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use RedmineManager(RedmineManagerOptionsBuilder")] + public RedmineManager(string host, string apiKey, MimeFormat mimeFormat = MimeFormat.Xml, + bool verifyServerCert = true, IWebProxy proxy = null, + SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) + : this(new RedmineManagerOptionsBuilder() + .WithHost(host) + .WithAuthentication(new RedmineApiKeyAuthentication(apiKey)) + .WithSerializationType(mimeFormat) + .WithVerifyServerCert(verifyServerCert) + .WithClientOptions(new RedmineWebClientOptions() + { + Proxy = proxy, + Scheme = scheme, + Timeout = timeout, + SecurityProtocolType = securityProtocolType + })){} + + /// + /// Initializes a new instance of the class using your login and password for authentication. + /// + /// The host. + /// The login. + /// The password. + /// The MIME format. + /// if set to true [verify server cert]. + /// The proxy. + /// Use this parameter to specify a SecurityProtocolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. + /// + /// The webclient timeout. Default is 100 seconds. + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use RedmineManager(RedmineManagerOptionsBuilder")] + public RedmineManager(string host, string login, string password, MimeFormat mimeFormat = MimeFormat.Xml, + bool verifyServerCert = true, IWebProxy proxy = null, + SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) + : this(new RedmineManagerOptionsBuilder() + .WithHost(host) + .WithAuthentication(new RedmineBasicAuthentication(login, password)) + .WithSerializationType(mimeFormat) + .WithVerifyServerCert(verifyServerCert) + .WithClientOptions(new RedmineWebClientOptions() + { + Proxy = proxy, + Scheme = scheme, + Timeout = timeout, + SecurityProtocolType = securityProtocolType + })) {} + + #region Obsolete + /// + /// Gets the suffixes. + /// + /// + /// The suffixes. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public static Dictionary Suffixes => null; + + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public string Format { get; } + + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public string Scheme { get; } + + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public TimeSpan? Timeout { get; } + + /// + /// Gets the host. + /// + /// + /// The host. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public string Host { get; } + + /// + /// The ApiKey used to authenticate. + /// + /// + /// The API key. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public string ApiKey { get; } + + /// + /// Gets the MIME format. + /// + /// + /// The MIME format. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public MimeFormat MimeFormat { get; } + + /// + /// Gets the proxy. + /// + /// + /// The proxy. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public IWebProxy Proxy { get; } + + /// + /// Gets the type of the security protocol. + /// + /// + /// The type of the security protocol. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public SecurityProtocolType SecurityProtocolType { get; } + #endregion + + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Returns null")] + public static readonly Dictionary TypesWithOffset = null; + + /// + /// Returns the user whose credentials are used to access the API. + /// + /// The accepted parameters are: memberships and groups (added in 2.1). + /// + /// + /// An error occurred during deserialization. The original exception is available + /// using the System.Exception.InnerException property. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use GetCurrentUser extension instead")] + public User GetCurrentUser(NameValueCollection parameters = null) + { + return this.GetCurrentUser(RedmineManagerExtensions.CreateRequestOptions(parameters)); + } + + /// + /// + /// + /// Returns the my account details. + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use GetMyAccount extension instead")] + public MyAccount GetMyAccount() + { + return RedmineManagerExtensions.GetMyAccount(this); + } + + /// + /// Adds the watcher to issue. + /// + /// The issue identifier. + /// The user identifier. + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use AddWatcherToIssue extension instead")] + public void AddWatcherToIssue(int issueId, int userId) + { + RedmineManagerExtensions.AddWatcherToIssue(this, issueId, userId); + } + + /// + /// Removes the watcher from issue. + /// + /// The issue identifier. + /// The user identifier. + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use RemoveWatcherFromIssue extension instead")] + public void RemoveWatcherFromIssue(int issueId, int userId) + { + RedmineManagerExtensions.RemoveWatcherFromIssue(this, issueId, userId); + } + + /// + /// Adds an existing user to a group. + /// + /// The group id. + /// The user id. + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use AddUserToGroup extension instead")] + public void AddUserToGroup(int groupId, int userId) + { + RedmineManagerExtensions.AddUserToGroup(this, groupId, userId); + } + + /// + /// Removes an user from a group. + /// + /// The group id. + /// The user id. + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use RemoveUserFromGroup extension instead")] + public void RemoveUserFromGroup(int groupId, int userId) + { + RedmineManagerExtensions.RemoveUserFromGroup(this, groupId, userId); + } + + /// + /// Creates or updates a wiki page. + /// + /// The project id or identifier. + /// The wiki page name. + /// The wiki page to create or update. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use UpdateWikiPage extension instead")] + public void UpdateWikiPage(string projectId, string pageName, WikiPage wikiPage) + { + RedmineManagerExtensions.UpdateWikiPage(this, projectId, pageName, wikiPage); + } + + /// + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use CreateWikiPage extension instead")] + public WikiPage CreateWikiPage(string projectId, string pageName, WikiPage wikiPage) + { + return RedmineManagerExtensions.CreateWikiPage(this, projectId, pageName, wikiPage); + } + + /// + /// Gets the wiki page. + /// + /// The project identifier. + /// The parameters. + /// Name of the page. + /// The version. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use GetWikiPage extension instead")] + public WikiPage GetWikiPage(string projectId, NameValueCollection parameters, string pageName, uint version = 0) + { + return this.GetWikiPage(projectId, pageName, RedmineManagerExtensions.CreateRequestOptions(parameters), version); + } + + /// + /// Returns the list of all pages in a project wiki. + /// + /// The project id or identifier. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use GetAllWikiPages extension instead")] + public List GetAllWikiPages(string projectId) + { + return RedmineManagerExtensions.GetAllWikiPages(this, projectId); + } + + /// + /// Deletes a wiki page, its attachments and its history. If the deleted page is a parent page, its child pages are not + /// deleted but changed as root pages. + /// + /// The project id or identifier. + /// The wiki page name. + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use DeleteWikiPage extension instead")] + public void DeleteWikiPage(string projectId, string pageName) + { + RedmineManagerExtensions.DeleteWikiPage(this, projectId, pageName); + } + + /// + /// Updates the attachment. + /// + /// The issue identifier. + /// The attachment. + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use UpdateAttachment extension instead")] + public void UpdateAttachment(int issueId, Attachment attachment) + { + this.UpdateIssueAttachment(issueId, attachment); + } + + /// + /// + /// + /// query strings. enable to specify multiple values separated by a space " ". + /// number of results in response. + /// skip this number of results in response + /// Optional filters. + /// + /// Returns the search results by the specified condition parameters. + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use Search extension instead")] + public PagedResults Search(string q, int limit = DEFAULT_PAGE_SIZE_VALUE, int offset = 0, SearchFilterBuilder searchFilter = null) + { + return RedmineManagerExtensions.Search(this, q, limit, offset, searchFilter); + } + + /// + /// Creates the Redmine web client. + /// + /// The parameters. + /// if set to true [upload file]. + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "If a custom webClient is needed, use Func from RedmineManagerSettings instead")] + public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, bool uploadFile = false) + { + throw new NotImplementedException(); + } + + /// + /// This is to take care of SSL certification validation which are not issued by Trusted Root CA. + /// + /// The sender. + /// The cert. + /// The chain. + /// The error. + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use WebClientSettings.ServerCertificateValidationCallback instead")] + public virtual bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors sslPolicyErrors) + { + const SslPolicyErrors IGNORED_ERRORS = SslPolicyErrors.RemoteCertificateChainErrors | SslPolicyErrors.RemoteCertificateNameMismatch; + + return (sslPolicyErrors & ~IGNORED_ERRORS) == SslPolicyErrors.None; + } + } +} \ No newline at end of file From 9c38c4be8922e4aec8f137fc2b00caa0901c9fcc Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:51:34 +0200 Subject: [PATCH 371/601] Add Obsolete attribute --- src/redmine-net-api/IRedmineManager.cs | 32 +++++++++++--------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index 57f8a423..c3519e8b 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -14,6 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Net; @@ -31,31 +32,31 @@ public interface IRedmineManager /// /// /// - string Host { get; } + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]string Host { get; } /// /// /// - string ApiKey { get; } + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]string ApiKey { get; } /// /// /// - int PageSize { get; set; } + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]int PageSize { get; set; } /// /// /// - string ImpersonateUser { get; set; } + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]string ImpersonateUser { get; set; } /// /// /// - MimeFormat MimeFormat { get; } + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]MimeFormat MimeFormat { get; } /// /// /// - IWebProxy Proxy { get; } + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]IWebProxy Proxy { get; } /// /// /// - SecurityProtocolType SecurityProtocolType { get; } + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]SecurityProtocolType SecurityProtocolType { get; } /// /// @@ -184,7 +185,7 @@ PagedResults Search(string q, int limit , int offset = 0, /// /// /// - int Count(NameValueCollection parameters) where T : class, new(); + int Count(NameValueCollection parameters = null) where T : class, new(); /// /// @@ -235,13 +236,6 @@ PagedResults Search(string q, int limit , int offset = 0, /// T CreateObject(T entity, string ownerId) where T : class, new(); - /// - /// - /// - /// - /// - /// - void UpdateObject(string id, T entity) where T : class, new(); /// /// /// @@ -249,7 +243,7 @@ PagedResults Search(string q, int limit , int offset = 0, /// /// /// - void UpdateObject(string id, T entity, string projectId) where T : class, new(); + void UpdateObject(string id, T entity, string projectId = null) where T : class, new(); /// /// @@ -257,7 +251,7 @@ PagedResults Search(string q, int limit , int offset = 0, /// /// /// - void DeleteObject(string id, NameValueCollection parameters) where T : class, new(); + void DeleteObject(string id, NameValueCollection parameters = null) where T : class, new(); /// /// @@ -265,7 +259,7 @@ PagedResults Search(string q, int limit , int offset = 0, /// /// /// - RedmineWebClient CreateWebClient(NameValueCollection parameters, bool uploadFile = false); + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]RedmineWebClient CreateWebClient(NameValueCollection parameters, bool uploadFile = false); /// /// /// @@ -274,6 +268,6 @@ PagedResults Search(string q, int limit , int offset = 0, /// /// /// - bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors sslPolicyErrors); + [Obsolete(RedmineConstants.OBSOLETE_TEXT)]bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors sslPolicyErrors); } } \ No newline at end of file From 3798353af90c71c93dcff2393d14e38113a29ff9 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:52:57 +0200 Subject: [PATCH 372/601] [RedmineManager] Remove old code --- src/redmine-net-api/RedmineManager.cs | 895 ++++++-------------------- 1 file changed, 180 insertions(+), 715 deletions(-) diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 4b732745..cac2c338 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -23,9 +23,12 @@ limitations under the License. using System.Security.Cryptography.X509Certificates; using System.Text; using System.Text.RegularExpressions; +using Redmine.Net.Api.Authentication; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Net.WebClient; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; using Group = Redmine.Net.Api.Types.Group; @@ -36,242 +39,58 @@ namespace Redmine.Net.Api /// /// The main class to access Redmine API. /// - public class RedmineManager : IRedmineManager + public partial class RedmineManager : IRedmineManager { - /// - /// - public const int DEFAULT_PAGE_SIZE_VALUE = 25; - - private static readonly Dictionary Routes = new Dictionary - { - {typeof(Issue), "issues"}, - {typeof(Project), "projects"}, - {typeof(User), "users"}, - {typeof(News), "news"}, - {typeof(Query), "queries"}, - {typeof(Version), "versions"}, - {typeof(Attachment), "attachments"}, - {typeof(IssueRelation), "relations"}, - {typeof(TimeEntry), "time_entries"}, - {typeof(IssueStatus), "issue_statuses"}, - {typeof(Tracker), "trackers"}, - {typeof(IssueCategory), "issue_categories"}, - {typeof(Role), "roles"}, - {typeof(ProjectMembership), "memberships"}, - {typeof(Group), "groups"}, - {typeof(TimeEntryActivity), "enumerations/time_entry_activities"}, - {typeof(IssuePriority), "enumerations/issue_priorities"}, - {typeof(Watcher), "watchers"}, - {typeof(IssueCustomField), "custom_fields"}, - {typeof(CustomField), "custom_fields"}, - {typeof(Search), "search"}, - {typeof(Journal), "journals"} - }; - - /// - /// - /// - public static readonly Dictionary TypesWithOffset = new Dictionary{ - {typeof(Issue), true}, - {typeof(Project), true}, - {typeof(User), true}, - {typeof(News), true}, - {typeof(Query), true}, - {typeof(TimeEntry), true}, - {typeof(ProjectMembership), true}, - {typeof(Search), true} - }; - - private readonly string basicAuthorization; - private readonly CredentialCache cache; - private string host; + private readonly RedmineManagerOptions _redmineManagerOptions; internal IRedmineSerializer Serializer { get; } - + internal RedmineApiUrls RedmineApiUrls { get; } + internal IRedmineApiClient ApiClient { get; } + /// - /// Initializes a new instance of the class. + /// /// - /// The host. - /// The MIME format. - /// if set to true [verify server cert]. - /// The proxy. - /// Use this parameter to specify a SecurityProtcolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. - /// http or https. Default is https. - /// The webclient timeout. Default is 100 seconds. - /// - /// Host is not defined! - /// or - /// The host is not valid! - /// - public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool verifyServerCert = true, - IWebProxy proxy = null, SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) + /// + /// + public RedmineManager(RedmineManagerOptionsBuilder optionsBuilder) { - if (host.IsNullOrWhiteSpace()) + #if NET5_0_OR_GREATER + ArgumentNullException.ThrowIfNull(optionsBuilder); + #else + if (optionsBuilder == null) { - throw new RedmineException("Host is not defined!"); + throw new ArgumentNullException(nameof(optionsBuilder)); } - - PageSize = 25; - Scheme = scheme; - Host = host; - MimeFormat = mimeFormat; - Timeout = timeout; - Proxy = proxy; - - if (mimeFormat == MimeFormat.Xml) - { - Format = "xml"; - Serializer = new XmlRedmineSerializer(); - } - else - { - Format = "json"; - Serializer = new JsonRedmineSerializer(); - } - - if (securityProtocolType == default) + #endif + _redmineManagerOptions = optionsBuilder.Build(); + if (_redmineManagerOptions.VerifyServerCert) { - securityProtocolType = ServicePointManager.SecurityProtocol; + _redmineManagerOptions.ClientOptions.ServerCertificateValidationCallback = RemoteCertValidate; } - SecurityProtocolType = securityProtocolType; - - ServicePointManager.SecurityProtocol = securityProtocolType; - - if (!verifyServerCert) + Serializer = _redmineManagerOptions.Serializer; + + Host = _redmineManagerOptions.BaseAddress.ToString(); + PageSize = _redmineManagerOptions.PageSize; + Format = Serializer.Format; + Scheme = _redmineManagerOptions.BaseAddress.Scheme; + Proxy = _redmineManagerOptions.ClientOptions.Proxy; + Timeout = _redmineManagerOptions.ClientOptions.Timeout; + MimeFormat = "xml".Equals(Serializer.Format, StringComparison.OrdinalIgnoreCase) ? MimeFormat.Xml : MimeFormat.Json; + + _redmineManagerOptions.ClientOptions.SecurityProtocolType ??= ServicePointManager.SecurityProtocol; + + SecurityProtocolType = _redmineManagerOptions.ClientOptions.SecurityProtocolType.Value; + + if (_redmineManagerOptions.Authentication is RedmineApiKeyAuthentication) { - ServicePointManager.ServerCertificateValidationCallback += RemoteCertValidate; + ApiKey = _redmineManagerOptions.Authentication.Token; } + + RedmineApiUrls = new RedmineApiUrls(Serializer.Format); + ApiClient = new RedmineApiClient(_redmineManagerOptions); } - - /// - /// Initializes a new instance of the class. - /// Most of the time, the API requires authentication. To enable the API-style authentication, you have to check Enable - /// REST API in Administration -> Settings -> Authentication. Then, authentication can be done in 2 different - /// ways: - /// using your regular login/password via HTTP Basic authentication. - /// using your API key which is a handy way to avoid putting a password in a script. The API key may be attached to - /// each request in one of the following way: - /// passed in as a "key" parameter - /// passed in as a username with a random password via HTTP Basic authentication - /// passed in as a "X-Redmine-API-Key" HTTP header (added in Redmine 1.1.0) - /// You can find your API key on your account page ( /my/account ) when logged in, on the right-hand pane of the - /// default layout. - /// - /// The host. - /// The API key. - /// The MIME format. - /// if set to true [verify server cert]. - /// The proxy. - /// Use this parameter to specify a SecurityProtcolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. - /// - /// The webclient timeout. Default is 100 seconds. - public RedmineManager(string host, string apiKey, MimeFormat mimeFormat = MimeFormat.Xml, - bool verifyServerCert = true, IWebProxy proxy = null, - SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) - : this(host, mimeFormat, verifyServerCert, proxy, securityProtocolType, scheme, timeout: timeout) - { - ApiKey = apiKey; - } - - /// - /// Initializes a new instance of the class. - /// Most of the time, the API requires authentication. To enable the API-style authentication, you have to check Enable - /// REST API in Administration -> Settings -> Authentication. Then, authentication can be done in 2 different - /// ways: - /// using your regular login/password via HTTP Basic authentication. - /// using your API key which is a handy way to avoid putting a password in a script. The API key may be attached to - /// each request in one of the following way: - /// passed in as a "key" parameter - /// passed in as a username with a random password via HTTP Basic authentication - /// passed in as a "X-Redmine-API-Key" HTTP header (added in Redmine 1.1.0) - /// You can find your API key on your account page ( /my/account ) when logged in, on the right-hand pane of the - /// default layout. - /// - /// The host. - /// The login. - /// The password. - /// The MIME format. - /// if set to true [verify server cert]. - /// The proxy. - /// Use this parameter to specify a SecurityProtcolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. - /// - /// The webclient timeout. Default is 100 seconds. - public RedmineManager(string host, string login, string password, MimeFormat mimeFormat = MimeFormat.Xml, - bool verifyServerCert = true, IWebProxy proxy = null, - SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) - : this(host, mimeFormat, verifyServerCert, proxy, securityProtocolType, scheme, timeout: timeout) - - { - cache = new CredentialCache { { new Uri(host), "Basic", new NetworkCredential(login, password) } }; - - var token = Convert.ToBase64String(Encoding.UTF8.GetBytes(string.Format(CultureInfo.InvariantCulture, "{0}:{1}", login, password))); - basicAuthorization = string.Format(CultureInfo.InvariantCulture, "Basic {0}", token); - } - - /// - /// Gets the suffixes. - /// - /// - /// The suffixes. - /// - public static Dictionary Suffixes => Routes; - - /// - /// - /// - public string Format { get; } - - /// - /// - /// - public string Scheme { get; private set; } - /// - /// - /// - public TimeSpan? Timeout { get; private set; } - - /// - /// Gets the host. - /// - /// - /// The host. - /// - public string Host - { - get => host; - private set - { - host = value; - - if (Uri.TryCreate(host, UriKind.Absolute, out Uri uriResult) && - (uriResult.Scheme == Uri.UriSchemeHttp || uriResult.Scheme == Uri.UriSchemeHttps)) - { - if (Scheme.IsNullOrWhiteSpace()) - { - Scheme = uriResult.Scheme; - } - - return; - } - - host = $"{Scheme ?? "https"}://{host}"; - - if (!Uri.TryCreate(host, UriKind.Absolute, out uriResult)) throw new RedmineException("The host is not valid!"); - - Scheme = uriResult.Scheme; - } - } - - /// - /// The ApiKey used to authenticate. - /// - /// - /// The API key. - /// - public string ApiKey { get; } - /// /// Maximum page-size when retrieving complete object lists /// @@ -284,7 +103,7 @@ private set /// The size of the page. /// public int PageSize { get; set; } - + /// /// As of Redmine 2.2.0 you can impersonate user setting user login (eg. jsmith). This only works when using the API /// with an administrator account, this header will be ignored when using the API with a regular user account. @@ -294,191 +113,19 @@ private set /// public string ImpersonateUser { get; set; } - /// - /// Gets the MIME format. - /// - /// - /// The MIME format. - /// - public MimeFormat MimeFormat { get; } - - /// - /// Gets the proxy. - /// - /// - /// The proxy. - /// - public IWebProxy Proxy { get; } - - /// - /// Gets the type of the security protocol. - /// - /// - /// The type of the security protocol. - /// - public SecurityProtocolType SecurityProtocolType { get; } - - /// - /// Returns the user whose credentials are used to access the API. - /// - /// The accepted parameters are: memberships and groups (added in 2.1). - /// - /// - /// An error occurred during deserialization. The original exception is available - /// using the System.Exception.InnerException property. - /// - public User GetCurrentUser(NameValueCollection parameters = null) - { - var url = UrlHelper.GetCurrentUserUrl(this); - return WebApiHelper.ExecuteDownload(this, url, parameters); - } - - /// - /// - /// - /// Returns the my account details. - public MyAccount GetMyAccount() - { - var url = UrlHelper.GetMyAccountUrl(this); - return WebApiHelper.ExecuteDownload(this, url); - } - - /// - /// Adds the watcher to issue. - /// - /// The issue identifier. - /// The user identifier. - public void AddWatcherToIssue(int issueId, int userId) - { - var url = UrlHelper.GetAddWatcherUrl(this, issueId); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, SerializationHelper.SerializeUserId(userId, MimeFormat)); - } - - /// - /// Removes the watcher from issue. - /// - /// The issue identifier. - /// The user identifier. - public void RemoveWatcherFromIssue(int issueId, int userId) - { - var url = UrlHelper.GetRemoveWatcherUrl(this, issueId, userId); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty); - } - - /// - /// Adds an existing user to a group. - /// - /// The group id. - /// The user id. - public void AddUserToGroup(int groupId, int userId) - { - var url = UrlHelper.GetAddUserToGroupUrl(this, groupId); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, SerializationHelper.SerializeUserId(userId, MimeFormat)); - } - - /// - /// Removes an user from a group. - /// - /// The group id. - /// The user id. - public void RemoveUserFromGroup(int groupId, int userId) - { - var url = UrlHelper.GetRemoveUserFromGroupUrl(this, groupId, userId); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty); - } - - /// - /// Creates or updates a wiki page. - /// - /// The project id or identifier. - /// The wiki page name. - /// The wiki page to create or update. - /// - public void UpdateWikiPage(string projectId, string pageName, WikiPage wikiPage) - { - var result = Serializer.Serialize(wikiPage); - - if (string.IsNullOrEmpty(result)) - { - return; - } - - var url = UrlHelper.GetWikiCreateOrUpdaterUrl(this, projectId, pageName); - - url = Uri.EscapeUriString(url); - - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, result); - } - /// /// /// - /// - /// - /// - /// - public WikiPage CreateWikiPage(string projectId, string pageName, WikiPage wikiPage) - { - var result = Serializer.Serialize(wikiPage); - - if (string.IsNullOrEmpty(result)) - { - return null; - } - - var url = UrlHelper.GetWikiCreateOrUpdaterUrl(this, projectId, pageName); - - url = Uri.EscapeUriString(url); - - return WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, result); - } - - /// - /// Gets the wiki page. - /// - /// The project identifier. - /// The parameters. - /// Name of the page. - /// The version. - /// - public WikiPage GetWikiPage(string projectId, NameValueCollection parameters, string pageName, uint version = 0) - { - var url = UrlHelper.GetWikiPageUrl(this, projectId, pageName, version); - - url = Uri.EscapeUriString(url); - - return WebApiHelper.ExecuteDownload(this, url, parameters); - } - - /// - /// Returns the list of all pages in a project wiki. - /// - /// The project id or identifier. + /// + /// /// - public List GetAllWikiPages(string projectId) - { - var url = UrlHelper.GetWikisUrl(this, projectId); - - var result = WebApiHelper.ExecuteDownloadList(this, url); - - return result == null ? null : new List(result.Items); - } - - /// - /// Deletes a wiki page, its attachments and its history. If the deleted page is a parent page, its child pages are not - /// deleted but changed as root pages. - /// - /// The project id or identifier. - /// The wiki page name. - public void DeleteWikiPage(string projectId, string pageName) + public int Count(params string[] include) where T : class, new() { - var url = UrlHelper.GetDeleteWikiUrl(this, projectId, pageName); + var parameters = NameValueCollectionExtensions.AddParamsIfExist(null, include); - url = Uri.EscapeUriString(url); - - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty); + return Count(parameters); } - + /// /// /// @@ -487,28 +134,17 @@ public void DeleteWikiPage(string projectId, string pageName) /// public int Count(NameValueCollection parameters) where T : class, new() { - int totalCount = 0, pageSize = 1, offset = 0; - - if (parameters == null) - { - parameters = new NameValueCollection(); - } - - parameters.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); - parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); + var totalCount = 0; + const int PAGE_SIZE = 1; + const int OFFSET = 0; - try - { - var tempResult = GetPaginatedObjects(parameters); + parameters.AddPagingParameters(PAGE_SIZE, OFFSET); + + var tempResult = GetPaginatedObjects(parameters); - if (tempResult != null) - { - totalCount = tempResult.TotalItems; - } - } - catch (WebException wex) + if (tempResult != null) { - wex.HandleWebException(Serializer); + totalCount = tempResult.TotalItems; } return totalCount; @@ -523,87 +159,48 @@ public void DeleteWikiPage(string projectId, string pageName) /// /// Returns the object of type T. /// - /// - /// An error occurred during deserialization. The original exception is available - /// using the System.Exception.InnerException property. - /// /// /// /// string issueId = "927"; /// NameValueCollection parameters = null; /// Issue issue = redmineManager.GetObject<Issue>(issueId, parameters); - /// + /// /// public T GetObject(string id, NameValueCollection parameters) where T : class, new() { - var url = UrlHelper.GetGetUrl(this, id); - return WebApiHelper.ExecuteDownload(this, url, parameters); - } - - /// - /// Gets the paginated objects. - /// - /// - /// The parameters. - /// - public PagedResults GetPaginatedObjects(NameValueCollection parameters) where T : class, new() - { - var url = UrlHelper.GetListUrl(this, parameters); - return WebApiHelper.ExecuteDownloadList(this, url, parameters); - } - - /// - /// - /// - /// - /// - /// - public int Count(params string[] include) where T : class, new() - { - var parameters = new NameValueCollection(); - - if (include != null && include.Length > 0) - { - parameters.Add(RedmineKeys.INCLUDE, string.Join(",", include)); - } + var url = RedmineApiUrls.GetFragment(id); - return Count(parameters); + var response = ApiClient.Get(url, parameters != null ? new RequestOptions { QueryString = parameters } : null); + + return response.DeserializeTo(Serializer); } /// /// Returns the complete list of objects. /// /// - /// The page size. - /// The offset. /// Optional fetched data. /// /// Optional fetched data: - /// Project: trackers, issue_categories, enabled_modules (since 2.6.0) - /// Issue: children, attachments, relations, changesets, journals, watchers - Since 2.3.0 - /// Users: memberships, groups (added in 2.1) + /// Project: trackers, issue_categories, enabled_modules (since Redmine 2.6.0) + /// Issue: children, attachments, relations, changesets, journals, watchers (since Redmine 2.3.0) + /// Users: memberships, groups (since Redmine 2.1) /// Groups: users, memberships /// /// Returns the complete list of objects. - public List GetObjects(int limit, int offset, params string[] include) where T : class, new() + public List GetObjects(params string[] include) where T : class, new() { - var parameters = new NameValueCollection(); - - parameters.Add(RedmineKeys.LIMIT, limit.ToString(CultureInfo.InvariantCulture)); - parameters.Add(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); - - if (include != null && include.Length > 0) - { - parameters.Add(RedmineKeys.INCLUDE, string.Join(",", include)); - } + var parameters = NameValueCollectionExtensions.AddParamsIfExist(null, include); return GetObjects(parameters); } - + /// /// Returns the complete list of objects. /// /// + /// The page size. + /// The offset. /// Optional fetched data. /// /// Optional fetched data: @@ -613,14 +210,11 @@ public void DeleteWikiPage(string projectId, string pageName) /// Groups: users, memberships /// /// Returns the complete list of objects. - public List GetObjects(params string[] include) where T : class, new() + public List GetObjects(int limit, int offset, params string[] include) where T : class, new() { - var parameters = new NameValueCollection(); - - if (include != null && include.Length > 0) - { - parameters.Add(RedmineKeys.INCLUDE, string.Join(",", include)); - } + var parameters = NameValueCollectionExtensions + .AddParamsIfExist(null, include) + .AddPagingParameters(limit, offset); return GetObjects(parameters); } @@ -633,100 +227,134 @@ public void DeleteWikiPage(string projectId, string pageName) /// /// Returns a complete list of objects. /// - public List GetObjects(NameValueCollection parameters) where T : class, new() + public List GetObjects(NameValueCollection parameters = null) where T : class, new() + { + var uri = RedmineApiUrls.GetListFragment(); + + return GetObjects(uri, parameters != null ? new RequestOptions { QueryString = parameters } : null); + } + + /// + /// + /// + /// + /// + /// + /// + internal List GetObjects(string uri, RequestOptions requestOptions = null) where T : class, new() { int pageSize = 0, offset = 0; var isLimitSet = false; List resultList = null; - if (parameters == null) + requestOptions ??= new RequestOptions(); + + if (requestOptions.QueryString == null) { - parameters = new NameValueCollection(); + requestOptions.QueryString = new NameValueCollection(); } else { - isLimitSet = int.TryParse(parameters[RedmineKeys.LIMIT], out pageSize); - int.TryParse(parameters[RedmineKeys.OFFSET], out offset); + isLimitSet = int.TryParse(requestOptions.QueryString[RedmineKeys.LIMIT], out pageSize); + int.TryParse(requestOptions.QueryString[RedmineKeys.OFFSET], out offset); } + if (pageSize == default) { - pageSize = PageSize > 0 ? PageSize : DEFAULT_PAGE_SIZE_VALUE; - parameters.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); + pageSize = _redmineManagerOptions.PageSize > 0 ? _redmineManagerOptions.PageSize : RedmineConstants.DEFAULT_PAGE_SIZE_VALUE; + requestOptions.QueryString.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); } - - try + + var hasOffset = TypesWithOffset.ContainsKey(typeof(T)); + if (hasOffset) { - var hasOffset = TypesWithOffset.ContainsKey(typeof(T)); - if (hasOffset) + int totalCount; + do { - var totalCount = 0; - do - { - parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); + requestOptions.QueryString.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); - var tempResult = GetPaginatedObjects(parameters); + var tempResult = GetPaginatedObjects(uri, requestOptions); - totalCount = isLimitSet ? pageSize : tempResult.TotalItems; + totalCount = isLimitSet ? pageSize : tempResult.TotalItems; - if (tempResult?.Items != null) + if (tempResult?.Items != null) + { + if (resultList == null) { - if (resultList == null) - { - resultList = new List(tempResult.Items); - } - else - { - resultList.AddRange(tempResult.Items); - } + resultList = new List(tempResult.Items); + } + else + { + resultList.AddRange(tempResult.Items); } - - offset += pageSize; - } - while (offset < totalCount); - } - else - { - var result = GetPaginatedObjects(parameters); - if (result?.Items != null) - { - return new List(result.Items); } + + offset += pageSize; } + while (offset < totalCount); } - catch (WebException wex) + else { - wex.HandleWebException(Serializer); + var result = GetPaginatedObjects(uri, requestOptions); + if (result?.Items != null) + { + return new List(result.Items); + } } + return resultList; } + + /// + /// Gets the paginated objects. + /// + /// + /// The parameters. + /// + public PagedResults GetPaginatedObjects(NameValueCollection parameters) where T : class, new() + { + var url = RedmineApiUrls.GetListFragment(); + + return GetPaginatedObjects(url, parameters != null ? new RequestOptions { QueryString = parameters } : null); + } + + /// + /// + /// + /// + /// + /// + /// + internal PagedResults GetPaginatedObjects(string uri = null, RequestOptions requestOptions = null) where T : class, new() + { + uri = uri.IsNullOrWhiteSpace() ? RedmineApiUrls.GetListFragment() : uri; + + var response= ApiClient.Get(uri, requestOptions); + + return response.DeserializeToPagedResults(Serializer); + } /// /// Creates a new Redmine object. /// /// The type of object to create. - /// The object to create. + /// The object to create. /// /// - /// - /// - /// - /// - /// - /// /// /// When trying to create an object with invalid or missing attribute parameters, you will get a 422 Unprocessable /// Entity response. That means that the object could not be created. /// - public T CreateObject(T obj) where T : class, new() + public T CreateObject(T entity) where T : class, new() { - return CreateObject(obj, null); + return CreateObject(entity, null); } /// /// Creates a new Redmine object. /// /// The type of object to create. - /// The object to create. + /// The object to create. /// The owner identifier. /// /// @@ -743,13 +371,15 @@ public void DeleteWikiPage(string projectId, string pageName) /// redmineManager.CreateObject(project); /// /// - public T CreateObject(T obj, string ownerId) where T : class, new() + public T CreateObject(T entity, string ownerId) where T : class, new() { - var url = UrlHelper.GetCreateUrl(this, ownerId); + var url = RedmineApiUrls.CreateEntityFragment(ownerId); - var data = Serializer.Serialize(obj); + var payload = Serializer.Serialize(entity); + + var response = ApiClient.Create(url, payload); - return WebApiHelper.ExecuteUpload(this, url, HttpVerbs.POST, data); + return response.DeserializeTo(Serializer); } /// @@ -757,40 +387,22 @@ public void DeleteWikiPage(string projectId, string pageName) /// /// The type of object to be update. /// The id of the object to be update. - /// The object to be update. - /// - /// - /// When trying to update an object with invalid or missing attribute parameters, you will get a 422(RedmineException) - /// Unprocessable Entity response. That means that the object could not be updated. - /// - /// - public void UpdateObject(string id, T obj) where T : class, new() - { - UpdateObject(id, obj, null); - } - - /// - /// Updates a Redmine object. - /// - /// The type of object to be update. - /// The id of the object to be update. - /// The object to be update. + /// The object to be update. /// The project identifier. /// /// /// When trying to update an object with invalid or missing attribute parameters, you will get a /// 422(RedmineException) Unprocessable Entity response. That means that the object could not be updated. /// - /// - public void UpdateObject(string id, T obj, string projectId) where T : class, new() + /// + /// + public void UpdateObject(string id, T entity, string projectId = null) where T : class, new() { - var url = UrlHelper.GetUploadUrl(this, id); - - var data = Serializer.Serialize(obj); - - data = Regex.Replace(data, @"\r\n|\r|\n", "\r\n"); + var url = RedmineApiUrls.UpdateFragment(id); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.PUT, data); + var payload = Serializer.Serialize(entity); + + ApiClient.Update(url, payload); } /// @@ -803,8 +415,9 @@ public void DeleteWikiPage(string projectId, string pageName) /// public void DeleteObject(string id, NameValueCollection parameters = null) where T : class, new() { - var url = UrlHelper.GetDeleteUrl(this, id); - WebApiHelper.ExecuteUpload(this, url, HttpVerbs.DELETE, string.Empty, parameters); + var url = RedmineApiUrls.DeleteFragment(id); + + ApiClient.Delete(url, parameters != null ? new RequestOptions { QueryString = parameters } : null); } /// @@ -816,173 +429,25 @@ public void DeleteWikiPage(string projectId, string pageName) /// Returns the token for uploaded file. /// /// - /// - /// - /// - /// - /// - /// public Upload UploadFile(byte[] data) { - var url = UrlHelper.GetUploadFileUrl(this); - return WebApiHelper.ExecuteUploadFile(this, url, data); - } - - /// - /// Updates the attachment. - /// - /// The issue identifier. - /// The attachment. - public void UpdateAttachment(int issueId, Attachment attachment) - { - var address = UrlHelper.GetAttachmentUpdateUrl(this, issueId); - - var attachments = new Attachments { { attachment.Id, attachment } }; + var url = RedmineApiUrls.UploadFragment(); - var data = Serializer.Serialize(attachments); - - WebApiHelper.ExecuteUpload(this, address, HttpVerbs.PATCH, data); + var response = ApiClient.Upload(url, data); + + return response.DeserializeTo(Serializer); } /// - /// Downloads the file. + /// Downloads a file from the specified address. /// /// The address. - /// + /// The content of the downloaded file as a byte array. /// - /// - /// - /// - /// - /// - /// - /// public byte[] DownloadFile(string address) { - return WebApiHelper.ExecuteDownloadFile(this, address); - } - - - /// - /// - /// - /// query strings. enable to specify multiple values separated by a space " ". - /// number of results in response. - /// skip this number of results in response - /// Optional filters. - /// - /// Returns the search results by the specified condition parameters. - /// - /// - public PagedResults Search(string q, int limit = DEFAULT_PAGE_SIZE_VALUE, int offset = 0, SearchFilterBuilder searchFilter = null) - { - if (q.IsNullOrWhiteSpace()) - { - throw new ArgumentNullException(nameof(q)); - } - - var parameters = new NameValueCollection - { - {RedmineKeys.Q, q}, - {RedmineKeys.LIMIT, limit.ToString(CultureInfo.InvariantCulture)}, - {RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)}, - }; - - if (searchFilter != null) - { - parameters = searchFilter.Build(parameters); - } - - var result = GetPaginatedObjects(parameters); - - return result; - } - - private const string UA = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1"; - - /// - /// Creates the Redmine web client. - /// - /// The parameters. - /// if set to true [upload file]. - /// - /// - public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, bool uploadFile = false) - { - var webClient = new RedmineWebClient { Scheme = Scheme, RedmineSerializer = Serializer}; - webClient.UserAgent = UA; - webClient.Timeout = Timeout; - if (!uploadFile) - { - webClient.Headers.Add(HttpRequestHeader.ContentType, - MimeFormat is MimeFormat.Xml ? "application/xml" : "application/json"); - webClient.Encoding = Encoding.UTF8; - } - else - { - webClient.Headers.Add(HttpRequestHeader.ContentType, "application/octet-stream"); - } - - if (parameters != null) - { - webClient.QueryString = parameters; - } - - if (!string.IsNullOrEmpty(ApiKey)) - { - webClient.QueryString[RedmineKeys.KEY] = ApiKey; - } - else - { - if (cache != null) - { - webClient.PreAuthenticate = true; - webClient.Credentials = cache; - webClient.Headers[HttpRequestHeader.Authorization] = basicAuthorization; - } - else - { - webClient.UseDefaultCredentials = true; - webClient.Credentials = CredentialCache.DefaultCredentials; - } - } - - if (Proxy != null) - { - Proxy.Credentials = cache; - webClient.Proxy = Proxy; - webClient.UseProxy = true; - } - - if (!string.IsNullOrEmpty(ImpersonateUser)) - { - webClient.Headers.Add("X-Redmine-Switch-User", ImpersonateUser); - } - - return webClient; - } - - /// - /// This is to take care of SSL certification validation which are not issued by Trusted Root CA. - /// - /// The sender. - /// The cert. - /// The chain. - /// The error. - /// - /// - public virtual bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors sslPolicyErrors) - { - const SslPolicyErrors ignoredErrors = - SslPolicyErrors.RemoteCertificateChainErrors | - SslPolicyErrors.RemoteCertificateNameMismatch; - - if ((sslPolicyErrors & ~ignoredErrors) == SslPolicyErrors.None) - { - return true; - } - - return false; + var response = ApiClient.Download(address); + return response.Content; } } } \ No newline at end of file From 0789fb2dba954d67fe85c3f918ccd497f43c45ae Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:53:16 +0200 Subject: [PATCH 373/601] [New] Directory.Build.props --- Directory.Build.props | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index d0f44311..2f24981b 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,29 +2,6 @@ - - Adrian Popescu - Redmine Api is a .NET rest client for Redmine. - p.adi - Adrian Popescu, 2011 - $([System.DateTime]::Now.Year.ToString()) - en-US - - redmine-api - redmine-api-signed - https://raw.githubusercontent.com/zapadi/redmine-net-api/master/logo.png - logo.png - LICENSE - Apache-2.0 - https://github.com/zapadi/redmine-net-api - true - Redmine; REST; API; Client; .NET; Adrian Popescu; - Redmine .NET API Client - git - https://github.com/zapadi/redmine-net-api - ... - Redmine .NET API Client - - 11 strict From f164975de99c73d52859b73125306a4a251f57e5 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:54:10 +0200 Subject: [PATCH 374/601] [Csproj] Update --- src/redmine-net-api/redmine-net-api.csproj | 35 ++++++++++++++++++++-- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index d6eff592..7bd68c94 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -6,7 +6,7 @@ redmine-net-api net20;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;net481;net60;net70; false - False + True true TRACE Debug;Release;DebugJson @@ -38,6 +38,28 @@ + + Adrian Popescu + Redmine Api is a .NET rest client for Redmine. + p.adi + Adrian Popescu, 2011 - $([System.DateTime]::Now.Year.ToString()) + en-US + redmine-api + redmine-api-signed + https://raw.githubusercontent.com/zapadi/redmine-net-api/master/logo.png + logo.png + LICENSE + Apache-2.0 + https://github.com/zapadi/redmine-net-api + README.md + true + Redmine; REST; API; Client; .NET; Adrian Popescu; + Redmine .NET API Client + git + https://github.com/zapadi/redmine-net-api + Redmine .NET API Client + + @@ -59,10 +81,17 @@ + - - + + + <_Parameter1>Padi.DotNet.RedmineAPI.Tests + + + + + \ No newline at end of file From 2bfe7ed796de7342556330fdf2cf5e401ec7b714 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:55:05 +0200 Subject: [PATCH 375/601] [RedmineManagerOptionsBuilder] Add Clienttype --- .../RedmineManagerOptionsBuilder.cs | 224 +++++++++++++++--- 1 file changed, 196 insertions(+), 28 deletions(-) diff --git a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs index e4e1357e..56a2d195 100644 --- a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs +++ b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs @@ -1,6 +1,10 @@ using System; +using System.Net; using System.Xml.Serialization; using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Net.WebClient; using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api @@ -10,6 +14,12 @@ namespace Redmine.Net.Api /// public sealed class RedmineManagerOptionsBuilder { + private enum ClientType + { + None, + WebClient, + } + private ClientType _clientType = ClientType.None; /// /// @@ -32,24 +42,26 @@ public RedmineManagerOptionsBuilder WithPageSize(int pageSize) /// /// /// - public RedmineManagerOptionsBuilder WithBaseAddress(string baseAddress) + public RedmineManagerOptionsBuilder WithHost(string baseAddress) { - return WithBaseAddress(new Uri(baseAddress)); + this.Host = baseAddress; + return this; } /// /// /// - public Uri BaseAddress { get; private set; } + public string Host { get; private set; } + /// /// /// - /// + /// /// - public RedmineManagerOptionsBuilder WithBaseAddress(Uri baseAddress) + internal RedmineManagerOptionsBuilder WithSerializationType(MimeFormat mimeFormat) { - this.BaseAddress = baseAddress; + this.SerializationType = mimeFormat == MimeFormat.Xml ? SerializationType.Xml : SerializationType.Json; return this; } @@ -90,8 +102,17 @@ public RedmineManagerOptionsBuilder WithAuthentication(IRedmineAuthentication au /// /// /// - public RedmineManagerOptionsBuilder WithClient(Func clientFunc) + public RedmineManagerOptionsBuilder WithWebClient(Func clientFunc) { + if (clientFunc != null) + { + _clientType = ClientType.WebClient; + } + + if (clientFunc == null && _clientType == ClientType.WebClient) + { + _clientType = ClientType.None; + } this.ClientFunc = clientFunc; return this; } @@ -99,7 +120,7 @@ public RedmineManagerOptionsBuilder WithClient(Func clientFun /// /// /// - public Func ClientFunc { get; private set; } + public Func ClientFunc { get; private set; } /// /// @@ -150,38 +171,185 @@ internal RedmineManagerOptionsBuilder WithVerifyServerCert(bool verifyServerCert /// internal RedmineManagerOptions Build() { - if (Authentication == null) - { - throw new RedmineException("Authentication cannot be null"); - } + ClientOptions ??= new RedmineWebClientOptions(); + + var baseAddress = CreateRedmineUri(Host, ClientOptions.Scheme); var options = new RedmineManagerOptions() { - PageSize = PageSize > 0 ? PageSize : RedmineManager.DEFAULT_PAGE_SIZE_VALUE, + BaseAddress = baseAddress, + PageSize = PageSize > 0 ? PageSize : RedmineConstants.DEFAULT_PAGE_SIZE_VALUE, VerifyServerCert = VerifyServerCert, - Serializer = SerializationType == SerializationType.Xml ? new XmlRedmineSerializer() : new JsonRedmineSerializer(), - Version = Version, - //Authentication = - ClientOptions = ClientOptions, - + Serializer = RedmineSerializerFactory.CreateSerializer(SerializationType), + RedmineVersion = Version, + Authentication = Authentication, + ClientOptions = ClientOptions }; - return options; } - /// - /// - /// - /// - /// - /// - public static bool TryParse(string serviceName, out string parts) + internal static void EnsureDomainNameIsValid(string domainName) { - parts = null; - return false; + if (domainName.IsNullOrWhiteSpace()) + { + throw new RedmineException("Domain name cannot be null or empty."); + } + + if (domainName.Length > 255) + { + throw new RedmineException("Domain name cannot be longer than 255 characters."); + } + + var labels = domainName.Split('.'); + if (labels.Length == 1) + { + throw new RedmineException("Domain name is not valid."); + } + foreach (var label in labels) + { + if (label.IsNullOrWhiteSpace() || label.Length > 63) + { + throw new RedmineException("Domain name must be between 1 and 63 characters."); + } + + if (!char.IsLetterOrDigit(label[0]) || !char.IsLetterOrDigit(label[label.Length - 1])) + { + throw new RedmineException("Domain name starts or ends with a hyphen."); + } + + for (var i = 0; i < label.Length; i++) + { + var c = label[i]; + + if (!char.IsLetterOrDigit(c) && c != '-') + { + throw new RedmineException("Domain name contains an invalid character."); + } + + if (c != '-') + { + continue; + } + + if (i + 1 < label.Length && (c ^ label[i+1]) == 0) + { + throw new RedmineException("Domain name contains consecutive hyphens."); + } + } + } } + internal static Uri CreateRedmineUri(string host, string scheme = null) + { + if (host.IsNullOrWhiteSpace() || host.Equals("string.Empty", StringComparison.OrdinalIgnoreCase)) + { + throw new RedmineException("The host is null or empty."); + } + + if (!Uri.TryCreate(host, UriKind.Absolute, out var uri)) + { + host = host.TrimEnd('/', '\\'); + EnsureDomainNameIsValid(host); + + if (!host.StartsWith(Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) || !host.StartsWith(Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase)) + { + host = $"{scheme ?? Uri.UriSchemeHttps}://{host}"; + + if (!Uri.TryCreate(host, UriKind.Absolute, out uri)) + { + throw new RedmineException("The host is not valid."); + } + } + } + + if (!uri.IsWellFormedOriginalString()) + { + throw new RedmineException("The host is not well-formed."); + } + + scheme ??= Uri.UriSchemeHttps; + var hasScheme = false; + if (!uri.Scheme.IsNullOrWhiteSpace()) + { + if (uri.Host.IsNullOrWhiteSpace() && uri.IsAbsoluteUri && !uri.IsFile) + { + if (uri.Scheme.Equals("localhost", StringComparison.OrdinalIgnoreCase)) + { + int port = 0; + var portAsString = uri.AbsolutePath.RemoveTrailingSlash(); + if (!portAsString.IsNullOrWhiteSpace()) + { + int.TryParse(portAsString, out port); + } + + var ub = new UriBuilder(scheme, "localhost", port); + return ub.Uri; + } + } + else + { + if (!IsSchemaHttpOrHttps(uri.Scheme)) + { + throw new RedmineException("Invalid host scheme. Only HTTP and HTTPS are supported."); + } + + hasScheme = true; + } + } + else + { + + if (!IsSchemaHttpOrHttps(scheme)) + { + throw new RedmineException("Invalid host scheme. Only HTTP and HTTPS are supported."); + } + } + + var uriBuilder = new UriBuilder(); + + if (uri.HostNameType == UriHostNameType.IPv6) + { + uriBuilder.Scheme = (hasScheme ? uri.Scheme : scheme ?? Uri.UriSchemeHttps); + uriBuilder.Host = uri.Host; + } + else + { + if (uri.Authority.IsNullOrWhiteSpace()) + { + if (uri.Port == -1) + { + if (int.TryParse(uri.LocalPath, out var port)) + { + uriBuilder.Port = port; + } + } + + uriBuilder.Scheme = scheme ?? Uri.UriSchemeHttps; + uriBuilder.Host = uri.Scheme; + } + else + { + uriBuilder.Scheme = uri.Scheme; + uriBuilder.Port = int.TryParse(uri.LocalPath, out var port) ? port : uri.Port; + uriBuilder.Host = uri.Host; + } + } + + try + { + return uriBuilder.Uri; + } + catch (Exception ex) + { + throw new RedmineException(ex.Message); + } + } + + private static bool IsSchemaHttpOrHttps(string scheme) + { + return scheme == Uri.UriSchemeHttp || scheme == Uri.UriSchemeHttps; + } } } \ No newline at end of file From 27219557a2892da8b53f2ab7280c90f9e3c7547d Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:57:24 +0200 Subject: [PATCH 376/601] [RemineManagerExtensions] Add extensions --- .../Extensions/RedmineManagerExtensions.cs | 850 +++++++++++++++++- 1 file changed, 814 insertions(+), 36 deletions(-) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index 987bc928..cdba6637 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -1,11 +1,16 @@ using System; +using System.Collections.Generic; using System.Collections.Specialized; using System.Globalization; +using System.Net; +#if !(NET20) +using System.Threading; +using System.Threading.Tasks; +#endif using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Net; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; -using Version = Redmine.Net.Api.Types.Version; namespace Redmine.Net.Api.Extensions { @@ -14,38 +19,33 @@ namespace Redmine.Net.Api.Extensions /// public static class RedmineManagerExtensions { - /// + /// /// /// /// /// - /// + /// /// - public static PagedResults GetProjectNews(this RedmineManager redmineManager, string projectIdentifier, NameValueCollection nameValueCollection) + public static PagedResults GetProjectNews(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null) { - if (projectIdentifier.IsNullOrWhiteSpace()) - { - throw new RedmineException("Argument 'projectIdentifier' is null"); - } - - return WebApiHelper.ExecuteDownloadList(redmineManager, Uri.EscapeUriString($"{redmineManager.Host}/project/{projectIdentifier}/news.{redmineManager.Format}"), nameValueCollection); + var uri = Uri.EscapeDataString(redmineManager.RedmineApiUrls.ProjectNews(projectIdentifier)); + + var response = redmineManager.GetPaginatedObjects(uri, requestOptions); + + return response; } - + /// /// /// /// /// /// + /// /// /// - public static News AddProjectNews(this RedmineManager redmineManager, string projectIdentifier, News news) + public static News AddProjectNews(this RedmineManager redmineManager, string projectIdentifier, News news, RequestOptions requestOptions = null) { - if (projectIdentifier.IsNullOrWhiteSpace()) - { - throw new RedmineException("Argument 'projectIdentifier' is null"); - } - if (news == null) { throw new RedmineException("Argument news is null"); @@ -53,48 +53,826 @@ public static News AddProjectNews(this RedmineManager redmineManager, string pro if (news.Title.IsNullOrWhiteSpace()) { - throw new RedmineException("Title cannot be blank"); + throw new RedmineException("News title cannot be blank"); } - - var data = redmineManager.Serializer.Serialize(news); - - return WebApiHelper.ExecuteUpload(redmineManager, Uri.EscapeUriString($"{redmineManager.Host}/project/{projectIdentifier}/news.{redmineManager.Format}"), HttpVerbs.POST, data); + + var uri = Uri.EscapeDataString(redmineManager.RedmineApiUrls.ProjectNews(projectIdentifier)); + + var payload = redmineManager.Serializer.Serialize(news); + + var response = redmineManager.ApiClient.Create(uri, payload, requestOptions); + + return response.DeserializeTo(redmineManager.Serializer); } - + + /// + /// + /// + /// + /// + /// + /// + /// + public static PagedResults GetProjectMemberships(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null) + { + var uri = redmineManager.RedmineApiUrls.ProjectMemberships(projectIdentifier); + + var response = redmineManager.GetPaginatedObjects(uri, requestOptions); + + return response; + } + /// /// /// /// /// - /// + /// /// /// - public static PagedResults GetProjectMemberships(this RedmineManager redmineManager, string projectIdentifier, NameValueCollection nameValueCollection) + public static PagedResults GetProjectFiles(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null) { - if (projectIdentifier.IsNullOrWhiteSpace()) + var uri = redmineManager.RedmineApiUrls.ProjectFilesFragment(projectIdentifier); + + var response = redmineManager.GetPaginatedObjects(uri, requestOptions); + + return response; + } + + /// + /// Returns the user whose credentials are used to access the API. + /// + /// + /// + /// + public static User GetCurrentUser(this RedmineManager redmineManager, RequestOptions requestOptions = null) + { + var uri = redmineManager.RedmineApiUrls.CurrentUser(); + + var response = redmineManager.ApiClient.Get(uri, requestOptions); + + return response.DeserializeTo(redmineManager.Serializer); + } + + /// + /// + /// + /// Returns the my account details. + public static MyAccount GetMyAccount(this RedmineManager redmineManager, RequestOptions requestOptions = null) + { + var uri = redmineManager.RedmineApiUrls.MyAccount(); + + var response = redmineManager.ApiClient.Get(uri, requestOptions); + + return response.DeserializeTo(redmineManager.Serializer); + } + + /// + /// Adds the watcher to issue. + /// + /// + /// The issue identifier. + /// The user identifier. + /// + public static void AddWatcherToIssue(this RedmineManager redmineManager, int issueId, int userId, RequestOptions requestOptions = null) + { + var uri = redmineManager.RedmineApiUrls.IssueWatcherAdd(issueId.ToString(CultureInfo.InvariantCulture)); + + var payload = SerializationHelper.SerializeUserId(userId, redmineManager.MimeFormat); + + redmineManager.ApiClient.Create(uri, payload, requestOptions); + } + + /// + /// Removes the watcher from issue. + /// + /// + /// The issue identifier. + /// The user identifier. + /// + public static void RemoveWatcherFromIssue(this RedmineManager redmineManager, int issueId, int userId, RequestOptions requestOptions = null) + { + var uri = redmineManager.RedmineApiUrls.IssueWatcherRemove(issueId.ToString(CultureInfo.InvariantCulture), userId.ToString(CultureInfo.InvariantCulture)); + + redmineManager.ApiClient.Delete(uri, requestOptions); + } + + /// + /// Adds an existing user to a group. + /// + /// + /// The group id. + /// The user id. + /// + public static void AddUserToGroup(this RedmineManager redmineManager, int groupId, int userId, RequestOptions requestOptions = null) + { + var uri = redmineManager.RedmineApiUrls.GroupUserAdd(groupId.ToString(CultureInfo.InvariantCulture)); + + var payload = SerializationHelper.SerializeUserId(userId, redmineManager.MimeFormat); + + redmineManager.ApiClient.Create(uri, payload, requestOptions); + } + + /// + /// Removes an user from a group. + /// + /// + /// The group id. + /// The user id. + /// + public static void RemoveUserFromGroup(this RedmineManager redmineManager, int groupId, int userId, RequestOptions requestOptions = null) + { + var uri = redmineManager.RedmineApiUrls.GroupUserRemove(groupId.ToString(CultureInfo.InvariantCulture), userId.ToString(CultureInfo.InvariantCulture)); + + redmineManager.ApiClient.Delete(uri, requestOptions); + } + + /// + /// Creates or updates a wiki page. + /// + /// + /// The project id or identifier. + /// The wiki page name. + /// The wiki page to create or update. + /// + /// + public static void UpdateWikiPage(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage, RequestOptions requestOptions = null) + { + var payload = redmineManager.Serializer.Serialize(wikiPage); + + if (string.IsNullOrEmpty(payload)) { - throw new RedmineException($"Argument '{nameof(projectIdentifier)}' is null"); + return; } + + var uri = redmineManager.RedmineApiUrls.ProjectWikiPageUpdate(projectId, pageName); + + uri = Uri.EscapeDataString(uri); - return WebApiHelper.ExecuteDownloadList(redmineManager, Uri.EscapeUriString($"{redmineManager.Host}/project/{projectIdentifier}/memberships.{redmineManager.Format}"), nameValueCollection); + redmineManager.ApiClient.Patch(uri, payload, requestOptions); + } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static WikiPage CreateWikiPage(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage, RequestOptions requestOptions = null) + { + var payload = redmineManager.Serializer.Serialize(wikiPage); + + if (string.IsNullOrEmpty(payload)) + { + throw new RedmineException("The payload is empty"); + } + + var uri = redmineManager.RedmineApiUrls.ProjectWikiPageUpdate(projectId, pageName); + + uri = Uri.EscapeDataString(uri); + + var response = redmineManager.ApiClient.Create(uri, payload, requestOptions); + + return response.DeserializeTo(redmineManager.Serializer); + } + + /// + /// Gets the wiki page. + /// + /// + /// The project identifier. + /// Name of the page. + /// + /// The version. + /// + public static WikiPage GetWikiPage(this RedmineManager redmineManager, string projectId, string pageName, RequestOptions requestOptions = null, uint version = 0) + { + var uri = version == 0 + ? redmineManager.RedmineApiUrls.ProjectWikiPage(projectId, pageName) + : redmineManager.RedmineApiUrls.ProjectWikiPageVersion(projectId, pageName, version.ToString(CultureInfo.InvariantCulture)); + + uri = Uri.EscapeDataString(uri); + + var response = redmineManager.ApiClient.Get(uri, requestOptions); + + return response.DeserializeTo(redmineManager.Serializer); + } + + /// + /// Returns the list of all pages in a project wiki. + /// + /// + /// The project id or identifier. + /// + /// + public static List GetAllWikiPages(this RedmineManager redmineManager, string projectId, RequestOptions requestOptions = null) + { + var uri = redmineManager.RedmineApiUrls.ProjectWikiIndex(projectId); + + var response = redmineManager.GetObjects(uri, requestOptions); + + return response; + } + + /// + /// Deletes a wiki page, its attachments and its history. If the deleted page is a parent page, its child pages are not + /// deleted but changed as root pages. + /// + /// + /// The project id or identifier. + /// The wiki page name. + /// + public static void DeleteWikiPage(this RedmineManager redmineManager, string projectId, string pageName, RequestOptions requestOptions = null) + { + var uri = redmineManager.RedmineApiUrls.ProjectWikiPageDelete(projectId, pageName); + + uri = Uri.EscapeDataString(uri); + + redmineManager.ApiClient.Delete(uri, requestOptions); + } + + /// + /// Updates the attachment. + /// + /// + /// The issue identifier. + /// The attachment. + /// + public static void UpdateIssueAttachment(this RedmineManager redmineManager, int issueId, Attachment attachment, RequestOptions requestOptions = null) + { + var attachments = new Attachments + { + {attachment.Id, attachment} + }; + + var data = redmineManager.Serializer.Serialize(attachments); + + var uri = redmineManager.RedmineApiUrls.AttachmentUpdate(issueId.ToString(CultureInfo.InvariantCulture)); + + redmineManager.ApiClient.Patch(uri, data, requestOptions); + } + + /// + /// + /// + /// + /// query strings. enable to specify multiple values separated by a space " ". + /// number of results in response. + /// skip this number of results in response + /// Optional filters. + /// + /// + /// Returns the search results by the specified condition parameters. + /// + public static PagedResults Search(this RedmineManager redmineManager, string q, int limit = RedmineConstants.DEFAULT_PAGE_SIZE_VALUE, int offset = 0, SearchFilterBuilder searchFilter = null, string impersonateUserName = null) + { + var parameters = CreateSearchParameters(q, limit, offset, searchFilter); + + var response = redmineManager.GetPaginatedObjects(parameters); + + return response; } + private static NameValueCollection CreateSearchParameters(string q, int limit, int offset, SearchFilterBuilder searchFilter) + { + if (q.IsNullOrWhiteSpace()) + { + throw new ArgumentNullException(nameof(q)); + } + + var parameters = new NameValueCollection + { + {RedmineKeys.Q, q}, + {RedmineKeys.LIMIT, limit.ToString(CultureInfo.InvariantCulture)}, + {RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)}, + }; + + return searchFilter != null ? searchFilter.Build(parameters) : parameters; + } + + #if !(NET20) + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static async Task> SearchAsync(this RedmineManager redmineManager, string q, int limit = RedmineManager.DEFAULT_PAGE_SIZE_VALUE, int offset = 0, SearchFilterBuilder searchFilter = null, CancellationToken cancellationToken = default) + { + var parameters = CreateSearchParameters(q, limit, offset, searchFilter); + + var response = await redmineManager.ApiClient.GetPagedAsync("", new RequestOptions() + { + QueryString = parameters + }, cancellationToken).ConfigureAwait(false); + + return response.DeserializeToPagedResults(redmineManager.Serializer); + } + /// /// /// /// - /// - /// + /// + /// /// - /// - public static PagedResults GetProjectFiles(this RedmineManager redmineManager, string projectIdentifier, NameValueCollection nameValueCollection) + public static async Task GetCurrentUserAsync(this RedmineManager redmineManager, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.CurrentUser(); + + var response = await redmineManager.ApiClient.GetAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeTo(redmineManager.Serializer); + } + + /// + /// Creates the or update wiki page asynchronous. + /// + /// The redmine manager. + /// The project identifier. + /// Name of the page. + /// The wiki page. + /// + /// + /// + public static async Task CreateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var payload = redmineManager.Serializer.Serialize(wikiPage); + + if (string.IsNullOrEmpty(payload)) + { + throw new RedmineException("The payload is empty"); + } + + var url = redmineManager.RedmineApiUrls.ProjectWikiPageUpdate(projectId, pageName); + + var uri = Uri.EscapeDataString(url); + + var response = await redmineManager.ApiClient.CreateAsync(uri, payload,requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeTo(redmineManager.Serializer); + } + + /// + /// Creates the or update wiki page asynchronous. + /// + /// The redmine manager. + /// The project identifier. + /// Name of the page. + /// The wiki page. + /// + /// + /// + public static async Task UpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { - if (projectIdentifier.IsNullOrWhiteSpace()) + var payload = redmineManager.Serializer.Serialize(wikiPage); + + if (string.IsNullOrEmpty(payload)) { - throw new RedmineException($"Argument '{nameof(projectIdentifier)}' is null"); + return; } + + var url = redmineManager.RedmineApiUrls.ProjectWikiPageUpdate(projectId, pageName); + + var uri = Uri.EscapeDataString(url); + + await redmineManager.ApiClient.PatchAsync(uri, payload, requestOptions, cancellationToken).ConfigureAwait(false); + } + + /// + /// Deletes the wiki page asynchronous. + /// + /// The redmine manager. + /// The project identifier. + /// Name of the page. + /// + /// + /// + public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.ProjectWikiPageDelete(projectId, pageName); + + uri = Uri.EscapeDataString(uri); + + await redmineManager.ApiClient.DeleteAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); + } + + /// + /// Support for adding attachments through the REST API is added in Redmine 1.4.0. + /// Upload a file to server. This method does not block the calling thread. + /// + /// The redmine manager. + /// The content of the file that will be uploaded on server. + /// + /// + /// + /// . + /// + public static async Task UploadFileAsync(this RedmineManager redmineManager, byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var url = redmineManager.RedmineApiUrls.UploadFragment(); + + var response = await redmineManager.ApiClient.UploadFileAsync(url, data,requestOptions , cancellationToken: cancellationToken).ConfigureAwait(false); - return WebApiHelper.ExecuteDownloadList(redmineManager, Uri.EscapeUriString($"{redmineManager.Host}/project/{projectIdentifier}/files.{redmineManager.Format}"), nameValueCollection); + return response.DeserializeTo(redmineManager.Serializer); + } + + /// + /// Downloads the file asynchronous. + /// + /// The redmine manager. + /// The address. + /// + /// + /// + public static async Task DownloadFileAsync(this RedmineManager redmineManager, string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var response = await redmineManager.ApiClient.DownloadAsync(address, requestOptions,cancellationToken: cancellationToken).ConfigureAwait(false); + return response.Content; + } + + /// + /// Gets the wiki page asynchronous. + /// + /// The redmine manager. + /// The project identifier. + /// Name of the page. + /// + /// The version. + /// + /// + public static async Task GetWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, RequestOptions requestOptions = null, uint version = 0, CancellationToken cancellationToken = default) + { + var uri = version == 0 + ? redmineManager.RedmineApiUrls.ProjectWikiPage(projectId, pageName) + : redmineManager.RedmineApiUrls.ProjectWikiPageVersion(projectId, pageName, version.ToString(CultureInfo.InvariantCulture)); + + uri = Uri.EscapeDataString(uri); + + var response = await redmineManager.ApiClient.GetAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeTo(redmineManager.Serializer); + } + + /// + /// Gets all wiki pages asynchronous. + /// + /// The redmine manager. + /// The project identifier. + /// + /// + /// + public static async Task> GetAllWikiPagesAsync(this RedmineManager redmineManager, string projectId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.ProjectWikiIndex(projectId); + + var response = await redmineManager.ApiClient.GetPagedAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeToList(redmineManager.Serializer); + } + + /// + /// Adds an existing user to a group. This method does not block the calling thread. + /// + /// The redmine manager. + /// The group id. + /// The user id. + /// + /// + /// + /// Returns the Guid associated with the async request. + /// + public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, int groupId, int userId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.GroupUserAdd(groupId.ToString(CultureInfo.InvariantCulture)); + + var payload = SerializationHelper.SerializeUserId(userId, redmineManager.MimeFormat); + + await redmineManager.ApiClient.CreateAsync(uri, payload, requestOptions, cancellationToken).ConfigureAwait(false); + } + + /// + /// Removes an user from a group. This method does not block the calling thread. + /// + /// The redmine manager. + /// The group id. + /// The user id. + /// + /// + /// + public static async Task RemoveUserFromGroupAsync(this RedmineManager redmineManager, int groupId, int userId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.GroupUserRemove(groupId.ToString(CultureInfo.InvariantCulture), userId.ToString(CultureInfo.InvariantCulture)); + + await redmineManager.ApiClient.DeleteAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); + } + + /// + /// Adds the watcher asynchronous. + /// + /// The redmine manager. + /// The issue identifier. + /// The user identifier. + /// + /// + /// + public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManager, int issueId, int userId, RequestOptions requestOptions = null , CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.IssueWatcherAdd(issueId.ToString(CultureInfo.InvariantCulture)); + + var payload = SerializationHelper.SerializeUserId(userId, redmineManager.MimeFormat); + + await redmineManager.ApiClient.CreateAsync(uri, payload, requestOptions, cancellationToken).ConfigureAwait(false); + } + + /// + /// Removes the watcher asynchronous. + /// + /// The redmine manager. + /// The issue identifier. + /// The user identifier. + /// + /// + /// + public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManager, int issueId, int userId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.IssueWatcherRemove(issueId.ToString(CultureInfo.InvariantCulture), userId.ToString(CultureInfo.InvariantCulture)); + + await redmineManager.ApiClient.DeleteAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); + } + + /// + /// + /// + /// + /// + /// + /// + public static async Task CountAsync(this RedmineManager redmineManager, params string[] include) where T : class, new() + { + RequestOptions requestOptions = null; + + if (include is {Length: > 0}) + { + requestOptions = new RequestOptions() + { + QueryString = new NameValueCollection + { + {RedmineKeys.INCLUDE, string.Join(",", include)} + } + }; + } + + return await CountAsync(redmineManager, requestOptions).ConfigureAwait(false); + } + + /// + /// + /// + /// + /// + /// + /// + public static async Task CountAsync(this RedmineManager redmineManager, RequestOptions requestOptions) where T : class, new() + { + var totalCount = 0; + const int PAGE_SIZE = 1; + const int OFFSET = 0; + + if (requestOptions == null) + { + requestOptions = new RequestOptions(); + } + + requestOptions.QueryString.AddPagingParameters(PAGE_SIZE, OFFSET); + + var tempResult = await GetPagedAsync(redmineManager, requestOptions).ConfigureAwait(false); + if (tempResult != null) + { + totalCount = tempResult.TotalItems; + } + + return totalCount; + } + + + /// + /// Gets the paginated objects asynchronous. + /// + /// + /// The redmine manager. + /// + /// + /// + public static async Task> GetPagedAsync(this RedmineManager redmineManager, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + var url = redmineManager.RedmineApiUrls.GetListFragment(); + + var response= await redmineManager.ApiClient.GetAsync(url, requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeToPagedResults(redmineManager.Serializer); + } + + /// + /// Gets the objects asynchronous. + /// + /// + /// The redmine manager. + /// + /// + /// + public static async Task> GetObjectsAsync(this RedmineManager redmineManager, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + int pageSize = 0, offset = 0; + var isLimitSet = false; + List resultList = null; + + if (requestOptions == null) + { + requestOptions = new RequestOptions(); + } + + if (requestOptions.QueryString == null) + { + requestOptions.QueryString = new NameValueCollection(); + } + else + { + isLimitSet = int.TryParse(requestOptions.QueryString[RedmineKeys.LIMIT], out pageSize); + int.TryParse(requestOptions.QueryString[RedmineKeys.OFFSET], out offset); + } + + if (pageSize == default) + { + pageSize = redmineManager.PageSize > 0 + ? redmineManager.PageSize + : RedmineManager.DEFAULT_PAGE_SIZE_VALUE; + requestOptions.QueryString.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); + } + + try + { + var hasOffset = RedmineManager.TypesWithOffset.ContainsKey(typeof(T)); + if (hasOffset) + { + int totalCount; + do + { + requestOptions.QueryString.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); + + var tempResult = await redmineManager.GetPagedAsync(requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); + + totalCount = isLimitSet ? pageSize : tempResult.TotalItems; + + if (tempResult?.Items != null) + { + if (resultList == null) + { + resultList = new List(tempResult.Items); + } + else + { + resultList.AddRange(tempResult.Items); + } + } + + offset += pageSize; + } while (offset < totalCount); + } + else + { + var result = await redmineManager.GetPagedAsync(requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); + if (result?.Items != null) + { + return new List(result.Items); + } + } + } + catch (WebException wex) + { + wex.HandleWebException(redmineManager.Serializer); + } + + return resultList; + } + + /// + /// Gets a Redmine object. This method does not block the calling thread. + /// + /// The type of objects to retrieve. + /// The redmine manager. + /// The id of the object. + /// + /// + /// + public static async Task GetObjectAsync(this RedmineManager redmineManager, string id, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + var url = redmineManager.RedmineApiUrls.GetFragment(id); + + var response = await redmineManager.ApiClient.GetAsync(url,requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeTo(redmineManager.Serializer); + } + + /// + /// Creates a new Redmine object. This method does not block the calling thread. + /// + /// The type of object to create. + /// The redmine manager. + /// The object to create. + /// + /// + /// + public static async Task CreateObjectAsync(this RedmineManager redmineManager, T entity, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + return await redmineManager.CreateObjectAsync( entity, null, requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); + } + + /// + /// Creates a new Redmine object. This method does not block the calling thread. + /// + /// The type of object to create. + /// The redmine manager. + /// The object to create. + /// The owner identifier. + /// + /// + /// + public static async Task CreateObjectAsync(this RedmineManager redmineManager, T entity, string ownerId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + var url = redmineManager.RedmineApiUrls.CreateEntityFragment(ownerId); + + var payload = redmineManager.Serializer.Serialize(entity); + + var response = await redmineManager.ApiClient.CreateAsync(url, payload, requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeTo(redmineManager.Serializer); + } + + /// + /// Updates the object asynchronous. + /// + /// + /// The redmine manager. + /// The identifier. + /// The object. + /// + /// + /// + public static async Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T entity, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + var url = redmineManager.RedmineApiUrls.UpdateFragment(id); + + var payload = redmineManager.Serializer.Serialize(entity); + + await redmineManager.ApiClient.UpdateAsync(url, payload, requestOptions,cancellationToken: cancellationToken).ConfigureAwait(false); + // data = Regex.Replace(data, @"\r\n|\r|\n", "\r\n"); + } + + /// + /// Deletes the Redmine object. This method does not block the calling thread. + /// + /// The type of objects to delete. + /// The redmine manager. + /// The id of the object to delete + /// + /// + /// + public static async Task DeleteObjectAsync(this RedmineManager redmineManager, string id, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + var url = redmineManager.RedmineApiUrls.DeleteFragment(id); + + await redmineManager.ApiClient.DeleteAsync(url, requestOptions, cancellationToken).ConfigureAwait((false)); + } + #endif + + internal static RequestOptions CreateRequestOptions(NameValueCollection parameters = null, string impersonateUserName = null) + { + RequestOptions requestOptions = null; + if (parameters != null || !impersonateUserName.IsNullOrWhiteSpace()) + { + requestOptions = new RequestOptions() + { + QueryString = parameters, + ImpersonateUser = impersonateUserName + }; + } + + return requestOptions; } } } \ No newline at end of file From b6150c258e722b239dbe1535dad239a53575706a Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 17:58:04 +0200 Subject: [PATCH 377/601] [RedmineApiExtension] Code arrange --- .../Exceptions/RedmineApiException.cs | 20 +++++-------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/src/redmine-net-api/Exceptions/RedmineApiException.cs b/src/redmine-net-api/Exceptions/RedmineApiException.cs index ad3b114b..9a544503 100644 --- a/src/redmine-net-api/Exceptions/RedmineApiException.cs +++ b/src/redmine-net-api/Exceptions/RedmineApiException.cs @@ -13,18 +13,14 @@ public sealed class RedmineApiException : RedmineException /// /// public RedmineApiException() - : this(errorCode: null, false) - { - } + : this(errorCode: null, false) { } /// /// /// /// public RedmineApiException(string message) - : this(message, errorCode: null, false) - { - } + : this(message, errorCode: null, false) { } /// /// @@ -32,9 +28,7 @@ public RedmineApiException(string message) /// /// public RedmineApiException(string message, Exception innerException) - : this(message, innerException, errorCode: null, false) - { - } + : this(message, innerException, errorCode: null, false) { } /// /// @@ -42,9 +36,7 @@ public RedmineApiException(string message, Exception innerException) /// /// public RedmineApiException(string errorCode, bool isTransient) - : this(string.Empty, errorCode, isTransient) - { - } + : this(string.Empty, errorCode, isTransient) { } /// /// @@ -53,9 +45,7 @@ public RedmineApiException(string errorCode, bool isTransient) /// /// public RedmineApiException(string message, string errorCode, bool isTransient) - : this(message, null, errorCode, isTransient) - { - } + : this(message, null, errorCode, isTransient) { } /// /// From dc776b1475891574f9effd61af8c4130503e9068 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 18:00:40 +0200 Subject: [PATCH 378/601] [GitActions] Use multiple os --- .github/workflows/ci-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 029bbc5f..74fb1cfd 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -53,7 +53,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-latest]#, windows-latest, macos-latest ] + os: [ ubuntu-latest, windows-latest, macos-latest ] dotnet: [ '7.x.x' ] steps: From 6528c5a6dcad89f05cc19dfd3653bfa783319509 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 18:03:06 +0200 Subject: [PATCH 379/601] [Sln] Update --- redmine-net-api.sln | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redmine-net-api.sln b/redmine-net-api.sln index cd0dfab4..332b18aa 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -26,6 +26,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionFolder", "SolutionF releasenotes.props = releasenotes.props signing.props = signing.props version.props = version.props + .github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml + .github\workflows\ci-cd.yml = .github\workflows\ci-cd.yml EndProjectSection EndProject Global From d086fbea1880202755a5d78ad4fafc60dbeefc1b Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 18:43:56 +0200 Subject: [PATCH 380/601] [MimeFormat] Mark as obsolete --- .../Serialization/{MimeFormat.cs => MimeFormatObsolete.cs} | 3 +++ 1 file changed, 3 insertions(+) rename src/redmine-net-api/Serialization/{MimeFormat.cs => MimeFormatObsolete.cs} (89%) diff --git a/src/redmine-net-api/Serialization/MimeFormat.cs b/src/redmine-net-api/Serialization/MimeFormatObsolete.cs similarity index 89% rename from src/redmine-net-api/Serialization/MimeFormat.cs rename to src/redmine-net-api/Serialization/MimeFormatObsolete.cs index 5f755688..16d54fd3 100755 --- a/src/redmine-net-api/Serialization/MimeFormat.cs +++ b/src/redmine-net-api/Serialization/MimeFormatObsolete.cs @@ -14,11 +14,14 @@ You may obtain a copy of the License at limitations under the License. */ +using System; + namespace Redmine.Net.Api { /// /// /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use SerializationType instead")] public enum MimeFormat { /// From f64f6c9437fb35ad5f143d5c10f61931fd219d23 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 3 Jan 2024 18:45:27 +0200 Subject: [PATCH 381/601] [SerializationHelper] Replace MimeFormat argument with IRedmineSerializer --- .../Extensions/RedmineManagerExtensions.cs | 8 ++++---- src/redmine-net-api/Serialization/SerializationHelper.cs | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index cdba6637..6d185825 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -138,7 +138,7 @@ public static void AddWatcherToIssue(this RedmineManager redmineManager, int iss { var uri = redmineManager.RedmineApiUrls.IssueWatcherAdd(issueId.ToString(CultureInfo.InvariantCulture)); - var payload = SerializationHelper.SerializeUserId(userId, redmineManager.MimeFormat); + var payload = SerializationHelper.SerializeUserId(userId, redmineManager.Serializer); redmineManager.ApiClient.Create(uri, payload, requestOptions); } @@ -168,7 +168,7 @@ public static void AddUserToGroup(this RedmineManager redmineManager, int groupI { var uri = redmineManager.RedmineApiUrls.GroupUserAdd(groupId.ToString(CultureInfo.InvariantCulture)); - var payload = SerializationHelper.SerializeUserId(userId, redmineManager.MimeFormat); + var payload = SerializationHelper.SerializeUserId(userId, redmineManager.Serializer); redmineManager.ApiClient.Create(uri, payload, requestOptions); } @@ -553,7 +553,7 @@ public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, { var uri = redmineManager.RedmineApiUrls.GroupUserAdd(groupId.ToString(CultureInfo.InvariantCulture)); - var payload = SerializationHelper.SerializeUserId(userId, redmineManager.MimeFormat); + var payload = SerializationHelper.SerializeUserId(userId, redmineManager.Serializer); await redmineManager.ApiClient.CreateAsync(uri, payload, requestOptions, cancellationToken).ConfigureAwait(false); } @@ -587,7 +587,7 @@ public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManag { var uri = redmineManager.RedmineApiUrls.IssueWatcherAdd(issueId.ToString(CultureInfo.InvariantCulture)); - var payload = SerializationHelper.SerializeUserId(userId, redmineManager.MimeFormat); + var payload = SerializationHelper.SerializeUserId(userId, redmineManager.Serializer); await redmineManager.ApiClient.CreateAsync(uri, payload, requestOptions, cancellationToken).ConfigureAwait(false); } diff --git a/src/redmine-net-api/Serialization/SerializationHelper.cs b/src/redmine-net-api/Serialization/SerializationHelper.cs index 678b22c7..779b801c 100644 --- a/src/redmine-net-api/Serialization/SerializationHelper.cs +++ b/src/redmine-net-api/Serialization/SerializationHelper.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Redmine.Net.Api +namespace Redmine.Net.Api.Serialization { /// /// @@ -10,12 +10,12 @@ internal static class SerializationHelper /// /// /// - /// /// + /// /// - public static string SerializeUserId(int userId, MimeFormat mimeFormat) + public static string SerializeUserId(int userId, IRedmineSerializer redmineSerializer) { - return mimeFormat == MimeFormat.Xml + return redmineSerializer is XmlRedmineSerializer ? $"{userId.ToString(CultureInfo.InvariantCulture)}" : $"{{\"user_id\":\"{userId.ToString(CultureInfo.InvariantCulture)}\"}}"; } From f6b65d71730c7d573d0460549d61a2f46feaa3a8 Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 4 Jan 2024 13:59:03 +0200 Subject: [PATCH 382/601] [RedmineApiUrlExtensions] Fix CurrentUser --- src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs b/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs index 4ccd918b..6725c085 100644 --- a/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs +++ b/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs @@ -12,7 +12,7 @@ public static string MyAccount(this RedmineApiUrls redmineApiUrls) public static string CurrentUser(this RedmineApiUrls redmineApiUrls) { - return $"{RedmineKeys.CURRENT}.{redmineApiUrls.Format}"; + return $"{RedmineKeys.USERS}/{RedmineKeys.CURRENT}.{redmineApiUrls.Format}"; } public static string ProjectNews(this RedmineApiUrls redmineApiUrls, string projectIdentifier) From 5c727861bdfbe633e4c89f8ce5db7170536a300f Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 4 Jan 2024 14:00:18 +0200 Subject: [PATCH 383/601] [StringExtensions] Add ToInvariantString of T --- .../Extensions/StringExtensions.cs | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index 1fd04cdf..c02836e7 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -16,6 +16,7 @@ limitations under the License. using System; using System.Diagnostics.CodeAnalysis; +using System.Globalization; using System.Security; namespace Redmine.Net.Api.Extensions @@ -131,5 +132,29 @@ internal static string ValueOrFallback(this string value, string fallback) { return !value.IsNullOrWhiteSpace() ? value : fallback; } + + internal static string ToInvariantString(this T value) where T : struct + { + return value switch + { + sbyte v => v.ToString(CultureInfo.InvariantCulture), + byte v => v.ToString(CultureInfo.InvariantCulture), + short v => v.ToString(CultureInfo.InvariantCulture), + ushort v => v.ToString(CultureInfo.InvariantCulture), + int v => v.ToString(CultureInfo.InvariantCulture), + uint v => v.ToString(CultureInfo.InvariantCulture), + long v => v.ToString(CultureInfo.InvariantCulture), + ulong v => v.ToString(CultureInfo.InvariantCulture), + float v => v.ToString("G7", CultureInfo.InvariantCulture), // Specify precision explicitly for backward compatibility + double v => v.ToString("G15", CultureInfo.InvariantCulture), // Specify precision explicitly for backward compatibility + decimal v => v.ToString(CultureInfo.InvariantCulture), + TimeSpan ts => ts.ToString(), + DateTime d => d.ToString(CultureInfo.InvariantCulture), + #pragma warning disable CA1308 + bool b => b.ToString().ToLowerInvariant(), + #pragma warning restore CA1308 + _ => value.ToString(), + }; + } } } \ No newline at end of file From 4a3dc25c156157fc2460784c0b90941e9f417c0a Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 5 Jan 2024 12:54:09 +0200 Subject: [PATCH 384/601] [Header] Header info added --- .../Authentication/IRedmineAuthentication.cs | 18 +++++++++++++++++- .../RedmineApiKeyAuthentication.cs | 16 ++++++++++++++++ .../RedmineBasicAuthentication.cs | 16 ++++++++++++++++ .../Authentication/RedmineNoAuthentication.cs | 16 ++++++++++++++++ .../Extensions/RedmineManagerExtensions.cs | 16 ++++++++++++++++ src/redmine-net-api/Net/ApiRequestMessage.cs | 16 ++++++++++++++++ .../Net/ApiRequestMessageContent.cs | 16 ++++++++++++++++ src/redmine-net-api/Net/ApiResponseMessage.cs | 16 ++++++++++++++++ .../Net/ApiResponseMessageExtensions.cs | 16 ++++++++++++++++ src/redmine-net-api/Net/IRedmineApiClient.cs | 16 ++++++++++++++++ .../Net/IRedmineApiClientOptions.cs | 16 ++++++++++++++++ src/redmine-net-api/Net/RedmineApiUrls.cs | 16 ++++++++++++++++ .../Net/RedmineApiUrlsExtensions.cs | 16 ++++++++++++++++ src/redmine-net-api/Net/RequestOptions.cs | 16 ++++++++++++++++ .../Net/WebClient/RedmineWebClientOptions.cs | 16 ++++++++++++++++ src/redmine-net-api/RedmineConstants.cs | 16 ++++++++++++++++ src/redmine-net-api/RedmineManagerOptions.cs | 17 +++++++++++++++++ .../RedmineManagerOptionsBuilder.cs | 18 +++++++++++++++++- .../Serialization/RedmineSerializerFactory.cs | 16 ++++++++++++++++ .../Serialization/SerializationHelper.cs | 16 ++++++++++++++++ .../Serialization/SerializationType.cs | 16 ++++++++++++++++ 21 files changed, 339 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/Authentication/IRedmineAuthentication.cs b/src/redmine-net-api/Authentication/IRedmineAuthentication.cs index 9604c83f..6823243a 100644 --- a/src/redmine-net-api/Authentication/IRedmineAuthentication.cs +++ b/src/redmine-net-api/Authentication/IRedmineAuthentication.cs @@ -1,6 +1,22 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System.Net; -namespace Redmine.Net.Api; +namespace Redmine.Net.Api.Authentication; /// /// diff --git a/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs b/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs index 084752d3..5be2a87f 100644 --- a/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs +++ b/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System.Net; namespace Redmine.Net.Api.Authentication; diff --git a/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs b/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs index 58c740ba..88a70cd9 100644 --- a/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs +++ b/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Net; using System.Text; diff --git a/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs b/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs index f568f1bc..2849d703 100644 --- a/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs +++ b/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System.Net; namespace Redmine.Net.Api.Authentication; diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index 6d185825..e162e155 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Collections.Generic; using System.Collections.Specialized; diff --git a/src/redmine-net-api/Net/ApiRequestMessage.cs b/src/redmine-net-api/Net/ApiRequestMessage.cs index b4a2e11e..c3bdb891 100644 --- a/src/redmine-net-api/Net/ApiRequestMessage.cs +++ b/src/redmine-net-api/Net/ApiRequestMessage.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System.Collections.Specialized; namespace Redmine.Net.Api.Net; diff --git a/src/redmine-net-api/Net/ApiRequestMessageContent.cs b/src/redmine-net-api/Net/ApiRequestMessageContent.cs index f3e6fb48..e484c81a 100644 --- a/src/redmine-net-api/Net/ApiRequestMessageContent.cs +++ b/src/redmine-net-api/Net/ApiRequestMessageContent.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + namespace Redmine.Net.Api.Net; internal abstract class ApiRequestMessageContent diff --git a/src/redmine-net-api/Net/ApiResponseMessage.cs b/src/redmine-net-api/Net/ApiResponseMessage.cs index c6f6431c..4cdf66c0 100644 --- a/src/redmine-net-api/Net/ApiResponseMessage.cs +++ b/src/redmine-net-api/Net/ApiResponseMessage.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System.Collections.Specialized; namespace Redmine.Net.Api.Net; diff --git a/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs b/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs index 7efdfd95..36aeaf6e 100644 --- a/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs +++ b/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System.Collections.Generic; using System.Text; using Redmine.Net.Api.Serialization; diff --git a/src/redmine-net-api/Net/IRedmineApiClient.cs b/src/redmine-net-api/Net/IRedmineApiClient.cs index 00a28bd7..586a001a 100644 --- a/src/redmine-net-api/Net/IRedmineApiClient.cs +++ b/src/redmine-net-api/Net/IRedmineApiClient.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System.Threading; #if!(NET20) using System.Threading.Tasks; diff --git a/src/redmine-net-api/Net/IRedmineApiClientOptions.cs b/src/redmine-net-api/Net/IRedmineApiClientOptions.cs index 56013ec2..263c703a 100644 --- a/src/redmine-net-api/Net/IRedmineApiClientOptions.cs +++ b/src/redmine-net-api/Net/IRedmineApiClientOptions.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Collections.Generic; using System.Net; diff --git a/src/redmine-net-api/Net/RedmineApiUrls.cs b/src/redmine-net-api/Net/RedmineApiUrls.cs index 4b3e5470..34417919 100644 --- a/src/redmine-net-api/Net/RedmineApiUrls.cs +++ b/src/redmine-net-api/Net/RedmineApiUrls.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Collections.Generic; using Redmine.Net.Api.Exceptions; diff --git a/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs b/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs index 6725c085..aa415007 100644 --- a/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs +++ b/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; diff --git a/src/redmine-net-api/Net/RequestOptions.cs b/src/redmine-net-api/Net/RequestOptions.cs index eaaef3b8..1b514c8a 100644 --- a/src/redmine-net-api/Net/RequestOptions.cs +++ b/src/redmine-net-api/Net/RequestOptions.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System.Collections.Specialized; namespace Redmine.Net.Api.Net; diff --git a/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs b/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs index 05b0c766..0a2953e8 100644 --- a/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs +++ b/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Collections.Generic; using System.Net; diff --git a/src/redmine-net-api/RedmineConstants.cs b/src/redmine-net-api/RedmineConstants.cs index dea7584a..4d715422 100644 --- a/src/redmine-net-api/RedmineConstants.cs +++ b/src/redmine-net-api/RedmineConstants.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + namespace Redmine.Net.Api { /// diff --git a/src/redmine-net-api/RedmineManagerOptions.cs b/src/redmine-net-api/RedmineManagerOptions.cs index 828f1422..aadf9916 100644 --- a/src/redmine-net-api/RedmineManagerOptions.cs +++ b/src/redmine-net-api/RedmineManagerOptions.cs @@ -1,5 +1,22 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Net; +using Redmine.Net.Api.Authentication; using Redmine.Net.Api.Net; using Redmine.Net.Api.Serialization; diff --git a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs index 56a2d195..e59afb5c 100644 --- a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs +++ b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs @@ -1,6 +1,22 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Net; -using System.Xml.Serialization; +using Redmine.Net.Api.Authentication; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Net; diff --git a/src/redmine-net-api/Serialization/RedmineSerializerFactory.cs b/src/redmine-net-api/Serialization/RedmineSerializerFactory.cs index d371f59b..240d1af8 100644 --- a/src/redmine-net-api/Serialization/RedmineSerializerFactory.cs +++ b/src/redmine-net-api/Serialization/RedmineSerializerFactory.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; namespace Redmine.Net.Api.Serialization; diff --git a/src/redmine-net-api/Serialization/SerializationHelper.cs b/src/redmine-net-api/Serialization/SerializationHelper.cs index 779b801c..5ecd4b8f 100644 --- a/src/redmine-net-api/Serialization/SerializationHelper.cs +++ b/src/redmine-net-api/Serialization/SerializationHelper.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System.Globalization; namespace Redmine.Net.Api.Serialization diff --git a/src/redmine-net-api/Serialization/SerializationType.cs b/src/redmine-net-api/Serialization/SerializationType.cs index e57dd054..c46591f8 100644 --- a/src/redmine-net-api/Serialization/SerializationType.cs +++ b/src/redmine-net-api/Serialization/SerializationType.cs @@ -1,3 +1,19 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + namespace Redmine.Net.Api.Serialization { /// From 33ad0ed3029425666376a3b88db086ac12b0aea4 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 5 Jan 2024 13:01:30 +0200 Subject: [PATCH 385/601] Code arrange --- .../Authentication/RedmineApiKeyAuthentication.cs | 2 +- .../Authentication/RedmineBasicAuthentication.cs | 2 +- src/redmine-net-api/Authentication/RedmineNoAuthentication.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs b/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs index 5be2a87f..c0a34580 100644 --- a/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs +++ b/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs @@ -24,7 +24,7 @@ namespace Redmine.Net.Api.Authentication; public sealed class RedmineApiKeyAuthentication: IRedmineAuthentication { /// - public string AuthenticationType { get; } = "X-Redmine-API-Key"; + public string AuthenticationType => "X-Redmine-API-Key"; /// public string Token { get; init; } diff --git a/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs b/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs index 88a70cd9..2e8da6cb 100644 --- a/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs +++ b/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs @@ -27,7 +27,7 @@ namespace Redmine.Net.Api.Authentication public sealed class RedmineBasicAuthentication: IRedmineAuthentication { /// - public string AuthenticationType { get; } = "Basic"; + public string AuthenticationType => "Basic"; /// public string Token { get; init; } diff --git a/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs b/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs index 2849d703..6fb7fe8a 100644 --- a/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs +++ b/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs @@ -24,7 +24,7 @@ namespace Redmine.Net.Api.Authentication; public sealed class RedmineNoAuthentication: IRedmineAuthentication { /// - public string AuthenticationType { get; } = "NoAuth"; + public string AuthenticationType => "NoAuth"; /// public string Token { get; init; } From ad95d151c16a83ffaebb1efe9c208c094f0164e9 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 5 Jan 2024 13:02:43 +0200 Subject: [PATCH 386/601] [RedmineManagerOptionsBuilder] Add With[Api/Basic]Authentication methods --- src/redmine-net-api/RedmineManagerObsolete.cs | 6 ++---- .../RedmineManagerOptionsBuilder.cs | 21 ++++++++++++++----- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/src/redmine-net-api/RedmineManagerObsolete.cs b/src/redmine-net-api/RedmineManagerObsolete.cs index 34764d20..f7b40ebb 100644 --- a/src/redmine-net-api/RedmineManagerObsolete.cs +++ b/src/redmine-net-api/RedmineManagerObsolete.cs @@ -20,7 +20,6 @@ limitations under the License. using System.Net; using System.Net.Security; using System.Security.Cryptography.X509Certificates; -using Redmine.Net.Api.Authentication; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Net.WebClient; using Redmine.Net.Api.Serialization; @@ -53,7 +52,6 @@ public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool IWebProxy proxy = null, SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) :this(new RedmineManagerOptionsBuilder() .WithHost(host) - .WithAuthentication(new RedmineNoAuthentication()) .WithSerializationType(mimeFormat) .WithVerifyServerCert(verifyServerCert) .WithClientOptions(new RedmineWebClientOptions() @@ -87,7 +85,7 @@ public RedmineManager(string host, string apiKey, MimeFormat mimeFormat = MimeFo SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) : this(new RedmineManagerOptionsBuilder() .WithHost(host) - .WithAuthentication(new RedmineApiKeyAuthentication(apiKey)) + .WithApiKeyAuthentication(apiKey) .WithSerializationType(mimeFormat) .WithVerifyServerCert(verifyServerCert) .WithClientOptions(new RedmineWebClientOptions() @@ -116,7 +114,7 @@ public RedmineManager(string host, string login, string password, MimeFormat mim SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) : this(new RedmineManagerOptionsBuilder() .WithHost(host) - .WithAuthentication(new RedmineBasicAuthentication(login, password)) + .WithBasicAuthentication(login, password) .WithSerializationType(mimeFormat) .WithVerifyServerCert(verifyServerCert) .WithClientOptions(new RedmineWebClientOptions() diff --git a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs index e59afb5c..8e682f0b 100644 --- a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs +++ b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs @@ -100,11 +100,23 @@ public RedmineManagerOptionsBuilder WithSerializationType(SerializationType seri /// /// /// - /// + /// /// - public RedmineManagerOptionsBuilder WithAuthentication(IRedmineAuthentication authentication) + public RedmineManagerOptionsBuilder WithApiKeyAuthentication(string apiKey) { - this.Authentication = authentication; + this.Authentication = new RedmineApiKeyAuthentication(apiKey); + return this; + } + + /// + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithBasicAuthentication(string login, string password) + { + this.Authentication = new RedmineBasicAuthentication(login, password); return this; } @@ -198,14 +210,13 @@ internal RedmineManagerOptions Build() VerifyServerCert = VerifyServerCert, Serializer = RedmineSerializerFactory.CreateSerializer(SerializationType), RedmineVersion = Version, - Authentication = Authentication, + Authentication = Authentication ?? new RedmineNoAuthentication(), ClientOptions = ClientOptions }; return options; } - internal static void EnsureDomainNameIsValid(string domainName) { if (domainName.IsNullOrWhiteSpace()) From 0b0381132f5b522486e8423fdaf72ba224ea011e Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 5 Jan 2024 13:03:50 +0200 Subject: [PATCH 387/601] [New][RedmineConstants] xml keyword --- src/redmine-net-api/RedmineConstants.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/redmine-net-api/RedmineConstants.cs b/src/redmine-net-api/RedmineConstants.cs index 4d715422..f8fdad88 100644 --- a/src/redmine-net-api/RedmineConstants.cs +++ b/src/redmine-net-api/RedmineConstants.cs @@ -47,5 +47,10 @@ public static class RedmineConstants /// /// public const string IMPERSONATE_HEADER_KEY = "X-Redmine-Switch-User"; + + /// + /// + /// + public const string XML = "xml"; } } \ No newline at end of file From ff8e7512088b973d8252bca819cc916463e6cbc1 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 5 Jan 2024 13:04:44 +0200 Subject: [PATCH 388/601] [Csproj] Add net80 TargetFramework --- src/redmine-net-api/redmine-net-api.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 7bd68c94..2588c72e 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -4,7 +4,7 @@ Redmine.Net.Api redmine-net-api - net20;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;net481;net60;net70; + net20;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;net481;net60;net70;net80 false True true From ef14dda02927e4735513005dcc091146cf01b6d7 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 5 Jan 2024 13:05:52 +0200 Subject: [PATCH 389/601] [Csproj] Bump up Newtonsoft.Json to 13.0.3 --- src/redmine-net-api/redmine-net-api.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 2588c72e..a2a4a4d2 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -35,7 +35,7 @@ - + From 01dc695f6d2902622e61f50e3c82440d70440baa Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 5 Jan 2024 13:21:41 +0200 Subject: [PATCH 390/601] Group message content files under MessageContent folder --- .../ByteArrayApiRequestMessageContent.cs | 9 ------- .../ByteArrayApiRequestMessageContent.cs} | 14 ++++------- .../StreamApiRequestMessageContent.cs | 25 +++++++++++++++++++ .../StringApiRequestMessageContent.cs | 18 ++++++++++++- .../StreamApiRequestMessageContent.cs | 9 ------- 5 files changed, 47 insertions(+), 28 deletions(-) delete mode 100644 src/redmine-net-api/Net/WebClient/ByteArrayApiRequestMessageContent.cs rename src/redmine-net-api/{Serialization/ISerialization.cs => Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs} (65%) create mode 100644 src/redmine-net-api/Net/WebClient/MessageContent/StreamApiRequestMessageContent.cs rename src/redmine-net-api/Net/WebClient/{ => MessageContent}/StringApiRequestMessageContent.cs (58%) delete mode 100644 src/redmine-net-api/Net/WebClient/StreamApiRequestMessageContent.cs diff --git a/src/redmine-net-api/Net/WebClient/ByteArrayApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/ByteArrayApiRequestMessageContent.cs deleted file mode 100644 index 66650e04..00000000 --- a/src/redmine-net-api/Net/WebClient/ByteArrayApiRequestMessageContent.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Redmine.Net.Api.Net.WebClient; - -internal class ByteArrayApiRequestMessageContent : ApiRequestMessageContent -{ - public ByteArrayApiRequestMessageContent(byte[] content) - { - Body = content; - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Serialization/ISerialization.cs b/src/redmine-net-api/Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs similarity index 65% rename from src/redmine-net-api/Serialization/ISerialization.cs rename to src/redmine-net-api/Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs index 52a0c317..4f72fc83 100644 --- a/src/redmine-net-api/Serialization/ISerialization.cs +++ b/src/redmine-net-api/Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs @@ -14,16 +14,12 @@ You may obtain a copy of the License at limitations under the License. */ -namespace Redmine.Net.Api.Serialization +namespace Redmine.Net.Api.Net.WebClient.MessageContent; + +internal class ByteArrayApiRequestMessageContent : ApiRequestMessageContent { - internal interface IRedmineSerializer + public ByteArrayApiRequestMessageContent(byte[] content) { - string Type { get; } - - string Serialize(T obj) where T : class; - - PagedResults DeserializeToPagedResults(string response) where T : class, new(); - - T Deserialize(string response) where T : new(); + Body = content; } } \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/MessageContent/StreamApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/MessageContent/StreamApiRequestMessageContent.cs new file mode 100644 index 00000000..e7527234 --- /dev/null +++ b/src/redmine-net-api/Net/WebClient/MessageContent/StreamApiRequestMessageContent.cs @@ -0,0 +1,25 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +namespace Redmine.Net.Api.Net.WebClient.MessageContent; + +internal sealed class StreamApiRequestMessageContent : ByteArrayApiRequestMessageContent +{ + public StreamApiRequestMessageContent(byte[] content) : base(content) + { + ContentType = RedmineConstants.CONTENT_TYPE_APPLICATION_STREAM; + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/StringApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/MessageContent/StringApiRequestMessageContent.cs similarity index 58% rename from src/redmine-net-api/Net/WebClient/StringApiRequestMessageContent.cs rename to src/redmine-net-api/Net/WebClient/MessageContent/StringApiRequestMessageContent.cs index 8806a562..9d02d69a 100644 --- a/src/redmine-net-api/Net/WebClient/StringApiRequestMessageContent.cs +++ b/src/redmine-net-api/Net/WebClient/MessageContent/StringApiRequestMessageContent.cs @@ -1,7 +1,23 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Text; -namespace Redmine.Net.Api.Net.WebClient; +namespace Redmine.Net.Api.Net.WebClient.MessageContent; internal sealed class StringApiRequestMessageContent : ByteArrayApiRequestMessageContent { diff --git a/src/redmine-net-api/Net/WebClient/StreamApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/StreamApiRequestMessageContent.cs deleted file mode 100644 index c04820df..00000000 --- a/src/redmine-net-api/Net/WebClient/StreamApiRequestMessageContent.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Redmine.Net.Api.Net.WebClient; - -internal sealed class StreamApiRequestMessageContent : ByteArrayApiRequestMessageContent -{ - public StreamApiRequestMessageContent(byte[] content) : base(content) - { - ContentType = RedmineConstants.CONTENT_TYPE_APPLICATION_STREAM; - } -} \ No newline at end of file From 0d4eb5cd14d14909d7930094e8e8b7206a1b1353 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 5 Jan 2024 13:23:43 +0200 Subject: [PATCH 391/601] [Rename] RedmineApiClient to InternalRedmineApiWebClient --- ...ient.cs => InternalRedmineApiWebClient.cs} | 38 ++++++++++++++++--- 1 file changed, 32 insertions(+), 6 deletions(-) rename src/redmine-net-api/Net/WebClient/{RedmineApiClient.cs => InternalRedmineApiWebClient.cs} (88%) diff --git a/src/redmine-net-api/Net/WebClient/RedmineApiClient.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs similarity index 88% rename from src/redmine-net-api/Net/WebClient/RedmineApiClient.cs rename to src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs index 2bb19404..5a9b9c45 100644 --- a/src/redmine-net-api/Net/WebClient/RedmineApiClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs @@ -1,12 +1,30 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + using System; using System.Collections.Specialized; using System.Net; using System.Text; using System.Threading; +using Redmine.Net.Api.Authentication; #if!(NET20) using System.Threading.Tasks; #endif using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net.WebClient.MessageContent; using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Net.WebClient @@ -14,19 +32,19 @@ namespace Redmine.Net.Api.Net.WebClient /// /// /// - internal sealed class RedmineApiClient : IRedmineApiClient + internal sealed class InternalRedmineApiWebClient : IRedmineApiClient { private readonly Func _webClientFunc; private readonly IRedmineAuthentication _credentials; private readonly IRedmineSerializer _serializer; - public RedmineApiClient(RedmineManagerOptions redmineManagerOptions) - : this(() => new InternalRedmineWebClient(redmineManagerOptions), redmineManagerOptions.Authentication, redmineManagerOptions.Serializer) + public InternalRedmineApiWebClient(RedmineManagerOptions redmineManagerOptions) + : this(() => new InternalWebClient(redmineManagerOptions), redmineManagerOptions.Authentication, redmineManagerOptions.Serializer) { ConfigureServicePointManager(redmineManagerOptions.ClientOptions); } - public RedmineApiClient(Func webClientFunc, IRedmineAuthentication authentication, IRedmineSerializer serializer) + public InternalRedmineApiWebClient(Func webClientFunc, IRedmineAuthentication authentication, IRedmineSerializer serializer) { _webClientFunc = webClientFunc; _credentials = authentication; @@ -306,7 +324,15 @@ private void SetWebClientHeaders(System.Net.WebClient webClient, ApiRequestMessa webClient.QueryString = requestMessage.QueryString; } - webClient.Headers.Add(_credentials.AuthenticationType, _credentials.Token); + switch (_credentials) + { + case RedmineApiKeyAuthentication: + webClient.Headers.Add(_credentials.AuthenticationType,_credentials.Token); + break; + case RedmineBasicAuthentication: + webClient.Headers.Add("Authorization", $"{_credentials.AuthenticationType} {_credentials.Token}"); + break; + } if (!requestMessage.ImpersonateUser.IsNullOrWhiteSpace()) { @@ -321,7 +347,7 @@ private static bool IsGetOrDownload(string method) private static string GetContentType(IRedmineSerializer serializer) { - return serializer.Format == "xml" ? RedmineConstants.CONTENT_TYPE_APPLICATION_XML : RedmineConstants.CONTENT_TYPE_APPLICATION_JSON; + return serializer.Format == RedmineConstants.XML ? RedmineConstants.CONTENT_TYPE_APPLICATION_XML : RedmineConstants.CONTENT_TYPE_APPLICATION_JSON; } } } \ No newline at end of file From 0907336609528ce6e912f8cf343067f062147cce Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 5 Jan 2024 13:24:28 +0200 Subject: [PATCH 392/601] [Rename] InternalRedmineWebClient to InternalwebClient --- ...dmineWebClient.cs => InternalWebClient.cs} | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) rename src/redmine-net-api/Net/WebClient/{InternalRedmineWebClient.cs => InternalWebClient.cs} (81%) diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalWebClient.cs similarity index 81% rename from src/redmine-net-api/Net/WebClient/InternalRedmineWebClient.cs rename to src/redmine-net-api/Net/WebClient/InternalWebClient.cs index c2f35660..27051719 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalWebClient.cs @@ -1,3 +1,18 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ using System; using System.Net; using Redmine.Net.Api.Exceptions; @@ -5,15 +20,17 @@ namespace Redmine.Net.Api.Net.WebClient; -internal sealed class InternalRedmineWebClient : System.Net.WebClient +internal sealed class InternalWebClient : System.Net.WebClient { private readonly IRedmineApiClientOptions _webClientSettings; - public InternalRedmineWebClient(RedmineManagerOptions redmineManagerOptions) + #pragma warning disable SYSLIB0014 + public InternalWebClient(RedmineManagerOptions redmineManagerOptions) { _webClientSettings = redmineManagerOptions.ClientOptions; BaseAddress = redmineManagerOptions.BaseAddress.ToString(); } + #pragma warning restore SYSLIB0014 protected override WebRequest GetWebRequest(Uri address) { From 7eb221e9e262fe9d7f8f0f9f5ec4e8c6baa52e48 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 20:03:01 +0200 Subject: [PATCH 393/601] [Exceptions] Add preprocessor directive for NET8 or greater --- src/redmine-net-api/Exceptions/ConflictException.cs | 2 ++ src/redmine-net-api/Exceptions/ForbiddenException.cs | 2 ++ src/redmine-net-api/Exceptions/InternalServerErrorException.cs | 2 ++ .../Exceptions/NameResolutionFailureException.cs | 2 ++ src/redmine-net-api/Exceptions/NotAcceptableException.cs | 2 ++ src/redmine-net-api/Exceptions/NotFoundException.cs | 2 ++ src/redmine-net-api/Exceptions/RedmineApiException.cs | 2 ++ src/redmine-net-api/Exceptions/RedmineException.cs | 2 ++ src/redmine-net-api/Exceptions/RedmineTimeoutException.cs | 2 ++ src/redmine-net-api/Exceptions/UnauthorizedException.cs | 3 ++- 10 files changed, 20 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Exceptions/ConflictException.cs b/src/redmine-net-api/Exceptions/ConflictException.cs index 1cb1dcf9..bc098687 100644 --- a/src/redmine-net-api/Exceptions/ConflictException.cs +++ b/src/redmine-net-api/Exceptions/ConflictException.cs @@ -73,6 +73,7 @@ public ConflictException(string format, Exception innerException, params object[ { } +#if !(NET8_0_OR_GREATER) /// /// /// @@ -82,5 +83,6 @@ private ConflictException(SerializationInfo serializationInfo, StreamingContext { } +#endif } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/ForbiddenException.cs b/src/redmine-net-api/Exceptions/ForbiddenException.cs index 6821eb19..75e6192b 100644 --- a/src/redmine-net-api/Exceptions/ForbiddenException.cs +++ b/src/redmine-net-api/Exceptions/ForbiddenException.cs @@ -73,6 +73,7 @@ public ForbiddenException(string format, Exception innerException, params object { } +#if !(NET8_0_OR_GREATER) /// /// /// @@ -83,5 +84,6 @@ private ForbiddenException(SerializationInfo serializationInfo, StreamingContext { } +#endif } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/InternalServerErrorException.cs b/src/redmine-net-api/Exceptions/InternalServerErrorException.cs index bf6dda64..ccf3d5aa 100644 --- a/src/redmine-net-api/Exceptions/InternalServerErrorException.cs +++ b/src/redmine-net-api/Exceptions/InternalServerErrorException.cs @@ -73,6 +73,7 @@ public InternalServerErrorException(string format, Exception innerException, par { } +#if !(NET8_0_OR_GREATER) /// /// /// @@ -83,5 +84,6 @@ private InternalServerErrorException(SerializationInfo serializationInfo, Stream { } +#endif } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs b/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs index 3651d6db..81da3053 100644 --- a/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs +++ b/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs @@ -73,6 +73,7 @@ public NameResolutionFailureException(string format, Exception innerException, p { } +#if !(NET8_0_OR_GREATER) /// /// /// @@ -82,5 +83,6 @@ private NameResolutionFailureException(SerializationInfo serializationInfo, Stre { } +#endif } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/NotAcceptableException.cs b/src/redmine-net-api/Exceptions/NotAcceptableException.cs index 6b1ef5ea..0c865fbc 100644 --- a/src/redmine-net-api/Exceptions/NotAcceptableException.cs +++ b/src/redmine-net-api/Exceptions/NotAcceptableException.cs @@ -73,6 +73,7 @@ public NotAcceptableException(string format, Exception innerException, params ob { } +#if !(NET8_0_OR_GREATER) /// /// /// @@ -82,5 +83,6 @@ private NotAcceptableException(SerializationInfo serializationInfo, StreamingCon { } +#endif } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/NotFoundException.cs b/src/redmine-net-api/Exceptions/NotFoundException.cs index 71722e93..cde236b1 100644 --- a/src/redmine-net-api/Exceptions/NotFoundException.cs +++ b/src/redmine-net-api/Exceptions/NotFoundException.cs @@ -74,6 +74,7 @@ public NotFoundException(string format, Exception innerException, params object[ { } +#if !(NET8_0_OR_GREATER) /// /// /// @@ -83,5 +84,6 @@ private NotFoundException(SerializationInfo serializationInfo, StreamingContext { } +#endif } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/RedmineApiException.cs b/src/redmine-net-api/Exceptions/RedmineApiException.cs index 9a544503..a858e304 100644 --- a/src/redmine-net-api/Exceptions/RedmineApiException.cs +++ b/src/redmine-net-api/Exceptions/RedmineApiException.cs @@ -73,6 +73,7 @@ public RedmineApiException(string message, Exception inner, string errorCode, bo /// Value indicating whether the exception is transient or not. public bool IsTransient { get; } + #if !(NET8_0_OR_GREATER) /// public override void GetObjectData(SerializationInfo info, StreamingContext context) { @@ -81,5 +82,6 @@ public override void GetObjectData(SerializationInfo info, StreamingContext cont info.AddValue(nameof(this.ErrorCode), this.ErrorCode); info.AddValue(nameof(this.IsTransient), this.IsTransient); } + #endif } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/RedmineException.cs b/src/redmine-net-api/Exceptions/RedmineException.cs index 9ce2af67..ccb10313 100644 --- a/src/redmine-net-api/Exceptions/RedmineException.cs +++ b/src/redmine-net-api/Exceptions/RedmineException.cs @@ -74,6 +74,7 @@ public RedmineException(string format, Exception innerException, params object[] { } + #if !(NET8_0_OR_GREATER) /// /// /// @@ -83,5 +84,6 @@ protected RedmineException(SerializationInfo serializationInfo, StreamingContext { } + #endif } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs b/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs index 0f4d89c4..a919fd96 100644 --- a/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs +++ b/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs @@ -76,6 +76,7 @@ public RedmineTimeoutException(string format, Exception innerException, params o { } +#if !(NET8_0_OR_GREATER) /// /// /// @@ -85,5 +86,6 @@ private RedmineTimeoutException(SerializationInfo serializationInfo, StreamingCo { } +#endif } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/UnauthorizedException.cs b/src/redmine-net-api/Exceptions/UnauthorizedException.cs index 7e063c58..c77c37f8 100644 --- a/src/redmine-net-api/Exceptions/UnauthorizedException.cs +++ b/src/redmine-net-api/Exceptions/UnauthorizedException.cs @@ -76,7 +76,7 @@ public UnauthorizedException(string format, Exception innerException, params obj : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) { } - +#if !(NET8_0_OR_GREATER) /// /// /// @@ -87,5 +87,6 @@ private UnauthorizedException(SerializationInfo serializationInfo, StreamingCont { } +#endif } } \ No newline at end of file From 7898d66df037df2595c738952d51293a54ff2d0b Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 20:07:27 +0200 Subject: [PATCH 394/601] [Obsolete] Mark methods & extensions --- ... RedmineManagerAsyncExtensionsObsolete.cs} | 14 +- src/redmine-net-api/IRedmineManager.cs | 326 +++++------------ .../IRedmineManagerObsolete.cs | 306 ++++++++++++++++ ...Client.cs => IRedmineWebClientObsolete.cs} | 1 + ...bClient.cs => RedmineWebClientObsolete.cs} | 7 + src/redmine-net-api/RedmineManager.cs | 333 +++++------------- src/redmine-net-api/RedmineManagerObsolete.cs | 275 ++++++++++++++- ...sync.cs => RedmineManagerAsyncObsolete.cs} | 4 +- 8 files changed, 749 insertions(+), 517 deletions(-) rename src/redmine-net-api/Extensions/{RedmineManagerAsyncExtensions.cs => RedmineManagerAsyncExtensionsObsolete.cs} (95%) create mode 100644 src/redmine-net-api/IRedmineManagerObsolete.cs rename src/redmine-net-api/Net/WebClient/{IRedmineWebClient.cs => IRedmineWebClientObsolete.cs} (97%) rename src/redmine-net-api/Net/WebClient/{RedmineWebClient.cs => RedmineWebClientObsolete.cs} (96%) rename src/redmine-net-api/_net20/{RedmineManagerAsync.cs => RedmineManagerAsyncObsolete.cs} (98%) diff --git a/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensionsObsolete.cs similarity index 95% rename from src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.cs rename to src/redmine-net-api/Extensions/RedmineManagerAsyncExtensionsObsolete.cs index fad99217..dd605bef 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensionsObsolete.cs @@ -220,7 +220,7 @@ public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmine [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static async Task CountAsync(this RedmineManager redmineManager, params string[] include) where T : class, new() { - return await RedmineManagerExtensions.CountAsync(redmineManager, include).ConfigureAwait(false); + return await redmineManager.CountAsync(null, CancellationToken.None).ConfigureAwait(false); } /// @@ -265,7 +265,7 @@ public static async Task> GetObjectsAsync(this RedmineManager redmine where T : class, new() { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); - return await redmineManager.GetObjectsAsync(requestOptions).ConfigureAwait(false); + return await redmineManager.GetAsync(requestOptions).ConfigureAwait(false); } /// @@ -281,7 +281,7 @@ public static async Task GetObjectAsync(this RedmineManager redmineManager where T : class, new() { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); - return await redmineManager.GetObjectAsync(id, requestOptions).ConfigureAwait(false); + return await redmineManager.GetAsync(id, requestOptions).ConfigureAwait(false); } /// @@ -296,7 +296,7 @@ public static async Task CreateObjectAsync(this RedmineManager redmineMana where T : class, new() { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - return await redmineManager.CreateObjectAsync(entity, null, requestOptions).ConfigureAwait(false); + return await redmineManager.CreateAsync(entity, null, requestOptions).ConfigureAwait(false); } /// @@ -312,7 +312,7 @@ public static async Task CreateObjectAsync(this RedmineManager redmineMana where T : class, new() { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - return await redmineManager.CreateObjectAsync(entity, ownerId, requestOptions, CancellationToken.None).ConfigureAwait(false); + return await redmineManager.CreateAsync(entity, ownerId, requestOptions, CancellationToken.None).ConfigureAwait(false); } /// @@ -328,7 +328,7 @@ public static async Task UpdateObjectAsync(this RedmineManager redmineManager where T : class, new() { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - await redmineManager.UpdateObjectAsync(id, entity, requestOptions).ConfigureAwait(false); + await redmineManager.UpdateAsync(id, entity, requestOptions).ConfigureAwait(false); } /// @@ -343,7 +343,7 @@ public static async Task DeleteObjectAsync(this RedmineManager redmineManager where T : class, new() { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - await redmineManager.DeleteObjectAsync(id, requestOptions).ConfigureAwait(false); + await redmineManager.DeleteAsync(id, requestOptions).ConfigureAwait(false); } /// diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index c3519e8b..b8148141 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -14,260 +14,102 @@ You may obtain a copy of the License at limitations under the License. */ -using System; using System.Collections.Generic; -using System.Collections.Specialized; -using System.Net; -using System.Net.Security; -using System.Security.Cryptography.X509Certificates; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Net; using Redmine.Net.Api.Serialization; -namespace Redmine.Net.Api.Types +namespace Redmine.Net.Api.Types; + +/// +/// +/// +public partial interface IRedmineManager { /// /// /// - public interface IRedmineManager - { - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]string Host { get; } - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]string ApiKey { get; } - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]int PageSize { get; set; } - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]string ImpersonateUser { get; set; } - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]MimeFormat MimeFormat { get; } - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]IWebProxy Proxy { get; } - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]SecurityProtocolType SecurityProtocolType { get; } - - /// - /// - /// - /// - /// - User GetCurrentUser(NameValueCollection parameters = null); - - /// - /// - /// - /// - /// - void AddUserToGroup(int groupId, int userId); - /// - /// - /// - /// - /// - void RemoveUserFromGroup(int groupId, int userId); - - /// - /// - /// - /// - /// - void AddWatcherToIssue(int issueId, int userId); - /// - /// - /// - /// - /// - void RemoveWatcherFromIssue(int issueId, int userId); - - /// - /// - /// - /// - /// - /// - /// - WikiPage CreateWikiPage(string projectId, string pageName, WikiPage wikiPage); - - /// - /// - /// - /// - /// - /// - void UpdateWikiPage(string projectId, string pageName, WikiPage wikiPage); - - /// - /// - /// - /// - /// - /// - /// - /// - WikiPage GetWikiPage(string projectId, NameValueCollection parameters, string pageName, uint version = 0); - /// - /// - /// - /// - /// - List GetAllWikiPages(string projectId); - /// - /// - /// - /// - /// - void DeleteWikiPage(string projectId, string pageName); + /// + /// + /// + int Count(RequestOptions requestOptions = null) + where T : class, new(); - /// - /// - /// - /// - /// - Upload UploadFile(byte[] data); - /// - /// - /// - /// - /// - void UpdateAttachment(int issueId, Attachment attachment); + /// + /// + /// + /// + /// + /// + /// + T Get(string id, RequestOptions requestOptions = null) + where T : class, new(); - /// - /// - /// - /// query strings. enable to specify multiple values separated by a space " ". - /// number of results in response. - /// skip this number of results in response - /// Optional filters. - /// - /// Returns the search results by the specified condition parameters. - /// - PagedResults Search(string q, int limit , int offset = 0, - SearchFilterBuilder searchFilter = null); - - /// - /// - /// - /// - /// - byte[] DownloadFile(string address); - - /// - /// - /// - /// - /// - /// - PagedResults GetPaginatedObjects(NameValueCollection parameters) where T : class, new(); + /// + /// + /// + /// + /// + /// + List Get(RequestOptions requestOptions = null) + where T : class, new(); - /// - /// - /// - /// - /// - /// - int Count(params string[] include) where T : class, new(); - - /// - /// - /// - /// - /// - /// - int Count(NameValueCollection parameters = null) where T : class, new(); + /// + /// + /// + /// + /// + /// + PagedResults GetPaginated(RequestOptions requestOptions = null) + where T : class, new(); - /// - /// - /// - /// - /// - /// - /// - T GetObject(string id, NameValueCollection parameters) where T : class, new(); - /// - /// - /// - /// - /// - /// - /// - /// - List GetObjects(int limit, int offset, params string[] include) where T : class, new(); - /// - /// - /// - /// - /// - /// - List GetObjects(params string[] include) where T : class, new(); + /// + /// + /// + /// + /// + /// + /// + /// + T Create(T entity, string ownerId = null,RequestOptions requestOptions = null) + where T : class, new(); - /// - /// - /// - /// - /// - /// - List GetObjects(NameValueCollection parameters) where T : class, new(); + /// + /// + /// + /// + /// + /// + /// + /// + void Update(string id, T entity, string projectId = null, RequestOptions requestOptions = null) + where T : class, new(); - /// - /// - /// - /// - /// - /// - T CreateObject(T entity) where T : class, new(); - /// - /// - /// - /// - /// - /// - /// - T CreateObject(T entity, string ownerId) where T : class, new(); - - /// - /// - /// - /// - /// - /// - /// - void UpdateObject(string id, T entity, string projectId = null) where T : class, new(); + /// + /// + /// + /// + /// + /// + void Delete(string id, RequestOptions requestOptions = null) + where T : class, new(); + + /// + /// Support for adding attachments through the REST API is added in Redmine 1.4.0. + /// Upload a file to server. + /// + /// The content of the file that will be uploaded on server. + /// + /// Returns the token for uploaded file. + /// + /// + Upload UploadFile(byte[] data); - /// - /// - /// - /// - /// - /// - void DeleteObject(string id, NameValueCollection parameters = null) where T : class, new(); - - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]RedmineWebClient CreateWebClient(NameValueCollection parameters, bool uploadFile = false); - /// - /// - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors sslPolicyErrors); - } + /// + /// Downloads a file from the specified address. + /// + /// The address. + /// The content of the downloaded file as a byte array. + /// + byte[] DownloadFile(string address); } \ No newline at end of file diff --git a/src/redmine-net-api/IRedmineManagerObsolete.cs b/src/redmine-net-api/IRedmineManagerObsolete.cs new file mode 100644 index 00000000..553627f9 --- /dev/null +++ b/src/redmine-net-api/IRedmineManagerObsolete.cs @@ -0,0 +1,306 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Collections.Specialized; +using System.Net; +using System.Net.Security; +using System.Security.Cryptography.X509Certificates; +using Redmine.Net.Api.Serialization; + +namespace Redmine.Net.Api.Types +{ + /// + /// + /// + public partial interface IRedmineManager + { + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + string Host { get; } + + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + string ApiKey { get; } + + /// + /// Maximum page-size when retrieving complete object lists + /// + /// By default only 25 results can be retrieved per request. Maximum is 100. To change the maximum value set + /// in your Settings -> General, "Objects per page options".By adding (for instance) 9999 there would make you + /// able to get that many results per request. + /// + /// + /// + /// The size of the page. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + int PageSize { get; set; } + + /// + /// As of Redmine 2.2.0 you can impersonate user setting user login (eg. jsmith). This only works when using the API + /// with an administrator account, this header will be ignored when using the API with a regular user account. + /// + /// + /// The impersonate user. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + string ImpersonateUser { get; set; } + + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + MimeFormat MimeFormat { get; } + + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + IWebProxy Proxy { get; } + + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + SecurityProtocolType SecurityProtocolType { get; } + + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'GetCurrentUser' extension instead")] + User GetCurrentUser(NameValueCollection parameters = null); + + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'AddUserToGroup' extension instead")] + void AddUserToGroup(int groupId, int userId); + + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'RemoveUserFromGroup' extension instead")] + void RemoveUserFromGroup(int groupId, int userId); + + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'AddWatcherToIssue' extension instead")] + void AddWatcherToIssue(int issueId, int userId); + + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'RemoveWatcherFromIssue' extension instead")] + void RemoveWatcherFromIssue(int issueId, int userId); + + /// + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'CreateWikiPage' extension instead")] + WikiPage CreateWikiPage(string projectId, string pageName, WikiPage wikiPage); + + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'UpdateWikiPage' extension instead")] + void UpdateWikiPage(string projectId, string pageName, WikiPage wikiPage); + + /// + /// + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'GetWikiPage' extension instead")] + WikiPage GetWikiPage(string projectId, NameValueCollection parameters, string pageName, uint version = 0); + + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'GetAllWikiPages' extension instead")] + List GetAllWikiPages(string projectId); + + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'DeleteWikiPage' extension instead")] + void DeleteWikiPage(string projectId, string pageName); + + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'UpdateAttachment' extension instead")] + void UpdateAttachment(int issueId, Attachment attachment); + + /// + /// + /// + /// query strings. enable to specify multiple values separated by a space " ". + /// number of results in response. + /// skip this number of results in response + /// Optional filters. + /// + /// Returns the search results by the specified condition parameters. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Search' extension instead")] + PagedResults Search(string q, int limit , int offset = 0, SearchFilterBuilder searchFilter = null); + + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'GetPaginated' method instead")] + PagedResults GetPaginatedObjects(NameValueCollection parameters) where T : class, new(); + + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Count' method instead")] + int Count(params string[] include) where T : class, new(); + + /// + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Get' method instead")] + T GetObject(string id, NameValueCollection parameters) where T : class, new(); + + /// + /// + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Get' method instead")] + List GetObjects(int limit, int offset, params string[] include) where T : class, new(); + + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Get' method instead")] + List GetObjects(params string[] include) where T : class, new(); + + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Get' method instead")] + List GetObjects(NameValueCollection parameters) where T : class, new(); + + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Create' method instead")] + T CreateObject(T entity) where T : class, new(); + /// + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Create' method instead")] + T CreateObject(T entity, string ownerId) where T : class, new(); + + /// + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Update' method instead")] + void UpdateObject(string id, T entity, string projectId = null) where T : class, new(); + + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Delete' method instead")] + void DeleteObject(string id, NameValueCollection parameters = null) where T : class, new(); + + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + RedmineWebClient CreateWebClient(NameValueCollection parameters, bool uploadFile = false); + /// + /// + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors sslPolicyErrors); + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/IRedmineWebClient.cs b/src/redmine-net-api/Net/WebClient/IRedmineWebClientObsolete.cs similarity index 97% rename from src/redmine-net-api/Net/WebClient/IRedmineWebClient.cs rename to src/redmine-net-api/Net/WebClient/IRedmineWebClientObsolete.cs index 91cf5bb2..1f6be22c 100644 --- a/src/redmine-net-api/Net/WebClient/IRedmineWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/IRedmineWebClientObsolete.cs @@ -24,6 +24,7 @@ namespace Redmine.Net.Api.Types /// /// /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public interface IRedmineWebClient { /// diff --git a/src/redmine-net-api/Net/WebClient/RedmineWebClient.cs b/src/redmine-net-api/Net/WebClient/RedmineWebClientObsolete.cs similarity index 96% rename from src/redmine-net-api/Net/WebClient/RedmineWebClient.cs rename to src/redmine-net-api/Net/WebClient/RedmineWebClientObsolete.cs index 6db3ee4d..688a499e 100644 --- a/src/redmine-net-api/Net/WebClient/RedmineWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/RedmineWebClientObsolete.cs @@ -24,6 +24,8 @@ namespace Redmine.Net.Api /// /// /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + #pragma warning disable SYSLIB0014 public class RedmineWebClient : WebClient { private string redirectUrl = string.Empty; @@ -203,7 +205,11 @@ protected void HandleRedirect(WebRequest request, WebResponse response) } // Have to make sure that the "/" symbol is between the "host" and "redirect" strings + #if NET5_0_OR_GREATER + if (!redirectUrl.StartsWith('/') && !host.EndsWith('/')) + #else if (!redirectUrl.StartsWith("/", StringComparison.OrdinalIgnoreCase) && !host.EndsWith("/", StringComparison.OrdinalIgnoreCase)) + #endif { redirectUrl = $"/{redirectUrl}"; } @@ -250,4 +256,5 @@ protected void HandleCookies(WebRequest request, WebResponse response) CookieContainer.Add(col); } } + #pragma warning restore SYSLIB0014 } \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index cac2c338..f683dc3a 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -19,20 +19,12 @@ limitations under the License. using System.Collections.Specialized; using System.Globalization; using System.Net; -using System.Net.Security; -using System.Security.Cryptography.X509Certificates; -using System.Text; -using System.Text.RegularExpressions; using Redmine.Net.Api.Authentication; -using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Internals; using Redmine.Net.Api.Net; using Redmine.Net.Api.Net.WebClient; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; -using Group = Redmine.Net.Api.Types.Group; -using Version = Redmine.Net.Api.Types.Version; namespace Redmine.Net.Api { @@ -76,7 +68,7 @@ public RedmineManager(RedmineManagerOptionsBuilder optionsBuilder) Scheme = _redmineManagerOptions.BaseAddress.Scheme; Proxy = _redmineManagerOptions.ClientOptions.Proxy; Timeout = _redmineManagerOptions.ClientOptions.Timeout; - MimeFormat = "xml".Equals(Serializer.Format, StringComparison.OrdinalIgnoreCase) ? MimeFormat.Xml : MimeFormat.Json; + MimeFormat = RedmineConstants.XML.Equals(Serializer.Format, StringComparison.OrdinalIgnoreCase) ? MimeFormat.Xml : MimeFormat.Json; _redmineManagerOptions.ClientOptions.SecurityProtocolType ??= ServicePointManager.SecurityProtocol; @@ -88,59 +80,25 @@ public RedmineManager(RedmineManagerOptionsBuilder optionsBuilder) } RedmineApiUrls = new RedmineApiUrls(Serializer.Format); - ApiClient = new RedmineApiClient(_redmineManagerOptions); + ApiClient = new InternalRedmineApiWebClient(_redmineManagerOptions); } - - /// - /// Maximum page-size when retrieving complete object lists - /// - /// By default only 25 results can be retrieved per request. Maximum is 100. To change the maximum value set - /// in your Settings -> General, "Objects per page options".By adding (for instance) 9999 there would make you - /// able to get that many results per request. - /// - /// - /// - /// The size of the page. - /// - public int PageSize { get; set; } - - /// - /// As of Redmine 2.2.0 you can impersonate user setting user login (eg. jsmith). This only works when using the API - /// with an administrator account, this header will be ignored when using the API with a regular user account. - /// - /// - /// The impersonate user. - /// - public string ImpersonateUser { get; set; } - /// - /// - /// - /// - /// - /// - public int Count(params string[] include) where T : class, new() - { - var parameters = NameValueCollectionExtensions.AddParamsIfExist(null, include); - - return Count(parameters); - } - - /// - /// - /// - /// - /// - /// - public int Count(NameValueCollection parameters) where T : class, new() + /// + public int Count(RequestOptions requestOptions = null) + where T : class, new() { var totalCount = 0; const int PAGE_SIZE = 1; const int OFFSET = 0; - parameters.AddPagingParameters(PAGE_SIZE, OFFSET); + if (requestOptions == null) + { + requestOptions = new RequestOptions(); + } - var tempResult = GetPaginatedObjects(parameters); + requestOptions.QueryString = requestOptions.QueryString.AddPagingParameters(PAGE_SIZE, OFFSET); + + var tempResult = GetPaginatedObjects(requestOptions.QueryString); if (tempResult != null) { @@ -150,98 +108,95 @@ public RedmineManager(RedmineManagerOptionsBuilder optionsBuilder) return totalCount; } - /// - /// Gets the redmine object based on id. - /// - /// The type of objects to retrieve. - /// The id of the object. - /// Optional filters and/or optional fetched data. - /// - /// Returns the object of type T. - /// - /// - /// - /// string issueId = "927"; - /// NameValueCollection parameters = null; - /// Issue issue = redmineManager.GetObject<Issue>(issueId, parameters); - /// - /// - public T GetObject(string id, NameValueCollection parameters) where T : class, new() + /// + public T Get(string id, RequestOptions requestOptions = null) + where T : class, new() { var url = RedmineApiUrls.GetFragment(id); - var response = ApiClient.Get(url, parameters != null ? new RequestOptions { QueryString = parameters } : null); + var response = ApiClient.Get(url, requestOptions); return response.DeserializeTo(Serializer); } - /// - /// Returns the complete list of objects. - /// - /// - /// Optional fetched data. - /// - /// Optional fetched data: - /// Project: trackers, issue_categories, enabled_modules (since Redmine 2.6.0) - /// Issue: children, attachments, relations, changesets, journals, watchers (since Redmine 2.3.0) - /// Users: memberships, groups (since Redmine 2.1) - /// Groups: users, memberships - /// - /// Returns the complete list of objects. - public List GetObjects(params string[] include) where T : class, new() + /// + public List Get(RequestOptions requestOptions = null) + where T : class, new() + { + var uri = RedmineApiUrls.GetListFragment(); + + return GetObjects(uri, requestOptions); + } + + /// + public PagedResults GetPaginated(RequestOptions requestOptions = null) + where T : class, new() + { + var url = RedmineApiUrls.GetListFragment(); + + return GetPaginatedObjects(url, requestOptions); + } + + /// + public T Create(T entity, string ownerId = null, RequestOptions requestOptions = null) + where T : class, new() { - var parameters = NameValueCollectionExtensions.AddParamsIfExist(null, include); + var url = RedmineApiUrls.CreateEntityFragment(ownerId); - return GetObjects(parameters); + var payload = Serializer.Serialize(entity); + + var response = ApiClient.Create(url, payload, requestOptions); + + return response.DeserializeTo(Serializer); } - - /// - /// Returns the complete list of objects. - /// - /// - /// The page size. - /// The offset. - /// Optional fetched data. - /// - /// Optional fetched data: - /// Project: trackers, issue_categories, enabled_modules (since 2.6.0) - /// Issue: children, attachments, relations, changesets, journals, watchers - Since 2.3.0 - /// Users: memberships, groups (added in 2.1) - /// Groups: users, memberships - /// - /// Returns the complete list of objects. - public List GetObjects(int limit, int offset, params string[] include) where T : class, new() + + /// + public void Update(string id, T entity, string projectId = null, RequestOptions requestOptions = null) + where T : class, new() + { + var url = RedmineApiUrls.UpdateFragment(id); + + var payload = Serializer.Serialize(entity); + + ApiClient.Update(url, payload, requestOptions); + } + + /// + public void Delete(string id, RequestOptions requestOptions = null) + where T : class, new() { - var parameters = NameValueCollectionExtensions - .AddParamsIfExist(null, include) - .AddPagingParameters(limit, offset); + var url = RedmineApiUrls.DeleteFragment(id); - return GetObjects(parameters); + ApiClient.Delete(url, requestOptions); } - /// - /// Returns the complete list of objects. - /// - /// The type of objects to retrieve. - /// Optional filters and/or optional fetched data. - /// - /// Returns a complete list of objects. - /// - public List GetObjects(NameValueCollection parameters = null) where T : class, new() + /// + public Upload UploadFile(byte[] data) { - var uri = RedmineApiUrls.GetListFragment(); + var url = RedmineApiUrls.UploadFragment(); + + var response = ApiClient.Upload(url, data); - return GetObjects(uri, parameters != null ? new RequestOptions { QueryString = parameters } : null); + return response.DeserializeTo(Serializer); } - /// + /// + public byte[] DownloadFile(string address) + { + var response = ApiClient.Download(address); + + return response.Content; + } + + /// /// /// /// /// /// /// - internal List GetObjects(string uri, RequestOptions requestOptions = null) where T : class, new() + internal List GetObjects(string uri, RequestOptions requestOptions = null) + where T : class, new() { int pageSize = 0, offset = 0; var isLimitSet = false; @@ -304,20 +259,7 @@ public RedmineManager(RedmineManagerOptionsBuilder optionsBuilder) return resultList; } - - /// - /// Gets the paginated objects. - /// - /// - /// The parameters. - /// - public PagedResults GetPaginatedObjects(NameValueCollection parameters) where T : class, new() - { - var url = RedmineApiUrls.GetListFragment(); - - return GetPaginatedObjects(url, parameters != null ? new RequestOptions { QueryString = parameters } : null); - } - + /// /// /// @@ -325,7 +267,8 @@ public RedmineManager(RedmineManagerOptionsBuilder optionsBuilder) /// /// /// - internal PagedResults GetPaginatedObjects(string uri = null, RequestOptions requestOptions = null) where T : class, new() + internal PagedResults GetPaginatedObjects(string uri = null, RequestOptions requestOptions = null) + where T : class, new() { uri = uri.IsNullOrWhiteSpace() ? RedmineApiUrls.GetListFragment() : uri; @@ -333,121 +276,5 @@ public RedmineManager(RedmineManagerOptionsBuilder optionsBuilder) return response.DeserializeToPagedResults(Serializer); } - - /// - /// Creates a new Redmine object. - /// - /// The type of object to create. - /// The object to create. - /// - /// - /// - /// When trying to create an object with invalid or missing attribute parameters, you will get a 422 Unprocessable - /// Entity response. That means that the object could not be created. - /// - public T CreateObject(T entity) where T : class, new() - { - return CreateObject(entity, null); - } - - /// - /// Creates a new Redmine object. - /// - /// The type of object to create. - /// The object to create. - /// The owner identifier. - /// - /// - /// - /// When trying to create an object with invalid or missing attribute parameters, you will get a 422 Unprocessable - /// Entity response. That means that the object could not be created. - /// - /// - /// - /// var project = new Project(); - /// project.Name = "test"; - /// project.Identifier = "the project identifier"; - /// project.Description = "the project description"; - /// redmineManager.CreateObject(project); - /// - /// - public T CreateObject(T entity, string ownerId) where T : class, new() - { - var url = RedmineApiUrls.CreateEntityFragment(ownerId); - - var payload = Serializer.Serialize(entity); - - var response = ApiClient.Create(url, payload); - - return response.DeserializeTo(Serializer); - } - - /// - /// Updates a Redmine object. - /// - /// The type of object to be update. - /// The id of the object to be update. - /// The object to be update. - /// The project identifier. - /// - /// - /// When trying to update an object with invalid or missing attribute parameters, you will get a - /// 422(RedmineException) Unprocessable Entity response. That means that the object could not be updated. - /// - /// - /// - public void UpdateObject(string id, T entity, string projectId = null) where T : class, new() - { - var url = RedmineApiUrls.UpdateFragment(id); - - var payload = Serializer.Serialize(entity); - - ApiClient.Update(url, payload); - } - - /// - /// Deletes the Redmine object. - /// - /// The type of objects to delete. - /// The id of the object to delete - /// The parameters - /// - /// - public void DeleteObject(string id, NameValueCollection parameters = null) where T : class, new() - { - var url = RedmineApiUrls.DeleteFragment(id); - - ApiClient.Delete(url, parameters != null ? new RequestOptions { QueryString = parameters } : null); - } - - /// - /// Support for adding attachments through the REST API is added in Redmine 1.4.0. - /// Upload a file to server. - /// - /// The content of the file that will be uploaded on server. - /// - /// Returns the token for uploaded file. - /// - /// - public Upload UploadFile(byte[] data) - { - var url = RedmineApiUrls.UploadFragment(); - - var response = ApiClient.Upload(url, data); - - return response.DeserializeTo(Serializer); - } - - /// - /// Downloads a file from the specified address. - /// - /// The address. - /// The content of the downloaded file as a byte array. - /// - public byte[] DownloadFile(string address) - { - var response = ApiClient.Download(address); - return response.Content; - } } } \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManagerObsolete.cs b/src/redmine-net-api/RedmineManagerObsolete.cs index f7b40ebb..c3bdfec6 100644 --- a/src/redmine-net-api/RedmineManagerObsolete.cs +++ b/src/redmine-net-api/RedmineManagerObsolete.cs @@ -20,7 +20,9 @@ limitations under the License. using System.Net; using System.Net.Security; using System.Security.Cryptography.X509Certificates; +using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net; using Redmine.Net.Api.Net.WebClient; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; @@ -34,7 +36,8 @@ public partial class RedmineManager { /// /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use RedmineConstants.DEFAULT_PAGE_SIZE")]public const int DEFAULT_PAGE_SIZE_VALUE = 25; + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use RedmineConstants.DEFAULT_PAGE_SIZE")] + public const int DEFAULT_PAGE_SIZE_VALUE = 25; /// /// Initializes a new instance of the class. @@ -125,29 +128,33 @@ public RedmineManager(string host, string login, string password, MimeFormat mim SecurityProtocolType = securityProtocolType })) {} - #region Obsolete + /// /// Gets the suffixes. /// /// /// The suffixes. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public static Dictionary Suffixes => null; + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public static Dictionary Suffixes => null; /// /// /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public string Format { get; } + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public string Format { get; } /// /// /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public string Scheme { get; } + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public string Scheme { get; } /// /// /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public TimeSpan? Timeout { get; } + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public TimeSpan? Timeout { get; } /// /// Gets the host. @@ -155,7 +162,8 @@ public RedmineManager(string host, string login, string password, MimeFormat mim /// /// The host. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public string Host { get; } + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public string Host { get; } /// /// The ApiKey used to authenticate. @@ -163,7 +171,8 @@ public RedmineManager(string host, string login, string password, MimeFormat mim /// /// The API key. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public string ApiKey { get; } + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public string ApiKey { get; } /// /// Gets the MIME format. @@ -171,7 +180,8 @@ public RedmineManager(string host, string login, string password, MimeFormat mim /// /// The MIME format. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public MimeFormat MimeFormat { get; } + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public MimeFormat MimeFormat { get; } /// /// Gets the proxy. @@ -179,7 +189,8 @@ public RedmineManager(string host, string login, string password, MimeFormat mim /// /// The proxy. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public IWebProxy Proxy { get; } + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public IWebProxy Proxy { get; } /// /// Gets the type of the security protocol. @@ -187,14 +198,32 @@ public RedmineManager(string host, string login, string password, MimeFormat mim /// /// The type of the security protocol. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)]public SecurityProtocolType SecurityProtocolType { get; } - #endregion + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public SecurityProtocolType SecurityProtocolType { get; } + + + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public int PageSize { get; set; } + + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public string ImpersonateUser { get; set; } /// /// /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Returns null")] - public static readonly Dictionary TypesWithOffset = null; + [Obsolete(RedmineConstants.OBSOLETE_TEXT )] + public static readonly Dictionary TypesWithOffset = new Dictionary{ + {typeof(Issue), true}, + {typeof(Project), true}, + {typeof(User), true}, + {typeof(News), true}, + {typeof(Query), true}, + {typeof(TimeEntry), true}, + {typeof(ProjectMembership), true}, + {typeof(Search), true} + }; /// /// Returns the user whose credentials are used to access the API. @@ -356,6 +385,224 @@ public PagedResults Search(string q, int limit = DEFAULT_PAGE_SIZE_VALUE return RedmineManagerExtensions.Search(this, q, limit, offset, searchFilter); } + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public int Count(params string[] include) where T : class, new() + { + var parameters = NameValueCollectionExtensions.AddParamsIfExist(null, include); + + return Count(parameters); + } + + /// + /// + /// + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public int Count(NameValueCollection parameters) where T : class, new() + { + return Count(parameters != null ? new RequestOptions { QueryString = parameters } : null); + } + + /// + /// Gets the redmine object based on id. + /// + /// The type of objects to retrieve. + /// The id of the object. + /// Optional filters and/or optional fetched data. + /// + /// Returns the object of type T. + /// + /// + /// + /// string issueId = "927"; + /// NameValueCollection parameters = null; + /// Issue issue = redmineManager.GetObject<Issue>(issueId, parameters); + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public T GetObject(string id, NameValueCollection parameters) where T : class, new() + { + var url = RedmineApiUrls.GetFragment(id); + + var response = ApiClient.Get(url, parameters != null ? new RequestOptions { QueryString = parameters } : null); + + return response.DeserializeTo(Serializer); + } + + /// + /// Returns the complete list of objects. + /// + /// + /// Optional fetched data. + /// + /// Optional fetched data: + /// Project: trackers, issue_categories, enabled_modules (since Redmine 2.6.0) + /// Issue: children, attachments, relations, changesets, journals, watchers (since Redmine 2.3.0) + /// Users: memberships, groups (since Redmine 2.1) + /// Groups: users, memberships + /// + /// Returns the complete list of objects. + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public List GetObjects(params string[] include) where T : class, new() + { + var parameters = NameValueCollectionExtensions.AddParamsIfExist(null, include); + + return GetObjects(parameters); + } + + /// + /// Returns the complete list of objects. + /// + /// + /// The page size. + /// The offset. + /// Optional fetched data. + /// + /// Optional fetched data: + /// Project: trackers, issue_categories, enabled_modules (since 2.6.0) + /// Issue: children, attachments, relations, changesets, journals, watchers - Since 2.3.0 + /// Users: memberships, groups (added in 2.1) + /// Groups: users, memberships + /// + /// Returns the complete list of objects. + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public List GetObjects(int limit, int offset, params string[] include) where T : class, new() + { + var parameters = NameValueCollectionExtensions + .AddParamsIfExist(null, include) + .AddPagingParameters(limit, offset); + + return GetObjects(parameters); + } + + /// + /// Returns the complete list of objects. + /// + /// The type of objects to retrieve. + /// Optional filters and/or optional fetched data. + /// + /// Returns a complete list of objects. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public List GetObjects(NameValueCollection parameters = null) where T : class, new() + { + var uri = RedmineApiUrls.GetListFragment(); + + return GetObjects(uri, parameters != null ? new RequestOptions { QueryString = parameters } : null); + } + + /// + /// Gets the paginated objects. + /// + /// + /// The parameters. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public PagedResults GetPaginatedObjects(NameValueCollection parameters) where T : class, new() + { + var url = RedmineApiUrls.GetListFragment(); + + return GetPaginatedObjects(url, parameters != null ? new RequestOptions { QueryString = parameters } : null); + } + + /// + /// Creates a new Redmine object. + /// + /// The type of object to create. + /// The object to create. + /// + /// + /// + /// When trying to create an object with invalid or missing attribute parameters, you will get a 422 Unprocessable + /// Entity response. That means that the object could not be created. + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public T CreateObject(T entity) where T : class, new() + { + return CreateObject(entity, null); + } + + /// + /// Creates a new Redmine object. + /// + /// The type of object to create. + /// The object to create. + /// The owner identifier. + /// + /// + /// + /// When trying to create an object with invalid or missing attribute parameters, you will get a 422 Unprocessable + /// Entity response. That means that the object could not be created. + /// + /// + /// + /// var project = new Project(); + /// project.Name = "test"; + /// project.Identifier = "the project identifier"; + /// project.Description = "the project description"; + /// redmineManager.CreateObject(project); + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public T CreateObject(T entity, string ownerId) where T : class, new() + { + var url = RedmineApiUrls.CreateEntityFragment(ownerId); + + var payload = Serializer.Serialize(entity); + + var response = ApiClient.Create(url, payload); + + return response.DeserializeTo(Serializer); + } + + /// + /// Updates a Redmine object. + /// + /// The type of object to be update. + /// The id of the object to be update. + /// The object to be update. + /// The project identifier. + /// + /// + /// When trying to update an object with invalid or missing attribute parameters, you will get a + /// 422(RedmineException) Unprocessable Entity response. That means that the object could not be updated. + /// + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public void UpdateObject(string id, T entity, string projectId = null) where T : class, new() + { + var url = RedmineApiUrls.UpdateFragment(id); + + var payload = Serializer.Serialize(entity); + + ApiClient.Update(url, payload); + } + + /// + /// Deletes the Redmine object. + /// + /// The type of objects to delete. + /// The id of the object to delete + /// The parameters + /// + /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + public void DeleteObject(string id, NameValueCollection parameters = null) where T : class, new() + { + var url = RedmineApiUrls.DeleteFragment(id); + + ApiClient.Delete(url, parameters != null ? new RequestOptions { QueryString = parameters } : null); + } + /// /// Creates the Redmine web client. /// diff --git a/src/redmine-net-api/_net20/RedmineManagerAsync.cs b/src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs similarity index 98% rename from src/redmine-net-api/_net20/RedmineManagerAsync.cs rename to src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs index acceb9b5..5a8a2fcc 100644 --- a/src/redmine-net-api/_net20/RedmineManagerAsync.cs +++ b/src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs @@ -29,6 +29,7 @@ namespace Redmine.Net.Api.Async /// /// /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public delegate void Task(); /// @@ -36,11 +37,12 @@ namespace Redmine.Net.Api.Async /// /// The type of the resource. /// - public delegate TRes Task(); + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public delegate TRes Task(); /// /// /// + [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public static class RedmineManagerAsync { /// From 6ea053798bea19cd24f8c53913eb2fd241a1b61b Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 20:10:05 +0200 Subject: [PATCH 395/601] [Code] Arrange & clean up --- .../Extensions/RedmineManagerExtensions.cs | 436 +++++------------- .../Internals/HashCodeHelper.cs | 12 +- 2 files changed, 136 insertions(+), 312 deletions(-) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index e162e155..043404d9 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -44,9 +44,11 @@ public static class RedmineManagerExtensions /// public static PagedResults GetProjectNews(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null) { - var uri = Uri.EscapeDataString(redmineManager.RedmineApiUrls.ProjectNews(projectIdentifier)); + var uri = redmineManager.RedmineApiUrls.ProjectNews(projectIdentifier); - var response = redmineManager.GetPaginatedObjects(uri, requestOptions); + var escapedUri = Uri.EscapeDataString(uri); + + var response = redmineManager.GetPaginatedObjects(escapedUri, requestOptions); return response; } @@ -71,12 +73,14 @@ public static News AddProjectNews(this RedmineManager redmineManager, string pro { throw new RedmineException("News title cannot be blank"); } - - var uri = Uri.EscapeDataString(redmineManager.RedmineApiUrls.ProjectNews(projectIdentifier)); - + var payload = redmineManager.Serializer.Serialize(news); + + var uri = Uri.EscapeDataString(redmineManager.RedmineApiUrls.ProjectNews(projectIdentifier)); + + var escapedUri = Uri.EscapeDataString(uri); - var response = redmineManager.ApiClient.Create(uri, payload, requestOptions); + var response = redmineManager.ApiClient.Create(escapedUri, payload, requestOptions); return response.DeserializeTo(redmineManager.Serializer); } @@ -223,9 +227,9 @@ public static void UpdateWikiPage(this RedmineManager redmineManager, string pro var uri = redmineManager.RedmineApiUrls.ProjectWikiPageUpdate(projectId, pageName); - uri = Uri.EscapeDataString(uri); + var escapedUri = Uri.EscapeDataString(uri); - redmineManager.ApiClient.Patch(uri, payload, requestOptions); + redmineManager.ApiClient.Patch(escapedUri, payload, requestOptions); } /// @@ -248,9 +252,9 @@ public static WikiPage CreateWikiPage(this RedmineManager redmineManager, string var uri = redmineManager.RedmineApiUrls.ProjectWikiPageUpdate(projectId, pageName); - uri = Uri.EscapeDataString(uri); + var escapedUri = Uri.EscapeDataString(uri); - var response = redmineManager.ApiClient.Create(uri, payload, requestOptions); + var response = redmineManager.ApiClient.Create(escapedUri, payload, requestOptions); return response.DeserializeTo(redmineManager.Serializer); } @@ -270,9 +274,9 @@ public static WikiPage GetWikiPage(this RedmineManager redmineManager, string pr ? redmineManager.RedmineApiUrls.ProjectWikiPage(projectId, pageName) : redmineManager.RedmineApiUrls.ProjectWikiPageVersion(projectId, pageName, version.ToString(CultureInfo.InvariantCulture)); - uri = Uri.EscapeDataString(uri); + var escapedUri = Uri.EscapeDataString(uri); - var response = redmineManager.ApiClient.Get(uri, requestOptions); + var response = redmineManager.ApiClient.Get(escapedUri, requestOptions); return response.DeserializeTo(redmineManager.Serializer); } @@ -305,9 +309,9 @@ public static void DeleteWikiPage(this RedmineManager redmineManager, string pro { var uri = redmineManager.RedmineApiUrls.ProjectWikiPageDelete(projectId, pageName); - uri = Uri.EscapeDataString(uri); + var escapedUri = Uri.EscapeDataString(uri); - redmineManager.ApiClient.Delete(uri, requestOptions); + redmineManager.ApiClient.Delete(escapedUri, requestOptions); } /// @@ -370,6 +374,96 @@ private static NameValueCollection CreateSearchParameters(string q, int limit, i } #if !(NET20) + + /// + /// + /// + /// + /// + /// + /// + /// + public static async Task> GetProjectNewsAsync(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.ProjectNews(projectIdentifier); + + var escapedUri = Uri.EscapeDataString(uri); + + var response = await redmineManager.ApiClient.GetPagedAsync(escapedUri, requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeToPagedResults(redmineManager.Serializer);; + } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static async Task AddProjectNewsAsync(this RedmineManager redmineManager, string projectIdentifier, News news, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + if (news == null) + { + throw new RedmineException("Argument news is null"); + } + + if (news.Title.IsNullOrWhiteSpace()) + { + throw new RedmineException("News title cannot be blank"); + } + + var payload = redmineManager.Serializer.Serialize(news); + + var uri = Uri.EscapeDataString(redmineManager.RedmineApiUrls.ProjectNews(projectIdentifier)); + + var escapedUri = Uri.EscapeDataString(uri); + + var response = await redmineManager.ApiClient.CreateAsync(escapedUri, payload, requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeTo(redmineManager.Serializer); + } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static async Task> GetProjectMembershipsAsync(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.ProjectMemberships(projectIdentifier); + + var response = await redmineManager.ApiClient.GetPagedAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeToPagedResults(redmineManager.Serializer);; + } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static async Task> GetProjectFilesAsync(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.ProjectFilesFragment(projectIdentifier); + + var response = await redmineManager.ApiClient.GetPagedAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeToPagedResults(redmineManager.Serializer);; + } + + /// /// /// @@ -429,9 +523,9 @@ public static async Task CreateWikiPageAsync(this RedmineManager redmi var url = redmineManager.RedmineApiUrls.ProjectWikiPageUpdate(projectId, pageName); - var uri = Uri.EscapeDataString(url); + var escapedUri = Uri.EscapeDataString(url); - var response = await redmineManager.ApiClient.CreateAsync(uri, payload,requestOptions, cancellationToken).ConfigureAwait(false); + var response = await redmineManager.ApiClient.CreateAsync(escapedUri, payload,requestOptions, cancellationToken).ConfigureAwait(false); return response.DeserializeTo(redmineManager.Serializer); } @@ -457,9 +551,9 @@ public static async Task UpdateWikiPageAsync(this RedmineManager redmineManager, var url = redmineManager.RedmineApiUrls.ProjectWikiPageUpdate(projectId, pageName); - var uri = Uri.EscapeDataString(url); + var escapedUri = Uri.EscapeDataString(url); - await redmineManager.ApiClient.PatchAsync(uri, payload, requestOptions, cancellationToken).ConfigureAwait(false); + await redmineManager.ApiClient.PatchAsync(escapedUri, payload, requestOptions, cancellationToken).ConfigureAwait(false); } /// @@ -475,45 +569,11 @@ public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, { var uri = redmineManager.RedmineApiUrls.ProjectWikiPageDelete(projectId, pageName); - uri = Uri.EscapeDataString(uri); + var escapedUri = Uri.EscapeDataString(uri); - await redmineManager.ApiClient.DeleteAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); - } - - /// - /// Support for adding attachments through the REST API is added in Redmine 1.4.0. - /// Upload a file to server. This method does not block the calling thread. - /// - /// The redmine manager. - /// The content of the file that will be uploaded on server. - /// - /// - /// - /// . - /// - public static async Task UploadFileAsync(this RedmineManager redmineManager, byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - var url = redmineManager.RedmineApiUrls.UploadFragment(); - - var response = await redmineManager.ApiClient.UploadFileAsync(url, data,requestOptions , cancellationToken: cancellationToken).ConfigureAwait(false); - - return response.DeserializeTo(redmineManager.Serializer); - } - - /// - /// Downloads the file asynchronous. - /// - /// The redmine manager. - /// The address. - /// - /// - /// - public static async Task DownloadFileAsync(this RedmineManager redmineManager, string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - var response = await redmineManager.ApiClient.DownloadAsync(address, requestOptions,cancellationToken: cancellationToken).ConfigureAwait(false); - return response.Content; + await redmineManager.ApiClient.DeleteAsync(escapedUri, requestOptions, cancellationToken).ConfigureAwait(false); } - + /// /// Gets the wiki page asynchronous. /// @@ -530,9 +590,9 @@ public static async Task GetWikiPageAsync(this RedmineManager redmineM ? redmineManager.RedmineApiUrls.ProjectWikiPage(projectId, pageName) : redmineManager.RedmineApiUrls.ProjectWikiPageVersion(projectId, pageName, version.ToString(CultureInfo.InvariantCulture)); - uri = Uri.EscapeDataString(uri); + var escapedUri = Uri.EscapeDataString(uri); - var response = await redmineManager.ApiClient.GetAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); + var response = await redmineManager.ApiClient.GetAsync(escapedUri, requestOptions, cancellationToken).ConfigureAwait(false); return response.DeserializeTo(redmineManager.Serializer); } @@ -623,270 +683,26 @@ public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmine await redmineManager.ApiClient.DeleteAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); } - - /// - /// - /// - /// - /// - /// - /// - public static async Task CountAsync(this RedmineManager redmineManager, params string[] include) where T : class, new() + #endif + + internal static RequestOptions CreateRequestOptions(NameValueCollection parameters = null, string impersonateUserName = null) { RequestOptions requestOptions = null; - - if (include is {Length: > 0}) + if (parameters != null) { requestOptions = new RequestOptions() { - QueryString = new NameValueCollection - { - {RedmineKeys.INCLUDE, string.Join(",", include)} - } + QueryString = parameters }; } - return await CountAsync(redmineManager, requestOptions).ConfigureAwait(false); - } - - /// - /// - /// - /// - /// - /// - /// - public static async Task CountAsync(this RedmineManager redmineManager, RequestOptions requestOptions) where T : class, new() - { - var totalCount = 0; - const int PAGE_SIZE = 1; - const int OFFSET = 0; - - if (requestOptions == null) + if (impersonateUserName.IsNullOrWhiteSpace()) { - requestOptions = new RequestOptions(); + return requestOptions; } - requestOptions.QueryString.AddPagingParameters(PAGE_SIZE, OFFSET); - - var tempResult = await GetPagedAsync(redmineManager, requestOptions).ConfigureAwait(false); - if (tempResult != null) - { - totalCount = tempResult.TotalItems; - } - - return totalCount; - } - - - /// - /// Gets the paginated objects asynchronous. - /// - /// - /// The redmine manager. - /// - /// - /// - public static async Task> GetPagedAsync(this RedmineManager redmineManager, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - where T : class, new() - { - var url = redmineManager.RedmineApiUrls.GetListFragment(); - - var response= await redmineManager.ApiClient.GetAsync(url, requestOptions, cancellationToken).ConfigureAwait(false); - - return response.DeserializeToPagedResults(redmineManager.Serializer); - } - - /// - /// Gets the objects asynchronous. - /// - /// - /// The redmine manager. - /// - /// - /// - public static async Task> GetObjectsAsync(this RedmineManager redmineManager, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - where T : class, new() - { - int pageSize = 0, offset = 0; - var isLimitSet = false; - List resultList = null; - - if (requestOptions == null) - { - requestOptions = new RequestOptions(); - } - - if (requestOptions.QueryString == null) - { - requestOptions.QueryString = new NameValueCollection(); - } - else - { - isLimitSet = int.TryParse(requestOptions.QueryString[RedmineKeys.LIMIT], out pageSize); - int.TryParse(requestOptions.QueryString[RedmineKeys.OFFSET], out offset); - } - - if (pageSize == default) - { - pageSize = redmineManager.PageSize > 0 - ? redmineManager.PageSize - : RedmineManager.DEFAULT_PAGE_SIZE_VALUE; - requestOptions.QueryString.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); - } - - try - { - var hasOffset = RedmineManager.TypesWithOffset.ContainsKey(typeof(T)); - if (hasOffset) - { - int totalCount; - do - { - requestOptions.QueryString.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); - - var tempResult = await redmineManager.GetPagedAsync(requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); - - totalCount = isLimitSet ? pageSize : tempResult.TotalItems; - - if (tempResult?.Items != null) - { - if (resultList == null) - { - resultList = new List(tempResult.Items); - } - else - { - resultList.AddRange(tempResult.Items); - } - } - - offset += pageSize; - } while (offset < totalCount); - } - else - { - var result = await redmineManager.GetPagedAsync(requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); - if (result?.Items != null) - { - return new List(result.Items); - } - } - } - catch (WebException wex) - { - wex.HandleWebException(redmineManager.Serializer); - } - - return resultList; - } - - /// - /// Gets a Redmine object. This method does not block the calling thread. - /// - /// The type of objects to retrieve. - /// The redmine manager. - /// The id of the object. - /// - /// - /// - public static async Task GetObjectAsync(this RedmineManager redmineManager, string id, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - where T : class, new() - { - var url = redmineManager.RedmineApiUrls.GetFragment(id); - - var response = await redmineManager.ApiClient.GetAsync(url,requestOptions, cancellationToken).ConfigureAwait(false); - - return response.DeserializeTo(redmineManager.Serializer); - } - - /// - /// Creates a new Redmine object. This method does not block the calling thread. - /// - /// The type of object to create. - /// The redmine manager. - /// The object to create. - /// - /// - /// - public static async Task CreateObjectAsync(this RedmineManager redmineManager, T entity, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - where T : class, new() - { - return await redmineManager.CreateObjectAsync( entity, null, requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - /// - /// Creates a new Redmine object. This method does not block the calling thread. - /// - /// The type of object to create. - /// The redmine manager. - /// The object to create. - /// The owner identifier. - /// - /// - /// - public static async Task CreateObjectAsync(this RedmineManager redmineManager, T entity, string ownerId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - where T : class, new() - { - var url = redmineManager.RedmineApiUrls.CreateEntityFragment(ownerId); - - var payload = redmineManager.Serializer.Serialize(entity); - - var response = await redmineManager.ApiClient.CreateAsync(url, payload, requestOptions, cancellationToken).ConfigureAwait(false); - - return response.DeserializeTo(redmineManager.Serializer); - } - - /// - /// Updates the object asynchronous. - /// - /// - /// The redmine manager. - /// The identifier. - /// The object. - /// - /// - /// - public static async Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T entity, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - where T : class, new() - { - var url = redmineManager.RedmineApiUrls.UpdateFragment(id); - - var payload = redmineManager.Serializer.Serialize(entity); - - await redmineManager.ApiClient.UpdateAsync(url, payload, requestOptions,cancellationToken: cancellationToken).ConfigureAwait(false); - // data = Regex.Replace(data, @"\r\n|\r|\n", "\r\n"); - } - - /// - /// Deletes the Redmine object. This method does not block the calling thread. - /// - /// The type of objects to delete. - /// The redmine manager. - /// The id of the object to delete - /// - /// - /// - public static async Task DeleteObjectAsync(this RedmineManager redmineManager, string id, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - where T : class, new() - { - var url = redmineManager.RedmineApiUrls.DeleteFragment(id); - - await redmineManager.ApiClient.DeleteAsync(url, requestOptions, cancellationToken).ConfigureAwait((false)); - } - #endif - - internal static RequestOptions CreateRequestOptions(NameValueCollection parameters = null, string impersonateUserName = null) - { - RequestOptions requestOptions = null; - if (parameters != null || !impersonateUserName.IsNullOrWhiteSpace()) - { - requestOptions = new RequestOptions() - { - QueryString = parameters, - ImpersonateUser = impersonateUserName - }; - } + requestOptions ??= new RequestOptions(); + requestOptions.ImpersonateUser = impersonateUserName; return requestOptions; } diff --git a/src/redmine-net-api/Internals/HashCodeHelper.cs b/src/redmine-net-api/Internals/HashCodeHelper.cs index 5f8982c8..ba8595c4 100755 --- a/src/redmine-net-api/Internals/HashCodeHelper.cs +++ b/src/redmine-net-api/Internals/HashCodeHelper.cs @@ -38,12 +38,20 @@ public static int GetHashCode(IList list, int hash) where T : class unchecked { var hashCode = hash; - if (list == null) return hashCode; + if (list == null) + { + return hashCode; + } + hashCode = (hashCode * 13) + list.Count; + foreach (var t in list) { hashCode *= 13; - if (t != null) hashCode += t.GetHashCode(); + if (t != null) + { + hashCode += t.GetHashCode(); + } } return hashCode; From 9cb1b9db050b38d4bc7f8bc1cb0a2d117db0cbbd Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 20:11:18 +0200 Subject: [PATCH 396/601] [RedmineKeys] Add account, index & my keys --- src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs | 4 ++-- src/redmine-net-api/RedmineKeys.cs | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs b/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs index aa415007..b16ff47f 100644 --- a/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs +++ b/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs @@ -23,7 +23,7 @@ internal static class RedmineApiUrlsExtensions { public static string MyAccount(this RedmineApiUrls redmineApiUrls) { - return $"my/account.{redmineApiUrls.Format}"; + return $"{RedmineKeys.MY}/{RedmineKeys.ACCOUNT}.{redmineApiUrls.Format}"; } public static string CurrentUser(this RedmineApiUrls redmineApiUrls) @@ -53,7 +53,7 @@ public static string ProjectMemberships(this RedmineApiUrls redmineApiUrls, stri public static string ProjectWikiIndex(this RedmineApiUrls redmineApiUrls, string projectId) { - return $"{RedmineKeys.PROJECTS}/{projectId}/{RedmineKeys.WIKI}/index.{redmineApiUrls.Format}"; + return $"{RedmineKeys.PROJECTS}/{projectId}/{RedmineKeys.WIKI}/{RedmineKeys.INDEX}.{redmineApiUrls.Format}"; } public static string ProjectWikiPage(this RedmineApiUrls redmineApiUrls, string projectId, string wikiPageName) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index f5863407..5bd7661e 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -20,6 +20,10 @@ namespace Redmine.Net.Api /// public static class RedmineKeys { + /// + /// + /// + public const string ACCOUNT = "account"; /// /// /// @@ -329,6 +333,10 @@ public static class RedmineKeys /// /// /// + public const string INDEX = "index"; + /// + /// + /// public const string INHERITED = "inherited"; /// /// @@ -479,6 +487,10 @@ public static class RedmineKeys /// /// /// + public const string MY = "my"; + /// + /// + /// public const string NAME = "name"; /// /// From ab3755bbc64997ae10ff2037873f8d9d88e06ecd Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 20:12:14 +0200 Subject: [PATCH 397/601] [New] [RedmineManagerAsync] Interface & implementation --- src/redmine-net-api/IRedmineManagerAsync.cs | 154 +++++++++++++++ src/redmine-net-api/RedmineManagerAsync.cs | 209 ++++++++++++++++++++ 2 files changed, 363 insertions(+) create mode 100644 src/redmine-net-api/IRedmineManagerAsync.cs create mode 100644 src/redmine-net-api/RedmineManagerAsync.cs diff --git a/src/redmine-net-api/IRedmineManagerAsync.cs b/src/redmine-net-api/IRedmineManagerAsync.cs new file mode 100644 index 00000000..7c77d334 --- /dev/null +++ b/src/redmine-net-api/IRedmineManagerAsync.cs @@ -0,0 +1,154 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#if !(NET20) +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api +{ + /// + /// + /// + public interface IRedmineManagerAsync + { + /// + /// Returns the count of items asynchronously for a given type T. + /// + /// The type of the results. + /// Optional request options. + /// Optional cancellation token. + /// The count of items as an integer. + Task CountAsync(RequestOptions requestOptions, CancellationToken cancellationToken = default) + where T : class, new(); + + /// + /// Gets the paginated objects asynchronous. + /// + /// The type of the results. + /// Optional request options. + /// Optional cancellation token. + /// A task representing the asynchronous operation that returns the paged results. + Task> GetPagedAsync(RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new(); + + /// + /// Gets the objects asynchronous. + /// + /// + /// + /// + /// + Task> GetAsync(RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new(); + + /// + /// Gets a Redmine object asynchronous. + /// + /// The type of object to retrieve. + /// The ID of the object to retrieve. + /// Optional request options. + /// Optional cancellation token. + /// The retrieved object of type T. + Task GetAsync(string id, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new(); + + /// + /// Creates a new Redmine object asynchronous. + /// + /// The type of the entity. + /// The entity to create. + /// The optional request options. + /// The cancellation token. + /// A Task representing the asynchronous operation, returning the created entity. + /// + /// This method creates an entity of type T asynchronously. It accepts an entity object, along with optional request options and cancellation token. + /// The method is generic and constrained to accept only classes that have a default constructor. + /// It uses the CreateAsync method to create the entity, passing the entity, request options, and cancellation token as arguments. + /// The method is awaited and returns a Task of type T representing the asynchronous operation. + /// + Task CreateAsync(T entity, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new(); + + /// + /// Creates a new Redmine object. This method does not block the calling thread. + /// + /// The type of the entity. + /// The entity object to create. + /// The ID of the owner. + /// Optional request options. + /// Optional cancellation token. + /// The created entity. + /// Thrown when an error occurs during the creation process. + Task CreateAsync(T entity, string ownerId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new(); + + /// + /// Updates the object asynchronous. + /// + /// The type of the entity. + /// The ID of the entity to update. + /// The entity to update. + /// Optional request options. + /// Optional cancellation token. + /// A task representing the asynchronous update operation. + /// + /// This method sends an update request to the Redmine API to update the entity with the specified ID. + /// + Task UpdateAsync(string id, T entity, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new(); + + /// + /// Deletes the Redmine object asynchronous. + /// + /// The type of the resource to delete. + /// The ID of the resource to delete. + /// Optional request options. + /// Cancellation token. + /// A task representing the asynchronous delete operation. + /// + /// This method sends a DELETE request to the Redmine API to delete a resource identified by the given ID. + /// + Task DeleteAsync(string id, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new(); + + /// + /// Support for adding attachments through the REST API is added in Redmine 1.4.0. + /// Upload a file to server. This method does not block the calling thread. + /// + /// The content of the file that will be uploaded on server. + /// + /// + /// + /// . + /// + Task UploadFileAsync(byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + + /// + /// Downloads the file asynchronous. + /// + /// The address. + /// + /// + /// + Task DownloadFileAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManagerAsync.cs b/src/redmine-net-api/RedmineManagerAsync.cs new file mode 100644 index 00000000..50192c5a --- /dev/null +++ b/src/redmine-net-api/RedmineManagerAsync.cs @@ -0,0 +1,209 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#if !(NET20) +using System.Collections.Generic; +using System.Collections.Specialized; +using System.Globalization; +using System.Net; +using System.Threading; +using System.Threading.Tasks; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api; + +public partial class RedmineManager: IRedmineManagerAsync +{ + /// + public async Task CountAsync(RequestOptions requestOptions, CancellationToken cancellationToken = default) where T : class, new() + { + const int PAGE_SIZE = 1; + const int OFFSET = 0; + var totalCount = 0; + + requestOptions ??= new RequestOptions(); + + requestOptions.QueryString.AddPagingParameters(PAGE_SIZE, OFFSET); + + var tempResult = await GetPagedAsync(requestOptions, cancellationToken).ConfigureAwait(false); + if (tempResult != null) + { + totalCount = tempResult.TotalItems; + } + + return totalCount; + } + + /// + public async Task> GetPagedAsync(RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + var url = RedmineApiUrls.GetListFragment(); + + var response = await ApiClient.GetAsync(url, requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeToPagedResults(Serializer); + } + + /// + public async Task> GetAsync(RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + int pageSize = 0, offset = 0; + var isLimitSet = false; + List resultList = null; + + requestOptions ??= new RequestOptions(); + + if (requestOptions.QueryString == null) + { + requestOptions.QueryString = new NameValueCollection(); + } + else + { + isLimitSet = int.TryParse(requestOptions.QueryString[RedmineKeys.LIMIT], out pageSize); + int.TryParse(requestOptions.QueryString[RedmineKeys.OFFSET], out offset); + } + + if (pageSize == default) + { + pageSize = PageSize > 0 + ? PageSize + : RedmineConstants.DEFAULT_PAGE_SIZE_VALUE; + requestOptions.QueryString.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); + } + + try + { + var hasOffset = RedmineManager.TypesWithOffset.ContainsKey(typeof(T)); + if (hasOffset) + { + int totalCount; + do + { + requestOptions.QueryString.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); + + var tempResult = await GetPagedAsync(requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); + + totalCount = isLimitSet ? pageSize : tempResult.TotalItems; + + if (tempResult?.Items != null) + { + if (resultList == null) + { + resultList = new List(tempResult.Items); + } + else + { + resultList.AddRange(tempResult.Items); + } + } + + offset += pageSize; + } while (offset < totalCount); + } + else + { + var result = await GetPagedAsync(requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); + if (result?.Items != null) + { + return new List(result.Items); + } + } + } + catch (WebException wex) + { + wex.HandleWebException(Serializer); + } + + return resultList; + } + + /// + public async Task GetAsync(string id, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + var url = RedmineApiUrls.GetFragment(id); + + var response = await ApiClient.GetAsync(url, requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeTo(Serializer); + } + + + /// + public async Task CreateAsync(T entity, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + return await CreateAsync(entity, null, requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); + } + + /// + public async Task CreateAsync(T entity, string ownerId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + var url = RedmineApiUrls.CreateEntityFragment(ownerId); + + var payload = Serializer.Serialize(entity); + + var response = await ApiClient.CreateAsync(url, payload, requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeTo(Serializer); + } + + /// + public async Task UpdateAsync(string id, T entity, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + var url = RedmineApiUrls.UpdateFragment(id); + + var payload = Serializer.Serialize(entity); + + // payload = Regex.Replace(payload, @"\r\n|\r|\n", "\r\n"); + + await ApiClient.UpdateAsync(url, payload, requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); + } + + /// + public async Task DeleteAsync(string id, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + var url = RedmineApiUrls.DeleteFragment(id); + + await ApiClient.DeleteAsync(url, requestOptions, cancellationToken).ConfigureAwait((false)); + } + + /// + public async Task UploadFileAsync(byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var url = RedmineApiUrls.UploadFragment(); + + var response = await ApiClient.UploadFileAsync(url, data,requestOptions , cancellationToken: cancellationToken).ConfigureAwait(false); + + return response.DeserializeTo(Serializer); + } + + /// + public async Task DownloadFileAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var response = await ApiClient.DownloadAsync(address, requestOptions,cancellationToken: cancellationToken).ConfigureAwait(false); + return response.Content; + } +} +#endif \ No newline at end of file From c95c6e957561bbfc4d6aa2b3b56c638e5d203120 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 20:13:51 +0200 Subject: [PATCH 398/601] [New] [IntExtensions] --- .../Extensions/IntExtensions.cs | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/redmine-net-api/Extensions/IntExtensions.cs diff --git a/src/redmine-net-api/Extensions/IntExtensions.cs b/src/redmine-net-api/Extensions/IntExtensions.cs new file mode 100644 index 00000000..5f838547 --- /dev/null +++ b/src/redmine-net-api/Extensions/IntExtensions.cs @@ -0,0 +1,45 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +namespace Redmine.Net.Api.Extensions; + +internal static class IntExtensions +{ + public static bool Between(this int val, int from, int to) + { + return val >= from && val <= to; + } + + public static bool Greater(this int val, int than) + { + return val > than; + } + + public static bool GreaterOrEqual(this int val, int than) + { + return val >= than; + } + + public static bool Lower(this int val, int than) + { + return val < than; + } + + public static bool LowerOrEqual(this int val, int than) + { + return val <= than; + } +} \ No newline at end of file From 64f9a3a2c1658f9c80f4aa009432a58821179c2f Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 20:17:03 +0200 Subject: [PATCH 399/601] [Attachments] Mark as sealed --- src/redmine-net-api/Types/Attachments.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/Types/Attachments.cs b/src/redmine-net-api/Types/Attachments.cs index 7797e7e7..15024d91 100644 --- a/src/redmine-net-api/Types/Attachments.cs +++ b/src/redmine-net-api/Types/Attachments.cs @@ -24,7 +24,7 @@ namespace Redmine.Net.Api.Types /// /// /// - internal class Attachments : Dictionary, IJsonSerializable + internal sealed class Attachments : Dictionary, IJsonSerializable { /// /// From 7c1413f03970135664657a09684c6158772d9ffa Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 20:18:01 +0200 Subject: [PATCH 400/601] [Permission] Disable warning CA1711 - name ending in 'permission' --- src/redmine-net-api/Types/Permission.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index 13fb4e9d..3a658453 100644 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -30,7 +30,9 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.PERMISSION)] + #pragma warning disable CA1711 public sealed class Permission : IXmlSerializable, IJsonSerializable, IEquatable + #pragma warning restore CA1711 { #region Properties /// From 3395e2269f55c008735880041d7a2908e764b8c9 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 20:20:01 +0200 Subject: [PATCH 401/601] [VersionSharing] Add enum default option - Unknown --- src/redmine-net-api/Types/Version.cs | 10 +++++++--- src/redmine-net-api/Types/VersionSharing.cs | 4 ++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index e094ee27..ca0ed402 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -141,8 +141,12 @@ public override void ReadXml(XmlReader reader) public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.NAME, Name); - writer.WriteElementString(RedmineKeys.STATUS, Status.ToString().ToLowerInv()); - writer.WriteElementString(RedmineKeys.SHARING, Sharing.ToString().ToLowerInv()); + writer.WriteElementString(RedmineKeys.STATUS, Status.ToInvariantString()); + if (Sharing != VersionSharing.Unknown) + { + writer.WriteElementString(RedmineKeys.SHARING, Sharing.ToInvariantString()); + } + writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, DueDate); writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); if (CustomFields != null) diff --git a/src/redmine-net-api/Types/VersionSharing.cs b/src/redmine-net-api/Types/VersionSharing.cs index 1fbf63b0..125f3f1c 100644 --- a/src/redmine-net-api/Types/VersionSharing.cs +++ b/src/redmine-net-api/Types/VersionSharing.cs @@ -21,6 +21,10 @@ namespace Redmine.Net.Api.Types /// public enum VersionSharing { + /// + /// + /// + Unknown = 0, /// /// /// From e625819dafadcd64b0154619300a7326bd82ef0c Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 20:20:43 +0200 Subject: [PATCH 402/601] [VersionStatus] Add enum default option - None --- src/redmine-net-api/Types/VersionStatus.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/redmine-net-api/Types/VersionStatus.cs b/src/redmine-net-api/Types/VersionStatus.cs index 60a4684b..7e452f41 100644 --- a/src/redmine-net-api/Types/VersionStatus.cs +++ b/src/redmine-net-api/Types/VersionStatus.cs @@ -21,6 +21,10 @@ namespace Redmine.Net.Api.Types /// public enum VersionStatus { + /// + /// value of zero - Not set/unknown + /// + None, /// /// /// From 360b75735c2e74d4e293b572f18c2f9dba048fc7 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 20:21:00 +0200 Subject: [PATCH 403/601] [ProjectStatus] Add enum default option - None --- src/redmine-net-api/Types/ProjectStatus.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/redmine-net-api/Types/ProjectStatus.cs b/src/redmine-net-api/Types/ProjectStatus.cs index 355a3092..ecd504a2 100755 --- a/src/redmine-net-api/Types/ProjectStatus.cs +++ b/src/redmine-net-api/Types/ProjectStatus.cs @@ -21,6 +21,10 @@ namespace Redmine.Net.Api.Types /// public enum ProjectStatus { + /// + /// value of zero - Not set/unknown + /// + None, /// /// /// From 7f0e4bd2a6f51bc1e1dc147b3be69eb833a1752e Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 20:24:30 +0200 Subject: [PATCH 404/601] [Tests] Fix RedmineFixture --- tests/redmine-net-api.Tests/Infrastructure/RedmineFixture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/redmine-net-api.Tests/Infrastructure/RedmineFixture.cs b/tests/redmine-net-api.Tests/Infrastructure/RedmineFixture.cs index f4e7e2c1..cbcfbc63 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/RedmineFixture.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/RedmineFixture.cs @@ -18,7 +18,7 @@ public RedmineFixture () _redmineManagerOptionsBuilder = new RedmineManagerOptionsBuilder() .WithHost(Credentials.Uri) - .WithAuthentication(new RedmineApiKeyAuthentication(Credentials.ApiKey)); + .WithApiKeyAuthentication(Credentials.ApiKey); SetMimeTypeXml(); SetMimeTypeJson(); From d6e24a771ac8f81fa8c1d71419d51e0eee4f7d53 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 20:24:57 +0200 Subject: [PATCH 405/601] [New][Tests] HostValidation --- .../Tests/HostValidationTests.cs | 94 +++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 tests/redmine-net-api.Tests/Tests/HostValidationTests.cs diff --git a/tests/redmine-net-api.Tests/Tests/HostValidationTests.cs b/tests/redmine-net-api.Tests/Tests/HostValidationTests.cs new file mode 100644 index 00000000..32448c72 --- /dev/null +++ b/tests/redmine-net-api.Tests/Tests/HostValidationTests.cs @@ -0,0 +1,94 @@ +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Redmine.Net.Api; +using Redmine.Net.Api.Exceptions; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Tests +{ + [Trait("Redmine-api", "Host")] + [Order(1)] + public sealed class HostValidationTests + { + [Theory] + [InlineData(null)] + [InlineData("")] + [InlineData(" ")] + [InlineData("string.Empty")] + [InlineData("localhost")] + [InlineData("http://")] + [InlineData("")] + [InlineData("xyztuv")] + [InlineData("ftp://example.com")] + [InlineData("ftp://localhost:3000")] + [InlineData("\"https://localhost:3000/"")] + [InlineData("C:/test/path/file.txt")] + [InlineData(@"\\host\share\some\directory\name\")] + [InlineData("xyz:c:\abc")] + [InlineData("file:///C:/test/path/file.txt")] + [InlineData("file://server/filename.ext")] + [InlineData("ftp://myUrl/../..")] + [InlineData("ftp://myUrl/%2E%2E/%2E%2E")] + [InlineData("example--domain.com")] + [InlineData("-example.com")] + [InlineData("example.com-")] + [InlineData("example.com/-")] + [InlineData("invalid-host")] + public void Should_Throw_Redmine_Exception_When_Host_Is_Invalid(string host) + { + // Arrange + var optionsBuilder = new RedmineManagerOptionsBuilder().WithHost(host); + + // Act and Assert + Assert.Throws(() => optionsBuilder.Build()); + } + + [Theory] + [InlineData("192.168.0.1", "https://192.168.0.1/")] + [InlineData("127.0.0.1", "https://127.0.0.1/")] + [InlineData("localhost:3000", "https://localhost:3000/")] + [InlineData("localhost:3000/", "https://localhost:3000/")] + [InlineData("https://localhost:3000/", "https://localhost:3000/")] + [InlineData("example.com", "https://example.com/")] + [InlineData("www.example.com", "https://www.example.com/")] + [InlineData("www.domain.com/", "https://www.domain.com/")] + [InlineData("www.domain.com:3000", "https://www.domain.com:3000/")] + [InlineData("https://www.google.com/", "https://www.google.com/")] + [InlineData("http://example.com:8080/", "http://example.com:8080/")] + [InlineData("http://example.com/path", "http://example.com/")] + [InlineData("http://example.com/?param=value", "http://example.com/")] + [InlineData("http://example.com/#fragment", "http://example.com/")] + [InlineData("http://example.com/", "http://example.com/")] + [InlineData("http://example.com/?param=value", "http://example.com/")] + [InlineData("http://example.com/#fragment", "http://example.com/")] + [InlineData("http://example.com/path/page", "http://example.com/")] + [InlineData("http://example.com/path/page?param=value", "http://example.com/")] + [InlineData("http://example.com/path/page#fragment","http://example.com/")] + [InlineData("http://[::1]:8080/", "http://[::1]/")] + [InlineData("http://www.domain.com/title/index.htm", "http://www.domain.com/")] + [InlineData("http://www.localhost.com/", "http://www.localhost.com/")] + [InlineData("https://www.localhost.com/", "https://www.localhost.com/")] + [InlineData("http://www.domain.com/", "http://www.domain.com/")] + [InlineData("http://www.domain.com/catalog/shownew.htm?date=today", "http://www.domain.com/")] + [InlineData("HTTP://www.domain.com:80//thick%20and%20thin.htm", "http://www.domain.com/")] + [InlineData("http://www.domain.com/index.htm#search", "http://www.domain.com/")] + [InlineData("http://www.domain.com:8080/", "http://www.domain.com:8080/")] + [InlineData("https://www.domain.com:8080/", "https://www.domain.com:8080/")] + [InlineData("http://[fe80::200:39ff:fe36:1a2d%254]/", "http://[fe80::200:39ff:fe36:1a2d]/")] + [InlineData("http://myurl/", "http://myurl/")] + [InlineData("http://[fe80::200:39ff:fe36:1a2d%254]/temp/example.htm", "http://[fe80::200:39ff:fe36:1a2d]/")] + [InlineData("http://myurl/", "http://myurl/")] + [InlineData("http://user:password@www.localhost.com/index.htm", "http://www.localhost.com/")] + public void Should_Not_Throw_Redmine_Exception_When_Host_Is_Valid(string host, string expected) + { + // Arrange + var optionsBuilder = new RedmineManagerOptionsBuilder().WithHost(host); + + // Act + var options = optionsBuilder.Build(); + + // Assert + Assert.NotNull(options); + Assert.Equal(expected, options.BaseAddress.ToString()); + } + } +} \ No newline at end of file From 8eda132357834a922e5d089e327b9bc3967ce708 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 20:35:21 +0200 Subject: [PATCH 406/601] [Serialization] Code arrange & clean up --- .../Serialization/IRedmineSerializer.cs | 44 +++++++++++++++++++ .../Json/JsonRedmineSerializer.cs | 4 +- .../Serialization/Xml/XmlRedmineSerializer.cs | 19 ++++---- 3 files changed, 54 insertions(+), 13 deletions(-) create mode 100644 src/redmine-net-api/Serialization/IRedmineSerializer.cs diff --git a/src/redmine-net-api/Serialization/IRedmineSerializer.cs b/src/redmine-net-api/Serialization/IRedmineSerializer.cs new file mode 100644 index 00000000..1c2e5eec --- /dev/null +++ b/src/redmine-net-api/Serialization/IRedmineSerializer.cs @@ -0,0 +1,44 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +namespace Redmine.Net.Api.Serialization +{ + /// + /// Serialization interface that supports serialize and deserialize methods. + /// + internal interface IRedmineSerializer + { + /// + /// Gets the application format this serializer supports (e.g. "json", "xml"). + /// + string Format { get; } + + /// + /// Serializes the specified object into a string. + /// + string Serialize(T obj) where T : class; + + /// + /// Deserializes the string into a PageResult of T object. + /// + PagedResults DeserializeToPagedResults(string response) where T : class, new(); + + /// + /// Deserializes the string into an object. + /// + T Deserialize(string input) where T : new(); + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs index 43cf4e8a..42807e3f 100644 --- a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs @@ -135,7 +135,7 @@ internal sealed class JsonRedmineSerializer : IRedmineSerializer } #pragma warning restore CA1822 - public string Type { get; } = "json"; + public string Format { get; } = "json"; public string Serialize(T entity) where T : class { @@ -155,7 +155,7 @@ public string Serialize(T entity) where T : class { using (var writer = new JsonTextWriter(sw)) { - writer.Formatting = Newtonsoft.Json.Formatting.Indented; + writer.Formatting = Formatting.Indented; writer.DateFormatHandling = DateFormatHandling.IsoDateFormat; jsonSerializable.WriteJson(writer); diff --git a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs index be1764a0..179eaec0 100644 --- a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs @@ -27,20 +27,17 @@ namespace Redmine.Net.Api.Serialization internal sealed class XmlRedmineSerializer : IRedmineSerializer { - public XmlRedmineSerializer() + public XmlRedmineSerializer(): this(new XmlWriterSettings { - xmlWriterSettings = new XmlWriterSettings - { - OmitXmlDeclaration = true - }; - } + OmitXmlDeclaration = true + }) { } public XmlRedmineSerializer(XmlWriterSettings xmlWriterSettings) { - this.xmlWriterSettings = xmlWriterSettings; + this._xmlWriterSettings = xmlWriterSettings; } - private readonly XmlWriterSettings xmlWriterSettings; + private readonly XmlWriterSettings _xmlWriterSettings; public T Deserialize(string response) where T : new() { @@ -53,7 +50,7 @@ public XmlRedmineSerializer(XmlWriterSettings xmlWriterSettings) throw new RedmineException(ex.GetBaseException().Message, ex); } } - + public PagedResults DeserializeToPagedResults(string response) where T : class, new() { try @@ -81,7 +78,7 @@ public XmlRedmineSerializer(XmlWriterSettings xmlWriterSettings) } #pragma warning restore CA1822 - public string Type { get; } = "xml"; + public string Format => RedmineConstants.XML; public string Serialize(T entity) where T : class { @@ -153,7 +150,7 @@ private string ToXML(T entity) where T : class using (var stringWriter = new StringWriter()) { - using (var xmlWriter = XmlWriter.Create(stringWriter, xmlWriterSettings)) + using (var xmlWriter = XmlWriter.Create(stringWriter, _xmlWriterSettings)) { var serializer = new XmlSerializer(typeof(T)); From 0776d21fdeb73ee629c745cc2b13ccc1faa90275 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 22:11:40 +0200 Subject: [PATCH 407/601] [Csproj] Fix --- Directory.Build.props | 13 ------- src/redmine-net-api/redmine-net-api.csproj | 6 +++ .../redmine-net-api.Tests.csproj | 38 ++++++++++--------- 3 files changed, 27 insertions(+), 30 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 2f24981b..fb133faf 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,22 +1,9 @@ - - 11 strict true - embedded - false - $(SolutionDir)/artifacts - - - - - - - - \ No newline at end of file diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index a2a4a4d2..e6e154d0 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -34,6 +34,12 @@ latest + + embedded + false + $(SolutionDir)/artifacts + + diff --git a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index 6f78956b..8632e5f9 100644 --- a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -1,20 +1,22 @@ + Padi.DotNet.RedmineAPI.Tests $(AssemblyName) false net481 - net40;net451;net452;net46;net461;net462;net47;net471;net472;net48;net481; false f8b9e946-b547-42f1-861c-f719dca00a84 Release;Debug;DebugJson - |net45|net451|net452|net46|net461| - |net40|net45|net451|net452|net46|net461| + |net40|net45|net451|net452|net46|net461| + |net45|net451|net452|net46|net461| + |net40|net45|net451|net452|net46|net461|net462|net470|net471|net472|net48| + |net45|net451|net452|net46|net461|net462|net470|net471|net472|net48| @@ -25,14 +27,6 @@ DEBUG;TRACE;DEBUG_JSON - - - - - - - - @@ -42,22 +36,32 @@ - + + + + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive - + - + - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive From cf7531c0c5482d1951e291b656af93dbbd489a06 Mon Sep 17 00:00:00 2001 From: Padi Date: Tue, 9 Jan 2024 22:15:33 +0200 Subject: [PATCH 408/601] Delete redmine-net-api.sln.DotSettings --- redmine-net-api.sln.DotSettings | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 redmine-net-api.sln.DotSettings diff --git a/redmine-net-api.sln.DotSettings b/redmine-net-api.sln.DotSettings deleted file mode 100644 index 9134cb35..00000000 --- a/redmine-net-api.sln.DotSettings +++ /dev/null @@ -1,4 +0,0 @@ - - True - True - True \ No newline at end of file From bc62d10a4272d47dfc91b717ff1fad115076bbac Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 9 Jan 2024 22:22:45 +0200 Subject: [PATCH 409/601] [Types] [StringComparison] InvariantCultureIgnoreCase To OrdinalIgnoreCase --- src/redmine-net-api/Types/Detail.cs | 8 ++++---- src/redmine-net-api/Types/Error.cs | 2 +- src/redmine-net-api/Types/Search.cs | 8 ++++---- src/redmine-net-api/Types/Version.cs | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs index 298e93b7..9d74336a 100644 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -173,10 +173,10 @@ public void ReadJson(JsonReader reader) public bool Equals(Detail other) { if (other == null) return false; - return string.Equals(Property, other.Property, StringComparison.InvariantCultureIgnoreCase) - && string.Equals(Name, other.Name, StringComparison.InvariantCultureIgnoreCase) - && string.Equals(OldValue, other.OldValue, StringComparison.InvariantCultureIgnoreCase) - && string.Equals(NewValue, other.NewValue, StringComparison.InvariantCultureIgnoreCase); + return string.Equals(Property, other.Property, StringComparison.OrdinalIgnoreCase) + && string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase) + && string.Equals(OldValue, other.OldValue, StringComparison.OrdinalIgnoreCase) + && string.Equals(NewValue, other.NewValue, StringComparison.OrdinalIgnoreCase); } /// diff --git a/src/redmine-net-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs index ef6b7b7e..96621f51 100644 --- a/src/redmine-net-api/Types/Error.cs +++ b/src/redmine-net-api/Types/Error.cs @@ -119,7 +119,7 @@ public bool Equals(Error other) { if (other == null) return false; - return string.Equals(Info,other.Info, StringComparison.InvariantCultureIgnoreCase); + return string.Equals(Info,other.Info, StringComparison.OrdinalIgnoreCase); } /// diff --git a/src/redmine-net-api/Types/Search.cs b/src/redmine-net-api/Types/Search.cs index d9355764..9f35e29a 100644 --- a/src/redmine-net-api/Types/Search.cs +++ b/src/redmine-net-api/Types/Search.cs @@ -123,10 +123,10 @@ public void ReadJson(JsonReader reader) public bool Equals(Search other) { if (other == null) return false; - return Id == other.Id && string.Equals(Title, other.Title, StringComparison.InvariantCultureIgnoreCase) - && string.Equals(Description, other.Description, StringComparison.InvariantCultureIgnoreCase) - && string.Equals(Url, other.Url, StringComparison.InvariantCultureIgnoreCase) - && string.Equals(Type, other.Type, StringComparison.InvariantCultureIgnoreCase) + return Id == other.Id && string.Equals(Title, other.Title, StringComparison.OrdinalIgnoreCase) + && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) + && string.Equals(Url, other.Url, StringComparison.OrdinalIgnoreCase) + && string.Equals(Type, other.Type, StringComparison.OrdinalIgnoreCase) && DateTime == other.DateTime; } diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index ca0ed402..a9c74321 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -232,7 +232,7 @@ public override bool Equals(Version other) && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) - && string.Equals(WikiPageTitle,other.WikiPageTitle, StringComparison.InvariantCultureIgnoreCase) + && string.Equals(WikiPageTitle,other.WikiPageTitle, StringComparison.OrdinalIgnoreCase) && EstimatedHours == other.EstimatedHours && SpentHours == other.SpentHours ; From 64856a29ac1030f8ba250cd051808f60b4611200 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 6 Feb 2024 19:28:00 +0200 Subject: [PATCH 410/601] [Solution] Group solution folder files --- redmine-net-api.sln | 39 ++++++++++++++++++++++++++++++++------- 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/redmine-net-api.sln b/redmine-net-api.sln index 332b18aa..935b397c 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -12,22 +12,42 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "redmine-net-api.Tests", "te EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionFolder", "SolutionFolder", "{E8C35EC2-DD90-46E8-9B63-84EFD5F2FDE3}" ProjectSection(SolutionItems) = preProject - appveyor.yml = appveyor.yml CHANGELOG.md = CHANGELOG.md CONTRIBUTING.md = CONTRIBUTING.md - Directory.Build.props = Directory.Build.props - docker-compose.yml = docker-compose.yml ISSUE_TEMPLATE.md = ISSUE_TEMPLATE.md LICENSE = LICENSE - logo.png = logo.png PULL_REQUEST_TEMPLATE.md = PULL_REQUEST_TEMPLATE.md README.md = README.md - redmine-net-api.snk = redmine-net-api.snk + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitActions", "GitActions", "{79119F8B-C468-4DC8-BE6F-6E7102BD2079}" + ProjectSection(SolutionItems) = preProject + .github\workflows\ci-cd.yml = .github\workflows\ci-cd.yml + .github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AppVeyor", "AppVeyor", "{F20AEA6C-B957-4A83-9616-B91548B4C561}" + ProjectSection(SolutionItems) = preProject + appveyor.yml = appveyor.yml + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Props", "Props", "{707B6A3F-1A2C-4EFE-851F-1DB0E68CFFFB}" + ProjectSection(SolutionItems) = preProject + Directory.Build.props = Directory.Build.props releasenotes.props = releasenotes.props signing.props = signing.props version.props = version.props - .github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml - .github\workflows\ci-cd.yml = .github\workflows\ci-cd.yml + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docker", "Docker", "{1D340EEB-C535-45D4-80D7-ADD4434D7B77}" + ProjectSection(SolutionItems) = preProject + docker-compose.yml = docker-compose.yml + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Others", "Others", "{4ADECA2A-4D7B-4F05-85A2-0C0963A83689}" + ProjectSection(SolutionItems) = preProject + logo.png = logo.png + redmine-net-api.snk = redmine-net-api.snk EndProjectSection EndProject Global @@ -55,6 +75,11 @@ Global GlobalSection(NestedProjects) = preSolution {0E6B9B72-445D-4E71-8D29-48C4A009AB03} = {0DFF4758-5C19-4D8F-BA6C-76E618323F6A} {900EF0B3-0233-45DA-811F-4C59483E8452} = {F3F4278D-6271-4F77-BA88-41555D53CBD1} + {79119F8B-C468-4DC8-BE6F-6E7102BD2079} = {E8C35EC2-DD90-46E8-9B63-84EFD5F2FDE3} + {F20AEA6C-B957-4A83-9616-B91548B4C561} = {E8C35EC2-DD90-46E8-9B63-84EFD5F2FDE3} + {707B6A3F-1A2C-4EFE-851F-1DB0E68CFFFB} = {E8C35EC2-DD90-46E8-9B63-84EFD5F2FDE3} + {1D340EEB-C535-45D4-80D7-ADD4434D7B77} = {E8C35EC2-DD90-46E8-9B63-84EFD5F2FDE3} + {4ADECA2A-4D7B-4F05-85A2-0C0963A83689} = {E8C35EC2-DD90-46E8-9B63-84EFD5F2FDE3} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {4AA87D90-ABD0-4793-BE47-955B35FAE2BB} From 50217b8b61732d5a1040eae535add79a4a87c1aa Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 6 Feb 2024 19:29:04 +0200 Subject: [PATCH 411/601] [RedmineManagerExtension] Remove extra semicolons --- src/redmine-net-api/Extensions/RedmineManagerExtensions.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index 043404d9..75a778df 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -18,7 +18,6 @@ limitations under the License. using System.Collections.Generic; using System.Collections.Specialized; using System.Globalization; -using System.Net; #if !(NET20) using System.Threading; using System.Threading.Tasks; @@ -391,7 +390,7 @@ public static async Task> GetProjectNewsAsync(this RedmineMan var response = await redmineManager.ApiClient.GetPagedAsync(escapedUri, requestOptions, cancellationToken).ConfigureAwait(false); - return response.DeserializeToPagedResults(redmineManager.Serializer);; + return response.DeserializeToPagedResults(redmineManager.Serializer); } /// @@ -442,7 +441,7 @@ public static async Task> GetProjectMembershipsA var response = await redmineManager.ApiClient.GetPagedAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); - return response.DeserializeToPagedResults(redmineManager.Serializer);; + return response.DeserializeToPagedResults(redmineManager.Serializer); } /// @@ -460,7 +459,7 @@ public static async Task> GetProjectFilesAsync(this RedmineMa var response = await redmineManager.ApiClient.GetPagedAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); - return response.DeserializeToPagedResults(redmineManager.Serializer);; + return response.DeserializeToPagedResults(redmineManager.Serializer); } From 68debaccfcc7f2b5ee5078d2a9cf7c880ab5dbe2 Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 6 Feb 2024 20:13:00 +0200 Subject: [PATCH 412/601] [Docker-Compose] Change redmine image to 5.1.1-alpine version --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e7a53c7d..3ffac57c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: redmine: ports: - '8089:3000' - image: 'redmine:4.1.1-alpine' + image: 'redmine:5.1.1-alpine' container_name: 'redmine-web' depends_on: - db-postgres From 9088e4d5646b9c8bff33687578b53ffde461db9c Mon Sep 17 00:00:00 2001 From: zapadi Date: Tue, 6 Feb 2024 20:13:38 +0200 Subject: [PATCH 413/601] [Docker-Compose] Change postgres image to 16-alpine version --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3ffac57c..5a788f19 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,7 +33,7 @@ services: POSTGRES_USER: redmine-usr POSTGRES_PASSWORD: redmine-pswd container_name: 'redmine-db' - image: 'postgres:11.1-alpine' + image: 'postgres:16-alpine' healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 20s From d7d59067c358774593d9ea79a48bceb7f9f76dcd Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 8 Feb 2024 19:29:16 +0200 Subject: [PATCH 414/601] [Csproj] Remove 'system.Net.Http' reference for NET20 --- src/redmine-net-api/redmine-net-api.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index e6e154d0..cc750f06 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -68,7 +68,6 @@ - From d2a67e8ab596690b10dc188684baff1513e66953 Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 8 Feb 2024 19:27:38 +0200 Subject: [PATCH 415/601] [GitActions] Remove ci-cd.yml --- .github/workflows/ci-cd.yml | 117 ------------------------------------ 1 file changed, 117 deletions(-) delete mode 100644 .github/workflows/ci-cd.yml diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml deleted file mode 100644 index 74fb1cfd..00000000 --- a/.github/workflows/ci-cd.yml +++ /dev/null @@ -1,117 +0,0 @@ - -name: "CI/CD" -on: - workflow_dispatch: - push: - branches: [ master ] - paths-ignore: - - '**/*.md' - - '**/*.gif' - - '**/*.png' - - '**/*.gitignore' - - '**/*.gitattributes' - - LICENSE - - tests/* - tags: - - '[0-9]+.[0-9]+.[0-9]+' - pull_request: - branches: [ master ] - paths-ignore: - - '**/*.md' - - '**/*.gif' - - '**/*.png' - - '**/*.gitignore' - - '**/*.gitattributes' - - LICENSE - - tests/* - -env: - # Disable the .NET logo in the console output. - DOTNET_NOLOGO: true - - # Stop wasting time caching packages - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - - # Disable sending usage data to Microsoft - DOTNET_CLI_TELEMETRY_OPTOUT: true - - DOTNET_ADD_GLOBAL_TOOLS_TO_PATH: false - - DOTNET_MULTILEVEL_LOOKUP: 0 - - # Project name to pack and publish - PROJECT_NAME: redmine-net-api - - BUILD_CONFIGURATION: Release - - # Set the build number in MinVer. - MINVERBUILDMETADATA: build.${{github.run_number}} - -jobs: - build: - name: OS ${{ matrix.os }} - dotnet ${{ matrix.dotnet }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ ubuntu-latest, windows-latest, macos-latest ] - dotnet: [ '7.x.x' ] - - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - lfs: true - fetch-depth: 0 - - - name: Setup .NET Core - uses: actions/setup-dotnet@v3 - with: - dotnet-version: ${{ matrix.dotnet }} - - - name: Get Version - run: | - echo "VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV - - - name: Restore - run: dotnet restore - - - name: Build - run: | - dotnet build --no-restore --configuration $BUILD_CONFIGURATION -p:Version=$VERSION - - - name: Build Signed - if: runner.os == 'Linux' - run: dotnet build redmine-net-api.sln --no-restore --configuration $BUILD_CONFIGURATION -p:Version=$VERSION -p:Sign=true - - - name: Test - run: dotnet test --no-restore --no-build --configuration $BUILD_CONFIGURATION - - - name: Pack && startsWith(github.ref, 'refs/tags') - if: runner.os == 'Linux' - run: | - dotnet pack ./src/redmine-net-api/redmine-net-api.csproj -o ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source -p:SymbolPackageFormat=snupkg - - - name: Pack Signed && startsWith(github.ref, 'refs/tags') - if: runner.os == 'Linux' - run: | - dotnet pack ./src/redmine-net-api/redmine-net-api.csproj -o ./artifacts --configuration $BUILD_CONFIGURATION -p:Version=$VERSION --include-symbols --include-source -p:Sign=true -p:SymbolPackageFormat=snupkg - - - uses: actions/upload-artifact@v3 - if: runner.os == 'Linux' - with: - name: artifacts - path: ./artifacts - - deploy: - runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags') - needs: build - name: Deploy Packages - steps: - - uses: actions/download-artifact@v3 - with: - name: artifacts - path: ./artifacts - - - name: Publish packages - run: dotnet nuget push ./artifacts/**.nupkg --source nuget.org -k ${{secrets.NUGET_API_KEY}} \ No newline at end of file From 6d3e6dbfa25a71254fc4d7b73724275f790c06fc Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 8 Feb 2024 19:31:44 +0200 Subject: [PATCH 416/601] [New][GitActions] build.yml --- .github/workflows/build.yml | 84 +++++++++++++++++++++++++++++++++++++ redmine-net-api.sln | 2 +- 2 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..acc154cf --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,84 @@ +name: build + +on: + workflow_dispatch: + inputs: + reason: + description: 'The reason for running the workflow' + required: false + default: 'Manual run' + push: + pull_request: + branches: [ main ] + paths: + - '**.cs' + - '**.csproj' + +env: + # Disable the .NET logo in the console output. + DOTNET_NOLOGO: true + + # Stop wasting time caching packages + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true + + # Disable sending usage data to Microsoft + DOTNET_CLI_TELEMETRY_OPTOUT: true + + DOTNET_ADD_GLOBAL_TOOLS_TO_PATH: false + + DOTNET_MULTILEVEL_LOOKUP: 0 + + PROJECT_PATH: "." + + PROJECT_NAME: redmine-net-api + + CONFIGURATION: 'Release' + + # Set the build number in MinVer. + MINVERBUILDMETADATA: build.${{github.run_number}} + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + build: + name: Build ${{ matrix.os }} - dotnet ${{ matrix.dotnet }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ ubuntu-latest, windows-latest, macos-latest ] + + steps: + - name: Print manual run reason + if: ${{ github.event_name == 'workflow_dispatch' }} + run: | + echo 'Reason: ${{ github.event.inputs.reason }}' + + - name: Checkout + uses: actions/checkout@v4 + with: + lfs: true + fetch-depth: 0 + + - name: Setup .NET (global.json) + uses: actions/setup-dotnet@v4 + + - uses: actions/cache@v4 + with: + path: ~/.nuget/packages + # Look to see if there is a cache hit for the corresponding requirements file + key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} + restore-keys: | + ${{ runner.os }}-nuget + + - name: Restore + run: dotnet restore "${{ env.PROJECT_PATH }}" + + - name: Build + run: | + dotnet build "${{ env.PROJECT_PATH }}" \ + --configuration "${{ env.CONFIGURATION }}" \ + --no-restore \ + /p:ContinuousIntegrationBuild=true \ No newline at end of file diff --git a/redmine-net-api.sln b/redmine-net-api.sln index 935b397c..9d76a38e 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -22,8 +22,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionFolder", "SolutionF EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitActions", "GitActions", "{79119F8B-C468-4DC8-BE6F-6E7102BD2079}" ProjectSection(SolutionItems) = preProject - .github\workflows\ci-cd.yml = .github\workflows\ci-cd.yml .github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml + .github\workflows\build.yml = .github\workflows\build.yml EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AppVeyor", "AppVeyor", "{F20AEA6C-B957-4A83-9616-B91548B4C561}" From 472c3f98fa8d93b8f8203e0e6844a77024465c3c Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 8 Feb 2024 19:52:24 +0200 Subject: [PATCH 417/601] [GitActions][build] Remove quotes --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index acc154cf..4971c9a7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ env: PROJECT_NAME: redmine-net-api - CONFIGURATION: 'Release' + CONFIGURATION: Release # Set the build number in MinVer. MINVERBUILDMETADATA: build.${{github.run_number}} From faaf41d195fded141cab3bae7b00c33320d7eb09 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 10 Feb 2024 20:45:41 +0200 Subject: [PATCH 418/601] [GitActions][build] Change '|' character with '>-' --- .github/workflows/build.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4971c9a7..54e69e8e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,10 +28,8 @@ env: DOTNET_MULTILEVEL_LOOKUP: 0 - PROJECT_PATH: "." + PROJECT_PATH: . - PROJECT_NAME: redmine-net-api - CONFIGURATION: Release # Set the build number in MinVer. @@ -77,8 +75,8 @@ jobs: run: dotnet restore "${{ env.PROJECT_PATH }}" - name: Build - run: | - dotnet build "${{ env.PROJECT_PATH }}" \ - --configuration "${{ env.CONFIGURATION }}" \ - --no-restore \ - /p:ContinuousIntegrationBuild=true \ No newline at end of file + run: >- + dotnet build "${{ env.PROJECT_PATH }}" + --configuration "${{ env.CONFIGURATION }}" + --no-restore + -p:ContinuousIntegrationBuild=true \ No newline at end of file From 41622ea0a290e03283b8bc8eb45ef611900ae751 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 12 Feb 2024 16:58:48 +0200 Subject: [PATCH 419/601] [GitActions][New] build & test workflow --- .github/workflows/build-and-test.yml | 35 ++++++++++++++++++++++++++++ redmine-net-api.sln | 1 + 2 files changed, 36 insertions(+) create mode 100644 .github/workflows/build-and-test.yml diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml new file mode 100644 index 00000000..1c546e0d --- /dev/null +++ b/.github/workflows/build-and-test.yml @@ -0,0 +1,35 @@ +name: build and test + +on: + workflow_dispatch: + inputs: + reason: + description: 'The reason for running the workflow' + required: false + default: 'Manual build and run tests' + workflow_run: + workflows: [ Build ] + types: + - completed + +jobs: + build: + uses: ./.github/workflows/build.yml + test: + name: Test - ${{matrix.os}} + needs: [build] + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ ubuntu-latest, windows-latest, macOS-latest ] + steps: + - name: Test + if: ${{ github.event.workflow_run.conclusion == 'success' }} + timeout-minutes: 60 + run: >- + dotnet test "${{ env.PROJECT_PATH }}" + --no-restore + --no-build + --verbosity normal + --logger "trx;LogFileName=test-results.trx" || true + \ No newline at end of file diff --git a/redmine-net-api.sln b/redmine-net-api.sln index 9d76a38e..36df19c4 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -24,6 +24,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitActions", "GitActions", ProjectSection(SolutionItems) = preProject .github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml .github\workflows\build.yml = .github\workflows\build.yml + .github\workflows\build-and-test.yml = .github\workflows\build-and-test.yml EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AppVeyor", "AppVeyor", "{F20AEA6C-B957-4A83-9616-B91548B4C561}" From c3ec525dfd532588249901ae75997c0bd23cd724 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 12 Feb 2024 16:59:05 +0200 Subject: [PATCH 420/601] [New] global.json --- global.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 global.json diff --git a/global.json b/global.json new file mode 100644 index 00000000..88e2f39a --- /dev/null +++ b/global.json @@ -0,0 +1,7 @@ +{ + "sdk": { + "version": "8.0.101", + "allowPrerelease": false, + "rollForward": "latestMajor" + } +} \ No newline at end of file From b6c3d081e2c77aadc507ac59378da142f41684bc Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 12 Feb 2024 16:59:26 +0200 Subject: [PATCH 421/601] [LangVersion] Set to 12 --- Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index fb133faf..3d16a055 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ - 11 + 12 strict true From 4c77e7719a94fe92d5e8e785a16d6e83c52fedcd Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 12 Feb 2024 17:22:39 +0200 Subject: [PATCH 422/601] [GitActions][build] Set to be reusable & to trigger on 'master' PR --- .github/workflows/build.yml | 6 +++++- redmine-net-api.sln | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54e69e8e..9d49289f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,7 @@ name: build on: + workflow_call: workflow_dispatch: inputs: reason: @@ -8,8 +9,11 @@ on: required: false default: 'Manual run' push: + paths: + - '**.cs' + - '**.csproj' pull_request: - branches: [ main ] + branches: [ master ] paths: - '**.cs' - '**.csproj' diff --git a/redmine-net-api.sln b/redmine-net-api.sln index 36df19c4..3a5d83e1 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -49,6 +49,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Others", "Others", "{4ADECA ProjectSection(SolutionItems) = preProject logo.png = logo.png redmine-net-api.snk = redmine-net-api.snk + global.json = global.json EndProjectSection EndProject Global From b0d217efff17edbaa408b55c80100b794e4add85 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 12 Feb 2024 18:35:53 +0200 Subject: [PATCH 423/601] [New][GitActions] pack & publish workflows --- .github/workflows/pack.yml | 103 ++++++++++++++++++++++++++++++++++ .github/workflows/publish.yml | 47 ++++++++++++++++ redmine-net-api.sln | 2 + 3 files changed, 152 insertions(+) create mode 100644 .github/workflows/pack.yml create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml new file mode 100644 index 00000000..a813fb3d --- /dev/null +++ b/.github/workflows/pack.yml @@ -0,0 +1,103 @@ +name: 'Pack' + +on: + workflow_run: + workflows: [ 'Build' ] + types: [ requested ] + branches: [ master ] + + workflow_dispatch: + inputs: + reason: + description: 'The reason for running the workflow' + required: false + default: 'Manual pack' + version: + description: 'Version' + required: true + +env: + CONFIGURATION: 'Release' + + PROJECT_PATH: "." + + PROJECT_NAME: redmine-net-api + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + pack: + name: Pack + if: github.ref == 'refs/heads/master' + runs-on: ubuntu-latest + steps: + - name: Determine Version + run: | + if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then + echo "VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV + else + echo "VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)" >> $GITHUB_ENV + fi + echo "$GITHUB_ENV" + + - name: Print Version + run: | + echo "$VERSION" + + - name: Validate Version matches SemVer format + run: | + if [[ ! "$VERSION" =~ ^([0-9]+\.){2}[0-9]+$ ]]; then + echo "The version does not match the SemVer format (X.Y.Z). Please provide a valid version." + exit 1 + fi + + - name: Checkout + uses: actions/checkout@v4 + with: + lfs: true + fetch-depth: 0 + + - name: Setup .NET Core (global.json) + uses: actions/setup-dotnet@v4 + + - name: Install dependencies + run: dotnet restore "${{ env.PROJECT_PATH }}" + + - name: Pack + run: >- + dotnet pack ./src/redmine-net-api/redmine-net-api.csproj + --output ./artifacts + --configuration "${{ env.CONFIGURATION }}" + -p:Version=$VERSION + -p:PackageVersion=${{ env.VERSION }} + -p:SymbolPackageFormat=snupkg + + - name: Pack Signed + run: >- + dotnet pack ./src/redmine-net-api/redmine-net-api.csproj + --output ./artifacts + --configuration "${{ env.CONFIGURATION }}" + --include-symbols + --include-source + -p:Version=$VERSION + -p:PackageVersion=${{ env.VERSION }} + -p:SymbolPackageFormat=snupkg + -p:Sign=true + + - name: Install dotnet-validate + run: >- + dotnet tool install + --global dotnet-validate + --version 0.0.1-preview.304 + + - name: Validate NuGet package + run: | + dotnet-validate package local ./artifacts/**.nupkg + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: artifacts + path: ./artifacts diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000..605ba8b3 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,47 @@ +name: 'Publish to NuGet' + +on: + workflow_dispatch: + inputs: + reason: + description: 'The reason for running the workflow' + required: false + default: 'Manual publish to nuget' + push: + tags: + - '[0-9]+.[0-9]+.[0-9]+' + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + publish: + name: Publish to Nuget + if: github.ref == 'refs/heads/master' + runs-on: ubuntu-latest + steps: + - name: Print manual run reason + if: ${{ github.event_name == 'workflow_dispatch' }} + run: | + echo 'Reason: ${{ github.event.inputs.reason }}' + + - name: Download artifacts + uses: actions/download-artifact@v4 + with: + name: artifacts + path: ./artifacts + + - name: Publish packages + run: >- + dotnet nuget push ./artifacts/**.nupkg + --source 'https://api.nuget.org/v3/index.json' + --api-key ${{secrets.NUGET_TOKEN}} + --skip-duplicate + + - name: Upload artifacts to the GitHub release + uses: Roang-zero1/github-upload-release-artifacts-action@v3.0.0 + with: + args: ./artifacts + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/redmine-net-api.sln b/redmine-net-api.sln index 3a5d83e1..2715270a 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -23,8 +23,10 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitActions", "GitActions", "{79119F8B-C468-4DC8-BE6F-6E7102BD2079}" ProjectSection(SolutionItems) = preProject .github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml + .github\workflows\pack.yml = .github\workflows\pack.yml .github\workflows\build.yml = .github\workflows\build.yml .github\workflows\build-and-test.yml = .github\workflows\build-and-test.yml + .github\workflows\publish.yml = .github\workflows\publish.yml EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AppVeyor", "AppVeyor", "{F20AEA6C-B957-4A83-9616-B91548B4C561}" From b5d7c48378386c5b68012c35a4c7ce19e4957f3f Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 12 Feb 2024 18:37:33 +0200 Subject: [PATCH 424/601] [GitActions] Add quotes to workflow names --- .github/workflows/build-and-test.yml | 2 +- .github/workflows/build.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 1c546e0d..ee0b6a3f 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -1,4 +1,4 @@ -name: build and test +name: 'Build and Test' on: workflow_dispatch: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d49289f..d40f5180 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,13 +1,13 @@ -name: build +name: 'Build' on: - workflow_call: workflow_dispatch: inputs: reason: description: 'The reason for running the workflow' required: false default: 'Manual run' + workflow_call: push: paths: - '**.cs' From 1f1cf0cd5ee47b90b30e79143c7440531d1d89d5 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 12 Feb 2024 18:41:49 +0200 Subject: [PATCH 425/601] [GitActions][build] Commented out on push paths: --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d40f5180..39c3dd2b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,11 +7,11 @@ on: description: 'The reason for running the workflow' required: false default: 'Manual run' - workflow_call: +# workflow_call: push: - paths: - - '**.cs' - - '**.csproj' +# paths: +# - '**.cs' +# - '**.csproj' pull_request: branches: [ master ] paths: From b1cc6a5e5560487aebfc19ad0128c3be091af1ac Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 12 Feb 2024 19:00:59 +0200 Subject: [PATCH 426/601] [GitActions][build] Add option to be reusable --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 39c3dd2b..d6dbffc4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ on: description: 'The reason for running the workflow' required: false default: 'Manual run' -# workflow_call: + workflow_call: push: # paths: # - '**.cs' From 8f10995c0f140cfbd408897f9798e49b041baeef Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 12 Feb 2024 20:43:49 +0200 Subject: [PATCH 427/601] [GitActions] Updates --- .github/workflows/build-and-test.yml | 4 ++-- .github/workflows/build.yml | 6 +++--- .github/workflows/pack.yml | 8 +++++--- .github/workflows/publish.yml | 7 ++++++- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index ee0b6a3f..524903c9 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -8,7 +8,7 @@ on: required: false default: 'Manual build and run tests' workflow_run: - workflows: [ Build ] + workflows: [ 'Build' ] types: - completed @@ -24,7 +24,7 @@ jobs: os: [ ubuntu-latest, windows-latest, macOS-latest ] steps: - name: Test - if: ${{ github.event.workflow_run.conclusion == 'success' }} + # if: ${{ github.event.workflow_run.conclusion == 'success' }} timeout-minutes: 60 run: >- dotnet test "${{ env.PROJECT_PATH }}" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d6dbffc4..d40f5180 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,9 +9,9 @@ on: default: 'Manual run' workflow_call: push: -# paths: -# - '**.cs' -# - '**.csproj' + paths: + - '**.cs' + - '**.csproj' pull_request: branches: [ master ] paths: diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index a813fb3d..710e4df4 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -2,10 +2,12 @@ name: 'Pack' on: workflow_run: - workflows: [ 'Build' ] + workflows: [ 'Build and Test' ] types: [ requested ] branches: [ master ] + workflow_call: + workflow_dispatch: inputs: reason: @@ -48,7 +50,7 @@ jobs: - name: Validate Version matches SemVer format run: | - if [[ ! "$VERSION" =~ ^([0-9]+\.){2}[0-9]+$ ]]; then + if [[ ! "$VERSION" =~ ^([0-9]+\.){2}[0-9]+(-[\w.]+)?$ ]]; then echo "The version does not match the SemVer format (X.Y.Z). Please provide a valid version." exit 1 fi @@ -93,7 +95,7 @@ jobs: --version 0.0.1-preview.304 - name: Validate NuGet package - run: | + run: >- dotnet-validate package local ./artifacts/**.nupkg - name: Upload artifacts diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 605ba8b3..8f8c8a8f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,9 +7,14 @@ on: description: 'The reason for running the workflow' required: false default: 'Manual publish to nuget' + + workflow_run: + workflows: [ 'Pack' ] + types: + - completed push: tags: - - '[0-9]+.[0-9]+.[0-9]+' + - '[0-9]+.[0-9]+.[0-9]+(-[\w.]+)?' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} From 84eb283022ae6160071757a3afc9ecbd013a96db Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 22 Feb 2024 17:53:53 +0200 Subject: [PATCH 428/601] [GitActions][Delete] build & pack workflows --- .github/workflows/build.yml | 86 ----------------------------- .github/workflows/pack.yml | 105 ------------------------------------ redmine-net-api.sln | 2 - 3 files changed, 193 deletions(-) delete mode 100644 .github/workflows/build.yml delete mode 100644 .github/workflows/pack.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index d40f5180..00000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,86 +0,0 @@ -name: 'Build' - -on: - workflow_dispatch: - inputs: - reason: - description: 'The reason for running the workflow' - required: false - default: 'Manual run' - workflow_call: - push: - paths: - - '**.cs' - - '**.csproj' - pull_request: - branches: [ master ] - paths: - - '**.cs' - - '**.csproj' - -env: - # Disable the .NET logo in the console output. - DOTNET_NOLOGO: true - - # Stop wasting time caching packages - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - - # Disable sending usage data to Microsoft - DOTNET_CLI_TELEMETRY_OPTOUT: true - - DOTNET_ADD_GLOBAL_TOOLS_TO_PATH: false - - DOTNET_MULTILEVEL_LOOKUP: 0 - - PROJECT_PATH: . - - CONFIGURATION: Release - - # Set the build number in MinVer. - MINVERBUILDMETADATA: build.${{github.run_number}} - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - build: - name: Build ${{ matrix.os }} - dotnet ${{ matrix.dotnet }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ ubuntu-latest, windows-latest, macos-latest ] - - steps: - - name: Print manual run reason - if: ${{ github.event_name == 'workflow_dispatch' }} - run: | - echo 'Reason: ${{ github.event.inputs.reason }}' - - - name: Checkout - uses: actions/checkout@v4 - with: - lfs: true - fetch-depth: 0 - - - name: Setup .NET (global.json) - uses: actions/setup-dotnet@v4 - - - uses: actions/cache@v4 - with: - path: ~/.nuget/packages - # Look to see if there is a cache hit for the corresponding requirements file - key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} - restore-keys: | - ${{ runner.os }}-nuget - - - name: Restore - run: dotnet restore "${{ env.PROJECT_PATH }}" - - - name: Build - run: >- - dotnet build "${{ env.PROJECT_PATH }}" - --configuration "${{ env.CONFIGURATION }}" - --no-restore - -p:ContinuousIntegrationBuild=true \ No newline at end of file diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml deleted file mode 100644 index 710e4df4..00000000 --- a/.github/workflows/pack.yml +++ /dev/null @@ -1,105 +0,0 @@ -name: 'Pack' - -on: - workflow_run: - workflows: [ 'Build and Test' ] - types: [ requested ] - branches: [ master ] - - workflow_call: - - workflow_dispatch: - inputs: - reason: - description: 'The reason for running the workflow' - required: false - default: 'Manual pack' - version: - description: 'Version' - required: true - -env: - CONFIGURATION: 'Release' - - PROJECT_PATH: "." - - PROJECT_NAME: redmine-net-api - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - pack: - name: Pack - if: github.ref == 'refs/heads/master' - runs-on: ubuntu-latest - steps: - - name: Determine Version - run: | - if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then - echo "VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV - else - echo "VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)" >> $GITHUB_ENV - fi - echo "$GITHUB_ENV" - - - name: Print Version - run: | - echo "$VERSION" - - - name: Validate Version matches SemVer format - run: | - if [[ ! "$VERSION" =~ ^([0-9]+\.){2}[0-9]+(-[\w.]+)?$ ]]; then - echo "The version does not match the SemVer format (X.Y.Z). Please provide a valid version." - exit 1 - fi - - - name: Checkout - uses: actions/checkout@v4 - with: - lfs: true - fetch-depth: 0 - - - name: Setup .NET Core (global.json) - uses: actions/setup-dotnet@v4 - - - name: Install dependencies - run: dotnet restore "${{ env.PROJECT_PATH }}" - - - name: Pack - run: >- - dotnet pack ./src/redmine-net-api/redmine-net-api.csproj - --output ./artifacts - --configuration "${{ env.CONFIGURATION }}" - -p:Version=$VERSION - -p:PackageVersion=${{ env.VERSION }} - -p:SymbolPackageFormat=snupkg - - - name: Pack Signed - run: >- - dotnet pack ./src/redmine-net-api/redmine-net-api.csproj - --output ./artifacts - --configuration "${{ env.CONFIGURATION }}" - --include-symbols - --include-source - -p:Version=$VERSION - -p:PackageVersion=${{ env.VERSION }} - -p:SymbolPackageFormat=snupkg - -p:Sign=true - - - name: Install dotnet-validate - run: >- - dotnet tool install - --global dotnet-validate - --version 0.0.1-preview.304 - - - name: Validate NuGet package - run: >- - dotnet-validate package local ./artifacts/**.nupkg - - - name: Upload artifacts - uses: actions/upload-artifact@v4 - with: - name: artifacts - path: ./artifacts diff --git a/redmine-net-api.sln b/redmine-net-api.sln index 2715270a..7cbed138 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -23,8 +23,6 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitActions", "GitActions", "{79119F8B-C468-4DC8-BE6F-6E7102BD2079}" ProjectSection(SolutionItems) = preProject .github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml - .github\workflows\pack.yml = .github\workflows\pack.yml - .github\workflows\build.yml = .github\workflows\build.yml .github\workflows\build-and-test.yml = .github\workflows\build-and-test.yml .github\workflows\publish.yml = .github\workflows\publish.yml EndProjectSection From a14530fa7a5fbbf62b76455bfbf7f2c16bac7873 Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 22 Feb 2024 17:54:58 +0200 Subject: [PATCH 429/601] [GitActions] Improve build, test & pack workflows --- .github/workflows/build-and-test.yml | 110 +++++++++++++--- .github/workflows/publish.yml | 180 +++++++++++++++++++++++---- 2 files changed, 244 insertions(+), 46 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 524903c9..1cc0e016 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -1,35 +1,107 @@ name: 'Build and Test' on: + workflow_call: workflow_dispatch: inputs: reason: description: 'The reason for running the workflow' required: false default: 'Manual build and run tests' - workflow_run: - workflows: [ 'Build' ] - types: - - completed + push: + tags-ignore: + - '[0-9]+.[0-9]+.[0-9]+*' + paths: + - '**.cs' + - '**.csproj' + - '**.sln' + pull_request: + branches: [ master ] + paths: + - '**.cs' + - '**.csproj' + - '**.sln' + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +env: + # Disable the .NET logo in the console output. + DOTNET_NOLOGO: true + + # Stop wasting time caching packages + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true + + # Disable sending usage data to Microsoft + DOTNET_CLI_TELEMETRY_OPTOUT: true + + DOTNET_ADD_GLOBAL_TOOLS_TO_PATH: false + DOTNET_MULTILEVEL_LOOKUP: 0 + + PROJECT_PATH: . + + CONFIGURATION: Release + jobs: build: - uses: ./.github/workflows/build.yml - test: - name: Test - ${{matrix.os}} - needs: [build] + needs: before + name: Build ${{ matrix.os }} - dotnet ${{ matrix.dotnet }} runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: - os: [ ubuntu-latest, windows-latest, macOS-latest ] + os: [ ubuntu-latest, windows-latest, macos-latest ] + steps: - - name: Test - # if: ${{ github.event.workflow_run.conclusion == 'success' }} - timeout-minutes: 60 - run: >- - dotnet test "${{ env.PROJECT_PATH }}" - --no-restore - --no-build - --verbosity normal - --logger "trx;LogFileName=test-results.trx" || true - \ No newline at end of file + - name: Print manual run reason + if: ${{ github.event_name == 'workflow_dispatch' }} + run: | + echo 'Reason: ${{ github.event.inputs.reason }}' + + - name: Checkout + uses: actions/checkout@v4 + with: + lfs: true + fetch-depth: 0 + + - name: Setup .NET (global.json) + uses: actions/setup-dotnet@v4 + + - name: Display dotnet version + run: dotnet --version + + - uses: actions/cache@v4 + with: + path: ~/.nuget/packages + # Look to see if there is a cache hit for the corresponding requirements file + key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} + restore-keys: | + ${{ runner.os }}-nuget + + - name: Restore + run: dotnet restore "${{ env.PROJECT_PATH }}" + + - name: Build + run: >- + dotnet build "${{ env.PROJECT_PATH }}" + --configuration "${{ env.CONFIGURATION }}" + --no-restore + + - name: Test + timeout-minutes: 60 + run: >- + dotnet test "${{ env.PROJECT_PATH }}" + --no-restore + --no-build + --verbosity normal + --logger trx + --results-directory "TestResults-${{ matrix.os }}" || true + + - name: Upload test results + if: ${{ always() }} + uses: actions/upload-artifact@v4 + with: + name: test-results-${{ matrix.os }} + path: TestResults-${{ matrix.os }} \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8f8c8a8f..91fdaed1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,52 +1,178 @@ name: 'Publish to NuGet' -on: +on: workflow_dispatch: inputs: reason: description: 'The reason for running the workflow' required: false - default: 'Manual publish to nuget' - - workflow_run: - workflows: [ 'Pack' ] - types: - - completed + default: 'Manual publish' + version: + description: 'Version' + required: true push: tags: - - '[0-9]+.[0-9]+.[0-9]+(-[\w.]+)?' - + - '[0-9]+.[0-9]+.[0-9]+*' + +env: + # Disable the .NET logo in the console output. + DOTNET_NOLOGO: true + + # Disable sending usage data to Microsoft + DOTNET_CLI_TELEMETRY_OPTOUT: true + + # Set working directory + PROJECT_PATH: ./src/redmine-net-api/redmine-net-api.csproj + + # Configuration + CONFIGURATION: Release + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true - -jobs: + +jobs: + check-tag-branch: + name: Check Tag and Master Branch hashes + # This job is based on replies in https://github.community/t/how-to-create-filter-on-both-tag-and-branch/16936/6 + runs-on: ubuntu-latest + outputs: + ver: ${{ steps.set-version.outputs.VERSION }} + steps: + - name: Get tag commit hash + id: tag-commit-hash + run: | + hash=${{ github.sha }} + echo "{name}=tag-hash::${hash}" >> $GITHUB_OUTPUT + echo $hash + + - name: Checkout master + uses: actions/checkout@v4 + with: + ref: master + + - name: Get latest master commit hash + id: master-commit-hash + run: | + hash=$(git log -n1 --format=format:"%H") + echo "{name}=master-hash::${hash}" >> $GITHUB_OUTPUT + echo $hash + + - name: Verify tag commit matches master commit - exit if they don't match + if: steps.tag-commit-hash.outputs.tag-hash != steps.master-commit-hash.outputs.master-hash + run: | + echo "Tag was not on the master branch. Exiting." + exit 1 + + - name: Get Dispatched Version + if: github.event_name == 'workflow_dispatch' + run: | + echo "VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV + + - name: Get Tag Version + if: github.event_name == 'push' + run: | + echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV + + - name: Set Version + id: set-version + run: | + echo "VERSION=${{ env.VERSION }}" >> "$GITHUB_OUTPUT" + + validate-version: + name: Validate Version + needs: check-tag-branch + runs-on: ubuntu-latest + steps: + - name: Get Version + run: echo "VERSION=${{ needs.check-tag-branch.outputs.ver }}" >> $GITHUB_ENV + + - name: Display Version + run: echo "$VERSION" + + - name: Check Version Is Declared + run: | + if [[ -z "$VERSION" ]]; then + echo "Version is not declared." + exit 1 + fi + + - name: Validate Version matches SemVer format + run: | + if [[ ! "$VERSION" =~ ^([0-9]+\.){2,3}[0-9]+(-[a-zA-Z0-9.-]+)*$ ]]; then + echo "The version does not match the SemVer format (X.Y.Z). Please provide a valid version." + exit 1 + fi + + call-build-and-test: + name: Call Build and Test + needs: validate-version + uses: ./.github/workflows/build-and-test.yml + + pack: + name: Pack + needs: [check-tag-branch, validate-version, call-build-and-test] + runs-on: ubuntu-latest + steps: + - name: Get Version + run: echo "VERSION=${{ needs.check-tag-branch.outputs.ver }}" >> $GITHUB_ENV + + - name: Checkout + uses: actions/checkout@v4 + with: + lfs: true + fetch-depth: 0 + + - name: Setup .NET Core (global.json) + uses: actions/setup-dotnet@v4 + + - name: Display dotnet version + run: dotnet --version + + - name: Install dependencies + run: dotnet restore "${{ env.PROJECT_PATH }}" + + - name: Create the package + run: >- + dotnet pack "${{ env.PROJECT_PATH }}" + --output ./artifacts + --configuration "${{ env.CONFIGURATION }}" + -p:Version=$VERSION + -p:PackageVersion=$VERSION + -p:SymbolPackageFormat=snupkg + + - name: Create the package - Signed + run: >- + dotnet pack "${{ env.PROJECT_PATH }}" + --output ./artifacts + --configuration "${{ env.CONFIGURATION }}" + --include-symbols + --include-source + -p:Version=$VERSION + -p:PackageVersion=$VERSION + -p:SymbolPackageFormat=snupkg + -p:Sign=true + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: artifacts + path: ./artifacts + publish: name: Publish to Nuget - if: github.ref == 'refs/heads/master' + needs: pack runs-on: ubuntu-latest steps: - - name: Print manual run reason - if: ${{ github.event_name == 'workflow_dispatch' }} - run: | - echo 'Reason: ${{ github.event.inputs.reason }}' - - name: Download artifacts uses: actions/download-artifact@v4 with: name: artifacts - path: ./artifacts - + path: ./artifacts + - name: Publish packages run: >- dotnet nuget push ./artifacts/**.nupkg --source 'https://api.nuget.org/v3/index.json' --api-key ${{secrets.NUGET_TOKEN}} - --skip-duplicate - - - name: Upload artifacts to the GitHub release - uses: Roang-zero1/github-upload-release-artifacts-action@v3.0.0 - with: - args: ./artifacts - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + --skip-duplicate \ No newline at end of file From c7abcf9cbfbf0991d7a1f00ffbf52e06088e298c Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 28 Feb 2024 20:51:04 +0200 Subject: [PATCH 430/601] [New][SemaphoreSlimExtensions] - WaitAsync for .net 4.0 --- .../Extensions/SemaphoreSlimExtensions.cs | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/redmine-net-api/Extensions/SemaphoreSlimExtensions.cs diff --git a/src/redmine-net-api/Extensions/SemaphoreSlimExtensions.cs b/src/redmine-net-api/Extensions/SemaphoreSlimExtensions.cs new file mode 100644 index 00000000..a47dbb9b --- /dev/null +++ b/src/redmine-net-api/Extensions/SemaphoreSlimExtensions.cs @@ -0,0 +1,35 @@ +/* +Copyright 2011 - 2023 Adrian Popescu + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +#if !(NET20) +using System.Threading; +using System.Threading.Tasks; + +namespace Redmine.Net.Api.Extensions; +#if !(NET45_OR_GREATER || NETCOREAPP) +internal static class SemaphoreSlimExtensions +{ + + public static Task WaitAsync(this SemaphoreSlim semaphore, CancellationToken cancellationToken = default) + { + return Task.Factory.StartNew(() => semaphore.Wait(cancellationToken) + , CancellationToken.None + , TaskCreationOptions.None + , TaskScheduler.Default); + } +} +#endif +#endif From 3346e36aeff43c064a733bc99db0a836bff55c21 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 28 Feb 2024 20:52:08 +0200 Subject: [PATCH 431/601] [New][TaskExtensions] --- .../Extensions/TaskExtensions.cs | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/redmine-net-api/Extensions/TaskExtensions.cs diff --git a/src/redmine-net-api/Extensions/TaskExtensions.cs b/src/redmine-net-api/Extensions/TaskExtensions.cs new file mode 100644 index 00000000..865ebc42 --- /dev/null +++ b/src/redmine-net-api/Extensions/TaskExtensions.cs @@ -0,0 +1,45 @@ +/* +Copyright 2011 - 2023 Adrian Popescu + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +#if !(NET20) +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; + +namespace Redmine.Net.Api.Extensions; + +internal static class TaskExtensions +{ + public static T GetAwaiterResult(this Task task) + { + return task.GetAwaiter().GetResult(); + } + + public static TResult Synchronize(Func> function) + { + return Task.Factory.StartNew(function, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default) + .Unwrap().GetAwaiter().GetResult(); + } + + public static void Synchronize(Func function) + { + Task.Factory.StartNew(function, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default) + .Unwrap().GetAwaiter().GetResult(); + } +} +#endif \ No newline at end of file From 86c803fc1c46b23838e31ac897ee56a14b64e786 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 28 Feb 2024 22:11:48 +0200 Subject: [PATCH 432/601] [RedmineManagerAsync] Add ReplaceEndingsRegex for NET70 onwards --- src/redmine-net-api/RedmineManagerAsync.cs | 27 +++++++++++++++------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/src/redmine-net-api/RedmineManagerAsync.cs b/src/redmine-net-api/RedmineManagerAsync.cs index 50192c5a..86dc0e27 100644 --- a/src/redmine-net-api/RedmineManagerAsync.cs +++ b/src/redmine-net-api/RedmineManagerAsync.cs @@ -15,10 +15,12 @@ limitations under the License. */ #if !(NET20) +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Globalization; using System.Net; +using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using Redmine.Net.Api.Extensions; @@ -30,16 +32,17 @@ namespace Redmine.Net.Api; public partial class RedmineManager: IRedmineManagerAsync { + private const string CRLR = "\r\n"; + /// - public async Task CountAsync(RequestOptions requestOptions, CancellationToken cancellationToken = default) where T : class, new() + public async Task CountAsync(RequestOptions requestOptions, CancellationToken cancellationToken = default) + where T : class, new() { - const int PAGE_SIZE = 1; - const int OFFSET = 0; var totalCount = 0; requestOptions ??= new RequestOptions(); - requestOptions.QueryString.AddPagingParameters(PAGE_SIZE, OFFSET); + requestOptions.QueryString.AddPagingParameters(pageSize: 1, offset: 0); var tempResult = await GetPagedAsync(requestOptions, cancellationToken).ConfigureAwait(false); if (tempResult != null) @@ -145,8 +148,7 @@ public async Task GetAsync(string id, RequestOptions requestOptions = null return response.DeserializeTo(Serializer); } - - + /// public async Task CreateAsync(T entity, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) where T : class, new() @@ -174,8 +176,12 @@ public async Task UpdateAsync(string id, T entity, RequestOptions requestOpti var url = RedmineApiUrls.UpdateFragment(id); var payload = Serializer.Serialize(entity); - - // payload = Regex.Replace(payload, @"\r\n|\r|\n", "\r\n"); + + #if NET7_0_OR_GREATER + payload = ReplaceEndingsRegex().Replace(payload, CRLR); + #else + payload = Regex.Replace(payload, "\r\n|\r|\n",CRLR); + #endif await ApiClient.UpdateAsync(url, payload, requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); } @@ -205,5 +211,10 @@ public async Task DownloadFileAsync(string address, RequestOptions reque var response = await ApiClient.DownloadAsync(address, requestOptions,cancellationToken: cancellationToken).ConfigureAwait(false); return response.Content; } + + #if NET7_0_OR_GREATER + [GeneratedRegex(@"\r\n|\r|\n")] + private static partial Regex ReplaceEndingsRegex(); + #endif } #endif \ No newline at end of file From aa88782326671dcde688a9253dc3382d65b3eb2e Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 28 Feb 2024 23:03:28 +0200 Subject: [PATCH 433/601] [TaskExtensions] Add WhenAll for .net 4.0 --- src/redmine-net-api/Extensions/TaskExtensions.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/redmine-net-api/Extensions/TaskExtensions.cs b/src/redmine-net-api/Extensions/TaskExtensions.cs index 865ebc42..c74b6d4d 100644 --- a/src/redmine-net-api/Extensions/TaskExtensions.cs +++ b/src/redmine-net-api/Extensions/TaskExtensions.cs @@ -41,5 +41,20 @@ public static void Synchronize(Func function) Task.Factory.StartNew(function, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default) .Unwrap().GetAwaiter().GetResult(); } + + #if !(NET45_OR_GREATER || NETCOREAPP) + public static Task WhenAll(IEnumerable> tasks) + { + var clone = tasks.ToArray(); + + var x = Task.Factory.StartNew(() => + { + Task.WaitAll(clone); + return clone.Select(t => t.Result).ToArray(); + }, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); + + return default; + } + #endif } #endif \ No newline at end of file From d29da3f7cf2acb680370987ea1b9119069abc27b Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 28 Feb 2024 23:05:03 +0200 Subject: [PATCH 434/601] [RedmineManagerAsync] Improve GetAsync --- src/redmine-net-api/RedmineManagerAsync.cs | 116 +++++++++++++++------ 1 file changed, 83 insertions(+), 33 deletions(-) diff --git a/src/redmine-net-api/RedmineManagerAsync.cs b/src/redmine-net-api/RedmineManagerAsync.cs index 86dc0e27..20485248 100644 --- a/src/redmine-net-api/RedmineManagerAsync.cs +++ b/src/redmine-net-api/RedmineManagerAsync.cs @@ -18,8 +18,6 @@ limitations under the License. using System; using System.Collections.Generic; using System.Collections.Specialized; -using System.Globalization; -using System.Net; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; @@ -27,6 +25,7 @@ limitations under the License. using Redmine.Net.Api.Net; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; +using TaskExtensions = Redmine.Net.Api.Extensions.TaskExtensions; namespace Redmine.Net.Api; @@ -63,7 +62,8 @@ public async Task> GetPagedAsync(RequestOptions requestOption return response.DeserializeToPagedResults(Serializer); } - + + /// public async Task> GetAsync(RequestOptions requestOptions = null, CancellationToken cancellationToken = default) where T : class, new() @@ -89,52 +89,83 @@ public async Task> GetAsync(RequestOptions requestOptions = null, Can pageSize = PageSize > 0 ? PageSize : RedmineConstants.DEFAULT_PAGE_SIZE_VALUE; - requestOptions.QueryString.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); + requestOptions.QueryString.Set(RedmineKeys.LIMIT, pageSize.ToInvariantString()); } - - try + + var hasOffset = RedmineManager.TypesWithOffset.ContainsKey(typeof(T)); + if (hasOffset) { - var hasOffset = RedmineManager.TypesWithOffset.ContainsKey(typeof(T)); - if (hasOffset) + requestOptions.QueryString.Set(RedmineKeys.OFFSET, offset.ToInvariantString()); + + var tempResult = await GetPagedAsync(requestOptions, cancellationToken).ConfigureAwait(false); + + var totalCount = isLimitSet ? pageSize : tempResult.TotalItems; + + if (tempResult?.Items != null) { - int totalCount; - do - { - requestOptions.QueryString.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); + resultList = new List(tempResult.Items); + } + + var totalPages = (int)Math.Ceiling((double)totalCount / pageSize); - var tempResult = await GetPagedAsync(requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); + var remainingPages = totalPages - offset / pageSize; - totalCount = isLimitSet ? pageSize : tempResult.TotalItems; + if (remainingPages <= 0) + { + return resultList; + } + + using (var semaphore = new SemaphoreSlim(MAX_CONCURRENT_TASKS)) + { + var pageFetchTasks = new List>>(); + + for (int page = 0; page < remainingPages; page++) + { + await semaphore.WaitAsync(cancellationToken).ConfigureAwait(false); - if (tempResult?.Items != null) + var innerOffset = (page * pageSize) + offset; + + pageFetchTasks.Add(GetPagedInternalAsync(semaphore, new RequestOptions() { - if (resultList == null) + QueryString = new NameValueCollection() { - resultList = new List(tempResult.Items); + {RedmineKeys.OFFSET, innerOffset.ToInvariantString()}, + {RedmineKeys.LIMIT, pageSize.ToInvariantString()} } - else - { - resultList.AddRange(tempResult.Items); - } - } + }, cancellationToken)); + } - offset += pageSize; - } while (offset < totalCount); - } - else - { - var result = await GetPagedAsync(requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); - if (result?.Items != null) + var pageResults = await + #if(NET45_OR_GREATER || NETCOREAPP) + Task.WhenAll(pageFetchTasks) + #else + TaskExtensions.WhenAll(pageFetchTasks) + #endif + .ConfigureAwait(false); + + foreach (var pageResult in pageResults) { - return new List(result.Items); + if (pageResult?.Items == null) + { + continue; + } + + resultList ??= new List(); + + resultList.AddRange(pageResult.Items); } } } - catch (WebException wex) + else { - wex.HandleWebException(Serializer); + var result = await GetPagedAsync(requestOptions, cancellationToken: cancellationToken) + .ConfigureAwait(false); + if (result?.Items != null) + { + return new List(result.Items); + } } - + return resultList; } @@ -216,5 +247,24 @@ public async Task DownloadFileAsync(string address, RequestOptions reque [GeneratedRegex(@"\r\n|\r|\n")] private static partial Regex ReplaceEndingsRegex(); #endif + + private const int MAX_CONCURRENT_TASKS = 3; + + private async Task> GetPagedInternalAsync(SemaphoreSlim semaphore, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + try + { + var url = RedmineApiUrls.GetListFragment(); + + var response = await ApiClient.GetAsync(url, requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeToPagedResults(Serializer); + } + finally + { + semaphore.Release(); + } + } } #endif \ No newline at end of file From b81d4e755ac9ca0db538c10676fa5fe3cce887bc Mon Sep 17 00:00:00 2001 From: kasperk81 <83082615+kasperk81@users.noreply.github.com> Date: Sun, 16 Jun 2024 16:59:58 +0300 Subject: [PATCH 435/601] use correct framework (#350) --- src/redmine-net-api/redmine-net-api.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index cc750f06..df2e9234 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -4,7 +4,7 @@ Redmine.Net.Api redmine-net-api - net20;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;net481;net60;net70;net80 + net20;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;net481;net6.0;net7.0;net8.0 false True true From b5bee3c066f83979c954611993b8aa4bb2a08a2b Mon Sep 17 00:00:00 2001 From: Padi Date: Sat, 3 Aug 2024 19:03:37 +0300 Subject: [PATCH 436/601] Update pack.yml --- .github/workflows/pack.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 710e4df4..eb967b1d 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -88,16 +88,6 @@ jobs: -p:SymbolPackageFormat=snupkg -p:Sign=true - - name: Install dotnet-validate - run: >- - dotnet tool install - --global dotnet-validate - --version 0.0.1-preview.304 - - - name: Validate NuGet package - run: >- - dotnet-validate package local ./artifacts/**.nupkg - - name: Upload artifacts uses: actions/upload-artifact@v4 with: From 948bd0610bb78632286a1e2e8dfcc76470dea657 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 3 Aug 2024 19:25:51 +0300 Subject: [PATCH 437/601] [Global.Json] Update the sdk version to 8.0.303 --- global.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global.json b/global.json index 88e2f39a..ab747bba 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.101", + "version": "8.0.303", "allowPrerelease": false, "rollForward": "latestMajor" } From e021336237a4b92d1dc2f4ce0c09b3f3ffa7b917 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 3 Aug 2024 19:26:36 +0300 Subject: [PATCH 438/601] [Logo] Update logo --- logo.png | Bin 2034 -> 1631 bytes 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 logo.png diff --git a/logo.png b/logo.png old mode 100755 new mode 100644 index 0e88a5f479a6db483627c0bbc806bdcb7415ca04..83433adf960e5b583c62eb00c943ba4da7cd5350 GIT binary patch literal 1631 zcmc&!`#aMM99~H|N`x-YBy`mjW*jn?O|FS{Fe7A&IJr%3HEixCmHVa3=q4$VLM~wv zb1)-k$S`Nah*@qM+xQ;muQ>1Xyzl$G&+~bn&-1)Lyy+-M8#!69EC>XWv$M5y+IF*T z>d8oLD{Q<-4g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_dk^3ARjMlTAAiIA;i z_5aL|>l>}3w=N4C=sM_!%4L(qF#n%DI6{udM|n<6;8w(i@lK1x?|G zdIDL8&Uol`VxkeMMIGe0AC-qL*0Z2gjCHm#_x1KF6+iBre=(|UQM5MspJT)*DGKDi(hR2jh}BntpJ}9xK}6q>;oGU2vk#j z()~9{VzC}RyPJCNF7eKn{jd+0w)+Fg_0q(mGSp3oSzK1Hz;z3DB9i#yw{elN94e6~ zwHhj)Mg!QT_>?|si!6PVm7_iYjGVRty~e#Rwy@LCN$Yl?OLJfLGo|7TfE;Z+H82Y| zpJGBS(FXd!<&ZoiuGtNhYo_{lf&1a}y9Czs2|Qsvlv5|M@*w;~*Kw8OIoBO|c9(pJ z0dg83tJfiW0aN~xw*?<^lqGlB&3c~=AQK11hYN~gCp7^E7nubIzSKj26&h3 z8hMngi8wdX%Jb(M&h?9TC=vcq`LL=|sXoH-;nT10!4YRhQ$UsCb#X`#pQpxqJH`9W zy-KD0a@N%)7LnB*_(C9$y~^d*T>qQlw22N#5=)n?g$D#4vra(v%-EZ+l$~?+5mqy- z{u0W<;&ZF?a&y2tb)X#)^+{Z-^$I%lNQkZjHwyYx2}qxb>_6u#dm|{zyr8xvz5a*C zd8s18;Z=clRO@yKmW3uHM~`PfIzeqRzLtJQu#WDgo~75j+HnI&lqVMV1y!9C{O%eN zO~=yexcC#JMe=imPqsP|*(xYPm&Cetg6eBG?4K`2kYku8Ra6uNRie4D`P`H5>0#O-a881GS(ogK)c%|dXk> z?^k}+!K@xts%a~db7SIbt-sE7^tB+i6vtaNzIR-n;y-J=DY%|fakh22`()du@>^$7 zC;KiiWRh8-*s3IMU48qAItS(@RZx~tCQhSvf&bPK1*;TT42quRNdGACKdFX^pq+0# Qn*aa+07*qoM6N<$g5C%Ega7~l From c7433fc66730acaa7e852048a427949277fca4bd Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 3 Aug 2024 19:28:18 +0300 Subject: [PATCH 439/601] [Csproj] Build symbol package (.snupkg) --- src/redmine-net-api/redmine-net-api.csproj | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index cc750f06..87d799d9 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -64,6 +64,12 @@ git https://github.com/zapadi/redmine-net-api Redmine .NET API Client + + true + + true + snupkg + true From 1c8ce6e515a7df7e46601dc647b0e068f8a00e0a Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 3 Aug 2024 19:28:56 +0300 Subject: [PATCH 440/601] [Appveyor] Cahnge VS version to 2022 --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index fcb1ad07..8fc91681 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ version: '{build}' image: - - Visual Studio 2019 + - Visual Studio 2022 - Ubuntu environment: From ba922b8cf0df62efdce5a4c0f2e3d5e155347684 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 3 Aug 2024 19:31:04 +0300 Subject: [PATCH 441/601] [IssueCustomField] Serialization improvements --- src/redmine-net-api/Types/CustomFieldValue.cs | 9 +++------ src/redmine-net-api/Types/IssueCustomField.cs | 14 +++++++++----- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index 0a0f1033..a345acdf 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -35,9 +35,7 @@ public class CustomFieldValue : IXmlSerializable, IJsonSerializable, IEquatable< /// /// /// - public CustomFieldValue() - { - } + public CustomFieldValue() { } /// /// @@ -47,7 +45,7 @@ public CustomFieldValue(string value) { Info = value; } - + #region Properties /// @@ -144,7 +142,7 @@ public void WriteJson(JsonWriter writer) public bool Equals(CustomFieldValue other) { if (other == null) return false; - return string.Equals(Info,other.Info,StringComparison.OrdinalIgnoreCase); + return string.Equals(Info, other.Info, StringComparison.OrdinalIgnoreCase); } /// @@ -195,6 +193,5 @@ public object Clone() /// /// private string DebuggerDisplay => $"[{nameof(CustomFieldValue)}: {Info}]"; - } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index d278d5fc..65ad1049 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -112,7 +112,9 @@ public override void WriteXml(XmlWriter writer) writer.WriteAttributeString(RedmineKeys.ID, Id.ToString(CultureInfo.InvariantCulture)); - if (itemsCount > 1) + Multiple = itemsCount > 1; + + if (Multiple) { writer.WriteArrayStringElement(RedmineKeys.VALUE, Values, GetValue); } @@ -120,6 +122,8 @@ public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.VALUE, itemsCount > 0 ? Values[0].Info : null); } + + writer.WriteBoolean(RedmineKeys.MULTIPLE, Multiple); } #endregion @@ -136,12 +140,14 @@ public override void WriteJson(JsonWriter writer) } var itemsCount = Values.Count; + Multiple = itemsCount > 1; writer.WriteStartObject(); writer.WriteProperty(RedmineKeys.ID, Id); writer.WriteProperty(RedmineKeys.NAME, Name); - - if (itemsCount > 1) + writer.WriteBoolean(RedmineKeys.MULTIPLE, Multiple); + + if (Multiple) { writer.WritePropertyName(RedmineKeys.VALUE); writer.WriteStartArray(); @@ -150,8 +156,6 @@ public override void WriteJson(JsonWriter writer) writer.WriteValue(cfv.Info); } writer.WriteEndArray(); - - writer.WriteBoolean(RedmineKeys.MULTIPLE, Multiple); } else { From 2413a2f45d1e59d62d1c08d295115ae1aa517287 Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 22 Feb 2024 17:53:53 +0200 Subject: [PATCH 442/601] [GitActions][Delete] build & pack workflows --- .github/workflows/build.yml | 86 --------------------------------- .github/workflows/pack.yml | 95 ------------------------------------- redmine-net-api.sln | 2 - 3 files changed, 183 deletions(-) delete mode 100644 .github/workflows/build.yml delete mode 100644 .github/workflows/pack.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index d40f5180..00000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,86 +0,0 @@ -name: 'Build' - -on: - workflow_dispatch: - inputs: - reason: - description: 'The reason for running the workflow' - required: false - default: 'Manual run' - workflow_call: - push: - paths: - - '**.cs' - - '**.csproj' - pull_request: - branches: [ master ] - paths: - - '**.cs' - - '**.csproj' - -env: - # Disable the .NET logo in the console output. - DOTNET_NOLOGO: true - - # Stop wasting time caching packages - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - - # Disable sending usage data to Microsoft - DOTNET_CLI_TELEMETRY_OPTOUT: true - - DOTNET_ADD_GLOBAL_TOOLS_TO_PATH: false - - DOTNET_MULTILEVEL_LOOKUP: 0 - - PROJECT_PATH: . - - CONFIGURATION: Release - - # Set the build number in MinVer. - MINVERBUILDMETADATA: build.${{github.run_number}} - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - build: - name: Build ${{ matrix.os }} - dotnet ${{ matrix.dotnet }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ ubuntu-latest, windows-latest, macos-latest ] - - steps: - - name: Print manual run reason - if: ${{ github.event_name == 'workflow_dispatch' }} - run: | - echo 'Reason: ${{ github.event.inputs.reason }}' - - - name: Checkout - uses: actions/checkout@v4 - with: - lfs: true - fetch-depth: 0 - - - name: Setup .NET (global.json) - uses: actions/setup-dotnet@v4 - - - uses: actions/cache@v4 - with: - path: ~/.nuget/packages - # Look to see if there is a cache hit for the corresponding requirements file - key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} - restore-keys: | - ${{ runner.os }}-nuget - - - name: Restore - run: dotnet restore "${{ env.PROJECT_PATH }}" - - - name: Build - run: >- - dotnet build "${{ env.PROJECT_PATH }}" - --configuration "${{ env.CONFIGURATION }}" - --no-restore - -p:ContinuousIntegrationBuild=true \ No newline at end of file diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml deleted file mode 100644 index eb967b1d..00000000 --- a/.github/workflows/pack.yml +++ /dev/null @@ -1,95 +0,0 @@ -name: 'Pack' - -on: - workflow_run: - workflows: [ 'Build and Test' ] - types: [ requested ] - branches: [ master ] - - workflow_call: - - workflow_dispatch: - inputs: - reason: - description: 'The reason for running the workflow' - required: false - default: 'Manual pack' - version: - description: 'Version' - required: true - -env: - CONFIGURATION: 'Release' - - PROJECT_PATH: "." - - PROJECT_NAME: redmine-net-api - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - pack: - name: Pack - if: github.ref == 'refs/heads/master' - runs-on: ubuntu-latest - steps: - - name: Determine Version - run: | - if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then - echo "VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV - else - echo "VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)" >> $GITHUB_ENV - fi - echo "$GITHUB_ENV" - - - name: Print Version - run: | - echo "$VERSION" - - - name: Validate Version matches SemVer format - run: | - if [[ ! "$VERSION" =~ ^([0-9]+\.){2}[0-9]+(-[\w.]+)?$ ]]; then - echo "The version does not match the SemVer format (X.Y.Z). Please provide a valid version." - exit 1 - fi - - - name: Checkout - uses: actions/checkout@v4 - with: - lfs: true - fetch-depth: 0 - - - name: Setup .NET Core (global.json) - uses: actions/setup-dotnet@v4 - - - name: Install dependencies - run: dotnet restore "${{ env.PROJECT_PATH }}" - - - name: Pack - run: >- - dotnet pack ./src/redmine-net-api/redmine-net-api.csproj - --output ./artifacts - --configuration "${{ env.CONFIGURATION }}" - -p:Version=$VERSION - -p:PackageVersion=${{ env.VERSION }} - -p:SymbolPackageFormat=snupkg - - - name: Pack Signed - run: >- - dotnet pack ./src/redmine-net-api/redmine-net-api.csproj - --output ./artifacts - --configuration "${{ env.CONFIGURATION }}" - --include-symbols - --include-source - -p:Version=$VERSION - -p:PackageVersion=${{ env.VERSION }} - -p:SymbolPackageFormat=snupkg - -p:Sign=true - - - name: Upload artifacts - uses: actions/upload-artifact@v4 - with: - name: artifacts - path: ./artifacts diff --git a/redmine-net-api.sln b/redmine-net-api.sln index 2715270a..7cbed138 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -23,8 +23,6 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitActions", "GitActions", "{79119F8B-C468-4DC8-BE6F-6E7102BD2079}" ProjectSection(SolutionItems) = preProject .github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml - .github\workflows\pack.yml = .github\workflows\pack.yml - .github\workflows\build.yml = .github\workflows\build.yml .github\workflows\build-and-test.yml = .github\workflows\build-and-test.yml .github\workflows\publish.yml = .github\workflows\publish.yml EndProjectSection From bb637e31971af7080637849860dbfef4e5858103 Mon Sep 17 00:00:00 2001 From: zapadi Date: Thu, 22 Feb 2024 17:54:58 +0200 Subject: [PATCH 443/601] [GitActions] Improve build, test & pack workflows --- .github/workflows/build-and-test.yml | 110 +++++++++++++--- .github/workflows/publish.yml | 180 +++++++++++++++++++++++---- 2 files changed, 244 insertions(+), 46 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 524903c9..1cc0e016 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -1,35 +1,107 @@ name: 'Build and Test' on: + workflow_call: workflow_dispatch: inputs: reason: description: 'The reason for running the workflow' required: false default: 'Manual build and run tests' - workflow_run: - workflows: [ 'Build' ] - types: - - completed + push: + tags-ignore: + - '[0-9]+.[0-9]+.[0-9]+*' + paths: + - '**.cs' + - '**.csproj' + - '**.sln' + pull_request: + branches: [ master ] + paths: + - '**.cs' + - '**.csproj' + - '**.sln' + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +env: + # Disable the .NET logo in the console output. + DOTNET_NOLOGO: true + + # Stop wasting time caching packages + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true + + # Disable sending usage data to Microsoft + DOTNET_CLI_TELEMETRY_OPTOUT: true + + DOTNET_ADD_GLOBAL_TOOLS_TO_PATH: false + DOTNET_MULTILEVEL_LOOKUP: 0 + + PROJECT_PATH: . + + CONFIGURATION: Release + jobs: build: - uses: ./.github/workflows/build.yml - test: - name: Test - ${{matrix.os}} - needs: [build] + needs: before + name: Build ${{ matrix.os }} - dotnet ${{ matrix.dotnet }} runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: - os: [ ubuntu-latest, windows-latest, macOS-latest ] + os: [ ubuntu-latest, windows-latest, macos-latest ] + steps: - - name: Test - # if: ${{ github.event.workflow_run.conclusion == 'success' }} - timeout-minutes: 60 - run: >- - dotnet test "${{ env.PROJECT_PATH }}" - --no-restore - --no-build - --verbosity normal - --logger "trx;LogFileName=test-results.trx" || true - \ No newline at end of file + - name: Print manual run reason + if: ${{ github.event_name == 'workflow_dispatch' }} + run: | + echo 'Reason: ${{ github.event.inputs.reason }}' + + - name: Checkout + uses: actions/checkout@v4 + with: + lfs: true + fetch-depth: 0 + + - name: Setup .NET (global.json) + uses: actions/setup-dotnet@v4 + + - name: Display dotnet version + run: dotnet --version + + - uses: actions/cache@v4 + with: + path: ~/.nuget/packages + # Look to see if there is a cache hit for the corresponding requirements file + key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} + restore-keys: | + ${{ runner.os }}-nuget + + - name: Restore + run: dotnet restore "${{ env.PROJECT_PATH }}" + + - name: Build + run: >- + dotnet build "${{ env.PROJECT_PATH }}" + --configuration "${{ env.CONFIGURATION }}" + --no-restore + + - name: Test + timeout-minutes: 60 + run: >- + dotnet test "${{ env.PROJECT_PATH }}" + --no-restore + --no-build + --verbosity normal + --logger trx + --results-directory "TestResults-${{ matrix.os }}" || true + + - name: Upload test results + if: ${{ always() }} + uses: actions/upload-artifact@v4 + with: + name: test-results-${{ matrix.os }} + path: TestResults-${{ matrix.os }} \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8f8c8a8f..91fdaed1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,52 +1,178 @@ name: 'Publish to NuGet' -on: +on: workflow_dispatch: inputs: reason: description: 'The reason for running the workflow' required: false - default: 'Manual publish to nuget' - - workflow_run: - workflows: [ 'Pack' ] - types: - - completed + default: 'Manual publish' + version: + description: 'Version' + required: true push: tags: - - '[0-9]+.[0-9]+.[0-9]+(-[\w.]+)?' - + - '[0-9]+.[0-9]+.[0-9]+*' + +env: + # Disable the .NET logo in the console output. + DOTNET_NOLOGO: true + + # Disable sending usage data to Microsoft + DOTNET_CLI_TELEMETRY_OPTOUT: true + + # Set working directory + PROJECT_PATH: ./src/redmine-net-api/redmine-net-api.csproj + + # Configuration + CONFIGURATION: Release + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true - -jobs: + +jobs: + check-tag-branch: + name: Check Tag and Master Branch hashes + # This job is based on replies in https://github.community/t/how-to-create-filter-on-both-tag-and-branch/16936/6 + runs-on: ubuntu-latest + outputs: + ver: ${{ steps.set-version.outputs.VERSION }} + steps: + - name: Get tag commit hash + id: tag-commit-hash + run: | + hash=${{ github.sha }} + echo "{name}=tag-hash::${hash}" >> $GITHUB_OUTPUT + echo $hash + + - name: Checkout master + uses: actions/checkout@v4 + with: + ref: master + + - name: Get latest master commit hash + id: master-commit-hash + run: | + hash=$(git log -n1 --format=format:"%H") + echo "{name}=master-hash::${hash}" >> $GITHUB_OUTPUT + echo $hash + + - name: Verify tag commit matches master commit - exit if they don't match + if: steps.tag-commit-hash.outputs.tag-hash != steps.master-commit-hash.outputs.master-hash + run: | + echo "Tag was not on the master branch. Exiting." + exit 1 + + - name: Get Dispatched Version + if: github.event_name == 'workflow_dispatch' + run: | + echo "VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV + + - name: Get Tag Version + if: github.event_name == 'push' + run: | + echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV + + - name: Set Version + id: set-version + run: | + echo "VERSION=${{ env.VERSION }}" >> "$GITHUB_OUTPUT" + + validate-version: + name: Validate Version + needs: check-tag-branch + runs-on: ubuntu-latest + steps: + - name: Get Version + run: echo "VERSION=${{ needs.check-tag-branch.outputs.ver }}" >> $GITHUB_ENV + + - name: Display Version + run: echo "$VERSION" + + - name: Check Version Is Declared + run: | + if [[ -z "$VERSION" ]]; then + echo "Version is not declared." + exit 1 + fi + + - name: Validate Version matches SemVer format + run: | + if [[ ! "$VERSION" =~ ^([0-9]+\.){2,3}[0-9]+(-[a-zA-Z0-9.-]+)*$ ]]; then + echo "The version does not match the SemVer format (X.Y.Z). Please provide a valid version." + exit 1 + fi + + call-build-and-test: + name: Call Build and Test + needs: validate-version + uses: ./.github/workflows/build-and-test.yml + + pack: + name: Pack + needs: [check-tag-branch, validate-version, call-build-and-test] + runs-on: ubuntu-latest + steps: + - name: Get Version + run: echo "VERSION=${{ needs.check-tag-branch.outputs.ver }}" >> $GITHUB_ENV + + - name: Checkout + uses: actions/checkout@v4 + with: + lfs: true + fetch-depth: 0 + + - name: Setup .NET Core (global.json) + uses: actions/setup-dotnet@v4 + + - name: Display dotnet version + run: dotnet --version + + - name: Install dependencies + run: dotnet restore "${{ env.PROJECT_PATH }}" + + - name: Create the package + run: >- + dotnet pack "${{ env.PROJECT_PATH }}" + --output ./artifacts + --configuration "${{ env.CONFIGURATION }}" + -p:Version=$VERSION + -p:PackageVersion=$VERSION + -p:SymbolPackageFormat=snupkg + + - name: Create the package - Signed + run: >- + dotnet pack "${{ env.PROJECT_PATH }}" + --output ./artifacts + --configuration "${{ env.CONFIGURATION }}" + --include-symbols + --include-source + -p:Version=$VERSION + -p:PackageVersion=$VERSION + -p:SymbolPackageFormat=snupkg + -p:Sign=true + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: artifacts + path: ./artifacts + publish: name: Publish to Nuget - if: github.ref == 'refs/heads/master' + needs: pack runs-on: ubuntu-latest steps: - - name: Print manual run reason - if: ${{ github.event_name == 'workflow_dispatch' }} - run: | - echo 'Reason: ${{ github.event.inputs.reason }}' - - name: Download artifacts uses: actions/download-artifact@v4 with: name: artifacts - path: ./artifacts - + path: ./artifacts + - name: Publish packages run: >- dotnet nuget push ./artifacts/**.nupkg --source 'https://api.nuget.org/v3/index.json' --api-key ${{secrets.NUGET_TOKEN}} - --skip-duplicate - - - name: Upload artifacts to the GitHub release - uses: Roang-zero1/github-upload-release-artifacts-action@v3.0.0 - with: - args: ./artifacts - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + --skip-duplicate \ No newline at end of file From 0bb4cf70443738c26ae7a04e138cee024957187b Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 28 Feb 2024 20:51:04 +0200 Subject: [PATCH 444/601] [New][SemaphoreSlimExtensions] - WaitAsync for .net 4.0 --- .../Extensions/SemaphoreSlimExtensions.cs | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/redmine-net-api/Extensions/SemaphoreSlimExtensions.cs diff --git a/src/redmine-net-api/Extensions/SemaphoreSlimExtensions.cs b/src/redmine-net-api/Extensions/SemaphoreSlimExtensions.cs new file mode 100644 index 00000000..a47dbb9b --- /dev/null +++ b/src/redmine-net-api/Extensions/SemaphoreSlimExtensions.cs @@ -0,0 +1,35 @@ +/* +Copyright 2011 - 2023 Adrian Popescu + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +#if !(NET20) +using System.Threading; +using System.Threading.Tasks; + +namespace Redmine.Net.Api.Extensions; +#if !(NET45_OR_GREATER || NETCOREAPP) +internal static class SemaphoreSlimExtensions +{ + + public static Task WaitAsync(this SemaphoreSlim semaphore, CancellationToken cancellationToken = default) + { + return Task.Factory.StartNew(() => semaphore.Wait(cancellationToken) + , CancellationToken.None + , TaskCreationOptions.None + , TaskScheduler.Default); + } +} +#endif +#endif From 54a74381f460e0f085cc133943926a581dd52eab Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 28 Feb 2024 20:52:08 +0200 Subject: [PATCH 445/601] [New][TaskExtensions] --- .../Extensions/TaskExtensions.cs | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/redmine-net-api/Extensions/TaskExtensions.cs diff --git a/src/redmine-net-api/Extensions/TaskExtensions.cs b/src/redmine-net-api/Extensions/TaskExtensions.cs new file mode 100644 index 00000000..865ebc42 --- /dev/null +++ b/src/redmine-net-api/Extensions/TaskExtensions.cs @@ -0,0 +1,45 @@ +/* +Copyright 2011 - 2023 Adrian Popescu + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +#if !(NET20) +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; + +namespace Redmine.Net.Api.Extensions; + +internal static class TaskExtensions +{ + public static T GetAwaiterResult(this Task task) + { + return task.GetAwaiter().GetResult(); + } + + public static TResult Synchronize(Func> function) + { + return Task.Factory.StartNew(function, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default) + .Unwrap().GetAwaiter().GetResult(); + } + + public static void Synchronize(Func function) + { + Task.Factory.StartNew(function, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default) + .Unwrap().GetAwaiter().GetResult(); + } +} +#endif \ No newline at end of file From 3435bd293a8403541fa88b0f6d1397a9a0768097 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 28 Feb 2024 22:11:48 +0200 Subject: [PATCH 446/601] [RedmineManagerAsync] Add ReplaceEndingsRegex for NET70 onwards --- src/redmine-net-api/RedmineManagerAsync.cs | 27 +++++++++++++++------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/src/redmine-net-api/RedmineManagerAsync.cs b/src/redmine-net-api/RedmineManagerAsync.cs index 50192c5a..86dc0e27 100644 --- a/src/redmine-net-api/RedmineManagerAsync.cs +++ b/src/redmine-net-api/RedmineManagerAsync.cs @@ -15,10 +15,12 @@ limitations under the License. */ #if !(NET20) +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Globalization; using System.Net; +using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using Redmine.Net.Api.Extensions; @@ -30,16 +32,17 @@ namespace Redmine.Net.Api; public partial class RedmineManager: IRedmineManagerAsync { + private const string CRLR = "\r\n"; + /// - public async Task CountAsync(RequestOptions requestOptions, CancellationToken cancellationToken = default) where T : class, new() + public async Task CountAsync(RequestOptions requestOptions, CancellationToken cancellationToken = default) + where T : class, new() { - const int PAGE_SIZE = 1; - const int OFFSET = 0; var totalCount = 0; requestOptions ??= new RequestOptions(); - requestOptions.QueryString.AddPagingParameters(PAGE_SIZE, OFFSET); + requestOptions.QueryString.AddPagingParameters(pageSize: 1, offset: 0); var tempResult = await GetPagedAsync(requestOptions, cancellationToken).ConfigureAwait(false); if (tempResult != null) @@ -145,8 +148,7 @@ public async Task GetAsync(string id, RequestOptions requestOptions = null return response.DeserializeTo(Serializer); } - - + /// public async Task CreateAsync(T entity, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) where T : class, new() @@ -174,8 +176,12 @@ public async Task UpdateAsync(string id, T entity, RequestOptions requestOpti var url = RedmineApiUrls.UpdateFragment(id); var payload = Serializer.Serialize(entity); - - // payload = Regex.Replace(payload, @"\r\n|\r|\n", "\r\n"); + + #if NET7_0_OR_GREATER + payload = ReplaceEndingsRegex().Replace(payload, CRLR); + #else + payload = Regex.Replace(payload, "\r\n|\r|\n",CRLR); + #endif await ApiClient.UpdateAsync(url, payload, requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); } @@ -205,5 +211,10 @@ public async Task DownloadFileAsync(string address, RequestOptions reque var response = await ApiClient.DownloadAsync(address, requestOptions,cancellationToken: cancellationToken).ConfigureAwait(false); return response.Content; } + + #if NET7_0_OR_GREATER + [GeneratedRegex(@"\r\n|\r|\n")] + private static partial Regex ReplaceEndingsRegex(); + #endif } #endif \ No newline at end of file From 9621e3ee495072996f0a46c9ae67df98cf19a1c8 Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 28 Feb 2024 23:03:28 +0200 Subject: [PATCH 447/601] [TaskExtensions] Add WhenAll for .net 4.0 --- src/redmine-net-api/Extensions/TaskExtensions.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/redmine-net-api/Extensions/TaskExtensions.cs b/src/redmine-net-api/Extensions/TaskExtensions.cs index 865ebc42..c74b6d4d 100644 --- a/src/redmine-net-api/Extensions/TaskExtensions.cs +++ b/src/redmine-net-api/Extensions/TaskExtensions.cs @@ -41,5 +41,20 @@ public static void Synchronize(Func function) Task.Factory.StartNew(function, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default) .Unwrap().GetAwaiter().GetResult(); } + + #if !(NET45_OR_GREATER || NETCOREAPP) + public static Task WhenAll(IEnumerable> tasks) + { + var clone = tasks.ToArray(); + + var x = Task.Factory.StartNew(() => + { + Task.WaitAll(clone); + return clone.Select(t => t.Result).ToArray(); + }, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); + + return default; + } + #endif } #endif \ No newline at end of file From 451b3b10714f3f99c402abf0a8cef5ea3aeeae3a Mon Sep 17 00:00:00 2001 From: zapadi Date: Wed, 28 Feb 2024 23:05:03 +0200 Subject: [PATCH 448/601] [RedmineManagerAsync] Improve GetAsync --- src/redmine-net-api/RedmineManagerAsync.cs | 116 +++++++++++++++------ 1 file changed, 83 insertions(+), 33 deletions(-) diff --git a/src/redmine-net-api/RedmineManagerAsync.cs b/src/redmine-net-api/RedmineManagerAsync.cs index 86dc0e27..20485248 100644 --- a/src/redmine-net-api/RedmineManagerAsync.cs +++ b/src/redmine-net-api/RedmineManagerAsync.cs @@ -18,8 +18,6 @@ limitations under the License. using System; using System.Collections.Generic; using System.Collections.Specialized; -using System.Globalization; -using System.Net; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; @@ -27,6 +25,7 @@ limitations under the License. using Redmine.Net.Api.Net; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; +using TaskExtensions = Redmine.Net.Api.Extensions.TaskExtensions; namespace Redmine.Net.Api; @@ -63,7 +62,8 @@ public async Task> GetPagedAsync(RequestOptions requestOption return response.DeserializeToPagedResults(Serializer); } - + + /// public async Task> GetAsync(RequestOptions requestOptions = null, CancellationToken cancellationToken = default) where T : class, new() @@ -89,52 +89,83 @@ public async Task> GetAsync(RequestOptions requestOptions = null, Can pageSize = PageSize > 0 ? PageSize : RedmineConstants.DEFAULT_PAGE_SIZE_VALUE; - requestOptions.QueryString.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); + requestOptions.QueryString.Set(RedmineKeys.LIMIT, pageSize.ToInvariantString()); } - - try + + var hasOffset = RedmineManager.TypesWithOffset.ContainsKey(typeof(T)); + if (hasOffset) { - var hasOffset = RedmineManager.TypesWithOffset.ContainsKey(typeof(T)); - if (hasOffset) + requestOptions.QueryString.Set(RedmineKeys.OFFSET, offset.ToInvariantString()); + + var tempResult = await GetPagedAsync(requestOptions, cancellationToken).ConfigureAwait(false); + + var totalCount = isLimitSet ? pageSize : tempResult.TotalItems; + + if (tempResult?.Items != null) { - int totalCount; - do - { - requestOptions.QueryString.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); + resultList = new List(tempResult.Items); + } + + var totalPages = (int)Math.Ceiling((double)totalCount / pageSize); - var tempResult = await GetPagedAsync(requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); + var remainingPages = totalPages - offset / pageSize; - totalCount = isLimitSet ? pageSize : tempResult.TotalItems; + if (remainingPages <= 0) + { + return resultList; + } + + using (var semaphore = new SemaphoreSlim(MAX_CONCURRENT_TASKS)) + { + var pageFetchTasks = new List>>(); + + for (int page = 0; page < remainingPages; page++) + { + await semaphore.WaitAsync(cancellationToken).ConfigureAwait(false); - if (tempResult?.Items != null) + var innerOffset = (page * pageSize) + offset; + + pageFetchTasks.Add(GetPagedInternalAsync(semaphore, new RequestOptions() { - if (resultList == null) + QueryString = new NameValueCollection() { - resultList = new List(tempResult.Items); + {RedmineKeys.OFFSET, innerOffset.ToInvariantString()}, + {RedmineKeys.LIMIT, pageSize.ToInvariantString()} } - else - { - resultList.AddRange(tempResult.Items); - } - } + }, cancellationToken)); + } - offset += pageSize; - } while (offset < totalCount); - } - else - { - var result = await GetPagedAsync(requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); - if (result?.Items != null) + var pageResults = await + #if(NET45_OR_GREATER || NETCOREAPP) + Task.WhenAll(pageFetchTasks) + #else + TaskExtensions.WhenAll(pageFetchTasks) + #endif + .ConfigureAwait(false); + + foreach (var pageResult in pageResults) { - return new List(result.Items); + if (pageResult?.Items == null) + { + continue; + } + + resultList ??= new List(); + + resultList.AddRange(pageResult.Items); } } } - catch (WebException wex) + else { - wex.HandleWebException(Serializer); + var result = await GetPagedAsync(requestOptions, cancellationToken: cancellationToken) + .ConfigureAwait(false); + if (result?.Items != null) + { + return new List(result.Items); + } } - + return resultList; } @@ -216,5 +247,24 @@ public async Task DownloadFileAsync(string address, RequestOptions reque [GeneratedRegex(@"\r\n|\r|\n")] private static partial Regex ReplaceEndingsRegex(); #endif + + private const int MAX_CONCURRENT_TASKS = 3; + + private async Task> GetPagedInternalAsync(SemaphoreSlim semaphore, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + where T : class, new() + { + try + { + var url = RedmineApiUrls.GetListFragment(); + + var response = await ApiClient.GetAsync(url, requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeToPagedResults(Serializer); + } + finally + { + semaphore.Release(); + } + } } #endif \ No newline at end of file From 466f227fdbf56d4d98871bc9301ff9f3a04baa21 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 3 Aug 2024 19:25:51 +0300 Subject: [PATCH 449/601] [Global.Json] Update the sdk version to 8.0.303 --- global.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global.json b/global.json index 88e2f39a..ab747bba 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.101", + "version": "8.0.303", "allowPrerelease": false, "rollForward": "latestMajor" } From aefcd6ee4cab94908b7cfb90836e5a2e5c9cfd31 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 3 Aug 2024 19:26:36 +0300 Subject: [PATCH 450/601] [Logo] Update logo --- logo.png | Bin 2034 -> 1631 bytes 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 logo.png diff --git a/logo.png b/logo.png old mode 100755 new mode 100644 index 0e88a5f479a6db483627c0bbc806bdcb7415ca04..83433adf960e5b583c62eb00c943ba4da7cd5350 GIT binary patch literal 1631 zcmc&!`#aMM99~H|N`x-YBy`mjW*jn?O|FS{Fe7A&IJr%3HEixCmHVa3=q4$VLM~wv zb1)-k$S`Nah*@qM+xQ;muQ>1Xyzl$G&+~bn&-1)Lyy+-M8#!69EC>XWv$M5y+IF*T z>d8oLD{Q<-4g}iKhq~-ywH<-~3IDxDnJ}Q|h(sa+fe_dkam`>7NBB>K{;G}9fVNg^ zYwL!+G20kAsC$kB*Q1|<@cI1pOBW_D=#Ie7i!K{andogf!e`C(r%m;?R+beM6i_IX z*uj{l1py{Tu~;n6!eAb0psubC#0GC&weE$S1y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6q>;oGU2vk#j z()~9{VzC}RyPJCNF7eKn{jd+0w)+Fg_0q(mGSp3oSzK1Hz;z3DB9i#yw{elN94e6~ zwHhj)Mg!QT_>?|si!6PVm7_iYjGVRty~e#Rwy@LCN$Yl?OLJfLGo|7TfE;Z+H82Y| zpJGBS(FXd!<&ZoiuGtNhYo_{lf&1a}y9Czs2|Qsvlv5|M@*w;~*Kw8OIoBO|c9(pJ z0dg83tJfiW0aN~xw*?<^lqGlB&3c~=AQK11hYN~gCp7^E7nubIzSKj26&h3 z8hMngi8wdX%Jb(M&h?9TC=vcq`LL=|sXoH-;nT10!4YRhQ$UsCb#X`#pQpxqJH`9W zy-KD0a@N%)7LnB*_(C9$y~^d*T>qQlw22N#5=)n?g$D#4vra(v%-EZ+l$~?+5mqy- z{u0W<;&ZF?a&y2tb)X#)^+{Z-^$I%lNQkZjHwyYx2}qxb>_6u#dm|{zyr8xvz5a*C zd8s18;Z=clRO@yKmW3uHM~`PfIzeqRzLtJQu#WDgo~75j+HnI&lqVMV1y!9C{O%eN zO~=yexcC#JMe=imPqsP|*(xYPm&Cetg6eBG?4K`2kYku8Ra6uNRie4D`P`H5>0#O-a881GS(ogK)c%|dXk> z?^k}+!K@xts%a~db7SIbt-sE7^tB+i6vtaNzIR-n;y-J=DY%|fakh22`()du@>^$7 zC;KiiWRh8-*s3IMU48qAItS(@RZx~tCQhSvf&bPK1*;TT42quRNdGACKdFX^pq+0# Qn*aa+07*qoM6N<$g5C%Ega7~l From c1f9ac2b64d23042662f036d6d3becddbc2cd054 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 3 Aug 2024 19:28:18 +0300 Subject: [PATCH 451/601] [Csproj] Build symbol package (.snupkg) --- src/redmine-net-api/redmine-net-api.csproj | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index df2e9234..3d19d477 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -64,6 +64,12 @@ git https://github.com/zapadi/redmine-net-api Redmine .NET API Client + + true + + true + snupkg + true From 611c504f75851b29fa70003417cf90d6b709f112 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 3 Aug 2024 19:28:56 +0300 Subject: [PATCH 452/601] [Appveyor] Cahnge VS version to 2022 --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index fcb1ad07..8fc91681 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ version: '{build}' image: - - Visual Studio 2019 + - Visual Studio 2022 - Ubuntu environment: From 8750f39c20a0a701be8142d0ac190d39017738bf Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 3 Aug 2024 19:31:04 +0300 Subject: [PATCH 453/601] [IssueCustomField] Serialization improvements --- src/redmine-net-api/Types/CustomFieldValue.cs | 9 +++------ src/redmine-net-api/Types/IssueCustomField.cs | 14 +++++++++----- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index 0a0f1033..a345acdf 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -35,9 +35,7 @@ public class CustomFieldValue : IXmlSerializable, IJsonSerializable, IEquatable< /// /// /// - public CustomFieldValue() - { - } + public CustomFieldValue() { } /// /// @@ -47,7 +45,7 @@ public CustomFieldValue(string value) { Info = value; } - + #region Properties /// @@ -144,7 +142,7 @@ public void WriteJson(JsonWriter writer) public bool Equals(CustomFieldValue other) { if (other == null) return false; - return string.Equals(Info,other.Info,StringComparison.OrdinalIgnoreCase); + return string.Equals(Info, other.Info, StringComparison.OrdinalIgnoreCase); } /// @@ -195,6 +193,5 @@ public object Clone() /// /// private string DebuggerDisplay => $"[{nameof(CustomFieldValue)}: {Info}]"; - } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index d278d5fc..65ad1049 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -112,7 +112,9 @@ public override void WriteXml(XmlWriter writer) writer.WriteAttributeString(RedmineKeys.ID, Id.ToString(CultureInfo.InvariantCulture)); - if (itemsCount > 1) + Multiple = itemsCount > 1; + + if (Multiple) { writer.WriteArrayStringElement(RedmineKeys.VALUE, Values, GetValue); } @@ -120,6 +122,8 @@ public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.VALUE, itemsCount > 0 ? Values[0].Info : null); } + + writer.WriteBoolean(RedmineKeys.MULTIPLE, Multiple); } #endregion @@ -136,12 +140,14 @@ public override void WriteJson(JsonWriter writer) } var itemsCount = Values.Count; + Multiple = itemsCount > 1; writer.WriteStartObject(); writer.WriteProperty(RedmineKeys.ID, Id); writer.WriteProperty(RedmineKeys.NAME, Name); - - if (itemsCount > 1) + writer.WriteBoolean(RedmineKeys.MULTIPLE, Multiple); + + if (Multiple) { writer.WritePropertyName(RedmineKeys.VALUE); writer.WriteStartArray(); @@ -150,8 +156,6 @@ public override void WriteJson(JsonWriter writer) writer.WriteValue(cfv.Info); } writer.WriteEndArray(); - - writer.WriteBoolean(RedmineKeys.MULTIPLE, Multiple); } else { From b7d1e656c50ed4187dbf5e67c6fe758e08706281 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sat, 3 Aug 2024 20:02:25 +0300 Subject: [PATCH 454/601] [GitActions] Add missing job (before) --- .github/workflows/build-and-test.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 1cc0e016..a78cc6e2 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -45,6 +45,22 @@ env: CONFIGURATION: Release jobs: + before: + name: Before + runs-on: ubuntu-latest + steps: + - name: Info Before + run: | + echo "[${{ github.event_name }}] event automatically triggered this job." + echo "branch name is ${{ github.ref }}" + echo "This job has a '${{ job.status }}' status." + - name: Run a one-line script + run: | + echo "Is true: $( [ \"$EVENT_NAME\" = 'push' ] && [ \"$GITHUB_REF\" != 'refs/tags/' ] ) || [ \"$EVENT_NAME\" = 'workflow_dispatch' ]" + env: + EVENT_NAME: ${{ github.event_name }} + GITHUB_REF: ${{ github.ref }} + build: needs: before name: Build ${{ matrix.os }} - dotnet ${{ matrix.dotnet }} From 7f0f0b245d1ec3d743dd196c5d5b784e0eaa6f82 Mon Sep 17 00:00:00 2001 From: Padi Date: Sat, 3 Aug 2024 20:14:44 +0300 Subject: [PATCH 455/601] Update publish.yml --- .github/workflows/publish.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 91fdaed1..01a911f1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,10 +27,6 @@ env: # Configuration CONFIGURATION: Release -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - jobs: check-tag-branch: name: Check Tag and Master Branch hashes @@ -175,4 +171,4 @@ jobs: dotnet nuget push ./artifacts/**.nupkg --source 'https://api.nuget.org/v3/index.json' --api-key ${{secrets.NUGET_TOKEN}} - --skip-duplicate \ No newline at end of file + --skip-duplicate From ba7b7f601b8b459d7cf83a51f39d4b6cb5f8282f Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 15 Aug 2024 01:00:20 +0300 Subject: [PATCH 456/601] Update publish.yml --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 01a911f1..c6ed19cf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -133,6 +133,8 @@ jobs: dotnet pack "${{ env.PROJECT_PATH }}" --output ./artifacts --configuration "${{ env.CONFIGURATION }}" + --include-symbols + --include-source -p:Version=$VERSION -p:PackageVersion=$VERSION -p:SymbolPackageFormat=snupkg From 71a3cf9d9e7ca9db9f3ae2341ccb71b46011006a Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 15 Aug 2024 01:01:06 +0300 Subject: [PATCH 457/601] Update build-and-test.yml --- .github/workflows/build-and-test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index a78cc6e2..ef7d0fcc 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -22,9 +22,9 @@ on: - '**.csproj' - '**.sln' -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true +# concurrency: +# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} +# cancel-in-progress: true env: # Disable the .NET logo in the console output. @@ -120,4 +120,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: test-results-${{ matrix.os }} - path: TestResults-${{ matrix.os }} \ No newline at end of file + path: TestResults-${{ matrix.os }} From cdaa0aff55ab47e576d07972acce99dd12c0d531 Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 15 Aug 2024 01:11:07 +0300 Subject: [PATCH 458/601] Update codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e47ceb46..1ce884aa 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,7 +42,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -53,7 +53,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹ️ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -67,4 +67,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 From 8c24137b55218210a9400b8dd8516985e3c160e7 Mon Sep 17 00:00:00 2001 From: Padi Date: Mon, 26 Aug 2024 12:23:31 +0300 Subject: [PATCH 459/601] [Fix] Upload file for attachment (#356) --- .../Net/WebClient/InternalRedmineApiWebClient.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs index 5a9b9c45..b4c00970 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs @@ -131,7 +131,7 @@ public ApiResponseMessage Download(string address, RequestOptions requestOptions public ApiResponseMessage Upload(string address, byte[] data, RequestOptions requestOptions = null) { var content = new ByteArrayApiRequestMessageContent(data); - return HandleRequest(address, HttpVerbs.UPLOAD, requestOptions, content); + return HandleRequest(address, HttpVerbs.POST, requestOptions, content); } #if !(NET20) @@ -160,7 +160,7 @@ public async Task UpdateAsync(string address, string payload public async Task UploadFileAsync(string address, byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { var content = new ByteArrayApiRequestMessageContent(data); - return await HandleRequestAsync(address, HttpVerbs.UPLOAD, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); + return await HandleRequestAsync(address, HttpVerbs.POST, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); } public async Task PatchAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) @@ -350,4 +350,4 @@ private static string GetContentType(IRedmineSerializer serializer) return serializer.Format == RedmineConstants.XML ? RedmineConstants.CONTENT_TYPE_APPLICATION_XML : RedmineConstants.CONTENT_TYPE_APPLICATION_JSON; } } -} \ No newline at end of file +} From 27b4da6dd6b82c9c7f7304ae42dd5a74fabfa1f4 Mon Sep 17 00:00:00 2001 From: Padi Date: Mon, 26 Aug 2024 12:49:42 +0300 Subject: [PATCH 460/601] Update publish.yml --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c6ed19cf..f3c32f01 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -137,6 +137,7 @@ jobs: --include-source -p:Version=$VERSION -p:PackageVersion=$VERSION + -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg - name: Create the package - Signed @@ -148,6 +149,7 @@ jobs: --include-source -p:Version=$VERSION -p:PackageVersion=$VERSION + -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:Sign=true From 096d25c6c642e820d7a62d1b442e0e90173e8473 Mon Sep 17 00:00:00 2001 From: Padi Date: Sat, 31 Aug 2024 20:37:51 +0300 Subject: [PATCH 461/601] Update InternalRedmineApiWebClient.cs --- .../Net/WebClient/InternalRedmineApiWebClient.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs index b4c00970..0ee22f25 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs @@ -130,7 +130,7 @@ public ApiResponseMessage Download(string address, RequestOptions requestOptions public ApiResponseMessage Upload(string address, byte[] data, RequestOptions requestOptions = null) { - var content = new ByteArrayApiRequestMessageContent(data); + var content = new StreamApiRequestMessageContent(data); return HandleRequest(address, HttpVerbs.POST, requestOptions, content); } @@ -159,7 +159,7 @@ public async Task UpdateAsync(string address, string payload public async Task UploadFileAsync(string address, byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { - var content = new ByteArrayApiRequestMessageContent(data); + var content = new StreamApiRequestMessageContent(data); return await HandleRequestAsync(address, HttpVerbs.POST, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); } From 3d067a3d59b95ed8ba047c7489d1f3d882c50e2f Mon Sep 17 00:00:00 2001 From: Padi Date: Sat, 31 Aug 2024 21:00:21 +0300 Subject: [PATCH 462/601] Update codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1ce884aa..4c4bd893 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,11 +38,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -53,7 +53,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹ️ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -67,4 +67,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 From 4ec711f5d43a9d41c77e371c6d1e90e4edaa06db Mon Sep 17 00:00:00 2001 From: Padi Date: Sat, 31 Aug 2024 22:41:09 +0300 Subject: [PATCH 463/601] Update redmine-net-api.csproj --- src/redmine-net-api/redmine-net-api.csproj | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 3d19d477..55dc139d 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -35,7 +35,8 @@ - embedded + full + portable false $(SolutionDir)/artifacts @@ -68,6 +69,7 @@ true true + true snupkg true @@ -105,4 +107,4 @@ - \ No newline at end of file + From 409af54d9365ee42bf1340c61ec4a8bfd07c0abc Mon Sep 17 00:00:00 2001 From: Koichi Kobayashi Date: Tue, 26 Nov 2024 23:05:59 +0900 Subject: [PATCH 464/601] Update NuGet Package (#360) --- .../redmine-net-api.Tests.csproj | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index 8632e5f9..90f40281 100644 --- a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -54,14 +54,17 @@ - - - - - - - - + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + runtime; build; native; contentfiles; analyzers; buildtransitive From ac206ee617eb7713eb49a930fde5f53e983b48cb Mon Sep 17 00:00:00 2001 From: Padi Date: Sat, 4 Jan 2025 15:59:36 +0200 Subject: [PATCH 465/601] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 5d79c737..11bb8f6c 100755 --- a/README.md +++ b/README.md @@ -58,6 +58,13 @@ A good way to get started (flow): The API is released under Apache 2 open-source license. You can use it for both personal and commercial purposes, build upon it and modify it. +## Contributors +Thanks to all the people who already contributed! + + + + + ## Thanks I would like to thank: From 17ab59ebf1be3b1d2737adfab82ac9846e5d82fa Mon Sep 17 00:00:00 2001 From: Martin Hey Date: Tue, 7 Jan 2025 15:27:16 +0100 Subject: [PATCH 466/601] fixed memberships url (#365) according to https://www.redmine.org/projects/redmine/wiki/Rest_Memberships the url is /projects/:project_id --- src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs b/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs index b16ff47f..12f896f9 100644 --- a/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs +++ b/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs @@ -48,7 +48,7 @@ public static string ProjectMemberships(this RedmineApiUrls redmineApiUrls, stri throw new RedmineException($"Argument '{nameof(projectIdentifier)}' is null or whitespace"); } - return $"{RedmineKeys.PROJECT}/{projectIdentifier}/{RedmineKeys.MEMBERSHIPS}.{redmineApiUrls.Format}"; + return $"{RedmineKeys.PROJECTS}/{projectIdentifier}/{RedmineKeys.MEMBERSHIPS}.{redmineApiUrls.Format}"; } public static string ProjectWikiIndex(this RedmineApiUrls redmineApiUrls, string projectId) From cbc5bd007862eb6a5d25a1768ee50ff3c0dde402 Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 9 Jan 2025 19:38:10 +0200 Subject: [PATCH 467/601] Fix #363 (#366) --- src/redmine-net-api/RedmineManagerOptionsBuilder.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs index 8e682f0b..0b6dd5d5 100644 --- a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs +++ b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs @@ -361,6 +361,10 @@ internal static Uri CreateRedmineUri(string host, string scheme = null) uriBuilder.Scheme = uri.Scheme; uriBuilder.Port = int.TryParse(uri.LocalPath, out var port) ? port : uri.Port; uriBuilder.Host = uri.Host; + if (!uri.LocalPath.IsNullOrWhiteSpace() && !uri.LocalPath.Contains(".")) + { + uriBuilder.Path = uri.LocalPath; + } } } From c57e7702b205f6dabe78387eec13a6298cb69e13 Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 9 Jan 2025 20:59:05 +0200 Subject: [PATCH 468/601] Fix #364 (#367) --- src/redmine-net-api/RedmineKeys.cs | 2 +- .../Xml/Extensions/XmlReaderExtensions.cs | 17 +++++++++++++++++ src/redmine-net-api/Types/Permission.cs | 18 ++---------------- src/redmine-net-api/Types/Role.cs | 13 ++++++++++--- 4 files changed, 30 insertions(+), 20 deletions(-) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index 5bd7661e..8cc70a16 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -67,7 +67,7 @@ public static class RedmineKeys /// /// /// - public const string ASSIGNABLE = "Assignable"; + public const string ASSIGNABLE = "assignable"; /// /// /// diff --git a/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs b/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs index f0312351..1c762b1a 100644 --- a/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs @@ -87,6 +87,23 @@ public static bool ReadAttributeAsBoolean(this XmlReader reader, string attribut return result; } + /// + /// Reads the element content as nullable boolean. + /// + /// The reader. + /// + public static bool? ReadElementContentAsNullableBoolean(this XmlReader reader) + { + var content = reader.ReadElementContentAsString(); + + if (content.IsNullOrWhiteSpace() || !bool.TryParse(content, out var result)) + { + return null; + } + + return result; + } + /// /// Reads the element content as nullable date time. /// diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index 3a658453..fcfcbbf1 100644 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -77,23 +77,9 @@ public void WriteXml(XmlWriter writer) { } /// public void ReadJson(JsonReader reader) { - while (reader.Read()) + if (reader.TokenType == JsonToken.String) { - if (reader.TokenType == JsonToken.EndObject) - { - return; - } - - if (reader.TokenType != JsonToken.PropertyName) - { - continue; - } - - switch (reader.Value) - { - case RedmineKeys.PERMISSION: Info = reader.ReadAsString(); break; - default: reader.Read(); break; - } + Info = reader.Value as string; } } diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index 366ce69e..40ac4122 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -59,7 +59,7 @@ public sealed class Role : IdentifiableName, IEquatable /// /// /// - public bool IsAssignable { get; set; } + public bool? IsAssignable { get; set; } #endregion #region Implementation of IXmlSerialization @@ -82,6 +82,7 @@ public override void ReadXml(XmlReader reader) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; + case RedmineKeys.ASSIGNABLE: IsAssignable = reader.ReadElementContentAsNullableBoolean(); break; case RedmineKeys.PERMISSIONS: Permissions = reader.ReadElementContentAsCollection(); break; default: reader.Read(); break; } @@ -113,6 +114,7 @@ public override void ReadJson(JsonReader reader) { case RedmineKeys.ID: Id = reader.ReadAsInt(); break; case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + case RedmineKeys.ASSIGNABLE: IsAssignable = reader.ReadAsBoolean(); break; case RedmineKeys.PERMISSIONS: Permissions = reader.ReadAsCollection(); break; default: reader.Read(); break; } @@ -129,7 +131,11 @@ public override void ReadJson(JsonReader reader) public bool Equals(Role other) { if (other == null) return false; - return Id == other.Id && Name == other.Name; + return EqualityComparer.Default.Equals(Id, other.Id) && + EqualityComparer.Default.Equals(Name, other.Name) && + IsAssignable == other.IsAssignable && + EqualityComparer>.Default.Equals(Permissions, other.Permissions); + } /// @@ -156,6 +162,7 @@ public override int GetHashCode() var hashCode = 13; hashCode = HashCodeHelper.GetHashCode(Id, hashCode); hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsAssignable, hashCode); hashCode = HashCodeHelper.GetHashCode(Permissions, hashCode); return hashCode; } From 9ce6a9d2ef300b1b44c3fe9efcc8059f2b1321c5 Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 9 Jan 2025 21:17:47 +0200 Subject: [PATCH 469/601] Improvements (#368) * [csproj] Add net9.0 to TargetFrameworks * [csproj] Add Tuple package for .NET 4.0 * [New] ArgumentNullThrowHelper * [RedmineManagerOptionsBuilder] Rewrite build method * [Obsolete] Adjustments * [RedmineManager] Replace GetxxxObjects calls with GetxxxInternal * [RedmineManagerAsync] Remove GeneratedRegex * [RedmineManager] Ctor improvements * [WebClient] RedmineWebClientOptions * [Upload] Add fileName * [global.json] Set Sdk version to 9.0.101 --- global.json | 2 +- ...RedmineManagerAsyncExtensions.Obsolete.cs} | 62 +++++--------- .../Extensions/RedmineManagerExtensions.cs | 10 +-- src/redmine-net-api/IRedmineManager.cs | 5 +- src/redmine-net-api/IRedmineManagerAsync.cs | 3 +- .../Internals/ArgumentNullThrowHelper.cs | 32 +++++++ src/redmine-net-api/Net/RedmineApiUrls.cs | 6 +- .../Net/WebClient/IRedmineWebClientOptions.cs | 83 +++++++++++++++++++ .../WebClient/InternalRedmineApiWebClient.cs | 47 ++++++----- .../Net/WebClient/InternalWebClient.cs | 46 +++++----- .../StringApiRequestMessageContent.cs | 10 +-- ...solete.cs => RedmineWebClient.Obsolete.cs} | 0 ...Obsolete.cs => RedmineManager.Obsolete.cs} | 55 ++++-------- src/redmine-net-api/RedmineManager.cs | 67 +++++++++------ src/redmine-net-api/RedmineManagerAsync.cs | 13 +-- .../RedmineManagerOptionsBuilder.cs | 50 +++++++---- src/redmine-net-api/redmine-net-api.csproj | 3 +- 17 files changed, 303 insertions(+), 191 deletions(-) rename src/redmine-net-api/Extensions/{RedmineManagerAsyncExtensionsObsolete.cs => RedmineManagerAsyncExtensions.Obsolete.cs} (87%) create mode 100644 src/redmine-net-api/Internals/ArgumentNullThrowHelper.cs create mode 100644 src/redmine-net-api/Net/WebClient/IRedmineWebClientOptions.cs rename src/redmine-net-api/Net/WebClient/{RedmineWebClientObsolete.cs => RedmineWebClient.Obsolete.cs} (100%) rename src/redmine-net-api/{RedmineManagerObsolete.cs => RedmineManager.Obsolete.cs} (93%) diff --git a/global.json b/global.json index ab747bba..6223f1b6 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.303", + "version": "9.0.101", "allowPrerelease": false, "rollForward": "latestMajor" } diff --git a/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensionsObsolete.cs b/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.Obsolete.cs similarity index 87% rename from src/redmine-net-api/Extensions/RedmineManagerAsyncExtensionsObsolete.cs rename to src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.Obsolete.cs index dd605bef..90f25fb8 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensionsObsolete.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.Obsolete.cs @@ -29,7 +29,7 @@ namespace Redmine.Net.Api.Async { /// /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use RedmineManger async methods instead")] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use RedmineManger async methods instead.")] public static class RedmineManagerAsyncExtensions { /// @@ -40,7 +40,7 @@ public static class RedmineManagerAsyncExtensions /// /// /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] public static async Task GetCurrentUserAsync(this RedmineManager redmineManager, NameValueCollection parameters = null, string impersonateUserName = null, CancellationToken cancellationToken = default) { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); @@ -55,7 +55,7 @@ public static async Task GetCurrentUserAsync(this RedmineManager redmineMa /// Name of the page. /// The wiki page. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] public static async Task CreateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); @@ -71,7 +71,7 @@ public static async Task CreateWikiPageAsync(this RedmineManager redmi /// Name of the page. /// The wiki page. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] public static async Task UpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); @@ -85,7 +85,7 @@ public static async Task UpdateWikiPageAsync(this RedmineManager redmineManager, /// The project identifier. /// Name of the page. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName) { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); @@ -101,11 +101,11 @@ public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, /// /// . /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] public static async Task UploadFileAsync(this RedmineManager redmineManager, byte[] data) { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - return await redmineManager.UploadFileAsync(data, requestOptions).ConfigureAwait(false); + return await redmineManager.UploadFileAsync(data, null, requestOptions).ConfigureAwait(false); } /// @@ -114,7 +114,7 @@ public static async Task UploadFileAsync(this RedmineManager redmineMana /// The redmine manager. /// The address. /// - [Obsolete("Use DownloadFileAsync instead")] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] public static async Task DownloadFileAsync(this RedmineManager redmineManager, string address) { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); @@ -131,7 +131,7 @@ public static async Task DownloadFileAsync(this RedmineManager redmineMa /// Name of the page. /// The version. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] public static async Task GetWikiPageAsync(this RedmineManager redmineManager, string projectId, NameValueCollection parameters, string pageName, uint version = 0) { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); @@ -145,7 +145,7 @@ public static async Task GetWikiPageAsync(this RedmineManager redmineM /// The parameters. /// The project identifier. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] public static async Task> GetAllWikiPagesAsync(this RedmineManager redmineManager, NameValueCollection parameters, string projectId) { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); @@ -161,7 +161,7 @@ public static async Task> GetAllWikiPagesAsync(this RedmineManage /// /// Returns the Guid associated with the async request. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, int groupId, int userId) { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); @@ -175,7 +175,7 @@ public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, /// The group id. /// The user id. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] public static async Task RemoveUserFromGroupAsync(this RedmineManager redmineManager, int groupId, int userId) { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); @@ -189,7 +189,7 @@ public static async Task RemoveUserFromGroupAsync(this RedmineManager redmineMan /// The issue identifier. /// The user identifier. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManager, int issueId, int userId) { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); @@ -203,7 +203,7 @@ public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManag /// The issue identifier. /// The user identifier. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManager, int issueId, int userId) { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); @@ -217,7 +217,7 @@ public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmine /// /// /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] public static async Task CountAsync(this RedmineManager redmineManager, params string[] include) where T : class, new() { return await redmineManager.CountAsync(null, CancellationToken.None).ConfigureAwait(false); @@ -230,7 +230,7 @@ public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmine /// /// /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use CountAsync method instead.")] public static async Task CountAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); @@ -245,7 +245,7 @@ public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmine /// The redmine manager. /// The parameters. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use GetPagedAsync method instead.")] public static async Task> GetPaginatedObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { @@ -260,7 +260,7 @@ public static async Task> GetPaginatedObjectsAsync(this Redmi /// The redmine manager. /// The parameters. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use GetAsync method instead.")] public static async Task> GetObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() { @@ -276,7 +276,7 @@ public static async Task> GetObjectsAsync(this RedmineManager redmine /// The id of the object. /// Optional filters and/or optional fetched data. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use GetAsync method instead.")] public static async Task GetObjectAsync(this RedmineManager redmineManager, string id, NameValueCollection parameters) where T : class, new() { @@ -291,7 +291,7 @@ public static async Task GetObjectAsync(this RedmineManager redmineManager /// The redmine manager. /// The object to create. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use CreateAsync method instead.")] public static async Task CreateObjectAsync(this RedmineManager redmineManager, T entity) where T : class, new() { @@ -307,7 +307,7 @@ public static async Task CreateObjectAsync(this RedmineManager redmineMana /// The object to create. /// The owner identifier. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use CreateAsync method instead.")] public static async Task CreateObjectAsync(this RedmineManager redmineManager, T entity, string ownerId) where T : class, new() { @@ -323,7 +323,7 @@ public static async Task CreateObjectAsync(this RedmineManager redmineMana /// The identifier. /// The object. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use UpdateAsync method instead.")] public static async Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T entity) where T : class, new() { @@ -338,29 +338,13 @@ public static async Task UpdateObjectAsync(this RedmineManager redmineManager /// The redmine manager. /// The id of the object to delete /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use DeleteAsync method instead.")] public static async Task DeleteObjectAsync(this RedmineManager redmineManager, string id) where T : class, new() { var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); await redmineManager.DeleteAsync(id, requestOptions).ConfigureAwait(false); } - - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public static async Task> SearchAsync(this RedmineManager redmineManager, string q, int limit = RedmineManager.DEFAULT_PAGE_SIZE_VALUE, int offset = 0, SearchFilterBuilder searchFilter = null) - { - return await RedmineManagerExtensions.SearchAsync(redmineManager, q, limit, offset, searchFilter).ConfigureAwait(false); - } } } #endif \ No newline at end of file diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index 75a778df..d4447c21 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -47,7 +47,7 @@ public static PagedResults GetProjectNews(this RedmineManager redmineManag var escapedUri = Uri.EscapeDataString(uri); - var response = redmineManager.GetPaginatedObjects(escapedUri, requestOptions); + var response = redmineManager.GetPaginatedInternal(escapedUri, requestOptions); return response; } @@ -96,7 +96,7 @@ public static PagedResults GetProjectMemberships(this Redmine { var uri = redmineManager.RedmineApiUrls.ProjectMemberships(projectIdentifier); - var response = redmineManager.GetPaginatedObjects(uri, requestOptions); + var response = redmineManager.GetPaginatedInternal(uri, requestOptions); return response; } @@ -113,7 +113,7 @@ public static PagedResults GetProjectFiles(this RedmineManager redmineMana { var uri = redmineManager.RedmineApiUrls.ProjectFilesFragment(projectIdentifier); - var response = redmineManager.GetPaginatedObjects(uri, requestOptions); + var response = redmineManager.GetPaginatedInternal(uri, requestOptions); return response; } @@ -291,7 +291,7 @@ public static List GetAllWikiPages(this RedmineManager redmineManager, { var uri = redmineManager.RedmineApiUrls.ProjectWikiIndex(projectId); - var response = redmineManager.GetObjects(uri, requestOptions); + var response = redmineManager.GetInternal(uri, requestOptions); return response; } @@ -530,7 +530,7 @@ public static async Task CreateWikiPageAsync(this RedmineManager redmi } /// - /// Creates the or update wiki page asynchronous. + /// Creates or update wiki page asynchronous. /// /// The redmine manager. /// The project identifier. diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index b8148141..e45ec6e7 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -93,17 +93,18 @@ void Update(string id, T entity, string projectId = null, RequestOptions requ /// void Delete(string id, RequestOptions requestOptions = null) where T : class, new(); - + /// /// Support for adding attachments through the REST API is added in Redmine 1.4.0. /// Upload a file to server. /// /// The content of the file that will be uploaded on server. + /// /// /// Returns the token for uploaded file. /// /// - Upload UploadFile(byte[] data); + Upload UploadFile(byte[] data, string fileName = null); /// /// Downloads a file from the specified address. diff --git a/src/redmine-net-api/IRedmineManagerAsync.cs b/src/redmine-net-api/IRedmineManagerAsync.cs index 7c77d334..adc9456b 100644 --- a/src/redmine-net-api/IRedmineManagerAsync.cs +++ b/src/redmine-net-api/IRedmineManagerAsync.cs @@ -134,12 +134,13 @@ Task DeleteAsync(string id, RequestOptions requestOptions = null, Cancellatio /// Upload a file to server. This method does not block the calling thread. /// /// The content of the file that will be uploaded on server. + /// /// /// /// /// . /// - Task UploadFileAsync(byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + Task UploadFileAsync(byte[] data, string fileName = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); /// /// Downloads the file asynchronous. diff --git a/src/redmine-net-api/Internals/ArgumentNullThrowHelper.cs b/src/redmine-net-api/Internals/ArgumentNullThrowHelper.cs new file mode 100644 index 00000000..86f45107 --- /dev/null +++ b/src/redmine-net-api/Internals/ArgumentNullThrowHelper.cs @@ -0,0 +1,32 @@ +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; + +namespace Redmine.Net.Api.Internals; + +internal static class ArgumentNullThrowHelper +{ + public static void ThrowIfNull( + #if INTERNAL_NULLABLE_ATTRIBUTES || NETSTANDARD2_1_OR_GREATER || NET5_0_OR_GREATER + [NotNull] + #endif + object? argument, [CallerArgumentExpression(nameof(argument))] string? paramName = null) + { + #if !NET7_0_OR_GREATER || NETSTANDARD || NETFRAMEWORK + if (argument is null) + { + Throw(paramName); + } + #else + ArgumentNullException.ThrowIfNull(argument, paramName); + #endif + } + + #if !NET7_0_OR_GREATER || NETSTANDARD || NETFRAMEWORK + #if INTERNAL_NULLABLE_ATTRIBUTES || NETSTANDARD2_1_OR_GREATER || NET5_0_OR_GREATER + [DoesNotReturn] + #endif + internal static void Throw(string? paramName) => + throw new ArgumentNullException(paramName); + #endif +} \ No newline at end of file diff --git a/src/redmine-net-api/Net/RedmineApiUrls.cs b/src/redmine-net-api/Net/RedmineApiUrls.cs index 34417919..60788877 100644 --- a/src/redmine-net-api/Net/RedmineApiUrls.cs +++ b/src/redmine-net-api/Net/RedmineApiUrls.cs @@ -200,9 +200,11 @@ public string GetListFragment(Type type, string ownerId = null) return $"{TypeFragment(TypeUrlFragments, type)}.{Format}"; } - public string UploadFragment() + public string UploadFragment(string fileName = null) { - return $"{RedmineKeys.UPLOADS}.{Format}"; + return !fileName.IsNullOrWhiteSpace() + ? $"{RedmineKeys.UPLOADS}.{Format}?filename={Uri.EscapeDataString(fileName)}" + : $"{RedmineKeys.UPLOADS}.{Format}"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/IRedmineWebClientOptions.cs b/src/redmine-net-api/Net/WebClient/IRedmineWebClientOptions.cs new file mode 100644 index 00000000..809d9afb --- /dev/null +++ b/src/redmine-net-api/Net/WebClient/IRedmineWebClientOptions.cs @@ -0,0 +1,83 @@ +using System; +using System.Collections.Generic; +using System.Net.Cache; +using System.Net.Security; +using System.Security.Cryptography.X509Certificates; + +namespace Redmine.Net.Api.Net.WebClient; + +/// +/// +/// +public interface IRedmineWebClientOptions : IRedmineApiClientOptions +{ +#if NET40_OR_GREATER || NETCOREAPP + /// + /// + /// + public X509CertificateCollection ClientCertificates { get; set; } +#endif + + /// + /// + /// + int? DefaultConnectionLimit { get; set; } + + /// + /// + /// + Dictionary DefaultHeaders { get; set; } + + /// + /// + /// + int? DnsRefreshTimeout { get; set; } + + /// + /// + /// + bool? EnableDnsRoundRobin { get; set; } + + /// + /// + /// + bool? KeepAlive { get; set; } + + /// + /// + /// + int? MaxServicePoints { get; set; } + + /// + /// + /// + int? MaxServicePointIdleTime { get; set; } + + /// + /// + /// + RequestCachePolicy RequestCachePolicy { get; set; } + +#if(NET46_OR_GREATER || NETCOREAPP) + /// + /// + /// + public bool? ReusePort { get; set; } +#endif + + /// + /// + /// + RemoteCertificateValidationCallback ServerCertificateValidationCallback { get; set; } + + /// + /// + /// + bool? UnsafeAuthenticatedConnectionSharing { get; set; } + + /// + /// + /// + /// Only HTTP/1.0 and HTTP/1.1 version requests are currently supported. + Version ProtocolVersion { get; set; } +} \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs index 0ee22f25..a48b5aa3 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs @@ -34,6 +34,7 @@ namespace Redmine.Net.Api.Net.WebClient /// internal sealed class InternalRedmineApiWebClient : IRedmineApiClient { + private static readonly byte[] EmptyBytes = Encoding.UTF8.GetBytes(string.Empty); private readonly Func _webClientFunc; private readonly IRedmineAuthentication _credentials; private readonly IRedmineSerializer _serializer; @@ -44,48 +45,56 @@ public InternalRedmineApiWebClient(RedmineManagerOptions redmineManagerOptions) ConfigureServicePointManager(redmineManagerOptions.ClientOptions); } - public InternalRedmineApiWebClient(Func webClientFunc, IRedmineAuthentication authentication, IRedmineSerializer serializer) + public InternalRedmineApiWebClient( + Func webClientFunc, + IRedmineAuthentication authentication, + IRedmineSerializer serializer) { _webClientFunc = webClientFunc; _credentials = authentication; _serializer = serializer; } - private static void ConfigureServicePointManager(IRedmineApiClientOptions webClientSettings) + private static void ConfigureServicePointManager(IRedmineApiClientOptions options) { - if (webClientSettings.MaxServicePoints.HasValue) + if (options is not IRedmineWebClientOptions webClientOptions) { - ServicePointManager.MaxServicePoints = webClientSettings.MaxServicePoints.Value; + return; + } + + if (webClientOptions.MaxServicePoints.HasValue) + { + ServicePointManager.MaxServicePoints = webClientOptions.MaxServicePoints.Value; } - if (webClientSettings.MaxServicePointIdleTime.HasValue) + if (webClientOptions.MaxServicePointIdleTime.HasValue) { - ServicePointManager.MaxServicePointIdleTime = webClientSettings.MaxServicePointIdleTime.Value; + ServicePointManager.MaxServicePointIdleTime = webClientOptions.MaxServicePointIdleTime.Value; } - ServicePointManager.SecurityProtocol = webClientSettings.SecurityProtocolType ?? ServicePointManager.SecurityProtocol; + ServicePointManager.SecurityProtocol = webClientOptions.SecurityProtocolType ?? ServicePointManager.SecurityProtocol; - if (webClientSettings.DefaultConnectionLimit.HasValue) + if (webClientOptions.DefaultConnectionLimit.HasValue) { - ServicePointManager.DefaultConnectionLimit = webClientSettings.DefaultConnectionLimit.Value; + ServicePointManager.DefaultConnectionLimit = webClientOptions.DefaultConnectionLimit.Value; } - if (webClientSettings.DnsRefreshTimeout.HasValue) + if (webClientOptions.DnsRefreshTimeout.HasValue) { - ServicePointManager.DnsRefreshTimeout = webClientSettings.DnsRefreshTimeout.Value; + ServicePointManager.DnsRefreshTimeout = webClientOptions.DnsRefreshTimeout.Value; } - ServicePointManager.CheckCertificateRevocationList = webClientSettings.CheckCertificateRevocationList; + ServicePointManager.CheckCertificateRevocationList = webClientOptions.CheckCertificateRevocationList; - if (webClientSettings.EnableDnsRoundRobin.HasValue) + if (webClientOptions.EnableDnsRoundRobin.HasValue) { - ServicePointManager.EnableDnsRoundRobin = webClientSettings.EnableDnsRoundRobin.Value; + ServicePointManager.EnableDnsRoundRobin = webClientOptions.EnableDnsRoundRobin.Value; } #if(NET46_OR_GREATER || NETCOREAPP) - if (webClientSettings.ReusePort.HasValue) + if (webClientOptions.ReusePort.HasValue) { - ServicePointManager.ReusePort = webClientSettings.ReusePort.Value; + ServicePointManager.ReusePort = webClientOptions.ReusePort.Value; } #endif } @@ -197,7 +206,7 @@ private async Task SendAsync(ApiRequestMessage requestMessag SetWebClientHeaders(webClient, requestMessage); - if (requestMessage.Method is HttpVerbs.GET or HttpVerbs.DOWNLOAD) + if(IsGetOrDownload(requestMessage.Method)) { response = await webClient.DownloadDataTaskAsync(requestMessage.RequestUri).ConfigureAwait(false); } @@ -211,7 +220,7 @@ private async Task SendAsync(ApiRequestMessage requestMessag } else { - payload = Encoding.UTF8.GetBytes(string.Empty); + payload = EmptyBytes; } response = await webClient.UploadDataTaskAsync(requestMessage.RequestUri, requestMessage.Method, payload).ConfigureAwait(false); @@ -293,7 +302,7 @@ private ApiResponseMessage Send(ApiRequestMessage requestMessage) } else { - payload = Encoding.UTF8.GetBytes(string.Empty); + payload = EmptyBytes; } response = webClient.UploadData(requestMessage.RequestUri, requestMessage.Method, payload); diff --git a/src/redmine-net-api/Net/WebClient/InternalWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalWebClient.cs index 27051719..87c7c602 100644 --- a/src/redmine-net-api/Net/WebClient/InternalWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalWebClient.cs @@ -22,12 +22,12 @@ namespace Redmine.Net.Api.Net.WebClient; internal sealed class InternalWebClient : System.Net.WebClient { - private readonly IRedmineApiClientOptions _webClientSettings; + private readonly IRedmineWebClientOptions _webClientOptions; #pragma warning disable SYSLIB0014 public InternalWebClient(RedmineManagerOptions redmineManagerOptions) { - _webClientSettings = redmineManagerOptions.ClientOptions; + _webClientOptions = redmineManagerOptions.ClientOptions as IRedmineWebClientOptions; BaseAddress = redmineManagerOptions.BaseAddress.ToString(); } #pragma warning restore SYSLIB0014 @@ -43,55 +43,55 @@ protected override WebRequest GetWebRequest(Uri address) return base.GetWebRequest(address); } - httpWebRequest.UserAgent = _webClientSettings.UserAgent.ValueOrFallback("RedmineDotNetAPIClient"); + httpWebRequest.UserAgent = _webClientOptions.UserAgent.ValueOrFallback("RedmineDotNetAPIClient"); - httpWebRequest.AutomaticDecompression = _webClientSettings.DecompressionFormat ?? DecompressionMethods.GZip | DecompressionMethods.Deflate | DecompressionMethods.None; + httpWebRequest.AutomaticDecompression = _webClientOptions.DecompressionFormat ?? DecompressionMethods.GZip | DecompressionMethods.Deflate | DecompressionMethods.None; - AssignIfHasValue(_webClientSettings.AutoRedirect, value => httpWebRequest.AllowAutoRedirect = value); + AssignIfHasValue(_webClientOptions.AutoRedirect, value => httpWebRequest.AllowAutoRedirect = value); - AssignIfHasValue(_webClientSettings.MaxAutomaticRedirections, value => httpWebRequest.MaximumAutomaticRedirections = value); + AssignIfHasValue(_webClientOptions.MaxAutomaticRedirections, value => httpWebRequest.MaximumAutomaticRedirections = value); - AssignIfHasValue(_webClientSettings.KeepAlive, value => httpWebRequest.KeepAlive = value); + AssignIfHasValue(_webClientOptions.KeepAlive, value => httpWebRequest.KeepAlive = value); - AssignIfHasValue(_webClientSettings.Timeout, value => httpWebRequest.Timeout = (int) value.TotalMilliseconds); + AssignIfHasValue(_webClientOptions.Timeout, value => httpWebRequest.Timeout = (int) value.TotalMilliseconds); - AssignIfHasValue(_webClientSettings.PreAuthenticate, value => httpWebRequest.PreAuthenticate = value); + AssignIfHasValue(_webClientOptions.PreAuthenticate, value => httpWebRequest.PreAuthenticate = value); - AssignIfHasValue(_webClientSettings.UseCookies, value => httpWebRequest.CookieContainer = _webClientSettings.CookieContainer); + AssignIfHasValue(_webClientOptions.UseCookies, value => httpWebRequest.CookieContainer = _webClientOptions.CookieContainer); - AssignIfHasValue(_webClientSettings.UnsafeAuthenticatedConnectionSharing, value => httpWebRequest.UnsafeAuthenticatedConnectionSharing = value); + AssignIfHasValue(_webClientOptions.UnsafeAuthenticatedConnectionSharing, value => httpWebRequest.UnsafeAuthenticatedConnectionSharing = value); - AssignIfHasValue(_webClientSettings.MaxResponseContentBufferSize, value => { }); + AssignIfHasValue(_webClientOptions.MaxResponseContentBufferSize, value => { }); - if (_webClientSettings.DefaultHeaders != null) + if (_webClientOptions.DefaultHeaders != null) { httpWebRequest.Headers = new WebHeaderCollection(); - foreach (var defaultHeader in _webClientSettings.DefaultHeaders) + foreach (var defaultHeader in _webClientOptions.DefaultHeaders) { httpWebRequest.Headers.Add(defaultHeader.Key, defaultHeader.Value); } } - httpWebRequest.CachePolicy = _webClientSettings.RequestCachePolicy; + httpWebRequest.CachePolicy = _webClientOptions.RequestCachePolicy; - httpWebRequest.Proxy = _webClientSettings.Proxy; + httpWebRequest.Proxy = _webClientOptions.Proxy; - httpWebRequest.Credentials = _webClientSettings.Credentials; + httpWebRequest.Credentials = _webClientOptions.Credentials; - #if !(NET20) - if (_webClientSettings.ClientCertificates != null) + #if NET40_OR_GREATER || NETCOREAPP + if (_webClientOptions.ClientCertificates != null) { - httpWebRequest.ClientCertificates = _webClientSettings.ClientCertificates; + httpWebRequest.ClientCertificates = _webClientOptions.ClientCertificates; } #endif #if (NET45_OR_GREATER || NETCOREAPP) - httpWebRequest.ServerCertificateValidationCallback = _webClientSettings.ServerCertificateValidationCallback; + httpWebRequest.ServerCertificateValidationCallback = _webClientOptions.ServerCertificateValidationCallback; #endif - if (_webClientSettings.ProtocolVersion != default) + if (_webClientOptions.ProtocolVersion != null) { - httpWebRequest.ProtocolVersion = _webClientSettings.ProtocolVersion; + httpWebRequest.ProtocolVersion = _webClientOptions.ProtocolVersion; } return httpWebRequest; diff --git a/src/redmine-net-api/Net/WebClient/MessageContent/StringApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/MessageContent/StringApiRequestMessageContent.cs index 9d02d69a..e69a5fee 100644 --- a/src/redmine-net-api/Net/WebClient/MessageContent/StringApiRequestMessageContent.cs +++ b/src/redmine-net-api/Net/WebClient/MessageContent/StringApiRequestMessageContent.cs @@ -16,6 +16,7 @@ limitations under the License. using System; using System.Text; +using Redmine.Net.Api.Internals; namespace Redmine.Net.Api.Net.WebClient.MessageContent; @@ -34,14 +35,7 @@ public StringApiRequestMessageContent(string content, string mediaType, Encoding private static byte[] GetContentByteArray(string content, Encoding encoding) { - #if NET5_0_OR_GREATER - ArgumentNullException.ThrowIfNull(content); - #else - if (content == null) - { - throw new ArgumentNullException(nameof(content)); - } - #endif + ArgumentNullThrowHelper.ThrowIfNull(content, nameof(content)); return (encoding ?? DefaultStringEncoding).GetBytes(content); } } \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/RedmineWebClientObsolete.cs b/src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs similarity index 100% rename from src/redmine-net-api/Net/WebClient/RedmineWebClientObsolete.cs rename to src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs diff --git a/src/redmine-net-api/RedmineManagerObsolete.cs b/src/redmine-net-api/RedmineManager.Obsolete.cs similarity index 93% rename from src/redmine-net-api/RedmineManagerObsolete.cs rename to src/redmine-net-api/RedmineManager.Obsolete.cs index c3bdfec6..2ac4a608 100644 --- a/src/redmine-net-api/RedmineManagerObsolete.cs +++ b/src/redmine-net-api/RedmineManager.Obsolete.cs @@ -57,7 +57,7 @@ public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool .WithHost(host) .WithSerializationType(mimeFormat) .WithVerifyServerCert(verifyServerCert) - .WithClientOptions(new RedmineWebClientOptions() + .WithWebClientOptions(new RedmineWebClientOptions() { Proxy = proxy, Scheme = scheme, @@ -91,7 +91,7 @@ public RedmineManager(string host, string apiKey, MimeFormat mimeFormat = MimeFo .WithApiKeyAuthentication(apiKey) .WithSerializationType(mimeFormat) .WithVerifyServerCert(verifyServerCert) - .WithClientOptions(new RedmineWebClientOptions() + .WithWebClientOptions(new RedmineWebClientOptions() { Proxy = proxy, Scheme = scheme, @@ -120,7 +120,7 @@ public RedmineManager(string host, string login, string password, MimeFormat mim .WithBasicAuthentication(login, password) .WithSerializationType(mimeFormat) .WithVerifyServerCert(verifyServerCert) - .WithClientOptions(new RedmineWebClientOptions() + .WithWebClientOptions(new RedmineWebClientOptions() { Proxy = proxy, Scheme = scheme, @@ -135,7 +135,7 @@ public RedmineManager(string host, string login, string password, MimeFormat mim /// /// The suffixes. /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + " It returns null.")] public static Dictionary Suffixes => null; /// @@ -385,7 +385,7 @@ public PagedResults Search(string q, int limit = DEFAULT_PAGE_SIZE_VALUE return RedmineManagerExtensions.Search(this, q, limit, offset, searchFilter); } - /// + /// /// /// /// @@ -427,14 +427,10 @@ public PagedResults Search(string q, int limit = DEFAULT_PAGE_SIZE_VALUE /// Issue issue = redmineManager.GetObject<Issue>(issueId, parameters); /// /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] + [Obsolete($"{RedmineConstants.OBSOLETE_TEXT} Use Get instead")] public T GetObject(string id, NameValueCollection parameters) where T : class, new() { - var url = RedmineApiUrls.GetFragment(id); - - var response = ApiClient.Get(url, parameters != null ? new RequestOptions { QueryString = parameters } : null); - - return response.DeserializeTo(Serializer); + return Get(id, parameters != null ? new RequestOptions { QueryString = parameters } : null); } /// @@ -494,9 +490,7 @@ public PagedResults Search(string q, int limit = DEFAULT_PAGE_SIZE_VALUE [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public List GetObjects(NameValueCollection parameters = null) where T : class, new() { - var uri = RedmineApiUrls.GetListFragment(); - - return GetObjects(uri, parameters != null ? new RequestOptions { QueryString = parameters } : null); + return Get(parameters != null ? new RequestOptions { QueryString = parameters } : null); } /// @@ -508,9 +502,7 @@ public PagedResults Search(string q, int limit = DEFAULT_PAGE_SIZE_VALUE [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public PagedResults GetPaginatedObjects(NameValueCollection parameters) where T : class, new() { - var url = RedmineApiUrls.GetListFragment(); - - return GetPaginatedObjects(url, parameters != null ? new RequestOptions { QueryString = parameters } : null); + return GetPaginated(parameters != null ? new RequestOptions { QueryString = parameters } : null); } /// @@ -527,7 +519,7 @@ public PagedResults Search(string q, int limit = DEFAULT_PAGE_SIZE_VALUE [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public T CreateObject(T entity) where T : class, new() { - return CreateObject(entity, null); + return Create(entity); } /// @@ -554,21 +546,15 @@ public PagedResults Search(string q, int limit = DEFAULT_PAGE_SIZE_VALUE [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public T CreateObject(T entity, string ownerId) where T : class, new() { - var url = RedmineApiUrls.CreateEntityFragment(ownerId); - - var payload = Serializer.Serialize(entity); - - var response = ApiClient.Create(url, payload); - - return response.DeserializeTo(Serializer); + return Create(entity, ownerId); } /// /// Updates a Redmine object. /// - /// The type of object to be update. - /// The id of the object to be update. - /// The object to be update. + /// The type of object to be updated. + /// The id of the object to be updated. + /// The object to be updated. /// The project identifier. /// /// @@ -580,11 +566,7 @@ public PagedResults Search(string q, int limit = DEFAULT_PAGE_SIZE_VALUE [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public void UpdateObject(string id, T entity, string projectId = null) where T : class, new() { - var url = RedmineApiUrls.UpdateFragment(id); - - var payload = Serializer.Serialize(entity); - - ApiClient.Update(url, payload); + Update(id, entity, projectId); } /// @@ -598,9 +580,7 @@ public PagedResults Search(string q, int limit = DEFAULT_PAGE_SIZE_VALUE [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public void DeleteObject(string id, NameValueCollection parameters = null) where T : class, new() { - var url = RedmineApiUrls.DeleteFragment(id); - - ApiClient.Delete(url, parameters != null ? new RequestOptions { QueryString = parameters } : null); + Delete(id, parameters != null ? new RequestOptions { QueryString = parameters } : null); } /// @@ -625,12 +605,13 @@ public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, /// The error. /// /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use WebClientSettings.ServerCertificateValidationCallback instead")] + [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use RedmineManagerOptions.ClientOptions.ServerCertificateValidationCallback instead")] public virtual bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors sslPolicyErrors) { const SslPolicyErrors IGNORED_ERRORS = SslPolicyErrors.RemoteCertificateChainErrors | SslPolicyErrors.RemoteCertificateNameMismatch; return (sslPolicyErrors & ~IGNORED_ERRORS) == SslPolicyErrors.None; + } } } \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index f683dc3a..8f702eb1 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,6 +21,7 @@ limitations under the License. using System.Net; using Redmine.Net.Api.Authentication; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Internals; using Redmine.Net.Api.Net; using Redmine.Net.Api.Net.WebClient; using Redmine.Net.Api.Serialization; @@ -46,33 +47,34 @@ public partial class RedmineManager : IRedmineManager /// public RedmineManager(RedmineManagerOptionsBuilder optionsBuilder) { - #if NET5_0_OR_GREATER - ArgumentNullException.ThrowIfNull(optionsBuilder); - #else - if (optionsBuilder == null) - { - throw new ArgumentNullException(nameof(optionsBuilder)); - } - #endif + ArgumentNullThrowHelper.ThrowIfNull(optionsBuilder, nameof(optionsBuilder)); + _redmineManagerOptions = optionsBuilder.Build(); + #if NET45_OR_GREATER if (_redmineManagerOptions.VerifyServerCert) { _redmineManagerOptions.ClientOptions.ServerCertificateValidationCallback = RemoteCertValidate; } + #endif - Serializer = _redmineManagerOptions.Serializer; + if (_redmineManagerOptions.ClientOptions is RedmineWebClientOptions) + { + #pragma warning disable SYSLIB0014 + _redmineManagerOptions.ClientOptions.SecurityProtocolType ??= ServicePointManager.SecurityProtocol; + #pragma warning restore SYSLIB0014 + } + Serializer = _redmineManagerOptions.Serializer; Host = _redmineManagerOptions.BaseAddress.ToString(); PageSize = _redmineManagerOptions.PageSize; Format = Serializer.Format; Scheme = _redmineManagerOptions.BaseAddress.Scheme; Proxy = _redmineManagerOptions.ClientOptions.Proxy; Timeout = _redmineManagerOptions.ClientOptions.Timeout; - MimeFormat = RedmineConstants.XML.Equals(Serializer.Format, StringComparison.OrdinalIgnoreCase) ? MimeFormat.Xml : MimeFormat.Json; - - _redmineManagerOptions.ClientOptions.SecurityProtocolType ??= ServicePointManager.SecurityProtocol; - - SecurityProtocolType = _redmineManagerOptions.ClientOptions.SecurityProtocolType.Value; + MimeFormat = RedmineConstants.XML.Equals(Serializer.Format, StringComparison.Ordinal) + ? MimeFormat.Xml + : MimeFormat.Json; + SecurityProtocolType = _redmineManagerOptions.ClientOptions.SecurityProtocolType.GetValueOrDefault(); if (_redmineManagerOptions.Authentication is RedmineApiKeyAuthentication) { @@ -80,7 +82,22 @@ public RedmineManager(RedmineManagerOptionsBuilder optionsBuilder) } RedmineApiUrls = new RedmineApiUrls(Serializer.Format); - ApiClient = new InternalRedmineApiWebClient(_redmineManagerOptions); + #if NET45_OR_GREATER || NETCOREAPP + if (_redmineManagerOptions.ClientOptions is RedmineWebClientOptions) + { + ApiClient = _redmineManagerOptions.ClientFunc != null + ? new InternalRedmineApiWebClient(_redmineManagerOptions.ClientFunc, _redmineManagerOptions.Authentication, _redmineManagerOptions.Serializer) + : new InternalRedmineApiWebClient(_redmineManagerOptions); + } + else + { + + } + #else + ApiClient = _redmineManagerOptions.ClientFunc != null + ? new InternalRedmineApiWebClient(_redmineManagerOptions.ClientFunc, _redmineManagerOptions.Authentication, _redmineManagerOptions.Serializer) + : new InternalRedmineApiWebClient(_redmineManagerOptions); + #endif } /// @@ -98,7 +115,7 @@ public int Count(RequestOptions requestOptions = null) requestOptions.QueryString = requestOptions.QueryString.AddPagingParameters(PAGE_SIZE, OFFSET); - var tempResult = GetPaginatedObjects(requestOptions.QueryString); + var tempResult = GetPaginated(requestOptions); if (tempResult != null) { @@ -125,7 +142,7 @@ public List Get(RequestOptions requestOptions = null) { var uri = RedmineApiUrls.GetListFragment(); - return GetObjects(uri, requestOptions); + return GetInternal(uri, requestOptions); } /// @@ -134,7 +151,7 @@ public PagedResults GetPaginated(RequestOptions requestOptions = null) { var url = RedmineApiUrls.GetListFragment(); - return GetPaginatedObjects(url, requestOptions); + return GetPaginatedInternal(url, requestOptions); } /// @@ -171,9 +188,9 @@ public void Delete(string id, RequestOptions requestOptions = null) } /// - public Upload UploadFile(byte[] data) + public Upload UploadFile(byte[] data, string fileName = null) { - var url = RedmineApiUrls.UploadFragment(); + var url = RedmineApiUrls.UploadFragment(fileName); var response = ApiClient.Upload(url, data); @@ -195,7 +212,7 @@ public byte[] DownloadFile(string address) /// /// /// - internal List GetObjects(string uri, RequestOptions requestOptions = null) + internal List GetInternal(string uri, RequestOptions requestOptions = null) where T : class, new() { int pageSize = 0, offset = 0; @@ -228,7 +245,7 @@ internal List GetObjects(string uri, RequestOptions requestOptions = null) { requestOptions.QueryString.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); - var tempResult = GetPaginatedObjects(uri, requestOptions); + var tempResult = GetPaginatedInternal(uri, requestOptions); totalCount = isLimitSet ? pageSize : tempResult.TotalItems; @@ -250,7 +267,7 @@ internal List GetObjects(string uri, RequestOptions requestOptions = null) } else { - var result = GetPaginatedObjects(uri, requestOptions); + var result = GetPaginatedInternal(uri, requestOptions); if (result?.Items != null) { return new List(result.Items); @@ -267,7 +284,7 @@ internal List GetObjects(string uri, RequestOptions requestOptions = null) /// /// /// - internal PagedResults GetPaginatedObjects(string uri = null, RequestOptions requestOptions = null) + internal PagedResults GetPaginatedInternal(string uri = null, RequestOptions requestOptions = null) where T : class, new() { uri = uri.IsNullOrWhiteSpace() ? RedmineApiUrls.GetListFragment() : uri; diff --git a/src/redmine-net-api/RedmineManagerAsync.cs b/src/redmine-net-api/RedmineManagerAsync.cs index 20485248..4039f028 100644 --- a/src/redmine-net-api/RedmineManagerAsync.cs +++ b/src/redmine-net-api/RedmineManagerAsync.cs @@ -208,11 +208,7 @@ public async Task UpdateAsync(string id, T entity, RequestOptions requestOpti var payload = Serializer.Serialize(entity); - #if NET7_0_OR_GREATER - payload = ReplaceEndingsRegex().Replace(payload, CRLR); - #else payload = Regex.Replace(payload, "\r\n|\r|\n",CRLR); - #endif await ApiClient.UpdateAsync(url, payload, requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); } @@ -227,9 +223,9 @@ public async Task DeleteAsync(string id, RequestOptions requestOptions = null } /// - public async Task UploadFileAsync(byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public async Task UploadFileAsync(byte[] data, string fileName = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { - var url = RedmineApiUrls.UploadFragment(); + var url = RedmineApiUrls.UploadFragment(fileName); var response = await ApiClient.UploadFileAsync(url, data,requestOptions , cancellationToken: cancellationToken).ConfigureAwait(false); @@ -242,11 +238,6 @@ public async Task DownloadFileAsync(string address, RequestOptions reque var response = await ApiClient.DownloadAsync(address, requestOptions,cancellationToken: cancellationToken).ConfigureAwait(false); return response.Content; } - - #if NET7_0_OR_GREATER - [GeneratedRegex(@"\r\n|\r|\n")] - private static partial Regex ReplaceEndingsRegex(); - #endif private const int MAX_CONCURRENT_TASKS = 3; diff --git a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs index 0b6dd5d5..fa7f2a13 100644 --- a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs +++ b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs @@ -32,10 +32,10 @@ public sealed class RedmineManagerOptionsBuilder { private enum ClientType { - None, WebClient, + HttpClient, } - private ClientType _clientType = ClientType.None; + private ClientType _clientType = ClientType.WebClient; /// /// @@ -93,7 +93,7 @@ public RedmineManagerOptionsBuilder WithSerializationType(SerializationType seri } /// - /// + /// Gets the current serialization type /// public SerializationType SerializationType { get; private set; } @@ -132,15 +132,7 @@ public RedmineManagerOptionsBuilder WithBasicAuthentication(string login, string /// public RedmineManagerOptionsBuilder WithWebClient(Func clientFunc) { - if (clientFunc != null) - { - _clientType = ClientType.WebClient; - } - - if (clientFunc == null && _clientType == ClientType.WebClient) - { - _clientType = ClientType.None; - } + _clientType = ClientType.WebClient; this.ClientFunc = clientFunc; return this; } @@ -155,8 +147,9 @@ public RedmineManagerOptionsBuilder WithWebClient(Func clientFunc) /// /// /// - public RedmineManagerOptionsBuilder WithClientOptions(IRedmineApiClientOptions clientOptions) + public RedmineManagerOptionsBuilder WithWebClientOptions(IRedmineApiClientOptions clientOptions) { + _clientType = ClientType.WebClient; this.ClientOptions = clientOptions; return this; } @@ -199,8 +192,30 @@ internal RedmineManagerOptionsBuilder WithVerifyServerCert(bool verifyServerCert /// internal RedmineManagerOptions Build() { - ClientOptions ??= new RedmineWebClientOptions(); - + const string defaultUserAgent = "Redmine.Net.Api.Net"; + var defaultDecompressionFormat = + #if NETFRAMEWORK + DecompressionMethods.GZip | DecompressionMethods.Deflate | DecompressionMethods.None; + #else + DecompressionMethods.All; + #endif + #if NET45_OR_GREATER || NETCOREAPP + ClientOptions ??= _clientType switch + { + ClientType.WebClient => new RedmineWebClientOptions() + { + UserAgent = defaultUserAgent, + DecompressionFormat = defaultDecompressionFormat, + }, + _ => throw new ArgumentOutOfRangeException() + }; + #else + ClientOptions ??= new RedmineWebClientOptions() + { + UserAgent = defaultUserAgent, + DecompressionFormat = defaultDecompressionFormat, + }; + #endif var baseAddress = CreateRedmineUri(Host, ClientOptions.Scheme); var options = new RedmineManagerOptions() @@ -217,6 +232,8 @@ internal RedmineManagerOptions Build() return options; } + private static readonly char[] DotCharArray = ['.']; + internal static void EnsureDomainNameIsValid(string domainName) { if (domainName.IsNullOrWhiteSpace()) @@ -229,7 +246,7 @@ internal static void EnsureDomainNameIsValid(string domainName) throw new RedmineException("Domain name cannot be longer than 255 characters."); } - var labels = domainName.Split('.'); + var labels = domainName.Split(DotCharArray); if (labels.Length == 1) { throw new RedmineException("Domain name is not valid."); @@ -327,7 +344,6 @@ internal static Uri CreateRedmineUri(string host, string scheme = null) } else { - if (!IsSchemaHttpOrHttps(scheme)) { throw new RedmineException("Invalid host scheme. Only HTTP and HTTPS are supported."); diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 55dc139d..15c2aed6 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -4,7 +4,7 @@ Redmine.Net.Api redmine-net-api - net20;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;net481;net6.0;net7.0;net8.0 + net9.0;net8.0;net7.0;net6.0;net5.0;net481;net48;net472;net471;net47;net462;net461;net46;net452;net451;net45;net40;net20 false True true @@ -79,6 +79,7 @@ + From 21a6bafe20254ec23b3f40a0e9333a5932116c70 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 29 Jan 2025 23:47:44 +0200 Subject: [PATCH 470/601] Fix #369 (#370) --- ...bsolete.cs => IRedmineManager.Obsolete.cs} | 4 +-- .../WebClient/InternalRedmineApiWebClient.cs | 6 ++-- .../Net/WebClient/InternalWebClient.cs | 2 +- .../Net/WebClient/RedmineWebClientOptions.cs | 2 +- src/redmine-net-api/RedmineManager.cs | 26 +++++++------- src/redmine-net-api/RedmineManagerOptions.cs | 3 +- .../RedmineManagerOptionsBuilder.cs | 34 +++++++++++++++---- 7 files changed, 49 insertions(+), 28 deletions(-) rename src/redmine-net-api/{IRedmineManagerObsolete.cs => IRedmineManager.Obsolete.cs} (98%) diff --git a/src/redmine-net-api/IRedmineManagerObsolete.cs b/src/redmine-net-api/IRedmineManager.Obsolete.cs similarity index 98% rename from src/redmine-net-api/IRedmineManagerObsolete.cs rename to src/redmine-net-api/IRedmineManager.Obsolete.cs index 553627f9..8704367c 100644 --- a/src/redmine-net-api/IRedmineManagerObsolete.cs +++ b/src/redmine-net-api/IRedmineManager.Obsolete.cs @@ -44,7 +44,7 @@ public partial interface IRedmineManager /// /// Maximum page-size when retrieving complete object lists /// - /// By default only 25 results can be retrieved per request. Maximum is 100. To change the maximum value set + /// By default, only 25 results can be retrieved per request. Maximum is 100. To change the maximum value set /// in your Settings -> General, "Objects per page options".By adding (for instance) 9999 there would make you /// able to get that many results per request. /// @@ -56,7 +56,7 @@ public partial interface IRedmineManager int PageSize { get; set; } /// - /// As of Redmine 2.2.0 you can impersonate user setting user login (eg. jsmith). This only works when using the API + /// As of Redmine 2.2.0 you can impersonate user setting user login (e.g. jsmith). This only works when using the API /// with an administrator account, this header will be ignored when using the API with a regular user account. /// /// diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs index a48b5aa3..51b1ad7c 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs @@ -42,7 +42,7 @@ internal sealed class InternalRedmineApiWebClient : IRedmineApiClient public InternalRedmineApiWebClient(RedmineManagerOptions redmineManagerOptions) : this(() => new InternalWebClient(redmineManagerOptions), redmineManagerOptions.Authentication, redmineManagerOptions.Serializer) { - ConfigureServicePointManager(redmineManagerOptions.ClientOptions); + ConfigureServicePointManager(redmineManagerOptions.WebClientOptions); } public InternalRedmineApiWebClient( @@ -55,9 +55,9 @@ public InternalRedmineApiWebClient( _serializer = serializer; } - private static void ConfigureServicePointManager(IRedmineApiClientOptions options) + private static void ConfigureServicePointManager(IRedmineWebClientOptions webClientOptions) { - if (options is not IRedmineWebClientOptions webClientOptions) + if (webClientOptions == null) { return; } diff --git a/src/redmine-net-api/Net/WebClient/InternalWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalWebClient.cs index 87c7c602..dbcdf193 100644 --- a/src/redmine-net-api/Net/WebClient/InternalWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalWebClient.cs @@ -27,7 +27,7 @@ internal sealed class InternalWebClient : System.Net.WebClient #pragma warning disable SYSLIB0014 public InternalWebClient(RedmineManagerOptions redmineManagerOptions) { - _webClientOptions = redmineManagerOptions.ClientOptions as IRedmineWebClientOptions; + _webClientOptions = redmineManagerOptions.WebClientOptions; BaseAddress = redmineManagerOptions.BaseAddress.ToString(); } #pragma warning restore SYSLIB0014 diff --git a/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs b/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs index 0a2953e8..cd76daf1 100644 --- a/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs +++ b/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs @@ -25,7 +25,7 @@ namespace Redmine.Net.Api.Net.WebClient; /// /// /// -public sealed class RedmineWebClientOptions: IRedmineApiClientOptions +public sealed class RedmineWebClientOptions: IRedmineWebClientOptions { /// /// diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 8f702eb1..49cf2ee0 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -53,37 +53,37 @@ public RedmineManager(RedmineManagerOptionsBuilder optionsBuilder) #if NET45_OR_GREATER if (_redmineManagerOptions.VerifyServerCert) { - _redmineManagerOptions.ClientOptions.ServerCertificateValidationCallback = RemoteCertValidate; + _redmineManagerOptions.WebClientOptions.ServerCertificateValidationCallback = RemoteCertValidate; } #endif - if (_redmineManagerOptions.ClientOptions is RedmineWebClientOptions) + if (_redmineManagerOptions.WebClientOptions is RedmineWebClientOptions) { + Proxy = _redmineManagerOptions.WebClientOptions.Proxy; + Timeout = _redmineManagerOptions.WebClientOptions.Timeout; + SecurityProtocolType = _redmineManagerOptions.WebClientOptions.SecurityProtocolType.GetValueOrDefault(); #pragma warning disable SYSLIB0014 - _redmineManagerOptions.ClientOptions.SecurityProtocolType ??= ServicePointManager.SecurityProtocol; + _redmineManagerOptions.WebClientOptions.SecurityProtocolType ??= ServicePointManager.SecurityProtocol; #pragma warning restore SYSLIB0014 } + if (_redmineManagerOptions.Authentication is RedmineApiKeyAuthentication) + { + ApiKey = _redmineManagerOptions.Authentication.Token; + } + Serializer = _redmineManagerOptions.Serializer; Host = _redmineManagerOptions.BaseAddress.ToString(); PageSize = _redmineManagerOptions.PageSize; - Format = Serializer.Format; Scheme = _redmineManagerOptions.BaseAddress.Scheme; - Proxy = _redmineManagerOptions.ClientOptions.Proxy; - Timeout = _redmineManagerOptions.ClientOptions.Timeout; + Format = Serializer.Format; MimeFormat = RedmineConstants.XML.Equals(Serializer.Format, StringComparison.Ordinal) ? MimeFormat.Xml : MimeFormat.Json; - SecurityProtocolType = _redmineManagerOptions.ClientOptions.SecurityProtocolType.GetValueOrDefault(); - - if (_redmineManagerOptions.Authentication is RedmineApiKeyAuthentication) - { - ApiKey = _redmineManagerOptions.Authentication.Token; - } RedmineApiUrls = new RedmineApiUrls(Serializer.Format); #if NET45_OR_GREATER || NETCOREAPP - if (_redmineManagerOptions.ClientOptions is RedmineWebClientOptions) + if (_redmineManagerOptions.WebClientOptions is RedmineWebClientOptions) { ApiClient = _redmineManagerOptions.ClientFunc != null ? new InternalRedmineApiWebClient(_redmineManagerOptions.ClientFunc, _redmineManagerOptions.Authentication, _redmineManagerOptions.Serializer) diff --git a/src/redmine-net-api/RedmineManagerOptions.cs b/src/redmine-net-api/RedmineManagerOptions.cs index aadf9916..a0928c44 100644 --- a/src/redmine-net-api/RedmineManagerOptions.cs +++ b/src/redmine-net-api/RedmineManagerOptions.cs @@ -18,6 +18,7 @@ limitations under the License. using System.Net; using Redmine.Net.Api.Authentication; using Redmine.Net.Api.Net; +using Redmine.Net.Api.Net.WebClient; using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api @@ -60,7 +61,7 @@ internal sealed class RedmineManagerOptions /// /// Gets or sets the settings for configuring the Redmine web client. /// - public IRedmineApiClientOptions ClientOptions { get; init; } + public IRedmineWebClientOptions WebClientOptions { get; init; } /// /// Gets or sets the version of the Redmine server to which this client will connect. diff --git a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs index fa7f2a13..417bcdec 100644 --- a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs +++ b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs @@ -69,7 +69,6 @@ public RedmineManagerOptionsBuilder WithHost(string baseAddress) /// public string Host { get; private set; } - /// /// /// @@ -147,17 +146,38 @@ public RedmineManagerOptionsBuilder WithWebClient(Func clientFunc) /// /// /// + [Obsolete("Use WithWebClientOptions(IRedmineWebClientOptions clientOptions) instead.")] public RedmineManagerOptionsBuilder WithWebClientOptions(IRedmineApiClientOptions clientOptions) + { + return WithWebClientOptions((IRedmineWebClientOptions)clientOptions); + } + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithWebClientOptions(IRedmineWebClientOptions clientOptions) { _clientType = ClientType.WebClient; - this.ClientOptions = clientOptions; + this.WebClientOptions = clientOptions; return this; } /// /// /// - public IRedmineApiClientOptions ClientOptions { get; private set; } + [Obsolete("Use WebClientOptions instead.")] + public IRedmineApiClientOptions ClientOptions + { + get => WebClientOptions; + private set { } + } + + /// + /// + /// + public IRedmineWebClientOptions WebClientOptions { get; private set; } /// /// @@ -200,7 +220,7 @@ internal RedmineManagerOptions Build() DecompressionMethods.All; #endif #if NET45_OR_GREATER || NETCOREAPP - ClientOptions ??= _clientType switch + WebClientOptions ??= _clientType switch { ClientType.WebClient => new RedmineWebClientOptions() { @@ -210,13 +230,13 @@ internal RedmineManagerOptions Build() _ => throw new ArgumentOutOfRangeException() }; #else - ClientOptions ??= new RedmineWebClientOptions() + WebClientOptions ??= new RedmineWebClientOptions() { UserAgent = defaultUserAgent, DecompressionFormat = defaultDecompressionFormat, }; #endif - var baseAddress = CreateRedmineUri(Host, ClientOptions.Scheme); + var baseAddress = CreateRedmineUri(Host, WebClientOptions.Scheme); var options = new RedmineManagerOptions() { @@ -226,7 +246,7 @@ internal RedmineManagerOptions Build() Serializer = RedmineSerializerFactory.CreateSerializer(SerializationType), RedmineVersion = Version, Authentication = Authentication ?? new RedmineNoAuthentication(), - ClientOptions = ClientOptions + WebClientOptions = WebClientOptions }; return options; From 6b94837ab4891c66f75cc0ddd12c69f330bf67c7 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 30 Mar 2025 01:27:24 +0200 Subject: [PATCH 471/601] Fix #371 --- src/redmine-net-api/Net/RedmineApiUrls.cs | 60 ++++++++++++++++++- .../Bugs/RedmineApi-371.cs | 30 ++++++++++ 2 files changed, 88 insertions(+), 2 deletions(-) create mode 100644 tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs diff --git a/src/redmine-net-api/Net/RedmineApiUrls.cs b/src/redmine-net-api/Net/RedmineApiUrls.cs index 60788877..493bfa6a 100644 --- a/src/redmine-net-api/Net/RedmineApiUrls.cs +++ b/src/redmine-net-api/Net/RedmineApiUrls.cs @@ -112,6 +112,27 @@ public string CreateEntityFragment(string ownerId = null) { var type = typeof(T); + return CreateEntityFragment(type, ownerId); + } + public string CreateEntityFragment(RequestOptions requestOptions) + { + var type = typeof(T); + + return CreateEntityFragment(type, requestOptions); + } + internal string CreateEntityFragment(Type type, RequestOptions requestOptions) + { + string ownerId = null; + if (requestOptions is { QueryString: not null }) + { + ownerId = requestOptions.QueryString.Get(RedmineKeys.PROJECT_ID) ?? + requestOptions.QueryString.Get(RedmineKeys.ISSUE_ID); + } + + return CreateEntityFragment(type, ownerId); + } + internal string CreateEntityFragment(Type type, string ownerId = null) + { if (type == typeof(Version) || type == typeof(IssueCategory) || type == typeof(ProjectMembership)) { return ProjectParentFragment(ownerId, TypeUrlFragments[type]); @@ -129,7 +150,7 @@ public string CreateEntityFragment(string ownerId = null) if (type == typeof(Upload)) { - return RedmineKeys.UPLOADS; + return $"{RedmineKeys.UPLOADS}.{Format}"; } if (type == typeof(Attachment) || type == typeof(Attachments)) @@ -144,6 +165,10 @@ public string CreateEntityFragment(string ownerId = null) { var type = typeof(T); + return GetFragment(type, id); + } + internal string GetFragment(Type type, string id) + { return $"{TypeFragment(TypeUrlFragments, type)}/{id}.{Format}"; } @@ -151,6 +176,10 @@ public string PatchFragment(string ownerId) { var type = typeof(T); + return PatchFragment(type, ownerId); + } + internal string PatchFragment(Type type, string ownerId) + { if (type == typeof(Attachment) || type == typeof(Attachments)) { return IssueAttachmentFragment(ownerId); @@ -163,6 +192,10 @@ public string DeleteFragment(string id) { var type = typeof(T); + return DeleteFragment(type, id); + } + internal string DeleteFragment(Type type,string id) + { return $"{TypeFragment(TypeUrlFragments, type)}/{id}.{Format}"; } @@ -170,6 +203,10 @@ public string UpdateFragment(string id) { var type = typeof(T); + return UpdateFragment(type, id); + } + internal string UpdateFragment(Type type, string id) + { return $"{TypeFragment(TypeUrlFragments, type)}/{id}.{Format}"; } @@ -179,8 +216,27 @@ public string UpdateFragment(string id) return GetListFragment(type, ownerId); } + + public string GetListFragment(RequestOptions requestOptions) where T : class, new() + { + var type = typeof(T); + + return GetListFragment(type, requestOptions); + } + + internal string GetListFragment(Type type, RequestOptions requestOptions) + { + string ownerId = null; + if (requestOptions is { QueryString: not null }) + { + ownerId = requestOptions.QueryString.Get(RedmineKeys.PROJECT_ID) ?? + requestOptions.QueryString.Get(RedmineKeys.ISSUE_ID); + } + + return GetListFragment(type, ownerId); + } - public string GetListFragment(Type type, string ownerId = null) + internal string GetListFragment(Type type, string ownerId = null) { if (type == typeof(Version) || type == typeof(IssueCategory) || type == typeof(ProjectMembership)) { diff --git a/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs b/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs new file mode 100644 index 00000000..c77ac1c1 --- /dev/null +++ b/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs @@ -0,0 +1,30 @@ +using System.Collections.Specialized; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Bugs; + +public sealed class RedmineApi371 : IClassFixture +{ + private readonly RedmineFixture _fixture; + + public RedmineApi371(RedmineFixture fixture) + { + _fixture = fixture; + } + + [Fact] + public void Should_Return_IssueCategories() + { + var result = _fixture.RedmineManager.Get(new RequestOptions() + { + QueryString = new NameValueCollection() + { + { "project_id", 1.ToInvariantString() } + } + }); + } +} \ No newline at end of file From 406fee2344bdba5f3939510d80b5802df72d6e01 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 30 Mar 2025 14:09:28 +0300 Subject: [PATCH 472/601] [Types] New Properties (#373) * [Version] Write wiki page title * [MyAccount] Write first name, last name & email * [Upload] Add Id * [Role] - Add Issue, time & user visibility * [New] TrackerCoreField * [Tracker] Enable standard fields * [Journal] Add Updated[On|By] * [CustomField] Add description * [User] Add Avatar URL * [Membership] Fetch Group & User * [IssuePriority] Add IsActive * [New] Document category --- src/redmine-net-api/RedmineKeys.cs | 27 ++- src/redmine-net-api/Types/CustomField.cs | 10 + src/redmine-net-api/Types/DocumentCategory.cs | 177 ++++++++++++++++++ src/redmine-net-api/Types/IssuePriority.cs | 11 +- src/redmine-net-api/Types/Journal.cs | 23 ++- src/redmine-net-api/Types/Membership.cs | 24 ++- src/redmine-net-api/Types/MyAccount.cs | 24 ++- src/redmine-net-api/Types/Role.cs | 14 +- src/redmine-net-api/Types/Tracker.cs | 8 + src/redmine-net-api/Types/TrackerCoreField.cs | 129 +++++++++++++ src/redmine-net-api/Types/Upload.cs | 7 + src/redmine-net-api/Types/User.cs | 10 + src/redmine-net-api/Types/Version.cs | 11 +- 13 files changed, 458 insertions(+), 17 deletions(-) create mode 100644 src/redmine-net-api/Types/DocumentCategory.cs create mode 100644 src/redmine-net-api/Types/TrackerCoreField.cs diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index 8cc70a16..996b7142 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -59,6 +59,10 @@ public static class RedmineKeys /// /// /// + public const string ARCHIVE = "archive"; + /// + /// + /// public const string ASSIGNED_TO = "assigned_to"; /// /// @@ -84,6 +88,11 @@ public static class RedmineKeys /// /// public const string AUTH_SOURCE_ID = "auth_source_id"; + + /// + /// + /// + public const string AVATAR_URL = "avatar_url"; /// /// /// @@ -224,6 +233,10 @@ public static class RedmineKeys /// /// /// + public const string DOCUMENT_CATEGORY = "document_category"; + /// + /// + /// public const string DOCUMENTS = "documents"; /// /// @@ -248,6 +261,10 @@ public static class RedmineKeys /// /// /// + public const string ENABLED_STANDARD_FIELDS = "enabled_standard_fields"; + /// + /// + /// public const string ENUMERATION_ISSUE_PRIORITIES = "enumerations/issue_priorities"; /// /// @@ -268,6 +285,10 @@ public static class RedmineKeys /// /// /// + public const string FIELD = "field"; + /// + /// + /// public const string FIELD_FORMAT = "field_format"; /// /// @@ -772,6 +793,10 @@ public static class RedmineKeys /// /// /// + public const string UPDATED_BY = "updated_by"; + /// + /// + /// public const string UPLOAD = "upload"; /// /// @@ -849,7 +874,5 @@ public static class RedmineKeys /// /// public const string WIKI_PAGES = "wiki_pages"; - - } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index 28573116..ad80e656 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -38,6 +38,11 @@ public sealed class CustomField : IdentifiableName, IEquatable /// /// public string CustomizedType { get; internal set; } + + /// + /// Added in Redmine 5.1.0 version + /// + public string Description { get; internal set; } /// /// @@ -125,6 +130,7 @@ public override void ReadXml(XmlReader reader) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; case RedmineKeys.CUSTOMIZED_TYPE: CustomizedType = reader.ReadElementContentAsString(); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; case RedmineKeys.DEFAULT_VALUE: DefaultValue = reader.ReadElementContentAsString(); break; case RedmineKeys.FIELD_FORMAT: FieldFormat = reader.ReadElementContentAsString(); break; case RedmineKeys.IS_FILTER: IsFilter = reader.ReadElementContentAsBoolean(); break; @@ -170,6 +176,7 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.ID: Id = reader.ReadAsInt(); break; case RedmineKeys.CUSTOMIZED_TYPE: CustomizedType = reader.ReadAsString(); break; case RedmineKeys.DEFAULT_VALUE: DefaultValue = reader.ReadAsString(); break; + case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; case RedmineKeys.FIELD_FORMAT: FieldFormat = reader.ReadAsString(); break; case RedmineKeys.IS_FILTER: IsFilter = reader.ReadAsBool(); break; case RedmineKeys.IS_REQUIRED: IsRequired = reader.ReadAsBool(); break; @@ -207,6 +214,7 @@ public bool Equals(CustomField other) && Searchable == other.Searchable && Visible == other.Visible && string.Equals(CustomizedType,other.CustomizedType, StringComparison.OrdinalIgnoreCase) + && string.Equals(Description,other.Description, StringComparison.OrdinalIgnoreCase) && string.Equals(DefaultValue,other.DefaultValue, StringComparison.OrdinalIgnoreCase) && string.Equals(FieldFormat,other.FieldFormat, StringComparison.OrdinalIgnoreCase) && MaxLength == other.MaxLength @@ -243,6 +251,7 @@ public override int GetHashCode() hashCode = HashCodeHelper.GetHashCode(Id, hashCode); hashCode = HashCodeHelper.GetHashCode(IsFilter, hashCode); hashCode = HashCodeHelper.GetHashCode(IsRequired, hashCode); + hashCode = HashCodeHelper.GetHashCode(Description, hashCode); hashCode = HashCodeHelper.GetHashCode(Multiple, hashCode); hashCode = HashCodeHelper.GetHashCode(Searchable, hashCode); hashCode = HashCodeHelper.GetHashCode(Visible, hashCode); @@ -264,6 +273,7 @@ public override int GetHashCode() private string DebuggerDisplay => $@"[{nameof(CustomField)}: {ToString()} , CustomizedType={CustomizedType} +, Description={Description} , FieldFormat={FieldFormat} , Regexp={Regexp} , MinLength={MinLength?.ToString(CultureInfo.InvariantCulture)} diff --git a/src/redmine-net-api/Types/DocumentCategory.cs b/src/redmine-net-api/Types/DocumentCategory.cs new file mode 100644 index 00000000..490bfa13 --- /dev/null +++ b/src/redmine-net-api/Types/DocumentCategory.cs @@ -0,0 +1,177 @@ +/* + Copyright 2011 - 2023 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using System.Diagnostics; +using System.Globalization; +using System.Xml; +using System.Xml.Serialization; +using Newtonsoft.Json; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Internals; + +namespace Redmine.Net.Api.Types +{ + /// + /// Availability 2.2 + /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [XmlRoot(RedmineKeys.DOCUMENT_CATEGORY)] + public sealed class DocumentCategory : IdentifiableName, IEquatable + { + /// + /// + /// + public DocumentCategory() { } + + internal DocumentCategory(int id, string name) + : base(id, name) + { + } + + #region Properties + /// + /// + /// + public bool IsDefault { get; internal set; } + + /// + /// + /// + public bool IsActive { get; internal set; } + #endregion + + #region Implementation of IXmlSerializable + + /// + /// Generates an object from its XML representation. + /// + /// The stream from which the object is deserialized. + public override void ReadXml(XmlReader reader) + { + reader.Read(); + while (!reader.EOF) + { + if (reader.IsEmptyElement && !reader.HasAttributes) + { + reader.Read(); + continue; + } + + switch (reader.Name) + { + case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; + case RedmineKeys.IS_DEFAULT: IsDefault = reader.ReadElementContentAsBoolean(); break; + case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; + case RedmineKeys.ACTIVE: IsActive = reader.ReadElementContentAsBoolean(); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + public override void WriteXml(XmlWriter writer) { } + + #endregion + + #region Implementation of IJsonSerialization + /// + /// + /// + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.IS_DEFAULT: IsDefault = reader.ReadAsBool(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + case RedmineKeys.ACTIVE: IsActive = reader.ReadAsBool(); break; + default: reader.Read(); break; + } + } + } + #endregion + + #region Implementation of IEquatable + + /// + /// + /// + /// + /// + public bool Equals(DocumentCategory other) + { + if (other == null) return false; + + return Id == other.Id && Name == other.Name && IsDefault == other.IsDefault && IsActive == other.IsActive; + } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as DocumentCategory); + } + + /// + /// + /// + /// + public override int GetHashCode() + { + unchecked + { + var hashCode = 13; + hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsDefault, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsActive, hashCode); + return hashCode; + } + } + + #endregion + + /// + /// + /// + /// + private string DebuggerDisplay => $"[{nameof(TimeEntryActivity)}:{ToString()}, IsDefault={IsDefault.ToString(CultureInfo.InvariantCulture)}, IsActive={IsActive.ToString(CultureInfo.InvariantCulture)}]"; + + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssuePriority.cs b/src/redmine-net-api/Types/IssuePriority.cs index 80539b90..081e41c4 100644 --- a/src/redmine-net-api/Types/IssuePriority.cs +++ b/src/redmine-net-api/Types/IssuePriority.cs @@ -37,6 +37,10 @@ public sealed class IssuePriority : IdentifiableName, IEquatable /// /// public bool IsDefault { get; internal set; } + /// + /// + /// + public bool IsActive { get; internal set; } #endregion #region Implementation of IXmlSerializable @@ -59,6 +63,7 @@ public override void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; + case RedmineKeys.ACTIVE: IsActive = reader.ReadElementContentAsBoolean(); break; case RedmineKeys.IS_DEFAULT: IsDefault = reader.ReadElementContentAsBoolean(); break; case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; default: reader.Read(); break; @@ -90,6 +95,7 @@ public override void ReadJson(JsonReader reader) switch (reader.Value) { case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.ACTIVE: IsActive = reader.ReadAsBool(); break; case RedmineKeys.IS_DEFAULT: IsDefault = reader.ReadAsBool(); break; case RedmineKeys.NAME: Name = reader.ReadAsString(); break; default: reader.Read(); break; @@ -108,7 +114,7 @@ public bool Equals(IssuePriority other) { if (other == null) return false; - return Id == other.Id && Name == other.Name && IsDefault == other.IsDefault; + return Id == other.Id && Name == other.Name && IsDefault == other.IsDefault && IsActive == other.IsActive; } /// @@ -136,6 +142,7 @@ public override int GetHashCode() hashCode = HashCodeHelper.GetHashCode(Id, hashCode); hashCode = HashCodeHelper.GetHashCode(Name, hashCode); hashCode = HashCodeHelper.GetHashCode(IsDefault, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsActive, hashCode); return hashCode; } } @@ -145,7 +152,7 @@ public override int GetHashCode() /// /// /// - private string DebuggerDisplay => $"[IssuePriority: {ToString()}, IsDefault={IsDefault.ToString(CultureInfo.InvariantCulture)}]"; + private string DebuggerDisplay => $"[IssuePriority: {ToString()}, IsDefault={IsDefault.ToString(CultureInfo.InvariantCulture)}, IsActive={IsActive.ToString(CultureInfo.InvariantCulture)}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index 9558fa8a..5ed9b608 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -35,7 +35,7 @@ public sealed class Journal : Identifiable { #region Properties /// - /// Gets or sets the user. + /// Gets the user. /// /// /// The user. @@ -53,12 +53,20 @@ public sealed class Journal : Identifiable public string Notes { get; set; } /// - /// Gets or sets the created on. + /// Gets the created on. /// /// /// The created on. /// public DateTime? CreatedOn { get; internal set; } + + /// + /// Gets the updated on. + /// + /// + /// The updated on. + /// + public DateTime? UpdatedOn { get; internal set; } /// /// @@ -66,12 +74,17 @@ public sealed class Journal : Identifiable public bool PrivateNotes { get; internal set; } /// - /// Gets or sets the details. + /// Gets the details. /// /// /// The details. /// public IList Details { get; internal set; } + + /// + /// + /// + public IdentifiableName UpdatedBy { get; internal set; } #endregion #region Implementation of IXmlSerialization @@ -95,10 +108,12 @@ public override void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; + case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadElementContentAsNullableDateTime(); break; case RedmineKeys.DETAILS: Details = reader.ReadElementContentAsCollection(); break; case RedmineKeys.NOTES: Notes = reader.ReadElementContentAsString(); break; case RedmineKeys.PRIVATE_NOTES: PrivateNotes = reader.ReadElementContentAsBoolean(); break; case RedmineKeys.USER: User = new IdentifiableName(reader); break; + case RedmineKeys.UPDATED_BY: UpdatedBy = new IdentifiableName(reader); break; default: reader.Read(); break; } } @@ -137,10 +152,12 @@ public override void ReadJson(JsonReader reader) { case RedmineKeys.ID: Id = reader.ReadAsInt(); break; case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; + case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadAsDateTime(); break; case RedmineKeys.DETAILS: Details = reader.ReadAsCollection(); break; case RedmineKeys.NOTES: Notes = reader.ReadAsString(); break; case RedmineKeys.PRIVATE_NOTES: PrivateNotes = reader.ReadAsBool(); break; case RedmineKeys.USER: User = new IdentifiableName(reader); break; + case RedmineKeys.UPDATED_BY: UpdatedBy = new IdentifiableName(reader); break; default: reader.Read(); break; } } diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index b819c91b..d74e22c7 100644 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -33,10 +33,19 @@ public sealed class Membership : Identifiable { #region Properties /// + /// Gets the group. + /// + public IdentifiableName Group { get; internal set; } + /// /// Gets or sets the project. /// /// The project. public IdentifiableName Project { get; internal set; } + + /// + /// Gets the user. + /// + public IdentifiableName User { get; internal set; } /// /// Gets or sets the type. @@ -64,7 +73,9 @@ public override void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; + case RedmineKeys.GROUP: Group = new IdentifiableName(reader); break; case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; + case RedmineKeys.USER: User = new IdentifiableName(reader); break; case RedmineKeys.ROLES: Roles = reader.ReadElementContentAsCollection(); break; default: reader.Read(); break; } @@ -94,7 +105,9 @@ public override void ReadJson(JsonReader reader) switch (reader.Value) { case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.GROUP: Project = new IdentifiableName(reader); break; case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; + case RedmineKeys.USER: Project = new IdentifiableName(reader); break; case RedmineKeys.ROLES: Roles = reader.ReadAsCollection(); break; default: reader.Read(); break; } @@ -111,9 +124,9 @@ public override void ReadJson(JsonReader reader) public override bool Equals(Membership other) { if (other == null) return false; - return Id == other.Id && - Project != null ? Project.Equals(other.Project) : other.Project == null && - Roles != null ? Roles.Equals(other.Roles) : other.Roles == null; + return Id == other.Id + && Project != null ? Project.Equals(other.Project) : other.Project == null + && Roles != null ? Roles.Equals(other.Roles) : other.Roles == null; } /// @@ -126,7 +139,9 @@ public override int GetHashCode() { var hashCode = 13; hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + hashCode = HashCodeHelper.GetHashCode(Group, hashCode); hashCode = HashCodeHelper.GetHashCode(Project, hashCode); + hashCode = HashCodeHelper.GetHashCode(User, hashCode); hashCode = HashCodeHelper.GetHashCode(Roles, hashCode); return hashCode; } @@ -137,7 +152,6 @@ public override int GetHashCode() /// /// /// - private string DebuggerDisplay => $"[{nameof(Membership)}: {ToString()}, Project={Project}, Roles={Roles.Dump()}]"; - + private string DebuggerDisplay => $"[{nameof(Membership)}: {ToString()}, Group={Group}, Project={Project}, User={User}, Roles={Roles.Dump()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/MyAccount.cs b/src/redmine-net-api/Types/MyAccount.cs index 06189301..3138b036 100644 --- a/src/redmine-net-api/Types/MyAccount.cs +++ b/src/redmine-net-api/Types/MyAccount.cs @@ -23,6 +23,7 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types { @@ -122,7 +123,15 @@ public override void ReadXml(XmlReader reader) } } } - + + /// + public override void WriteXml(XmlWriter writer) + { + writer.WriteElementString(RedmineKeys.FIRST_NAME, FirstName); + writer.WriteElementString(RedmineKeys.LAST_NAME, LastName); + writer.WriteElementString(RedmineKeys.MAIL, Email); + } + #endregion #region Implementation of IJsonSerializable @@ -158,7 +167,18 @@ public override void ReadJson(JsonReader reader) } } } - + + /// + public override void WriteJson(JsonWriter writer) + { + using (new JsonObject(writer, RedmineKeys.USER)) + { + writer.WriteProperty(RedmineKeys.FIRST_NAME, FirstName); + writer.WriteProperty(RedmineKeys.LAST_NAME, LastName); + writer.WriteProperty(RedmineKeys.MAIL, Email); + } + } + #endregion /// diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index 40ac4122..e2b6384a 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -83,6 +83,9 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; case RedmineKeys.ASSIGNABLE: IsAssignable = reader.ReadElementContentAsNullableBoolean(); break; + case RedmineKeys.ISSUES_VISIBILITY: IssuesVisibility = reader.ReadElementContentAsString(); break; + case RedmineKeys.TIME_ENTRIES_VISIBILITY: TimeEntriesVisibility = reader.ReadElementContentAsString(); break; + case RedmineKeys.USERS_VISIBILITY: UsersVisibility = reader.ReadElementContentAsString(); break; case RedmineKeys.PERMISSIONS: Permissions = reader.ReadElementContentAsCollection(); break; default: reader.Read(); break; } @@ -115,6 +118,9 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.ID: Id = reader.ReadAsInt(); break; case RedmineKeys.NAME: Name = reader.ReadAsString(); break; case RedmineKeys.ASSIGNABLE: IsAssignable = reader.ReadAsBoolean(); break; + case RedmineKeys.ISSUES_VISIBILITY: IssuesVisibility = reader.ReadAsString(); break; + case RedmineKeys.TIME_ENTRIES_VISIBILITY: TimeEntriesVisibility = reader.ReadAsString(); break; + case RedmineKeys.USERS_VISIBILITY: UsersVisibility = reader.ReadAsString(); break; case RedmineKeys.PERMISSIONS: Permissions = reader.ReadAsCollection(); break; default: reader.Read(); break; } @@ -134,6 +140,9 @@ public bool Equals(Role other) return EqualityComparer.Default.Equals(Id, other.Id) && EqualityComparer.Default.Equals(Name, other.Name) && IsAssignable == other.IsAssignable && + EqualityComparer.Default.Equals(IssuesVisibility, other.IssuesVisibility) && + EqualityComparer.Default.Equals(TimeEntriesVisibility, other.TimeEntriesVisibility) && + EqualityComparer.Default.Equals(UsersVisibility, other.UsersVisibility) && EqualityComparer>.Default.Equals(Permissions, other.Permissions); } @@ -163,6 +172,9 @@ public override int GetHashCode() hashCode = HashCodeHelper.GetHashCode(Id, hashCode); hashCode = HashCodeHelper.GetHashCode(Name, hashCode); hashCode = HashCodeHelper.GetHashCode(IsAssignable, hashCode); + hashCode = HashCodeHelper.GetHashCode(IssuesVisibility, hashCode); + hashCode = HashCodeHelper.GetHashCode(TimeEntriesVisibility, hashCode); + hashCode = HashCodeHelper.GetHashCode(UsersVisibility, hashCode); hashCode = HashCodeHelper.GetHashCode(Permissions, hashCode); return hashCode; } diff --git a/src/redmine-net-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs index 157b75aa..d203e6c2 100644 --- a/src/redmine-net-api/Types/Tracker.cs +++ b/src/redmine-net-api/Types/Tracker.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Collections.Generic; using System.Diagnostics; using System.Xml; using System.Xml.Serialization; @@ -40,6 +41,11 @@ public class Tracker : IdentifiableName, IEquatable /// Gets the description of this tracker. /// public string Description { get; internal set; } + + /// + /// Gets the list of enabled tracker's core fields + /// + public List EnabledStandardFields { get; internal set; } #region Implementation of IXmlSerialization /// @@ -63,6 +69,7 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; case RedmineKeys.DEFAULT_STATUS: DefaultStatus = new IdentifiableName(reader); break; case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; + case RedmineKeys.ENABLED_STANDARD_FIELDS: EnabledStandardFields = reader.ReadElementContentAsCollection(); break; default: reader.Read(); break; } } @@ -95,6 +102,7 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.NAME: Name = reader.ReadAsString(); break; case RedmineKeys.DEFAULT_STATUS: DefaultStatus = new IdentifiableName(reader); break; case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; + case RedmineKeys.ENABLED_STANDARD_FIELDS: EnabledStandardFields = reader.ReadAsCollection(); break; default: reader.Read(); break; } } diff --git a/src/redmine-net-api/Types/TrackerCoreField.cs b/src/redmine-net-api/Types/TrackerCoreField.cs new file mode 100644 index 00000000..1777883f --- /dev/null +++ b/src/redmine-net-api/Types/TrackerCoreField.cs @@ -0,0 +1,129 @@ +using System; +using System.Diagnostics; +using System.Xml; +using System.Xml.Schema; +using System.Xml.Serialization; +using Newtonsoft.Json; +using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization; + +namespace Redmine.Net.Api.Types +{ + /// + /// + /// + [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [XmlRoot(RedmineKeys.TRACKER)] + public sealed class TrackerCoreField: IXmlSerializable, IJsonSerializable, IEquatable + { + /// + /// + /// + public string Name { get; private set; } + + /// + /// + /// + /// + private string DebuggerDisplay => $"[{nameof(TrackerCoreField)}: {ToString()}]"; + + /// + /// + /// + /// + public XmlSchema GetSchema() + { + return null; + } + + /// + /// + /// + /// + /// + public void ReadXml(XmlReader reader) + { + reader.Read(); + if (reader.NodeType == XmlNodeType.Text) + { + Name = reader.Value; + } + } + + /// + /// + /// + /// + public void WriteXml(XmlWriter writer) { } + + /// + /// + /// + /// + public void WriteJson(JsonWriter writer) { } + + /// + /// + /// + /// + /// + public void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) + { + case RedmineKeys.PERMISSION: Name = reader.ReadAsString(); break; + default: reader.Read(); break; + } + } + } + + /// + /// + /// + /// + /// + public bool Equals(TrackerCoreField other) + { + return other != null && Name == other.Name; + } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as TrackerCoreField); + } + + /// + /// + /// + /// + public override int GetHashCode() + { + unchecked + { + var hashCode = 13; + hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + return hashCode; + } + } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index 42b25a75..073690c8 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -34,6 +34,11 @@ namespace Redmine.Net.Api.Types public sealed class Upload : IXmlSerializable, IJsonSerializable, IEquatable { #region Properties + /// + /// Gets the uploaded id. + /// + public string Id { get; private set; } + /// /// Gets or sets the uploaded token. /// @@ -84,6 +89,7 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { + case RedmineKeys.ID: Id = reader.ReadElementContentAsString(); break; case RedmineKeys.CONTENT_TYPE: ContentType = reader.ReadElementContentAsString(); break; case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; case RedmineKeys.FILE_NAME: FileName = reader.ReadElementContentAsString(); break; @@ -127,6 +133,7 @@ public void ReadJson(JsonReader reader) switch (reader.Value) { + case RedmineKeys.ID: Id = reader.ReadAsString(); break; case RedmineKeys.CONTENT_TYPE: ContentType = reader.ReadAsString(); break; case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; case RedmineKeys.FILE_NAME: FileName = reader.ReadAsString(); break; diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index 7a93bfcf..64225abb 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -35,6 +35,11 @@ namespace Redmine.Net.Api.Types public sealed class User : Identifiable { #region Properties + /// + /// Gets or sets the user avatar url. + /// + public string AvatarUrl { get; set; } + /// /// Gets or sets the user login. /// @@ -174,6 +179,7 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.ADMIN: IsAdmin = reader.ReadElementContentAsBoolean(); break; case RedmineKeys.API_KEY: ApiKey = reader.ReadElementContentAsString(); break; case RedmineKeys.AUTH_SOURCE_ID: AuthenticationModeId = reader.ReadElementContentAsNullableInt(); break; + case RedmineKeys.AVATAR_URL: AvatarUrl = reader.ReadElementContentAsString(); break; case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadElementContentAsCollection(); break; case RedmineKeys.FIRST_NAME: FirstName = reader.ReadElementContentAsString(); break; @@ -255,6 +261,7 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.ADMIN: IsAdmin = reader.ReadAsBool(); break; case RedmineKeys.API_KEY: ApiKey = reader.ReadAsString(); break; case RedmineKeys.AUTH_SOURCE_ID: AuthenticationModeId = reader.ReadAsInt32(); break; + case RedmineKeys.AVATAR_URL: AvatarUrl = reader.ReadAsString(); break; case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadAsCollection(); break; case RedmineKeys.LAST_LOGIN_ON: LastLoginOn = reader.ReadAsDateTime(); break; @@ -324,6 +331,7 @@ public override bool Equals(User other) { if (other == null) return false; return Id == other.Id + && string.Equals(AvatarUrl,other.AvatarUrl, StringComparison.OrdinalIgnoreCase) && string.Equals(Login,other.Login, StringComparison.OrdinalIgnoreCase) && string.Equals(FirstName,other.FirstName, StringComparison.OrdinalIgnoreCase) && string.Equals(LastName,other.LastName, StringComparison.OrdinalIgnoreCase) @@ -354,6 +362,7 @@ public override int GetHashCode() unchecked { var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(AvatarUrl, hashCode); hashCode = HashCodeHelper.GetHashCode(Login, hashCode); hashCode = HashCodeHelper.GetHashCode(Password, hashCode); hashCode = HashCodeHelper.GetHashCode(FirstName, hashCode); @@ -387,6 +396,7 @@ public override int GetHashCode() Login={Login}, Password={Password}, FirstName={FirstName}, LastName={LastName}, +AvatarUrl={AvatarUrl}, IsAdmin={IsAdmin.ToString(CultureInfo.InvariantCulture)}, TwoFactorAuthenticationScheme={TwoFactorAuthenticationScheme} Email={Email}, diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index a9c74321..d3c52e6e 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -149,9 +149,10 @@ public override void WriteXml(XmlWriter writer) writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, DueDate); writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); + writer.WriteElementString(RedmineKeys.WIKI_PAGE_TITLE, WikiPageTitle); if (CustomFields != null) { - writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); + writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); } } #endregion @@ -210,6 +211,12 @@ public override void WriteJson(JsonWriter writer) writer.WriteProperty(RedmineKeys.SHARING, Sharing.ToString().ToLowerInv()); writer.WriteProperty(RedmineKeys.DESCRIPTION, Description); writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, DueDate); + if (CustomFields != null) + { + writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); + } + + writer.WriteProperty(RedmineKeys.WIKI_PAGE_TITLE, WikiPageTitle); } } #endregion From 286ae362ac486838fe76d28de082279875b2ab97 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 30 Mar 2025 14:24:07 +0300 Subject: [PATCH 473/601] [Project] Add new actions (#374) * [Project] Add Archive * [Project] Add Unarchive * [Project] Add Reopen * [Project] Add Close * [Project][Repository] Add related issue * [Project][Repository] Remove related issue --- .../Extensions/RedmineManagerExtensions.cs | 202 +++++++++++++++++- .../Net/RedmineApiUrlsExtensions.cs | 30 +++ src/redmine-net-api/RedmineKeys.cs | 20 ++ 3 files changed, 251 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index d4447c21..254e4855 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -34,7 +34,106 @@ namespace Redmine.Net.Api.Extensions /// public static class RedmineManagerExtensions { - /// + /// + /// + /// + /// + /// + /// + /// + public static void ArchiveProject(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null) + { + var uri = redmineManager.RedmineApiUrls.ProjectArchive(projectIdentifier); + + var escapedUri = Uri.EscapeDataString(uri); + + redmineManager.ApiClient.Update(escapedUri, string.Empty ,requestOptions); + } + + /// + /// + /// + /// + /// + /// + /// + public static void UnarchiveProject(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null) + { + var uri = redmineManager.RedmineApiUrls.ProjectUnarchive(projectIdentifier); + + var escapedUri = Uri.EscapeDataString(uri); + + redmineManager.ApiClient.Update(escapedUri, string.Empty ,requestOptions); + } + + /// + /// + /// + /// + /// + /// + /// + public static void ReopenProject(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null) + { + var uri = redmineManager.RedmineApiUrls.ProjectReopen(projectIdentifier); + + var escapedUri = Uri.EscapeDataString(uri); + + redmineManager.ApiClient.Update(escapedUri, string.Empty ,requestOptions); + } + + /// + /// + /// + /// + /// + /// + /// + public static void CloseProject(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null) + { + var uri = redmineManager.RedmineApiUrls.ProjectClose(projectIdentifier); + + var escapedUri = Uri.EscapeDataString(uri); + + redmineManager.ApiClient.Update(escapedUri,string.Empty, requestOptions); + } + + /// + /// + /// + /// + /// + /// + /// + /// + public static void ProjectRepositoryAddRelatedIssue(this RedmineManager redmineManager, string projectIdentifier, string repositoryIdentifier, string revision, RequestOptions requestOptions = null) + { + var uri = redmineManager.RedmineApiUrls.ProjectRepositoryAddRelatedIssue(projectIdentifier, repositoryIdentifier, revision); + + var escapedUri = Uri.EscapeDataString(uri); + + _ = redmineManager.ApiClient.Create(escapedUri,string.Empty, requestOptions); + } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static void ProjectRepositoryRemoveRelatedIssue(this RedmineManager redmineManager, string projectIdentifier, string repositoryIdentifier, string revision, string issueIdentifier, RequestOptions requestOptions = null) + { + var uri = redmineManager.RedmineApiUrls.ProjectRepositoryRemoveRelatedIssue(projectIdentifier, repositoryIdentifier, revision, issueIdentifier); + + var escapedUri = Uri.EscapeDataString(uri); + + _ = redmineManager.ApiClient.Delete(escapedUri, requestOptions); + } + + /// /// /// /// @@ -374,6 +473,107 @@ private static NameValueCollection CreateSearchParameters(string q, int limit, i #if !(NET20) + /// + /// Archives the project asynchronously + /// + /// + /// + /// + /// + public static async Task ArchiveProjectAsync(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.ProjectArchive(projectIdentifier); + + var escapedUri = Uri.EscapeDataString(uri); + + await redmineManager.ApiClient.DeleteAsync(escapedUri, requestOptions, cancellationToken).ConfigureAwait(false); + } + + /// + /// Unarchives the project asynchronously + /// + /// + /// + /// + /// + public static async Task UnarchiveProjectAsync(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.ProjectUnarchive(projectIdentifier); + + var escapedUri = Uri.EscapeDataString(uri); + + await redmineManager.ApiClient.DeleteAsync(escapedUri, requestOptions, cancellationToken).ConfigureAwait(false); + } + + /// + /// Closes the project asynchronously + /// + /// + /// + /// + /// + public static async Task CloseProjectAsync(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.ProjectClose(projectIdentifier); + + var escapedUri = Uri.EscapeDataString(uri); + + await redmineManager.ApiClient.UpdateAsync(escapedUri, string.Empty, requestOptions, cancellationToken).ConfigureAwait(false); + } + + /// + /// Reopens the project asynchronously + /// + /// + /// + /// + /// + public static async Task ReopenProjectAsync(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.ProjectReopen(projectIdentifier); + + var escapedUri = Uri.EscapeDataString(uri); + + await redmineManager.ApiClient.UpdateAsync(escapedUri, string.Empty, requestOptions, cancellationToken).ConfigureAwait(false); + } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static async Task ProjectRepositoryAddRelatedIssueAsync(this RedmineManager redmineManager, string projectIdentifier, string repositoryIdentifier, string revision, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.ProjectRepositoryAddRelatedIssue(projectIdentifier, repositoryIdentifier, revision); + + var escapedUri = Uri.EscapeDataString(uri); + + await redmineManager.ApiClient.CreateAsync(escapedUri, string.Empty ,requestOptions, cancellationToken).ConfigureAwait(false); + } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static async Task ProjectRepositoryRemoveRelatedIssueAsync(this RedmineManager redmineManager, string projectIdentifier, string repositoryIdentifier, string revision, string issueIdentifier, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.ProjectRepositoryRemoveRelatedIssue(projectIdentifier, repositoryIdentifier, revision, issueIdentifier); + + var escapedUri = Uri.EscapeDataString(uri); + + await redmineManager.ApiClient.DeleteAsync(escapedUri, requestOptions, cancellationToken).ConfigureAwait(false); + } + /// /// /// diff --git a/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs b/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs index 12f896f9..763060aa 100644 --- a/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs +++ b/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs @@ -31,6 +31,36 @@ public static string CurrentUser(this RedmineApiUrls redmineApiUrls) return $"{RedmineKeys.USERS}/{RedmineKeys.CURRENT}.{redmineApiUrls.Format}"; } + public static string ProjectClose(this RedmineApiUrls redmineApiUrls, string projectIdentifier) + { + return $"{RedmineKeys.PROJECTS}/{projectIdentifier}/{RedmineKeys.CLOSE}.{redmineApiUrls.Format}"; + } + + public static string ProjectReopen(this RedmineApiUrls redmineApiUrls, string projectIdentifier) + { + return $"{RedmineKeys.PROJECTS}/{projectIdentifier}/{RedmineKeys.REOPEN}.{redmineApiUrls.Format}"; + } + + public static string ProjectArchive(this RedmineApiUrls redmineApiUrls, string projectIdentifier) + { + return $"{RedmineKeys.PROJECTS}/{projectIdentifier}/{RedmineKeys.ARCHIVE}.{redmineApiUrls.Format}"; + } + + public static string ProjectUnarchive(this RedmineApiUrls redmineApiUrls, string projectIdentifier) + { + return $"{RedmineKeys.PROJECTS}/{projectIdentifier}/{RedmineKeys.UNARCHIVE}.{redmineApiUrls.Format}"; + } + + public static string ProjectRepositoryAddRelatedIssue(this RedmineApiUrls redmineApiUrls, string projectIdentifier, string repositoryIdentifier, string revision) + { + return $"{RedmineKeys.PROJECTS}/{projectIdentifier}/{RedmineKeys.REPOSITORY}/{repositoryIdentifier}/{RedmineKeys.REVISIONS}/{revision}/{RedmineKeys.ISSUES}.{redmineApiUrls.Format}"; + } + + public static string ProjectRepositoryRemoveRelatedIssue(this RedmineApiUrls redmineApiUrls, string projectIdentifier, string repositoryIdentifier, string revision, string issueIdentifier) + { + return $"{RedmineKeys.PROJECTS}/{projectIdentifier}/{RedmineKeys.REPOSITORY}/{repositoryIdentifier}/{RedmineKeys.REVISIONS}/{revision}/{RedmineKeys.ISSUES}/{issueIdentifier}.{redmineApiUrls.Format}"; + } + public static string ProjectNews(this RedmineApiUrls redmineApiUrls, string projectIdentifier) { if (projectIdentifier.IsNullOrWhiteSpace()) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index 996b7142..5ecae9fd 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -116,6 +116,10 @@ public static class RedmineKeys /// /// /// + public const string CLOSE = "close"; + /// + /// + /// public const string CLOSED_ON = "closed_on"; /// /// @@ -636,6 +640,14 @@ public static class RedmineKeys /// /// /// + public const string REOPEN = "reopen"; + /// + /// + /// + public const string REPOSITORY = "repository"; + /// + /// + /// public const string RESULT = "result"; /// /// @@ -644,6 +656,10 @@ public static class RedmineKeys /// /// /// + public const string REVISIONS = "revisions"; + /// + /// + /// public const string ROLE = "role"; /// /// @@ -789,6 +805,10 @@ public static class RedmineKeys /// /// /// + public const string UNARCHIVE = "unarchive"; + /// + /// + /// public const string UPDATED_ON = "updated_on"; /// /// From 2912b39b71e348c2497abc318276f7e2f280492c Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 30 Mar 2025 14:35:10 +0300 Subject: [PATCH 474/601] Small fixes (#375) * [IssueAllowedStatus] Implement Read Xml/Json * [TrackerCoreFiled] Set correct root * [Wiki] Fix get parent attribute value * [Xml] Set totalItems if total_count missing --- .../Serialization/Xml/XmlRedmineSerializer.cs | 7 ++- .../Types/IssueAllowedStatus.cs | 40 ++++++++++++ src/redmine-net-api/Types/TrackerCoreField.cs | 4 +- src/redmine-net-api/Types/WikiPage.cs | 61 ++++++++++++++++--- 4 files changed, 100 insertions(+), 12 deletions(-) diff --git a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs index 179eaec0..74c26aea 100644 --- a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs @@ -27,7 +27,7 @@ namespace Redmine.Net.Api.Serialization internal sealed class XmlRedmineSerializer : IRedmineSerializer { - public XmlRedmineSerializer(): this(new XmlWriterSettings + public XmlRedmineSerializer() : this(new XmlWriterSettings { OmitXmlDeclaration = true }) { } @@ -126,6 +126,11 @@ public string Serialize(T entity) where T : class var limit = xmlReader.ReadAttributeAsInt(RedmineKeys.LIMIT); var result = xmlReader.ReadElementContentAsCollection(); + if (totalItems == 0 && result.Count > 0) + { + totalItems = result.Count; + } + return new PagedResults(result, totalItems, offset, limit); } } diff --git a/src/redmine-net-api/Types/IssueAllowedStatus.cs b/src/redmine-net-api/Types/IssueAllowedStatus.cs index 2df5b42a..35a1478c 100644 --- a/src/redmine-net-api/Types/IssueAllowedStatus.cs +++ b/src/redmine-net-api/Types/IssueAllowedStatus.cs @@ -15,7 +15,10 @@ limitations under the License. */ using System.Diagnostics; +using System.Xml; using System.Xml.Serialization; +using Newtonsoft.Json; +using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Types { @@ -26,6 +29,43 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.STATUS)] public sealed class IssueAllowedStatus : IdentifiableName { + /// + /// + /// + public bool? IsClosed { get; internal set; } + + /// + public override void ReadXml(XmlReader reader) + { + Id = reader.ReadAttributeAsInt(RedmineKeys.ID); + Name = reader.GetAttribute(RedmineKeys.NAME); + IsClosed = reader.ReadAttributeAsBoolean(RedmineKeys.IS_CLOSED); + reader.Read(); + } + + /// + public override void ReadJson(JsonReader reader) + { + while (reader.Read()) + { + if (reader.TokenType == JsonToken.EndObject) + { + return; + } + + if (reader.TokenType == JsonToken.PropertyName) + { + switch (reader.Value) + { + case RedmineKeys.ID: Id = reader.ReadAsInt(); break; + case RedmineKeys.NAME: Name = reader.ReadAsString(); break; + case RedmineKeys.IS_CLOSED: IsClosed = reader.ReadAsBoolean(); break; + default: reader.Read(); break; + } + } + } + } + private string DebuggerDisplay => $"[{nameof(IssueAllowedStatus)}: {ToString()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/TrackerCoreField.cs b/src/redmine-net-api/Types/TrackerCoreField.cs index 1777883f..5f8edf54 100644 --- a/src/redmine-net-api/Types/TrackerCoreField.cs +++ b/src/redmine-net-api/Types/TrackerCoreField.cs @@ -13,7 +13,7 @@ namespace Redmine.Net.Api.Types /// /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] - [XmlRoot(RedmineKeys.TRACKER)] + [XmlRoot(RedmineKeys.FIELD)] public sealed class TrackerCoreField: IXmlSerializable, IJsonSerializable, IEquatable { /// @@ -40,7 +40,6 @@ public XmlSchema GetSchema() /// /// /// - /// public void ReadXml(XmlReader reader) { reader.Read(); @@ -66,7 +65,6 @@ public void WriteJson(JsonWriter writer) { } /// /// /// - /// public void ReadJson(JsonReader reader) { while (reader.Read()) diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index bba1fcf7..e5acd51b 100644 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -123,7 +123,16 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.TITLE: Title = reader.ReadElementContentAsString(); break; case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadElementContentAsNullableDateTime(); break; case RedmineKeys.VERSION: Version = reader.ReadElementContentAsInt(); break; - case RedmineKeys.PARENT: ParentTitle = reader.GetAttribute(RedmineKeys.PARENT); break; + case RedmineKeys.PARENT: + { + if (reader.HasAttributes) + { + ParentTitle = reader.GetAttribute(RedmineKeys.TITLE); + reader.Read(); + } + + break; + } default: reader.Read(); break; } } @@ -206,14 +215,28 @@ public override bool Equals(WikiPage other) { if (other == null) return false; - return Id == other.Id - && Title == other.Title - && Text == other.Text - && Comments == other.Comments + return base.Equals(other) + && string.Equals(Title, other.Title, StringComparison.Ordinal) + && string.Equals(Text, other.Text, StringComparison.Ordinal) + && string.Equals(Comments, other.Comments, StringComparison.Ordinal) && Version == other.Version - && Author == other.Author - && CreatedOn == other.CreatedOn - && UpdatedOn == other.UpdatedOn; + && Equals(Author, other.Author) + && CreatedOn.Equals(other.CreatedOn) + && UpdatedOn.Equals(other.UpdatedOn) + && Equals(Attachments, other.Attachments); + } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as WikiPage); } /// @@ -236,6 +259,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(WikiPage left, WikiPage right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(WikiPage left, WikiPage right) + { + return !Equals(left, right); + } #endregion /// From 582cfa5630aa438549426bf71cc61e2170b078fa Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 30 Mar 2025 20:36:53 +0300 Subject: [PATCH 475/601] [Types] Enhance equality comparison (#376) --- .../Internals/HashCodeHelper.cs | 4 +- src/redmine-net-api/Types/Attachment.cs | 63 +++++++++++---- src/redmine-net-api/Types/ChangeSet.cs | 26 +++++- src/redmine-net-api/Types/CustomField.cs | 79 +++++++++++------- .../Types/CustomFieldPossibleValue.cs | 28 ++++++- src/redmine-net-api/Types/CustomFieldValue.cs | 31 ++++++- src/redmine-net-api/Types/Detail.cs | 31 ++++++- src/redmine-net-api/Types/DocumentCategory.cs | 35 ++++++-- src/redmine-net-api/Types/Error.cs | 26 +++++- src/redmine-net-api/Types/File.cs | 65 +++++++++++---- src/redmine-net-api/Types/Group.cs | 35 ++++++-- src/redmine-net-api/Types/Identifiable.cs | 8 +- src/redmine-net-api/Types/IdentifiableName.cs | 37 ++++++++- src/redmine-net-api/Types/Issue.cs | 58 +++++++++++--- .../Types/IssueAllowedStatus.cs | 63 +++++++++++++++ src/redmine-net-api/Types/IssueCategory.cs | 40 +++++++++- src/redmine-net-api/Types/IssueChild.cs | 60 +++++++++++--- src/redmine-net-api/Types/IssueCustomField.cs | 59 ++++++++++---- src/redmine-net-api/Types/IssuePriority.cs | 34 ++++++-- src/redmine-net-api/Types/IssueRelation.cs | 43 +++++++++- .../Types/IssueRelationType.cs | 80 +------------------ src/redmine-net-api/Types/IssueStatus.cs | 28 ++++++- src/redmine-net-api/Types/Journal.cs | 59 +++++++++++--- src/redmine-net-api/Types/Membership.cs | 40 +++++++++- src/redmine-net-api/Types/MembershipRole.cs | 31 +++++-- src/redmine-net-api/Types/MyAccount.cs | 38 ++++++++- .../Types/MyAccountCustomField.cs | 48 +++++++++-- src/redmine-net-api/Types/News.cs | 59 +++++++++++--- src/redmine-net-api/Types/NewsComment.cs | 35 ++++++++ src/redmine-net-api/Types/Permission.cs | 26 +++++- src/redmine-net-api/Types/Project.cs | 80 ++++++++++++------- .../Types/ProjectMembership.cs | 43 +++++++++- src/redmine-net-api/Types/Query.cs | 49 +++++++++--- src/redmine-net-api/Types/Role.cs | 28 ++++++- src/redmine-net-api/Types/Search.cs | 44 ++++++++-- src/redmine-net-api/Types/TimeEntry.cs | 41 +++++++++- .../Types/TimeEntryActivity.cs | 25 +++++- src/redmine-net-api/Types/Tracker.cs | 32 ++++++-- src/redmine-net-api/Types/TrackerCoreField.cs | 24 +++++- src/redmine-net-api/Types/Upload.cs | 26 +++++- src/redmine-net-api/Types/User.cs | 46 +++++++++-- src/redmine-net-api/Types/Version.cs | 41 +++++++++- src/redmine-net-api/Types/Watcher.cs | 5 +- 43 files changed, 1412 insertions(+), 341 deletions(-) diff --git a/src/redmine-net-api/Internals/HashCodeHelper.cs b/src/redmine-net-api/Internals/HashCodeHelper.cs index ba8595c4..f2610116 100755 --- a/src/redmine-net-api/Internals/HashCodeHelper.cs +++ b/src/redmine-net-api/Internals/HashCodeHelper.cs @@ -43,11 +43,11 @@ public static int GetHashCode(IList list, int hash) where T : class return hashCode; } - hashCode = (hashCode * 13) + list.Count; + hashCode = (hashCode * 17) + list.Count; foreach (var t in list) { - hashCode *= 13; + hashCode *= 17; if (t != null) { hashCode += t.GetHashCode(); diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index b6e188a6..f831d647 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -31,7 +31,8 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ATTACHMENT)] - public sealed class Attachment : Identifiable + public sealed class Attachment : + Identifiable { #region Properties /// @@ -186,15 +187,28 @@ public override void WriteJson(JsonWriter writer) public override bool Equals(Attachment other) { if (other == null) return false; - return Id == other.Id - && FileName == other.FileName - && FileSize == other.FileSize - && ContentType == other.ContentType - && Author == other.Author - && ThumbnailUrl == other.ThumbnailUrl - && CreatedOn == other.CreatedOn - && Description == other.Description - && ContentUrl == other.ContentUrl; + return base.Equals(other) + && string.Equals(FileName, other.FileName, StringComparison.OrdinalIgnoreCase) + && string.Equals(ContentType, other.ContentType, StringComparison.OrdinalIgnoreCase) + && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) + && string.Equals(ContentUrl, other.ContentUrl, StringComparison.OrdinalIgnoreCase) + && string.Equals(ThumbnailUrl, other.ThumbnailUrl, StringComparison.OrdinalIgnoreCase) + && Equals(Author, other.Author) + && FileSize == other.FileSize + && CreatedOn == other.CreatedOn; + } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as Attachment); } /// @@ -209,15 +223,36 @@ public override int GetHashCode() hashCode = HashCodeHelper.GetHashCode(FileName, hashCode); hashCode = HashCodeHelper.GetHashCode(FileSize, hashCode); hashCode = HashCodeHelper.GetHashCode(ContentType, hashCode); - hashCode = HashCodeHelper.GetHashCode(Author, hashCode); - hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); hashCode = HashCodeHelper.GetHashCode(Description, hashCode); hashCode = HashCodeHelper.GetHashCode(ContentUrl, hashCode); hashCode = HashCodeHelper.GetHashCode(ThumbnailUrl, hashCode); - + hashCode = HashCodeHelper.GetHashCode(Author, hashCode); + hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(Attachment left, Attachment right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(Attachment left, Attachment right) + { + return !Equals(left, right); + } #endregion private string DebuggerDisplay => diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs index 5a362d68..bf07bc83 100644 --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -178,7 +178,7 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; + var hashCode = 17; hashCode = HashCodeHelper.GetHashCode(Revision, hashCode); hashCode = HashCodeHelper.GetHashCode(User, hashCode); hashCode = HashCodeHelper.GetHashCode(Comments, hashCode); @@ -186,6 +186,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(ChangeSet left, ChangeSet right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(ChangeSet left, ChangeSet right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index ad80e656..486e492f 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -207,23 +207,22 @@ public bool Equals(CustomField other) { if (other == null) return false; - return Id == other.Id - && IsFilter == other.IsFilter - && IsRequired == other.IsRequired - && Multiple == other.Multiple - && Searchable == other.Searchable - && Visible == other.Visible - && string.Equals(CustomizedType,other.CustomizedType, StringComparison.OrdinalIgnoreCase) - && string.Equals(Description,other.Description, StringComparison.OrdinalIgnoreCase) - && string.Equals(DefaultValue,other.DefaultValue, StringComparison.OrdinalIgnoreCase) - && string.Equals(FieldFormat,other.FieldFormat, StringComparison.OrdinalIgnoreCase) - && MaxLength == other.MaxLength - && MinLength == other.MinLength - && string.Equals(Name,other.Name, StringComparison.OrdinalIgnoreCase) - && string.Equals(Regexp,other.Regexp, StringComparison.OrdinalIgnoreCase) - && PossibleValues.Equals(other.PossibleValues) - && Roles.Equals(other.Roles) - && Trackers.Equals(other.Trackers); + return base.Equals(other) + && string.Equals(CustomizedType, other.CustomizedType, StringComparison.OrdinalIgnoreCase) + && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) + && string.Equals(FieldFormat, other.FieldFormat, StringComparison.OrdinalIgnoreCase) + && string.Equals(Regexp, other.Regexp, StringComparison.OrdinalIgnoreCase) + && string.Equals(DefaultValue, other.DefaultValue, StringComparison.Ordinal) + && MinLength == other.MinLength + && MaxLength == other.MaxLength + && IsRequired == other.IsRequired + && IsFilter == other.IsFilter + && Searchable == other.Searchable + && Multiple == other.Multiple + && Visible == other.Visible + && Equals(PossibleValues, other.PossibleValues) + && Equals(Trackers, other.Trackers) + && Equals(Roles, other.Roles); } /// @@ -247,27 +246,47 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(IsFilter, hashCode); - hashCode = HashCodeHelper.GetHashCode(IsRequired, hashCode); - hashCode = HashCodeHelper.GetHashCode(Description, hashCode); - hashCode = HashCodeHelper.GetHashCode(Multiple, hashCode); - hashCode = HashCodeHelper.GetHashCode(Searchable, hashCode); - hashCode = HashCodeHelper.GetHashCode(Visible, hashCode); + var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(CustomizedType, hashCode); - hashCode = HashCodeHelper.GetHashCode(DefaultValue, hashCode); + hashCode = HashCodeHelper.GetHashCode(Description, hashCode); hashCode = HashCodeHelper.GetHashCode(FieldFormat, hashCode); - hashCode = HashCodeHelper.GetHashCode(MaxLength, hashCode); - hashCode = HashCodeHelper.GetHashCode(MinLength, hashCode); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); hashCode = HashCodeHelper.GetHashCode(Regexp, hashCode); + hashCode = HashCodeHelper.GetHashCode(MinLength, hashCode); + hashCode = HashCodeHelper.GetHashCode(MaxLength, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsRequired, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsFilter, hashCode); + hashCode = HashCodeHelper.GetHashCode(Searchable, hashCode); + hashCode = HashCodeHelper.GetHashCode(Multiple, hashCode); + hashCode = HashCodeHelper.GetHashCode(DefaultValue, hashCode); + hashCode = HashCodeHelper.GetHashCode(Visible, hashCode); hashCode = HashCodeHelper.GetHashCode(PossibleValues, hashCode); - hashCode = HashCodeHelper.GetHashCode(Roles, hashCode); hashCode = HashCodeHelper.GetHashCode(Trackers, hashCode); + hashCode = HashCodeHelper.GetHashCode(Roles, hashCode); return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(CustomField left, CustomField right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(CustomField left, CustomField right) + { + return !Equals(left, right); + } #endregion private string DebuggerDisplay => diff --git a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs index 0934e711..8c39c325 100644 --- a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs @@ -139,7 +139,8 @@ public void WriteJson(JsonWriter writer) { } public bool Equals(CustomFieldPossibleValue other) { if (other == null) return false; - return Value == other.Value; + return string.Equals(Value, other.Value, StringComparison.Ordinal) + && string.Equals(Label, other.Label, StringComparison.Ordinal); } /// @@ -163,11 +164,34 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; + var hashCode = 17; hashCode = HashCodeHelper.GetHashCode(Value, hashCode); + hashCode = HashCodeHelper.GetHashCode(Label, hashCode); return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(CustomFieldPossibleValue left, CustomFieldPossibleValue right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(CustomFieldPossibleValue left, CustomFieldPossibleValue right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index a345acdf..5cc91ae5 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -30,7 +30,10 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.VALUE)] - public class CustomFieldValue : IXmlSerializable, IJsonSerializable, IEquatable, ICloneable + public class CustomFieldValue : + IXmlSerializable + ,IJsonSerializable + ,IEquatable { /// /// @@ -166,12 +169,34 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; + var hashCode = 17; hashCode = HashCodeHelper.GetHashCode(Info, hashCode); return hashCode; } } + /// + /// + /// + /// + /// + /// + public static bool operator ==(CustomFieldValue left, CustomFieldValue right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(CustomFieldValue left, CustomFieldValue right) + { + return !Equals(left, right); + } + #endregion #region Implementation of IClonable diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs index 9d74336a..35e3fcc4 100644 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -30,7 +30,10 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.DETAIL)] - public sealed class Detail : IXmlSerializable, IJsonSerializable, IEquatable + public sealed class Detail : + IXmlSerializable + ,IJsonSerializable + ,IEquatable { /// /// @@ -200,7 +203,7 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; + var hashCode = 17; hashCode = HashCodeHelper.GetHashCode(Property, hashCode); hashCode = HashCodeHelper.GetHashCode(Name, hashCode); hashCode = HashCodeHelper.GetHashCode(OldValue, hashCode); @@ -209,6 +212,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(Detail left, Detail right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(Detail left, Detail right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/DocumentCategory.cs b/src/redmine-net-api/Types/DocumentCategory.cs index 490bfa13..1028a41d 100644 --- a/src/redmine-net-api/Types/DocumentCategory.cs +++ b/src/redmine-net-api/Types/DocumentCategory.cs @@ -121,7 +121,7 @@ public override void ReadJson(JsonReader reader) } #endregion - #region Implementation of IEquatable + #region Implementation of IEquatable /// /// @@ -132,7 +132,10 @@ public bool Equals(DocumentCategory other) { if (other == null) return false; - return Id == other.Id && Name == other.Name && IsDefault == other.IsDefault && IsActive == other.IsActive; + return Id == other.Id + && Name == other.Name + && IsDefault == other.IsDefault + && IsActive == other.IsActive; } /// @@ -156,22 +159,42 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(IsDefault, hashCode); hashCode = HashCodeHelper.GetHashCode(IsActive, hashCode); return hashCode; } } + /// + /// + /// + /// + /// + /// + public static bool operator ==(DocumentCategory left, DocumentCategory right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(DocumentCategory left, DocumentCategory right) + { + return !Equals(left, right); + } + #endregion /// /// /// /// - private string DebuggerDisplay => $"[{nameof(TimeEntryActivity)}:{ToString()}, IsDefault={IsDefault.ToString(CultureInfo.InvariantCulture)}, IsActive={IsActive.ToString(CultureInfo.InvariantCulture)}]"; + private string DebuggerDisplay => $"[{nameof(DocumentCategory)}, IsDefault={IsDefault.ToString(CultureInfo.InvariantCulture)}, IsActive={IsActive.ToString(CultureInfo.InvariantCulture)}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs index 96621f51..96cd20bd 100644 --- a/src/redmine-net-api/Types/Error.cs +++ b/src/redmine-net-api/Types/Error.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -143,11 +143,33 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; + var hashCode = 17; hashCode = HashCodeHelper.GetHashCode(Info, hashCode); return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(Error left, Error right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(Error left, Error right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index 2afc20e1..4630f5f8 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -209,20 +209,33 @@ public override void WriteJson(JsonWriter writer) public override bool Equals(File other) { if (other == null) return false; - return Id == other.Id - && Filename == other.Filename - && FileSize == other.FileSize - && Description == other.Description - && ContentType == other.ContentType - && ContentUrl == other.ContentUrl - && Author == other.Author - && CreatedOn == other.CreatedOn - && Version == other.Version - && Digest == other.Digest - && Downloads == other.Downloads - && Token == other.Token; + return base.Equals(other) + && string.Equals(Filename, other.Filename, StringComparison.OrdinalIgnoreCase) + && string.Equals(ContentType, other.ContentType, StringComparison.OrdinalIgnoreCase) + && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) + && string.Equals(ContentUrl, other.ContentUrl, StringComparison.OrdinalIgnoreCase) + && string.Equals(Digest, other.Digest, StringComparison.OrdinalIgnoreCase) + && Equals(Author, other.Author) + && FileSize == other.FileSize + && CreatedOn == other.CreatedOn + && Version == other.Version + && Downloads == other.Downloads; + } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as File); } + /// /// /// @@ -230,22 +243,40 @@ public override bool Equals(File other) public override int GetHashCode() { var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Filename, hashCode); hashCode = HashCodeHelper.GetHashCode(FileSize, hashCode); hashCode = HashCodeHelper.GetHashCode(ContentType, hashCode); hashCode = HashCodeHelper.GetHashCode(Description, hashCode); - hashCode = HashCodeHelper.GetHashCode(Author, hashCode); hashCode = HashCodeHelper.GetHashCode(ContentUrl, hashCode); - hashCode = HashCodeHelper.GetHashCode(Author, hashCode); hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); hashCode = HashCodeHelper.GetHashCode(Version, hashCode); hashCode = HashCodeHelper.GetHashCode(Digest, hashCode); hashCode = HashCodeHelper.GetHashCode(Downloads, hashCode); - return hashCode; } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(File left, File right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(File left, File right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 9db8382a..45001031 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -164,11 +164,10 @@ public override void WriteJson(JsonWriter writer) public bool Equals(Group other) { if (other == null) return false; - return Id == other.Id - && Name == other.Name - && (Users != null ? Users.Equals(other.Users) : other.Users == null) - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) - && (Memberships != null ? Memberships.Equals(other.Memberships) : other.Memberships == null); + return base.Equals(other) + && Equals(Users, other.Users) + && Equals(CustomFields, other.CustomFields) + && Equals(Memberships, other.Memberships); } /// @@ -192,15 +191,35 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(Users, hashCode); hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); hashCode = HashCodeHelper.GetHashCode(Memberships, hashCode); return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(Group left, Group right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(Group left, Group right) + { + return !Equals(left, right); + } #endregion diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs index 799355b8..24124e0c 100644 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,6 +23,7 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using NotImplementedException = System.NotImplementedException; namespace Redmine.Net.Api.Types { @@ -31,7 +32,8 @@ namespace Redmine.Net.Api.Types /// /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] - public abstract class Identifiable : IXmlSerializable, IJsonSerializable, IEquatable, IEquatable> where T : Identifiable + public abstract class Identifiable : IXmlSerializable, IJsonSerializable, IEquatable + where T : Identifiable { #region Properties /// @@ -121,7 +123,7 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; + var hashCode = 17; hashCode = HashCodeHelper.GetHashCode(Id, hashCode); return hashCode; } diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index 277e6929..d9deafde 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -169,6 +169,19 @@ public override bool Equals(IdentifiableName other) return Id == other.Id && string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase); } + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as IdentifiableName); + } + /// /// /// @@ -182,6 +195,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(IdentifiableName left, IdentifiableName right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(IdentifiableName left, IdentifiableName right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 7864a2c5..8559b3ce 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -38,7 +38,8 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ISSUE)] - public sealed class Issue : Identifiable, ICloneable + public sealed class Issue : + Identifiable { #region Properties /// @@ -488,21 +489,34 @@ public override bool Equals(Issue other) && DueDate == other.DueDate && DoneRatio == other.DoneRatio && EstimatedHours == other.EstimatedHours - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) + && SpentHours == other.SpentHours && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn && AssignedTo == other.AssignedTo && FixedVersion == other.FixedVersion && Notes == other.Notes - && (Watchers != null ? Watchers.Equals(other.Watchers) : other.Watchers == null) && ClosedOn == other.ClosedOn - && SpentHours == other.SpentHours && PrivateNotes == other.PrivateNotes - && (Attachments != null ? Attachments.Equals(other.Attachments) : other.Attachments == null) - && (ChangeSets != null ? ChangeSets.Equals(other.ChangeSets) : other.ChangeSets == null) - && (Children != null ? Children.Equals(other.Children) : other.Children == null) - && (Journals != null ? Journals.Equals(other.Journals) : other.Journals == null) - && (Relations != null ? Relations.Equals(other.Relations) : other.Relations == null); + && Attachments.Equals(other.Attachments) + && CustomFields.Equals(other.CustomFields) + && ChangeSets.Equals(other.ChangeSets) + && Children.Equals(other.Children) + && Journals.Equals(other.Journals) + && Relations.Equals(other.Relations) + && Watchers.Equals(other.Watchers); + } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as Issue); } /// @@ -550,6 +564,28 @@ public override int GetHashCode() return hashCode; } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(Issue left, Issue right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(Issue left, Issue right) + { + return !Equals(left, right); + } #endregion #region Implementation of IClonable @@ -564,7 +600,7 @@ public object Clone() AssignedTo = AssignedTo, Author = Author, Category = Category, - CustomFields = CustomFields.Clone(), + CustomFields = CustomFields, Description = Description, DoneRatio = DoneRatio, DueDate = DueDate, @@ -578,7 +614,7 @@ public object Clone() Project = Project, FixedVersion = FixedVersion, Notes = Notes, - Watchers = Watchers.Clone() + Watchers = Watchers }; return issue; } diff --git a/src/redmine-net-api/Types/IssueAllowedStatus.cs b/src/redmine-net-api/Types/IssueAllowedStatus.cs index 35a1478c..88013681 100644 --- a/src/redmine-net-api/Types/IssueAllowedStatus.cs +++ b/src/redmine-net-api/Types/IssueAllowedStatus.cs @@ -19,6 +19,7 @@ limitations under the License. using System.Xml.Serialization; using Newtonsoft.Json; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Internals; namespace Redmine.Net.Api.Types { @@ -66,6 +67,68 @@ public override void ReadJson(JsonReader reader) } } + /// + /// + /// + /// + /// + public bool Equals(IssueAllowedStatus other) + { + if (other == null) return false; + return Id == other.Id + && Name == other.Name + && IsClosed == other.IsClosed; + } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as IssueAllowedStatus); + } + + /// + /// + /// + /// + public override int GetHashCode() + { + unchecked + { + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(IsClosed, hashCode); + return hashCode; + } + } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(IssueAllowedStatus left, IssueAllowedStatus right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(IssueAllowedStatus left, IssueAllowedStatus right) + { + return !Equals(left, right); + } + private string DebuggerDisplay => $"[{nameof(IssueAllowedStatus)}: {ToString()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs index c7fb203e..abde781e 100644 --- a/src/redmine-net-api/Types/IssueCategory.cs +++ b/src/redmine-net-api/Types/IssueCategory.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -153,6 +153,19 @@ public override bool Equals(IssueCategory other) return Id == other.Id && Project == other.Project && AssignTo == other.AssignTo && Name == other.Name; } + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as IssueCategory); + } + /// /// /// @@ -161,14 +174,35 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(Project, hashCode); hashCode = HashCodeHelper.GetHashCode(AssignTo, hashCode); hashCode = HashCodeHelper.GetHashCode(Name, hashCode); return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(IssueCategory left, IssueCategory right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(IssueCategory left, IssueCategory right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs index f0821625..317aa80f 100644 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -30,7 +30,7 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ISSUE)] - public sealed class IssueChild : Identifiable, ICloneable + public sealed class IssueChild : Identifiable { #region Properties /// @@ -113,9 +113,23 @@ public override void ReadJson(JsonReader reader) public override bool Equals(IssueChild other) { if (other == null) return false; - return Id == other.Id && Tracker == other.Tracker && Subject == other.Subject; + return base.Equals(other) + && Tracker == other.Tracker && Subject == other.Subject; } + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as IssueChild); + } + /// /// /// @@ -124,26 +138,51 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(Tracker, hashCode); hashCode = HashCodeHelper.GetHashCode(Subject, hashCode); return hashCode; } } - #endregion + + /// + /// + /// + /// + /// + /// + public static bool operator ==(IssueChild left, IssueChild right) + { + return Equals(left, right); + } - #region Implementation of IClonable + /// + /// + /// + /// + /// + /// + public static bool operator !=(IssueChild left, IssueChild right) + { + return !Equals(left, right); + } + #endregion + #region Implementation of IClonable /// /// /// /// - public object Clone() + public new IssueChild Clone() { - var issueChild = new IssueChild { Subject = Subject, Tracker = Tracker }; - return issueChild; + return new IssueChild + { + Id = Id, + Tracker = Tracker, + Subject = Subject + }; } + #endregion /// @@ -151,6 +190,5 @@ public object Clone() /// /// private string DebuggerDisplay => $"[{nameof(IssueChild)}: {ToString()}, Tracker={Tracker}, Subject={Subject}]"; - } } diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 65ad1049..5c570862 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -31,7 +31,9 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.CUSTOM_FIELD)] - public sealed class IssueCustomField : IdentifiableName, IEquatable, ICloneable, IValue + public sealed class IssueCustomField : + IdentifiableName + ,IEquatable { #region Properties /// @@ -214,9 +216,22 @@ public bool Equals(IssueCustomField other) return Id == other.Id && Name == other.Name && Multiple == other.Multiple - && (Values != null ? Values.Equals(other.Values) : other.Values == null); + && Values.Equals(other.Values); } + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as IssueCustomField); + } + /// /// /// @@ -225,14 +240,34 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(Values, hashCode); hashCode = HashCodeHelper.GetHashCode(Multiple, hashCode); return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(IssueCustomField left, IssueCustomField right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(IssueCustomField left, IssueCustomField right) + { + return !Equals(left, right); + } #endregion #region Implementation of IClonable @@ -242,7 +277,7 @@ public override int GetHashCode() /// public object Clone() { - var issueCustomField = new IssueCustomField { Multiple = Multiple, Values = Values.Clone() }; + var issueCustomField = new IssueCustomField { Multiple = Multiple, Values = Values }; return issueCustomField; } #endregion @@ -270,15 +305,5 @@ public static string GetValue(object item) /// /// private string DebuggerDisplay => $"[{nameof(IssueCustomField)}: {ToString()} Values={Values.Dump()}, Multiple={Multiple.ToString(CultureInfo.InvariantCulture)}]"; - - /// - /// - /// - /// - /// - public override bool Equals(object obj) - { - return Equals(obj as IssueCustomField); - } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssuePriority.cs b/src/redmine-net-api/Types/IssuePriority.cs index 081e41c4..305cf04f 100644 --- a/src/redmine-net-api/Types/IssuePriority.cs +++ b/src/redmine-net-api/Types/IssuePriority.cs @@ -30,7 +30,9 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ISSUE_PRIORITY)] - public sealed class IssuePriority : IdentifiableName, IEquatable + public sealed class IssuePriority : + IdentifiableName + ,IEquatable { #region Properties /// @@ -114,7 +116,9 @@ public bool Equals(IssuePriority other) { if (other == null) return false; - return Id == other.Id && Name == other.Name && IsDefault == other.IsDefault && IsActive == other.IsActive; + return Id == other.Id && Name == other.Name + && IsDefault == other.IsDefault + && IsActive == other.IsActive; } /// @@ -138,14 +142,34 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(IsDefault, hashCode); hashCode = HashCodeHelper.GetHashCode(IsActive, hashCode); return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(IssuePriority left, IssuePriority right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(IssuePriority left, IssuePriority right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 7f7e8381..84c9c501 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -32,7 +32,8 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.RELATION)] - public sealed class IssueRelation : Identifiable + public sealed class IssueRelation : + Identifiable { #region Properties /// @@ -219,6 +220,19 @@ public override bool Equals(IssueRelation other) if (other == null) return false; return Id == other.Id && IssueId == other.IssueId && IssueToId == other.IssueToId && Type == other.Type && Delay == other.Delay; } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as IssueRelation); + } /// /// @@ -228,8 +242,7 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(IssueId, hashCode); hashCode = HashCodeHelper.GetHashCode(IssueToId, hashCode); hashCode = HashCodeHelper.GetHashCode(Type, hashCode); @@ -237,6 +250,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(IssueRelation left, IssueRelation right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(IssueRelation left, IssueRelation right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/IssueRelationType.cs b/src/redmine-net-api/Types/IssueRelationType.cs index 35a34519..e2564de4 100644 --- a/src/redmine-net-api/Types/IssueRelationType.cs +++ b/src/redmine-net-api/Types/IssueRelationType.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -14,11 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ -using System; using System.Xml.Serialization; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using System.Runtime.Serialization; namespace Redmine.Net.Api.Types { @@ -81,78 +77,4 @@ public enum IssueRelationType [XmlEnum("copied_from")] CopiedFrom } - - // /// - // public class IssueRelationTypeConverter : JsonConverter - // { - // /// - // public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) - // { - // IssueRelationType messageTransportResponseStatus = (IssueRelationType) value; - // - // switch (messageTransportResponseStatus) - // { - // case IssueRelationType.Undefined: - // break; - // case IssueRelationType.Relates: - // writer.WriteValue("relates"); - // break; - // case IssueRelationType.Duplicates: - // writer.WriteValue("duplicates"); - // break; - // case IssueRelationType.Duplicated: - // writer.WriteValue("duplicated"); - // break; - // case IssueRelationType.Blocks: - // writer.WriteValue("blocks"); - // break; - // case IssueRelationType.Blocked: - // writer.WriteValue("blocked"); - // break; - // case IssueRelationType.Precedes: - // writer.WriteValue("precedes"); - // break; - // case IssueRelationType.Follows: - // writer.WriteValue("follows"); - // break; - // case IssueRelationType.CopiedTo: - // writer.WriteValue("copied_to"); - // break; - // case IssueRelationType.CopiedFrom: - // writer.WriteValue("copied_from"); - // break; - // default: - // throw new ArgumentOutOfRangeException(); - // } - // } - // - // /// - // public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) - // { - // var enumString = (string) reader.Value; - // switch (enumString) - // { - // case "relates": - // case "duplicates": - // case "duplicated": - // case "blocks": - // case "blocked": - // case "precedes": - // case "follows": - // return Enum.Parse(typeof(IssueRelationType), enumString, true); - // case "copied_to": - // return IssueRelationType.CopiedTo; - // case "copied_from": - // return IssueRelationType.CopiedFrom; - // default: - // throw new ArgumentOutOfRangeException(); - // } - // } - // - // /// - // public override bool CanConvert(Type objectType) - // { - // return objectType == typeof(string); - // } - // } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs index 80164ece..9f4657c0 100644 --- a/src/redmine-net-api/Types/IssueStatus.cs +++ b/src/redmine-net-api/Types/IssueStatus.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -140,14 +140,34 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(IsClosed, hashCode); hashCode = HashCodeHelper.GetHashCode(IsDefault, hashCode); return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(IssueStatus left, IssueStatus right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(IssueStatus left, IssueStatus right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index 5ed9b608..6f776b24 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -31,7 +31,8 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.JOURNAL)] - public sealed class Journal : Identifiable + public sealed class Journal : + Identifiable { #region Properties /// @@ -180,13 +181,29 @@ public override void WriteJson(JsonWriter writer) public override bool Equals(Journal other) { if (other == null) return false; - return Id == other.Id - && User == other.User - && Notes == other.Notes - && CreatedOn == other.CreatedOn - && (Details != null ? Details.Equals(other.Details) : other.Details == null); + return base.Equals(other) + && Equals(User, other.User) + && Equals(Details, other.Details) + && string.Equals(Notes, other.Notes, StringComparison.OrdinalIgnoreCase) + && CreatedOn == other.CreatedOn + && UpdatedOn == other.UpdatedOn + && Equals(UpdatedBy, other.UpdatedBy) + && PrivateNotes == other.PrivateNotes; } + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as Journal); + } + /// /// /// @@ -195,15 +212,39 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(User, hashCode); hashCode = HashCodeHelper.GetHashCode(Notes, hashCode); hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); hashCode = HashCodeHelper.GetHashCode(Details, hashCode); + hashCode = HashCodeHelper.GetHashCode(PrivateNotes, hashCode); + hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(UpdatedBy, hashCode); return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(Journal left, Journal right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(Journal left, Journal right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index d74e22c7..4243030e 100644 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -128,6 +128,19 @@ public override bool Equals(Membership other) && Project != null ? Project.Equals(other.Project) : other.Project == null && Roles != null ? Roles.Equals(other.Roles) : other.Roles == null; } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as Membership); + } /// /// @@ -137,8 +150,7 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(Group, hashCode); hashCode = HashCodeHelper.GetHashCode(Project, hashCode); hashCode = HashCodeHelper.GetHashCode(User, hashCode); @@ -146,6 +158,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(Membership left, Membership right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(Membership left, Membership right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs index 25af2590..b1069206 100644 --- a/src/redmine-net-api/Types/MembershipRole.cs +++ b/src/redmine-net-api/Types/MembershipRole.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -114,7 +114,8 @@ public override void WriteJson(JsonWriter writer) public bool Equals(MembershipRole other) { if (other == null) return false; - return Id == other.Id && Name == other.Name && Inherited == other.Inherited; + return base.Equals(other) + && Inherited == other.Inherited; } /// @@ -138,13 +139,33 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(Inherited, hashCode); return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(MembershipRole left, MembershipRole right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(MembershipRole left, MembershipRole right) + { + return !Equals(left, right); + } #endregion #region Implementation of IClonable diff --git a/src/redmine-net-api/Types/MyAccount.cs b/src/redmine-net-api/Types/MyAccount.cs index 3138b036..fc86e19a 100644 --- a/src/redmine-net-api/Types/MyAccount.cs +++ b/src/redmine-net-api/Types/MyAccount.cs @@ -190,10 +190,24 @@ public override bool Equals(MyAccount other) && string.Equals(FirstName, other.FirstName, StringComparison.OrdinalIgnoreCase) && string.Equals(LastName, other.LastName, StringComparison.OrdinalIgnoreCase) && string.Equals(ApiKey, other.ApiKey, StringComparison.OrdinalIgnoreCase) + && Email.Equals(other.Email, StringComparison.OrdinalIgnoreCase) && IsAdmin == other.IsAdmin && CreatedOn == other.CreatedOn && LastLoginOn == other.LastLoginOn - && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null); + && CustomFields.Equals(other.CustomFields); + } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as MyAccount); } /// @@ -214,6 +228,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(MyAccount left, MyAccount right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(MyAccount left, MyAccount right) + { + return !Equals(left, right); + } private string DebuggerDisplay => $@"[ {nameof(MyAccount)}: Id={Id.ToString(CultureInfo.InvariantCulture)}, diff --git a/src/redmine-net-api/Types/MyAccountCustomField.cs b/src/redmine-net-api/Types/MyAccountCustomField.cs index a09a6bbe..f01ab673 100644 --- a/src/redmine-net-api/Types/MyAccountCustomField.cs +++ b/src/redmine-net-api/Types/MyAccountCustomField.cs @@ -108,12 +108,28 @@ public override void WriteJson(JsonWriter writer) { } - /// - public override bool Equals(IdentifiableName other) + /// + /// + /// + /// + /// + public override bool Equals(object obj) { - var result = base.Equals(other); - - return result && string.Equals(Value,((MyAccountCustomField)other)?.Value, StringComparison.OrdinalIgnoreCase); + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as MyAccountCustomField); + } + + /// + /// + /// + /// + /// + public bool Equals(MyAccountCustomField other) + { + return base.Equals(other) + && string.Equals(Value, other.Value, StringComparison.OrdinalIgnoreCase); } /// @@ -126,6 +142,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(MyAccountCustomField left, MyAccountCustomField right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(MyAccountCustomField left, MyAccountCustomField right) + { + return !Equals(left, right); + } /// /// diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index e5fbb3b4..03305ab0 100644 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -202,16 +202,32 @@ public override void WriteJson(JsonWriter writer) /// /// /// - public override bool Equals(News other) + public new bool Equals(News other) { - if (other == null) return false; - return Id == other.Id - && Project == other.Project - && Author == other.Author - && string.Equals(Title,other.Title,StringComparison.OrdinalIgnoreCase) - && string.Equals(Summary, other.Summary, StringComparison.OrdinalIgnoreCase) - && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) - && CreatedOn == other.CreatedOn; + if (ReferenceEquals(null, other)) return false; + if (ReferenceEquals(this, other)) return true; + + return base.Equals(other) + && Equals(Project, other.Project) + && Equals(Author, other.Author) + && string.Equals(Title, other.Title, StringComparison.Ordinal) + && string.Equals(Summary, other.Summary, StringComparison.Ordinal) + && string.Equals(Description, other.Description, StringComparison.Ordinal) + && CreatedOn.Equals(other.CreatedOn) + && Equals(Comments, other.Comments); + } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as News); } /// @@ -229,9 +245,32 @@ public override int GetHashCode() hashCode = HashCodeHelper.GetHashCode(Summary, hashCode); hashCode = HashCodeHelper.GetHashCode(Description, hashCode); hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(Comments, hashCode); return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(News left, News right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(News left, News right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/NewsComment.cs b/src/redmine-net-api/Types/NewsComment.cs index 48496829..92057ba9 100644 --- a/src/redmine-net-api/Types/NewsComment.cs +++ b/src/redmine-net-api/Types/NewsComment.cs @@ -104,6 +104,19 @@ public override bool Equals(NewsComment other) if (other == null) return false; return Id == other.Id && Author == other.Author && Content == other.Content; } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as NewsComment); + } /// public override int GetHashCode() @@ -115,6 +128,28 @@ public override int GetHashCode() return hashCode; } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(NewsComment left, NewsComment right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(NewsComment left, NewsComment right) + { + return !Equals(left, right); + } private string DebuggerDisplay => $@"[{nameof(IssueAllowedStatus)}: {ToString()}, {nameof(NewsComment)}: {ToString()}, diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index fcfcbbf1..d83e887f 100644 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -122,11 +122,33 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; + var hashCode = 17; hashCode = HashCodeHelper.GetHashCode(Info, hashCode); return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(Permission left, Permission right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(Permission left, Permission right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 44dd0c0d..2af4593f 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -307,23 +307,37 @@ public bool Equals(Project other) return false; } - return Id == other.Id - && string.Equals(Identifier, other.Identifier, StringComparison.OrdinalIgnoreCase) - && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) - && (Parent != null ? Parent.Equals(other.Parent) : other.Parent == null) - && string.Equals(HomePage, other.HomePage, StringComparison.OrdinalIgnoreCase) - && CreatedOn == other.CreatedOn - && UpdatedOn == other.UpdatedOn - && Status == other.Status - && IsPublic == other.IsPublic - && InheritMembers == other.InheritMembers - && (Trackers != null ? Trackers.Equals(other.Trackers) : other.Trackers == null) - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) - && (IssueCategories != null ? IssueCategories.Equals(other.IssueCategories) : other.IssueCategories == null) - && (EnabledModules != null ? EnabledModules.Equals(other.EnabledModules) : other.EnabledModules == null) - && (TimeEntryActivities != null ? TimeEntryActivities.Equals(other.TimeEntryActivities) : other.TimeEntryActivities == null) - && (DefaultAssignee != null ? DefaultAssignee.Equals(other.DefaultAssignee) : other.DefaultAssignee == null) - && (DefaultVersion != null ? DefaultVersion.Equals(other.DefaultVersion) : other.DefaultVersion == null); + return base.Equals(other) + && string.Equals(Identifier, other.Identifier, StringComparison.OrdinalIgnoreCase) + && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) + && string.Equals(HomePage, other.HomePage, StringComparison.OrdinalIgnoreCase) + && string.Equals(Identifier, other.Identifier, StringComparison.OrdinalIgnoreCase) + && CreatedOn == other.CreatedOn + && UpdatedOn == other.UpdatedOn + && Status == other.Status + && IsPublic == other.IsPublic + && InheritMembers == other.InheritMembers + && Equals(DefaultAssignee, other.DefaultAssignee) + && Equals(DefaultVersion, other.DefaultVersion) + && Equals(Parent, other.Parent) + && Equals(Trackers, other.Trackers) + && Equals(CustomFields, other.CustomFields) + && Equals(IssueCategories, other.IssueCategories) + && Equals(EnabledModules, other.EnabledModules) + && Equals(TimeEntryActivities, other.TimeEntryActivities); + } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as Project); } /// @@ -355,6 +369,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(Project left, Project right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(Project left, Project right) + { + return !Equals(left, right); + } #endregion /// @@ -379,15 +415,5 @@ public override int GetHashCode() IssueCategories={IssueCategories.Dump()}, EnabledModules={EnabledModules.Dump()}, TimeEntryActivities = {TimeEntryActivities.Dump()}]"; - - /// - /// - /// - /// - /// - public override bool Equals(object obj) - { - return Equals(obj as Project); - } } } diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index 8ed99f79..8a5fd6ce 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -162,12 +162,25 @@ public override bool Equals(ProjectMembership other) { if (other == null) return false; return Id == other.Id - && Project.Equals(other.Project) - && Roles.Equals(other.Roles) - && (User != null ? User.Equals(other.User) : other.User == null) - && (Group != null ? Group.Equals(other.Group) : other.Group == null); + && Equals(Project, other.Project) + && Equals(Roles, other.Roles) + && Equals(User, other.User) + && Equals(Group, other.Group); } + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as ProjectMembership); + } + /// /// /// @@ -184,6 +197,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(ProjectMembership left, ProjectMembership right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(ProjectMembership left, ProjectMembership right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/Query.cs b/src/redmine-net-api/Types/Query.cs index 3c68cf8e..f5ef00c8 100644 --- a/src/redmine-net-api/Types/Query.cs +++ b/src/redmine-net-api/Types/Query.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -116,9 +116,24 @@ public bool Equals(Query other) { if (other == null) return false; - return other.Id == Id && other.Name == Name && other.IsPublic == IsPublic && other.ProjectId == ProjectId; + return base.Equals(other) + && IsPublic == other.IsPublic + && ProjectId == other.ProjectId; } - + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as Query); + } + /// /// /// @@ -127,30 +142,40 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(IsPublic, hashCode); hashCode = HashCodeHelper.GetHashCode(ProjectId, hashCode); return hashCode; } } - #endregion - + /// /// /// + /// + /// /// - private string DebuggerDisplay => $"[{nameof(Query)}: {ToString()}, IsPublic={IsPublic.ToString(CultureInfo.InvariantCulture)}, ProjectId={ProjectId?.ToString(CultureInfo.InvariantCulture)}]"; + public static bool operator ==(Query left, Query right) + { + return Equals(left, right); + } /// /// /// - /// + /// + /// /// - public override bool Equals(object obj) + public static bool operator !=(Query left, Query right) { - return Equals(obj as Query); + return !Equals(left, right); } + #endregion + + /// + /// + /// + /// + private string DebuggerDisplay => $"[{nameof(Query)}: {ToString()}, IsPublic={IsPublic.ToString(CultureInfo.InvariantCulture)}, ProjectId={ProjectId?.ToString(CultureInfo.InvariantCulture)}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index e2b6384a..4998f2a4 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -168,9 +168,7 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(IsAssignable, hashCode); hashCode = HashCodeHelper.GetHashCode(IssuesVisibility, hashCode); hashCode = HashCodeHelper.GetHashCode(TimeEntriesVisibility, hashCode); @@ -179,6 +177,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(Role left, Role right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(Role left, Role right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/Search.cs b/src/redmine-net-api/Types/Search.cs index 9f35e29a..72aa88d7 100644 --- a/src/redmine-net-api/Types/Search.cs +++ b/src/redmine-net-api/Types/Search.cs @@ -123,16 +123,24 @@ public void ReadJson(JsonReader reader) public bool Equals(Search other) { if (other == null) return false; - return Id == other.Id && string.Equals(Title, other.Title, StringComparison.OrdinalIgnoreCase) - && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) - && string.Equals(Url, other.Url, StringComparison.OrdinalIgnoreCase) - && string.Equals(Type, other.Type, StringComparison.OrdinalIgnoreCase) - && DateTime == other.DateTime; + return Id == other.Id + && string.Equals(Title, other.Title, StringComparison.OrdinalIgnoreCase) + && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) + && string.Equals(Url, other.Url, StringComparison.OrdinalIgnoreCase) + && string.Equals(Type, other.Type, StringComparison.OrdinalIgnoreCase) + && DateTime == other.DateTime; } - - /// + + /// + /// + /// + /// + /// public override bool Equals(object obj) { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; return Equals(obj as Search); } @@ -151,6 +159,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(Search left, Search right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(Search left, Search right) + { + return !Equals(left, right); + } private string DebuggerDisplay => $@"[{nameof(Search)}:Id={Id.ToString(CultureInfo.InvariantCulture)},Title={Title},Type={Type},Url={Url},Description={Description}, DateTime={DateTime?.ToString("u", CultureInfo.InvariantCulture)}]"; } diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index 1a088178..a6691bdb 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -33,7 +33,7 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.TIME_ENTRY)] - public sealed class TimeEntry : Identifiable, ICloneable + public sealed class TimeEntry : Identifiable { #region Properties private string comments; @@ -236,9 +236,22 @@ public override bool Equals(TimeEntry other) && User == other.User && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null); + && Equals(CustomFields, other.CustomFields); } + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as TimeEntry); + } + /// /// /// @@ -261,6 +274,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(TimeEntry left, TimeEntry right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(TimeEntry left, TimeEntry right) + { + return !Equals(left, right); + } #endregion #region Implementation of ICloneable diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index 762cc5e8..dbc6afe3 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -156,15 +156,34 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(IsDefault, hashCode); hashCode = HashCodeHelper.GetHashCode(IsActive, hashCode); return hashCode; } } + /// + /// + /// + /// + /// + /// + public static bool operator ==(TimeEntryActivity left, TimeEntryActivity right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(TimeEntryActivity left, TimeEntryActivity right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs index d203e6c2..891ae4d0 100644 --- a/src/redmine-net-api/Types/Tracker.cs +++ b/src/redmine-net-api/Types/Tracker.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -145,12 +145,35 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + int hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(DefaultStatus, hashCode); + hashCode = HashCodeHelper.GetHashCode(Description, hashCode); + hashCode = HashCodeHelper.GetHashCode(EnabledStandardFields, hashCode); return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(Tracker left, Tracker right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(Tracker left, Tracker right) + { + return !Equals(left, right); + } #endregion /// @@ -158,6 +181,5 @@ public override int GetHashCode() /// /// private string DebuggerDisplay => $"[{nameof(Tracker)}: {base.ToString()}]"; - } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/TrackerCoreField.cs b/src/redmine-net-api/Types/TrackerCoreField.cs index 5f8edf54..f5e7f6d2 100644 --- a/src/redmine-net-api/Types/TrackerCoreField.cs +++ b/src/redmine-net-api/Types/TrackerCoreField.cs @@ -118,10 +118,32 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; + var hashCode = 17; hashCode = HashCodeHelper.GetHashCode(Name, hashCode); return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(TrackerCoreField left, TrackerCoreField right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(TrackerCoreField left, TrackerCoreField right) + { + return !Equals(left, right); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index 073690c8..00beb32f 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -196,7 +196,7 @@ public override int GetHashCode() { unchecked { - var hashCode = 13; + var hashCode = 17; hashCode = HashCodeHelper.GetHashCode(Token, hashCode); hashCode = HashCodeHelper.GetHashCode(FileName, hashCode); hashCode = HashCodeHelper.GetHashCode(Description, hashCode); @@ -204,6 +204,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(Upload left, Upload right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(Upload left, Upload right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index 64225abb..7633af2a 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -343,14 +343,26 @@ public override bool Equals(User other) && LastLoginOn == other.LastLoginOn && Status == other.Status && MustChangePassword == other.MustChangePassword - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) - && (Memberships != null ? Memberships.Equals(other.Memberships) : other.Memberships == null) - && (Groups != null ? Groups.Equals(other.Groups) : other.Groups == null) + && Equals(CustomFields, other.CustomFields) + && Equals(Memberships, other.Memberships) + && Equals(Groups, other.Groups) && string.Equals(TwoFactorAuthenticationScheme,other.TwoFactorAuthenticationScheme, StringComparison.OrdinalIgnoreCase) && IsAdmin == other.IsAdmin && PasswordChangedOn == other.PasswordChangedOn - && UpdatedOn == other.UpdatedOn - ; + && UpdatedOn == other.UpdatedOn; + } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as User); } /// @@ -385,6 +397,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(User left, User right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(User left, User right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index d3c52e6e..b03d52bb 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -238,12 +238,25 @@ public override bool Equals(Version other) && Sharing == other.Sharing && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn - && (CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null) + && Equals(CustomFields, other.CustomFields) && string.Equals(WikiPageTitle,other.WikiPageTitle, StringComparison.OrdinalIgnoreCase) && EstimatedHours == other.EstimatedHours - && SpentHours == other.SpentHours - ; + && SpentHours == other.SpentHours; } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as Version); + } + /// /// /// @@ -267,6 +280,28 @@ public override int GetHashCode() return hashCode; } } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(Version left, Version right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(Version left, Version right) + { + return !Equals(left, right); + } #endregion /// diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index 7dbc2b8d..c3949e37 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -26,7 +26,8 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.USER)] - public sealed class Watcher : IdentifiableName, IValue, ICloneable + public sealed class Watcher : Identifiable + ,IValue { #region Implementation of IValue /// @@ -43,7 +44,7 @@ public sealed class Watcher : IdentifiableName, IValue, ICloneable /// public object Clone() { - var watcher = new Watcher { Id = Id, Name = Name }; + var watcher = new Watcher { Id = Id }; return watcher; } #endregion From ba344ae9bc9fb71501d07576248ce763b46f85bb Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 30 Mar 2025 21:12:04 +0300 Subject: [PATCH 476/601] [Clone] Add Clone (#377) --- .../Extensions/CollectionExtensions.cs | 6 ++- src/redmine-net-api/ICloneableOfT.cs | 14 ++++++ src/redmine-net-api/Types/Attachment.cs | 35 +++++++++++++ src/redmine-net-api/Types/ChangeSet.cs | 18 +++++++ src/redmine-net-api/Types/CustomFieldValue.cs | 6 +-- src/redmine-net-api/Types/Detail.cs | 11 +++++ src/redmine-net-api/Types/Identifiable.cs | 9 ++++ src/redmine-net-api/Types/IdentifiableName.cs | 14 ++++++ src/redmine-net-api/Types/Issue.cs | 49 ++++++++++++------- src/redmine-net-api/Types/IssueChild.cs | 5 +- src/redmine-net-api/Types/IssueCustomField.cs | 30 ++++++++++-- src/redmine-net-api/Types/IssueRelation.cs | 26 ++++++++++ src/redmine-net-api/Types/Journal.cs | 28 +++++++++++ src/redmine-net-api/Types/TimeEntry.cs | 3 +- src/redmine-net-api/Types/Upload.cs | 15 ++++++ src/redmine-net-api/Types/Watcher.cs | 17 +++++-- 16 files changed, 252 insertions(+), 34 deletions(-) create mode 100644 src/redmine-net-api/ICloneableOfT.cs diff --git a/src/redmine-net-api/Extensions/CollectionExtensions.cs b/src/redmine-net-api/Extensions/CollectionExtensions.cs index 5a14bfe3..60703635 100755 --- a/src/redmine-net-api/Extensions/CollectionExtensions.cs +++ b/src/redmine-net-api/Extensions/CollectionExtensions.cs @@ -17,6 +17,7 @@ limitations under the License. using System; using System.Collections.Generic; using System.Text; +using Redmine.Net.Api.Types; namespace Redmine.Net.Api.Extensions { @@ -30,8 +31,9 @@ public static class CollectionExtensions /// /// /// The list to clone. + /// /// - public static IList Clone(this IList listToClone) where T : ICloneable + public static IList Clone(this IList listToClone, bool resetId) where T : ICloneable { if (listToClone == null) { @@ -43,7 +45,7 @@ public static IList Clone(this IList listToClone) where T : ICloneable for (var index = 0; index < listToClone.Count; index++) { var item = listToClone[index]; - clonedList.Add((T) item.Clone()); + clonedList.Add(item.Clone(resetId)); } return clonedList; diff --git a/src/redmine-net-api/ICloneableOfT.cs b/src/redmine-net-api/ICloneableOfT.cs new file mode 100644 index 00000000..dd58fde2 --- /dev/null +++ b/src/redmine-net-api/ICloneableOfT.cs @@ -0,0 +1,14 @@ +namespace Redmine.Net.Api; + +/// +/// +/// +/// +public interface ICloneable +{ + /// + /// + /// + /// + internal T Clone(bool resetId); +} \ No newline at end of file diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index f831d647..bc394f77 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -33,6 +33,7 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.ATTACHMENT)] public sealed class Attachment : Identifiable + , ICloneable { #region Properties /// @@ -266,5 +267,39 @@ public override int GetHashCode() Author={Author}, CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}]"; + /// + /// + /// + /// + public new Attachment Clone(bool resetId) + { + if (resetId) + { + return new Attachment + { + FileName = FileName, + FileSize = FileSize, + ContentType = ContentType, + Description = Description, + ContentUrl = ContentUrl, + ThumbnailUrl = ThumbnailUrl, + Author = Author?.Clone(false), + CreatedOn = CreatedOn + }; + } + + return new Attachment + { + Id = Id, + FileName = FileName, + FileSize = FileSize, + ContentType = ContentType, + Description = Description, + ContentUrl = ContentUrl, + ThumbnailUrl = ThumbnailUrl, + Author = Author?.Clone(true), + CreatedOn = CreatedOn + }; + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs index bf07bc83..dae77667 100644 --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -33,6 +33,7 @@ namespace Redmine.Net.Api.Types [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.CHANGE_SET)] public sealed class ChangeSet : IXmlSerializable, IJsonSerializable, IEquatable + ,ICloneable { #region Properties /// @@ -157,6 +158,23 @@ public bool Equals(ChangeSet other) && CommittedOn == other.CommittedOn; } + /// + /// + /// + /// + /// + /// + public ChangeSet Clone(bool resetId) + { + return new ChangeSet() + { + User = User, + Comments = Comments, + Revision = Revision, + CommittedOn = CommittedOn, + }; + } + /// /// /// diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index 5cc91ae5..592bb4f4 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -34,6 +34,7 @@ public class CustomFieldValue : IXmlSerializable ,IJsonSerializable ,IEquatable + ,ICloneable { /// /// @@ -205,10 +206,9 @@ public override int GetHashCode() /// /// /// - public object Clone() + public CustomFieldValue Clone(bool resetId) { - var customFieldValue = new CustomFieldValue {Info = Info}; - return customFieldValue; + return new CustomFieldValue { Info = Info }; } #endregion diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs index 35e3fcc4..a17a0d9a 100644 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -34,6 +34,7 @@ public sealed class Detail : IXmlSerializable ,IJsonSerializable ,IEquatable + ,ICloneable { /// /// @@ -182,6 +183,16 @@ public bool Equals(Detail other) && string.Equals(NewValue, other.NewValue, StringComparison.OrdinalIgnoreCase); } + /// + /// + /// + /// + /// + public Detail Clone(bool resetId) + { + return new Detail(Name, Property, OldValue, NewValue); + } + /// /// /// diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs index 24124e0c..e5123673 100644 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -33,6 +33,7 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] public abstract class Identifiable : IXmlSerializable, IJsonSerializable, IEquatable + , ICloneable> where T : Identifiable { #region Properties @@ -158,5 +159,13 @@ public override int GetHashCode() /// private string DebuggerDisplay => $"Id={Id.ToString(CultureInfo.InvariantCulture)}"; + /// + /// + /// + /// + public virtual Identifiable Clone(bool resetId) + { + throw new NotImplementedException(); + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index d9deafde..b4717d4e 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -29,6 +29,7 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] public class IdentifiableName : Identifiable + , ICloneable { /// /// @@ -224,5 +225,18 @@ public override int GetHashCode() /// /// private string DebuggerDisplay => $"[{nameof(IdentifiableName)}: {base.ToString()}, Name={Name}]"; + + /// + /// + /// + /// + public new IdentifiableName Clone(bool resetId) + { + return new IdentifiableName + { + Id = Id, + Name = Name + }; + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 8559b3ce..9e97f373 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -40,6 +40,7 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.ISSUE)] public sealed class Issue : Identifiable + ,ICloneable { #region Properties /// @@ -588,36 +589,51 @@ public override int GetHashCode() } #endregion - #region Implementation of IClonable + #region Implementation of IClonable /// /// /// /// - public object Clone() + public new Issue Clone(bool resetId) { var issue = new Issue { - AssignedTo = AssignedTo, - Author = Author, - Category = Category, - CustomFields = CustomFields, + Project = Project?.Clone(false), + Tracker = Tracker?.Clone(false), + Status = Status?.Clone(false), + Priority = Priority?.Clone(false), + Author = Author?.Clone(false), + Category = Category?.Clone(false), + Subject = Subject, Description = Description, - DoneRatio = DoneRatio, + StartDate = StartDate, DueDate = DueDate, - SpentHours = SpentHours, + DoneRatio = DoneRatio, + IsPrivate = IsPrivate, EstimatedHours = EstimatedHours, - Priority = Priority, - StartDate = StartDate, - Status = Status, - Subject = Subject, - Tracker = Tracker, - Project = Project, - FixedVersion = FixedVersion, + TotalEstimatedHours = TotalEstimatedHours, + SpentHours = SpentHours, + TotalSpentHours = TotalSpentHours, + AssignedTo = AssignedTo?.Clone(false), + FixedVersion = FixedVersion?.Clone(false), Notes = Notes, - Watchers = Watchers + PrivateNotes = PrivateNotes, + CreatedOn = CreatedOn, + UpdatedOn = UpdatedOn, + ClosedOn = ClosedOn, + ParentIssue = ParentIssue?.Clone(false), + CustomFields = CustomFields?.Clone(false), + Journals = Journals?.Clone(false), + Attachments = Attachments?.Clone(false), + Relations = Relations?.Clone(false), + Children = Children?.Clone(false), + Watchers = Watchers?.Clone(false), + Uploads = Uploads?.Clone(false), }; + return issue; } + #endregion /// @@ -659,6 +675,5 @@ public IdentifiableName AsParent() Children={Children.Dump()}, Uploads={Uploads.Dump()}, Watchers={Watchers.Dump()}]"; - } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs index 317aa80f..f92e3fd4 100644 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -31,6 +31,7 @@ namespace Redmine.Net.Api.Types [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ISSUE)] public sealed class IssueChild : Identifiable + ,ICloneable { #region Properties /// @@ -173,12 +174,12 @@ public override int GetHashCode() /// /// /// - public new IssueChild Clone() + public new IssueChild Clone(bool resetId) { return new IssueChild { Id = Id, - Tracker = Tracker, + Tracker = Tracker?.Clone(false), Subject = Subject }; } diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 5c570862..31d012cc 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -34,6 +34,7 @@ namespace Redmine.Net.Api.Types public sealed class IssueCustomField : IdentifiableName ,IEquatable + ,ICloneable, IValue { #region Properties /// @@ -270,16 +271,37 @@ public override int GetHashCode() } #endregion - #region Implementation of IClonable + #region Implementation of IClonable /// /// /// /// - public object Clone() + public new IssueCustomField Clone(bool resetId) { - var issueCustomField = new IssueCustomField { Multiple = Multiple, Values = Values }; - return issueCustomField; + IssueCustomField clone; + if (resetId) + { + clone = new IssueCustomField(); + } + else + { + clone = new IssueCustomField + { + Id = Id, + }; + } + + clone.Name = Name; + clone.Multiple = Multiple; + + if (Values != null) + { + clone.Values = new List(Values); + } + + return clone; } + #endregion #region Implementation of IValue diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 84c9c501..16571f7e 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -34,6 +34,7 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.RELATION)] public sealed class IssueRelation : Identifiable + ,ICloneable { #region Properties /// @@ -284,5 +285,30 @@ public override int GetHashCode() Type={Type:G}, Delay={Delay?.ToString(CultureInfo.InvariantCulture)}]"; + /// + /// + /// + /// + public new IssueRelation Clone(bool resetId) + { + if (resetId) + { + return new IssueRelation + { + IssueId = IssueId, + IssueToId = IssueToId, + Type = Type, + Delay = Delay + }; + } + return new IssueRelation + { + Id = Id, + IssueId = IssueId, + IssueToId = IssueToId, + Type = Type, + Delay = Delay + }; + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index 6f776b24..325eedbd 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -33,6 +33,7 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.JOURNAL)] public sealed class Journal : Identifiable + ,ICloneable { #region Properties /// @@ -253,5 +254,32 @@ public override int GetHashCode() /// private string DebuggerDisplay => $"[{nameof(Journal)}: {ToString()}, User={User}, Notes={Notes}, CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, Details={Details.Dump()}]"; + /// + /// + /// + /// + public new Journal Clone(bool resetId) + { + if (resetId) + { + return new Journal + { + User = User?.Clone(false), + Notes = Notes, + CreatedOn = CreatedOn, + PrivateNotes = PrivateNotes, + Details = Details?.Clone(false) + }; + } + return new Journal + { + Id = Id, + User = User?.Clone(false), + Notes = Notes, + CreatedOn = CreatedOn, + PrivateNotes = PrivateNotes, + Details = Details?.Clone(false) + }; + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index a6691bdb..afb8d110 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -34,6 +34,7 @@ namespace Redmine.Net.Api.Types [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.TIME_ENTRY)] public sealed class TimeEntry : Identifiable + , ICloneable { #region Properties private string comments; @@ -303,7 +304,7 @@ public override int GetHashCode() /// /// /// - public object Clone() + public new TimeEntry Clone(bool resetId) { var timeEntry = new TimeEntry { diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index 00beb32f..ca2ac4ee 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -32,6 +32,7 @@ namespace Redmine.Net.Api.Types [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.UPLOAD)] public sealed class Upload : IXmlSerializable, IJsonSerializable, IEquatable + , ICloneable { #region Properties /// @@ -234,5 +235,19 @@ public override int GetHashCode() /// private string DebuggerDisplay => $"[Upload: Token={Token}, FileName={FileName}, ContentType={ContentType}, Description={Description}]"; + /// + /// + /// + /// + public Upload Clone(bool resetId) + { + return new Upload + { + Token = Token, + FileName = FileName, + ContentType = ContentType, + Description = Description + }; + } } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index c3949e37..d413cab1 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -27,6 +27,7 @@ namespace Redmine.Net.Api.Types [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.USER)] public sealed class Watcher : Identifiable + ,ICloneable ,IValue { #region Implementation of IValue @@ -37,16 +38,23 @@ public sealed class Watcher : Identifiable #endregion - #region Implementation of ICloneable + #region Implementation of ICloneable /// /// /// /// - public object Clone() + public new Watcher Clone(bool resetId) { - var watcher = new Watcher { Id = Id }; - return watcher; + if (resetId) + { + return new Watcher(); + } + return new Watcher + { + Id = Id + }; } + #endregion /// @@ -54,6 +62,5 @@ public object Clone() /// /// private string DebuggerDisplay => $"[{nameof(Watcher)}: {ToString()}]"; - } } \ No newline at end of file From b59799643b4e723230e61aeb2abe9a72848a87c8 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 30 Mar 2025 22:50:50 +0300 Subject: [PATCH 477/601] Add tests (#378) * [Equality] Improvements * [Packages] Bump up * [Tests] Fix namespace * [Tests] Host * [Tests] RedmineFixture * [Tests] XmlSerializerFixture * [Tests] JsonSerializerFixture * [Tests] Xml deserializer tests * [Tests] Json deserializer tests * [Tests ] Add clonable tests * [#229] Add tests * [Tests] RedmineApiUrls * [#371] Add tests * [Tests] Equality --- .../Internals/HashCodeHelper.cs | 25 + src/redmine-net-api/Types/Attachment.cs | 12 +- src/redmine-net-api/Types/ChangeSet.cs | 2 +- src/redmine-net-api/Types/CustomField.cs | 33 +- .../Types/CustomFieldPossibleValue.cs | 16 +- src/redmine-net-api/Types/CustomFieldValue.cs | 2 +- src/redmine-net-api/Types/Detail.cs | 8 +- src/redmine-net-api/Types/DocumentCategory.cs | 3 +- src/redmine-net-api/Types/Error.cs | 2 +- src/redmine-net-api/Types/File.cs | 12 +- src/redmine-net-api/Types/Group.cs | 6 +- src/redmine-net-api/Types/Identifiable.cs | 4 +- src/redmine-net-api/Types/IdentifiableName.cs | 2 +- src/redmine-net-api/Types/Issue.cs | 24 +- src/redmine-net-api/Types/IssueChild.cs | 3 +- src/redmine-net-api/Types/IssueCustomField.cs | 5 +- src/redmine-net-api/Types/IssuePriority.cs | 2 +- src/redmine-net-api/Types/IssueRelation.cs | 6 +- src/redmine-net-api/Types/IssueStatus.cs | 4 +- src/redmine-net-api/Types/Journal.cs | 19 +- src/redmine-net-api/Types/Membership.cs | 2 +- src/redmine-net-api/Types/MyAccount.cs | 17 +- .../Types/MyAccountCustomField.cs | 9 +- src/redmine-net-api/Types/News.cs | 29 +- src/redmine-net-api/Types/NewsComment.cs | 18 +- src/redmine-net-api/Types/Permission.cs | 2 +- src/redmine-net-api/Types/Project.cs | 24 +- .../Types/ProjectMembership.cs | 8 +- src/redmine-net-api/Types/Role.cs | 14 +- src/redmine-net-api/Types/Search.cs | 8 +- src/redmine-net-api/Types/TimeEntry.cs | 4 +- .../Types/TimeEntryActivity.cs | 4 +- src/redmine-net-api/Types/Tracker.cs | 5 +- src/redmine-net-api/Types/TrackerCoreField.cs | 13 +- src/redmine-net-api/Types/Upload.cs | 8 +- src/redmine-net-api/Types/User.cs | 38 +- src/redmine-net-api/Types/Version.cs | 18 +- src/redmine-net-api/Types/WikiPage.cs | 9 +- .../Bugs/RedmineApi-229.cs | 125 ++++ .../Bugs/RedmineApi-371.cs | 22 +- .../Clone/AttachmentCloneTests.cs | 82 +++ .../Clone/IssueCloneTests.cs | 129 ++++ .../Clone/JournalCloneTests.cs | 60 ++ .../Equality/AttachmentEqualityTests.cs | 66 ++ .../Equality/BaseEqualityTests.cs | 66 ++ .../Equality/CustomFieldPossibleValueTests.cs | 24 + .../Equality/CustomFieldRoleTests.cs | 24 + .../Equality/CustomFieldTests.cs | 34 ++ .../Equality/DetailTests.cs | 28 + .../Equality/ErrorTests.cs | 16 + .../Equality/GroupTests.cs | 26 + .../Equality/GroupUserTests.cs | 24 + .../Equality/IssueCategoryTests.cs | 28 + .../Equality/IssueEqualityTests.cs | 114 ++++ .../Equality/IssueStatusTests.cs | 28 + .../Equality/JournalEqualityTests.cs | 72 +++ .../Equality/MembershipTests.cs | 28 + .../Equality/MyAccountCustomFieldTests.cs | 26 + .../Equality/MyAccountTests.cs | 40 ++ .../Equality/NewsTests.cs | 37 ++ .../Equality/PermissionTests.cs | 22 + .../Equality/ProjectMembershipTests.cs | 28 + .../Equality/ProjectTests.cs | 91 +++ .../Equality/QueryTests.cs | 28 + .../Equality/RoleTests.cs | 35 ++ .../Equality/SearchTests.cs | 33 + .../Equality/TimeEntryActivityTests.cs | 28 + .../Equality/TimeEntryTests.cs | 53 ++ .../Equality/TrackerCoreFieldTests.cs | 16 + .../Equality/TrackerCustomFieldTests.cs | 24 + .../Equality/UploadTests.cs | 28 + .../Equality/UserGroupTests.cs | 25 + .../Equality/UserTests.cs | 65 ++ .../Equality/VersionTests.cs | 47 ++ .../Equality/WatcherTests.cs | 22 + .../Equality/WikiPageTests.cs | 47 ++ .../JsonRedmineSerializerCollection.cs | 7 + .../Collections/RedmineCollection.cs | 10 + .../XmlRedmineSerializerCollection.cs | 7 + .../Infrastructure/Constants.cs | 8 + .../Fixtures/JsonSerializerFixture.cs | 9 + .../Fixtures/RedmineApiUrlsFixture.cs | 31 + .../{ => Fixtures}/RedmineFixture.cs | 11 +- .../Fixtures/XmlSerializerFixture.cs | 8 + .../Infrastructure/Order/CaseOrder.cs | 2 +- .../Infrastructure/Order/CollectionOrderer.cs | 2 +- .../Infrastructure/Order/OrderAttribute.cs | 2 +- .../Infrastructure/RedmineCollection.cs | 9 - .../Serialization/Json/MyAccount.cs | 56 ++ .../Serialization/Json/RoleTests.cs | 45 ++ .../Serialization/Xml/AttachmentTests.cs | 43 ++ .../Serialization/Xml/CustomFieldTests.cs | 65 ++ .../Serialization/Xml/EnumerationTests.cs | 117 ++++ .../Serialization/Xml/ErrorTests.cs | 32 + .../Serialization/Xml/FileTests.cs | 87 +++ .../Serialization/Xml/GroupTests.cs | 67 ++ .../Serialization/Xml/IssueCategoryTests.cs | 73 +++ .../Serialization/Xml/IssueStatusTests.cs | 47 ++ .../Serialization/Xml/IssueTests.cs | 204 +++++++ .../Serialization/Xml/MembershipTests.cs | 95 +++ .../Serialization/Xml/MyAccountTests.cs | 79 +++ .../Serialization/Xml/NewsTests.cs | 67 ++ .../Serialization/Xml/ProjectTests.cs | 87 +++ .../Serialization/Xml/QueryTests.cs | 51 ++ .../Serialization/Xml/RelationTests.cs | 81 +++ .../Serialization/Xml/RoleTests.cs | 95 +++ .../Serialization/Xml/SearchTests.cs | 59 ++ .../Serialization/Xml/TrackerTests.cs | 134 ++++ .../Serialization/Xml/UploadTests.cs | 62 ++ .../Serialization/Xml/UserTests.cs | 159 +++++ .../Serialization/Xml/VersionTests.cs | 111 ++++ .../Serialization/Xml/WikiTests.cs | 86 +++ .../{HostValidationTests.cs => HostTests.cs} | 12 +- .../Tests/RedmineApiUrlsTests.cs | 573 ++++++++++++++++++ .../redmine-net-api.Tests.csproj | 16 +- 115 files changed, 4594 insertions(+), 226 deletions(-) create mode 100644 tests/redmine-net-api.Tests/Bugs/RedmineApi-229.cs create mode 100644 tests/redmine-net-api.Tests/Clone/AttachmentCloneTests.cs create mode 100644 tests/redmine-net-api.Tests/Clone/IssueCloneTests.cs create mode 100644 tests/redmine-net-api.Tests/Clone/JournalCloneTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/AttachmentEqualityTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/BaseEqualityTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/CustomFieldPossibleValueTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/CustomFieldRoleTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/CustomFieldTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/DetailTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/ErrorTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/GroupTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/GroupUserTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/IssueCategoryTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/IssueEqualityTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/IssueStatusTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/JournalEqualityTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/MembershipTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/MyAccountCustomFieldTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/MyAccountTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/NewsTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/PermissionTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/ProjectMembershipTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/ProjectTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/QueryTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/RoleTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/SearchTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/TimeEntryActivityTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/TimeEntryTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/TrackerCoreFieldTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/TrackerCustomFieldTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/UploadTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/UserGroupTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/UserTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/VersionTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/WatcherTests.cs create mode 100644 tests/redmine-net-api.Tests/Equality/WikiPageTests.cs create mode 100644 tests/redmine-net-api.Tests/Infrastructure/Collections/JsonRedmineSerializerCollection.cs create mode 100644 tests/redmine-net-api.Tests/Infrastructure/Collections/RedmineCollection.cs create mode 100644 tests/redmine-net-api.Tests/Infrastructure/Collections/XmlRedmineSerializerCollection.cs create mode 100644 tests/redmine-net-api.Tests/Infrastructure/Constants.cs create mode 100644 tests/redmine-net-api.Tests/Infrastructure/Fixtures/JsonSerializerFixture.cs create mode 100644 tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs rename tests/redmine-net-api.Tests/Infrastructure/{ => Fixtures}/RedmineFixture.cs (71%) create mode 100644 tests/redmine-net-api.Tests/Infrastructure/Fixtures/XmlSerializerFixture.cs delete mode 100644 tests/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Json/MyAccount.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Json/RoleTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/AttachmentTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/CustomFieldTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/EnumerationTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/ErrorTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/FileTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/GroupTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/IssueCategoryTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/IssueStatusTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/IssueTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/MembershipTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/MyAccountTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/NewsTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/ProjectTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/QueryTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/RelationTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/RoleTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/SearchTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/TrackerTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/UploadTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/UserTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/VersionTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Xml/WikiTests.cs rename tests/redmine-net-api.Tests/Tests/{HostValidationTests.cs => HostTests.cs} (96%) create mode 100644 tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs diff --git a/src/redmine-net-api/Internals/HashCodeHelper.cs b/src/redmine-net-api/Internals/HashCodeHelper.cs index f2610116..4d2ac468 100755 --- a/src/redmine-net-api/Internals/HashCodeHelper.cs +++ b/src/redmine-net-api/Internals/HashCodeHelper.cs @@ -57,6 +57,31 @@ public static int GetHashCode(IList list, int hash) where T : class return hashCode; } } + + public static int GetHashCode(List list, int hash) where T : class + { + unchecked + { + var hashCode = hash; + if (list == null) + { + return hashCode; + } + + hashCode = (hashCode * 17) + list.Count; + + foreach (var t in list) + { + hashCode *= 17; + if (t != null) + { + hashCode += t.GetHashCode(); + } + } + + return hashCode; + } + } /// /// Returns a hash code for this instance. diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index bc394f77..da35047f 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -189,12 +189,12 @@ public override bool Equals(Attachment other) { if (other == null) return false; return base.Equals(other) - && string.Equals(FileName, other.FileName, StringComparison.OrdinalIgnoreCase) - && string.Equals(ContentType, other.ContentType, StringComparison.OrdinalIgnoreCase) - && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) - && string.Equals(ContentUrl, other.ContentUrl, StringComparison.OrdinalIgnoreCase) - && string.Equals(ThumbnailUrl, other.ThumbnailUrl, StringComparison.OrdinalIgnoreCase) - && Equals(Author, other.Author) + && string.Equals(FileName, other.FileName, StringComparison.Ordinal) + && string.Equals(ContentType, other.ContentType, StringComparison.Ordinal) + && string.Equals(Description, other.Description, StringComparison.Ordinal) + && string.Equals(ContentUrl, other.ContentUrl, StringComparison.Ordinal) + && string.Equals(ThumbnailUrl, other.ThumbnailUrl, StringComparison.Ordinal) + && Author == other.Author && FileSize == other.FileSize && CreatedOn == other.CreatedOn; } diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs index dae77667..3e9937af 100644 --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -154,7 +154,7 @@ public bool Equals(ChangeSet other) return Revision == other.Revision && User == other.User - && Comments == other.Comments + && string.Equals(Comments, other.Comments, StringComparison.Ordinal) && CommittedOn == other.CommittedOn; } diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index 486e492f..f10a4162 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -207,22 +207,23 @@ public bool Equals(CustomField other) { if (other == null) return false; - return base.Equals(other) - && string.Equals(CustomizedType, other.CustomizedType, StringComparison.OrdinalIgnoreCase) - && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) - && string.Equals(FieldFormat, other.FieldFormat, StringComparison.OrdinalIgnoreCase) - && string.Equals(Regexp, other.Regexp, StringComparison.OrdinalIgnoreCase) - && string.Equals(DefaultValue, other.DefaultValue, StringComparison.Ordinal) - && MinLength == other.MinLength - && MaxLength == other.MaxLength - && IsRequired == other.IsRequired - && IsFilter == other.IsFilter - && Searchable == other.Searchable - && Multiple == other.Multiple - && Visible == other.Visible - && Equals(PossibleValues, other.PossibleValues) - && Equals(Trackers, other.Trackers) - && Equals(Roles, other.Roles); + var result = base.Equals(other) + && string.Equals(CustomizedType, other.CustomizedType, StringComparison.Ordinal) + && string.Equals(Description, other.Description, StringComparison.Ordinal) + && string.Equals(FieldFormat, other.FieldFormat, StringComparison.Ordinal) + && string.Equals(Regexp, other.Regexp, StringComparison.Ordinal) + && string.Equals(DefaultValue, other.DefaultValue, StringComparison.Ordinal) + && MinLength == other.MinLength + && MaxLength == other.MaxLength + && IsRequired == other.IsRequired + && IsFilter == other.IsFilter + && Searchable == other.Searchable + && Multiple == other.Multiple + && Visible == other.Visible + && (PossibleValues?.Equals(other.PossibleValues) ?? other.PossibleValues == null) + && (Trackers?.Equals(other.Trackers) ?? other.Trackers == null) + && (Roles?.Equals(other.Roles) ?? other.Roles == null); + return result; } /// diff --git a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs index 8c39c325..2d3d0029 100644 --- a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs @@ -73,9 +73,7 @@ public void ReadXml(XmlReader reader) switch (reader.Name) { case RedmineKeys.LABEL: Label = reader.ReadElementContentAsString(); break; - case RedmineKeys.VALUE: Value = reader.ReadElementContentAsString(); break; - default: reader.Read(); break; } } @@ -111,14 +109,9 @@ public void ReadJson(JsonReader reader) switch (reader.Value) { - case RedmineKeys.LABEL: - Label = reader.ReadAsString(); break; - - case RedmineKeys.VALUE: - - Value = reader.ReadAsString(); break; - default: - reader.Read(); break; + case RedmineKeys.LABEL: Label = reader.ReadAsString(); break; + case RedmineKeys.VALUE: Value = reader.ReadAsString(); break; + default: reader.Read(); break; } } } @@ -139,8 +132,9 @@ public void WriteJson(JsonWriter writer) { } public bool Equals(CustomFieldPossibleValue other) { if (other == null) return false; - return string.Equals(Value, other.Value, StringComparison.Ordinal) + var result = string.Equals(Value, other.Value, StringComparison.Ordinal) && string.Equals(Label, other.Label, StringComparison.Ordinal); + return result; } /// diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index 592bb4f4..19569f1e 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -146,7 +146,7 @@ public void WriteJson(JsonWriter writer) public bool Equals(CustomFieldValue other) { if (other == null) return false; - return string.Equals(Info, other.Info, StringComparison.OrdinalIgnoreCase); + return string.Equals(Info, other.Info, StringComparison.Ordinal); } /// diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs index a17a0d9a..53a0b9a1 100644 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -177,10 +177,10 @@ public void ReadJson(JsonReader reader) public bool Equals(Detail other) { if (other == null) return false; - return string.Equals(Property, other.Property, StringComparison.OrdinalIgnoreCase) - && string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase) - && string.Equals(OldValue, other.OldValue, StringComparison.OrdinalIgnoreCase) - && string.Equals(NewValue, other.NewValue, StringComparison.OrdinalIgnoreCase); + return string.Equals(Property, other.Property, StringComparison.Ordinal) + && string.Equals(Name, other.Name, StringComparison.Ordinal) + && string.Equals(OldValue, other.OldValue, StringComparison.Ordinal) + && string.Equals(NewValue, other.NewValue, StringComparison.Ordinal); } /// diff --git a/src/redmine-net-api/Types/DocumentCategory.cs b/src/redmine-net-api/Types/DocumentCategory.cs index 1028a41d..4040fade 100644 --- a/src/redmine-net-api/Types/DocumentCategory.cs +++ b/src/redmine-net-api/Types/DocumentCategory.cs @@ -132,8 +132,7 @@ public bool Equals(DocumentCategory other) { if (other == null) return false; - return Id == other.Id - && Name == other.Name + return base.Equals(other) && IsDefault == other.IsDefault && IsActive == other.IsActive; } diff --git a/src/redmine-net-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs index 96cd20bd..a3712f4b 100644 --- a/src/redmine-net-api/Types/Error.cs +++ b/src/redmine-net-api/Types/Error.cs @@ -119,7 +119,7 @@ public bool Equals(Error other) { if (other == null) return false; - return string.Equals(Info,other.Info, StringComparison.OrdinalIgnoreCase); + return string.Equals(Info, other.Info, StringComparison.Ordinal); } /// diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index 4630f5f8..eb936dd1 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -210,12 +210,12 @@ public override bool Equals(File other) { if (other == null) return false; return base.Equals(other) - && string.Equals(Filename, other.Filename, StringComparison.OrdinalIgnoreCase) - && string.Equals(ContentType, other.ContentType, StringComparison.OrdinalIgnoreCase) - && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) - && string.Equals(ContentUrl, other.ContentUrl, StringComparison.OrdinalIgnoreCase) - && string.Equals(Digest, other.Digest, StringComparison.OrdinalIgnoreCase) - && Equals(Author, other.Author) + && string.Equals(Filename, other.Filename, StringComparison.Ordinal) + && string.Equals(ContentType, other.ContentType, StringComparison.Ordinal) + && string.Equals(Description, other.Description, StringComparison.Ordinal) + && string.Equals(ContentUrl, other.ContentUrl, StringComparison.Ordinal) + && string.Equals(Digest, other.Digest, StringComparison.Ordinal) + && Author == other.Author && FileSize == other.FileSize && CreatedOn == other.CreatedOn && Version == other.Version diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 45001031..71e92025 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -165,9 +165,9 @@ public bool Equals(Group other) { if (other == null) return false; return base.Equals(other) - && Equals(Users, other.Users) - && Equals(CustomFields, other.CustomFields) - && Equals(Memberships, other.Memberships); + && Users != null ? Users.Equals(other.Users) : other.Users == null + && CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null + && Memberships != null ? Memberships.Equals(other.Memberships) : other.Memberships == null; } /// diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs index e5123673..b0f81444 100644 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2023 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -41,7 +41,7 @@ public abstract class Identifiable : IXmlSerializable, IJsonSerializable, IEq /// Gets the id. /// /// The id. - public int Id { get; protected set; } + public int Id { get; protected internal set; } #endregion #region Implementation of IXmlSerialization diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index b4717d4e..02fb5c6d 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -167,7 +167,7 @@ public override void WriteJson(JsonWriter writer) public override bool Equals(IdentifiableName other) { if (other == null) return false; - return Id == other.Id && string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase); + return Id == other.Id && string.Equals(Name, other.Name, StringComparison.Ordinal); } /// diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 9e97f373..7d9b488e 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -484,8 +484,8 @@ public override bool Equals(Issue other) && Priority == other.Priority && Author == other.Author && Category == other.Category - && Subject == other.Subject - && Description == other.Description + && string.Equals(Subject, other.Subject, StringComparison.Ordinal) + && string.Equals(Description, other.Description, StringComparison.Ordinal) && StartDate == other.StartDate && DueDate == other.DueDate && DoneRatio == other.DoneRatio @@ -495,16 +495,16 @@ public override bool Equals(Issue other) && UpdatedOn == other.UpdatedOn && AssignedTo == other.AssignedTo && FixedVersion == other.FixedVersion - && Notes == other.Notes + && string.Equals(Notes, other.Notes, StringComparison.Ordinal) && ClosedOn == other.ClosedOn && PrivateNotes == other.PrivateNotes - && Attachments.Equals(other.Attachments) - && CustomFields.Equals(other.CustomFields) - && ChangeSets.Equals(other.ChangeSets) - && Children.Equals(other.Children) - && Journals.Equals(other.Journals) - && Relations.Equals(other.Relations) - && Watchers.Equals(other.Watchers); + && (Attachments?.Equals(other.Attachments) ?? other.Attachments == null) + && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null) + && (ChangeSets?.Equals(other.ChangeSets) ?? other.ChangeSets == null) + && (Children?.Equals(other.Children) ?? other.Children == null) + && (Journals?.Equals(other.Journals) ?? other.Journals == null) + && (Relations?.Equals(other.Relations) ?? other.Relations == null) + && (Watchers?.Equals(other.Watchers) ?? other.Watchers == null); } /// @@ -529,19 +529,19 @@ public override int GetHashCode() var hashCode = base.GetHashCode(); hashCode = HashCodeHelper.GetHashCode(Project, hashCode); + hashCode = HashCodeHelper.GetHashCode(Tracker, hashCode); hashCode = HashCodeHelper.GetHashCode(Status, hashCode); hashCode = HashCodeHelper.GetHashCode(Priority, hashCode); hashCode = HashCodeHelper.GetHashCode(Author, hashCode); hashCode = HashCodeHelper.GetHashCode(Category, hashCode); - + hashCode = HashCodeHelper.GetHashCode(Subject, hashCode); hashCode = HashCodeHelper.GetHashCode(Description, hashCode); hashCode = HashCodeHelper.GetHashCode(StartDate, hashCode); hashCode = HashCodeHelper.GetHashCode(Project, hashCode); hashCode = HashCodeHelper.GetHashCode(DueDate, hashCode); hashCode = HashCodeHelper.GetHashCode(DoneRatio, hashCode); - hashCode = HashCodeHelper.GetHashCode(PrivateNotes, hashCode); hashCode = HashCodeHelper.GetHashCode(EstimatedHours, hashCode); hashCode = HashCodeHelper.GetHashCode(SpentHours, hashCode); diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs index f92e3fd4..6418aa4f 100644 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -115,7 +115,8 @@ public override bool Equals(IssueChild other) { if (other == null) return false; return base.Equals(other) - && Tracker == other.Tracker && Subject == other.Subject; + && Tracker == other.Tracker + && string.Equals(Subject, other.Subject, StringComparison.Ordinal); } /// diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 31d012cc..1cb47bf4 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -214,10 +214,9 @@ public override void ReadJson(JsonReader reader) public bool Equals(IssueCustomField other) { if (other == null) return false; - return Id == other.Id - && Name == other.Name + return base.Equals(other) && Multiple == other.Multiple - && Values.Equals(other.Values); + && (Values?.Equals(other.Values) ?? other.Values == null); } /// diff --git a/src/redmine-net-api/Types/IssuePriority.cs b/src/redmine-net-api/Types/IssuePriority.cs index 305cf04f..be107464 100644 --- a/src/redmine-net-api/Types/IssuePriority.cs +++ b/src/redmine-net-api/Types/IssuePriority.cs @@ -116,7 +116,7 @@ public bool Equals(IssuePriority other) { if (other == null) return false; - return Id == other.Id && Name == other.Name + return base.Equals(other) && IsDefault == other.IsDefault && IsActive == other.IsActive; } diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 16571f7e..88ae9eb2 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -219,7 +219,11 @@ private static IssueRelationType ReadIssueRelationType(string value) public override bool Equals(IssueRelation other) { if (other == null) return false; - return Id == other.Id && IssueId == other.IssueId && IssueToId == other.IssueToId && Type == other.Type && Delay == other.Delay; + return Id == other.Id + && IssueId == other.IssueId + && IssueToId == other.IssueToId + && Type == other.Type + && Delay == other.Delay; } /// diff --git a/src/redmine-net-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs index 9f4657c0..1e842ac0 100644 --- a/src/redmine-net-api/Types/IssueStatus.cs +++ b/src/redmine-net-api/Types/IssueStatus.cs @@ -116,7 +116,9 @@ public override void ReadJson(JsonReader reader) public bool Equals(IssueStatus other) { if (other == null) return false; - return Id == other.Id && Name == other.Name && IsClosed == other.IsClosed && IsDefault == other.IsDefault; + return base.Equals(other) + && IsClosed == other.IsClosed + && IsDefault == other.IsDefault; } /// diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index 325eedbd..75cd78a3 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -130,8 +130,6 @@ public override void WriteXml(XmlWriter writer) #endregion #region Implementation of IJsonSerialization - - /// /// /// @@ -182,14 +180,15 @@ public override void WriteJson(JsonWriter writer) public override bool Equals(Journal other) { if (other == null) return false; - return base.Equals(other) - && Equals(User, other.User) - && Equals(Details, other.Details) - && string.Equals(Notes, other.Notes, StringComparison.OrdinalIgnoreCase) - && CreatedOn == other.CreatedOn - && UpdatedOn == other.UpdatedOn - && Equals(UpdatedBy, other.UpdatedBy) - && PrivateNotes == other.PrivateNotes; + var result = base.Equals(other); + result = result && User == other.User; + result = result && UpdatedBy == other.UpdatedBy; + result = result && (Details?.Equals(other.Details) ?? other.Details == null); + result = result && string.Equals(Notes, other.Notes, StringComparison.Ordinal); + result = result && CreatedOn == other.CreatedOn; + result = result && UpdatedOn == other.UpdatedOn; + result = result && PrivateNotes == other.PrivateNotes; + return result; } /// diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index 4243030e..f9f92ff1 100644 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -125,7 +125,7 @@ public override bool Equals(Membership other) { if (other == null) return false; return Id == other.Id - && Project != null ? Project.Equals(other.Project) : other.Project == null + && Project == other.Project && Roles != null ? Roles.Equals(other.Roles) : other.Roles == null; } diff --git a/src/redmine-net-api/Types/MyAccount.cs b/src/redmine-net-api/Types/MyAccount.cs index fc86e19a..0bcf9831 100644 --- a/src/redmine-net-api/Types/MyAccount.cs +++ b/src/redmine-net-api/Types/MyAccount.cs @@ -186,15 +186,15 @@ public override bool Equals(MyAccount other) { if (other == null) return false; return Id == other.Id - && string.Equals(Login, other.Login, StringComparison.OrdinalIgnoreCase) - && string.Equals(FirstName, other.FirstName, StringComparison.OrdinalIgnoreCase) - && string.Equals(LastName, other.LastName, StringComparison.OrdinalIgnoreCase) - && string.Equals(ApiKey, other.ApiKey, StringComparison.OrdinalIgnoreCase) - && Email.Equals(other.Email, StringComparison.OrdinalIgnoreCase) + && string.Equals(Login, other.Login, StringComparison.Ordinal) + && string.Equals(FirstName, other.FirstName, StringComparison.Ordinal) + && string.Equals(LastName, other.LastName, StringComparison.Ordinal) + && string.Equals(ApiKey, other.ApiKey, StringComparison.Ordinal) + && string.Equals(Email, other.Email, StringComparison.Ordinal) && IsAdmin == other.IsAdmin && CreatedOn == other.CreatedOn && LastLoginOn == other.LastLoginOn - && CustomFields.Equals(other.CustomFields); + && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null); } /// @@ -215,15 +215,16 @@ public override int GetHashCode() { unchecked { - var hashCode = base.GetHashCode(); + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Id, hashCode); hashCode = HashCodeHelper.GetHashCode(Login, hashCode); hashCode = HashCodeHelper.GetHashCode(FirstName, hashCode); hashCode = HashCodeHelper.GetHashCode(LastName, hashCode); + hashCode = HashCodeHelper.GetHashCode(ApiKey, hashCode); hashCode = HashCodeHelper.GetHashCode(Email, hashCode); hashCode = HashCodeHelper.GetHashCode(IsAdmin, hashCode); hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); hashCode = HashCodeHelper.GetHashCode(LastLoginOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(ApiKey, hashCode); hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); return hashCode; } diff --git a/src/redmine-net-api/Types/MyAccountCustomField.cs b/src/redmine-net-api/Types/MyAccountCustomField.cs index f01ab673..8350527d 100644 --- a/src/redmine-net-api/Types/MyAccountCustomField.cs +++ b/src/redmine-net-api/Types/MyAccountCustomField.cs @@ -29,14 +29,13 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.CUSTOM_FIELD)] - public sealed class MyAccountCustomField : IdentifiableName + public sealed class MyAccountCustomField : IdentifiableName, IEquatable { /// /// Initializes a new instance of the class. /// /// Serialization public MyAccountCustomField() { } - /// /// @@ -117,8 +116,7 @@ public override bool Equals(object obj) { if (ReferenceEquals(null, obj)) return false; if (ReferenceEquals(this, obj)) return true; - if (obj.GetType() != GetType()) return false; - return Equals(obj as MyAccountCustomField); + return obj is MyAccountCustomField other && Equals(other); } /// @@ -128,8 +126,9 @@ public override bool Equals(object obj) /// public bool Equals(MyAccountCustomField other) { + if (other == null) return false; return base.Equals(other) - && string.Equals(Value, other.Value, StringComparison.OrdinalIgnoreCase); + && string.Equals(Value, other.Value, StringComparison.Ordinal); } /// diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index 03305ab0..e4796eef 100644 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -202,19 +202,21 @@ public override void WriteJson(JsonWriter writer) /// /// /// - public new bool Equals(News other) + public override bool Equals(News other) { - if (ReferenceEquals(null, other)) return false; - if (ReferenceEquals(this, other)) return true; + if(other == null) return false; - return base.Equals(other) - && Equals(Project, other.Project) - && Equals(Author, other.Author) - && string.Equals(Title, other.Title, StringComparison.Ordinal) - && string.Equals(Summary, other.Summary, StringComparison.Ordinal) - && string.Equals(Description, other.Description, StringComparison.Ordinal) - && CreatedOn.Equals(other.CreatedOn) - && Equals(Comments, other.Comments); + var result = base.Equals(other); + result = result && Project == other.Project; + result = result && Author == other.Author; + result = result && string.Equals(Title, other.Title, StringComparison.Ordinal); + result = result && string.Equals(Summary, other.Summary, StringComparison.Ordinal); + result = result && string.Equals(Description, other.Description, StringComparison.Ordinal); + result = result && CreatedOn == other.CreatedOn; + result = result && (Attachments?.Equals(other.Attachments) ?? other.Attachments == null); + result = result && (Comments?.Equals(other.Comments) ?? other.Comments == null); + result = result && (Uploads?.Equals(other.Uploads) ?? other.Uploads == null); + return result; } /// @@ -238,7 +240,8 @@ public override int GetHashCode() { unchecked { - var hashCode = base.GetHashCode(); + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Id, hashCode); hashCode = HashCodeHelper.GetHashCode(Project, hashCode); hashCode = HashCodeHelper.GetHashCode(Author, hashCode); hashCode = HashCodeHelper.GetHashCode(Title, hashCode); @@ -246,6 +249,8 @@ public override int GetHashCode() hashCode = HashCodeHelper.GetHashCode(Description, hashCode); hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); hashCode = HashCodeHelper.GetHashCode(Comments, hashCode); + hashCode = HashCodeHelper.GetHashCode(Attachments, hashCode); + hashCode = HashCodeHelper.GetHashCode(Uploads, hashCode); return hashCode; } } diff --git a/src/redmine-net-api/Types/NewsComment.cs b/src/redmine-net-api/Types/NewsComment.cs index 92057ba9..3766204f 100644 --- a/src/redmine-net-api/Types/NewsComment.cs +++ b/src/redmine-net-api/Types/NewsComment.cs @@ -14,6 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ +using System; using System.Diagnostics; using System.Xml; using System.Xml.Serialization; @@ -102,7 +103,9 @@ public override void WriteJson(JsonWriter writer) public override bool Equals(NewsComment other) { if (other == null) return false; - return Id == other.Id && Author == other.Author && Content == other.Content; + return Id == other.Id + && Author == other.Author + && string.Equals(Content, other.Content, StringComparison.Ordinal); } /// @@ -121,12 +124,15 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - var hashCode = base.GetHashCode(); - - hashCode = HashCodeHelper.GetHashCode(Author, hashCode); - hashCode = HashCodeHelper.GetHashCode(Content, hashCode); + unchecked + { + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + hashCode = HashCodeHelper.GetHashCode(Author, hashCode); + hashCode = HashCodeHelper.GetHashCode(Content, hashCode); - return hashCode; + return hashCode; + } } /// diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index d83e887f..fba871af 100644 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -98,7 +98,7 @@ public void WriteJson(JsonWriter writer) { } /// public bool Equals(Permission other) { - return other != null && Info == other.Info; + return other != null && string.Equals(Info, other.Info, StringComparison.Ordinal); } /// diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 2af4593f..55af2209 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -308,23 +308,23 @@ public bool Equals(Project other) } return base.Equals(other) - && string.Equals(Identifier, other.Identifier, StringComparison.OrdinalIgnoreCase) - && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) - && string.Equals(HomePage, other.HomePage, StringComparison.OrdinalIgnoreCase) - && string.Equals(Identifier, other.Identifier, StringComparison.OrdinalIgnoreCase) + && string.Equals(Identifier, other.Identifier, StringComparison.Ordinal) + && string.Equals(Description, other.Description, StringComparison.Ordinal) + && string.Equals(HomePage, other.HomePage, StringComparison.Ordinal) + && string.Equals(Identifier, other.Identifier, StringComparison.Ordinal) && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn && Status == other.Status && IsPublic == other.IsPublic && InheritMembers == other.InheritMembers - && Equals(DefaultAssignee, other.DefaultAssignee) - && Equals(DefaultVersion, other.DefaultVersion) - && Equals(Parent, other.Parent) - && Equals(Trackers, other.Trackers) - && Equals(CustomFields, other.CustomFields) - && Equals(IssueCategories, other.IssueCategories) - && Equals(EnabledModules, other.EnabledModules) - && Equals(TimeEntryActivities, other.TimeEntryActivities); + && DefaultAssignee == other.DefaultAssignee + && DefaultVersion == other.DefaultVersion + && Parent == other.Parent + && (Trackers?.Equals(other.Trackers) ?? other.Trackers == null) + && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null) + && (IssueCategories?.Equals(other.IssueCategories) ?? other.IssueCategories == null) + && (EnabledModules?.Equals(other.EnabledModules) ?? other.EnabledModules == null) + && (TimeEntryActivities?.Equals(other.TimeEntryActivities) ?? other.TimeEntryActivities == null); } /// diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index 8a5fd6ce..8dd3642a 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -162,10 +162,10 @@ public override bool Equals(ProjectMembership other) { if (other == null) return false; return Id == other.Id - && Equals(Project, other.Project) - && Equals(Roles, other.Roles) - && Equals(User, other.User) - && Equals(Group, other.Group); + && Project == other.Project + && User == other.User + && Group == other.Group + && Roles != null ? Roles.Equals(other.Roles) : other.Roles == null; } /// diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index 4998f2a4..10a2420b 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -137,13 +137,13 @@ public override void ReadJson(JsonReader reader) public bool Equals(Role other) { if (other == null) return false; - return EqualityComparer.Default.Equals(Id, other.Id) && - EqualityComparer.Default.Equals(Name, other.Name) && - IsAssignable == other.IsAssignable && - EqualityComparer.Default.Equals(IssuesVisibility, other.IssuesVisibility) && - EqualityComparer.Default.Equals(TimeEntriesVisibility, other.TimeEntriesVisibility) && - EqualityComparer.Default.Equals(UsersVisibility, other.UsersVisibility) && - EqualityComparer>.Default.Equals(Permissions, other.Permissions); + return Id == other.Id + && string.Equals(Name, other.Name, StringComparison.Ordinal) + && IsAssignable == other.IsAssignable + && IssuesVisibility == other.IssuesVisibility + && TimeEntriesVisibility == other.TimeEntriesVisibility + && UsersVisibility == other.UsersVisibility + && Permissions != null ? Permissions.Equals(other.Permissions) : other.Permissions == null; } diff --git a/src/redmine-net-api/Types/Search.cs b/src/redmine-net-api/Types/Search.cs index 72aa88d7..71ba4885 100644 --- a/src/redmine-net-api/Types/Search.cs +++ b/src/redmine-net-api/Types/Search.cs @@ -124,10 +124,10 @@ public bool Equals(Search other) { if (other == null) return false; return Id == other.Id - && string.Equals(Title, other.Title, StringComparison.OrdinalIgnoreCase) - && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) - && string.Equals(Url, other.Url, StringComparison.OrdinalIgnoreCase) - && string.Equals(Type, other.Type, StringComparison.OrdinalIgnoreCase) + && string.Equals(Title, other.Title, StringComparison.Ordinal) + && string.Equals(Description, other.Description, StringComparison.Ordinal) + && string.Equals(Url, other.Url, StringComparison.Ordinal) + && string.Equals(Type, other.Type, StringComparison.Ordinal) && DateTime == other.DateTime; } diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index afb8d110..79ad91bd 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -233,11 +233,11 @@ public override bool Equals(TimeEntry other) && SpentOn == other.SpentOn && Hours == other.Hours && Activity == other.Activity - && Comments == other.Comments + && string.Equals(Comments, other.Comments, StringComparison.Ordinal) && User == other.User && CreatedOn == other.CreatedOn && UpdatedOn == other.UpdatedOn - && Equals(CustomFields, other.CustomFields); + && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null); } /// diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index dbc6afe3..6e0ef6c7 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -132,7 +132,9 @@ public bool Equals(TimeEntryActivity other) { if (other == null) return false; - return Id == other.Id && Name == other.Name && IsDefault == other.IsDefault && IsActive == other.IsActive; + return base.Equals(other) + && IsDefault == other.IsDefault + && IsActive == other.IsActive; } /// diff --git a/src/redmine-net-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs index 891ae4d0..13d26b31 100644 --- a/src/redmine-net-api/Types/Tracker.cs +++ b/src/redmine-net-api/Types/Tracker.cs @@ -121,7 +121,10 @@ public bool Equals(Tracker other) { if (other == null) return false; - return Id == other.Id && Name == other.Name; + return base.Equals(other) + && DefaultStatus == other.DefaultStatus + && string.Equals(Description, other.Description, StringComparison.Ordinal) + && EnabledStandardFields != null ? EnabledStandardFields.Equals(other.EnabledStandardFields) : other.EnabledStandardFields != null; } /// diff --git a/src/redmine-net-api/Types/TrackerCoreField.cs b/src/redmine-net-api/Types/TrackerCoreField.cs index f5e7f6d2..54b5f1be 100644 --- a/src/redmine-net-api/Types/TrackerCoreField.cs +++ b/src/redmine-net-api/Types/TrackerCoreField.cs @@ -16,6 +16,17 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.FIELD)] public sealed class TrackerCoreField: IXmlSerializable, IJsonSerializable, IEquatable { + /// + /// + /// + public TrackerCoreField() + { + } + + internal TrackerCoreField(string name) + { + Name = name; + } /// /// /// @@ -94,7 +105,7 @@ public void ReadJson(JsonReader reader) /// public bool Equals(TrackerCoreField other) { - return other != null && Name == other.Name; + return other != null && string.Equals(Name, other.Name, StringComparison.Ordinal); } /// diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index ca2ac4ee..be702c1f 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -170,10 +170,10 @@ public void WriteJson(JsonWriter writer) public bool Equals(Upload other) { return other != null - && string.Equals(Token, other.Token, StringComparison.OrdinalIgnoreCase) - && string.Equals(FileName, other.FileName, StringComparison.OrdinalIgnoreCase) - && string.Equals(Description, other.Description, StringComparison.OrdinalIgnoreCase) - && string.Equals(ContentType, other.ContentType, StringComparison.OrdinalIgnoreCase); + && string.Equals(Token, other.Token, StringComparison.Ordinal) + && string.Equals(FileName, other.FileName, StringComparison.Ordinal) + && string.Equals(Description, other.Description, StringComparison.Ordinal) + && string.Equals(ContentType, other.ContentType, StringComparison.Ordinal); } /// diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index 7633af2a..e47ae005 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -331,25 +331,25 @@ public override bool Equals(User other) { if (other == null) return false; return Id == other.Id - && string.Equals(AvatarUrl,other.AvatarUrl, StringComparison.OrdinalIgnoreCase) - && string.Equals(Login,other.Login, StringComparison.OrdinalIgnoreCase) - && string.Equals(FirstName,other.FirstName, StringComparison.OrdinalIgnoreCase) - && string.Equals(LastName,other.LastName, StringComparison.OrdinalIgnoreCase) - && string.Equals(Email,other.Email, StringComparison.OrdinalIgnoreCase) - && string.Equals(MailNotification,other.MailNotification, StringComparison.OrdinalIgnoreCase) - && string.Equals(ApiKey,other.ApiKey, StringComparison.OrdinalIgnoreCase) + && string.Equals(AvatarUrl,other.AvatarUrl, StringComparison.Ordinal) + && string.Equals(Login,other.Login, StringComparison.Ordinal) + && string.Equals(FirstName,other.FirstName, StringComparison.Ordinal) + && string.Equals(LastName,other.LastName, StringComparison.Ordinal) + && string.Equals(Email,other.Email, StringComparison.Ordinal) + && string.Equals(MailNotification,other.MailNotification, StringComparison.Ordinal) + && string.Equals(ApiKey,other.ApiKey, StringComparison.Ordinal) + && string.Equals(TwoFactorAuthenticationScheme,other.TwoFactorAuthenticationScheme, StringComparison.Ordinal) && AuthenticationModeId == other.AuthenticationModeId && CreatedOn == other.CreatedOn && LastLoginOn == other.LastLoginOn && Status == other.Status && MustChangePassword == other.MustChangePassword - && Equals(CustomFields, other.CustomFields) - && Equals(Memberships, other.Memberships) - && Equals(Groups, other.Groups) - && string.Equals(TwoFactorAuthenticationScheme,other.TwoFactorAuthenticationScheme, StringComparison.OrdinalIgnoreCase) && IsAdmin == other.IsAdmin && PasswordChangedOn == other.PasswordChangedOn - && UpdatedOn == other.UpdatedOn; + && UpdatedOn == other.UpdatedOn + && CustomFields != null ? CustomFields.Equals(other.CustomFields) : other.CustomFields == null + && Memberships != null ? Memberships.Equals(other.Memberships) : other.Memberships == null + && Groups != null ? Groups.Equals(other.Groups) : other.Groups == null; } /// @@ -373,27 +373,27 @@ public override int GetHashCode() { unchecked { - var hashCode = base.GetHashCode(); + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Id, hashCode); hashCode = HashCodeHelper.GetHashCode(AvatarUrl, hashCode); hashCode = HashCodeHelper.GetHashCode(Login, hashCode); - hashCode = HashCodeHelper.GetHashCode(Password, hashCode); hashCode = HashCodeHelper.GetHashCode(FirstName, hashCode); hashCode = HashCodeHelper.GetHashCode(LastName, hashCode); hashCode = HashCodeHelper.GetHashCode(Email, hashCode); hashCode = HashCodeHelper.GetHashCode(MailNotification, hashCode); + hashCode = HashCodeHelper.GetHashCode(ApiKey, hashCode); + hashCode = HashCodeHelper.GetHashCode(TwoFactorAuthenticationScheme, hashCode); hashCode = HashCodeHelper.GetHashCode(AuthenticationModeId, hashCode); hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); hashCode = HashCodeHelper.GetHashCode(LastLoginOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(ApiKey, hashCode); hashCode = HashCodeHelper.GetHashCode(Status, hashCode); hashCode = HashCodeHelper.GetHashCode(MustChangePassword, hashCode); - hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); - hashCode = HashCodeHelper.GetHashCode(Memberships, hashCode); - hashCode = HashCodeHelper.GetHashCode(Groups, hashCode); - hashCode = HashCodeHelper.GetHashCode(TwoFactorAuthenticationScheme, hashCode); hashCode = HashCodeHelper.GetHashCode(IsAdmin, hashCode); hashCode = HashCodeHelper.GetHashCode(PasswordChangedOn, hashCode); hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); + hashCode = HashCodeHelper.GetHashCode(Memberships, hashCode); + hashCode = HashCodeHelper.GetHashCode(Groups, hashCode); return hashCode; } } diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index b03d52bb..2861d4b3 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -230,16 +230,16 @@ public override void WriteJson(JsonWriter writer) public override bool Equals(Version other) { if (other == null) return false; - return Id == other.Id && Name == other.Name + return base.Equals(other) && Project == other.Project - && Description == other.Description - && Status == other.Status - && DueDate == other.DueDate - && Sharing == other.Sharing - && CreatedOn == other.CreatedOn - && UpdatedOn == other.UpdatedOn - && Equals(CustomFields, other.CustomFields) - && string.Equals(WikiPageTitle,other.WikiPageTitle, StringComparison.OrdinalIgnoreCase) + && string.Equals(Description, other.Description, StringComparison.Ordinal) + && Status == other.Status + && DueDate == other.DueDate + && Sharing == other.Sharing + && CreatedOn == other.CreatedOn + && UpdatedOn == other.UpdatedOn + && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null) + && string.Equals(WikiPageTitle,other.WikiPageTitle, StringComparison.Ordinal) && EstimatedHours == other.EstimatedHours && SpentHours == other.SpentHours; } diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index e5acd51b..d62aeb63 100644 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -219,11 +219,12 @@ public override bool Equals(WikiPage other) && string.Equals(Title, other.Title, StringComparison.Ordinal) && string.Equals(Text, other.Text, StringComparison.Ordinal) && string.Equals(Comments, other.Comments, StringComparison.Ordinal) + && string.Equals(ParentTitle, other.ParentTitle, StringComparison.Ordinal) && Version == other.Version - && Equals(Author, other.Author) - && CreatedOn.Equals(other.CreatedOn) - && UpdatedOn.Equals(other.UpdatedOn) - && Equals(Attachments, other.Attachments); + && Author == other.Author + && CreatedOn == other.CreatedOn + && UpdatedOn == other.UpdatedOn + && (Attachments?.Equals(other.Attachments) ?? other.Attachments == null); } /// diff --git a/tests/redmine-net-api.Tests/Bugs/RedmineApi-229.cs b/tests/redmine-net-api.Tests/Bugs/RedmineApi-229.cs new file mode 100644 index 00000000..64ae736a --- /dev/null +++ b/tests/redmine-net-api.Tests/Bugs/RedmineApi-229.cs @@ -0,0 +1,125 @@ +using System; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Bugs; + +public sealed class RedmineApi229 +{ + [Fact] + public void Equals_ShouldReturnTrue_WhenComparingWithSelf() + { + // Arrange + var timeEntry = CreateSampleTimeEntry(); + + // Act & Assert + Assert.True(timeEntry.Equals(timeEntry), "TimeEntry should equal itself (reference equality)"); + Assert.True(timeEntry == timeEntry, "TimeEntry should equal itself using == operator"); + Assert.True(timeEntry.Equals((object)timeEntry), "TimeEntry should equal itself when cast to object"); + Assert.Equal(timeEntry.GetHashCode(), timeEntry.GetHashCode()); + } + + [Fact] + public void Equals_ShouldReturnTrue_WhenComparingIdenticalInstances() + { + // Arrange + var timeEntry1 = CreateSampleTimeEntry(); + var timeEntry2 = CreateSampleTimeEntry(); + + // Act & Assert + Assert.True(timeEntry1.Equals(timeEntry2), "Identical TimeEntry instances should be equal"); + Assert.True(timeEntry2.Equals(timeEntry1), "Equality should be symmetric"); + Assert.Equal(timeEntry1.GetHashCode(), timeEntry2.GetHashCode()); + } + + [Fact] + public void Equals_ShouldReturnFalse_WhenComparingWithNull() + { + // Arrange + var timeEntry = CreateSampleTimeEntry(); + + // Act & Assert + Assert.False(timeEntry.Equals(null)); + Assert.False(timeEntry.Equals((object)null)); + } + + [Fact] + public void Equals_ShouldReturnFalse_WhenComparingDifferentTypes() + { + // Arrange + var timeEntry = CreateSampleTimeEntry(); + var differentObject = new object(); + + // Act & Assert + Assert.False(timeEntry.Equals(differentObject)); + } + + [Theory] + [MemberData(nameof(GetDifferentTimeEntries))] + public void Equals_ShouldReturnFalse_WhenPropertiesDiffer(TimeEntry different, string propertyName) + { + // Arrange + var baseline = CreateSampleTimeEntry(); + + // Act & Assert + Assert.False(baseline.Equals(different), $"TimeEntries should not be equal when {propertyName} differs"); + } + + private static TimeEntry CreateSampleTimeEntry() => new() + { + Id = 1, + Project = new IdentifiableName { Id = 1, Name = "Project" }, + Issue = new IdentifiableName { Id = 1, Name = "Issue" }, + User = new IdentifiableName { Id = 1, Name = "User" }, + Activity = new IdentifiableName { Id = 1, Name = "Activity" }, + Hours = (decimal)8.0, + Comments = "Test comment", + SpentOn = new DateTime(2023, 1, 1), + CreatedOn = new DateTime(2023, 1, 1), + UpdatedOn = new DateTime(2023, 1, 1), + CustomFields = + [ + new() { Id = 1, Name = "Field1"} + ] + }; + + public static TheoryData GetDifferentTimeEntries() + { + var data = new TheoryData(); + + // Different ID + var differentId = CreateSampleTimeEntry(); + differentId.Id = 2; + data.Add(differentId, "Id"); + + // Different Project + var differentProject = CreateSampleTimeEntry(); + differentProject.Project = new IdentifiableName { Id = 2, Name = "Different Project" }; + data.Add(differentProject, "Project"); + + // Different Issue + var differentIssue = CreateSampleTimeEntry(); + differentIssue.Issue = new IdentifiableName { Id = 2, Name = "Different Issue" }; + data.Add(differentIssue, "Issue"); + + // Different Hours + var differentHours = CreateSampleTimeEntry(); + differentHours.Hours = (decimal)4.0; + data.Add(differentHours, "Hours"); + + // Different CustomFields + var differentCustomFields = CreateSampleTimeEntry(); + differentCustomFields.CustomFields = + [ + new() { Id = 2, Name = "Field2" } + ]; + data.Add(differentCustomFields, "CustomFields"); + + // Different SpentOn + var differentSpentOn = CreateSampleTimeEntry(); + differentSpentOn.SpentOn = new DateTime(2023, 1, 2); + data.Add(differentSpentOn, "SpentOn"); + + return data; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs b/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs index c77ac1c1..08b3049d 100644 --- a/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs +++ b/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs @@ -1,5 +1,5 @@ using System.Collections.Specialized; -using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Tests; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Net; using Redmine.Net.Api.Types; @@ -7,24 +7,24 @@ namespace Padi.DotNet.RedmineAPI.Tests.Bugs; -public sealed class RedmineApi371 : IClassFixture +public sealed class RedmineApi371 : IClassFixture { - private readonly RedmineFixture _fixture; + private readonly RedmineApiUrlsFixture _fixture; - public RedmineApi371(RedmineFixture fixture) + public RedmineApi371(RedmineApiUrlsFixture fixture) { _fixture = fixture; } [Fact] - public void Should_Return_IssueCategories() + public void Should_Return_IssueCategories_For_Project_Url() { - var result = _fixture.RedmineManager.Get(new RequestOptions() - { - QueryString = new NameValueCollection() + var result = _fixture.Sut.GetListFragment( + new RequestOptions { - { "project_id", 1.ToInvariantString() } - } - }); + QueryString = new NameValueCollection{ { "project_id", 1.ToInvariantString() } } + }); + + Assert.Equal($"projects/1/issue_categories.{_fixture.Format}", result); } } \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Clone/AttachmentCloneTests.cs b/tests/redmine-net-api.Tests/Clone/AttachmentCloneTests.cs new file mode 100644 index 00000000..dc8a2830 --- /dev/null +++ b/tests/redmine-net-api.Tests/Clone/AttachmentCloneTests.cs @@ -0,0 +1,82 @@ +using System; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Clone; + +public sealed class AttachmentCloneTests +{ + [Fact] + public void Clone_WithPopulatedProperties_ReturnsDeepCopy() + { + // Arrange + var attachment = new Attachment + { + Id = 1, + FileName = "test.txt", + FileSize = 1024, + ContentType = "text/plain", + Description = "Test file", + ContentUrl = "http://example.com/test.txt", + ThumbnailUrl = "http://example.com/thumb.txt", + Author = new IdentifiableName(1, "John Doe"), + CreatedOn = DateTime.Now + }; + + // Act + var clone = attachment.Clone(false); + + // Assert + Assert.NotNull(clone); + Assert.NotSame(attachment, clone); + Assert.Equal(attachment.Id, clone.Id); + Assert.Equal(attachment.FileName, clone.FileName); + Assert.Equal(attachment.FileSize, clone.FileSize); + Assert.Equal(attachment.ContentType, clone.ContentType); + Assert.Equal(attachment.Description, clone.Description); + Assert.Equal(attachment.ContentUrl, clone.ContentUrl); + Assert.Equal(attachment.ThumbnailUrl, clone.ThumbnailUrl); + Assert.Equal(attachment.CreatedOn, clone.CreatedOn); + + Assert.NotSame(attachment.Author, clone.Author); + Assert.Equal(attachment.Author.Id, clone.Author.Id); + Assert.Equal(attachment.Author.Name, clone.Author.Name); + } + + [Fact] + public void Clone_With_ResetId_True_Should_Return_A_Copy_With_Id_Set_Zero() + { + // Arrange + var attachment = new Attachment + { + Id = 1, + FileName = "test.txt", + FileSize = 1024, + ContentType = "text/plain", + Description = "Test file", + ContentUrl = "http://example.com/test.txt", + ThumbnailUrl = "http://example.com/thumb.txt", + Author = new IdentifiableName(1, "John Doe"), + CreatedOn = DateTime.Now + }; + + // Act + var clone = attachment.Clone(true); + + // Assert + Assert.NotNull(clone); + Assert.NotSame(attachment, clone); + Assert.NotEqual(attachment.Id, clone.Id); + Assert.Equal(attachment.FileName, clone.FileName); + Assert.Equal(attachment.FileSize, clone.FileSize); + Assert.Equal(attachment.ContentType, clone.ContentType); + Assert.Equal(attachment.Description, clone.Description); + Assert.Equal(attachment.ContentUrl, clone.ContentUrl); + Assert.Equal(attachment.ThumbnailUrl, clone.ThumbnailUrl); + Assert.Equal(attachment.CreatedOn, clone.CreatedOn); + + Assert.NotSame(attachment.Author, clone.Author); + Assert.Equal(attachment.Author.Id, clone.Author.Id); + Assert.Equal(attachment.Author.Name, clone.Author.Name); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Clone/IssueCloneTests.cs b/tests/redmine-net-api.Tests/Clone/IssueCloneTests.cs new file mode 100644 index 00000000..3aac1e6c --- /dev/null +++ b/tests/redmine-net-api.Tests/Clone/IssueCloneTests.cs @@ -0,0 +1,129 @@ +using System; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Clone; + +public sealed class IssueCloneTests +{ + [Fact] + public void Clone_WithNullProperties_ReturnsNewInstanceWithNullProperties() + { + // Arrange + var issue = new Issue(); + + // Act + var clone = issue.Clone(true); + + // Assert + Assert.NotNull(clone); + Assert.NotSame(issue, clone); + Assert.Equal(issue.Id, clone.Id); + Assert.Null(clone.Project); + Assert.Null(clone.Tracker); + Assert.Null(clone.Status); + } + + [Fact] + public void Clone_WithPopulatedProperties_ReturnsDeepCopy() + { + // Arrange + var issue = CreateSampleIssue(); + + // Act + var clone = issue.Clone(true); + + // Assert + Assert.NotNull(clone); + Assert.NotSame(issue, clone); + + Assert.NotEqual(issue.Id, clone.Id); + Assert.Equal(issue.Subject, clone.Subject); + Assert.Equal(issue.Description, clone.Description); + Assert.Equal(issue.DoneRatio, clone.DoneRatio); + Assert.Equal(issue.IsPrivate, clone.IsPrivate); + Assert.Equal(issue.EstimatedHours, clone.EstimatedHours); + Assert.Equal(issue.CreatedOn, clone.CreatedOn); + Assert.Equal(issue.UpdatedOn, clone.UpdatedOn); + Assert.Equal(issue.ClosedOn, clone.ClosedOn); + + Assert.NotSame(issue.Project, clone.Project); + Assert.Equal(issue.Project.Id, clone.Project.Id); + Assert.Equal(issue.Project.Name, clone.Project.Name); + + Assert.NotSame(issue.Tracker, clone.Tracker); + Assert.Equal(issue.Tracker.Id, clone.Tracker.Id); + Assert.Equal(issue.Tracker.Name, clone.Tracker.Name); + + Assert.NotSame(issue.CustomFields, clone.CustomFields); + Assert.Equal(issue.CustomFields.Count, clone.CustomFields.Count); + for (var i = 0; i < issue.CustomFields.Count; i++) + { + Assert.NotSame(issue.CustomFields[i], clone.CustomFields[i]); + Assert.Equal(issue.CustomFields[i].Id, clone.CustomFields[i].Id); + Assert.Equal(issue.CustomFields[i].Name, clone.CustomFields[i].Name); + } + + Assert.NotNull(clone.Attachments); + Assert.Equal(issue.Attachments.Count, clone.Attachments.Count); + Assert.All(clone.Attachments, Assert.NotNull); + } + + [Fact] + public void Clone_ModifyingClone_DoesNotAffectOriginal() + { + // Arrange + var issue = CreateSampleIssue(); + var clone = issue.Clone(true); + + // Act + clone.Subject = "Modified Subject"; + clone.Project.Name = "Modified Project"; + clone.CustomFields[0].Values = [new CustomFieldValue("Modified Value")]; + + // Assert + Assert.NotEqual(issue.Subject, clone.Subject); + Assert.NotEqual(issue.Project.Name, clone.Project.Name); + Assert.NotEqual(issue.CustomFields[0].Values, clone.CustomFields[0].Values); + } + + private static Issue CreateSampleIssue() + { + return new Issue + { + Id = 1, + Project = new IdentifiableName(100, "Test Project"), + Tracker = new IdentifiableName(200, "Bug"), + Status = new IdentifiableName(300, "New"), + Priority = new IdentifiableName(400, "Normal"), + Author = new IdentifiableName(500, "John Doe"), + Subject = "Test Issue", + Description = "Test Description", + StartDate = DateTime.Today, + DueDate = DateTime.Today.AddDays(7), + DoneRatio = 50, + IsPrivate = false, + EstimatedHours = 8.5f, + CreatedOn = DateTime.Now.AddDays(-1), + UpdatedOn = DateTime.Now, + CustomFields = + [ + new IssueCustomField + { + Id = 1, + Name = "Custom Field 1", + } + ], + Attachments = + [ + new Attachment + { + Id = 1, + FileName = "test.txt", + FileSize = 1024, + Author = new IdentifiableName(1, "Author") + } + ] + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Clone/JournalCloneTests.cs b/tests/redmine-net-api.Tests/Clone/JournalCloneTests.cs new file mode 100644 index 00000000..37440f6e --- /dev/null +++ b/tests/redmine-net-api.Tests/Clone/JournalCloneTests.cs @@ -0,0 +1,60 @@ +using System; +using System.Collections.Generic; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Clone; + +public sealed class JournalCloneTests +{ + [Fact] + public void Clone_WithPopulatedProperties_ReturnsDeepCopy() + { + // Arrange + var journal = new Journal + { + Id = 1, + User = new IdentifiableName(1, "John Doe"), + Notes = "Test notes", + CreatedOn = DateTime.Now, + PrivateNotes = true, + Details = (List) + [ + new Detail + { + Property = "status_id", + Name = "Status", + OldValue = "1", + NewValue = "2" + } + ] + }; + + // Act + var clone = journal.Clone(false); + + // Assert + Assert.NotNull(clone); + Assert.NotSame(journal, clone); + Assert.Equal(journal.Id, clone.Id); + Assert.Equal(journal.Notes, clone.Notes); + Assert.Equal(journal.CreatedOn, clone.CreatedOn); + Assert.Equal(journal.PrivateNotes, clone.PrivateNotes); + + Assert.NotSame(journal.User, clone.User); + Assert.Equal(journal.User.Id, clone.User.Id); + Assert.Equal(journal.User.Name, clone.User.Name); + + Assert.NotNull(clone.Details); + Assert.NotSame(journal.Details, clone.Details); + Assert.Equal(journal.Details.Count, clone.Details.Count); + + var originalDetail = journal.Details[0]; + var clonedDetail = clone.Details[0]; + Assert.NotSame(originalDetail, clonedDetail); + Assert.Equal(originalDetail.Property, clonedDetail.Property); + Assert.Equal(originalDetail.Name, clonedDetail.Name); + Assert.Equal(originalDetail.OldValue, clonedDetail.OldValue); + Assert.Equal(originalDetail.NewValue, clonedDetail.NewValue); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/AttachmentEqualityTests.cs b/tests/redmine-net-api.Tests/Equality/AttachmentEqualityTests.cs new file mode 100644 index 00000000..6cc72dd1 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/AttachmentEqualityTests.cs @@ -0,0 +1,66 @@ +using System; +using System.Collections.Generic; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class AttachmentEqualityTests +{ + [Fact] + public void Equals_SameReference_ReturnsTrue() + { + var attachment = CreateSampleAttachment(); + Assert.True(attachment.Equals(attachment)); + } + + [Fact] + public void Equals_Null_ReturnsFalse() + { + var attachment = CreateSampleAttachment(); + Assert.False(attachment.Equals(null)); + } + + [Theory] + [MemberData(nameof(GetDifferentAttachments))] + public void Equals_DifferentProperties_ReturnsFalse(Attachment attachment1, Attachment attachment2, string propertyName) + { + Assert.False(attachment1.Equals(attachment2), $"Attachments should not be equal when {propertyName} is different"); + } + + public static IEnumerable GetDifferentAttachments() + { + var baseAttachment = CreateSampleAttachment(); + + // Different FileName + var differentFileName = CreateSampleAttachment(); + differentFileName.FileName = "different.txt"; + yield return [baseAttachment, differentFileName, "FileName"]; + + // Different FileSize + var differentFileSize = CreateSampleAttachment(); + differentFileSize.FileSize = 2048; + yield return [baseAttachment, differentFileSize, "FileSize"]; + + // Different Author + var differentAuthor = CreateSampleAttachment(); + differentAuthor.Author = new IdentifiableName { Id = 999, Name = "Different Author" }; + yield return [baseAttachment, differentAuthor, "Author"]; + } + + private static Attachment CreateSampleAttachment() + { + return new Attachment + { + Id = 1, + FileName = "test.txt", + FileSize = 1024, + ContentType = "text/plain", + Description = "Test file", + ContentUrl = "https://example.com/test.txt", + ThumbnailUrl = "https://example.com/thumb.txt", + Author = new IdentifiableName { Id = 1, Name = "John Doe" }, + CreatedOn = DateTime.Now + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/BaseEqualityTests.cs b/tests/redmine-net-api.Tests/Equality/BaseEqualityTests.cs new file mode 100644 index 00000000..5ff00d44 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/BaseEqualityTests.cs @@ -0,0 +1,66 @@ +using System; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public abstract class BaseEqualityTests where T : class, IEquatable + { + protected abstract T CreateSampleInstance(); + protected abstract T CreateDifferentInstance(); + + [Fact] + public void Equals_SameReference_ReturnsTrue() + { + var instance = CreateSampleInstance(); + Assert.True(instance.Equals(instance)); + } + + [Fact] + public void Equals_Null_ReturnsFalse() + { + var instance = CreateSampleInstance(); + Assert.False(instance.Equals(null)); + } + + [Fact] + public void Equals_DifferentType_ReturnsFalse() + { + var instance = CreateSampleInstance(); + var differentObject = new object(); + Assert.False(instance.Equals(differentObject)); + } + + [Fact] + public void Equals_IdenticalProperties_ReturnsTrue() + { + var instance1 = CreateSampleInstance(); + var instance2 = CreateSampleInstance(); + Assert.True(instance1.Equals(instance2)); + Assert.True(instance2.Equals(instance1)); + } + + [Fact] + public void Equals_DifferentProperties_ReturnsFalse() + { + var instance1 = CreateSampleInstance(); + var instance2 = CreateDifferentInstance(); + Assert.False(instance1.Equals(instance2)); + Assert.False(instance2.Equals(instance1)); + } + + [Fact] + public void GetHashCode_SameProperties_ReturnsSameValue() + { + var instance1 = CreateSampleInstance(); + var instance2 = CreateSampleInstance(); + Assert.Equal(instance1.GetHashCode(), instance2.GetHashCode()); + } + + [Fact] + public void GetHashCode_DifferentProperties_ReturnsDifferentValues() + { + var instance1 = CreateSampleInstance(); + var instance2 = CreateDifferentInstance(); + Assert.NotEqual(instance1.GetHashCode(), instance2.GetHashCode()); + } + } \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/CustomFieldPossibleValueTests.cs b/tests/redmine-net-api.Tests/Equality/CustomFieldPossibleValueTests.cs new file mode 100644 index 00000000..c6d0fdfc --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/CustomFieldPossibleValueTests.cs @@ -0,0 +1,24 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class CustomFieldPossibleValueTests : BaseEqualityTests +{ + protected override CustomFieldPossibleValue CreateSampleInstance() + { + return new CustomFieldPossibleValue + { + Value = "test-value", + Label = "Test Label" + }; + } + + protected override CustomFieldPossibleValue CreateDifferentInstance() + { + return new CustomFieldPossibleValue + { + Value = "different-value", + Label = "Different Label" + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/CustomFieldRoleTests.cs b/tests/redmine-net-api.Tests/Equality/CustomFieldRoleTests.cs new file mode 100644 index 00000000..7026ff0c --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/CustomFieldRoleTests.cs @@ -0,0 +1,24 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class CustomFieldRoleTests : BaseEqualityTests +{ + protected override IdentifiableName CreateSampleInstance() + { + return new CustomFieldRole + { + Id = 1, + Name = "Test Role" + }; + } + + protected override IdentifiableName CreateDifferentInstance() + { + return new CustomFieldRole + { + Id = 2, + Name = "Different Role" + }; + } +} diff --git a/tests/redmine-net-api.Tests/Equality/CustomFieldTests.cs b/tests/redmine-net-api.Tests/Equality/CustomFieldTests.cs new file mode 100644 index 00000000..4ae461b5 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/CustomFieldTests.cs @@ -0,0 +1,34 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class CustomFieldTests : BaseEqualityTests +{ + protected override CustomField CreateSampleInstance() + { + return new CustomField + { + Id = 1, + Name = "Test Field", + CustomizedType = "issue", + FieldFormat = "string", + Regexp = "", + MinLength = 0, + MaxLength = 100, + IsRequired = false, + IsFilter = true, + Searchable = true, + Multiple = false, + DefaultValue = "default", + Visible = true, + PossibleValues = [new CustomFieldPossibleValue { Value = "value1", Label = "Label 1" }] + }; + } + + protected override CustomField CreateDifferentInstance() + { + var field = CreateSampleInstance(); + field.Name = "Different Field"; + return field; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/DetailTests.cs b/tests/redmine-net-api.Tests/Equality/DetailTests.cs new file mode 100644 index 00000000..296a21d3 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/DetailTests.cs @@ -0,0 +1,28 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class DetailTests : BaseEqualityTests +{ + protected override Detail CreateSampleInstance() + { + return new Detail + { + Property = "status", + Name = "Status", + OldValue = "1", + NewValue = "2" + }; + } + + protected override Detail CreateDifferentInstance() + { + return new Detail + { + Property = "priority", + Name = "Priority", + OldValue = "3", + NewValue = "4" + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/ErrorTests.cs b/tests/redmine-net-api.Tests/Equality/ErrorTests.cs new file mode 100644 index 00000000..46f52c3b --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/ErrorTests.cs @@ -0,0 +1,16 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class ErrorTests : BaseEqualityTests +{ + protected override Error CreateSampleInstance() + { + return new Error( "Test error" ); + } + + protected override Error CreateDifferentInstance() + { + return new Error("Different error"); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/GroupTests.cs b/tests/redmine-net-api.Tests/Equality/GroupTests.cs new file mode 100644 index 00000000..ee272db1 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/GroupTests.cs @@ -0,0 +1,26 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class GroupTests : BaseEqualityTests +{ + protected override Group CreateSampleInstance() + { + return new Group + { + Id = 1, + Name = "Test Group", + Users = [new GroupUser { Id = 1, Name = "User 1" }], + CustomFields = [new IssueCustomField { Id = 1, Name = "Field 1" }], + Memberships = [new Membership { Id = 1, Project = new IdentifiableName { Id = 1, Name = "Project 1" } }] + }; + } + + protected override Group CreateDifferentInstance() + { + var group = CreateSampleInstance(); + group.Name = "Different Group"; + group.Users = [new GroupUser { Id = 2, Name = "User 2" }]; + return group; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/GroupUserTests.cs b/tests/redmine-net-api.Tests/Equality/GroupUserTests.cs new file mode 100644 index 00000000..f177b4eb --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/GroupUserTests.cs @@ -0,0 +1,24 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class GroupUserTests : BaseEqualityTests +{ + protected override IdentifiableName CreateSampleInstance() + { + return new GroupUser + { + Id = 1, + Name = "Test User" + }; + } + + protected override IdentifiableName CreateDifferentInstance() + { + return new GroupUser + { + Id = 2, + Name = "Different User" + }; + } +} diff --git a/tests/redmine-net-api.Tests/Equality/IssueCategoryTests.cs b/tests/redmine-net-api.Tests/Equality/IssueCategoryTests.cs new file mode 100644 index 00000000..1a00e021 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/IssueCategoryTests.cs @@ -0,0 +1,28 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class IssueCategoryTests : BaseEqualityTests +{ + protected override IssueCategory CreateSampleInstance() + { + return new IssueCategory + { + Id = 1, + Name = "Test Category", + Project = new IdentifiableName { Id = 1, Name = "Project 1" }, + AssignTo = new IdentifiableName { Id = 1, Name = "User 1" } + }; + } + + protected override IssueCategory CreateDifferentInstance() + { + return new IssueCategory + { + Id = 2, + Name = "Different Category", + Project = new IdentifiableName { Id = 2, Name = "Project 2" }, + AssignTo = new IdentifiableName { Id = 2, Name = "User 2" } + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/IssueEqualityTests.cs b/tests/redmine-net-api.Tests/Equality/IssueEqualityTests.cs new file mode 100644 index 00000000..90dcc08a --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/IssueEqualityTests.cs @@ -0,0 +1,114 @@ +using System; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class IssueEqualityTests +{ + [Fact] + public void Equals_SameReference_ReturnsTrue() + { + var issue = CreateSampleIssue(); + Assert.True(issue.Equals(issue)); + } + + [Fact] + public void Equals_Null_ReturnsFalse() + { + var issue = CreateSampleIssue(); + Assert.False(issue.Equals(null)); + } + + [Fact] + public void Equals_DifferentType_ReturnsFalse() + { + var issue = CreateSampleIssue(); + var differentObject = new object(); + Assert.False(issue.Equals(differentObject)); + } + + [Fact] + public void Equals_IdenticalProperties_ReturnsTrue() + { + var issue1 = CreateSampleIssue(); + var issue2 = CreateSampleIssue(); + Assert.True(issue1.Equals(issue2)); + Assert.True(issue2.Equals(issue1)); + } + + [Fact] + public void GetHashCode_SameProperties_ReturnsSameValue() + { + var issue1 = CreateSampleIssue(); + var issue2 = CreateSampleIssue(); + Assert.Equal(issue1.GetHashCode(), issue2.GetHashCode()); + } + + [Fact] + public void OperatorEquals_SameObjects_ReturnsTrue() + { + var issue1 = CreateSampleIssue(); + var issue2 = CreateSampleIssue(); + Assert.True(issue1 == issue2); + } + + [Fact] + public void OperatorNotEquals_DifferentObjects_ReturnsTrue() + { + var issue1 = CreateSampleIssue(); + var issue2 = CreateSampleIssue(); + issue2.Subject = "Different Subject"; + Assert.True(issue1 != issue2); + } + + [Fact] + public void Equals_NullCollections_ReturnsTrue() + { + var issue1 = CreateSampleIssue(); + var issue2 = CreateSampleIssue(); + issue1.CustomFields = null; + issue2.CustomFields = null; + Assert.True(issue1.Equals(issue2)); + } + + [Fact] + public void Equals_DifferentCollectionSizes_ReturnsFalse() + { + var issue1 = CreateSampleIssue(); + var issue2 = CreateSampleIssue(); + issue2.CustomFields.Add(new IssueCustomField { Id = 2, Name = "Additional Field" }); + Assert.False(issue1.Equals(issue2)); + } + + private static Issue CreateSampleIssue() + { + return new Issue + { + Id = 1, + Project = new IdentifiableName { Id = 100, Name = "Test Project" }, + Tracker = new IdentifiableName { Id = 1, Name = "Bug" }, + Status = new IdentifiableName { Id = 1, Name = "New" }, + Priority = new IdentifiableName { Id = 1, Name = "Normal" }, + Author = new IdentifiableName { Id = 1, Name = "John Doe" }, + Subject = "Test Issue", + Description = "Test Description", + StartDate = new DateTime(2025, 02,02,10,10,10).Date, + DueDate = new DateTime(2025, 02,02,10,10,10).Date.AddDays(7), + DoneRatio = 0, + IsPrivate = false, + EstimatedHours = 8.5f, + CreatedOn = new DateTime(2025, 02,02,10,10,10), + UpdatedOn = new DateTime(2025, 02,04,15,10,5), + CustomFields = + [ + new IssueCustomField + { + Id = 1, + Name = "Custom Field 1", + Values = [new CustomFieldValue("Value 1")] + } + ] + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/IssueStatusTests.cs b/tests/redmine-net-api.Tests/Equality/IssueStatusTests.cs new file mode 100644 index 00000000..793f7e5c --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/IssueStatusTests.cs @@ -0,0 +1,28 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class IssueStatusTests : BaseEqualityTests +{ + protected override IssueStatus CreateSampleInstance() + { + return new IssueStatus + { + Id = 1, + Name = "New", + IsDefault = true, + IsClosed = false + }; + } + + protected override IssueStatus CreateDifferentInstance() + { + return new IssueStatus + { + Id = 2, + Name = "Closed", + IsDefault = false, + IsClosed = true + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/JournalEqualityTests.cs b/tests/redmine-net-api.Tests/Equality/JournalEqualityTests.cs new file mode 100644 index 00000000..16f2a073 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/JournalEqualityTests.cs @@ -0,0 +1,72 @@ +using System; +using System.Collections.Generic; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class JournalEqualityTests +{ + [Fact] + public void Equals_SameReference_ReturnsTrue() + { + var journal = CreateSampleJournal(); + Assert.True(journal.Equals(journal)); + } + + [Fact] + public void Equals_Null_ReturnsFalse() + { + var journal = CreateSampleJournal(); + Assert.False(journal.Equals(null)); + } + + [Theory] + [MemberData(nameof(GetDifferentJournals))] + public void Equals_DifferentProperties_ReturnsFalse(Journal journal1, Journal journal2, string propertyName) + { + Assert.False(journal1.Equals(journal2), $"Journals should not be equal when {propertyName} is different"); + } + + public static IEnumerable GetDifferentJournals() + { + var baseJournal = CreateSampleJournal(); + + // Different Notes + var differentNotes = CreateSampleJournal(); + differentNotes.Notes = "Different notes"; + yield return [baseJournal, differentNotes, "Notes"]; + + // Different User + var differentUser = CreateSampleJournal(); + differentUser.User = new IdentifiableName { Id = 999, Name = "Different User" }; + yield return [baseJournal, differentUser, "User"]; + + // Different Details + var differentDetails = CreateSampleJournal(); + differentDetails.Details[0].NewValue = "Different value"; + yield return [baseJournal, differentDetails, "Details"]; + } + + private static Journal CreateSampleJournal() + { + return new Journal + { + Id = 1, + User = new IdentifiableName { Id = 1, Name = "John Doe" }, + Notes = "Test notes", + CreatedOn = new DateTime(2025,02,14,14,04,00), + PrivateNotes = true, + Details = + [ + new Detail + { + Property = "status_id", + Name = "Status", + OldValue = "1", + NewValue = "2" + } + ] + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/MembershipTests.cs b/tests/redmine-net-api.Tests/Equality/MembershipTests.cs new file mode 100644 index 00000000..41f15546 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/MembershipTests.cs @@ -0,0 +1,28 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class MembershipTests : BaseEqualityTests +{ + protected override Membership CreateSampleInstance() + { + return new Membership + { + Id = 1, + Project = new IdentifiableName { Id = 1, Name = "Project 1" }, + User = new IdentifiableName { Id = 1, Name = "User 1" }, + Roles = [new MembershipRole { Id = 1, Name = "Developer", Inherited = false }] + }; + } + + protected override Membership CreateDifferentInstance() + { + return new Membership + { + Id = 2, + Project = new IdentifiableName { Id = 2, Name = "Project 2" }, + User = new IdentifiableName { Id = 2, Name = "User 2" }, + Roles = [new MembershipRole { Id = 2, Name = "Manager", Inherited = true }] + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/MyAccountCustomFieldTests.cs b/tests/redmine-net-api.Tests/Equality/MyAccountCustomFieldTests.cs new file mode 100644 index 00000000..aa2036d6 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/MyAccountCustomFieldTests.cs @@ -0,0 +1,26 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public class MyAccountCustomFieldTests : BaseEqualityTests +{ + protected override MyAccountCustomField CreateSampleInstance() + { + return new MyAccountCustomField + { + Id = 1, + Name = "Test Field", + Value = "Test Value", + }; + } + + protected override MyAccountCustomField CreateDifferentInstance() + { + return new MyAccountCustomField + { + Id = 2, + Name = "Different Field", + Value = "Different Value", + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/MyAccountTests.cs b/tests/redmine-net-api.Tests/Equality/MyAccountTests.cs new file mode 100644 index 00000000..6c0fad96 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/MyAccountTests.cs @@ -0,0 +1,40 @@ +using System; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class MyAccountTests : BaseEqualityTests +{ + protected override MyAccount CreateSampleInstance() + { + return new MyAccount + { + Id = 1, + Login = "testaccount", + FirstName = "Test", + LastName = "Account", + Email = "test@example.com", + CreatedOn = new DateTime(2023, 1, 1).Date, + LastLoginOn = new DateTime(2023, 1, 1).Date, + ApiKey = "abc123", + CustomFields = [ + new MyAccountCustomField() { Value = "Value 1" } + ] + }; + } + + protected override MyAccount CreateDifferentInstance() + { + return new MyAccount + { + Id = 2, + Login = "differentaccount", + FirstName = "Different", + LastName = "Account", + Email = "different@example.com", + CreatedOn = new DateTime(2023, 1, 2).Date, + LastLoginOn = new DateTime(2023, 1, 2).Date, + ApiKey = "xyz789" + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/NewsTests.cs b/tests/redmine-net-api.Tests/Equality/NewsTests.cs new file mode 100644 index 00000000..953775ea --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/NewsTests.cs @@ -0,0 +1,37 @@ +using System; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class NewsTests : BaseEqualityTests +{ + protected override News CreateSampleInstance() + { + return new News + { + Id = 1, + Project = new IdentifiableName { Id = 1, Name = "Project 1" }, + Author = new IdentifiableName { Id = 1, Name = "Author 1" }, + Title = "Test News", + Summary = "Test Summary", + Description = "Test Description", + CreatedOn = new DateTime(2023, 1, 1, 0, 0, 0).Date, + Comments = [new NewsComment { Id = 1, Content = "Test Comment" }] + }; + } + + protected override News CreateDifferentInstance() + { + return new News + { + Id = 2, + Project = new IdentifiableName { Id = 2, Name = "Project 2" }, + Author = new IdentifiableName { Id = 2, Name = "Author 2" }, + Title = "Different News", + Summary = "Different Summary", + Description = "Different Description", + CreatedOn = new DateTime(2023, 1, 2).Date, + Comments = [new NewsComment { Id = 2, Content = "Different Comment" }] + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/PermissionTests.cs b/tests/redmine-net-api.Tests/Equality/PermissionTests.cs new file mode 100644 index 00000000..cc35641b --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/PermissionTests.cs @@ -0,0 +1,22 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class PermissionTests : BaseEqualityTests +{ + protected override Permission CreateSampleInstance() + { + return new Permission + { + Info = "add_issues" + }; + } + + protected override Permission CreateDifferentInstance() + { + return new Permission + { + Info = "edit_issues" + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/ProjectMembershipTests.cs b/tests/redmine-net-api.Tests/Equality/ProjectMembershipTests.cs new file mode 100644 index 00000000..6ed4ea0d --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/ProjectMembershipTests.cs @@ -0,0 +1,28 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class ProjectMembershipTests : BaseEqualityTests +{ + protected override ProjectMembership CreateSampleInstance() + { + return new ProjectMembership + { + Id = 1, + Project = new IdentifiableName { Id = 1, Name = "Project 1" }, + User = new IdentifiableName { Id = 1, Name = "User 1" }, + Roles = [new MembershipRole { Id = 1, Name = "Developer" }] + }; + } + + protected override ProjectMembership CreateDifferentInstance() + { + return new ProjectMembership + { + Id = 2, + Project = new IdentifiableName { Id = 2, Name = "Project 2" }, + User = new IdentifiableName { Id = 2, Name = "User 2" }, + Roles = [new MembershipRole { Id = 2, Name = "Manager" }] + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/ProjectTests.cs b/tests/redmine-net-api.Tests/Equality/ProjectTests.cs new file mode 100644 index 00000000..2f2ce5a6 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/ProjectTests.cs @@ -0,0 +1,91 @@ +using System; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class ProjectTests : BaseEqualityTests +{ + protected override Project CreateSampleInstance() + { + return new Project + { + Id = 1, + Name = "Test Project", + Identifier = "test-project", + Description = "Test Description", + HomePage = "https://test.com/", + Status = ProjectStatus.Active, + IsPublic = true, + InheritMembers = true, + DefaultAssignee = new IdentifiableName(5, "DefaultAssignee"), + DefaultVersion = new IdentifiableName(5, "DefaultVersion"), + Parent = new IdentifiableName { Id = 1, Name = "Parent Project" }, + CreatedOn = new DateTime(2023, 1, 1).Date, + UpdatedOn = new DateTime(2023, 1, 1).Date, + Trackers = + [ + new() { Id = 1, Name = "Bug" }, + new() { Id = 2, Name = "Feature" } + ], + + CustomFields = + [ + new() { Id = 1, Name = "Field1"}, + new() { Id = 2, Name = "Field2"} + ], + + IssueCategories = + [ + new() { Id = 1, Name = "Category1" }, + new() { Id = 2, Name = "Category2" } + ], + EnabledModules = + [ + new() { Id = 1, Name = "Module1" }, + new() { Id = 2, Name = "Module2" } + ], + TimeEntryActivities = + [ + new() { Id = 1, Name = "Activity1" }, + new() { Id = 2, Name = "Activity2" } + ] + }; + } + + protected override Project CreateDifferentInstance() + { + return new Project + { + Id = 2, + Name = "Different Project", + Identifier = "different-project", + Description = "Different Description", + HomePage = "https://different.com/", + Status = ProjectStatus.Archived, + IsPublic = false, + Parent = new IdentifiableName { Id = 2, Name = "Different Parent" }, + CreatedOn = new DateTime(2023, 1, 2).Date, + UpdatedOn = new DateTime(2023, 1, 2).Date, + Trackers = + [ + new() { Id = 3, Name = "Different Bug" } + ], + CustomFields = + [ + new() { Id = 3, Name = "DifferentField"} + ], + IssueCategories = + [ + new() { Id = 3, Name = "DifferentCategory" } + ], + EnabledModules = + [ + new() { Id = 3, Name = "DifferentModule" } + ], + TimeEntryActivities = + [ + new() { Id = 3, Name = "DifferentActivity" } + ] + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/QueryTests.cs b/tests/redmine-net-api.Tests/Equality/QueryTests.cs new file mode 100644 index 00000000..74b8beee --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/QueryTests.cs @@ -0,0 +1,28 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class QueryTests : BaseEqualityTests +{ + protected override Query CreateSampleInstance() + { + return new Query + { + Id = 1, + Name = "Test Query", + IsPublic = true, + ProjectId = 1 + }; + } + + protected override Query CreateDifferentInstance() + { + return new Query + { + Id = 2, + Name = "Different Query", + IsPublic = false, + ProjectId = 2 + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/RoleTests.cs b/tests/redmine-net-api.Tests/Equality/RoleTests.cs new file mode 100644 index 00000000..8879c4ba --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/RoleTests.cs @@ -0,0 +1,35 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class RoleTests : BaseEqualityTests +{ + protected override Role CreateSampleInstance() + { + return new Role + { + Id = 1, + Name = "Developer", + Permissions = + [ + new Permission { Info = "add_issues" }, + new Permission { Info = "edit_issues" } + ], + IsAssignable = true + }; + } + + protected override Role CreateDifferentInstance() + { + return new Role + { + Id = 2, + Name = "Manager", + Permissions = + [ + new Permission { Info = "manage_project" } + ], + IsAssignable = false + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/SearchTests.cs b/tests/redmine-net-api.Tests/Equality/SearchTests.cs new file mode 100644 index 00000000..4962b131 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/SearchTests.cs @@ -0,0 +1,33 @@ +using System; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class SearchTests : BaseEqualityTests +{ + protected override Search CreateSampleInstance() + { + return new Search + { + Id = 1, + Title = "Test Search", + Type = "issue", + Url = "http://example.com/search", + Description = "Test Description", + DateTime = new DateTime(2023, 1, 1).Date + }; + } + + protected override Search CreateDifferentInstance() + { + return new Search + { + Id = 2, + Title = "Different Search", + Type = "wiki", + Url = "http://example.com/different", + Description = "Different Description", + DateTime = new DateTime(2023, 1, 2).Date + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/TimeEntryActivityTests.cs b/tests/redmine-net-api.Tests/Equality/TimeEntryActivityTests.cs new file mode 100644 index 00000000..a1554384 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/TimeEntryActivityTests.cs @@ -0,0 +1,28 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class TimeEntryActivityTests : BaseEqualityTests +{ + protected override TimeEntryActivity CreateSampleInstance() + { + return new TimeEntryActivity + { + Id = 1, + Name = "Development", + IsDefault = true, + IsActive = true + }; + } + + protected override TimeEntryActivity CreateDifferentInstance() + { + return new TimeEntryActivity + { + Id = 2, + Name = "Testing", + IsDefault = false, + IsActive = false + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/TimeEntryTests.cs b/tests/redmine-net-api.Tests/Equality/TimeEntryTests.cs new file mode 100644 index 00000000..6e1c3426 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/TimeEntryTests.cs @@ -0,0 +1,53 @@ +using System; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class TimeEntryTests : BaseEqualityTests +{ + protected override TimeEntry CreateSampleInstance() + { + return new TimeEntry + { + Id = 1, + Project = new IdentifiableName { Id = 1, Name = "Project 1" }, + Issue = new IdentifiableName { Id = 1, Name = "Issue 1" }, + User = new IdentifiableName { Id = 1, Name = "User 1" }, + Activity = new IdentifiableName { Id = 1, Name = "Development" }, + Hours = (decimal)8.0, + Comments = "Work done", + SpentOn = new DateTime(2023, 1, 1).Date, + CreatedOn = new DateTime(2023, 1, 1).Date, + UpdatedOn = new DateTime(2023, 1, 1).Date, + CustomFields = + [ + new IssueCustomField + { + Id = 1, + Name = "Field 1", + Values = + [ + new CustomFieldValue("value") + ] + } + ] + }; + } + + protected override TimeEntry CreateDifferentInstance() + { + return new TimeEntry + { + Id = 2, + Project = new IdentifiableName { Id = 2, Name = "Project 2" }, + Issue = new IdentifiableName { Id = 2, Name = "Issue 2" }, + User = new IdentifiableName { Id = 2, Name = "User 2" }, + Activity = new IdentifiableName { Id = 2, Name = "Testing" }, + Hours = (decimal)4.0, + Comments = "Different work", + SpentOn = new DateTime(2023, 1, 2).Date, + CreatedOn = new DateTime(2023, 1, 2).Date, + UpdatedOn = new DateTime(2023, 1, 2).Date + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/TrackerCoreFieldTests.cs b/tests/redmine-net-api.Tests/Equality/TrackerCoreFieldTests.cs new file mode 100644 index 00000000..24f6cecb --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/TrackerCoreFieldTests.cs @@ -0,0 +1,16 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class TrackerCoreFieldTests : BaseEqualityTests +{ + protected override TrackerCoreField CreateSampleInstance() + { + return new TrackerCoreField("Developer"); + } + + protected override TrackerCoreField CreateDifferentInstance() + { + return new TrackerCoreField("Admin"); + } +} diff --git a/tests/redmine-net-api.Tests/Equality/TrackerCustomFieldTests.cs b/tests/redmine-net-api.Tests/Equality/TrackerCustomFieldTests.cs new file mode 100644 index 00000000..e06fd6ea --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/TrackerCustomFieldTests.cs @@ -0,0 +1,24 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class TrackerCustomFieldTests : BaseEqualityTests +{ + protected override IdentifiableName CreateSampleInstance() + { + return new TrackerCustomField + { + Id = 1, + Name = "Test Field" + }; + } + + protected override IdentifiableName CreateDifferentInstance() + { + return new TrackerCustomField + { + Id = 2, + Name = "Different Field" + }; + } +} diff --git a/tests/redmine-net-api.Tests/Equality/UploadTests.cs b/tests/redmine-net-api.Tests/Equality/UploadTests.cs new file mode 100644 index 00000000..48ded660 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/UploadTests.cs @@ -0,0 +1,28 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class UploadTests : BaseEqualityTests +{ + protected override Upload CreateSampleInstance() + { + return new Upload + { + Token = "abc123", + FileName = "test.pdf", + ContentType = "application/pdf", + Description = "Test Upload" + }; + } + + protected override Upload CreateDifferentInstance() + { + return new Upload + { + Token = "xyz789", + FileName = "different.pdf", + ContentType = "application/pdf", + Description = "Different Upload" + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/UserGroupTests.cs b/tests/redmine-net-api.Tests/Equality/UserGroupTests.cs new file mode 100644 index 00000000..005809cb --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/UserGroupTests.cs @@ -0,0 +1,25 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class UserGroupTests : BaseEqualityTests +{ + protected override IdentifiableName CreateSampleInstance() + { + return new UserGroup + { + Id = 1, + Name = "Test Group" + }; + } + + protected override IdentifiableName CreateDifferentInstance() + { + return new UserGroup + { + Id = 2, + Name = "Different Group" + }; + } +} + diff --git a/tests/redmine-net-api.Tests/Equality/UserTests.cs b/tests/redmine-net-api.Tests/Equality/UserTests.cs new file mode 100644 index 00000000..ffc52415 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/UserTests.cs @@ -0,0 +1,65 @@ +using System; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class UserTests : BaseEqualityTests +{ + protected override User CreateSampleInstance() + { + return new User + { + Id = 1, + Login = "testuser", + FirstName = "Test", + LastName = "User", + Email = "test@example.com", + CreatedOn = new DateTime(2023, 1, 1).Date, + LastLoginOn = new DateTime(2023, 1, 1).Date, + ApiKey = "abc123", + Status = UserStatus.StatusActive, + IsAdmin = false, + CustomFields = + [ + new IssueCustomField + { + Id = 1, + Name = "Field 1", + Values = + [ + new CustomFieldValue("Value 1") + ] + } + ], + Memberships = + [ + new Membership + { + Id = 1, + Project = new IdentifiableName { Id = 1, Name = "Project 1" } + } + ], + Groups = + [ + new UserGroup { Id = 1, Name = "Group 1" } + ] + }; + } + + protected override User CreateDifferentInstance() + { + return new User + { + Id = 2, + Login = "differentuser", + FirstName = "Different", + LastName = "User", + Email = "different@example.com", + CreatedOn = new DateTime(2023, 1, 2).Date, + LastLoginOn = new DateTime(2023, 1, 2).Date, + ApiKey = "xyz789", + Status = UserStatus.StatusLocked, + IsAdmin = true + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/VersionTests.cs b/tests/redmine-net-api.Tests/Equality/VersionTests.cs new file mode 100644 index 00000000..5d3e06cc --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/VersionTests.cs @@ -0,0 +1,47 @@ +using System; +using Redmine.Net.Api.Types; +using Version = Redmine.Net.Api.Types.Version; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class VersionTests : BaseEqualityTests +{ + protected override Version CreateSampleInstance() + { + return new Version + { + Id = 1, + Project = new IdentifiableName { Id = 1, Name = "Project 1" }, + Name = "1.0.0", + Description = "First Release", + Status = VersionStatus.Open, + DueDate = new DateTime(2023, 12, 31).Date, + CreatedOn = new DateTime(2023, 1, 1).Date, + UpdatedOn = new DateTime(2023, 1, 1).Date, + Sharing = VersionSharing.None, + CustomFields = + [ + new IssueCustomField + { + Id = 1, Name = "Field 1", Values = [new CustomFieldValue("Value 1")] + } + ] + }; + } + + protected override Version CreateDifferentInstance() + { + return new Version + { + Id = 2, + Project = new IdentifiableName { Id = 2, Name = "Project 2" }, + Name = "2.0.0", + Description = "Second Release", + Status = VersionStatus.Closed, + DueDate = new DateTime(2024, 12, 31).Date, + CreatedOn = new DateTime(2023, 1, 2).Date, + UpdatedOn = new DateTime(2023, 1, 2).Date, + Sharing = VersionSharing.System + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/WatcherTests.cs b/tests/redmine-net-api.Tests/Equality/WatcherTests.cs new file mode 100644 index 00000000..300ece6f --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/WatcherTests.cs @@ -0,0 +1,22 @@ +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class WatcherTests : BaseEqualityTests +{ + protected override Watcher CreateSampleInstance() + { + return new Watcher + { + Id = 1, + }; + } + + protected override Watcher CreateDifferentInstance() + { + return new Watcher + { + Id = 2, + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Equality/WikiPageTests.cs b/tests/redmine-net-api.Tests/Equality/WikiPageTests.cs new file mode 100644 index 00000000..6462f7e6 --- /dev/null +++ b/tests/redmine-net-api.Tests/Equality/WikiPageTests.cs @@ -0,0 +1,47 @@ +using System; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Tests.Equality; + +public sealed class WikiPageTests : BaseEqualityTests +{ + protected override WikiPage CreateSampleInstance() + { + return new WikiPage + { + Id = 1, + Title = "Home Page", + Text = "Welcome to the wiki", + Version = 1, + Author = new IdentifiableName { Id = 1, Name = "Author 1" }, + Comments = "Initial version", + CreatedOn = new DateTime(2023, 1, 1), + UpdatedOn = new DateTime(2023, 1, 1), + Attachments = + [ + new Attachment + { + Id = 1, + FileName = "doc.pdf", + FileSize = 1024, + Author = new IdentifiableName { Id = 1, Name = "Author 1" } + } + ] + }; + } + + protected override WikiPage CreateDifferentInstance() + { + return new WikiPage + { + Id = 2, + Title = "Different Page", + Text = "Different content", + Version = 2, + Author = new IdentifiableName { Id = 2, Name = "Author 2" }, + Comments = "Updated version", + CreatedOn = new DateTime(2023, 1, 2), + UpdatedOn = new DateTime(2023, 1, 2) + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Infrastructure/Collections/JsonRedmineSerializerCollection.cs b/tests/redmine-net-api.Tests/Infrastructure/Collections/JsonRedmineSerializerCollection.cs new file mode 100644 index 00000000..45b0fe86 --- /dev/null +++ b/tests/redmine-net-api.Tests/Infrastructure/Collections/JsonRedmineSerializerCollection.cs @@ -0,0 +1,7 @@ +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure.Collections; + +[CollectionDefinition(Constants.JsonRedmineSerializerCollection)] +public sealed class JsonRedmineSerializerCollection : ICollectionFixture { } \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Infrastructure/Collections/RedmineCollection.cs b/tests/redmine-net-api.Tests/Infrastructure/Collections/RedmineCollection.cs new file mode 100644 index 00000000..8a30da0c --- /dev/null +++ b/tests/redmine-net-api.Tests/Infrastructure/Collections/RedmineCollection.cs @@ -0,0 +1,10 @@ +#if !(NET20 || NET40) +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure.Collections +{ + [CollectionDefinition(Constants.RedmineCollection)] + public sealed class RedmineCollection : ICollectionFixture { } +} +#endif \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Infrastructure/Collections/XmlRedmineSerializerCollection.cs b/tests/redmine-net-api.Tests/Infrastructure/Collections/XmlRedmineSerializerCollection.cs new file mode 100644 index 00000000..02ca7492 --- /dev/null +++ b/tests/redmine-net-api.Tests/Infrastructure/Collections/XmlRedmineSerializerCollection.cs @@ -0,0 +1,7 @@ +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure.Collections; + +[CollectionDefinition(Constants.XmlRedmineSerializerCollection)] +public sealed class XmlRedmineSerializerCollection : ICollectionFixture { } \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Infrastructure/Constants.cs b/tests/redmine-net-api.Tests/Infrastructure/Constants.cs new file mode 100644 index 00000000..f680e785 --- /dev/null +++ b/tests/redmine-net-api.Tests/Infrastructure/Constants.cs @@ -0,0 +1,8 @@ +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure; + +public static class Constants +{ + public const string XmlRedmineSerializerCollection = "XmlRedmineSerializerCollection"; + public const string JsonRedmineSerializerCollection = "JsonRedmineSerializerCollection"; + public const string RedmineCollection = "RedmineCollection"; +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Infrastructure/Fixtures/JsonSerializerFixture.cs b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/JsonSerializerFixture.cs new file mode 100644 index 00000000..d787dd62 --- /dev/null +++ b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/JsonSerializerFixture.cs @@ -0,0 +1,9 @@ +using Redmine.Net.Api.Serialization; + +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; + +public sealed class JsonSerializerFixture +{ + internal IRedmineSerializer Serializer { get; private set; } = new JsonRedmineSerializer(); + +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs new file mode 100644 index 00000000..7a914dae --- /dev/null +++ b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs @@ -0,0 +1,31 @@ +using System.Diagnostics; +using Redmine.Net.Api.Net; + +namespace Padi.DotNet.RedmineAPI.Tests.Tests; + +public sealed class RedmineApiUrlsFixture +{ + internal string Format { get; private set; } + + public RedmineApiUrlsFixture() + { + SetMimeTypeJson(); + SetMimeTypeXml(); + + Sut = new RedmineApiUrls(Format); + } + + internal RedmineApiUrls Sut { get; } + + [Conditional("DEBUG_JSON")] + private void SetMimeTypeJson() + { + Format = "json"; + } + + [Conditional("DEBUG_XML")] + private void SetMimeTypeXml() + { + Format = "json"; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Infrastructure/RedmineFixture.cs b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineFixture.cs similarity index 71% rename from tests/redmine-net-api.Tests/Infrastructure/RedmineFixture.cs rename to tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineFixture.cs index cbcfbc63..6865c398 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/RedmineFixture.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineFixture.cs @@ -1,9 +1,8 @@ using System.Diagnostics; using Redmine.Net.Api; -using Redmine.Net.Api.Authentication; using Redmine.Net.Api.Serialization; -namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures { public sealed class RedmineFixture { @@ -17,23 +16,25 @@ public RedmineFixture () Credentials = TestHelper.GetApplicationConfiguration(); _redmineManagerOptionsBuilder = new RedmineManagerOptionsBuilder() - .WithHost(Credentials.Uri) + .WithHost(Credentials.Uri ?? "localhost") .WithApiKeyAuthentication(Credentials.ApiKey); SetMimeTypeXml(); SetMimeTypeJson(); + + RedmineManager = new RedmineManager(_redmineManagerOptionsBuilder); } [Conditional("DEBUG_JSON")] private void SetMimeTypeJson() { - RedmineManager = new RedmineManager(_redmineManagerOptionsBuilder.WithSerializationType(SerializationType.Json)); + _redmineManagerOptionsBuilder.WithSerializationType(SerializationType.Json); } [Conditional("DEBUG_XML")] private void SetMimeTypeXml() { - RedmineManager = new RedmineManager(_redmineManagerOptionsBuilder.WithSerializationType(SerializationType.Xml)); + _redmineManagerOptionsBuilder.WithSerializationType(SerializationType.Xml); } } } \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Infrastructure/Fixtures/XmlSerializerFixture.cs b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/XmlSerializerFixture.cs new file mode 100644 index 00000000..700329e1 --- /dev/null +++ b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/XmlSerializerFixture.cs @@ -0,0 +1,8 @@ +using Redmine.Net.Api.Serialization; + +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; + +public sealed class XmlSerializerFixture +{ + internal IRedmineSerializer Serializer { get; private set; } = new XmlRedmineSerializer(); +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Infrastructure/Order/CaseOrder.cs b/tests/redmine-net-api.Tests/Infrastructure/Order/CaseOrder.cs index 97c849af..97ddb56a 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/Order/CaseOrder.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/Order/CaseOrder.cs @@ -6,7 +6,7 @@ using Xunit.Abstractions; using Xunit.Sdk; -namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure.Order { /// /// Custom xUnit test case orderer that uses the OrderAttribute diff --git a/tests/redmine-net-api.Tests/Infrastructure/Order/CollectionOrderer.cs b/tests/redmine-net-api.Tests/Infrastructure/Order/CollectionOrderer.cs index abe9cd91..ae7b01da 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/Order/CollectionOrderer.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/Order/CollectionOrderer.cs @@ -7,7 +7,7 @@ using Xunit; using Xunit.Abstractions; -namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure.Order { /// /// Custom xUnit test collection orderer that uses the OrderAttribute diff --git a/tests/redmine-net-api.Tests/Infrastructure/Order/OrderAttribute.cs b/tests/redmine-net-api.Tests/Infrastructure/Order/OrderAttribute.cs index bc837971..c8f07627 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/Order/OrderAttribute.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/Order/OrderAttribute.cs @@ -1,6 +1,6 @@ using System; -namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure.Order { public sealed class OrderAttribute : Attribute { diff --git a/tests/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs b/tests/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs deleted file mode 100644 index fa2bcbd4..00000000 --- a/tests/redmine-net-api.Tests/Infrastructure/RedmineCollection.cs +++ /dev/null @@ -1,9 +0,0 @@ -#if !(NET20 || NET40) -using Xunit; - -namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure -{ - [CollectionDefinition("RedmineCollection")] - public sealed class RedmineCollection : ICollectionFixture { } -} -#endif \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Json/MyAccount.cs b/tests/redmine-net-api.Tests/Serialization/Json/MyAccount.cs new file mode 100644 index 00000000..9aa09515 --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Json/MyAccount.cs @@ -0,0 +1,56 @@ +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Json; + +[Collection(Constants.JsonRedmineSerializerCollection)] +public class MyAccount(JsonSerializerFixture fixture) +{ + [Fact] + public void Test_Xml_Serialization() + { + const string input = """ + { + "user": { + "id": 3, + "login": "dlopper", + "admin": false, + "firstname": "Dave", + "lastname": "Lopper", + "mail": "dlopper@somenet.foo", + "created_on": "2006-07-19T17:33:19Z", + "last_login_on": "2020-06-14T13:03:34Z", + "api_key": "c308a59c9dea95920b13522fb3e0fb7fae4f292d", + "custom_fields": [ + { + "id": 4, + "name": "Phone number", + "value": null + }, + { + "id": 5, + "name": "Money", + "value": null + } + ] + } + } + """; + + var output = fixture.Serializer.Deserialize(input); + Assert.Equal(3, output.Id); + Assert.Equal("dlopper", output.Login); + Assert.False(output.IsAdmin); + Assert.Equal("Dave", output.FirstName); + Assert.Equal("Lopper", output.LastName); + Assert.Equal("dlopper@somenet.foo", output.Email); + Assert.Equal("c308a59c9dea95920b13522fb3e0fb7fae4f292d", output.ApiKey); + Assert.NotNull(output.CustomFields); + Assert.Equal(2, output.CustomFields.Count); + Assert.Equal("Phone number", output.CustomFields[0].Name); + Assert.Equal(4, output.CustomFields[0].Id); + Assert.Equal("Money", output.CustomFields[1].Name); + Assert.Equal(5, output.CustomFields[1].Id); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Json/RoleTests.cs b/tests/redmine-net-api.Tests/Serialization/Json/RoleTests.cs new file mode 100644 index 00000000..2434ea18 --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Json/RoleTests.cs @@ -0,0 +1,45 @@ +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Json; + +[Collection(Constants.JsonRedmineSerializerCollection)] +public sealed class RoleTests(JsonSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Role_And_Permissions() + { + const string input = """ + { + "role": { + "id": 5, + "name": "Reporter", + "assignable": true, + "issues_visibility": "default", + "time_entries_visibility": "all", + "users_visibility": "all", + "permissions": [ + "view_issues", + "add_issues", + "add_issue_notes", + ] + } + } + """; + + var role = fixture.Serializer.Deserialize(input); + + Assert.Equal(5, role.Id); + Assert.Equal("Reporter", role.Name); + Assert.True(role.IsAssignable); + Assert.Equal("default", role.IssuesVisibility); + Assert.Equal("all", role.TimeEntriesVisibility); + Assert.Equal("all", role.UsersVisibility); + Assert.Equal(3, role.Permissions.Count); + Assert.Equal("view_issues", role.Permissions[0].Info); + Assert.Equal("add_issues", role.Permissions[1].Info); + Assert.Equal("add_issue_notes", role.Permissions[2].Info); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/AttachmentTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/AttachmentTests.cs new file mode 100644 index 00000000..85caa2ae --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/AttachmentTests.cs @@ -0,0 +1,43 @@ +using System; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class AttachmentTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Attachment() + { + const string input = """ + + + 6243 + test.txt + 124 + text/plain + This is an attachment + http://localhost:3000/attachments/download/6243/test.txt + + 2011-07-18T22:58:40+02:00 + + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + Assert.Equal(6243, output.Id); + Assert.Equal("test.txt", output.FileName); + Assert.Equal(124, output.FileSize); + Assert.Equal("text/plain", output.ContentType); + Assert.Equal("This is an attachment", output.Description); + Assert.Equal("http://localhost:3000/attachments/download/6243/test.txt", output.ContentUrl); + Assert.Equal("Jean-Philippe Lang", output.Author.Name); + Assert.Equal(1, output.Author.Id); + Assert.Equal(new DateTime(2011, 7, 18, 20, 58, 40, DateTimeKind.Utc).ToLocalTime(), output.CreatedOn); + + } +} + diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/CustomFieldTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/CustomFieldTests.cs new file mode 100644 index 00000000..0cb541a9 --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/CustomFieldTests.cs @@ -0,0 +1,65 @@ +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public sealed class CustomFieldTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_CustomFields() + { + const string input = """ + + + + 1 + Affected version + issue + list + + + + true + true + true + true + + false + + + 0.5.x + + + 0.6.x + + + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(1, output.TotalItems); + + var customFields = output.Items.ToList(); + Assert.Equal(1, customFields[0].Id); + Assert.Equal("Affected version", customFields[0].Name); + Assert.Equal("issue", customFields[0].CustomizedType); + Assert.Equal("list", customFields[0].FieldFormat); + Assert.True(customFields[0].IsRequired); + Assert.True(customFields[0].IsFilter); + Assert.True(customFields[0].Searchable); + Assert.True(customFields[0].Multiple); + Assert.False(customFields[0].Visible); + + var possibleValues = customFields[0].PossibleValues.ToList(); + Assert.Equal(2, possibleValues.Count); + Assert.Equal("0.5.x", possibleValues[0].Value); + Assert.Equal("0.6.x", possibleValues[1].Value); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/EnumerationTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/EnumerationTests.cs new file mode 100644 index 00000000..2d870e8c --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/EnumerationTests.cs @@ -0,0 +1,117 @@ +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class EnumerationTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Issue_Priorities() + { + const string input = """ + + + + 3 + Low + false + + + 4 + Normal + true + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(2, output.TotalItems); + + var issuePriorities = output.Items.ToList(); + Assert.Equal(2, issuePriorities.Count); + + Assert.Equal(3, issuePriorities[0].Id); + Assert.Equal("Low", issuePriorities[0].Name); + Assert.False(issuePriorities[0].IsDefault); + + Assert.Equal(4, issuePriorities[1].Id); + Assert.Equal("Normal", issuePriorities[1].Name); + Assert.True(issuePriorities[1].IsDefault); + } + + [Fact] + public void Should_Deserialize_TimeEntry_Activities() + { + const string input = """ + + + + 8 + Design + false + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Single(output.Items); + + var timeEntryActivities = output.Items.ToList(); + Assert.Equal(8, timeEntryActivities[0].Id); + Assert.Equal("Design", timeEntryActivities[0].Name); + Assert.False(timeEntryActivities[0].IsDefault); + } + + [Fact] + public void Should_Deserialize_Document_Categories() + { + const string input = """ + + + + 1 + Uncategorized + false + + + 2 + User documentation + false + + + 3 + Technical documentation + false + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(3, output.TotalItems); + + var documentCategories = output.Items.ToList(); + Assert.Equal(3, documentCategories.Count); + + Assert.Equal(1, documentCategories[0].Id); + Assert.Equal("Uncategorized", documentCategories[0].Name); + Assert.False(documentCategories[0].IsDefault); + + Assert.Equal(2, documentCategories[1].Id); + Assert.Equal("User documentation", documentCategories[1].Name); + Assert.False(documentCategories[1].IsDefault); + + Assert.Equal(3, documentCategories[2].Id); + Assert.Equal("Technical documentation", documentCategories[2].Name); + Assert.False(documentCategories[2].IsDefault); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/ErrorTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/ErrorTests.cs new file mode 100644 index 00000000..c5e447a5 --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/ErrorTests.cs @@ -0,0 +1,32 @@ +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public sealed class ErrorTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Errors() + { + const string input = """ + + First name can't be blank + Email is invalid + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(2, output.TotalItems); + + var errors = output.Items.ToList(); + Assert.Equal("First name can't be blank", errors[0].Info); + Assert.Equal("Email is invalid", errors[1].Info); + + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/FileTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/FileTests.cs new file mode 100644 index 00000000..72fbd208 --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/FileTests.cs @@ -0,0 +1,87 @@ +using System; +using System.Collections.Generic; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class FileTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_File() + { + const string input = """ + + + 12 + foo-1.0-setup.exe + 74753799 + application/octet-stream + Foo App for Windows + http://localhost:3000/attachments/download/12/foo-1.0-setup.exe + + 2017-01-04T09:12:32Z + + 1276481102f218c981e0324180bafd9f + 12 + + """; + + var output = fixture.Serializer.Deserialize(input); + Assert.NotNull(output); + Assert.Equal(12, output.Id); + Assert.Equal("foo-1.0-setup.exe", output.Filename); + Assert.Equal("application/octet-stream", output.ContentType); + Assert.Equal("Foo App for Windows", output.Description); + Assert.Equal("http://localhost:3000/attachments/download/12/foo-1.0-setup.exe", output.ContentUrl); + Assert.Equal(1, output.Author.Id); + Assert.Equal("Redmine Admin", output.Author.Name); + Assert.Equal(new DateTimeOffset(new DateTime(2017,01,04,09,12,32, DateTimeKind.Utc)), new DateTimeOffset(output.CreatedOn!.Value)); + Assert.Equal(2, output.Version.Id); + Assert.Equal("1.0", output.Version.Name); + Assert.Equal("1276481102f218c981e0324180bafd9f", output.Digest); + Assert.Equal(12, output.Downloads); + } + + [Fact] + public void Should_Deserialize_Files() + { + const string input = """ + + + + 12 + foo-1.0-setup.exe + 74753799 + application/octet-stream + Foo App for Windows + http://localhost:3000/attachments/download/12/foo-1.0-setup.exe + + 2017-01-04T09:12:32Z + + 1276481102f218c981e0324180bafd9f + 12 + + + 11 + foo-1.0.dmg + 6886287 + application/x-octet-stream + Foo App for macOS + http://localhost:3000/attachments/download/11/foo-1.0.dmg + + 2017-01-04T09:12:07Z + + 14758f1afd44c09b7992073ccf00b43d + 5 + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + Assert.NotNull(output); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/GroupTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/GroupTests.cs new file mode 100644 index 00000000..3e057eac --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/GroupTests.cs @@ -0,0 +1,67 @@ +using System.Collections.Generic; +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class GroupTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Group() + { + const string input = """ + + 20 + Developers + + + + + + """; + + var output = fixture.Serializer.Deserialize(input); + Assert.NotNull(output); + Assert.Equal(20, output.Id); + Assert.Equal("Developers", output.Name); + Assert.NotNull(output.Users); + Assert.Equal(2, output.Users.Count); + Assert.Equal("John Smith", output.Users[0].Name); + Assert.Equal("Dave Loper", output.Users[1].Name); + Assert.Equal(5, output.Users[0].Id); + Assert.Equal(8, output.Users[1].Id); + } + + [Fact] + public void Should_Deserialize_Groups() + { + const string input = """ + + + + 53 + Managers + + + 55 + Developers + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + Assert.NotNull(output); + Assert.Equal(2, output.TotalItems); + + var groups = output.Items.ToList(); + Assert.Equal(53, groups[0].Id); + Assert.Equal("Managers", groups[0].Name); + + Assert.Equal(55, groups[1].Id); + Assert.Equal("Developers", groups[1].Name); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/IssueCategoryTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/IssueCategoryTests.cs new file mode 100644 index 00000000..9bf24bdb --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/IssueCategoryTests.cs @@ -0,0 +1,73 @@ +using System.Collections.Generic; +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class IssueCategoryTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Issue_Category() + { + const string input = """ + + + 2 + + UI + + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + Assert.Equal(2, output.Id); + Assert.Equal("Redmine", output.Project.Name); + Assert.Equal(1, output.Project.Id); + Assert.Equal("UI", output.Name); + } + + [Fact] + public void Should_Deserialize_Issue_Categories() + { + const string input = """ + + + + 57 + + UI + + + + 58 + + Test + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(2, output.TotalItems); + + var issueCategories = output.Items.ToList(); + Assert.Equal(2, issueCategories.Count); + + Assert.Equal(57, issueCategories[0].Id); + Assert.Equal("Foo", issueCategories[0].Project.Name); + Assert.Equal(17, issueCategories[0].Project.Id); + Assert.Equal("UI", issueCategories[0].Name); + Assert.Equal("John Smith", issueCategories[0].AssignTo.Name); + Assert.Equal(22, issueCategories[0].AssignTo.Id); + + Assert.Equal(58, issueCategories[1].Id); + Assert.Equal("Foo", issueCategories[1].Project.Name); + Assert.Equal(17, issueCategories[1].Project.Id); + Assert.Equal("Test", issueCategories[1].Name); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/IssueStatusTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/IssueStatusTests.cs new file mode 100644 index 00000000..8e699d0b --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/IssueStatusTests.cs @@ -0,0 +1,47 @@ +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class IssueStatusTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Issue_Statuses() + { + const string input = """ + + + + 1 + New + false + + + 2 + Closed + true + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(2, output.TotalItems); + + var issueStatuses = output.Items.ToList(); + Assert.Equal(2, issueStatuses.Count); + + Assert.Equal(1, issueStatuses[0].Id); + Assert.Equal("New", issueStatuses[0].Name); + Assert.False(issueStatuses[0].IsClosed); + + Assert.Equal(2, issueStatuses[1].Id); + Assert.Equal("Closed", issueStatuses[1].Name); + Assert.True(issueStatuses[1].IsClosed); + } +} + diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/IssueTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/IssueTests.cs new file mode 100644 index 00000000..e326f8db --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/IssueTests.cs @@ -0,0 +1,204 @@ +using System; +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class IssueTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Issues() + { + const string input = """ + + + + 4326 + + + + + + + Aggregate Multiple Issue Changes for Email Notifications + + This is not to be confused with another useful proposed feature that + would do digest emails for notifications. + + 2009-12-03 + + 0 + + Thu Dec 03 15:02:12 +0100 2009 + Sun Jan 03 12:08:41 +0100 2010 + + + 4325 + + + + + + + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(1640, output.TotalItems); + + var issues = output.Items.ToList(); + Assert.Equal(4326, issues[0].Id); + Assert.Equal("Redmine", issues[0].Project.Name); + Assert.Equal(1, issues[0].Project.Id); + Assert.Equal("Feature", issues[0].Tracker.Name); + Assert.Equal(2, issues[0].Tracker.Id); + Assert.Equal("New", issues[0].Status.Name); + Assert.Equal(1, issues[0].Status.Id); + Assert.Equal("Normal", issues[0].Priority.Name); + Assert.Equal(4, issues[0].Priority.Id); + Assert.Equal("John Smith", issues[0].Author.Name); + Assert.Equal(10106, issues[0].Author.Id); + Assert.Equal("Email notifications", issues[0].Category.Name); + Assert.Equal(9, issues[0].Category.Id); + Assert.Equal("Aggregate Multiple Issue Changes for Email Notifications", issues[0].Subject); + Assert.Contains("This is not to be confused with another useful proposed feature", issues[0].Description); + Assert.Equal(new DateTime(2009, 12, 3), issues[0].StartDate); + Assert.Null(issues[0].DueDate); + Assert.Equal(0, issues[0].DoneRatio); + Assert.Null(issues[0].EstimatedHours); + // Assert.Equal(new DateTime(2009, 12, 3, 14, 2, 12, DateTimeKind.Utc).ToLocalTime(), issues[0].CreatedOn); + // Assert.Equal(new DateTime(2010, 1, 3, 11, 8, 41, DateTimeKind.Utc).ToLocalTime(), issues[0].UpdatedOn); + + Assert.Equal(4325, issues[1].Id); + Assert.Null(issues[1].Journals); + Assert.Null(issues[1].ChangeSets); + Assert.Null(issues[1].CustomFields); + } + + [Fact] + public void Should_Deserialize_Issues_With_CustomFields() + { + const string input = """ + + + + 4326 + + + + + + + + Aggregate Multiple Issue Changes for Email Notifications + + + This is not to be confused with another useful proposed feature that + would do digest emails for notifications. + + 2009-12-03 + + 0 + + + Duplicate + Test + 1 + 2010-01-12 + + Thu Dec 03 15:02:12 +0100 2009 + Sun Jan 03 12:08:41 +0100 2010 + + + 4325 + + + + + + + 1.0.1 + + + Fixed + + + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + } + + [Fact] + public void Should_Deserialize_Issue_With_Journals() + { + const string input = """ + + 1 + + + + + + Fixed in Revision 128 + 2007-01-01T05:21:00+01:00 +
+ + + + + 2009-08-13T11:33:17+02:00 +
+ + 5 + 8 + +
+
+ + + + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + Assert.Equal(1, output.Id); + Assert.Equal("Redmine", output.Project.Name); + Assert.Equal(1, output.Project.Id); + Assert.Equal("Defect", output.Tracker.Name); + Assert.Equal(1, output.Tracker.Id); + + var journals = output.Journals.ToList(); + Assert.Equal(2, journals.Count); + + Assert.Equal(1, journals[0].Id); + Assert.Equal("Jean-Philippe Lang", journals[0].User.Name); + Assert.Equal(1, journals[0].User.Id); + Assert.Equal("Fixed in Revision 128", journals[0].Notes); + Assert.Equal(new DateTime(2007, 1, 1, 4, 21, 0, DateTimeKind.Utc).ToLocalTime(), journals[0].CreatedOn); + Assert.Null(journals[0].Details); + + Assert.Equal(10531, journals[1].Id); + Assert.Equal("efgh efgh", journals[1].User.Name); + Assert.Equal(7384, journals[1].User.Id); + Assert.Null(journals[1].Notes); + Assert.Equal(new DateTime(2009, 8, 13, 9, 33, 17, DateTimeKind.Utc).ToLocalTime(), journals[1].CreatedOn); + + var details = journals[1].Details.ToList(); + Assert.Single(details); + Assert.Equal("attr", details[0].Property); + Assert.Equal("status_id", details[0].Name); + Assert.Equal("5", details[0].OldValue); + Assert.Equal("8", details[0].NewValue); + + } +} + diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/MembershipTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/MembershipTests.cs new file mode 100644 index 00000000..9bede534 --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/MembershipTests.cs @@ -0,0 +1,95 @@ +using System.Collections.Generic; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public sealed class MembershipTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Memberships() + { + const string input = """ + + + + 1 + + + + + + + + 3 + + + + + + + + 4 + + + + + + + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + } + + [Fact] + public void Should_Deserialize_Membership() + { + const string input = """ + + + 1 + + + + """; + + var output = fixture.Serializer.Deserialize(input); + Assert.Equal(1, output.Id); + Assert.Equal("Redmine", output.Project.Name); + Assert.Equal(1, output.Project.Id); + Assert.Equal("David Robert", output.User.Name); + Assert.Equal(17, output.User.Id); + } + + [Fact] + public void Should_Deserialize_Membership_With_Roles() + { + const string input = """ + + + 1 + + + + + + + """; + + var output = fixture.Serializer.Deserialize(input); + Assert.Equal(1, output.Id); + Assert.Equal("Redmine", output.Project.Name); + Assert.Equal(1, output.Project.Id); + Assert.Equal("David Robert", output.User.Name); + Assert.Equal(17, output.User.Id); + Assert.NotNull(output.Roles); + Assert.Single(output.Roles); + Assert.Equal("Manager", output.Roles[0].Name); + Assert.Equal(1, output.Roles[0].Id); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/MyAccountTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/MyAccountTests.cs new file mode 100644 index 00000000..ae1b70e2 --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/MyAccountTests.cs @@ -0,0 +1,79 @@ +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class MyAccountTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_MyAccount() + { + const string input = """ + + + 3 + dlopper + false + Dave + Lopper + dlopper@somenet.foo + 2006-07-19T17:33:19Z + 2020-06-14T13:03:34Z + c308a59c9dea95920b13522fb3e0fb7fae4f292d + + """; + + var output = fixture.Serializer.Deserialize(input); + Assert.Equal(3, output.Id); + Assert.Equal("dlopper", output.Login); + Assert.False(output.IsAdmin); + Assert.Equal("Dave", output.FirstName); + Assert.Equal("Lopper", output.LastName); + Assert.Equal("dlopper@somenet.foo", output.Email); + Assert.Equal("c308a59c9dea95920b13522fb3e0fb7fae4f292d", output.ApiKey); + } + + [Fact] + public void Should_Deserialize_MyAccount_With_CustomFields() + { + const string input = """ + + + 3 + dlopper + false + Dave + Lopper + dlopper@somenet.foo + 2006-07-19T17:33:19Z + 2020-06-14T13:03:34Z + c308a59c9dea95920b13522fb3e0fb7fae4f292d + + + + + + + + + + """; + + var output = fixture.Serializer.Deserialize(input); + Assert.Equal(3, output.Id); + Assert.Equal("dlopper", output.Login); + Assert.False(output.IsAdmin); + Assert.Equal("Dave", output.FirstName); + Assert.Equal("Lopper", output.LastName); + Assert.Equal("dlopper@somenet.foo", output.Email); + Assert.Equal("c308a59c9dea95920b13522fb3e0fb7fae4f292d", output.ApiKey); + Assert.NotNull(output.CustomFields); + Assert.Equal(2, output.CustomFields.Count); + Assert.Equal("Phone number", output.CustomFields[0].Name); + Assert.Equal(4, output.CustomFields[0].Id); + Assert.Equal("Money", output.CustomFields[1].Name); + Assert.Equal(5, output.CustomFields[1].Id); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/NewsTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/NewsTests.cs new file mode 100644 index 00000000..0b29de40 --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/NewsTests.cs @@ -0,0 +1,67 @@ +using System; +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class NewsTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_News() + { + const string input = """ + + + + 54 + + + Redmine 1.1.3 released + + Redmine 1.1.3 has been released + 2011-04-29T14:00:25+02:00 + + + 53 + + + Redmine 1.1.2 bug/security fix released + + Redmine 1.1.2 has been released + 2011-03-07T21:07:03+01:00 + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(2, output.TotalItems); + + var newsItems = output.Items.ToList(); + Assert.Equal(2, newsItems.Count); + + Assert.Equal(54, newsItems[0].Id); + Assert.Equal("Redmine", newsItems[0].Project.Name); + Assert.Equal(1, newsItems[0].Project.Id); + Assert.Equal("Jean-Philippe Lang", newsItems[0].Author.Name); + Assert.Equal(1, newsItems[0].Author.Id); + Assert.Equal("Redmine 1.1.3 released", newsItems[0].Title); + Assert.Equal("Redmine 1.1.3 has been released", newsItems[0].Description); + Assert.Equal(new DateTime(2011, 4, 29, 12, 0, 25, DateTimeKind.Utc).ToLocalTime(), newsItems[0].CreatedOn); + + Assert.Equal(53, newsItems[1].Id); + Assert.Equal("Redmine", newsItems[1].Project.Name); + Assert.Equal(1, newsItems[1].Project.Id); + Assert.Equal("Jean-Philippe Lang", newsItems[1].Author.Name); + Assert.Equal(1, newsItems[1].Author.Id); + Assert.Equal("Redmine 1.1.2 bug/security fix released", newsItems[1].Title); + Assert.Equal("Redmine 1.1.2 has been released", newsItems[1].Description); + Assert.Equal(new DateTime(2011, 3, 7, 20, 7, 3, DateTimeKind.Utc).ToLocalTime(), newsItems[1].CreatedOn); + + } +} + diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/ProjectTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/ProjectTests.cs new file mode 100644 index 00000000..fd0072c7 --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/ProjectTests.cs @@ -0,0 +1,87 @@ +using System; +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class ProjectTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Project() + { + const string input = """ + + + 1 + Redmine + redmine + + Redmine is a flexible project management web application written using Ruby on Rails framework. + + + 1 + + + + 2007-09-29T12:03:04+02:00 + 2009-03-15T12:35:11+01:00 + true + + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + + Assert.Equal(1, output.Id); + Assert.Equal("Redmine", output.Name); + Assert.Equal("redmine", output.Identifier); + Assert.Contains("Redmine is a flexible project management web application", output.Description); + Assert.Equal(new DateTime(2007, 9, 29, 10, 3, 4, DateTimeKind.Utc).ToLocalTime(), output.CreatedOn); + Assert.Equal(new DateTime(2009, 3, 15, 11, 35, 11, DateTimeKind.Utc).ToLocalTime(), output.UpdatedOn); + Assert.True(output.IsPublic); + } + + [Fact] + public void Should_Deserialize_Projects() + { + const string input = """ + + + + 1 + Redmine + redmine + + Redmine is a flexible project management web application written using Ruby on Rails framework. + + 2007-09-29T12:03:04+02:00 + 2009-03-15T12:35:11+01:00 + true + + + 2 + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(2, output.TotalItems); + + var projects = output.Items.ToList(); + Assert.Equal(1, projects[0].Id); + Assert.Equal("Redmine", projects[0].Name); + Assert.Equal("redmine", projects[0].Identifier); + Assert.Contains("Redmine is a flexible project management web application", projects[0].Description); + Assert.Equal(new DateTime(2007, 9, 29, 10, 3, 4, DateTimeKind.Utc).ToLocalTime(), projects[0].CreatedOn); + Assert.Equal(new DateTime(2009, 3, 15, 11, 35, 11, DateTimeKind.Utc).ToLocalTime(), projects[0].UpdatedOn); + Assert.True(projects[0].IsPublic); + + Assert.Equal(2, projects[1].Id); + } +} diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/QueryTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/QueryTests.cs new file mode 100644 index 00000000..5927739a --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/QueryTests.cs @@ -0,0 +1,51 @@ +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class QueryTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Version() + { + const string input = """ + + + + 84 + Documentation issues + true + 1 + + + 1 + Open defects + true + 1 + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(5, output.TotalItems); + + var queries = output.Items.ToList(); + Assert.Equal(2, queries.Count); + + Assert.Equal(84, queries[0].Id); + Assert.Equal("Documentation issues", queries[0].Name); + Assert.True(queries[0].IsPublic); + Assert.Equal(1, queries[0].ProjectId); + + Assert.Equal(1, queries[1].Id); + Assert.Equal("Open defects", queries[1].Name); + Assert.True(queries[1].IsPublic); + Assert.Equal(1, queries[1].ProjectId); + } +} + diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/RelationTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/RelationTests.cs new file mode 100644 index 00000000..f06be8ac --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/RelationTests.cs @@ -0,0 +1,81 @@ +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class RelationTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Relation() + { + const string input = """ + + + 1819 + 8470 + 8469 + relates + + + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + Assert.Equal(1819, output.Id); + Assert.Equal(8470, output.IssueId); + Assert.Equal(8469, output.IssueToId); + Assert.Equal(IssueRelationType.Relates, output.Type); + Assert.Null(output.Delay); + } + + [Fact] + public void Should_Deserialize_Relations() + { + const string input = """ + + + + 1819 + 8470 + 8469 + relates + + + + 1820 + 8470 + 8467 + relates + + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(2, output.TotalItems); + + var relations = output.Items.ToList(); + Assert.Equal(2, relations.Count); + + Assert.Equal(1819, relations[0].Id); + Assert.Equal(8470, relations[0].IssueId); + Assert.Equal(8469, relations[0].IssueToId); + Assert.Equal(IssueRelationType.Relates, relations[0].Type); + Assert.Null(relations[0].Delay); + + Assert.Equal(1820, relations[1].Id); + Assert.Equal(8470, relations[1].IssueId); + Assert.Equal(8467, relations[1].IssueToId); + Assert.Equal(IssueRelationType.Relates, relations[1].Type); + Assert.Null(relations[1].Delay); + } +} + + diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/RoleTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/RoleTests.cs new file mode 100644 index 00000000..7d695ef5 --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/RoleTests.cs @@ -0,0 +1,95 @@ +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public sealed class RoleTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Role() + { + const string input = """ + + 5 + Reporter + true + default + all + all + + """; + var role = fixture.Serializer.Deserialize(input); + + Assert.Equal(5, role.Id); + Assert.Equal("Reporter", role.Name); + Assert.True(role.IsAssignable); + Assert.Equal("default", role.IssuesVisibility); + Assert.Equal("all", role.TimeEntriesVisibility); + Assert.Equal("all", role.UsersVisibility); + } + + [Fact] + public void Should_Deserialize_Role_And_Permissions() + { + const string input = """ + + 5 + Reporter + true + default + all + all + + view_issues + add_issues + add_issue_notes + + + """; + var role = fixture.Serializer.Deserialize(input); + + Assert.Equal(5, role.Id); + Assert.Equal("Reporter", role.Name); + Assert.True(role.IsAssignable); + Assert.Equal("default", role.IssuesVisibility); + Assert.Equal("all", role.TimeEntriesVisibility); + Assert.Equal("all", role.UsersVisibility); + Assert.Equal(3, role.Permissions.Count); + Assert.Equal("view_issues", role.Permissions[0].Info); + Assert.Equal("add_issues", role.Permissions[1].Info); + Assert.Equal("add_issue_notes", role.Permissions[2].Info); + } + + [Fact] + public void Should_Deserialize_Roles() + { + const string input = """ + + + + 1 + Manager + + + 2 + Developer + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + Assert.NotNull(output); + Assert.Equal(2, output.TotalItems); + + var roles = output.Items.ToList(); + Assert.Equal(1, roles[0].Id); + Assert.Equal("Manager", roles[0].Name); + + Assert.Equal(2, roles[1].Id); + Assert.Equal("Developer", roles[1].Name); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/SearchTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/SearchTests.cs new file mode 100644 index 00000000..5c60001f --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/SearchTests.cs @@ -0,0 +1,59 @@ +using System; +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public sealed class SearchTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Search_Result() + { + const string input = """ + + + 5 + Wiki: Wiki_Page_Name + wiki-page + http://www.redmine.org/projects/new_crm_dev/wiki/Wiki_Page_Name + h1. Wiki Page Name wiki_keyword + 2016-03-25T05:23:35Z + + + 10 + Issue #10 (Closed): Issue_Title + issue closed + http://www.redmin.org/issues/10 + issue_keyword + 2016-03-24T05:18:59Z + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(2, output.TotalItems); + Assert.Equal(25, output.PageSize); + + var results = output.Items.ToList(); + Assert.Equal(5, results[0].Id); + Assert.Equal("Wiki: Wiki_Page_Name", results[0].Title); + Assert.Equal("wiki-page", results[0].Type); + Assert.Equal("http://www.redmine.org/projects/new_crm_dev/wiki/Wiki_Page_Name", results[0].Url); + Assert.Equal("h1. Wiki Page Name wiki_keyword", results[0].Description); + Assert.Equal(new DateTime(2016, 3, 25, 5, 23, 35, DateTimeKind.Utc).ToLocalTime(), results[0].DateTime); + + Assert.Equal(10, results[1].Id); + Assert.Equal("Issue #10 (Closed): Issue_Title", results[1].Title); + Assert.Equal("issue closed", results[1].Type); + Assert.Equal("http://www.redmin.org/issues/10", results[1].Url); + Assert.Equal("issue_keyword", results[1].Description); + Assert.Equal(new DateTime(2016, 3, 24, 5, 18, 59, DateTimeKind.Utc).ToLocalTime(), results[1].DateTime); + + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/TrackerTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/TrackerTests.cs new file mode 100644 index 00000000..a61410cb --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/TrackerTests.cs @@ -0,0 +1,134 @@ +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class TrackerTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Tracker() + { + const string input = """ + + + 1 + Defect + + Description for Bug tracker + + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + + Assert.Equal(1, output.Id); + Assert.Equal("Defect", output.Name); + Assert.Equal("New", output.DefaultStatus.Name); + Assert.Equal("Description for Bug tracker", output.Description); + } + + [Fact] + public void Should_Deserialize_Tracker_With_Enumerations() + { + const string input = """ + + + 1 + Defect + + Description for Bug tracker + + assigned_to_id + category_id + fixed_version_id + parent_issue_id + start_date + due_date + estimated_hours + done_ratio + description + + + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + + Assert.Equal(1, output.Id); + Assert.Equal("Defect", output.Name); + Assert.Equal("New", output.DefaultStatus.Name); + Assert.Equal("Description for Bug tracker", output.Description); + Assert.Equal(9, output.EnabledStandardFields.Count); + } + + [Fact] + public void Should_Deserialize_Trackers() + { + const string input = """ + + + + 1 + Defect + + Description for Bug tracker + + assigned_to_id + category_id + fixed_version_id + parent_issue_id + start_date + due_date + estimated_hours + done_ratio + description + + + + 2 + Feature + + Description for Feature request tracker + + assigned_to_id + category_id + fixed_version_id + parent_issue_id + start_date + due_date + estimated_hours + done_ratio + description + + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(2, output.TotalItems); + + var trackers = output.Items.ToList(); + Assert.Equal(2, trackers.Count); + + Assert.Equal(1, trackers[0].Id); + Assert.Equal("Defect", trackers[0].Name); + Assert.Equal("New", trackers[0].DefaultStatus.Name); + Assert.Equal("Description for Bug tracker", trackers[0].Description); + Assert.Equal(9, trackers[0].EnabledStandardFields.Count); + + Assert.Equal(2, trackers[1].Id); + Assert.Equal("Feature", trackers[1].Name); + Assert.Equal("New", trackers[1].DefaultStatus.Name); + Assert.Equal("Description for Feature request tracker", trackers[1].Description); + Assert.Equal(9, trackers[1].EnabledStandardFields.Count); + + } +} diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/UploadTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/UploadTests.cs new file mode 100644 index 00000000..ff191c89 --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/UploadTests.cs @@ -0,0 +1,62 @@ +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class UploadTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Upload() + { + const string input = """ + + + #{token1} + test1.txt + + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + Assert.Equal("#{token1}", output.Token); + Assert.Equal("test1.txt", output.FileName); + } + + [Fact] + public void Should_Deserialize_Uploads() + { + const string input = """ + + + + #{token1} + test1.txt + + + #{token2} + test1.txt + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(2, output.TotalItems); + + var uploads = output.Items.ToList(); + Assert.Equal(2, uploads.Count); + + Assert.Equal("#{token1}", uploads[0].Token); + Assert.Equal("test1.txt", uploads[0].FileName); + + Assert.Equal("#{token2}", uploads[1].Token); + Assert.Equal("test1.txt", uploads[1].FileName); + + } +} + diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/UserTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/UserTests.cs new file mode 100644 index 00000000..e24b0a57 --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/UserTests.cs @@ -0,0 +1,159 @@ +using System; +using System.Collections; +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class UserTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_User() + { + const string input = """ + + + 3 + jplang + Jean-Philippe + Lang + jp_lang@yahoo.fr + 2007-09-28T00:16:04+02:00 + 2010-08-01T18:05:45+02:00 + 2011-08-01T18:05:45+02:00 + 2011-08-01T18:05:45+02:00 + ebc3f6b781a6fb3f2b0a83ce0ebb80e0d585189d + + 1 + + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + Assert.Equal(3, output.Id); + Assert.Equal("jplang", output.Login); + Assert.Equal("Jean-Philippe", output.FirstName); + Assert.Equal("Lang", output.LastName); + Assert.Equal("jp_lang@yahoo.fr", output.Email); + Assert.Equal(new DateTime(2007, 9, 28, 0, 16, 4, DateTimeKind.Local).AddHours(1), output.CreatedOn); + Assert.Equal(new DateTime(2010, 8, 1, 18, 5, 45, DateTimeKind.Local).AddHours(1), output.UpdatedOn); + Assert.Equal(new DateTime(2011, 8, 1, 18, 5, 45, DateTimeKind.Local).AddHours(1), output.LastLoginOn); + Assert.Equal(new DateTime(2011, 8, 1, 18, 5, 45, DateTimeKind.Local).AddHours(1), output.PasswordChangedOn); + Assert.Equal("ebc3f6b781a6fb3f2b0a83ce0ebb80e0d585189d", output.ApiKey); + Assert.Empty(output.AvatarUrl); + Assert.Equal(UserStatus.StatusActive, output.Status); + } + + [Fact] + public void Should_Deserialize_User_With_Memberships() + { + const string input = """ + + + 3 + jplang + Jean-Philippe + Lang + jp_lang@yahoo.fr + 2007-09-28T00:16:04+02:00 + 2010-08-01T18:05:45+02:00 + 2011-08-01T18:05:45+02:00 + 2011-08-01T18:05:45+02:00 + ebc3f6b781a6fb3f2b0a83ce0ebb80e0d585189d + + 1 + + + + + + + + + + + + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + Assert.Equal(3, output.Id); + Assert.Equal("jplang", output.Login); + Assert.Equal("Jean-Philippe", output.FirstName); + Assert.Equal("Lang", output.LastName); + Assert.Equal("jp_lang@yahoo.fr", output.Email); + Assert.Equal(new DateTime(2007, 9, 28, 0, 16, 4, DateTimeKind.Local).AddHours(1), output.CreatedOn); + Assert.Equal(new DateTime(2010, 8, 1, 18, 5, 45, DateTimeKind.Local).AddHours(1), output.UpdatedOn); + Assert.Equal(new DateTime(2011, 8, 1, 18, 5, 45, DateTimeKind.Local).AddHours(1), output.LastLoginOn); + Assert.Equal(new DateTime(2011, 8, 1, 18, 5, 45, DateTimeKind.Local).AddHours(1), output.PasswordChangedOn); + Assert.Equal("ebc3f6b781a6fb3f2b0a83ce0ebb80e0d585189d", output.ApiKey); + Assert.Empty(output.AvatarUrl); + Assert.Equal(UserStatus.StatusActive, output.Status); + + var memberships = output.Memberships.ToList(); + Assert.Single(memberships); + Assert.Equal("Redmine", memberships[0].Project.Name); + Assert.Equal(1, memberships[0].Project.Id); + + var roles = memberships[0].Roles.ToList(); + Assert.Equal(2, roles.Count); + Assert.Equal("Administrator", roles[0].Name); + Assert.Equal(3, roles[0].Id); + Assert.Equal("Contributor", roles[1].Name); + Assert.Equal(4, roles[1].Id); + } + + [Fact] + public void Should_Deserialize_User_With_Groups() + { + const string input = """ + + + 3 + jplang + Jean-Philippe + Lang + jp_lang@yahoo.fr + 2007-09-28T00:16:04+02:00 + 2010-08-01T18:05:45+02:00 + 2011-08-01T18:05:45+02:00 + 2011-08-01T18:05:45+02:00 + ebc3f6b781a6fb3f2b0a83ce0ebb80e0d585189d + + 1 + + + + + + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + Assert.Equal(3, output.Id); + Assert.Equal("jplang", output.Login); + Assert.Equal("Jean-Philippe", output.FirstName); + Assert.Equal("Lang", output.LastName); + Assert.Equal("jp_lang@yahoo.fr", output.Email); + Assert.Equal(new DateTime(2007, 9, 28, 0, 16, 4, DateTimeKind.Local).AddHours(1), output.CreatedOn); + Assert.Equal(new DateTime(2010, 8, 1, 18, 5, 45, DateTimeKind.Local).AddHours(1), output.UpdatedOn); + Assert.Equal(new DateTime(2011, 8, 1, 18, 5, 45, DateTimeKind.Local).AddHours(1), output.LastLoginOn); + Assert.Equal(new DateTime(2011, 8, 1, 18, 5, 45, DateTimeKind.Local).AddHours(1), output.PasswordChangedOn); + Assert.Equal("ebc3f6b781a6fb3f2b0a83ce0ebb80e0d585189d", output.ApiKey); + Assert.Empty(output.AvatarUrl); + Assert.Equal(UserStatus.StatusActive, output.Status); + + var groups = output.Groups.ToList(); + Assert.Single(groups); + Assert.Equal("Developers", groups[0].Name); + Assert.Equal(20, groups[0].Id); + } +} + diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/VersionTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/VersionTests.cs new file mode 100644 index 00000000..860e1a93 --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/VersionTests.cs @@ -0,0 +1,111 @@ +using System; +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class VersionTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Version() + { + const string input = """ + + + 2 + + 0.8 + + closed + 2008-12-30 + 0.0 + 0.0 + 2008-03-09T12:52:12+01:00 + 2009-11-15T12:22:12+01:00 + + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + Assert.Equal(2, output.Id); + Assert.Equal("Redmine", output.Project.Name); + Assert.Equal(1, output.Project.Id); + Assert.Equal("0.8", output.Name); + Assert.Equal(VersionStatus.Closed, output.Status); + Assert.Equal(new DateTime(2008, 12, 30), output.DueDate); + Assert.Equal(0.0f, output.EstimatedHours); + Assert.Equal(0.0f, output.SpentHours); + Assert.Equal(new DateTime(2008, 3, 9, 12, 52, 12, DateTimeKind.Local).AddHours(1), output.CreatedOn); + Assert.Equal(new DateTime(2009, 11, 15, 12, 22, 12, DateTimeKind.Local).AddHours(1), output.UpdatedOn); + + } + + [Fact] + public void Should_Deserialize_Versions() + { + const string input = """ + + + + 1 + + 0.7 + + closed + 2008-04-28 + none + 2008-03-09T12:52:06+01:00 + 2009-11-15T12:22:12+01:00 + FooBarWikiPage + + + 2 + + 0.8 + + closed + 2008-12-30 + none + FooBarWikiPage + 2008-03-09T12:52:12+01:00 + 2009-11-15T12:22:12+01:00 + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(34, output.TotalItems); + + var versions = output.Items.ToList(); + Assert.Equal(1, versions[0].Id); + Assert.Equal("Redmine", versions[0].Project.Name); + Assert.Equal(1, versions[0].Project.Id); + Assert.Equal("0.7", versions[0].Name); + Assert.Equal(VersionStatus.Closed, versions[0].Status); + Assert.Equal(new DateTime(2008, 4, 28), versions[0].DueDate); + Assert.Equal(VersionSharing.None, versions[0].Sharing); + Assert.Equal("FooBarWikiPage", versions[0].WikiPageTitle); + Assert.Equal(new DateTime(2008, 3, 9, 12, 52, 6, DateTimeKind.Local).AddHours(1), versions[0].CreatedOn); + Assert.Equal(new DateTime(2009, 11, 15, 12, 22, 12, DateTimeKind.Local).AddHours(1), versions[0].UpdatedOn); + + Assert.Equal(2, versions[1].Id); + Assert.Equal("Redmine", versions[1].Project.Name); + Assert.Equal(1, versions[1].Project.Id); + Assert.Equal("0.8", versions[1].Name); + Assert.Equal(VersionStatus.Closed, versions[1].Status); + Assert.Equal(new DateTime(2008, 12, 30), versions[1].DueDate); + Assert.Equal(VersionSharing.None, versions[1].Sharing); + Assert.Equal(new DateTime(2008, 3, 9, 12, 52, 12, DateTimeKind.Local).AddHours(1), versions[1].CreatedOn); + Assert.Equal(new DateTime(2009, 11, 15, 12, 22, 12, DateTimeKind.Local).AddHours(1), versions[1].UpdatedOn); + + } +} + + \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/WikiTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/WikiTests.cs new file mode 100644 index 00000000..768ffde0 --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Xml/WikiTests.cs @@ -0,0 +1,86 @@ +using System; +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; + +[Collection(Constants.XmlRedmineSerializerCollection)] +public class WikiTests(XmlSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Wiki_Page() + { + const string input = """ + + + UsersGuide + + h1. Users Guide + ... + ... + 22 + + Typo + 2009-05-18T20:11:52Z + 2012-10-02T11:38:18Z + + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + Assert.Equal("UsersGuide", output.Title); + Assert.NotNull(output.ParentTitle); + Assert.Equal("Installation_Guide", output.ParentTitle); + + Assert.NotNull(output.Text); + Assert.False(string.IsNullOrWhiteSpace(output.Text), "Text should not be empty"); + + var lines = output.Text!.Split(['\r', '\n'], StringSplitOptions.RemoveEmptyEntries); + var firstLine = lines[0].Trim(); + + Assert.Equal("h1. Users Guide", firstLine); + + Assert.Equal(22, output.Version); + Assert.NotNull(output.Author); + Assert.Equal(11, output.Author.Id); + Assert.Equal("John Smith", output.Author.Name); + Assert.Equal("Typo", output.Comments); + Assert.Equal(new DateTime(2009, 5, 18, 20, 11, 52, DateTimeKind.Utc).ToLocalTime(), output.CreatedOn); + Assert.Equal(new DateTime(2012, 10, 2, 11, 38, 18, DateTimeKind.Utc).ToLocalTime(), output.UpdatedOn); + + } + + [Fact] + public void Should_Deserialize_Wiki_Pages() + { + const string input = """ + + + + UsersGuide + 2 + 2008-03-09T12:07:08Z + 2008-03-09T23:41:33+01:00 + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(1, output.TotalItems); + + var wikiPages = output.Items.ToList(); + Assert.Equal("UsersGuide", wikiPages[0].Title); + Assert.Equal(2, wikiPages[0].Version); + Assert.Equal(new DateTime(2008, 3, 9, 12, 7, 8, DateTimeKind.Utc).ToLocalTime(), wikiPages[0].CreatedOn); + Assert.Equal(new DateTime(2008, 3, 9, 22, 41, 33, DateTimeKind.Utc).ToLocalTime(), wikiPages[0].UpdatedOn); + } +} + + + + \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Tests/HostValidationTests.cs b/tests/redmine-net-api.Tests/Tests/HostTests.cs similarity index 96% rename from tests/redmine-net-api.Tests/Tests/HostValidationTests.cs rename to tests/redmine-net-api.Tests/Tests/HostTests.cs index 32448c72..89943a7c 100644 --- a/tests/redmine-net-api.Tests/Tests/HostValidationTests.cs +++ b/tests/redmine-net-api.Tests/Tests/HostTests.cs @@ -1,4 +1,4 @@ -using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Order; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Xunit; @@ -7,7 +7,7 @@ namespace Padi.DotNet.RedmineAPI.Tests.Tests { [Trait("Redmine-api", "Host")] [Order(1)] - public sealed class HostValidationTests + public sealed class HostTests { [Theory] [InlineData(null)] @@ -54,15 +54,15 @@ public void Should_Throw_Redmine_Exception_When_Host_Is_Invalid(string host) [InlineData("www.domain.com:3000", "https://www.domain.com:3000/")] [InlineData("https://www.google.com/", "https://www.google.com/")] [InlineData("http://example.com:8080/", "http://example.com:8080/")] - [InlineData("http://example.com/path", "http://example.com/")] + [InlineData("http://example.com/path", "http://example.com/path")] [InlineData("http://example.com/?param=value", "http://example.com/")] [InlineData("http://example.com/#fragment", "http://example.com/")] [InlineData("http://example.com/", "http://example.com/")] [InlineData("http://example.com/?param=value", "http://example.com/")] [InlineData("http://example.com/#fragment", "http://example.com/")] - [InlineData("http://example.com/path/page", "http://example.com/")] - [InlineData("http://example.com/path/page?param=value", "http://example.com/")] - [InlineData("http://example.com/path/page#fragment","http://example.com/")] + [InlineData("http://example.com/path/page", "http://example.com/path/page")] + [InlineData("http://example.com/path/page?param=value", "http://example.com/path/page")] + [InlineData("http://example.com/path/page#fragment","http://example.com/path/page")] [InlineData("http://[::1]:8080/", "http://[::1]/")] [InlineData("http://www.domain.com/title/index.htm", "http://www.domain.com/")] [InlineData("http://www.localhost.com/", "http://www.localhost.com/")] diff --git a/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs b/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs new file mode 100644 index 00000000..8b0121bb --- /dev/null +++ b/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs @@ -0,0 +1,573 @@ +using System; +using System.Collections.Specialized; +using Redmine.Net.Api; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; +using Xunit; +using Version = Redmine.Net.Api.Types.Version; + + +namespace Padi.DotNet.RedmineAPI.Tests.Tests; + +public class RedmineApiUrlsTests(RedmineApiUrlsFixture fixture) : IClassFixture +{ + [Fact] + public void MyAccount_ReturnsCorrectUrl() + { + var result = fixture.Sut.MyAccount(); + Assert.Equal("my/account.json", result); + } + + [Theory] + [MemberData(nameof(ProjectOperationsData))] + public void ProjectOperations_ReturnsCorrectUrl(string projectId, Func operation, string expected) + { + var result = operation(projectId); + Assert.Equal(expected, result); + } + + [Theory] + [MemberData(nameof(WikiOperationsData))] + public void WikiOperations_ReturnsCorrectUrl(string projectId, string pageName, Func operation, string expected) + { + var result = operation(projectId, pageName); + Assert.Equal(expected, result); + } + + [Theory] + [InlineData("123", "456", "issues/123/watchers/456.json")] + public void IssueWatcherRemove_WithValidIds_ReturnsCorrectUrl(string issueId, string userId, string expected) + { + var result = fixture.Sut.IssueWatcherRemove(issueId, userId); + Assert.Equal(expected, result); + } + + [Theory] + [InlineData(null, "456")] + [InlineData("123", null)] + [InlineData("", "456")] + [InlineData("123", "")] + public void IssueWatcherRemove_WithInvalidIds_ThrowsRedmineException(string issueId, string userId) + { + Assert.Throws(() => fixture.Sut.IssueWatcherRemove(issueId, userId)); + } + + [Theory] + [MemberData(nameof(AttachmentOperationsData))] + public void AttachmentOperations_WithValidInput_ReturnsCorrectUrl(string input, Func operation, string expected) + { + var result = operation(input); + Assert.Equal(expected, result); + } + + [Theory] + [InlineData("test.txt", "uploads.json?filename=test.txt")] + [InlineData("file with spaces.pdf", "uploads.json?filename=file%20with%20spaces.pdf")] + public void UploadFragment_WithFileName_ReturnsCorrectlyEncodedUrl(string fileName, string expected) + { + var result = fixture.Sut.UploadFragment(fileName); + Assert.Equal(expected, result); + } + + [Theory] + [InlineData("project1", "versions")] + [InlineData("project1", "issue_categories")] + public void ProjectParentFragment_ForDifferentTypes_ReturnsCorrectUrl(string projectId, string fragment) + { + var expected = $"projects/{projectId}/{fragment}.json"; + var result = fixture.Sut.ProjectParentFragment(projectId, fragment); + Assert.Equal(expected, result); + } + + [Theory] + [InlineData("issue1", "relations")] + [InlineData("issue1", "watchers")] + public void IssueParentFragment_ForDifferentTypes_ReturnsCorrectUrl(string issueId, string fragment) + { + var expected = $"issues/{issueId}/{fragment}.json"; + var result = fixture.Sut.IssueParentFragment(issueId, fragment); + Assert.Equal(expected, result); + } + + [Theory] + [MemberData(nameof(GetFragmentTestData))] + public void GetFragment_ForAllTypes_ReturnsCorrectUrl(Type type, string id, string expected) + { + var result = fixture.Sut.GetFragment(type, id); + Assert.Equal(expected, result); + } + + [Theory] + [MemberData(nameof(CreateEntityTestData))] + public void CreateEntity_ForAllTypes_ReturnsCorrectUrl(Type type, string ownerId, string expected) + { + var result = fixture.Sut.CreateEntityFragment(type, ownerId); + Assert.Equal(expected, result); + } + + [Theory] + [MemberData(nameof(GetListTestData))] + public void GetList_ForAllTypes_ReturnsCorrectUrl(Type type, string ownerId, string expected) + { + var result = fixture.Sut.GetListFragment(type, ownerId); + Assert.Equal(expected, result); + } + + [Theory] + [MemberData(nameof(InvalidTypeTestData))] + public void GetList_WithInvalidType_ThrowRedmineException(Type invalidType) + { + var exception = Assert.Throws(() => fixture.Sut.GetListFragment(invalidType)); + Assert.Contains("There is no uri fragment defined for type", exception.Message); + } + + [Theory] + [MemberData(nameof(GetListWithIssueIdTestData))] + public void GetListFragment_WithIssueIdInRequestOptions_ReturnsCorrectUrl(Type type, string issueId, string expected) + { + var requestOptions = new RequestOptions + { + QueryString = new NameValueCollection + { + { RedmineKeys.ISSUE_ID, issueId } + } + }; + + var result = fixture.Sut.GetListFragment(type, requestOptions); + Assert.Equal(expected, result); + } + + [Theory] + [MemberData(nameof(GetListWithProjectIdTestData))] + public void GetListFragment_WithProjectIdInRequestOptions_ReturnsCorrectUrl(Type type, string projectId, string expected) + { + var requestOptions = new RequestOptions + { + QueryString = new NameValueCollection + { + { RedmineKeys.PROJECT_ID, projectId } + } + }; + + var result = fixture.Sut.GetListFragment(type, requestOptions); + Assert.Equal(expected, result); + } + + [Theory] + [MemberData(nameof(GetListWithBothIdsTestData))] + public void GetListFragment_WithBothIds_PrioritizesProjectId(Type type, string projectId, string issueId, string expected) + { + var requestOptions = new RequestOptions + { + QueryString = new NameValueCollection + { + { RedmineKeys.PROJECT_ID, projectId }, + { RedmineKeys.ISSUE_ID, issueId } + } + }; + + var result = fixture.Sut.GetListFragment(type, requestOptions); + Assert.Equal(expected, result); + } + + [Theory] + [MemberData(nameof(GetListWithNoIdsTestData))] + public void GetListFragment_WithNoIds_ReturnsDefaultUrl(Type type, string expected) + { + var result = fixture.Sut.GetListFragment(type, new RequestOptions()); + Assert.Equal(expected, result); + } + + [Theory] + [ClassData(typeof(RedmineTypeTestData))] + public void GetListFragment_ForAllTypes_ReturnsCorrectUrl(Type type, string parentId, string expected) + { + var result = fixture.Sut.GetListFragment(type, parentId); + Assert.Equal(expected, result); + } + + [Theory] + [MemberData(nameof(GetListEntityRequestOptionTestData))] + public void GetListFragment_WithEmptyOptions_ReturnsCorrectUrl(Type type, RequestOptions requestOptions, string expected) + { + var result = fixture.Sut.GetListFragment(type, requestOptions); + Assert.Equal(expected, result); + } + + [Theory] + [ClassData(typeof(RedmineTypeTestData))] + public void GetListFragment_WithNullOptions_ReturnsCorrectUrl(Type type, string parentId, string expected) + { + var result = fixture.Sut.GetListFragment(type, parentId); + Assert.Equal(expected, result); + } + + [Theory] + [MemberData(nameof(GetListWithNullRequestOptionsTestData))] + public void GetListFragment_WithNullRequestOptions_ReturnsDefaultUrl(Type type, string expected) + { + var result = fixture.Sut.GetListFragment(type, (RequestOptions)null); + Assert.Equal(expected, result); + } + + [Theory] + [MemberData(nameof(GetListWithEmptyQueryStringTestData))] + public void GetListFragment_WithEmptyQueryString_ReturnsDefaultUrl(Type type, string expected) + { + var requestOptions = new RequestOptions + { + QueryString = null + }; + + var result = fixture.Sut.GetListFragment(type, requestOptions); + Assert.Equal(expected, result); + } + + [Fact] + public void GetListFragment_WithCustomQueryParameters_DoesNotAffectUrl() + { + var requestOptions = new RequestOptions + { + QueryString = new NameValueCollection + { + { "status_id", "1" }, + { "assigned_to_id", "me" }, + { "sort", "priority:desc" } + } + }; + + var result = fixture.Sut.GetListFragment(requestOptions); + Assert.Equal("issues.json", result); + } + + [Theory] + [MemberData(nameof(GetListWithInvalidTypeTestData))] + public void GetListFragment_WithInvalidType_ThrowsRedmineException(Type invalidType) + { + var exception = Assert.Throws(() => fixture.Sut.GetListFragment(invalidType)); + + Assert.Contains("There is no uri fragment defined for type", exception.Message); + } + + public static TheoryData GetListWithBothIdsTestData() + { + return new TheoryData + { + { + typeof(Version), + "project1", + "issue1", + "projects/project1/versions.json" + }, + { + typeof(IssueCategory), + "project2", + "issue2", + "projects/project2/issue_categories.json" + } + }; + } + + public class RedmineTypeTestData : TheoryData + { + public RedmineTypeTestData() + { + Add(null, "issues.json"); + Add(null,"projects.json"); + Add(null,"users.json"); + Add(null,"time_entries.json"); + Add(null,"custom_fields.json"); + Add(null,"groups.json"); + Add(null,"news.json"); + Add(null,"queries.json"); + Add(null,"roles.json"); + Add(null,"issue_statuses.json"); + Add(null,"trackers.json"); + Add(null,"enumerations/issue_priorities.json"); + Add(null,"enumerations/time_entry_activities.json"); + Add("1","projects/1/versions.json"); + Add("1","projects/1/issue_categories.json"); + Add("1","projects/1/memberships.json"); + Add("1","issues/1/relations.json"); + Add(null,"attachments.json"); + Add(null,"custom_fields.json"); + Add(null,"journals.json"); + Add(null,"search.json"); + Add(null,"watchers.json"); + } + + private void Add(string parentId, string expected) where T : class, new() + { + AddRow(typeof(T), parentId, expected); + } + } + + public static TheoryData GetFragmentTestData() + { + return new TheoryData + { + { typeof(Attachment), "1", "attachments/1.json" }, + { typeof(CustomField), "2", "custom_fields/2.json" }, + { typeof(Group), "3", "groups/3.json" }, + { typeof(Issue), "4", "issues/4.json" }, + { typeof(IssueCategory), "5", "issue_categories/5.json" }, + { typeof(IssueCustomField), "6", "custom_fields/6.json" }, + { typeof(IssuePriority), "7", "enumerations/issue_priorities/7.json" }, + { typeof(IssueRelation), "8", "relations/8.json" }, + { typeof(IssueStatus), "9", "issue_statuses/9.json" }, + { typeof(Journal), "10", "journals/10.json" }, + { typeof(News), "11", "news/11.json" }, + { typeof(Project), "12", "projects/12.json" }, + { typeof(ProjectMembership), "13", "memberships/13.json" }, + { typeof(Query), "14", "queries/14.json" }, + { typeof(Role), "15", "roles/15.json" }, + { typeof(Search), "16", "search/16.json" }, + { typeof(TimeEntry), "17", "time_entries/17.json" }, + { typeof(TimeEntryActivity), "18", "enumerations/time_entry_activities/18.json" }, + { typeof(Tracker), "19", "trackers/19.json" }, + { typeof(User), "20", "users/20.json" }, + { typeof(Version), "21", "versions/21.json" }, + { typeof(Watcher), "22", "watchers/22.json" } + }; + } + + public static TheoryData CreateEntityTestData() + { + return new TheoryData + { + { typeof(Version), "project1", "projects/project1/versions.json" }, + { typeof(IssueCategory), "project1", "projects/project1/issue_categories.json" }, + { typeof(ProjectMembership), "project1", "projects/project1/memberships.json" }, + + { typeof(IssueRelation), "issue1", "issues/issue1/relations.json" }, + + { typeof(File), "project1", "projects/project1/files.json" }, + { typeof(Upload), null, "uploads.json" }, + { typeof(Attachment), "issue1", "/attachments/issues/issue1.json" }, + + { typeof(Issue), null, "issues.json" }, + { typeof(Project), null, "projects.json" }, + { typeof(User), null, "users.json" }, + { typeof(TimeEntry), null, "time_entries.json" }, + { typeof(News), null, "news.json" }, + { typeof(Query), null, "queries.json" }, + { typeof(Role), null, "roles.json" }, + { typeof(Group), null, "groups.json" }, + { typeof(CustomField), null, "custom_fields.json" }, + { typeof(IssueStatus), null, "issue_statuses.json" }, + { typeof(Tracker), null, "trackers.json" }, + { typeof(IssuePriority), null, "enumerations/issue_priorities.json" }, + { typeof(TimeEntryActivity), null, "enumerations/time_entry_activities.json" } + }; + } + + public static TheoryData GetListEntityRequestOptionTestData() + { + var rqWithProjectId = new RequestOptions() + { + QueryString = new NameValueCollection() + { + {RedmineKeys.PROJECT_ID, "project1"} + } + }; + var rqWithPIssueId = new RequestOptions() + { + QueryString = new NameValueCollection() + { + {RedmineKeys.ISSUE_ID, "issue1"} + } + }; + return new TheoryData + { + { typeof(Version), rqWithProjectId, "projects/project1/versions.json" }, + { typeof(IssueCategory), rqWithProjectId, "projects/project1/issue_categories.json" }, + { typeof(ProjectMembership), rqWithProjectId, "projects/project1/memberships.json" }, + + { typeof(IssueRelation), rqWithPIssueId, "issues/issue1/relations.json" }, + + { typeof(File), rqWithProjectId, "projects/project1/files.json" }, + { typeof(Attachment), rqWithPIssueId, "attachments.json" }, + + { typeof(Issue), null, "issues.json" }, + { typeof(Project), null, "projects.json" }, + { typeof(User), null, "users.json" }, + { typeof(TimeEntry), null, "time_entries.json" }, + { typeof(News), null, "news.json" }, + { typeof(Query), null, "queries.json" }, + { typeof(Role), null, "roles.json" }, + { typeof(Group), null, "groups.json" }, + { typeof(CustomField), null, "custom_fields.json" }, + { typeof(IssueStatus), null, "issue_statuses.json" }, + { typeof(Tracker), null, "trackers.json" }, + { typeof(IssuePriority), null, "enumerations/issue_priorities.json" }, + { typeof(TimeEntryActivity), null, "enumerations/time_entry_activities.json" } + }; + } + + public static TheoryData GetListTestData() + { + return new TheoryData + { + { typeof(Version), "project1", "projects/project1/versions.json" }, + { typeof(IssueCategory), "project1", "projects/project1/issue_categories.json" }, + { typeof(ProjectMembership), "project1", "projects/project1/memberships.json" }, + + { typeof(IssueRelation), "issue1", "issues/issue1/relations.json" }, + + { typeof(File), "project1", "projects/project1/files.json" }, + + { typeof(Issue), null, "issues.json" }, + { typeof(Project), null, "projects.json" }, + { typeof(User), null, "users.json" }, + { typeof(TimeEntry), null, "time_entries.json" }, + { typeof(News), null, "news.json" }, + { typeof(Query), null, "queries.json" }, + { typeof(Role), null, "roles.json" }, + { typeof(Group), null, "groups.json" }, + { typeof(CustomField), null, "custom_fields.json" }, + { typeof(IssueStatus), null, "issue_statuses.json" }, + { typeof(Tracker), null, "trackers.json" }, + { typeof(IssuePriority), null, "enumerations/issue_priorities.json" }, + { typeof(TimeEntryActivity), null, "enumerations/time_entry_activities.json" } + }; + } + + public static TheoryData GetListWithIssueIdTestData() + { + return new TheoryData + { + { typeof(IssueRelation), "issue1", "issues/issue1/relations.json" }, + }; + } + + public static TheoryData GetListWithProjectIdTestData() + { + return new TheoryData + { + { typeof(Version), "1", "projects/1/versions.json" }, + { typeof(IssueCategory), "1", "projects/1/issue_categories.json" }, + { typeof(ProjectMembership), "1", "projects/1/memberships.json" }, + { typeof(File), "1", "projects/1/files.json" }, + }; + } + + public static TheoryData GetListWithNullRequestOptionsTestData() + { + return new TheoryData + { + { typeof(Issue), "issues.json" }, + { typeof(Project), "projects.json" }, + { typeof(User), "users.json" } + }; + } + + public static TheoryData GetListWithEmptyQueryStringTestData() + { + return new TheoryData + { + { typeof(Issue), "issues.json" }, + { typeof(Project), "projects.json" }, + { typeof(User), "users.json" } + }; + } + + public static TheoryData GetListWithInvalidTypeTestData() + { + return + [ + typeof(string), + typeof(int), + typeof(DateTime), + typeof(object) + ]; + } + + public static TheoryData GetListWithNoIdsTestData() + { + return new TheoryData + { + { typeof(Issue), "issues.json" }, + { typeof(Project), "projects.json" }, + { typeof(User), "users.json" }, + { typeof(TimeEntry), "time_entries.json" }, + { typeof(CustomField), "custom_fields.json" } + }; + } + + public static TheoryData InvalidTypeTestData() + { + return + [ + typeof(object), + typeof(int) + ]; + } + + public static TheoryData, string> AttachmentOperationsData() + { + var fixture = new RedmineApiUrlsFixture(); + return new TheoryData, string> + { + { + "123", + id => fixture.Sut.AttachmentUpdate(id), + "attachments/issues/123.json" + }, + { + "456", + id => fixture.Sut.IssueWatcherAdd(id), + "issues/456/watchers.json" + } + }; + } + + public static TheoryData, string> ProjectOperationsData() + { + var fixture = new RedmineApiUrlsFixture(); + return new TheoryData, string> + { + { + "test-project", + id => fixture.Sut.ProjectClose(id), + "projects/test-project/close.json" + }, + { + "test-project", + id => fixture.Sut.ProjectReopen(id), + "projects/test-project/reopen.json" + }, + { + "test-project", + id => fixture.Sut.ProjectArchive(id), + "projects/test-project/archive.json" + }, + { + "test-project", + id => fixture.Sut.ProjectUnarchive(id), + "projects/test-project/unarchive.json" + } + }; + } + + public static TheoryData, string> WikiOperationsData() + { + var fixture = new RedmineApiUrlsFixture(); + return new TheoryData, string> + { + { + "project1", + "page1", + (id, page) => fixture.Sut.ProjectWikiPage(id, page), + "projects/project1/wiki/page1.json" + }, + { + "project1", + "page1", + (id, page) => fixture.Sut.ProjectWikiPageCreate(id, page), + "projects/project1/wiki/page1.json" + } + }; + } + +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index 90f40281..87deb601 100644 --- a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -54,17 +54,17 @@ - - - - - - - + + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive From d5027106487d8fd327c30c0ccbf2e3fe3495a01a Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 30 Mar 2025 23:35:15 +0300 Subject: [PATCH 478/601] [StringExtensions] Add ReplaceEndings (#379) --- .../Extensions/StringExtensions.cs | 20 +++++++++++++++++++ src/redmine-net-api/RedmineManager.cs | 2 ++ src/redmine-net-api/RedmineManagerAsync.cs | 5 ++--- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index c02836e7..607c8547 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -18,6 +18,7 @@ limitations under the License. using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Security; +using System.Text.RegularExpressions; namespace Redmine.Net.Api.Extensions { @@ -156,5 +157,24 @@ internal static string ToInvariantString(this T value) where T : struct _ => value.ToString(), }; } + + private const string CRLR = "\r\n"; + private const string CR = "\r"; + private const string LR = "\n"; + + internal static string ReplaceEndings(this string input, string replacement = CRLR) + { + if (input.IsNullOrWhiteSpace()) + { + return input; + } + + #if NET6_0_OR_GREATER + input = input.ReplaceLineEndings(CRLR); + #else + input = Regex.Replace(input, $"{CRLR}|{CR}|{LR}", CRLR); + #endif + return input; + } } } \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 49cf2ee0..0043919e 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -175,6 +175,8 @@ public void Update(string id, T entity, string projectId = null, RequestOptio var payload = Serializer.Serialize(entity); + payload = payload.ReplaceEndings(); + ApiClient.Update(url, payload, requestOptions); } diff --git a/src/redmine-net-api/RedmineManagerAsync.cs b/src/redmine-net-api/RedmineManagerAsync.cs index 4039f028..fb1bba7d 100644 --- a/src/redmine-net-api/RedmineManagerAsync.cs +++ b/src/redmine-net-api/RedmineManagerAsync.cs @@ -18,7 +18,6 @@ limitations under the License. using System; using System.Collections.Generic; using System.Collections.Specialized; -using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using Redmine.Net.Api.Extensions; @@ -31,7 +30,7 @@ namespace Redmine.Net.Api; public partial class RedmineManager: IRedmineManagerAsync { - private const string CRLR = "\r\n"; + /// public async Task CountAsync(RequestOptions requestOptions, CancellationToken cancellationToken = default) @@ -208,7 +207,7 @@ public async Task UpdateAsync(string id, T entity, RequestOptions requestOpti var payload = Serializer.Serialize(entity); - payload = Regex.Replace(payload, "\r\n|\r|\n",CRLR); + payload = payload.ReplaceEndings(); await ApiClient.UpdateAsync(url, payload, requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); } From 280cca74b8643b53b22bea1abe0bee6bb7df8dd5 Mon Sep 17 00:00:00 2001 From: Padi Date: Tue, 15 Apr 2025 11:19:11 +0300 Subject: [PATCH 479/601] Update copyright --- src/redmine-net-api/Authentication/IRedmineAuthentication.cs | 2 +- .../Authentication/RedmineApiKeyAuthentication.cs | 2 +- .../Authentication/RedmineBasicAuthentication.cs | 2 +- src/redmine-net-api/Authentication/RedmineNoAuthentication.cs | 2 +- src/redmine-net-api/Exceptions/ConflictException.cs | 2 +- src/redmine-net-api/Exceptions/ForbiddenException.cs | 2 +- src/redmine-net-api/Exceptions/InternalServerErrorException.cs | 2 +- .../Exceptions/NameResolutionFailureException.cs | 2 +- src/redmine-net-api/Exceptions/NotAcceptableException.cs | 2 +- src/redmine-net-api/Exceptions/NotFoundException.cs | 2 +- src/redmine-net-api/Exceptions/RedmineException.cs | 2 +- src/redmine-net-api/Exceptions/RedmineTimeoutException.cs | 2 +- src/redmine-net-api/Exceptions/UnauthorizedException.cs | 2 +- src/redmine-net-api/Extensions/CollectionExtensions.cs | 2 +- src/redmine-net-api/Extensions/IntExtensions.cs | 2 +- .../Extensions/RedmineManagerAsyncExtensions.Obsolete.cs | 2 +- src/redmine-net-api/Extensions/RedmineManagerExtensions.cs | 2 +- src/redmine-net-api/Extensions/SemaphoreSlimExtensions.cs | 2 +- src/redmine-net-api/Extensions/StringExtensions.cs | 2 +- src/redmine-net-api/Extensions/TaskExtensions.cs | 2 +- src/redmine-net-api/IRedmineManager.Obsolete.cs | 2 +- src/redmine-net-api/IRedmineManager.cs | 2 +- src/redmine-net-api/IRedmineManagerAsync.cs | 2 +- src/redmine-net-api/Internals/HashCodeHelper.cs | 2 +- src/redmine-net-api/Net/ApiRequestMessage.cs | 2 +- src/redmine-net-api/Net/ApiRequestMessageContent.cs | 2 +- src/redmine-net-api/Net/ApiResponseMessage.cs | 2 +- src/redmine-net-api/Net/ApiResponseMessageExtensions.cs | 2 +- src/redmine-net-api/Net/HttpVerbs.cs | 2 +- src/redmine-net-api/Net/IRedmineApiClient.cs | 2 +- src/redmine-net-api/Net/IRedmineApiClientOptions.cs | 2 +- src/redmine-net-api/Net/RedirectType.cs | 2 +- src/redmine-net-api/Net/RedmineApiUrls.cs | 2 +- src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs | 2 +- src/redmine-net-api/Net/RequestOptions.cs | 2 +- .../Net/WebClient/Extensions/NameValueCollectionExtensions.cs | 2 +- src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs | 2 +- src/redmine-net-api/Net/WebClient/IRedmineWebClientObsolete.cs | 2 +- .../Net/WebClient/InternalRedmineApiWebClient.cs | 2 +- src/redmine-net-api/Net/WebClient/InternalWebClient.cs | 2 +- .../MessageContent/ByteArrayApiRequestMessageContent.cs | 2 +- .../WebClient/MessageContent/StreamApiRequestMessageContent.cs | 2 +- .../WebClient/MessageContent/StringApiRequestMessageContent.cs | 2 +- src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs | 2 +- src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs | 2 +- src/redmine-net-api/RedmineConstants.cs | 2 +- src/redmine-net-api/RedmineKeys.cs | 2 +- src/redmine-net-api/RedmineManager.Obsolete.cs | 2 +- src/redmine-net-api/RedmineManager.cs | 2 +- src/redmine-net-api/RedmineManagerAsync.cs | 2 +- src/redmine-net-api/RedmineManagerOptions.cs | 2 +- src/redmine-net-api/RedmineManagerOptionsBuilder.cs | 2 +- src/redmine-net-api/SearchFilterBuilder.cs | 2 +- src/redmine-net-api/Serialization/IRedmineSerializer.cs | 2 +- .../Serialization/Json/Extensions/JsonReaderExtensions.cs | 2 +- .../Serialization/Json/Extensions/JsonWriterExtensions.cs | 2 +- src/redmine-net-api/Serialization/Json/IJsonSerializable.cs | 2 +- src/redmine-net-api/Serialization/Json/JsonObject.cs | 2 +- src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs | 2 +- src/redmine-net-api/Serialization/MimeFormatObsolete.cs | 2 +- src/redmine-net-api/Serialization/RedmineSerializerFactory.cs | 2 +- src/redmine-net-api/Serialization/SerializationHelper.cs | 2 +- src/redmine-net-api/Serialization/SerializationType.cs | 2 +- src/redmine-net-api/Serialization/Xml/CacheKeyFactory.cs | 2 +- .../Serialization/Xml/Extensions/XmlReaderExtensions.cs | 2 +- .../Serialization/Xml/Extensions/XmlWriterExtensions.cs | 2 +- src/redmine-net-api/Serialization/Xml/IXmlSerializerCache.cs | 2 +- src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs | 2 +- src/redmine-net-api/Serialization/Xml/XmlSerializerCache.cs | 2 +- src/redmine-net-api/Serialization/Xml/XmlTextReaderBuilder.cs | 2 +- src/redmine-net-api/Types/Attachment.cs | 2 +- src/redmine-net-api/Types/Attachments.cs | 2 +- src/redmine-net-api/Types/ChangeSet.cs | 2 +- src/redmine-net-api/Types/CustomField.cs | 2 +- src/redmine-net-api/Types/CustomFieldPossibleValue.cs | 2 +- src/redmine-net-api/Types/CustomFieldRole.cs | 2 +- src/redmine-net-api/Types/CustomFieldValue.cs | 2 +- src/redmine-net-api/Types/Detail.cs | 2 +- src/redmine-net-api/Types/DocumentCategory.cs | 2 +- src/redmine-net-api/Types/Error.cs | 2 +- src/redmine-net-api/Types/File.cs | 2 +- src/redmine-net-api/Types/Group.cs | 2 +- src/redmine-net-api/Types/GroupUser.cs | 2 +- src/redmine-net-api/Types/IValue.cs | 2 +- src/redmine-net-api/Types/Identifiable.cs | 2 +- src/redmine-net-api/Types/IdentifiableName.cs | 2 +- src/redmine-net-api/Types/Issue.cs | 2 +- src/redmine-net-api/Types/IssueAllowedStatus.cs | 2 +- src/redmine-net-api/Types/IssueCategory.cs | 2 +- src/redmine-net-api/Types/IssueChild.cs | 2 +- src/redmine-net-api/Types/IssueCustomField.cs | 2 +- src/redmine-net-api/Types/IssuePriority.cs | 2 +- src/redmine-net-api/Types/IssueRelation.cs | 2 +- src/redmine-net-api/Types/IssueRelationType.cs | 2 +- src/redmine-net-api/Types/IssueStatus.cs | 2 +- src/redmine-net-api/Types/Journal.cs | 2 +- src/redmine-net-api/Types/Membership.cs | 2 +- src/redmine-net-api/Types/MembershipRole.cs | 2 +- src/redmine-net-api/Types/MyAccount.cs | 2 +- src/redmine-net-api/Types/MyAccountCustomField.cs | 2 +- src/redmine-net-api/Types/News.cs | 2 +- src/redmine-net-api/Types/NewsComment.cs | 2 +- src/redmine-net-api/Types/PagedResults.cs | 2 +- src/redmine-net-api/Types/Permission.cs | 2 +- src/redmine-net-api/Types/Project.cs | 2 +- src/redmine-net-api/Types/ProjectEnabledModule.cs | 2 +- src/redmine-net-api/Types/ProjectIssueCategory.cs | 2 +- src/redmine-net-api/Types/ProjectMembership.cs | 2 +- src/redmine-net-api/Types/ProjectStatus.cs | 2 +- src/redmine-net-api/Types/ProjectTimeEntryActivity.cs | 2 +- src/redmine-net-api/Types/ProjectTracker.cs | 2 +- src/redmine-net-api/Types/Query.cs | 2 +- src/redmine-net-api/Types/Role.cs | 2 +- src/redmine-net-api/Types/Search.cs | 2 +- src/redmine-net-api/Types/TimeEntry.cs | 2 +- src/redmine-net-api/Types/TimeEntryActivity.cs | 2 +- src/redmine-net-api/Types/Tracker.cs | 2 +- src/redmine-net-api/Types/TrackerCustomField.cs | 2 +- src/redmine-net-api/Types/Upload.cs | 2 +- src/redmine-net-api/Types/User.cs | 2 +- src/redmine-net-api/Types/UserGroup.cs | 2 +- src/redmine-net-api/Types/UserStatus.cs | 2 +- src/redmine-net-api/Types/Version.cs | 2 +- src/redmine-net-api/Types/VersionSharing.cs | 2 +- src/redmine-net-api/Types/VersionStatus.cs | 2 +- src/redmine-net-api/Types/Watcher.cs | 2 +- src/redmine-net-api/Types/WikiPage.cs | 2 +- src/redmine-net-api/_net20/ExtensionAttribute.cs | 2 +- src/redmine-net-api/_net20/Func.cs | 2 +- src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs | 2 +- 130 files changed, 130 insertions(+), 130 deletions(-) diff --git a/src/redmine-net-api/Authentication/IRedmineAuthentication.cs b/src/redmine-net-api/Authentication/IRedmineAuthentication.cs index 6823243a..d14d6fcf 100644 --- a/src/redmine-net-api/Authentication/IRedmineAuthentication.cs +++ b/src/redmine-net-api/Authentication/IRedmineAuthentication.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs b/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs index c0a34580..a037a60c 100644 --- a/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs +++ b/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs b/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs index 2e8da6cb..e78aa653 100644 --- a/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs +++ b/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs b/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs index 6fb7fe8a..4f2ed673 100644 --- a/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs +++ b/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/ConflictException.cs b/src/redmine-net-api/Exceptions/ConflictException.cs index bc098687..183baf56 100644 --- a/src/redmine-net-api/Exceptions/ConflictException.cs +++ b/src/redmine-net-api/Exceptions/ConflictException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/ForbiddenException.cs b/src/redmine-net-api/Exceptions/ForbiddenException.cs index 75e6192b..e5e4d8ca 100644 --- a/src/redmine-net-api/Exceptions/ForbiddenException.cs +++ b/src/redmine-net-api/Exceptions/ForbiddenException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/InternalServerErrorException.cs b/src/redmine-net-api/Exceptions/InternalServerErrorException.cs index ccf3d5aa..5d12673c 100644 --- a/src/redmine-net-api/Exceptions/InternalServerErrorException.cs +++ b/src/redmine-net-api/Exceptions/InternalServerErrorException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs b/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs index 81da3053..da0350d0 100644 --- a/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs +++ b/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/NotAcceptableException.cs b/src/redmine-net-api/Exceptions/NotAcceptableException.cs index 0c865fbc..bbae9b9c 100644 --- a/src/redmine-net-api/Exceptions/NotAcceptableException.cs +++ b/src/redmine-net-api/Exceptions/NotAcceptableException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/NotFoundException.cs b/src/redmine-net-api/Exceptions/NotFoundException.cs index cde236b1..d6c593dc 100644 --- a/src/redmine-net-api/Exceptions/NotFoundException.cs +++ b/src/redmine-net-api/Exceptions/NotFoundException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/RedmineException.cs b/src/redmine-net-api/Exceptions/RedmineException.cs index ccb10313..db791454 100644 --- a/src/redmine-net-api/Exceptions/RedmineException.cs +++ b/src/redmine-net-api/Exceptions/RedmineException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs b/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs index a919fd96..31ec968f 100644 --- a/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs +++ b/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Exceptions/UnauthorizedException.cs b/src/redmine-net-api/Exceptions/UnauthorizedException.cs index c77c37f8..214f7b84 100644 --- a/src/redmine-net-api/Exceptions/UnauthorizedException.cs +++ b/src/redmine-net-api/Exceptions/UnauthorizedException.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/CollectionExtensions.cs b/src/redmine-net-api/Extensions/CollectionExtensions.cs index 60703635..6b56e79c 100755 --- a/src/redmine-net-api/Extensions/CollectionExtensions.cs +++ b/src/redmine-net-api/Extensions/CollectionExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/IntExtensions.cs b/src/redmine-net-api/Extensions/IntExtensions.cs index 5f838547..fa0e57aa 100644 --- a/src/redmine-net-api/Extensions/IntExtensions.cs +++ b/src/redmine-net-api/Extensions/IntExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.Obsolete.cs b/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.Obsolete.cs index 90f25fb8..d2b42862 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.Obsolete.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.Obsolete.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2023 Adrian Popescu +Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index 254e4855..35c5e006 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/SemaphoreSlimExtensions.cs b/src/redmine-net-api/Extensions/SemaphoreSlimExtensions.cs index a47dbb9b..016dd51f 100644 --- a/src/redmine-net-api/Extensions/SemaphoreSlimExtensions.cs +++ b/src/redmine-net-api/Extensions/SemaphoreSlimExtensions.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2023 Adrian Popescu +Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index 607c8547..03fdc059 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Extensions/TaskExtensions.cs b/src/redmine-net-api/Extensions/TaskExtensions.cs index c74b6d4d..dd182846 100644 --- a/src/redmine-net-api/Extensions/TaskExtensions.cs +++ b/src/redmine-net-api/Extensions/TaskExtensions.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2023 Adrian Popescu +Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/IRedmineManager.Obsolete.cs b/src/redmine-net-api/IRedmineManager.Obsolete.cs index 8704367c..028984a3 100644 --- a/src/redmine-net-api/IRedmineManager.Obsolete.cs +++ b/src/redmine-net-api/IRedmineManager.Obsolete.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index e45ec6e7..5e4f5437 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/IRedmineManagerAsync.cs b/src/redmine-net-api/IRedmineManagerAsync.cs index adc9456b..4d2343d6 100644 --- a/src/redmine-net-api/IRedmineManagerAsync.cs +++ b/src/redmine-net-api/IRedmineManagerAsync.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Internals/HashCodeHelper.cs b/src/redmine-net-api/Internals/HashCodeHelper.cs index 4d2ac468..19f92d6a 100755 --- a/src/redmine-net-api/Internals/HashCodeHelper.cs +++ b/src/redmine-net-api/Internals/HashCodeHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/ApiRequestMessage.cs b/src/redmine-net-api/Net/ApiRequestMessage.cs index c3bdb891..b0b7a2fb 100644 --- a/src/redmine-net-api/Net/ApiRequestMessage.cs +++ b/src/redmine-net-api/Net/ApiRequestMessage.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/ApiRequestMessageContent.cs b/src/redmine-net-api/Net/ApiRequestMessageContent.cs index e484c81a..94c5f5e9 100644 --- a/src/redmine-net-api/Net/ApiRequestMessageContent.cs +++ b/src/redmine-net-api/Net/ApiRequestMessageContent.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/ApiResponseMessage.cs b/src/redmine-net-api/Net/ApiResponseMessage.cs index 4cdf66c0..971aaabb 100644 --- a/src/redmine-net-api/Net/ApiResponseMessage.cs +++ b/src/redmine-net-api/Net/ApiResponseMessage.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs b/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs index 36aeaf6e..f039a451 100644 --- a/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs +++ b/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/HttpVerbs.cs b/src/redmine-net-api/Net/HttpVerbs.cs index bcd88271..e7851896 100644 --- a/src/redmine-net-api/Net/HttpVerbs.cs +++ b/src/redmine-net-api/Net/HttpVerbs.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2023 Adrian Popescu +Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/IRedmineApiClient.cs b/src/redmine-net-api/Net/IRedmineApiClient.cs index 586a001a..f9ffc4f8 100644 --- a/src/redmine-net-api/Net/IRedmineApiClient.cs +++ b/src/redmine-net-api/Net/IRedmineApiClient.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/IRedmineApiClientOptions.cs b/src/redmine-net-api/Net/IRedmineApiClientOptions.cs index 263c703a..3a11601f 100644 --- a/src/redmine-net-api/Net/IRedmineApiClientOptions.cs +++ b/src/redmine-net-api/Net/IRedmineApiClientOptions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/RedirectType.cs b/src/redmine-net-api/Net/RedirectType.cs index 7793e23c..ae9aedb5 100644 --- a/src/redmine-net-api/Net/RedirectType.cs +++ b/src/redmine-net-api/Net/RedirectType.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/RedmineApiUrls.cs b/src/redmine-net-api/Net/RedmineApiUrls.cs index 493bfa6a..f893c338 100644 --- a/src/redmine-net-api/Net/RedmineApiUrls.cs +++ b/src/redmine-net-api/Net/RedmineApiUrls.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs b/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs index 763060aa..4312ba9e 100644 --- a/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs +++ b/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/RequestOptions.cs b/src/redmine-net-api/Net/RequestOptions.cs index 1b514c8a..10f7c77e 100644 --- a/src/redmine-net-api/Net/RequestOptions.cs +++ b/src/redmine-net-api/Net/RequestOptions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs index 7e3420b0..6d573e17 100644 --- a/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs +++ b/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs index 9d454562..3a3b1a2a 100644 --- a/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs +++ b/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/WebClient/IRedmineWebClientObsolete.cs b/src/redmine-net-api/Net/WebClient/IRedmineWebClientObsolete.cs index 1f6be22c..3b7c1bd9 100644 --- a/src/redmine-net-api/Net/WebClient/IRedmineWebClientObsolete.cs +++ b/src/redmine-net-api/Net/WebClient/IRedmineWebClientObsolete.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs index 51b1ad7c..df94c7fa 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/WebClient/InternalWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalWebClient.cs index dbcdf193..2bec6d92 100644 --- a/src/redmine-net-api/Net/WebClient/InternalWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalWebClient.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs index 4f72fc83..a1456ad2 100644 --- a/src/redmine-net-api/Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs +++ b/src/redmine-net-api/Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/WebClient/MessageContent/StreamApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/MessageContent/StreamApiRequestMessageContent.cs index e7527234..ed49becf 100644 --- a/src/redmine-net-api/Net/WebClient/MessageContent/StreamApiRequestMessageContent.cs +++ b/src/redmine-net-api/Net/WebClient/MessageContent/StreamApiRequestMessageContent.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/WebClient/MessageContent/StringApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/MessageContent/StringApiRequestMessageContent.cs index e69a5fee..3a1d7590 100644 --- a/src/redmine-net-api/Net/WebClient/MessageContent/StringApiRequestMessageContent.cs +++ b/src/redmine-net-api/Net/WebClient/MessageContent/StringApiRequestMessageContent.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs b/src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs index 688a499e..0276931c 100644 --- a/src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs +++ b/src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs b/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs index cd76daf1..714df02d 100644 --- a/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs +++ b/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/RedmineConstants.cs b/src/redmine-net-api/RedmineConstants.cs index f8fdad88..e9d00588 100644 --- a/src/redmine-net-api/RedmineConstants.cs +++ b/src/redmine-net-api/RedmineConstants.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index 5ecae9fd..045533cb 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/RedmineManager.Obsolete.cs b/src/redmine-net-api/RedmineManager.Obsolete.cs index 2ac4a608..950ecafb 100644 --- a/src/redmine-net-api/RedmineManager.Obsolete.cs +++ b/src/redmine-net-api/RedmineManager.Obsolete.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 0043919e..9ddbcdbe 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/RedmineManagerAsync.cs b/src/redmine-net-api/RedmineManagerAsync.cs index fb1bba7d..f7060e5a 100644 --- a/src/redmine-net-api/RedmineManagerAsync.cs +++ b/src/redmine-net-api/RedmineManagerAsync.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/RedmineManagerOptions.cs b/src/redmine-net-api/RedmineManagerOptions.cs index a0928c44..3801922b 100644 --- a/src/redmine-net-api/RedmineManagerOptions.cs +++ b/src/redmine-net-api/RedmineManagerOptions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs index 417bcdec..b54db5b3 100644 --- a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs +++ b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/SearchFilterBuilder.cs b/src/redmine-net-api/SearchFilterBuilder.cs index 65e8a7df..856fb1a7 100644 --- a/src/redmine-net-api/SearchFilterBuilder.cs +++ b/src/redmine-net-api/SearchFilterBuilder.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/IRedmineSerializer.cs b/src/redmine-net-api/Serialization/IRedmineSerializer.cs index 1c2e5eec..e6e064f4 100644 --- a/src/redmine-net-api/Serialization/IRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/IRedmineSerializer.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/Json/Extensions/JsonReaderExtensions.cs b/src/redmine-net-api/Serialization/Json/Extensions/JsonReaderExtensions.cs index 94776ceb..7d490315 100644 --- a/src/redmine-net-api/Serialization/Json/Extensions/JsonReaderExtensions.cs +++ b/src/redmine-net-api/Serialization/Json/Extensions/JsonReaderExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs b/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs index 0d5bd08e..c921d706 100644 --- a/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs +++ b/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/Json/IJsonSerializable.cs b/src/redmine-net-api/Serialization/Json/IJsonSerializable.cs index c325545f..af82ab73 100644 --- a/src/redmine-net-api/Serialization/Json/IJsonSerializable.cs +++ b/src/redmine-net-api/Serialization/Json/IJsonSerializable.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/Json/JsonObject.cs b/src/redmine-net-api/Serialization/Json/JsonObject.cs index 452df4a4..612b2a10 100644 --- a/src/redmine-net-api/Serialization/Json/JsonObject.cs +++ b/src/redmine-net-api/Serialization/Json/JsonObject.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs index 42807e3f..41f66958 100644 --- a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/MimeFormatObsolete.cs b/src/redmine-net-api/Serialization/MimeFormatObsolete.cs index 16d54fd3..1bad6a4f 100755 --- a/src/redmine-net-api/Serialization/MimeFormatObsolete.cs +++ b/src/redmine-net-api/Serialization/MimeFormatObsolete.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2023 Adrian Popescu +Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/RedmineSerializerFactory.cs b/src/redmine-net-api/Serialization/RedmineSerializerFactory.cs index 240d1af8..a315ad44 100644 --- a/src/redmine-net-api/Serialization/RedmineSerializerFactory.cs +++ b/src/redmine-net-api/Serialization/RedmineSerializerFactory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/SerializationHelper.cs b/src/redmine-net-api/Serialization/SerializationHelper.cs index 5ecd4b8f..225772aa 100644 --- a/src/redmine-net-api/Serialization/SerializationHelper.cs +++ b/src/redmine-net-api/Serialization/SerializationHelper.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/SerializationType.cs b/src/redmine-net-api/Serialization/SerializationType.cs index c46591f8..decd824c 100644 --- a/src/redmine-net-api/Serialization/SerializationType.cs +++ b/src/redmine-net-api/Serialization/SerializationType.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/Xml/CacheKeyFactory.cs b/src/redmine-net-api/Serialization/Xml/CacheKeyFactory.cs index f8a4fa72..45f17b12 100644 --- a/src/redmine-net-api/Serialization/Xml/CacheKeyFactory.cs +++ b/src/redmine-net-api/Serialization/Xml/CacheKeyFactory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs b/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs index 1c762b1a..8a57a1e6 100644 --- a/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs index 8791c6b1..cf33cb1c 100644 --- a/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/Xml/IXmlSerializerCache.cs b/src/redmine-net-api/Serialization/Xml/IXmlSerializerCache.cs index daa3afed..bfb5b416 100644 --- a/src/redmine-net-api/Serialization/Xml/IXmlSerializerCache.cs +++ b/src/redmine-net-api/Serialization/Xml/IXmlSerializerCache.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs index 74c26aea..f51e38ad 100644 --- a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/Xml/XmlSerializerCache.cs b/src/redmine-net-api/Serialization/Xml/XmlSerializerCache.cs index cdc73fe8..9a63c8d0 100644 --- a/src/redmine-net-api/Serialization/Xml/XmlSerializerCache.cs +++ b/src/redmine-net-api/Serialization/Xml/XmlSerializerCache.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Serialization/Xml/XmlTextReaderBuilder.cs b/src/redmine-net-api/Serialization/Xml/XmlTextReaderBuilder.cs index 2d24a598..dc83be34 100644 --- a/src/redmine-net-api/Serialization/Xml/XmlTextReaderBuilder.cs +++ b/src/redmine-net-api/Serialization/Xml/XmlTextReaderBuilder.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index da35047f..0fa66eb9 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Attachments.cs b/src/redmine-net-api/Types/Attachments.cs index 15024d91..21655fec 100644 --- a/src/redmine-net-api/Types/Attachments.cs +++ b/src/redmine-net-api/Types/Attachments.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs index 3e9937af..c7fddae5 100644 --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index f10a4162..b6761b32 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs index 2d3d0029..6d972c4a 100644 --- a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomFieldRole.cs b/src/redmine-net-api/Types/CustomFieldRole.cs index 8bbf192b..d870a5f9 100644 --- a/src/redmine-net-api/Types/CustomFieldRole.cs +++ b/src/redmine-net-api/Types/CustomFieldRole.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index 19569f1e..de3f4fdd 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs index 53a0b9a1..73468a6f 100644 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/DocumentCategory.cs b/src/redmine-net-api/Types/DocumentCategory.cs index 4040fade..745f695c 100644 --- a/src/redmine-net-api/Types/DocumentCategory.cs +++ b/src/redmine-net-api/Types/DocumentCategory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs index a3712f4b..06128f72 100644 --- a/src/redmine-net-api/Types/Error.cs +++ b/src/redmine-net-api/Types/Error.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index eb936dd1..874044b8 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 71e92025..ef097986 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs index 90b77899..6b622f51 100644 --- a/src/redmine-net-api/Types/GroupUser.cs +++ b/src/redmine-net-api/Types/GroupUser.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IValue.cs b/src/redmine-net-api/Types/IValue.cs index ae430755..bbfe3a77 100755 --- a/src/redmine-net-api/Types/IValue.cs +++ b/src/redmine-net-api/Types/IValue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs index b0f81444..0da0cb0d 100644 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index 02fb5c6d..f17348b0 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 7d9b488e..81cecc21 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueAllowedStatus.cs b/src/redmine-net-api/Types/IssueAllowedStatus.cs index 88013681..8cc7af61 100644 --- a/src/redmine-net-api/Types/IssueAllowedStatus.cs +++ b/src/redmine-net-api/Types/IssueAllowedStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs index abde781e..2fc6bfe0 100644 --- a/src/redmine-net-api/Types/IssueCategory.cs +++ b/src/redmine-net-api/Types/IssueCategory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs index 6418aa4f..7a9aeeb5 100644 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 1cb47bf4..5a77e3e7 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssuePriority.cs b/src/redmine-net-api/Types/IssuePriority.cs index be107464..877d3e31 100644 --- a/src/redmine-net-api/Types/IssuePriority.cs +++ b/src/redmine-net-api/Types/IssuePriority.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 88ae9eb2..5a80bd4c 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueRelationType.cs b/src/redmine-net-api/Types/IssueRelationType.cs index e2564de4..fff16392 100644 --- a/src/redmine-net-api/Types/IssueRelationType.cs +++ b/src/redmine-net-api/Types/IssueRelationType.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs index 1e842ac0..1c9a12bd 100644 --- a/src/redmine-net-api/Types/IssueStatus.cs +++ b/src/redmine-net-api/Types/IssueStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index 75cd78a3..da2234a7 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index f9f92ff1..84443fe7 100644 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs index b1069206..06770cb9 100644 --- a/src/redmine-net-api/Types/MembershipRole.cs +++ b/src/redmine-net-api/Types/MembershipRole.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/MyAccount.cs b/src/redmine-net-api/Types/MyAccount.cs index 0bcf9831..86c4bead 100644 --- a/src/redmine-net-api/Types/MyAccount.cs +++ b/src/redmine-net-api/Types/MyAccount.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/MyAccountCustomField.cs b/src/redmine-net-api/Types/MyAccountCustomField.cs index 8350527d..5e895a7c 100644 --- a/src/redmine-net-api/Types/MyAccountCustomField.cs +++ b/src/redmine-net-api/Types/MyAccountCustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index e4796eef..e8a9866f 100644 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/NewsComment.cs b/src/redmine-net-api/Types/NewsComment.cs index 3766204f..567c1b7f 100644 --- a/src/redmine-net-api/Types/NewsComment.cs +++ b/src/redmine-net-api/Types/NewsComment.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/PagedResults.cs b/src/redmine-net-api/Types/PagedResults.cs index b6b446e5..5721c2f5 100644 --- a/src/redmine-net-api/Types/PagedResults.cs +++ b/src/redmine-net-api/Types/PagedResults.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index fba871af..9f2de487 100644 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 55af2209..f3e327c0 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectEnabledModule.cs b/src/redmine-net-api/Types/ProjectEnabledModule.cs index 5128a5c0..e90971a8 100644 --- a/src/redmine-net-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net-api/Types/ProjectEnabledModule.cs @@ -1,5 +1,5 @@ /* -Copyright 2011 - 2023 Adrian Popescu +Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectIssueCategory.cs b/src/redmine-net-api/Types/ProjectIssueCategory.cs index d9181e17..76958c50 100644 --- a/src/redmine-net-api/Types/ProjectIssueCategory.cs +++ b/src/redmine-net-api/Types/ProjectIssueCategory.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index 8dd3642a..9979ab64 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectStatus.cs b/src/redmine-net-api/Types/ProjectStatus.cs index ecd504a2..1e98e1bb 100755 --- a/src/redmine-net-api/Types/ProjectStatus.cs +++ b/src/redmine-net-api/Types/ProjectStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs index 44e23cd5..69daaca1 100644 --- a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs +++ b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs index bf96390d..fa5a2533 100644 --- a/src/redmine-net-api/Types/ProjectTracker.cs +++ b/src/redmine-net-api/Types/ProjectTracker.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Query.cs b/src/redmine-net-api/Types/Query.cs index f5ef00c8..2506982c 100644 --- a/src/redmine-net-api/Types/Query.cs +++ b/src/redmine-net-api/Types/Query.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index 10a2420b..a922fff5 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Search.cs b/src/redmine-net-api/Types/Search.cs index 71ba4885..c17f8367 100644 --- a/src/redmine-net-api/Types/Search.cs +++ b/src/redmine-net-api/Types/Search.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index 79ad91bd..5af98492 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index 6e0ef6c7..4fd873e3 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs index 13d26b31..ded9c388 100644 --- a/src/redmine-net-api/Types/Tracker.cs +++ b/src/redmine-net-api/Types/Tracker.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/TrackerCustomField.cs b/src/redmine-net-api/Types/TrackerCustomField.cs index 875d93b7..5372039b 100644 --- a/src/redmine-net-api/Types/TrackerCustomField.cs +++ b/src/redmine-net-api/Types/TrackerCustomField.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index be702c1f..3948d5a5 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index e47ae005..481409bd 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/UserGroup.cs b/src/redmine-net-api/Types/UserGroup.cs index 88a173ca..57c7c0a8 100644 --- a/src/redmine-net-api/Types/UserGroup.cs +++ b/src/redmine-net-api/Types/UserGroup.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/UserStatus.cs b/src/redmine-net-api/Types/UserStatus.cs index ae00c930..86542357 100644 --- a/src/redmine-net-api/Types/UserStatus.cs +++ b/src/redmine-net-api/Types/UserStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 2861d4b3..78dc24eb 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/VersionSharing.cs b/src/redmine-net-api/Types/VersionSharing.cs index 125f3f1c..d68e8236 100644 --- a/src/redmine-net-api/Types/VersionSharing.cs +++ b/src/redmine-net-api/Types/VersionSharing.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/VersionStatus.cs b/src/redmine-net-api/Types/VersionStatus.cs index 7e452f41..69c42ce9 100644 --- a/src/redmine-net-api/Types/VersionStatus.cs +++ b/src/redmine-net-api/Types/VersionStatus.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index d413cab1..7c0dc9d1 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index d62aeb63..b2879278 100644 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/_net20/ExtensionAttribute.cs b/src/redmine-net-api/_net20/ExtensionAttribute.cs index c6857d81..4c43dcfc 100755 --- a/src/redmine-net-api/_net20/ExtensionAttribute.cs +++ b/src/redmine-net-api/_net20/ExtensionAttribute.cs @@ -1,6 +1,6 @@ #if NET20 /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/_net20/Func.cs b/src/redmine-net-api/_net20/Func.cs index ce8db0e9..39095ef6 100644 --- a/src/redmine-net-api/_net20/Func.cs +++ b/src/redmine-net-api/_net20/Func.cs @@ -1,5 +1,5 @@ /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs b/src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs index 5a8a2fcc..8344efba 100644 --- a/src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs +++ b/src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs @@ -1,7 +1,7 @@ #if NET20 /* - Copyright 2011 - 2023 Adrian Popescu + Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. From 83e216c87b1051cc99fd31613e8bc53226177909 Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 25 Apr 2025 08:42:31 +0300 Subject: [PATCH 480/601] Update README.md --- README.md | 154 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 102 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 11bb8f6c..cc860e6f 100755 --- a/README.md +++ b/README.md @@ -1,74 +1,124 @@ +# ![Redmine .NET API](https://raw.githubusercontent.com/zapadi/redmine-net-api/master/logo.png) redmine-net-api -![Redmine .NET Api](https://github.com/zapadi/redmine-net-api/workflows/CI%2FCD/badge.svg?branch=master) -![Appveyor last build status](https://ci.appveyor.com/api/projects/status/github/zapadi/redmine-net-api?branch=master&svg=true&passingText=master%20-%20OK&failingText=ups...) -[![NuGet package](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) -![Nuget](https://img.shields.io/nuget/dt/redmine-api) -Buy Me A Coffee +[![NuGet](https://img.shields.io/nuget/v/redmine-api.svg)](https://www.nuget.org/packages/redmine-api) +[![NuGet Downloads](https://img.shields.io/nuget/dt/redmine-api)](https://www.nuget.org/packages/redmine-api) +[![License](https://img.shields.io/github/license/zapadi/redmine-net-api)](LICENSE) +[![Contributors](https://img.shields.io/github/contributors/zapadi/redmine-net-api)](https://github.com/zapadi/redmine-net-api/graphs/contributors) -# redmine-net-api ![redmine-net-api logo](https://github.com/zapadi/redmine-net-api/blob/master/logo.png) +A modern and flexible .NET client library to interact with [Redmine](https://www.redmine.org)'s REST API. Supports XML and JSON formats with GZipped responses for improved performance. -redmine-net-api is a library for communicating with a Redmine project management application. -* Uses [Redmine's REST API.](http://www.redmine.org/projects/redmine/wiki/Rest_api/) -* Supports both XML and **JSON** formats. -* Supports GZipped responses from servers. -* This API provides access and basic CRUD operations (create, read, update, delete) for the resources described below: +## 🚀 Features -| Resource | Read | Create | Update | Delete | -|:--------------------|:-------:|:-------:|:-------:|:-------:| -| Attachments | ✓ | ✓ | ✗ | ✗ | -| Custom Fields | ✓ | ✗ | ✗ | ✗ | -| Enumerations | ✓ | ✗ | ✗ | ✗ | -| Files | ✓ | ✓ | ✗ | ✗ | -| Groups | ✓ | ✓ | ✓ | ✓ | -| Issues | ✓ | ✓ | ✓ | ✓ | -| Issue Categories | ✓ | ✓ | ✓ | ✓ | -| Issue Relations | ✓ | ✓ | ✓ | ✓ | -| Issue Statuses | ✓ | ✗ | ✗ | ✗ | -| My account | ✓ | ✗ | ✓ | ✗ | -| News | ✓ | ✓ | ✓ | ✓ | -| Projects | ✓ | ✓ | ✓ | ✓ | -| Project Memberships | ✓ | ✓ | ✓ | ✓ | -| Queries | ✓ | ✗ | ✗ | ✗ | -| Roles | ✓ | ✗ | ✗ | ✗ | -| Search | ✓ | | | | -| Time Entries | ✓ | ✓ | ✓ | ✓ | -| Trackers | ✓ | ✗ | ✗ | ✗ | -| Users | ✓ | ✓ | ✓ | ✓ | -| Versions | ✓ | ✓ | ✓ | ✓ | -| Wiki Pages | ✓ | ✓ | ✓ | ✓ | +- Full REST API support with CRUD operations +- Supports both XML and JSON data formats +- Handles GZipped server responses transparently +- Easy integration via NuGet package +- Actively maintained and community-driven -## WIKI +| Resource | Read | Create | Update | Delete | +|----------------------|:----:|:------:|:------:|:------:| +| Attachments | ✅ | ✅ | ❌ | ❌ | +| Custom Fields | ✅ | ❌ | ❌ | ❌ | +| Enumerations | ✅ | ❌ | ❌ | ❌ | +| Files | ✅ | ✅ | ❌ | ❌ | +| Groups | ✅ | ✅ | ✅ | ✅ | +| Issues | ✅ | ✅ | ✅ | ✅ | +| Issue Categories | ✅ | ✅ | ✅ | ✅ | +| Issue Relations | ✅ | ✅ | ✅ | ✅ | +| Issue Statuses | ✅ | ❌ | ❌ | ❌ | +| My Account | ✅ | ❌ | ✅ | ❌ | +| News | ✅ | ✅ | ✅ | ✅ | +| Projects | ✅ | ✅ | ✅ | ✅ | +| Project Memberships | ✅ | ✅ | ✅ | ✅ | +| Queries | ✅ | ❌ | ❌ | ❌ | +| Roles | ✅ | ❌ | ❌ | ❌ | +| Search | ✅ | | | | +| Time Entries | ✅ | ✅ | ✅ | ✅ | +| Trackers | ✅ | ❌ | ❌ | ❌ | +| Users | ✅ | ✅ | ✅ | ✅ | +| Versions | ✅ | ✅ | ✅ | ✅ | +| Wiki Pages | ✅ | ✅ | ✅ | ✅ | -Please review the ![wiki](https://github.com/zapadi/redmine-net-api/wiki) pages on how to use **redmine-net-api**. -## Contributing -Contributions are really appreciated! +## 📦 Installation -A good way to get started (flow): +Add the package via NuGet: -1. Fork the redmine-net-api repository. -2. Create a new branch in your current repos from the 'master' branch. -3. 'Check out' the code with *Git*, *GitHub Desktop*, *SourceTree*, *GitKraken*, *etc*. -4. Push commits and create a Pull Request (PR) to redmine-net-api. +```bash +dotnet add package Redmine.Net.Api +``` -## License -[![redmine-net-api](https://img.shields.io/hexpm/l/plug.svg)]() +Or via Package Manager Console: -The API is released under Apache 2 open-source license. You can use it for both personal and commercial purposes, build upon it and modify it. +```powershell +Install-Package Redmine.Net.Api +``` -## Contributors -Thanks to all the people who already contributed! + +## 🧑‍💻 Usage Example + +```csharp +using Redmine.Net.Api; +using Redmine.Net.Api.Types; +using System; +using System.Threading.Tasks; + +class Program +{ + static async Task Main() + { + var options = new RedmineManagerOptions + { + BaseAddress = "https://your-redmine-url/", + ApiKey = "your-api-key" + }; + + var manager = new RedmineManager(options); + + // Retrieve an issue asynchronously + var issue = await manager.GetObjectAsync(12345); + Console.WriteLine($"Issue subject: {issue.Subject}"); + } +} +``` +Explore more usage examples on the [Wiki](https://github.com/zapadi/redmine-net-api/wiki). + + +## 📚 Documentation + +Detailed API reference, guides, and tutorials are available in the [GitHub Wiki](https://github.com/zapadi/redmine-net-api/wiki). + + +## 🙌 Contributing + +We welcome contributions! Here's how you can help: + +1. Fork the repository +2. Create a new branch (`git checkout -b feature/my-feature`) +3. Make your changes and commit (`git commit -m 'Add some feature'`) +4. Push to your fork (`git push origin feature/my-feature`) +5. Open a Pull Request + +See the [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines. + + +## 🤝 Contributors + +Thanks to all contributors! -## Thanks -I would like to thank: +## 📝 License + +This project is licensed under the [Apache License 2.0](LICENSE). + + +## ☕ Support -* JetBrains for my Open Source ReSharper licence, +If you find this project useful, consider ![[buying me a coffee](https://cdn.buymeacoffee.com/buttons/lato-yellow.png)](https://www.buymeacoffee.com/vXCNnz9) to support development. -* AppVeyor for allowing free build CI services for Open Source projects From 9e2de5a754268146bcc910c0196bbf6a76bc17b8 Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 25 Apr 2025 08:45:27 +0300 Subject: [PATCH 481/601] Update PULL_REQUEST_TEMPLATE.md --- PULL_REQUEST_TEMPLATE.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md index e69de29b..83503568 100644 --- a/PULL_REQUEST_TEMPLATE.md +++ b/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,9 @@ +We welcome contributions! + +Here's how you can help: + +1. Fork the repository +2. Create a new branch (git checkout -b feature/my-feature) +3. Make your changes and commit (git commit -m 'Add some feature') +4. Push to your fork (git push origin feature/my-feature) +5. Open a Pull Request From fe31c316fa695989e2f96b61b343358cd3c62c8e Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 25 Apr 2025 08:46:14 +0300 Subject: [PATCH 482/601] Update README.md --- README.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/README.md b/README.md index cc860e6f..e55a5a0f 100755 --- a/README.md +++ b/README.md @@ -93,14 +93,6 @@ Detailed API reference, guides, and tutorials are available in the [GitHub Wiki] ## 🙌 Contributing -We welcome contributions! Here's how you can help: - -1. Fork the repository -2. Create a new branch (`git checkout -b feature/my-feature`) -3. Make your changes and commit (`git commit -m 'Add some feature'`) -4. Push to your fork (`git push origin feature/my-feature`) -5. Open a Pull Request - See the [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines. From c372cd2bdce278f8fc8e41aeed9b584e7f31cab8 Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 25 Apr 2025 15:30:55 +0300 Subject: [PATCH 483/601] Update README.md --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e55a5a0f..8bb1546c 100755 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![Contributors](https://img.shields.io/github/contributors/zapadi/redmine-net-api)](https://github.com/zapadi/redmine-net-api/graphs/contributors) -A modern and flexible .NET client library to interact with [Redmine](https://www.redmine.org)'s REST API. Supports XML and JSON formats with GZipped responses for improved performance. +A modern and flexible .NET client library to interact with [Redmine](https://www.redmine.org)'s REST API. ## 🚀 Features @@ -69,11 +69,9 @@ class Program { static async Task Main() { - var options = new RedmineManagerOptions - { - BaseAddress = "https://your-redmine-url/", - ApiKey = "your-api-key" - }; + var options = new RedmineManagerOptionsBuilder() + .WithHost("https://your-redmine-url/") + .WithApiKeyAuthentication("your-api-key"); var manager = new RedmineManager(options); From 5e4a65b3674e3520a5478b1e52e44cd2c1d5c90b Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 25 Apr 2025 15:32:52 +0300 Subject: [PATCH 484/601] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8bb1546c..4cf48cb0 100755 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ class Program var manager = new RedmineManager(options); // Retrieve an issue asynchronously - var issue = await manager.GetObjectAsync(12345); + var issue = await manager.GetAsync(12345); Console.WriteLine($"Issue subject: {issue.Subject}"); } } From 18209bbfd76cda9d40428de567fae9941cee37df Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 25 Apr 2025 16:46:31 +0300 Subject: [PATCH 485/601] Create FUNDING.yml --- .github/FUNDING.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..7b66a62f --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,3 @@ +# These are supported funding model platforms + +buy_me_a_coffee: vXCNnz9 From ddacd569b951ca1646b70890cbcc0e5fa4985ffd Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 8 May 2025 11:24:36 +0300 Subject: [PATCH 486/601] Fix #371 & small refactoring (#384) --- .../Extensions/RedmineManagerExtensions.cs | 2 +- src/redmine-net-api/Net/RequestOptions.cs | 16 ++++ src/redmine-net-api/RedmineManager.cs | 6 +- src/redmine-net-api/RedmineManagerAsync.cs | 77 ++++++++----------- .../Serialization/Xml/XmlRedmineSerializer.cs | 2 +- .../Bugs/RedmineApi-371.cs | 6 +- 6 files changed, 56 insertions(+), 53 deletions(-) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index 35c5e006..18d0b5e6 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -449,7 +449,7 @@ public static PagedResults Search(this RedmineManager redmineManager, st { var parameters = CreateSearchParameters(q, limit, offset, searchFilter); - var response = redmineManager.GetPaginatedObjects(parameters); + var response = redmineManager.GetPaginated(new RequestOptions() {QueryString = parameters}); return response; } diff --git a/src/redmine-net-api/Net/RequestOptions.cs b/src/redmine-net-api/Net/RequestOptions.cs index 10f7c77e..1c31f7a6 100644 --- a/src/redmine-net-api/Net/RequestOptions.cs +++ b/src/redmine-net-api/Net/RequestOptions.cs @@ -43,4 +43,20 @@ public sealed class RequestOptions /// /// public string UserAgent { get; set; } + + /// + /// + /// + /// + public RequestOptions Clone() + { + return new RequestOptions + { + QueryString = QueryString != null ? new NameValueCollection(QueryString) : null, + ImpersonateUser = ImpersonateUser, + ContentType = ContentType, + Accept = Accept, + UserAgent = UserAgent + }; + } } \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 9ddbcdbe..6e10e7b4 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -140,7 +140,7 @@ public T Get(string id, RequestOptions requestOptions = null) public List Get(RequestOptions requestOptions = null) where T : class, new() { - var uri = RedmineApiUrls.GetListFragment(); + var uri = RedmineApiUrls.GetListFragment(requestOptions); return GetInternal(uri, requestOptions); } @@ -149,7 +149,7 @@ public List Get(RequestOptions requestOptions = null) public PagedResults GetPaginated(RequestOptions requestOptions = null) where T : class, new() { - var url = RedmineApiUrls.GetListFragment(); + var url = RedmineApiUrls.GetListFragment(requestOptions); return GetPaginatedInternal(url, requestOptions); } @@ -289,7 +289,7 @@ internal List GetInternal(string uri, RequestOptions requestOptions = null internal PagedResults GetPaginatedInternal(string uri = null, RequestOptions requestOptions = null) where T : class, new() { - uri = uri.IsNullOrWhiteSpace() ? RedmineApiUrls.GetListFragment() : uri; + uri = uri.IsNullOrWhiteSpace() ? RedmineApiUrls.GetListFragment(requestOptions) : uri; var response= ApiClient.Get(uri, requestOptions); diff --git a/src/redmine-net-api/RedmineManagerAsync.cs b/src/redmine-net-api/RedmineManagerAsync.cs index f7060e5a..72e2d6a6 100644 --- a/src/redmine-net-api/RedmineManagerAsync.cs +++ b/src/redmine-net-api/RedmineManagerAsync.cs @@ -30,8 +30,6 @@ namespace Redmine.Net.Api; public partial class RedmineManager: IRedmineManagerAsync { - - /// public async Task CountAsync(RequestOptions requestOptions, CancellationToken cancellationToken = default) where T : class, new() @@ -55,7 +53,7 @@ public async Task CountAsync(RequestOptions requestOptions, Cancellation public async Task> GetPagedAsync(RequestOptions requestOptions = null, CancellationToken cancellationToken = default) where T : class, new() { - var url = RedmineApiUrls.GetListFragment(); + var url = RedmineApiUrls.GetListFragment(requestOptions); var response = await ApiClient.GetAsync(url, requestOptions, cancellationToken).ConfigureAwait(false); @@ -71,67 +69,57 @@ public async Task> GetAsync(RequestOptions requestOptions = null, Can var isLimitSet = false; List resultList = null; - requestOptions ??= new RequestOptions(); - - if (requestOptions.QueryString == null) + var baseRequestOptions = requestOptions != null ? requestOptions.Clone() : new RequestOptions(); + if (baseRequestOptions.QueryString == null) { - requestOptions.QueryString = new NameValueCollection(); + baseRequestOptions.QueryString = new NameValueCollection(); } else { - isLimitSet = int.TryParse(requestOptions.QueryString[RedmineKeys.LIMIT], out pageSize); - int.TryParse(requestOptions.QueryString[RedmineKeys.OFFSET], out offset); + isLimitSet = int.TryParse(baseRequestOptions.QueryString[RedmineKeys.LIMIT], out pageSize); + int.TryParse(baseRequestOptions.QueryString[RedmineKeys.OFFSET], out offset); } if (pageSize == default) { - pageSize = PageSize > 0 - ? PageSize + pageSize = _redmineManagerOptions.PageSize > 0 + ? _redmineManagerOptions.PageSize : RedmineConstants.DEFAULT_PAGE_SIZE_VALUE; - requestOptions.QueryString.Set(RedmineKeys.LIMIT, pageSize.ToInvariantString()); + baseRequestOptions.QueryString.Set(RedmineKeys.LIMIT, pageSize.ToInvariantString()); } - - var hasOffset = RedmineManager.TypesWithOffset.ContainsKey(typeof(T)); + + var hasOffset = TypesWithOffset.ContainsKey(typeof(T)); if (hasOffset) { - requestOptions.QueryString.Set(RedmineKeys.OFFSET, offset.ToInvariantString()); + var firstPageOptions = baseRequestOptions.Clone(); + firstPageOptions.QueryString.Set(RedmineKeys.OFFSET, offset.ToInvariantString()); + var firstPage = await GetPagedAsync(firstPageOptions, cancellationToken).ConfigureAwait(false); - var tempResult = await GetPagedAsync(requestOptions, cancellationToken).ConfigureAwait(false); - - var totalCount = isLimitSet ? pageSize : tempResult.TotalItems; - - if (tempResult?.Items != null) + if (firstPage == null || firstPage.Items == null) { - resultList = new List(tempResult.Items); + return null; } - - var totalPages = (int)Math.Ceiling((double)totalCount / pageSize); - - var remainingPages = totalPages - offset / pageSize; + + var totalCount = isLimitSet ? pageSize : firstPage.TotalItems; + resultList = new List(firstPage.Items); + var totalPages = (int)Math.Ceiling((double)totalCount / pageSize); + var remainingPages = totalPages - 1 - (offset / pageSize); if (remainingPages <= 0) { return resultList; } - + using (var semaphore = new SemaphoreSlim(MAX_CONCURRENT_TASKS)) { var pageFetchTasks = new List>>(); - - for (int page = 0; page < remainingPages; page++) + for (int page = 1; page <= remainingPages; page++) { await semaphore.WaitAsync(cancellationToken).ConfigureAwait(false); - - var innerOffset = (page * pageSize) + offset; - - pageFetchTasks.Add(GetPagedInternalAsync(semaphore, new RequestOptions() - { - QueryString = new NameValueCollection() - { - {RedmineKeys.OFFSET, innerOffset.ToInvariantString()}, - {RedmineKeys.LIMIT, pageSize.ToInvariantString()} - } - }, cancellationToken)); + var pageOffset = (page * pageSize) + offset; + var pageRequestOptions = baseRequestOptions.Clone(); + pageRequestOptions.QueryString.Set(RedmineKeys.OFFSET, pageOffset.ToInvariantString()); + pageFetchTasks.Add(GetPagedInternalAsync(semaphore, pageRequestOptions, cancellationToken)); } var pageResults = await @@ -141,30 +129,27 @@ public async Task> GetAsync(RequestOptions requestOptions = null, Can TaskExtensions.WhenAll(pageFetchTasks) #endif .ConfigureAwait(false); - + foreach (var pageResult in pageResults) { if (pageResult?.Items == null) { continue; } - - resultList ??= new List(); - resultList.AddRange(pageResult.Items); } } } else { - var result = await GetPagedAsync(requestOptions, cancellationToken: cancellationToken) + var result = await GetPagedAsync(baseRequestOptions, cancellationToken: cancellationToken) .ConfigureAwait(false); if (result?.Items != null) { return new List(result.Items); } } - + return resultList; } @@ -245,7 +230,7 @@ private async Task> GetPagedInternalAsync(SemaphoreSlim semap { try { - var url = RedmineApiUrls.GetListFragment(); + var url = RedmineApiUrls.GetListFragment(requestOptions); var response = await ApiClient.GetAsync(url, requestOptions, cancellationToken).ConfigureAwait(false); diff --git a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs index f51e38ad..253543c7 100644 --- a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs @@ -126,7 +126,7 @@ public string Serialize(T entity) where T : class var limit = xmlReader.ReadAttributeAsInt(RedmineKeys.LIMIT); var result = xmlReader.ReadElementContentAsCollection(); - if (totalItems == 0 && result.Count > 0) + if (totalItems == 0 && result?.Count > 0) { totalItems = result.Count; } diff --git a/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs b/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs index 08b3049d..d83e4db1 100644 --- a/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs +++ b/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs @@ -1,5 +1,6 @@ using System.Collections.Specialized; using Padi.DotNet.RedmineAPI.Tests.Tests; +using Redmine.Net.Api; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Net; using Redmine.Net.Api.Types; @@ -19,12 +20,13 @@ public RedmineApi371(RedmineApiUrlsFixture fixture) [Fact] public void Should_Return_IssueCategories_For_Project_Url() { + var projectIdAsString = 1.ToInvariantString(); var result = _fixture.Sut.GetListFragment( new RequestOptions { - QueryString = new NameValueCollection{ { "project_id", 1.ToInvariantString() } } + QueryString = new NameValueCollection{ { RedmineKeys.PROJECT_ID, projectIdAsString } } }); - Assert.Equal($"projects/1/issue_categories.{_fixture.Format}", result); + Assert.Equal($"projects/{projectIdAsString}/issue_categories.{_fixture.Format}", result); } } \ No newline at end of file From f605b2598162f43bd600d167cf46ea737b3048cf Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 8 May 2025 11:05:29 +0300 Subject: [PATCH 487/601] Fix IssueStatus xml deserialization --- src/redmine-net-api/Types/Issue.cs | 6 +- src/redmine-net-api/Types/IssueStatus.cs | 64 +++++++++- .../Clone/IssueCloneTests.cs | 2 +- .../Equality/IssueEqualityTests.cs | 2 +- .../Serialization/Json/IssuesTests.cs | 99 ++++++++++++++++ .../Serialization/Xml/IssueTests.cs | 110 +++++++++++++++++- 6 files changed, 273 insertions(+), 10 deletions(-) create mode 100644 tests/redmine-net-api.Tests/Serialization/Json/IssuesTests.cs diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 81cecc21..1e17007d 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -59,7 +59,7 @@ public sealed class Issue : /// Gets or sets the status.Possible values: open, closed, * to get open and closed issues, status id /// /// The status. - public IdentifiableName Status { get; set; } + public IssueStatus Status { get; set; } /// /// Gets or sets the priority. @@ -307,7 +307,7 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.RELATIONS: Relations = reader.ReadElementContentAsCollection(); break; case RedmineKeys.SPENT_HOURS: SpentHours = reader.ReadElementContentAsNullableFloat(); break; case RedmineKeys.START_DATE: StartDate = reader.ReadElementContentAsNullableDateTime(); break; - case RedmineKeys.STATUS: Status = new IdentifiableName(reader); break; + case RedmineKeys.STATUS: Status = new IssueStatus(reader); break; case RedmineKeys.SUBJECT: Subject = reader.ReadElementContentAsString(); break; case RedmineKeys.TOTAL_ESTIMATED_HOURS: TotalEstimatedHours = reader.ReadElementContentAsNullableFloat(); break; case RedmineKeys.TOTAL_SPENT_HOURS: TotalSpentHours = reader.ReadElementContentAsNullableFloat(); break; @@ -406,7 +406,7 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.RELATIONS: Relations = reader.ReadAsCollection(); break; case RedmineKeys.SPENT_HOURS: SpentHours = (float?)reader.ReadAsDouble(); break; case RedmineKeys.START_DATE: StartDate = reader.ReadAsDateTime(); break; - case RedmineKeys.STATUS: Status = new IdentifiableName(reader); break; + case RedmineKeys.STATUS: Status = new IssueStatus(reader); break; case RedmineKeys.SUBJECT: Subject = reader.ReadAsString(); break; case RedmineKeys.TOTAL_ESTIMATED_HOURS: TotalEstimatedHours = (float?)reader.ReadAsDouble(); break; case RedmineKeys.TOTAL_SPENT_HOURS: TotalSpentHours = (float?)reader.ReadAsDouble(); break; diff --git a/src/redmine-net-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs index 1c9a12bd..632f48ef 100644 --- a/src/redmine-net-api/Types/IssueStatus.cs +++ b/src/redmine-net-api/Types/IssueStatus.cs @@ -30,8 +30,44 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.ISSUE_STATUS)] - public sealed class IssueStatus : IdentifiableName, IEquatable + public sealed class IssueStatus : IdentifiableName, IEquatable, ICloneable { + public IssueStatus() + { + + } + + /// + /// + /// + internal IssueStatus(int id, string name, bool isDefault = false, bool isClosed = false) + { + Id = id; + Name = name; + IsClosed = isClosed; + IsDefault = isDefault; + } + + internal IssueStatus(XmlReader reader) + { + Initialize(reader); + } + + internal IssueStatus(JsonReader reader) + { + Initialize(reader); + } + + private void Initialize(XmlReader reader) + { + ReadXml(reader); + } + + private void Initialize(JsonReader reader) + { + ReadJson(reader); + } + #region Properties /// /// Gets or sets a value indicating whether IssueStatus is default. @@ -55,6 +91,16 @@ public sealed class IssueStatus : IdentifiableName, IEquatable /// public override void ReadXml(XmlReader reader) { + if (reader.HasAttributes && reader.Name == "status") + { + Id = reader.ReadAttributeAsInt(RedmineKeys.ID); + IsClosed = reader.ReadAttributeAsBoolean(RedmineKeys.IS_CLOSED); + IsDefault = reader.ReadAttributeAsBoolean(RedmineKeys.IS_DEFAULT); + Name = reader.GetAttribute(RedmineKeys.NAME); + reader.Read(); + return; + } + reader.Read(); while (!reader.EOF) { @@ -121,6 +167,22 @@ public bool Equals(IssueStatus other) && IsDefault == other.IsDefault; } + /// + /// + /// + /// + /// + public new IssueStatus Clone(bool resetId) + { + return new IssueStatus + { + Id = Id, + Name = Name, + IsClosed = IsClosed, + IsDefault = IsDefault + }; + } + /// /// /// diff --git a/tests/redmine-net-api.Tests/Clone/IssueCloneTests.cs b/tests/redmine-net-api.Tests/Clone/IssueCloneTests.cs index 3aac1e6c..0d0b82fa 100644 --- a/tests/redmine-net-api.Tests/Clone/IssueCloneTests.cs +++ b/tests/redmine-net-api.Tests/Clone/IssueCloneTests.cs @@ -94,7 +94,7 @@ private static Issue CreateSampleIssue() Id = 1, Project = new IdentifiableName(100, "Test Project"), Tracker = new IdentifiableName(200, "Bug"), - Status = new IdentifiableName(300, "New"), + Status = new IssueStatus(300, "New"), Priority = new IdentifiableName(400, "Normal"), Author = new IdentifiableName(500, "John Doe"), Subject = "Test Issue", diff --git a/tests/redmine-net-api.Tests/Equality/IssueEqualityTests.cs b/tests/redmine-net-api.Tests/Equality/IssueEqualityTests.cs index 90dcc08a..5060aece 100644 --- a/tests/redmine-net-api.Tests/Equality/IssueEqualityTests.cs +++ b/tests/redmine-net-api.Tests/Equality/IssueEqualityTests.cs @@ -88,7 +88,7 @@ private static Issue CreateSampleIssue() Id = 1, Project = new IdentifiableName { Id = 100, Name = "Test Project" }, Tracker = new IdentifiableName { Id = 1, Name = "Bug" }, - Status = new IdentifiableName { Id = 1, Name = "New" }, + Status = new IssueStatus { Id = 1, Name = "New" }, Priority = new IdentifiableName { Id = 1, Name = "Normal" }, Author = new IdentifiableName { Id = 1, Name = "John Doe" }, Subject = "Test Issue", diff --git a/tests/redmine-net-api.Tests/Serialization/Json/IssuesTests.cs b/tests/redmine-net-api.Tests/Serialization/Json/IssuesTests.cs new file mode 100644 index 00000000..e1f9965c --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Json/IssuesTests.cs @@ -0,0 +1,99 @@ +using System; +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Json; + +[Collection(Constants.JsonRedmineSerializerCollection)] +public class IssuesTests(JsonSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Issue_With_Watchers() + { + const string input = """ + { + "issue": { + "id": 5, + "project": { + "id": 1, + "name": "Project-Test" + }, + "tracker": { + "id": 1, + "name": "Bug" + }, + "status": { + "id": 1, + "name": "New", + "is_closed": true + }, + "priority": { + "id": 2, + "name": "Normal" + }, + "author": { + "id": 90, + "name": "Admin User" + }, + "fixed_version": { + "id": 2, + "name": "version2" + }, + "subject": "#380", + "description": "", + "start_date": "2025-04-28", + "due_date": null, + "done_ratio": 0, + "is_private": false, + "estimated_hours": null, + "total_estimated_hours": null, + "spent_hours": 0.0, + "total_spent_hours": 0.0, + "created_on": "2025-04-28T17:58:42Z", + "updated_on": "2025-04-28T17:58:42Z", + "closed_on": null, + "watchers": [ + { + "id": 91, + "name": "Normal User" + }, + { + "id": 90, + "name": "Admin User" + } + ] + } + } + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + Assert.Equal(5, output.Id); + Assert.Equal("Project-Test", output.Project.Name); + Assert.Equal(1, output.Project.Id); + Assert.Equal("Bug", output.Tracker.Name); + Assert.Equal(1, output.Tracker.Id); + Assert.Equal("New", output.Status.Name); + Assert.Equal(1, output.Status.Id); + Assert.True(output.Status.IsClosed); + Assert.False(output.Status.IsDefault); + Assert.Equal(2, output.FixedVersion.Id); + Assert.Equal("version2", output.FixedVersion.Name); + Assert.Equal(new DateTime(2025, 4, 28), output.StartDate); + Assert.Null(output.DueDate); + Assert.Equal(0, output.DoneRatio); + Assert.Null(output.EstimatedHours); + Assert.Null(output.TotalEstimatedHours); + + var watchers = output.Watchers.ToList(); + Assert.Equal(2, watchers.Count); + + Assert.Equal(91, watchers[0].Id); + Assert.Equal("Normal User", watchers[0].Name); + Assert.Equal(90, watchers[1].Id); + Assert.Equal("Admin User", watchers[1].Name); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/IssueTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/IssueTests.cs index e326f8db..6791587c 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/IssueTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/IssueTests.cs @@ -117,10 +117,8 @@ This is not to be confused with another useful proposed feature that 4325 - - - - + + 1.0.1 @@ -134,6 +132,48 @@ This is not to be confused with another useful proposed feature that """; var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(2, output.TotalItems); + + var issues = output.Items.ToList(); + Assert.Equal(4326, issues[0].Id); + Assert.Equal("Redmine", issues[0].Project.Name); + Assert.Equal(1, issues[0].Project.Id); + Assert.Equal("Feature", issues[0].Tracker.Name); + Assert.Equal(2, issues[0].Tracker.Id); + Assert.Equal("New", issues[0].Status.Name); + Assert.Equal(1, issues[0].Status.Id); + Assert.Equal("Normal", issues[0].Priority.Name); + Assert.Equal(4, issues[0].Priority.Id); + Assert.Equal("John Smith", issues[0].Author.Name); + Assert.Equal(10106, issues[0].Author.Id); + Assert.Equal("Email notifications", issues[0].Category.Name); + Assert.Equal(9, issues[0].Category.Id); + Assert.Contains("Aggregate Multiple Issue Changes for Email Notifications", issues[0].Subject); + Assert.Contains("This is not to be confused with another useful proposed feature", issues[0].Description); + Assert.Equal(new DateTime(2009, 12, 3), issues[0].StartDate); + Assert.Null(issues[0].DueDate); + Assert.Equal(0, issues[0].DoneRatio); + Assert.Null(issues[0].EstimatedHours); + + Assert.NotNull(issues[0].CustomFields); + var issueCustomFields = issues[0].CustomFields.ToList(); + Assert.Equal(4, issueCustomFields.Count); + + Assert.Equal(2,issueCustomFields[0].Id); + Assert.Equal("Duplicate",issueCustomFields[0].Values[0].Info); + Assert.False(issueCustomFields[0].Multiple); + Assert.Equal("Resolution",issueCustomFields[0].Name); + + Assert.NotNull(issues[1].CustomFields); + issueCustomFields = issues[1].CustomFields.ToList(); + Assert.Equal(2, issueCustomFields.Count); + + Assert.Equal(1,issueCustomFields[0].Id); + Assert.Equal("1.0.1",issueCustomFields[0].Values[0].Info); + Assert.False(issueCustomFields[0].Multiple); + Assert.Equal("Affected version",issueCustomFields[0].Name); } [Fact] @@ -200,5 +240,67 @@ public void Should_Deserialize_Issue_With_Journals() Assert.Equal("8", details[0].NewValue); } + + [Fact] + public void Should_Deserialize_Issue_With_Watchers() + { + const string input = """ + + + 5 + + + + + + + #380 + + 2025-04-28 + + 0 + false + + + 0.0 + 0.0 + 2025-04-28T17:58:42Z + 2025-04-28T17:58:42Z + + + + + + + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + Assert.Equal(5, output.Id); + Assert.Equal("Project-Test", output.Project.Name); + Assert.Equal(1, output.Project.Id); + Assert.Equal("Bug", output.Tracker.Name); + Assert.Equal(1, output.Tracker.Id); + Assert.Equal("New", output.Status.Name); + Assert.Equal(1, output.Status.Id); + Assert.True(output.Status.IsClosed); + Assert.False(output.Status.IsDefault); + Assert.Equal(2, output.FixedVersion.Id); + Assert.Equal("version2", output.FixedVersion.Name); + Assert.Equal(new DateTime(2025, 4, 28), output.StartDate); + Assert.Null(output.DueDate); + Assert.Equal(0, output.DoneRatio); + Assert.Null(output.EstimatedHours); + Assert.Null(output.TotalEstimatedHours); + + var watchers = output.Watchers.ToList(); + Assert.Equal(2, watchers.Count); + + Assert.Equal(91, watchers[0].Id); + Assert.Equal("Normal User", watchers[0].Name); + Assert.Equal(90, watchers[1].Id); + Assert.Equal("Admin User", watchers[1].Name); + } } From a246b6807fe4994d4855a097e1a3499f4c0d1555 Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 8 May 2025 11:35:07 +0300 Subject: [PATCH 488/601] [Watcher] Implement IEquatable --- src/redmine-net-api/Types/Watcher.cs | 76 ++++++++++++++++++++++++++-- 1 file changed, 72 insertions(+), 4 deletions(-) diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index 7c0dc9d1..b990a464 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -1,4 +1,4 @@ -/* +/* Copyright 2011 - 2025 Adrian Popescu Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,6 +18,7 @@ limitations under the License. using System.Diagnostics; using System.Globalization; using System.Xml.Serialization; +using Redmine.Net.Api.Internals; namespace Redmine.Net.Api.Types { @@ -26,7 +27,8 @@ namespace Redmine.Net.Api.Types /// [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [XmlRoot(RedmineKeys.USER)] - public sealed class Watcher : Identifiable + public sealed class Watcher : IdentifiableName + ,IEquatable ,ICloneable ,IValue { @@ -47,16 +49,82 @@ public sealed class Watcher : Identifiable { if (resetId) { - return new Watcher(); + return new Watcher() + { + Name = Name + }; } return new Watcher { - Id = Id + Id = Id, + Name = Name }; } #endregion + #region Implementation of IEquatable + /// + /// + /// + /// + /// + public bool Equals(Watcher other) + { + if (other == null) return false; + return Id == other.Id && string.Equals(Name, other.Name, StringComparison.Ordinal); + } + + /// + /// + /// + /// + /// + public override bool Equals(object obj) + { + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + if (obj.GetType() != GetType()) return false; + return Equals(obj as Watcher); + } + + /// + /// + /// + /// + public override int GetHashCode() + { + unchecked + { + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + return hashCode; + } + } + + /// + /// + /// + /// + /// + /// + public static bool operator ==(Watcher left, Watcher right) + { + return Equals(left, right); + } + + /// + /// + /// + /// + /// + /// + public static bool operator !=(Watcher left, Watcher right) + { + return !Equals(left, right); + } + #endregion + /// /// /// From 85bca83ce699af6614390344d8fbd21260658890 Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 8 May 2025 11:40:52 +0300 Subject: [PATCH 489/601] DebuggerDisplay improvements --- src/redmine-net-api/Types/Attachment.cs | 11 +------- src/redmine-net-api/Types/ChangeSet.cs | 7 +---- src/redmine-net-api/Types/CustomField.cs | 18 +------------ .../Types/CustomFieldPossibleValue.cs | 2 +- src/redmine-net-api/Types/CustomFieldRole.cs | 3 ++- src/redmine-net-api/Types/CustomFieldValue.cs | 2 +- src/redmine-net-api/Types/Detail.cs | 2 +- src/redmine-net-api/Types/DocumentCategory.cs | 2 +- src/redmine-net-api/Types/Error.cs | 2 +- src/redmine-net-api/Types/File.cs | 2 +- src/redmine-net-api/Types/Group.cs | 2 +- src/redmine-net-api/Types/GroupUser.cs | 3 ++- src/redmine-net-api/Types/Identifiable.cs | 3 ++- src/redmine-net-api/Types/IdentifiableName.cs | 2 +- src/redmine-net-api/Types/Issue.cs | 26 +------------------ .../Types/IssueAllowedStatus.cs | 2 +- src/redmine-net-api/Types/IssueCategory.cs | 2 +- src/redmine-net-api/Types/IssueChild.cs | 2 +- src/redmine-net-api/Types/IssueCustomField.cs | 2 +- src/redmine-net-api/Types/IssuePriority.cs | 2 +- src/redmine-net-api/Types/IssueRelation.cs | 6 +---- src/redmine-net-api/Types/IssueStatus.cs | 2 +- src/redmine-net-api/Types/Journal.cs | 2 +- src/redmine-net-api/Types/Membership.cs | 2 +- src/redmine-net-api/Types/MembershipRole.cs | 3 +-- src/redmine-net-api/Types/MyAccount.cs | 12 +-------- .../Types/MyAccountCustomField.cs | 2 +- src/redmine-net-api/Types/News.cs | 2 +- src/redmine-net-api/Types/NewsComment.cs | 6 ++--- src/redmine-net-api/Types/Permission.cs | 2 +- src/redmine-net-api/Types/Project.cs | 19 +------------- .../Types/ProjectEnabledModule.cs | 2 +- .../Types/ProjectIssueCategory.cs | 3 ++- .../Types/ProjectMembership.cs | 2 +- .../Types/ProjectTimeEntryActivity.cs | 3 ++- src/redmine-net-api/Types/ProjectTracker.cs | 3 ++- src/redmine-net-api/Types/Query.cs | 2 +- src/redmine-net-api/Types/Role.cs | 2 +- src/redmine-net-api/Types/Search.cs | 2 +- src/redmine-net-api/Types/TimeEntry.cs | 11 +------- .../Types/TimeEntryActivity.cs | 2 +- src/redmine-net-api/Types/Tracker.cs | 2 +- src/redmine-net-api/Types/TrackerCoreField.cs | 2 +- .../Types/TrackerCustomField.cs | 2 +- src/redmine-net-api/Types/Upload.cs | 2 +- src/redmine-net-api/Types/User.cs | 22 +--------------- src/redmine-net-api/Types/UserGroup.cs | 3 ++- src/redmine-net-api/Types/Version.cs | 13 +--------- src/redmine-net-api/Types/WikiPage.cs | 8 +----- 49 files changed, 57 insertions(+), 184 deletions(-) diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index 0fa66eb9..49b6476c 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -256,16 +256,7 @@ public override int GetHashCode() } #endregion - private string DebuggerDisplay => - $@"[{nameof(Attachment)}: -{ToString()}, -FileName={FileName}, -FileSize={FileSize.ToString(CultureInfo.InvariantCulture)}, -ContentType={ContentType}, -Description={Description}, -ContentUrl={ContentUrl}, -Author={Author}, -CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}]"; + private string DebuggerDisplay =>$"[Attachment: Id={Id.ToInvariantString()}, FileName={FileName}, FileSize={FileSize.ToInvariantString()}]"; /// /// diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs index c7fddae5..be873273 100644 --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -232,12 +232,7 @@ public override int GetHashCode() /// /// /// - private string DebuggerDisplay => - $@"[{nameof(ChangeSet)}: -Revision={Revision.ToString(CultureInfo.InvariantCulture)}, -User='{User}', -CommittedOn={CommittedOn?.ToString("u", CultureInfo.InvariantCulture)}, -Comments='{Comments}']"; + private string DebuggerDisplay => $" ChangeSet: Revision={Revision}, CommittedOn={CommittedOn?.ToString("u", CultureInfo.InvariantCulture)}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index b6761b32..c99a1490 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -290,22 +290,6 @@ public override int GetHashCode() } #endregion - private string DebuggerDisplay => - $@"[{nameof(CustomField)}: {ToString()} -, CustomizedType={CustomizedType} -, Description={Description} -, FieldFormat={FieldFormat} -, Regexp={Regexp} -, MinLength={MinLength?.ToString(CultureInfo.InvariantCulture)} -, MaxLength={MaxLength?.ToString(CultureInfo.InvariantCulture)} -, IsRequired={IsRequired.ToString(CultureInfo.InvariantCulture)} -, IsFilter={IsFilter.ToString(CultureInfo.InvariantCulture)} -, Searchable={Searchable.ToString(CultureInfo.InvariantCulture)} -, Multiple={Multiple.ToString(CultureInfo.InvariantCulture)} -, DefaultValue={DefaultValue} -, Visible={Visible.ToString(CultureInfo.InvariantCulture)} -, PossibleValues={PossibleValues.Dump()} -, Trackers={Trackers.Dump()} -, Roles={Roles.Dump()}]"; + private string DebuggerDisplay => $"[CustomField: Id={Id.ToInvariantString()}, Name={Name}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs index 6d972c4a..4a8854f7 100644 --- a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs @@ -192,7 +192,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(CustomFieldPossibleValue)}: Label:{Label}, Value:{Value}]"; + private string DebuggerDisplay => $"[CustomFieldPossibleValue: Label:{Label}, Value:{Value}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/CustomFieldRole.cs b/src/redmine-net-api/Types/CustomFieldRole.cs index d870a5f9..bfffbc71 100644 --- a/src/redmine-net-api/Types/CustomFieldRole.cs +++ b/src/redmine-net-api/Types/CustomFieldRole.cs @@ -16,6 +16,7 @@ limitations under the License. using System.Diagnostics; using System.Xml.Serialization; +using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Types { @@ -41,7 +42,7 @@ internal CustomFieldRole(int id, string name) /// ///
/// - private string DebuggerDisplay => $"[{nameof(CustomFieldRole)}: {ToString()}]"; + private string DebuggerDisplay => $"[CustomFieldRole: Id={Id.ToInvariantString()}, Name={Name}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index de3f4fdd..32a70959 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -217,6 +217,6 @@ public CustomFieldValue Clone(bool resetId) /// ///
/// - private string DebuggerDisplay => $"[{nameof(CustomFieldValue)}: {Info}]"; + private string DebuggerDisplay => $"[CustomFieldValue: {Info}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs index 73468a6f..b4738792 100644 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -251,7 +251,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(Detail)}: Property={Property}, Name={Name}, OldValue={OldValue}, NewValue={NewValue}]"; + private string DebuggerDisplay => $"[Detail: Property={Property}, Name={Name}, OldValue={OldValue}, NewValue={NewValue}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/DocumentCategory.cs b/src/redmine-net-api/Types/DocumentCategory.cs index 745f695c..4e01bc96 100644 --- a/src/redmine-net-api/Types/DocumentCategory.cs +++ b/src/redmine-net-api/Types/DocumentCategory.cs @@ -193,7 +193,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(DocumentCategory)}, IsDefault={IsDefault.ToString(CultureInfo.InvariantCulture)}, IsActive={IsActive.ToString(CultureInfo.InvariantCulture)}]"; + private string DebuggerDisplay => $"[DocumentCategory: Id={Id.ToInvariantString()}, Name={Name}, IsDefault={IsDefault.ToInvariantString()}, IsActive={IsActive.ToInvariantString()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs index 06128f72..f5285573 100644 --- a/src/redmine-net-api/Types/Error.cs +++ b/src/redmine-net-api/Types/Error.cs @@ -176,7 +176,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(Error)}: {Info}]"; + private string DebuggerDisplay => $"[Error: {Info}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index 874044b8..f4f09e30 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -283,7 +283,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(File)}: {ToString()}, Name={Filename}]"; + private string DebuggerDisplay => $"[File: {Id.ToInvariantString()}, Name={Filename}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index ef097986..27bc3773 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -227,7 +227,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(Group)}: {ToString()}, Users={Users.Dump()}, CustomFields={CustomFields.Dump()}, Memberships={Memberships.Dump()}]"; + private string DebuggerDisplay => $"[Group: Id={Id.ToInvariantString()}, Name={Name}]"; /// diff --git a/src/redmine-net-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs index 6b622f51..598e9462 100644 --- a/src/redmine-net-api/Types/GroupUser.cs +++ b/src/redmine-net-api/Types/GroupUser.cs @@ -17,6 +17,7 @@ limitations under the License. using System.Diagnostics; using System.Globalization; using System.Xml.Serialization; +using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Types { @@ -38,7 +39,7 @@ public sealed class GroupUser : IdentifiableName, IValue /// /// /// - private string DebuggerDisplay => $"[{nameof(GroupUser)}: {ToString()}]"; + private string DebuggerDisplay => $"[GroupUser: Id={Id.ToInvariantString()}, Name={Name}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs index 0da0cb0d..02307d1d 100644 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -21,6 +21,7 @@ limitations under the License. using System.Xml.Schema; using System.Xml.Serialization; using Newtonsoft.Json; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; using NotImplementedException = System.NotImplementedException; @@ -157,7 +158,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"Id={Id.ToString(CultureInfo.InvariantCulture)}"; + private string DebuggerDisplay => $"Id={Id.ToInvariantString()}"; /// /// diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index f17348b0..2a985283 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -224,7 +224,7 @@ public override int GetHashCode() /// /// /// - private string DebuggerDisplay => $"[{nameof(IdentifiableName)}: {base.ToString()}, Name={Name}]"; + private string DebuggerDisplay => $"[IdentifiableName: Id={Id.ToInvariantString()}, Name={Name}]"; /// /// diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 1e17007d..14f55a6f 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -650,30 +650,6 @@ public IdentifiableName AsParent() /// /// /// - private string DebuggerDisplay => - $@"[{nameof(Issue)}: {ToString()}, Project={Project}, Tracker={Tracker}, Status={Status}, -Priority={Priority}, Author={Author}, Category={Category}, Subject={Subject}, Description={Description}, -StartDate={StartDate?.ToString("u", CultureInfo.InvariantCulture)}, -DueDate={DueDate?.ToString("u", CultureInfo.InvariantCulture)}, -DoneRatio={DoneRatio?.ToString("F", CultureInfo.InvariantCulture)}, -PrivateNotes={PrivateNotes.ToString(CultureInfo.InvariantCulture)}, -EstimatedHours={EstimatedHours?.ToString("F", CultureInfo.InvariantCulture)}, -SpentHours={SpentHours?.ToString("F", CultureInfo.InvariantCulture)}, -CustomFields={CustomFields.Dump()}, -CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, -UpdatedOn={UpdatedOn?.ToString("u", CultureInfo.InvariantCulture)}, -ClosedOn={ClosedOn?.ToString("u", CultureInfo.InvariantCulture)}, -Notes={Notes}, -AssignedTo={AssignedTo}, -ParentIssue={ParentIssue}, -FixedVersion={FixedVersion}, -IsPrivate={IsPrivate.ToString(CultureInfo.InvariantCulture)}, -Journals={Journals.Dump()}, -ChangeSets={ChangeSets.Dump()}, -Attachments={Attachments.Dump()}, -Relations={Relations.Dump()}, -Children={Children.Dump()}, -Uploads={Uploads.Dump()}, -Watchers={Watchers.Dump()}]"; + private string DebuggerDisplay => $"[Issue:Id={Id.ToInvariantString()}, Status={Status?.Name}, Priority={Priority?.Name}, DoneRatio={DoneRatio?.ToString("F", CultureInfo.InvariantCulture)},IsPrivate={IsPrivate.ToInvariantString()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueAllowedStatus.cs b/src/redmine-net-api/Types/IssueAllowedStatus.cs index 8cc7af61..9a47811a 100644 --- a/src/redmine-net-api/Types/IssueAllowedStatus.cs +++ b/src/redmine-net-api/Types/IssueAllowedStatus.cs @@ -129,6 +129,6 @@ public override int GetHashCode() return !Equals(left, right); } - private string DebuggerDisplay => $"[{nameof(IssueAllowedStatus)}: {ToString()}]"; + private string DebuggerDisplay => $"[IssueAllowedStatus: Id={Id.ToInvariantString()}, Name={Name}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs index 2fc6bfe0..39c5781c 100644 --- a/src/redmine-net-api/Types/IssueCategory.cs +++ b/src/redmine-net-api/Types/IssueCategory.cs @@ -209,7 +209,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(IssueCategory)}: {ToString()}, Project={Project}, AssignTo={AssignTo}, Name={Name}]"; + private string DebuggerDisplay => $"[IssueCategory: Id={Id.ToInvariantString()}, Name={Name}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs index 7a9aeeb5..b6d3fcf1 100644 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -191,6 +191,6 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(IssueChild)}: {ToString()}, Tracker={Tracker}, Subject={Subject}]"; + private string DebuggerDisplay => $"[IssueChild: Id={Id.ToInvariantString()}]"; } } diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 5a77e3e7..da8935c9 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -325,6 +325,6 @@ public static string GetValue(object item) /// ///
/// - private string DebuggerDisplay => $"[{nameof(IssueCustomField)}: {ToString()} Values={Values.Dump()}, Multiple={Multiple.ToString(CultureInfo.InvariantCulture)}]"; + private string DebuggerDisplay => $"[IssueCustomField: Id={Id.ToInvariantString()}, Name={Name}, Multiple={Multiple.ToInvariantString()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssuePriority.cs b/src/redmine-net-api/Types/IssuePriority.cs index 877d3e31..82522462 100644 --- a/src/redmine-net-api/Types/IssuePriority.cs +++ b/src/redmine-net-api/Types/IssuePriority.cs @@ -176,7 +176,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[IssuePriority: {ToString()}, IsDefault={IsDefault.ToString(CultureInfo.InvariantCulture)}, IsActive={IsActive.ToString(CultureInfo.InvariantCulture)}]"; + private string DebuggerDisplay => $"[IssuePriority: Id={Id.ToInvariantString()},Name={Name}, IsDefault={IsDefault.ToInvariantString()},IsActive={IsActive.ToInvariantString()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 5a80bd4c..f5b254c6 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -283,11 +283,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $@"[{nameof(IssueRelation)}: {ToString()}, -IssueId={IssueId.ToString(CultureInfo.InvariantCulture)}, -IssueToId={IssueToId.ToString(CultureInfo.InvariantCulture)}, -Type={Type:G}, -Delay={Delay?.ToString(CultureInfo.InvariantCulture)}]"; + private string DebuggerDisplay => $"[IssueRelation: Id={Id.ToInvariantString()}, IssueId={IssueId.ToInvariantString()}, Type={Type:G}, Delay={Delay?.ToInvariantString()}]"; /// /// diff --git a/src/redmine-net-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs index 632f48ef..25d2a30a 100644 --- a/src/redmine-net-api/Types/IssueStatus.cs +++ b/src/redmine-net-api/Types/IssueStatus.cs @@ -238,7 +238,7 @@ public override int GetHashCode() /// /// /// - private string DebuggerDisplay => $"[{nameof(IssueStatus)}: {ToString()}, IsDefault={IsDefault.ToString(CultureInfo.InvariantCulture)}, IsClosed={IsClosed.ToString(CultureInfo.InvariantCulture)}]"; + private string DebuggerDisplay => $"[IssueStatus: Id={Id.ToInvariantString()}, Name={Name}, IsDefault={IsDefault.ToInvariantString()}, IsClosed={IsClosed.ToInvariantString()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index da2234a7..bf016b1b 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -251,7 +251,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(Journal)}: {ToString()}, User={User}, Notes={Notes}, CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, Details={Details.Dump()}]"; + private string DebuggerDisplay => $"[Journal: Id={Id.ToInvariantString()}, CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}]"; /// /// diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index 84443fe7..4b563614 100644 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -186,6 +186,6 @@ public override int GetHashCode() /// /// /// - private string DebuggerDisplay => $"[{nameof(Membership)}: {ToString()}, Group={Group}, Project={Project}, User={User}, Roles={Roles.Dump()}]"; + private string DebuggerDisplay => $"[Membership: Id={Id.ToInvariantString()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs index 06770cb9..1de8fbfc 100644 --- a/src/redmine-net-api/Types/MembershipRole.cs +++ b/src/redmine-net-api/Types/MembershipRole.cs @@ -179,7 +179,6 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[MembershipRole: {ToString()}, Inherited={Inherited.ToString(CultureInfo.InvariantCulture)}]"; - + private string DebuggerDisplay => $"[MembershipRole: Id={Id.ToInvariantString()}, Name={Name}, Inherited={Inherited.ToInvariantString()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/MyAccount.cs b/src/redmine-net-api/Types/MyAccount.cs index 86c4bead..806123b4 100644 --- a/src/redmine-net-api/Types/MyAccount.cs +++ b/src/redmine-net-api/Types/MyAccount.cs @@ -252,16 +252,6 @@ public override int GetHashCode() return !Equals(left, right); } - private string DebuggerDisplay => $@"[ {nameof(MyAccount)}: -Id={Id.ToString(CultureInfo.InvariantCulture)}, -Login={Login}, -ApiKey={ApiKey}, -FirstName={FirstName}, -LastName={LastName}, -Email={Email}, -IsAdmin={IsAdmin.ToString(CultureInfo.InvariantCulture).ToLowerInv()}, -CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, -LastLoginOn={LastLoginOn?.ToString("u", CultureInfo.InvariantCulture)}, -CustomFields={CustomFields.Dump()}]"; + private string DebuggerDisplay => $"[MyAccount: Id={Id.ToInvariantString()}, Login={Login}, IsAdmin={IsAdmin.ToInvariantString()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/MyAccountCustomField.cs b/src/redmine-net-api/Types/MyAccountCustomField.cs index 5e895a7c..55372989 100644 --- a/src/redmine-net-api/Types/MyAccountCustomField.cs +++ b/src/redmine-net-api/Types/MyAccountCustomField.cs @@ -168,7 +168,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(MyAccountCustomField)}: {ToString()}, Value: {Value}]"; + private string DebuggerDisplay => $"[MyAccountCustomField: Id={Id.ToInvariantString()}, Name={Name}, Value: {Value}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index e8a9866f..78280368 100644 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -282,7 +282,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(News)}: {ToString()}, Project={Project}, Author={Author}, Title={Title}, Summary={Summary}, Description={Description}, CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}]"; + private string DebuggerDisplay => $"[News: Id={Id.ToInvariantString()}, Title={Title}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/NewsComment.cs b/src/redmine-net-api/Types/NewsComment.cs index 567c1b7f..86eca5ed 100644 --- a/src/redmine-net-api/Types/NewsComment.cs +++ b/src/redmine-net-api/Types/NewsComment.cs @@ -19,6 +19,7 @@ limitations under the License. using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; namespace Redmine.Net.Api.Types @@ -157,9 +158,6 @@ public override int GetHashCode() return !Equals(left, right); } - private string DebuggerDisplay => $@"[{nameof(IssueAllowedStatus)}: {ToString()}, -{nameof(NewsComment)}: {ToString()}, -Author={Author}, -CONTENT={Content}]"; + private string DebuggerDisplay => $"[NewsComment: Id={Id.ToInvariantString()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index 9f2de487..8d300411 100644 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -155,7 +155,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(Permission)}: {Info}]"; + private string DebuggerDisplay => $"[Permission: {Info}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index f3e327c0..798ab732 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -397,23 +397,6 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => - $@"[Project: {ToString()}, -Identifier={Identifier}, -Description={Description}, -Parent={Parent}, -HomePage={HomePage}, -CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, -UpdatedOn={UpdatedOn?.ToString("u", CultureInfo.InvariantCulture)}, -Status={Status:G}, -IsPublic={IsPublic.ToString(CultureInfo.InvariantCulture)}, -InheritMembers={InheritMembers.ToString(CultureInfo.InvariantCulture)}, -DefaultAssignee={DefaultAssignee}, -DefaultVersion={DefaultVersion}, -Trackers={Trackers.Dump()}, -CustomFields={CustomFields.Dump()}, -IssueCategories={IssueCategories.Dump()}, -EnabledModules={EnabledModules.Dump()}, -TimeEntryActivities = {TimeEntryActivities.Dump()}]"; + private string DebuggerDisplay => $"[Project: Id={Id.ToInvariantString()}, Name={Name}, Identifier={Identifier}, Status={Status:G}, IsPublic={IsPublic.ToInvariantString()}]"; } } diff --git a/src/redmine-net-api/Types/ProjectEnabledModule.cs b/src/redmine-net-api/Types/ProjectEnabledModule.cs index e90971a8..02d7f60c 100644 --- a/src/redmine-net-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net-api/Types/ProjectEnabledModule.cs @@ -62,7 +62,7 @@ public ProjectEnabledModule(string moduleName) /// ///
/// - private string DebuggerDisplay => $"[{nameof(ProjectEnabledModule)}: {ToString()}]"; + private string DebuggerDisplay => $"[ProjectEnabledModule: Id={Id.ToInvariantString()}, Name={Name}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/ProjectIssueCategory.cs b/src/redmine-net-api/Types/ProjectIssueCategory.cs index 76958c50..2ef3b006 100644 --- a/src/redmine-net-api/Types/ProjectIssueCategory.cs +++ b/src/redmine-net-api/Types/ProjectIssueCategory.cs @@ -16,6 +16,7 @@ limitations under the License. using System.Diagnostics; using System.Xml.Serialization; +using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Types { @@ -40,7 +41,7 @@ internal ProjectIssueCategory(int id, string name) /// ///
/// - private string DebuggerDisplay => $"[{nameof(ProjectIssueCategory)}: {ToString()}]"; + private string DebuggerDisplay => $"[ProjectIssueCategory: Id={Id.ToInvariantString()}, Name={Name}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index 9979ab64..cd0cb010 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -225,7 +225,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(ProjectMembership)}: {ToString()}, Project={Project}, User={User}, Group={Group}, Roles={Roles.Dump()}]"; + private string DebuggerDisplay => $"[ProjectMembership: Id={Id.ToInvariantString()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs index 69daaca1..eded97b3 100644 --- a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs +++ b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs @@ -16,6 +16,7 @@ limitations under the License. using System.Diagnostics; using System.Xml.Serialization; +using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Types { @@ -40,7 +41,7 @@ internal ProjectTimeEntryActivity(int id, string name) /// ///
/// - private string DebuggerDisplay => $"[{nameof(ProjectTimeEntryActivity)}: {ToString()}]"; + private string DebuggerDisplay => $"[ProjectTimeEntryActivity: Id={Id.ToInvariantString()}, Name={Name}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs index fa5a2533..fa026ee7 100644 --- a/src/redmine-net-api/Types/ProjectTracker.cs +++ b/src/redmine-net-api/Types/ProjectTracker.cs @@ -17,6 +17,7 @@ limitations under the License. using System.Diagnostics; using System.Globalization; using System.Xml.Serialization; +using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Types { @@ -64,7 +65,7 @@ internal ProjectTracker(int trackerId) /// ///
/// - private string DebuggerDisplay => $"[{nameof(ProjectTracker)}: {ToString()}]"; + private string DebuggerDisplay => $"[ProjectTracker: Id={Id.ToInvariantString()}, Name={Name}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Query.cs b/src/redmine-net-api/Types/Query.cs index 2506982c..09dc4f56 100644 --- a/src/redmine-net-api/Types/Query.cs +++ b/src/redmine-net-api/Types/Query.cs @@ -176,6 +176,6 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(Query)}: {ToString()}, IsPublic={IsPublic.ToString(CultureInfo.InvariantCulture)}, ProjectId={ProjectId?.ToString(CultureInfo.InvariantCulture)}]"; + private string DebuggerDisplay => $"[Query: Id={Id.ToInvariantString()}, Name={Name}, IsPublic={IsPublic.ToInvariantString()}, ProjectId={ProjectId?.ToInvariantString()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index a922fff5..fd9dbab2 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -205,7 +205,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(Role)}: {ToString()}, Permissions={Permissions}]"; + private string DebuggerDisplay => $"[Role: Id={Id.ToInvariantString()}, Name={Name}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Search.cs b/src/redmine-net-api/Types/Search.cs index c17f8367..a0ec1835 100644 --- a/src/redmine-net-api/Types/Search.cs +++ b/src/redmine-net-api/Types/Search.cs @@ -182,6 +182,6 @@ public override int GetHashCode() return !Equals(left, right); } - private string DebuggerDisplay => $@"[{nameof(Search)}:Id={Id.ToString(CultureInfo.InvariantCulture)},Title={Title},Type={Type},Url={Url},Description={Description}, DateTime={DateTime?.ToString("u", CultureInfo.InvariantCulture)}]"; + private string DebuggerDisplay => $"[Search: Id={Id.ToInvariantString()}, Title={Title}, Type={Type}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index 5af98492..bdc8cd64 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -325,16 +325,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => - $@"[{nameof(TimeEntry)}: {ToString()}, Issue={Issue}, Project={Project}, -SpentOn={SpentOn?.ToString("u", CultureInfo.InvariantCulture)}, -Hours={Hours.ToString("F", CultureInfo.InvariantCulture)}, -Activity={Activity}, -User={User}, -Comments={Comments}, -CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, -UpdatedOn={UpdatedOn?.ToString("u", CultureInfo.InvariantCulture)}, -CustomFields={CustomFields.Dump()}]"; + private string DebuggerDisplay => $"[TimeEntry: Id={Id.ToInvariantString()}, SpentOn={SpentOn?.ToString("u", CultureInfo.InvariantCulture)}, Hours={Hours.ToString("F", CultureInfo.InvariantCulture)}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index 4fd873e3..dc571fff 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -192,7 +192,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(TimeEntryActivity)}:{ToString()}, IsDefault={IsDefault.ToString(CultureInfo.InvariantCulture)}, IsActive={IsActive.ToString(CultureInfo.InvariantCulture)}]"; + private string DebuggerDisplay => $"[TimeEntryActivity: Id={Id.ToInvariantString()}, Name={Name}, IsDefault={IsDefault.ToInvariantString()}, IsActive={IsActive.ToInvariantString()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs index ded9c388..be916923 100644 --- a/src/redmine-net-api/Types/Tracker.cs +++ b/src/redmine-net-api/Types/Tracker.cs @@ -183,6 +183,6 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[{nameof(Tracker)}: {base.ToString()}]"; + private string DebuggerDisplay => $"[Tracker: Id={Id.ToInvariantString()}, Name={Name}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/TrackerCoreField.cs b/src/redmine-net-api/Types/TrackerCoreField.cs index 54b5f1be..2677a1eb 100644 --- a/src/redmine-net-api/Types/TrackerCoreField.cs +++ b/src/redmine-net-api/Types/TrackerCoreField.cs @@ -36,7 +36,7 @@ internal TrackerCoreField(string name) /// ///
/// - private string DebuggerDisplay => $"[{nameof(TrackerCoreField)}: {ToString()}]"; + private string DebuggerDisplay => $"[TrackerCoreField: Name={Name}]"; /// /// diff --git a/src/redmine-net-api/Types/TrackerCustomField.cs b/src/redmine-net-api/Types/TrackerCustomField.cs index 5372039b..8464d220 100644 --- a/src/redmine-net-api/Types/TrackerCustomField.cs +++ b/src/redmine-net-api/Types/TrackerCustomField.cs @@ -76,7 +76,7 @@ public override void ReadJson(JsonReader reader) /// /// /// - private string DebuggerDisplay => $"[{nameof(TrackerCustomField)}: {ToString()}]"; + private string DebuggerDisplay => $"[TrackerCustomField: Id={Id.ToInvariantString()}, Name={Name}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index 3948d5a5..12d57053 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -233,7 +233,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[Upload: Token={Token}, FileName={FileName}, ContentType={ContentType}, Description={Description}]"; + private string DebuggerDisplay => $"[Upload: Token={Token}, FileName={FileName}]"; /// /// diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index 481409bd..19679607 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -425,27 +425,7 @@ public override int GetHashCode() /// /// /// - private string DebuggerDisplay => - $@"[{nameof(User)}: {Groups}, -Login={Login}, Password={Password}, -FirstName={FirstName}, -LastName={LastName}, -AvatarUrl={AvatarUrl}, -IsAdmin={IsAdmin.ToString(CultureInfo.InvariantCulture)}, -TwoFactorAuthenticationScheme={TwoFactorAuthenticationScheme} -Email={Email}, -EmailNotification={MailNotification}, -AuthenticationModeId={AuthenticationModeId?.ToString(CultureInfo.InvariantCulture)}, -CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, -UpdatedOn={UpdatedOn?.ToString("u", CultureInfo.InvariantCulture)} -PasswordChangedOn={PasswordChangedOn?.ToString("u", CultureInfo.InvariantCulture)} -LastLoginOn={LastLoginOn?.ToString("u", CultureInfo.InvariantCulture)}, -ApiKey={ApiKey}, -Status={Status:G}, -MustChangePassword={MustChangePassword.ToString(CultureInfo.InvariantCulture)}, -CustomFields={CustomFields.Dump()}, -Memberships={Memberships.Dump()}, -Groups={Groups.Dump()}]"; + private string DebuggerDisplay => $"[User: Id={Id.ToInvariantString()}, Login={Login}, IsAdmin={IsAdmin.ToString(CultureInfo.InvariantCulture)}, Status={Status:G}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/UserGroup.cs b/src/redmine-net-api/Types/UserGroup.cs index 57c7c0a8..660c9051 100644 --- a/src/redmine-net-api/Types/UserGroup.cs +++ b/src/redmine-net-api/Types/UserGroup.cs @@ -16,6 +16,7 @@ limitations under the License. using System.Diagnostics; using System.Xml.Serialization; +using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Types { @@ -30,7 +31,7 @@ public sealed class UserGroup : IdentifiableName /// ///
/// - private string DebuggerDisplay => $"[{nameof(UserGroup)}: {ToString()}]"; + private string DebuggerDisplay => $"[UserGroup: Id={Id.ToInvariantString()}, Name={Name}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 78dc24eb..2e4dd096 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -308,18 +308,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $@"[{nameof(Version)}: {ToString()}, -Project={Project}, -Description={Description}, -Status={Status:G}, -DueDate={DueDate?.ToString("u", CultureInfo.InvariantCulture)}, -Sharing={Sharing:G}, -CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, -UpdatedOn={UpdatedOn?.ToString("u", CultureInfo.InvariantCulture)}, -EstimatedHours={EstimatedHours?.ToString("F", CultureInfo.InvariantCulture)}, -SpentHours={SpentHours?.ToString("F", CultureInfo.InvariantCulture)}, -WikiPageTitle={WikiPageTitle} -CustomFields={CustomFields.Dump()}]"; + private string DebuggerDisplay => $"[Version: Id={Id.ToInvariantString()}, Name={Name}, Status={Status:G}]"; } } diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index b2879278..76125cef 100644 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -17,7 +17,6 @@ limitations under the License. using System; using System.Collections.Generic; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; @@ -288,12 +287,7 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $@"[{nameof(WikiPage)}: {ToString()}, Title={Title}, Text={Text}, Comments={Comments}, -Version={Version.ToString(CultureInfo.InvariantCulture)}, -Author={Author}, -CreatedOn={CreatedOn?.ToString("u", CultureInfo.InvariantCulture)}, -UpdatedOn={UpdatedOn?.ToString("u", CultureInfo.InvariantCulture)}, -Attachments={Attachments.Dump()}]"; + private string DebuggerDisplay => $"[WikiPage: Id={Id.ToInvariantString()}, Title={Title}]"; } } \ No newline at end of file From 5ac5085d12b24b256e980cc5434bcda460e60b8a Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 8 May 2025 11:15:01 +0300 Subject: [PATCH 490/601] [IntegrationTest] Add TestContainers --- redmine-net-api.sln | 9 + src/redmine-net-api/redmine-net-api.csproj | 5 +- .../Constants.cs | 6 + .../RedmineTestContainerCollection.cs | 4 + .../Fixtures/RedmineTestContainerFixture.cs | 149 +++++++++++ .../RedmineIntegrationTestsAsync.cs | 249 ++++++++++++++++++ .../RedmineIntegrationTestsSync.cs | 234 ++++++++++++++++ .../TestData/init-redmine.sql | 67 +++++ .../redmine-net-api.Integration.Tests.csproj | 34 +++ 9 files changed, 756 insertions(+), 1 deletion(-) create mode 100644 tests/redmine-net-api.Integration.Tests/Constants.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerCollection.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs create mode 100644 tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsSync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/TestData/init-redmine.sql create mode 100644 tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj diff --git a/redmine-net-api.sln b/redmine-net-api.sln index 7cbed138..86cc3bbe 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -52,6 +52,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Others", "Others", "{4ADECA global.json = global.json EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "redmine-net-api.Integration.Tests", "tests\redmine-net-api.Integration.Tests\redmine-net-api.Integration.Tests.csproj", "{254DABFE-7C92-4C16-84A5-630330D56D4D}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -70,6 +72,12 @@ Global {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugJson|Any CPU.ActiveCfg = DebugJson|Any CPU {900EF0B3-0233-45DA-811F-4C59483E8452}.DebugJson|Any CPU.Build.0 = DebugJson|Any CPU {900EF0B3-0233-45DA-811F-4C59483E8452}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {254DABFE-7C92-4C16-84A5-630330D56D4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {254DABFE-7C92-4C16-84A5-630330D56D4D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {254DABFE-7C92-4C16-84A5-630330D56D4D}.DebugJson|Any CPU.ActiveCfg = Debug|Any CPU + {254DABFE-7C92-4C16-84A5-630330D56D4D}.DebugJson|Any CPU.Build.0 = Debug|Any CPU + {254DABFE-7C92-4C16-84A5-630330D56D4D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {254DABFE-7C92-4C16-84A5-630330D56D4D}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -82,6 +90,7 @@ Global {707B6A3F-1A2C-4EFE-851F-1DB0E68CFFFB} = {E8C35EC2-DD90-46E8-9B63-84EFD5F2FDE3} {1D340EEB-C535-45D4-80D7-ADD4434D7B77} = {E8C35EC2-DD90-46E8-9B63-84EFD5F2FDE3} {4ADECA2A-4D7B-4F05-85A2-0C0963A83689} = {E8C35EC2-DD90-46E8-9B63-84EFD5F2FDE3} + {254DABFE-7C92-4C16-84A5-630330D56D4D} = {F3F4278D-6271-4F77-BA88-41555D53CBD1} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {4AA87D90-ABD0-4793-BE47-955B35FAE2BB} diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 15c2aed6..4e1ea59f 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -100,7 +100,10 @@ - <_Parameter1>Padi.DotNet.RedmineAPI.Tests + <_Parameter1>Padi.DotNet.RedmineAPI.Tests + + + <_Parameter1>Padi.DotNet.RedmineAPI.Integration.Tests diff --git a/tests/redmine-net-api.Integration.Tests/Constants.cs b/tests/redmine-net-api.Integration.Tests/Constants.cs new file mode 100644 index 00000000..93861d62 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Constants.cs @@ -0,0 +1,6 @@ +namespace Padi.DotNet.RedmineAPI.Integration.Tests; + +public static class Constants +{ + public const string RedmineTestContainerCollection = nameof(RedmineTestContainerCollection); +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerCollection.cs b/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerCollection.cs new file mode 100644 index 00000000..61b0cafb --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerCollection.cs @@ -0,0 +1,4 @@ +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; + +[CollectionDefinition(Constants.RedmineTestContainerCollection)] +public sealed class RedmineTestContainerCollection : ICollectionFixture { } \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs b/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs new file mode 100644 index 00000000..a9564c8e --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs @@ -0,0 +1,149 @@ +using DotNet.Testcontainers.Builders; +using DotNet.Testcontainers.Configurations; +using DotNet.Testcontainers.Containers; +using DotNet.Testcontainers.Networks; +using Npgsql; +using Redmine.Net.Api; +using Testcontainers.PostgreSql; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; + +public class RedmineTestContainerFixture : IAsyncLifetime +{ + private const int RedminePort = 3000; + private const int PostgresPort = 5432; + private const string PostgresImage = "postgres:17.4-alpine"; + private const string RedmineImage = "redmine:6.0.5-alpine"; + private const string PostgresDb = "postgres"; + private const string PostgresUser = "postgres"; + private const string PostgresPassword = "postgres"; + private const string RedmineSqlFilePath = "TestData/init-redmine.sql"; + + public const string RedmineApiKey = "029a9d38-17e8-41ae-bc8c-fbf71e193c57"; + + private readonly string RedmineNetworkAlias = Guid.NewGuid().ToString(); + private INetwork Network { get; set; } + private PostgreSqlContainer PostgresContainer { get; set; } + private IContainer RedmineContainer { get; set; } + public RedmineManager RedmineManager { get; private set; } + public string RedmineHost { get; private set; } + + public RedmineTestContainerFixture() + { + BuildContainers(); + } + + private void BuildContainers() + { + Network = new NetworkBuilder() + .WithDriver(NetworkDriver.Bridge) + .Build(); + + PostgresContainer = new PostgreSqlBuilder() + .WithImage(PostgresImage) + .WithNetwork(Network) + .WithNetworkAliases(RedmineNetworkAlias) + .WithPortBinding(PostgresPort, assignRandomHostPort: true) + .WithEnvironment(new Dictionary + { + { "POSTGRES_DB", PostgresDb }, + { "POSTGRES_USER", PostgresUser }, + { "POSTGRES_PASSWORD", PostgresPassword }, + }) + .WithWaitStrategy(Wait.ForUnixContainer().UntilPortIsAvailable(PostgresPort)) + .Build(); + + RedmineContainer = new ContainerBuilder() + .WithImage(RedmineImage) + .WithNetwork(Network) + .WithPortBinding(RedminePort, assignRandomHostPort: true) + .WithEnvironment(new Dictionary + { + { "REDMINE_DB_POSTGRES", RedmineNetworkAlias }, + { "REDMINE_DB_PORT", PostgresPort.ToString() }, + { "REDMINE_DB_DATABASE", PostgresDb }, + { "REDMINE_DB_USERNAME", PostgresUser }, + { "REDMINE_DB_PASSWORD", PostgresPassword }, + }) + .DependsOn(PostgresContainer) + .WithWaitStrategy(Wait.ForUnixContainer().UntilHttpRequestIsSucceeded(request => request.ForPort(RedminePort).ForPath("/"))) + .Build(); + } + + public async Task InitializeAsync() + { + await Network.CreateAsync(); + + await PostgresContainer.StartAsync(); + + await RedmineContainer.StartAsync(); + + await SeedTestDataAsync(PostgresContainer, CancellationToken.None); + + RedmineHost = $"http://{RedmineContainer.Hostname}:{RedmineContainer.GetMappedPublicPort(RedminePort)}"; + + var rmgBuilder = new RedmineManagerOptionsBuilder() + .WithHost(RedmineHost) + .WithBasicAuthentication("adminuser", "1qaz2wsx"); + + RedmineManager = new RedmineManager(rmgBuilder); + } + + public async Task DisposeAsync() + { + var exceptions = new List(); + + await SafeDisposeAsync(() => RedmineContainer.StopAsync()); + await SafeDisposeAsync(() => PostgresContainer.StopAsync()); + await SafeDisposeAsync(() => Network.DisposeAsync().AsTask()); + + if (exceptions.Count > 0) + { + throw new AggregateException(exceptions); + } + + return; + + async Task SafeDisposeAsync(Func disposeFunc) + { + try + { + await disposeFunc(); + } + catch (Exception ex) + { + exceptions.Add(ex); + } + } + } + + private static async Task SeedTestDataAsync(PostgreSqlContainer container, CancellationToken ct) + { + const int maxDbAttempts = 10; + var dbRetryDelay = TimeSpan.FromSeconds(2); + var connectionString = container.GetConnectionString(); + for (var attempt = 1; attempt <= maxDbAttempts; attempt++) + { + try + { + await using var conn = new NpgsqlConnection(connectionString); + await conn.OpenAsync(ct); + break; + } + catch + { + if (attempt == maxDbAttempts) + { + throw; + } + await Task.Delay(dbRetryDelay, ct); + } + } + var sql = await System.IO.File.ReadAllTextAsync(RedmineSqlFilePath, ct); + var res = await container.ExecScriptAsync(sql, ct); + if (!string.IsNullOrWhiteSpace(res.Stderr)) + { + // Optionally log stderr + } + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsAsync.cs new file mode 100644 index 00000000..b90554ee --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsAsync.cs @@ -0,0 +1,249 @@ +using System.Collections.Specialized; +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; +using Version = Redmine.Net.Api.Types.Version; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests; + +[Collection(Constants.RedmineTestContainerCollection)] +public class RedmineIntegrationTestsAsync(RedmineTestContainerFixture fixture) +{ + private readonly RedmineManager _redmineManager = fixture.RedmineManager; + + [Fact] + public async Task Should_ReturnProjectsAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnRolesAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnAttachmentsAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnCustomFieldsAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnGroupsAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnFilesAsync() + { + var list = await _redmineManager.GetAsync(new RequestOptions() + { + QueryString = new NameValueCollection() + { + { RedmineKeys.PROJECT_ID, 1.ToString() } + } + }); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnIssuesAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task GetIssue_WithVersions_ShouldReturnAsync() + { + var issue = await _redmineManager.GetAsync(5.ToInvariantString(), + new RequestOptions { + QueryString = new NameValueCollection() + { + { RedmineKeys.INCLUDE, RedmineKeys.WATCHERS } + } + } + ); + Assert.NotNull(issue); + } + + [Fact] + public async Task Should_ReturnIssueCategoriesAsync() + { + var list = await _redmineManager.GetAsync(new RequestOptions() + { + QueryString = new NameValueCollection() + { + { RedmineKeys.PROJECT_ID, 1.ToString() } + } + }); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnIssueCustomFieldsAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnIssuePrioritiesAsync() + { + var list = await _redmineManager.GetAsync(new RequestOptions() + { + QueryString = new NameValueCollection() + { + { RedmineKeys.ISSUE_ID, 1.ToString() } + } + }); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnIssueRelationsAsync() + { + var list = await _redmineManager.GetAsync(new RequestOptions() + { + QueryString = new NameValueCollection() + { + { RedmineKeys.ISSUE_ID, 1.ToString() } + } + }); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnIssueStatusesAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnJournalsAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnNewsAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnProjectMembershipsAsync() + { + var list = await _redmineManager.GetAsync(new RequestOptions() + { + QueryString = new NameValueCollection() + { + { RedmineKeys.PROJECT_ID, 1.ToString() } + } + }); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnQueriesAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnSearchesAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnTimeEntriesAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnTimeEntryActivitiesAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnTrackersAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnUsersAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnVersionsAsync() + { + var list = await _redmineManager.GetAsync(new RequestOptions() + { + QueryString = new NameValueCollection() + { + { RedmineKeys.PROJECT_ID, 1.ToString() } + } + }); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public async Task Should_ReturnWatchersAsync() + { + var list = await _redmineManager.GetAsync(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsSync.cs b/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsSync.cs new file mode 100644 index 00000000..024b719b --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsSync.cs @@ -0,0 +1,234 @@ +using System.Collections.Specialized; +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; +using Version = Redmine.Net.Api.Types.Version; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests; + +[Collection(Constants.RedmineTestContainerCollection)] +public class RedmineIntegrationTestsSync(RedmineTestContainerFixture fixture) +{ + private readonly RedmineManager _redmineManager = fixture.RedmineManager; + + [Fact] + public void Should_ReturnProjects() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnRoles() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnAttachments() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnCustomFields() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnGroups() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnFiles() + { + var list = _redmineManager.Get(new RequestOptions() + { + QueryString = new NameValueCollection() + { + { RedmineKeys.PROJECT_ID, 1.ToString() } + } + }); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnIssues() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnIssueCategories() + { + var list = _redmineManager.Get(new RequestOptions() + { + QueryString = new NameValueCollection() + { + { RedmineKeys.PROJECT_ID, 1.ToString() } + } + }); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnIssueCustomFields() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnIssuePriorities() + { + var list = _redmineManager.Get(new RequestOptions() + { + QueryString = new NameValueCollection() + { + { RedmineKeys.ISSUE_ID, 1.ToString() } + } + }); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnIssueRelations() + { + var list = _redmineManager.Get(new RequestOptions() + { + QueryString = new NameValueCollection() + { + { RedmineKeys.ISSUE_ID, 1.ToString() } + } + }); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnIssueStatuses() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnJournals() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnNews() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnProjectMemberships() + { + var list = _redmineManager.Get(new RequestOptions() + { + QueryString = new NameValueCollection() + { + { RedmineKeys.PROJECT_ID, 1.ToString() } + } + }); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnQueries() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnSearches() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnTimeEntries() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnTimeEntryActivities() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnTrackers() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnUsers() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnVersions() + { + var list = _redmineManager.Get(new RequestOptions() + { + QueryString = new NameValueCollection() + { + { RedmineKeys.PROJECT_ID, 1.ToString() } + } + }); + Assert.NotNull(list); + Assert.NotEmpty(list); + } + + [Fact] + public void Should_ReturnWatchers() + { + var list = _redmineManager.Get(); + Assert.NotNull(list); + Assert.NotEmpty(list); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/TestData/init-redmine.sql b/tests/redmine-net-api.Integration.Tests/TestData/init-redmine.sql new file mode 100644 index 00000000..d511ec2b --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/TestData/init-redmine.sql @@ -0,0 +1,67 @@ +-- 1. Insert users +INSERT INTO users (id, login, hashed_password, salt, firstname, lastname, admin, status, type, created_on, updated_on) +VALUES (90, 'adminuser', '5cfe86e41de3a143be90ae5f7ced76841a0830bf', 'e71a2bcb922bede1becc396b326b93ff', 'Admin', 'User', true, 1, 'User', NOW(), NOW()), + (91, 'normaluser', '3c4afd1d5042356c7fdd19e0527db108919624f9', '6030b2ed3c7eb797eb706a325bb227ad', 'Normal', 'User', false, 1, 'User', NOW(), NOW()); + +-- 2. Insert API keys +INSERT INTO tokens (user_id, action, value, created_on) +VALUES + (90, 'api', '029a9d38-17e8-41ae-bc8c-fbf71e193c57', NOW()), + (91, 'api', 'b94da108-c6d0-483a-9c21-2648fe54521d', NOW()); + +INSERT INTO settings (id, name, "value", updated_on) +values (99, 'rest_api_enabled', 1, now()); + +insert into enabled_modules (id, project_id, name) +values (1, 1, 'issue_tracking'), + (2, 1, 'time_tracking'), + (3, 1, 'news'), + (4, 1, 'documents'), + (5, 1, 'files'), + (6, 1, 'wiki'), + (7, 1, 'repository'), + (8, 1, 'boards'), + (9, 1, 'calendar'), + (10, 1, 'gantt'); + + +insert into enumerations (id, name, position, is_default, type, active, project_id, parent_id, position_name) +values (1, 'Low', 1, false, 'IssuePriority', true, null, null, 'lowest'), + (2, 'Normal', 2, true, 'IssuePriority', true, null, null, 'default'), + (3, 'High', 3, false, 'IssuePriority', true, null, null, 'high3'), + (4, 'Urgent', 4, false, 'IssuePriority', true, null, null, 'high2'), + (5, 'Immediate', 5, false, 'IssuePriority', true, null, null, 'highest'), + (6, 'User documentation', 1, false, 'DocumentCategory', true, null, null, null), + (7, 'Technical documentation', 2, false, 'DocumentCategory', true, null, null, null), + (8, 'Design', 1, false, 'TimeEntryActivity', true, null, null, null), + (9, 'Development', 2, false, 'TimeEntryActivity', true, null, null, null); + +insert into issue_statuses (id, name, is_closed, position, default_done_ratio, description) +values (1, 'New', false, 1, null, null), + (2, 'In Progress', false, 2, null, null), + (3, 'Resolved', false, 3, null, null), + (4, 'Feedback', false, 4, null, null), + (5, 'Closed', true, 5, null, null), + (6, 'Rejected', true, 6, null, null); + + +insert into trackers (id, name, position, is_in_roadmap, fields_bits, default_status_id, description) +values (1, 'Bug', 1, false, 0, 1, null), + (2, 'Feature', 2, true, 0, 1, null), + (3, 'Support', 3, false, 0, 1, null); + +insert into projects (id, name, description, homepage, is_public, parent_id, created_on, updated_on, identifier, status, lft, rgt, inherit_members, default_version_id, default_assigned_to_id, default_issue_query_id) +values (1, 'Project-Test', null, '', true, null, '2024-09-02 10:14:33.789394', '2024-09-02 10:14:33.789394', 'project-test', 1, 1, 2, false, null, null, null); + + +insert into versions (id, project_id, name, description, effective_date, created_on, updated_on, wiki_page_title, status, sharing) +values (1, 1, 'version1', '', null, '2025-04-28 17:56:49.245993', '2025-04-28 17:56:49.245993', '', 'open', 'none'), + (2, 1, 'version2', '', null, '2025-04-28 17:57:05.138915', '2025-04-28 17:57:05.138915', '', 'open', 'descendants'); + +insert into issues (id, tracker_id, project_id, subject, description, due_date, category_id, status_id, assigned_to_id, priority_id, fixed_version_id, author_id, lock_version, created_on, updated_on, start_date, done_ratio, estimated_hours, parent_id, root_id, lft, rgt, is_private, closed_on) +values (5, 1, 1, '#380', '', null, 1, 1, null, 2, 2, 90, 1, '2025-04-28 17:58:42.818731', '2025-04-28 17:58:42.818731', '2025-04-28', 0, null, null, 5, 1, 2, false, null), + (6, 1, 1, 'issue with file', '', null, null, 1, null, 3, 2, 90, 1, '2025-04-28 18:00:07.296872', '2025-04-28 18:00:07.296872', '2025-04-28', 0, null, null, 6, 1, 2, false, null); + +insert into watchers (id, watchable_type, watchable_id, user_id) +values (8, 'Issue', 5, 90), + (9, 'Issue', 5, 91); diff --git a/tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj b/tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj new file mode 100644 index 00000000..5cdab1a7 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj @@ -0,0 +1,34 @@ + + + + net9.0 + redmine_net_api.Integration.Tests + enable + enable + false + Padi.DotNet.RedmineAPI.Integration.Tests + $(AssemblyName) + + + + + + + + + + + + + + + + + + + + + + + + From fc89105853dc798395058d9828ec369e3ef9398e Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 8 May 2025 11:07:07 +0300 Subject: [PATCH 491/601] Some cleanup & code arrange --- src/redmine-net-api/Extensions/RedmineManagerExtensions.cs | 4 ++-- src/redmine-net-api/Net/RedmineApiUrls.cs | 2 +- src/redmine-net-api/Types/IssueRelation.cs | 4 ++++ src/redmine-net-api/Types/News.cs | 6 ++---- src/redmine-net-api/Types/PagedResults.cs | 2 +- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index 18d0b5e6..fb94205f 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -702,7 +702,7 @@ public static async Task GetCurrentUserAsync(this RedmineManager redmineMa } /// - /// Creates the or update wiki page asynchronous. + /// Creates or updates wiki page asynchronous. /// /// The redmine manager. /// The project identifier. @@ -730,7 +730,7 @@ public static async Task CreateWikiPageAsync(this RedmineManager redmi } /// - /// Creates or update wiki page asynchronous. + /// Creates or updates wiki page asynchronous. /// /// The redmine manager. /// The project identifier. diff --git a/src/redmine-net-api/Net/RedmineApiUrls.cs b/src/redmine-net-api/Net/RedmineApiUrls.cs index f893c338..54a9d452 100644 --- a/src/redmine-net-api/Net/RedmineApiUrls.cs +++ b/src/redmine-net-api/Net/RedmineApiUrls.cs @@ -194,7 +194,7 @@ public string DeleteFragment(string id) return DeleteFragment(type, id); } - internal string DeleteFragment(Type type,string id) + internal string DeleteFragment(Type type, string id) { return $"{TypeFragment(TypeUrlFragments, type)}/{id}.{Format}"; } diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index f5b254c6..f913221b 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -205,7 +205,11 @@ private static IssueRelationType ReadIssueRelationType(string value) return IssueRelationType.CopiedFrom; } +#if NETFRAMEWORK return (IssueRelationType)Enum.Parse(typeof(IssueRelationType), value, true); +#else + return Enum.Parse(value, true); +#endif } #endregion diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index 78280368..c989c6f2 100644 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -167,10 +167,8 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; case RedmineKeys.SUMMARY: Summary = reader.ReadAsString(); break; case RedmineKeys.TITLE: Title = reader.ReadAsString(); break; - case RedmineKeys.ATTACHMENTS: Attachments = reader.ReadAsCollection(); - break; - case RedmineKeys.COMMENTS: Comments = reader.ReadAsCollection(); - break; + case RedmineKeys.ATTACHMENTS: Attachments = reader.ReadAsCollection(); break; + case RedmineKeys.COMMENTS: Comments = reader.ReadAsCollection(); break; default: reader.Read(); break; } } diff --git a/src/redmine-net-api/Types/PagedResults.cs b/src/redmine-net-api/Types/PagedResults.cs index 5721c2f5..eab0c680 100644 --- a/src/redmine-net-api/Types/PagedResults.cs +++ b/src/redmine-net-api/Types/PagedResults.cs @@ -37,7 +37,7 @@ public PagedResults(IEnumerable items, int total, int offset, int pageSize Offset = offset; PageSize = pageSize; - if (pageSize <= 0) + if (pageSize <= 0 || total == 0) { return; } From 3ed237f6949b9fee05aec70832c1ffe27f901a4e Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 25 Apr 2025 17:03:44 +0300 Subject: [PATCH 492/601] Update docker-compose.yml --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5a788f19..6e7274ac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: redmine: ports: - '8089:3000' - image: 'redmine:5.1.1-alpine' + image: 'redmine:6.0.5-alpine' container_name: 'redmine-web' depends_on: - db-postgres @@ -33,7 +33,7 @@ services: POSTGRES_USER: redmine-usr POSTGRES_PASSWORD: redmine-pswd container_name: 'redmine-db' - image: 'postgres:16-alpine' + image: 'postgres:17.4-alpine' healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 20s From 4cea7f69a893683b55283fb89111828ec919a1e1 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:10:20 +0300 Subject: [PATCH 493/601] Set sdk version to 9.0.203 --- global.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global.json b/global.json index 6223f1b6..1f044567 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.101", + "version": "9.0.203", "allowPrerelease": false, "rollForward": "latestMajor" } From d248fa8a5c4e156e9c953ea05011b37ed30e9d45 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:02:00 +0300 Subject: [PATCH 494/601] Bump up packages version --- .../redmine-net-api.Integration.Tests.csproj | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj b/tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj index 5cdab1a7..76821b85 100644 --- a/tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj +++ b/tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj @@ -4,19 +4,19 @@ net9.0 redmine_net_api.Integration.Tests enable - enable + disable false Padi.DotNet.RedmineAPI.Integration.Tests $(AssemblyName) - - + + - - + + From cab32cbc7d59b2997b693937ca1bb412424a732e Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:36:31 +0300 Subject: [PATCH 495/601] Disable nullable and enable implicit usings --- tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index 87deb601..25cbe1c5 100644 --- a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -4,6 +4,8 @@ Padi.DotNet.RedmineAPI.Tests + disable + enable $(AssemblyName) false net481 From 6408ef592d943d6126439b797fdd63e03f998b0f Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:08:22 +0300 Subject: [PATCH 496/601] [New] Directory.Packages.props --- Directory.Build.props | 12 +++++++++ Directory.Packages.props | 12 +++++++++ redmine-net-api.sln | 1 + src/redmine-net-api/redmine-net-api.csproj | 31 ++++++++++++++++------ 4 files changed, 48 insertions(+), 8 deletions(-) create mode 100644 Directory.Packages.props diff --git a/Directory.Build.props b/Directory.Build.props index 3d16a055..f2b9a699 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -5,5 +5,17 @@ strict true + + + true + true + true + true + + + + + + \ No newline at end of file diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 00000000..1c4eba97 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/redmine-net-api.sln b/redmine-net-api.sln index 86cc3bbe..6e9f665f 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -38,6 +38,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Props", "Props", "{707B6A3F releasenotes.props = releasenotes.props signing.props = signing.props version.props = version.props + Directory.Packages.props = Directory.Packages.props EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docker", "Docker", "{1D340EEB-C535-45D4-80D7-ADD4434D7B77}" diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 4e1ea59f..28cc2c83 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -25,6 +25,21 @@ CS0618; CA1002; + + NU5105; + CA1303; + CA1056; + CA1062; + CA1707; + CA1716; + CA1724; + CA1806; + CA2227; + CS0612; + CS0618; + CA1002; + SYSLIB0014; + @@ -41,10 +56,6 @@ $(SolutionDir)/artifacts - - - - Adrian Popescu Redmine Api is a .NET rest client for Redmine. @@ -73,15 +84,19 @@ snupkg true + + + + - - - + + + @@ -98,7 +113,7 @@ - + <_Parameter1>Padi.DotNet.RedmineAPI.Tests From 2bde0d02b9a2c1ed9603501fea6c6006239b1572 Mon Sep 17 00:00:00 2001 From: zapadi Date: Sun, 30 Mar 2025 23:03:44 +0300 Subject: [PATCH 497/601] AType --- tests/redmine-net-api.Tests/Infrastructure/AType.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/redmine-net-api.Tests/Infrastructure/AType.cs diff --git a/tests/redmine-net-api.Tests/Infrastructure/AType.cs b/tests/redmine-net-api.Tests/Infrastructure/AType.cs new file mode 100644 index 00000000..37087266 --- /dev/null +++ b/tests/redmine-net-api.Tests/Infrastructure/AType.cs @@ -0,0 +1,13 @@ +using System; +using System.Runtime.CompilerServices; + +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure; + +internal readonly struct A{ + public static A Is => default; +#pragma warning disable CS0184 // 'is' expression's given expression is never of the provided type + public static bool IsEqual() => Is is A; +#pragma warning restore CS0184 // 'is' expression's given expression is never of the provided type + public static Type Value => typeof(T); + +} \ No newline at end of file From 4bfe64b0335ff8c9dd21fab943caa29cd84dea15 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:05:22 +0300 Subject: [PATCH 498/601] Add System.Memory --- Directory.Packages.props | 11 ++++++++++- src/redmine-net-api/redmine-net-api.csproj | 5 +++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 1c4eba97..f1465d5b 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,4 +1,8 @@ + + |net45|net451|net452|net46|net461| + |net20|net40|net45|net451|net452|net46|net461| + @@ -8,5 +12,10 @@ - + + + + + + \ No newline at end of file diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 28cc2c83..81743a04 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -1,5 +1,9 @@ + + + |net20|net40| + Redmine.Net.Api @@ -87,6 +91,7 @@ + From ce7ca1c3e78947341573a4047a999e5788cd8f61 Mon Sep 17 00:00:00 2001 From: zapadi Date: Mon, 6 Jan 2025 18:35:23 +0200 Subject: [PATCH 499/601] [RedmineConstants] Add AUTHORIZATION_HEADER_KEY --- src/redmine-net-api/RedmineConstants.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/redmine-net-api/RedmineConstants.cs b/src/redmine-net-api/RedmineConstants.cs index e9d00588..f50a9cec 100644 --- a/src/redmine-net-api/RedmineConstants.cs +++ b/src/redmine-net-api/RedmineConstants.cs @@ -48,6 +48,11 @@ public static class RedmineConstants ///
public const string IMPERSONATE_HEADER_KEY = "X-Redmine-Switch-User"; + /// + /// + /// + public const string AUTHORIZATION_HEADER_KEY = "Authorization"; + /// /// /// From 74bd74b557561ac19f98605daa21d5f5ba0c3fa3 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:21:34 +0300 Subject: [PATCH 500/601] [RedmineConstants] Add more keys ENUMERATION_DOCUMENT_CATEGORIES, GENERATE_PASSWORD, ISSUE_CUSTOM_FIELDS, SEND_INFORMATION --- src/redmine-net-api/RedmineKeys.cs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index 045533cb..03ee061d 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -269,6 +269,10 @@ public static class RedmineKeys /// /// /// + public const string ENUMERATION_DOCUMENT_CATEGORIES = "enumerations/document_categories"; + /// + /// + /// public const string ENUMERATION_ISSUE_PRIORITIES = "enumerations/issue_priorities"; /// /// @@ -326,6 +330,10 @@ public static class RedmineKeys /// /// /// + public const string GENERATE_PASSWORD = "generate_password"; + /// + /// + /// public const string GROUP = "group"; /// /// @@ -383,7 +391,10 @@ public static class RedmineKeys /// /// public const string ISSUE_CATEGORY = "issue_category"; - + /// + /// + /// + public const string ISSUE_CUSTOM_FIELDS = "issue_custom_fields"; /// /// /// @@ -684,6 +695,10 @@ public static class RedmineKeys /// /// /// + public const string SEND_INFORMATION = "send_information"; + /// + /// + /// public const string SEARCH = "search"; /// /// From 3b48664c99641f04526fb47b22c6c46ecb074403 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 25 Apr 2025 17:07:04 +0300 Subject: [PATCH 501/601] RedmineSerializationException --- .../RedmineSerializationException.cs | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/redmine-net-api/Exceptions/RedmineSerializationException.cs diff --git a/src/redmine-net-api/Exceptions/RedmineSerializationException.cs b/src/redmine-net-api/Exceptions/RedmineSerializationException.cs new file mode 100644 index 00000000..0f6b779f --- /dev/null +++ b/src/redmine-net-api/Exceptions/RedmineSerializationException.cs @@ -0,0 +1,48 @@ +using System; + +namespace Redmine.Net.Api.Exceptions; + +/// +/// Represents an error that occurs during JSON serialization or deserialization. +/// +public class RedmineSerializationException : RedmineException +{ + /// + /// Initializes a new instance of the class. + /// + public RedmineSerializationException() + { + } + + /// + /// Initializes a new instance of the class with a specified error message. + /// + /// The error message that explains the reason for the exception. + public RedmineSerializationException(string message) : base(message) + { + } + + /// + /// Initializes a new instance of the class with a specified error message. + /// + /// The error message that explains the reason for the exception. + /// /// The name of the parameter that caused the exception. + public RedmineSerializationException(string message, string paramName) : base(message) + { + ParamName = paramName; + } + + /// + /// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. + /// + /// The error message that explains the reason for the exception. + /// The exception that is the cause of the current exception, or a null reference if no inner exception is specified. + public RedmineSerializationException(string message, Exception innerException) : base(message, innerException) + { + } + + /// + /// Gets the name of the parameter that caused the current exception. + /// + public string ParamName { get; } +} \ No newline at end of file From c038f82ff3e4557978d26836bb9e54504d152179 Mon Sep 17 00:00:00 2001 From: zapadi Date: Fri, 25 Apr 2025 17:07:17 +0300 Subject: [PATCH 502/601] WebClientExtensions --- .../Extensions/WebClientExtensions.cs | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/redmine-net-api/Net/WebClient/Extensions/WebClientExtensions.cs diff --git a/src/redmine-net-api/Net/WebClient/Extensions/WebClientExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/WebClientExtensions.cs new file mode 100644 index 00000000..ce89706f --- /dev/null +++ b/src/redmine-net-api/Net/WebClient/Extensions/WebClientExtensions.cs @@ -0,0 +1,30 @@ +using Redmine.Net.Api; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Serialization; + +internal static class WebClientExtensions +{ + public static void ApplyHeaders(this System.Net.WebClient client, RequestOptions options, IRedmineSerializer serializer) + { + client.Headers.Add("Content-Type", options.ContentType ?? serializer.ContentType); + + if (!options.UserAgent.IsNullOrWhiteSpace()) + { + client.Headers.Add("User-Agent", options.UserAgent); + } + + if (!options.ImpersonateUser.IsNullOrWhiteSpace()) + { + client.Headers.Add(RedmineConstants.IMPERSONATE_HEADER_KEY, options.ImpersonateUser); + } + + if (options.Headers is { Count: > 0 }) + { + foreach (var header in options.Headers) + { + client.Headers.Add(header.Key, header.Value); + } + } + } +} \ No newline at end of file From 215623acbf8b03ebf507ecacc16b2ff346d65cb6 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:00:04 +0300 Subject: [PATCH 503/601] [New] IdentifiableNameExtensions --- .../Extensions/IdentifiableNameExtensions.cs | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs diff --git a/src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs b/src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs new file mode 100644 index 00000000..9e03082e --- /dev/null +++ b/src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs @@ -0,0 +1,65 @@ +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.Extensions +{ + /// + /// + /// + public static class IdentifiableNameExtensions + { + /// + /// Converts an object of type into an object. + /// + /// The type of the entity to convert. Expected to be one of the supported Redmine entity types. + /// The entity object to be converted into an . + /// An object populated with the identifier and name of the specified entity, or null if the entity type is not supported. + public static IdentifiableName ToIdentifiableName(this T entity) where T : class + { + return entity switch + { + CustomField customField => IdentifiableName.Create(customField.Id, customField.Name), + CustomFieldRole customFieldRole => IdentifiableName.Create(customFieldRole.Id, customFieldRole.Name), + DocumentCategory documentCategory => IdentifiableName.Create(documentCategory.Id, documentCategory.Name), + Group group => IdentifiableName.Create(group.Id, group.Name), + GroupUser groupUser => IdentifiableName.Create(groupUser.Id, groupUser.Name), + IssueAllowedStatus issueAllowedStatus => IdentifiableName.Create(issueAllowedStatus.Id, issueAllowedStatus.Name), + IssueCustomField issueCustomField => IdentifiableName.Create(issueCustomField.Id, issueCustomField.Name), + IssuePriority issuePriority => IdentifiableName.Create(issuePriority.Id, issuePriority.Name), + IssueStatus issueStatus => IdentifiableName.Create(issueStatus.Id, issueStatus.Name), + MembershipRole membershipRole => IdentifiableName.Create(membershipRole.Id, membershipRole.Name), + MyAccountCustomField myAccountCustomField => IdentifiableName.Create(myAccountCustomField.Id, myAccountCustomField.Name), + Project project => IdentifiableName.Create(project.Id, project.Name), + ProjectEnabledModule projectEnabledModule => IdentifiableName.Create(projectEnabledModule.Id, projectEnabledModule.Name), + ProjectIssueCategory projectIssueCategory => IdentifiableName.Create(projectIssueCategory.Id, projectIssueCategory.Name), + ProjectTimeEntryActivity projectTimeEntryActivity => IdentifiableName.Create(projectTimeEntryActivity.Id, projectTimeEntryActivity.Name), + ProjectTracker projectTracker => IdentifiableName.Create(projectTracker.Id, projectTracker.Name), + Query query => IdentifiableName.Create(query.Id, query.Name), + Role role => IdentifiableName.Create(role.Id, role.Name), + TimeEntryActivity timeEntryActivity => IdentifiableName.Create(timeEntryActivity.Id, timeEntryActivity.Name), + Tracker tracker => IdentifiableName.Create(tracker.Id, tracker.Name), + UserGroup userGroup => IdentifiableName.Create(userGroup.Id, userGroup.Name), + Version version => IdentifiableName.Create(version.Id, version.Name), + Watcher watcher => IdentifiableName.Create(watcher.Id, watcher.Name), + _ => null + }; + } + + + /// + /// Converts an integer value to an object. + /// + /// An integer value representing the identifier. Must be greater than zero. + /// An object with the specified identifier and a null name. + /// Thrown when the given value is less than or equal to zero. + public static IdentifiableName ToIdentifier(this int val) + { + if (val <= 0) + { + throw new RedmineException(nameof(val), "Value must be greater than zero"); + } + + return new IdentifiableName(val, null); + } + } +} \ No newline at end of file From 1e732fc7403d17bdbecf51ed7fcbe597b4100b46 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:00:37 +0300 Subject: [PATCH 504/601] [New] EnumExtensions --- .../Extensions/EnumExtensions.cs | 101 ++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 src/redmine-net-api/Extensions/EnumExtensions.cs diff --git a/src/redmine-net-api/Extensions/EnumExtensions.cs b/src/redmine-net-api/Extensions/EnumExtensions.cs new file mode 100644 index 00000000..5ae7d77f --- /dev/null +++ b/src/redmine-net-api/Extensions/EnumExtensions.cs @@ -0,0 +1,101 @@ +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.Extensions; + +/// +/// Provides extension methods for enumerations used in the Redmine.Net.Api.Types namespace. +/// +public static class EnumExtensions +{ + /// + /// Converts the specified enumeration value to its lowercase invariant string representation. + /// + /// The enumeration value to be converted. + /// A string representation of the IssueRelationType enumeration value in a lowercase, or "undefined" if the value does not match a defined case. + public static string ToLowerInvariant(this IssueRelationType @enum) + { + return @enum switch + { + IssueRelationType.Relates => "relates", + IssueRelationType.Duplicates => "duplicates", + IssueRelationType.Duplicated => "duplicated", + IssueRelationType.Blocks => "blocks", + IssueRelationType.Blocked => "blocked", + IssueRelationType.Precedes => "precedes", + IssueRelationType.Follows => "follows", + IssueRelationType.CopiedTo => "copied_to", + IssueRelationType.CopiedFrom => "copied_from", + _ => "undefined" + }; + } + + /// + /// Converts the specified VersionSharing enumeration value to its lowercase invariant string representation. + /// + /// The VersionSharing enumeration value to be converted. + /// A string representation of the VersionSharing enumeration value in a lowercase, or "undefined" if the value does not match a valid case. + public static string ToLowerInvariant(this VersionSharing @enum) + { + return @enum switch + { + VersionSharing.Unknown => "unknown", + VersionSharing.None => "none", + VersionSharing.Descendants => "descendants", + VersionSharing.Hierarchy => "hierarchy", + VersionSharing.Tree => "tree", + VersionSharing.System => "system", + _ => "undefined" + }; + } + + /// + /// Converts the specified enumeration value to its lowercase invariant string representation. + /// + /// The enumeration value to be converted. + /// A lowercase string representation of the enumeration value, or "undefined" if the value does not match a defined case. + public static string ToLowerInvariant(this VersionStatus @enum) + { + return @enum switch + { + VersionStatus.None => "none", + VersionStatus.Open => "open", + VersionStatus.Closed => "closed", + VersionStatus.Locked => "locked", + _ => "undefined" + }; + } + + /// + /// Converts the specified ProjectStatus enumeration value to its lowercase invariant string representation. + /// + /// The ProjectStatus enumeration value to be converted. + /// A string representation of the ProjectStatus enumeration value in a lowercase, or "undefined" if the value does not match a defined case. + public static string ToLowerInvariant(this ProjectStatus @enum) + { + return @enum switch + { + ProjectStatus.None => "none", + ProjectStatus.Active => "active", + ProjectStatus.Archived => "archived", + ProjectStatus.Closed => "closed", + _ => "undefined" + }; + } + + /// + /// Converts the specified enumeration value to its lowercase invariant string representation. + /// + /// The enumeration value to be converted. + /// A string representation of the UserStatus enumeration value in a lowercase, or "undefined" if the value does not match a defined case. + public static string ToLowerInvariant(this UserStatus @enum) + { + return @enum switch + { + UserStatus.StatusActive => "status_active", + UserStatus.StatusAnonymous => "status_anonymous", + UserStatus.StatusLocked => "status_locked", + UserStatus.StatusRegistered => "status_registered", + _ => "undefined" + }; + } +} \ No newline at end of file From dc05688b88fbfac9b8a063f868e76e714850e069 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:05:23 +0300 Subject: [PATCH 505/601] [DebuggerDisplay] Replace + with interpolation --- src/redmine-net-api/Types/Attachment.cs | 3 +-- src/redmine-net-api/Types/ChangeSet.cs | 2 +- src/redmine-net-api/Types/CustomField.cs | 3 +-- src/redmine-net-api/Types/CustomFieldPossibleValue.cs | 2 +- src/redmine-net-api/Types/CustomFieldRole.cs | 2 +- src/redmine-net-api/Types/CustomFieldValue.cs | 2 +- src/redmine-net-api/Types/Detail.cs | 2 +- src/redmine-net-api/Types/DocumentCategory.cs | 3 +-- src/redmine-net-api/Types/Error.cs | 2 +- src/redmine-net-api/Types/File.cs | 2 +- src/redmine-net-api/Types/Group.cs | 2 +- src/redmine-net-api/Types/GroupUser.cs | 2 +- src/redmine-net-api/Types/Identifiable.cs | 4 +--- src/redmine-net-api/Types/IdentifiableName.cs | 2 +- src/redmine-net-api/Types/Issue.cs | 2 +- src/redmine-net-api/Types/IssueAllowedStatus.cs | 2 +- src/redmine-net-api/Types/IssueCategory.cs | 2 +- src/redmine-net-api/Types/IssueChild.cs | 2 +- src/redmine-net-api/Types/IssueCustomField.cs | 2 +- src/redmine-net-api/Types/IssuePriority.cs | 3 +-- src/redmine-net-api/Types/IssueRelation.cs | 7 ++----- src/redmine-net-api/Types/IssueStatus.cs | 3 +-- src/redmine-net-api/Types/Journal.cs | 2 +- src/redmine-net-api/Types/Membership.cs | 2 +- src/redmine-net-api/Types/MembershipRole.cs | 2 +- src/redmine-net-api/Types/MyAccount.cs | 3 +-- src/redmine-net-api/Types/MyAccountCustomField.cs | 2 +- src/redmine-net-api/Types/News.cs | 3 +-- src/redmine-net-api/Types/NewsComment.cs | 2 +- src/redmine-net-api/Types/Permission.cs | 2 +- src/redmine-net-api/Types/Project.cs | 3 +-- src/redmine-net-api/Types/ProjectEnabledModule.cs | 2 +- src/redmine-net-api/Types/ProjectIssueCategory.cs | 2 +- src/redmine-net-api/Types/ProjectMembership.cs | 2 +- src/redmine-net-api/Types/ProjectTimeEntryActivity.cs | 2 +- src/redmine-net-api/Types/ProjectTracker.cs | 2 +- src/redmine-net-api/Types/Query.cs | 3 +-- src/redmine-net-api/Types/Role.cs | 2 +- src/redmine-net-api/Types/Search.cs | 3 +-- src/redmine-net-api/Types/TimeEntry.cs | 2 +- src/redmine-net-api/Types/TimeEntryActivity.cs | 3 +-- src/redmine-net-api/Types/Tracker.cs | 2 +- src/redmine-net-api/Types/TrackerCoreField.cs | 2 +- src/redmine-net-api/Types/TrackerCustomField.cs | 2 +- src/redmine-net-api/Types/Upload.cs | 2 +- src/redmine-net-api/Types/User.cs | 2 +- src/redmine-net-api/Types/UserGroup.cs | 2 +- src/redmine-net-api/Types/Version.cs | 3 +-- src/redmine-net-api/Types/Watcher.cs | 2 +- src/redmine-net-api/Types/WikiPage.cs | 2 +- 50 files changed, 51 insertions(+), 68 deletions(-) diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index 49b6476c..98b937e6 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -16,7 +16,6 @@ limitations under the License. using System; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.3 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.ATTACHMENT)] public sealed class Attachment : Identifiable diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs index be873273..22d7156c 100644 --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -30,7 +30,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.CHANGE_SET)] public sealed class ChangeSet : IXmlSerializable, IJsonSerializable, IEquatable ,ICloneable diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index c99a1490..c0ab41ab 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -17,7 +17,6 @@ limitations under the License. using System; using System.Collections.Generic; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.CUSTOM_FIELD)] public sealed class CustomField : IdentifiableName, IEquatable { diff --git a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs index 4a8854f7..571386d5 100644 --- a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs @@ -28,7 +28,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.POSSIBLE_VALUE)] public sealed class CustomFieldPossibleValue : IXmlSerializable, IJsonSerializable, IEquatable { diff --git a/src/redmine-net-api/Types/CustomFieldRole.cs b/src/redmine-net-api/Types/CustomFieldRole.cs index bfffbc71..7b1b20a9 100644 --- a/src/redmine-net-api/Types/CustomFieldRole.cs +++ b/src/redmine-net-api/Types/CustomFieldRole.cs @@ -23,7 +23,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.ROLE)] public sealed class CustomFieldRole : IdentifiableName { diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index 32a70959..17f0a442 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -28,7 +28,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.VALUE)] public class CustomFieldValue : IXmlSerializable diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs index b4738792..8fd71956 100644 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -28,7 +28,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.DETAIL)] public sealed class Detail : IXmlSerializable diff --git a/src/redmine-net-api/Types/DocumentCategory.cs b/src/redmine-net-api/Types/DocumentCategory.cs index 4e01bc96..beda071d 100644 --- a/src/redmine-net-api/Types/DocumentCategory.cs +++ b/src/redmine-net-api/Types/DocumentCategory.cs @@ -16,7 +16,6 @@ limitations under the License. using System; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; @@ -28,7 +27,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 2.2 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.DOCUMENT_CATEGORY)] public sealed class DocumentCategory : IdentifiableName, IEquatable { diff --git a/src/redmine-net-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs index f5285573..0ad45ae2 100644 --- a/src/redmine-net-api/Types/Error.cs +++ b/src/redmine-net-api/Types/Error.cs @@ -28,7 +28,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.ERROR)] public sealed class Error : IXmlSerializable, IJsonSerializable, IEquatable { diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index f4f09e30..d218e41b 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -30,7 +30,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.FILE)] public sealed class File : Identifiable { diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 27bc3773..770ce1ec 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -29,7 +29,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 2.1 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.GROUP)] public sealed class Group : IdentifiableName, IEquatable { diff --git a/src/redmine-net-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs index 598e9462..6a7d9760 100644 --- a/src/redmine-net-api/Types/GroupUser.cs +++ b/src/redmine-net-api/Types/GroupUser.cs @@ -24,7 +24,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.USER)] public sealed class GroupUser : IdentifiableName, IValue { diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs index 02307d1d..9973b232 100644 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -16,7 +16,6 @@ limitations under the License. using System; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; @@ -24,7 +23,6 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; -using NotImplementedException = System.NotImplementedException; namespace Redmine.Net.Api.Types { @@ -32,7 +30,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] public abstract class Identifiable : IXmlSerializable, IJsonSerializable, IEquatable , ICloneable> where T : Identifiable diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index 2a985283..4f95ee02 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -27,7 +27,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] public class IdentifiableName : Identifiable , ICloneable { diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 14f55a6f..91c5f2a1 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -36,7 +36,7 @@ namespace Redmine.Net.Api.Types /// Possible values: children, attachments, relations, changesets and journals. To fetch multiple associations use comma (e.g ?include=relations,journals). /// See Issue journals for more information. /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.ISSUE)] public sealed class Issue : Identifiable diff --git a/src/redmine-net-api/Types/IssueAllowedStatus.cs b/src/redmine-net-api/Types/IssueAllowedStatus.cs index 9a47811a..d2b78d19 100644 --- a/src/redmine-net-api/Types/IssueAllowedStatus.cs +++ b/src/redmine-net-api/Types/IssueAllowedStatus.cs @@ -26,7 +26,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.STATUS)] public sealed class IssueAllowedStatus : IdentifiableName { diff --git a/src/redmine-net-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs index 39c5781c..ae25040e 100644 --- a/src/redmine-net-api/Types/IssueCategory.cs +++ b/src/redmine-net-api/Types/IssueCategory.cs @@ -27,7 +27,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.3 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.ISSUE_CATEGORY)] public sealed class IssueCategory : Identifiable { diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs index b6d3fcf1..42e1ed29 100644 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -28,7 +28,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.ISSUE)] public sealed class IssueChild : Identifiable ,ICloneable diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index da8935c9..f4e4a717 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -29,7 +29,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.CUSTOM_FIELD)] public sealed class IssueCustomField : IdentifiableName diff --git a/src/redmine-net-api/Types/IssuePriority.cs b/src/redmine-net-api/Types/IssuePriority.cs index 82522462..b9a5a7a0 100644 --- a/src/redmine-net-api/Types/IssuePriority.cs +++ b/src/redmine-net-api/Types/IssuePriority.cs @@ -16,7 +16,6 @@ limitations under the License. using System; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; @@ -28,7 +27,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 2.2 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.ISSUE_PRIORITY)] public sealed class IssuePriority : IdentifiableName diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index f913221b..fad07f49 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -16,7 +16,6 @@ limitations under the License. using System; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; @@ -30,11 +29,9 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.3 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.RELATION)] - public sealed class IssueRelation : - Identifiable - ,ICloneable + public sealed class IssueRelation : Identifiable, ICloneable { #region Properties /// diff --git a/src/redmine-net-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs index 25d2a30a..76d7863e 100644 --- a/src/redmine-net-api/Types/IssueStatus.cs +++ b/src/redmine-net-api/Types/IssueStatus.cs @@ -16,7 +16,6 @@ limitations under the License. using System; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; @@ -28,7 +27,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.3 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.ISSUE_STATUS)] public sealed class IssueStatus : IdentifiableName, IEquatable, ICloneable { diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index bf016b1b..ee50b101 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -29,7 +29,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.JOURNAL)] public sealed class Journal : Identifiable diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index 4b563614..a33c97ef 100644 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -27,7 +27,7 @@ namespace Redmine.Net.Api.Types /// /// Only the roles can be updated, the project and the user of a membership are read-only. /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.MEMBERSHIP)] public sealed class Membership : Identifiable { diff --git a/src/redmine-net-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs index 1de8fbfc..2df6f835 100644 --- a/src/redmine-net-api/Types/MembershipRole.cs +++ b/src/redmine-net-api/Types/MembershipRole.cs @@ -28,7 +28,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.ROLE)] public sealed class MembershipRole : IdentifiableName, IEquatable, IValue { diff --git a/src/redmine-net-api/Types/MyAccount.cs b/src/redmine-net-api/Types/MyAccount.cs index 806123b4..944a9d32 100644 --- a/src/redmine-net-api/Types/MyAccount.cs +++ b/src/redmine-net-api/Types/MyAccount.cs @@ -17,7 +17,6 @@ limitations under the License. using System; using System.Collections.Generic; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; @@ -31,7 +30,7 @@ namespace Redmine.Net.Api.Types /// /// /// Availability 4.1 - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.USER)] public sealed class MyAccount : Identifiable { diff --git a/src/redmine-net-api/Types/MyAccountCustomField.cs b/src/redmine-net-api/Types/MyAccountCustomField.cs index 55372989..469e198e 100644 --- a/src/redmine-net-api/Types/MyAccountCustomField.cs +++ b/src/redmine-net-api/Types/MyAccountCustomField.cs @@ -27,7 +27,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.CUSTOM_FIELD)] public sealed class MyAccountCustomField : IdentifiableName, IEquatable { diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index c989c6f2..4701ceb3 100644 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -17,7 +17,6 @@ limitations under the License. using System; using System.Collections.Generic; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; @@ -30,7 +29,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.1 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.NEWS)] public sealed class News : Identifiable { diff --git a/src/redmine-net-api/Types/NewsComment.cs b/src/redmine-net-api/Types/NewsComment.cs index 86eca5ed..b80953e4 100644 --- a/src/redmine-net-api/Types/NewsComment.cs +++ b/src/redmine-net-api/Types/NewsComment.cs @@ -27,7 +27,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.COMMENT)] public sealed class NewsComment: Identifiable { diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index 8d300411..06811090 100644 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -28,7 +28,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.PERMISSION)] #pragma warning disable CA1711 public sealed class Permission : IXmlSerializable, IJsonSerializable, IEquatable diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 798ab732..f3041a7b 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -17,7 +17,6 @@ limitations under the License. using System; using System.Collections.Generic; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; @@ -30,7 +29,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.0 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.PROJECT)] public sealed class Project : IdentifiableName, IEquatable { diff --git a/src/redmine-net-api/Types/ProjectEnabledModule.cs b/src/redmine-net-api/Types/ProjectEnabledModule.cs index 02d7f60c..343b6006 100644 --- a/src/redmine-net-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net-api/Types/ProjectEnabledModule.cs @@ -24,7 +24,7 @@ namespace Redmine.Net.Api.Types /// /// the module name: boards, calendar, documents, files, gant, issue_tracking, news, repository, time_tracking, wiki. /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.ENABLED_MODULE)] public sealed class ProjectEnabledModule : IdentifiableName, IValue { diff --git a/src/redmine-net-api/Types/ProjectIssueCategory.cs b/src/redmine-net-api/Types/ProjectIssueCategory.cs index 2ef3b006..6f214692 100644 --- a/src/redmine-net-api/Types/ProjectIssueCategory.cs +++ b/src/redmine-net-api/Types/ProjectIssueCategory.cs @@ -23,7 +23,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.ISSUE_CATEGORY)] public sealed class ProjectIssueCategory : IdentifiableName { diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index cd0cb010..dd1622b9 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -34,7 +34,7 @@ namespace Redmine.Net.Api.Types /// PUT - Updates the membership of given :id. Only the roles can be updated, the project and the user of a membership are read-only. /// DELETE - Deletes a memberships. Memberships inherited from a group membership can not be deleted. You must delete the group membership. /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.MEMBERSHIP)] public sealed class ProjectMembership : Identifiable { diff --git a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs index eded97b3..823de240 100644 --- a/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs +++ b/src/redmine-net-api/Types/ProjectTimeEntryActivity.cs @@ -23,7 +23,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.TIME_ENTRY_ACTIVITY)] public sealed class ProjectTimeEntryActivity : IdentifiableName { diff --git a/src/redmine-net-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs index fa026ee7..d6c64130 100644 --- a/src/redmine-net-api/Types/ProjectTracker.cs +++ b/src/redmine-net-api/Types/ProjectTracker.cs @@ -24,7 +24,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.TRACKER)] public sealed class ProjectTracker : IdentifiableName, IValue { diff --git a/src/redmine-net-api/Types/Query.cs b/src/redmine-net-api/Types/Query.cs index 09dc4f56..f0e51d8a 100644 --- a/src/redmine-net-api/Types/Query.cs +++ b/src/redmine-net-api/Types/Query.cs @@ -16,7 +16,6 @@ limitations under the License. using System; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; @@ -28,7 +27,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.3 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.QUERY)] public sealed class Query : IdentifiableName, IEquatable { diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index fd9dbab2..7a4718a5 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -28,7 +28,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.4 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.ROLE)] public sealed class Role : IdentifiableName, IEquatable { diff --git a/src/redmine-net-api/Types/Search.cs b/src/redmine-net-api/Types/Search.cs index a0ec1835..2397f7fa 100644 --- a/src/redmine-net-api/Types/Search.cs +++ b/src/redmine-net-api/Types/Search.cs @@ -16,7 +16,6 @@ limitations under the License. using System; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; @@ -30,7 +29,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.RESULT)] public sealed class Search: IXmlSerializable, IJsonSerializable, IEquatable { diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index bdc8cd64..e8c147c9 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -31,7 +31,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.1 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.TIME_ENTRY)] public sealed class TimeEntry : Identifiable , ICloneable diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index dc571fff..42f31826 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -16,7 +16,6 @@ limitations under the License. using System; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; @@ -28,7 +27,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 2.2 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.TIME_ENTRY_ACTIVITY)] public sealed class TimeEntryActivity : IdentifiableName, IEquatable { diff --git a/src/redmine-net-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs index be916923..f13d8f6b 100644 --- a/src/redmine-net-api/Types/Tracker.cs +++ b/src/redmine-net-api/Types/Tracker.cs @@ -28,7 +28,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.3 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.TRACKER)] public class Tracker : IdentifiableName, IEquatable { diff --git a/src/redmine-net-api/Types/TrackerCoreField.cs b/src/redmine-net-api/Types/TrackerCoreField.cs index 2677a1eb..a91c25e6 100644 --- a/src/redmine-net-api/Types/TrackerCoreField.cs +++ b/src/redmine-net-api/Types/TrackerCoreField.cs @@ -12,7 +12,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.FIELD)] public sealed class TrackerCoreField: IXmlSerializable, IJsonSerializable, IEquatable { diff --git a/src/redmine-net-api/Types/TrackerCustomField.cs b/src/redmine-net-api/Types/TrackerCustomField.cs index 8464d220..f4250d4b 100644 --- a/src/redmine-net-api/Types/TrackerCustomField.cs +++ b/src/redmine-net-api/Types/TrackerCustomField.cs @@ -25,7 +25,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.TRACKER)] public sealed class TrackerCustomField : Tracker { diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index 12d57053..616a8868 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -29,7 +29,7 @@ namespace Redmine.Net.Api.Types /// /// Support for adding attachments through the REST API is added in Redmine 1.4.0. /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.UPLOAD)] public sealed class Upload : IXmlSerializable, IJsonSerializable, IEquatable , ICloneable diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index 19679607..368ead09 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -30,7 +30,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.1 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.USER)] public sealed class User : Identifiable { diff --git a/src/redmine-net-api/Types/UserGroup.cs b/src/redmine-net-api/Types/UserGroup.cs index 660c9051..55697d26 100644 --- a/src/redmine-net-api/Types/UserGroup.cs +++ b/src/redmine-net-api/Types/UserGroup.cs @@ -23,7 +23,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.GROUP)] public sealed class UserGroup : IdentifiableName { diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 2e4dd096..884aca64 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -17,7 +17,6 @@ limitations under the License. using System; using System.Collections.Generic; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; @@ -30,7 +29,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 1.3 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.VERSION)] public sealed class Version : Identifiable { diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index b990a464..24d39693 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -25,7 +25,7 @@ namespace Redmine.Net.Api.Types /// /// /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.USER)] public sealed class Watcher : IdentifiableName ,IEquatable diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index 76125cef..b2c0dfad 100644 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -29,7 +29,7 @@ namespace Redmine.Net.Api.Types /// /// Availability 2.2 /// - [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.WIKI_PAGE)] public sealed class WikiPage : Identifiable { From 937d3c3fbfde6c407d31bbf85735add3c2369b28 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:06:36 +0300 Subject: [PATCH 506/601] [IRedmineSerializer] Add ContentType --- src/redmine-net-api/Serialization/IRedmineSerializer.cs | 5 +++++ .../Serialization/Json/JsonRedmineSerializer.cs | 2 ++ .../Serialization/Xml/XmlRedmineSerializer.cs | 2 ++ 3 files changed, 9 insertions(+) diff --git a/src/redmine-net-api/Serialization/IRedmineSerializer.cs b/src/redmine-net-api/Serialization/IRedmineSerializer.cs index e6e064f4..6116b15d 100644 --- a/src/redmine-net-api/Serialization/IRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/IRedmineSerializer.cs @@ -25,6 +25,11 @@ internal interface IRedmineSerializer /// Gets the application format this serializer supports (e.g. "json", "xml"). /// string Format { get; } + + /// + /// + /// + string ContentType { get; } /// /// Serializes the specified object into a string. diff --git a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs index 41f66958..f279abe3 100644 --- a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs @@ -136,6 +136,8 @@ internal sealed class JsonRedmineSerializer : IRedmineSerializer #pragma warning restore CA1822 public string Format { get; } = "json"; + + public string ContentType { get; } = "application/json"; public string Serialize(T entity) where T : class { diff --git a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs index 253543c7..134fac5f 100644 --- a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs @@ -79,6 +79,8 @@ public XmlRedmineSerializer(XmlWriterSettings xmlWriterSettings) #pragma warning restore CA1822 public string Format => RedmineConstants.XML; + + public string ContentType { get; } = "application/xml"; public string Serialize(T entity) where T : class { From e128a7406c0904ede247f365a1b2d0a380adf400 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:08:56 +0300 Subject: [PATCH 507/601] Split ICollectionExtensions into List & Enumerable extensions --- .../Extensions/CollectionExtensions.cs | 113 --------------- .../Extensions/EnumerableExtensions.cs | 47 +++++++ .../Extensions/ListExtensions.cs | 129 ++++++++++++++++++ 3 files changed, 176 insertions(+), 113 deletions(-) delete mode 100755 src/redmine-net-api/Extensions/CollectionExtensions.cs create mode 100644 src/redmine-net-api/Extensions/EnumerableExtensions.cs create mode 100755 src/redmine-net-api/Extensions/ListExtensions.cs diff --git a/src/redmine-net-api/Extensions/CollectionExtensions.cs b/src/redmine-net-api/Extensions/CollectionExtensions.cs deleted file mode 100755 index 6b56e79c..00000000 --- a/src/redmine-net-api/Extensions/CollectionExtensions.cs +++ /dev/null @@ -1,113 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Text; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.Extensions -{ - /// - /// - /// - public static class CollectionExtensions - { - /// - /// Clones the specified list to clone. - /// - /// - /// The list to clone. - /// - /// - public static IList Clone(this IList listToClone, bool resetId) where T : ICloneable - { - if (listToClone == null) - { - return null; - } - - var clonedList = new List(); - - for (var index = 0; index < listToClone.Count; index++) - { - var item = listToClone[index]; - clonedList.Add(item.Clone(resetId)); - } - - return clonedList; - } - - /// - /// - /// - /// - /// The list. - /// The list to compare. - /// - public static bool Equals(this IList list, IList listToCompare) where T : class - { - if (list == null || listToCompare == null) - { - return false; - } - - if (list.Count != listToCompare.Count) - { - return false; - } - - var index = 0; - while (index < list.Count && list[index].Equals(listToCompare[index])) - { - index++; - } - - return index == list.Count; - } - - /// - /// - /// - /// - public static string Dump(this IEnumerable collection) where TIn : class - { - if (collection == null) - { - return null; - } - - var sb = new StringBuilder("{"); - - foreach (var item in collection) - { - sb.Append(item).Append(','); - } - - if (sb.Length > 1) - { - sb.Length -= 1; - } - - sb.Append('}'); - - var str = sb.ToString(); - sb.Length = 0; - - return str; - } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Extensions/EnumerableExtensions.cs b/src/redmine-net-api/Extensions/EnumerableExtensions.cs new file mode 100644 index 00000000..e5ae149f --- /dev/null +++ b/src/redmine-net-api/Extensions/EnumerableExtensions.cs @@ -0,0 +1,47 @@ +using System.Collections.Generic; +using System.Text; + +namespace Redmine.Net.Api.Extensions; + +/// +/// Provides extension methods for IEnumerable types. +/// +public static class EnumerableExtensions +{ + /// + /// Converts a collection of objects into a string representation with each item separated by a comma + /// and enclosed within curly braces. + /// + /// The type of items in the collection. The type must be a reference type. + /// The collection of items to convert to a string representation. + /// + /// Returns a string containing all the items from the collection, separated by commas and + /// enclosed within curly braces. Returns null if the collection is null. + /// + public static string Dump(this IEnumerable collection) where TIn : class + { + if (collection == null) + { + return null; + } + + var sb = new StringBuilder("{"); + + foreach (var item in collection) + { + sb.Append(item).Append(','); + } + + if (sb.Length > 1) + { + sb.Length -= 1; + } + + sb.Append('}'); + + var str = sb.ToString(); + sb.Length = 0; + + return str; + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Extensions/ListExtensions.cs b/src/redmine-net-api/Extensions/ListExtensions.cs new file mode 100755 index 00000000..a8dce8c1 --- /dev/null +++ b/src/redmine-net-api/Extensions/ListExtensions.cs @@ -0,0 +1,129 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System.Collections.Generic; + +namespace Redmine.Net.Api.Extensions +{ + /// + /// Provides extension methods for operations on lists. + /// + public static class ListExtensions + { + /// + /// Creates a deep clone of the specified list. + /// + /// The type of elements in the list. Must implement . + /// The list to be cloned. + /// Specifies whether to reset the ID for each cloned item. + /// A new list containing cloned copies of the elements from the original list. Returns null if the original list is null. + public static IList Clone(this IList listToClone, bool resetId) where T : ICloneable + { + if (listToClone == null) + { + return null; + } + + var clonedList = new List(listToClone.Count); + + foreach (var item in listToClone) + { + clonedList.Add(item.Clone(resetId)); + } + + return clonedList; + } + + /// + /// Creates a deep clone of the specified list. + /// + /// The type of elements in the list. Must implement . + /// The list to be cloned. + /// Specifies whether to reset the ID for each cloned item. + /// A new list containing cloned copies of the elements from the original list. Returns null if the original list is null. + public static IList Clone(this List listToClone, bool resetId) where T : ICloneable + { + if (listToClone == null) + { + return null; + } + + var clonedList = new List(listToClone.Count); + + foreach (var item in listToClone) + { + clonedList.Add(item.Clone(resetId)); + } + return clonedList; + } + + /// + /// Compares two lists for equality by checking if they contain the same elements in the same order. + /// + /// The type of elements in the lists. Must be a reference type. + /// The first list to be compared. + /// The second list to be compared. + /// True if both lists contain the same elements in the same order; otherwise, false. Returns false if either list is null. + public static bool Equals(this IList list, IList listToCompare) where T : class + { + if (list == null || listToCompare == null) + { + return false; + } + + if (list.Count != listToCompare.Count) + { + return false; + } + + var index = 0; + while (index < list.Count && list[index].Equals(listToCompare[index])) + { + index++; + } + + return index == list.Count; + } + + /// + /// Compares two lists for equality based on their elements. + /// + /// The type of elements in the lists. Must be a reference type. + /// The first list to compare. + /// The second list to compare. + /// True if both lists are non-null, have the same count, and all corresponding elements are equal; otherwise, false. + public static bool Equals(this List list, List listToCompare) where T : class + { + if (list == null || listToCompare == null) + { + return false; + } + + if (list.Count != listToCompare.Count) + { + return false; + } + + var index = 0; + while (index < list.Count && list[index].Equals(listToCompare[index])) + { + index++; + } + + return index == list.Count; + } + } +} \ No newline at end of file From 3e5a9614e2048ff82dbf87a4fc7eb593330c30c7 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:12:54 +0300 Subject: [PATCH 508/601] Split IRedmineApiClient into IAsync|SyncRedmineApiClient --- .../Net/IAsyncRedmineApiClient.cs | 41 +++++++++++++++++++ src/redmine-net-api/Net/IRedmineApiClient.cs | 29 ++----------- .../Net/ISyncRedmineApiClient.cs | 36 ++++++++++++++++ 3 files changed, 81 insertions(+), 25 deletions(-) create mode 100644 src/redmine-net-api/Net/IAsyncRedmineApiClient.cs create mode 100644 src/redmine-net-api/Net/ISyncRedmineApiClient.cs diff --git a/src/redmine-net-api/Net/IAsyncRedmineApiClient.cs b/src/redmine-net-api/Net/IAsyncRedmineApiClient.cs new file mode 100644 index 00000000..b4b7bc50 --- /dev/null +++ b/src/redmine-net-api/Net/IAsyncRedmineApiClient.cs @@ -0,0 +1,41 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#if !(NET20 || NET35) +using System.Threading; +using System.Threading.Tasks; + +namespace Redmine.Net.Api.Net; + +internal interface IAsyncRedmineApiClient +{ + Task GetAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + + Task GetPagedAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + + Task CreateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + + Task UpdateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + + Task PatchAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + + Task DeleteAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + + Task UploadFileAsync(string address, byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + + Task DownloadAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api/Net/IRedmineApiClient.cs b/src/redmine-net-api/Net/IRedmineApiClient.cs index f9ffc4f8..2116dedf 100644 --- a/src/redmine-net-api/Net/IRedmineApiClient.cs +++ b/src/redmine-net-api/Net/IRedmineApiClient.cs @@ -14,35 +14,14 @@ You may obtain a copy of the License at limitations under the License. */ -using System.Threading; -#if!(NET20) -using System.Threading.Tasks; -#endif - namespace Redmine.Net.Api.Net; /// /// /// -internal interface IRedmineApiClient +internal interface IRedmineApiClient : ISyncRedmineApiClient +#if !(NET20 || NET35) + , IAsyncRedmineApiClient +#endif { - ApiResponseMessage Get(string address, RequestOptions requestOptions = null); - ApiResponseMessage GetPaged(string address, RequestOptions requestOptions = null); - ApiResponseMessage Create(string address, string payload, RequestOptions requestOptions = null); - ApiResponseMessage Update(string address, string payload, RequestOptions requestOptions = null); - ApiResponseMessage Patch(string address, string payload, RequestOptions requestOptions = null); - ApiResponseMessage Delete(string address, RequestOptions requestOptions = null); - ApiResponseMessage Upload(string address, byte[] data, RequestOptions requestOptions = null); - ApiResponseMessage Download(string address, RequestOptions requestOptions = null); - - #if !(NET20) - Task GetAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - Task GetPagedAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - Task CreateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - Task UpdateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - Task PatchAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - Task DeleteAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - Task UploadFileAsync(string address, byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - Task DownloadAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - #endif } \ No newline at end of file diff --git a/src/redmine-net-api/Net/ISyncRedmineApiClient.cs b/src/redmine-net-api/Net/ISyncRedmineApiClient.cs new file mode 100644 index 00000000..8141ae0e --- /dev/null +++ b/src/redmine-net-api/Net/ISyncRedmineApiClient.cs @@ -0,0 +1,36 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +namespace Redmine.Net.Api.Net; + +internal interface ISyncRedmineApiClient +{ + ApiResponseMessage Get(string address, RequestOptions requestOptions = null); + + ApiResponseMessage GetPaged(string address, RequestOptions requestOptions = null); + + ApiResponseMessage Create(string address, string payload, RequestOptions requestOptions = null); + + ApiResponseMessage Update(string address, string payload, RequestOptions requestOptions = null); + + ApiResponseMessage Patch(string address, string payload, RequestOptions requestOptions = null); + + ApiResponseMessage Delete(string address, RequestOptions requestOptions = null); + + ApiResponseMessage Upload(string address, byte[] data, RequestOptions requestOptions = null); + + ApiResponseMessage Download(string address, RequestOptions requestOptions = null); +} \ No newline at end of file From 8c4796aa4e34cde0956e8bd5348fb90444238e36 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:20:17 +0300 Subject: [PATCH 509/601] Split InternalRedmineApiWebClient into sync|async --- .../InternalRedmineApiWebClient.Async.cs | 140 ++++++++++++++++++ .../WebClient/InternalRedmineApiWebClient.cs | 124 +--------------- 2 files changed, 144 insertions(+), 120 deletions(-) create mode 100644 src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs new file mode 100644 index 00000000..f2db7185 --- /dev/null +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs @@ -0,0 +1,140 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#if!(NET20) +using System.Collections.Specialized; +using System.Net; +using System.Threading; +using System.Threading.Tasks; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net.WebClient.MessageContent; + +namespace Redmine.Net.Api.Net.WebClient +{ + /// + /// + /// + internal sealed partial class InternalRedmineApiWebClient + { + public async Task GetAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return await HandleRequestAsync(address, HttpVerbs.GET, requestOptions, cancellationToken:cancellationToken).ConfigureAwait(false); + } + + public async Task GetPagedAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return await GetAsync(address, requestOptions, cancellationToken).ConfigureAwait(false); + } + + public async Task CreateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var content = new StringApiRequestMessageContent(payload, _serializer.ContentType); + return await HandleRequestAsync(address, HttpVerbs.POST, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); + } + + public async Task UpdateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var content = new StringApiRequestMessageContent(payload, _serializer.ContentType); + return await HandleRequestAsync(address, HttpVerbs.PUT, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); + } + + public async Task UploadFileAsync(string address, byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var content = new StreamApiRequestMessageContent(data); + return await HandleRequestAsync(address, HttpVerbs.POST, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); + } + + public async Task PatchAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var content = new StringApiRequestMessageContent(payload, _serializer.ContentType); + return await HandleRequestAsync(address, HttpVerbs.PATCH, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); + } + + public async Task DeleteAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return await HandleRequestAsync(address, HttpVerbs.DELETE, requestOptions, cancellationToken:cancellationToken).ConfigureAwait(false); + } + + public async Task DownloadAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return await HandleRequestAsync(address, HttpVerbs.DOWNLOAD, requestOptions, cancellationToken:cancellationToken).ConfigureAwait(false); + } + + private async Task HandleRequestAsync(string address, string verb, RequestOptions requestOptions = null, ApiRequestMessageContent content = null, CancellationToken cancellationToken = default) + { + return await SendAsync(CreateRequestMessage(address, verb, requestOptions, content), cancellationToken).ConfigureAwait(false); + } + + private async Task SendAsync(ApiRequestMessage requestMessage, CancellationToken cancellationToken) + { + System.Net.WebClient webClient = null; + byte[] response = null; + NameValueCollection responseHeaders = null; + try + { + webClient = _webClientFunc(); + + cancellationToken.Register(webClient.CancelAsync); + + SetWebClientHeaders(webClient, requestMessage); + + if(IsGetOrDownload(requestMessage.Method)) + { + response = await webClient.DownloadDataTaskAsync(requestMessage.RequestUri) + .ConfigureAwait(false); + } + else + { + byte[] payload; + if (requestMessage.Content != null) + { + webClient.Headers.Add(HttpRequestHeader.ContentType, requestMessage.Content.ContentType); + payload = requestMessage.Content.Body; + } + else + { + payload = EmptyBytes; + } + + response = await webClient.UploadDataTaskAsync(requestMessage.RequestUri, requestMessage.Method, payload) + .ConfigureAwait(false); + } + + responseHeaders = webClient.ResponseHeaders; + } + catch (WebException ex) when (ex.Status == WebExceptionStatus.RequestCanceled) + { + //TODO: Handle cancellation... + } + catch (WebException webException) + { + webException.HandleWebException(_serializer); + } + finally + { + webClient?.Dispose(); + } + + return new ApiResponseMessage() + { + Headers = responseHeaders, + Content = response + }; + } + } +} + +#endif \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs index df94c7fa..1b3ee390 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs @@ -18,11 +18,7 @@ limitations under the License. using System.Collections.Specialized; using System.Net; using System.Text; -using System.Threading; using Redmine.Net.Api.Authentication; -#if!(NET20) -using System.Threading.Tasks; -#endif using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Net.WebClient.MessageContent; using Redmine.Net.Api.Serialization; @@ -32,7 +28,7 @@ namespace Redmine.Net.Api.Net.WebClient /// /// /// - internal sealed class InternalRedmineApiWebClient : IRedmineApiClient + internal sealed partial class InternalRedmineApiWebClient : IRedmineApiClient { private static readonly byte[] EmptyBytes = Encoding.UTF8.GetBytes(string.Empty); private readonly Func _webClientFunc; @@ -111,19 +107,19 @@ public ApiResponseMessage GetPaged(string address, RequestOptions requestOptions public ApiResponseMessage Create(string address, string payload, RequestOptions requestOptions = null) { - var content = new StringApiRequestMessageContent(payload, GetContentType(_serializer)); + var content = new StringApiRequestMessageContent(payload, _serializer.ContentType); return HandleRequest(address, HttpVerbs.POST, requestOptions, content); } public ApiResponseMessage Update(string address, string payload, RequestOptions requestOptions = null) { - var content = new StringApiRequestMessageContent(payload, GetContentType(_serializer)); + var content = new StringApiRequestMessageContent(payload, _serializer.ContentType); return HandleRequest(address, HttpVerbs.PUT, requestOptions, content); } public ApiResponseMessage Patch(string address, string payload, RequestOptions requestOptions = null) { - var content = new StringApiRequestMessageContent(payload, GetContentType(_serializer)); + var content = new StringApiRequestMessageContent(payload, _serializer.ContentType); return HandleRequest(address, HttpVerbs.PATCH, requestOptions, content); } @@ -143,113 +139,6 @@ public ApiResponseMessage Upload(string address, byte[] data, RequestOptions req return HandleRequest(address, HttpVerbs.POST, requestOptions, content); } - #if !(NET20) - public async Task GetAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - return await HandleRequestAsync(address, HttpVerbs.GET, requestOptions, cancellationToken:cancellationToken).ConfigureAwait(false); - } - - public Task GetPagedAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - return GetAsync(address, requestOptions, cancellationToken); - } - - public async Task CreateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - var content = new StringApiRequestMessageContent(payload, GetContentType(_serializer)); - return await HandleRequestAsync(address, HttpVerbs.POST, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); - } - - public async Task UpdateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - var content = new StringApiRequestMessageContent(payload, GetContentType(_serializer)); - return await HandleRequestAsync(address, HttpVerbs.PUT, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); - } - - public async Task UploadFileAsync(string address, byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - var content = new StreamApiRequestMessageContent(data); - return await HandleRequestAsync(address, HttpVerbs.POST, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); - } - - public async Task PatchAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - var content = new StringApiRequestMessageContent(payload, GetContentType(_serializer)); - return await HandleRequestAsync(address, HttpVerbs.PATCH, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); - } - - public async Task DeleteAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - return await HandleRequestAsync(address, HttpVerbs.DELETE, requestOptions, cancellationToken:cancellationToken).ConfigureAwait(false); - } - - public async Task DownloadAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - return await HandleRequestAsync(address, HttpVerbs.DOWNLOAD, requestOptions, cancellationToken:cancellationToken).ConfigureAwait(false); - } - - private Task HandleRequestAsync(string address, string verb, RequestOptions requestOptions = null, ApiRequestMessageContent content = null, CancellationToken cancellationToken = default) - { - return SendAsync(CreateRequestMessage(address, verb, requestOptions, content), cancellationToken); - } - - private async Task SendAsync(ApiRequestMessage requestMessage, CancellationToken cancellationToken) - { - System.Net.WebClient webClient = null; - byte[] response = null; - NameValueCollection responseHeaders = null; - try - { - webClient = _webClientFunc(); - - cancellationToken.Register(webClient.CancelAsync); - - SetWebClientHeaders(webClient, requestMessage); - - if(IsGetOrDownload(requestMessage.Method)) - { - response = await webClient.DownloadDataTaskAsync(requestMessage.RequestUri).ConfigureAwait(false); - } - else - { - byte[] payload; - if (requestMessage.Content != null) - { - webClient.Headers.Add(HttpRequestHeader.ContentType, requestMessage.Content.ContentType); - payload = requestMessage.Content.Body; - } - else - { - payload = EmptyBytes; - } - - response = await webClient.UploadDataTaskAsync(requestMessage.RequestUri, requestMessage.Method, payload).ConfigureAwait(false); - } - - responseHeaders = webClient.ResponseHeaders; - } - catch (WebException ex) when (ex.Status == WebExceptionStatus.RequestCanceled) - { - //TODO: Handle cancellation... - } - catch (WebException webException) - { - webException.HandleWebException(_serializer); - } - finally - { - webClient?.Dispose(); - } - - return new ApiResponseMessage() - { - Headers = responseHeaders, - Content = response - }; - } - #endif - - private static ApiRequestMessage CreateRequestMessage(string address, string verb, RequestOptions requestOptions = null, ApiRequestMessageContent content = null) { var req = new ApiRequestMessage() @@ -353,10 +242,5 @@ private static bool IsGetOrDownload(string method) { return method is HttpVerbs.GET or HttpVerbs.DOWNLOAD; } - - private static string GetContentType(IRedmineSerializer serializer) - { - return serializer.Format == RedmineConstants.XML ? RedmineConstants.CONTENT_TYPE_APPLICATION_XML : RedmineConstants.CONTENT_TYPE_APPLICATION_JSON; - } } } From e27ed8ee0ac8ce1ea51b26adf80fffd6b721bb45 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:15:08 +0300 Subject: [PATCH 510/601] [RedmineManager] Small ctor refactor --- .../RedmineManager.Obsolete.cs | 6 +- src/redmine-net-api/RedmineManager.cs | 83 ++++++++++--------- 2 files changed, 47 insertions(+), 42 deletions(-) diff --git a/src/redmine-net-api/RedmineManager.Obsolete.cs b/src/redmine-net-api/RedmineManager.Obsolete.cs index 950ecafb..5927a39a 100644 --- a/src/redmine-net-api/RedmineManager.Obsolete.cs +++ b/src/redmine-net-api/RedmineManager.Obsolete.cs @@ -154,7 +154,7 @@ public RedmineManager(string host, string login, string password, MimeFormat mim /// /// [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public TimeSpan? Timeout { get; } + public TimeSpan? Timeout { get; private set; } /// /// Gets the host. @@ -190,7 +190,7 @@ public RedmineManager(string host, string login, string password, MimeFormat mim /// The proxy. /// [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public IWebProxy Proxy { get; } + public IWebProxy Proxy { get; private set; } /// /// Gets the type of the security protocol. @@ -199,7 +199,7 @@ public RedmineManager(string host, string login, string password, MimeFormat mim /// The type of the security protocol. /// [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public SecurityProtocolType SecurityProtocolType { get; } + public SecurityProtocolType SecurityProtocolType { get; private set; } /// diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 6e10e7b4..41b64118 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -50,29 +50,10 @@ public RedmineManager(RedmineManagerOptionsBuilder optionsBuilder) ArgumentNullThrowHelper.ThrowIfNull(optionsBuilder, nameof(optionsBuilder)); _redmineManagerOptions = optionsBuilder.Build(); - #if NET45_OR_GREATER - if (_redmineManagerOptions.VerifyServerCert) - { - _redmineManagerOptions.WebClientOptions.ServerCertificateValidationCallback = RemoteCertValidate; - } - #endif - - if (_redmineManagerOptions.WebClientOptions is RedmineWebClientOptions) - { - Proxy = _redmineManagerOptions.WebClientOptions.Proxy; - Timeout = _redmineManagerOptions.WebClientOptions.Timeout; - SecurityProtocolType = _redmineManagerOptions.WebClientOptions.SecurityProtocolType.GetValueOrDefault(); - #pragma warning disable SYSLIB0014 - _redmineManagerOptions.WebClientOptions.SecurityProtocolType ??= ServicePointManager.SecurityProtocol; - #pragma warning restore SYSLIB0014 - } - - if (_redmineManagerOptions.Authentication is RedmineApiKeyAuthentication) - { - ApiKey = _redmineManagerOptions.Authentication.Token; - } - + Serializer = _redmineManagerOptions.Serializer; + RedmineApiUrls = new RedmineApiUrls(_redmineManagerOptions.Serializer.Format); + Host = _redmineManagerOptions.BaseAddress.ToString(); PageSize = _redmineManagerOptions.PageSize; Scheme = _redmineManagerOptions.BaseAddress.Scheme; @@ -81,23 +62,50 @@ public RedmineManager(RedmineManagerOptionsBuilder optionsBuilder) ? MimeFormat.Xml : MimeFormat.Json; - RedmineApiUrls = new RedmineApiUrls(Serializer.Format); - #if NET45_OR_GREATER || NETCOREAPP - if (_redmineManagerOptions.WebClientOptions is RedmineWebClientOptions) + if (_redmineManagerOptions.Authentication is RedmineApiKeyAuthentication) { - ApiClient = _redmineManagerOptions.ClientFunc != null - ? new InternalRedmineApiWebClient(_redmineManagerOptions.ClientFunc, _redmineManagerOptions.Authentication, _redmineManagerOptions.Serializer) - : new InternalRedmineApiWebClient(_redmineManagerOptions); + ApiKey = _redmineManagerOptions.Authentication.Token; } - else + + ApiClient = +#if NET45_OR_GREATER || NETCOREAPP + _redmineManagerOptions.WebClientOptions switch { - + RedmineWebClientOptions => CreateWebClient(_redmineManagerOptions), + _ => CreateHttpClient(_redmineManagerOptions) + }; +#else + CreateWebClient(_redmineManagerOptions); +#endif + } + + private InternalRedmineApiWebClient CreateWebClient(RedmineManagerOptions options) + { + if (options.ClientFunc != null) + { + return new InternalRedmineApiWebClient(options.ClientFunc, options.Authentication, options.Serializer); } - #else - ApiClient = _redmineManagerOptions.ClientFunc != null - ? new InternalRedmineApiWebClient(_redmineManagerOptions.ClientFunc, _redmineManagerOptions.Authentication, _redmineManagerOptions.Serializer) - : new InternalRedmineApiWebClient(_redmineManagerOptions); - #endif + +#pragma warning disable SYSLIB0014 + options.WebClientOptions.SecurityProtocolType ??= ServicePointManager.SecurityProtocol; +#pragma warning restore SYSLIB0014 + + Proxy = options.WebClientOptions.Proxy; + Timeout = options.WebClientOptions.Timeout; + SecurityProtocolType = options.WebClientOptions.SecurityProtocolType.GetValueOrDefault(); + +#if NET45_OR_GREATER + if (options.VerifyServerCert) + { + options.WebClientOptions.ServerCertificateValidationCallback = RemoteCertValidate; + } +#endif + return new InternalRedmineApiWebClient(options); + } + + private IRedmineApiClient CreateHttpClient(RedmineManagerOptions options) + { + throw new NotImplementedException(); } /// @@ -108,10 +116,7 @@ public int Count(RequestOptions requestOptions = null) const int PAGE_SIZE = 1; const int OFFSET = 0; - if (requestOptions == null) - { - requestOptions = new RequestOptions(); - } + requestOptions ??= new RequestOptions(); requestOptions.QueryString = requestOptions.QueryString.AddPagingParameters(PAGE_SIZE, OFFSET); From 99eea491e82bb51fe462d9eaba5e667d1601cff9 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:16:39 +0300 Subject: [PATCH 511/601] [RequestOptions] Add Include static method --- src/redmine-net-api/Net/RequestOptions.cs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/redmine-net-api/Net/RequestOptions.cs b/src/redmine-net-api/Net/RequestOptions.cs index 1c31f7a6..42b9ff21 100644 --- a/src/redmine-net-api/Net/RequestOptions.cs +++ b/src/redmine-net-api/Net/RequestOptions.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System.Collections.Specialized; +using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Net; @@ -59,4 +60,26 @@ public RequestOptions Clone() UserAgent = UserAgent }; } + /// + /// + /// + /// + /// + public static RequestOptions Include(string include) + { + if (include.IsNullOrWhiteSpace()) + { + return null; + } + + var requestOptions = new RequestOptions + { + QueryString = new NameValueCollection + { + {RedmineKeys.INCLUDE, include} + } + }; + + return requestOptions; + } } \ No newline at end of file From 2ef93ad1262cfa879c91989ac2c836e1b87d1460 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:16:56 +0300 Subject: [PATCH 512/601] [RequestOptions] Headers --- src/redmine-net-api/Net/RequestOptions.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Net/RequestOptions.cs b/src/redmine-net-api/Net/RequestOptions.cs index 42b9ff21..8bffb391 100644 --- a/src/redmine-net-api/Net/RequestOptions.cs +++ b/src/redmine-net-api/Net/RequestOptions.cs @@ -14,6 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ +using System.Collections.Generic; using System.Collections.Specialized; using Redmine.Net.Api.Extensions; @@ -44,6 +45,11 @@ public sealed class RequestOptions /// /// public string UserAgent { get; set; } + + /// + /// + /// + public Dictionary Headers { get; set; } /// /// @@ -57,9 +63,11 @@ public RequestOptions Clone() ImpersonateUser = ImpersonateUser, ContentType = ContentType, Accept = Accept, - UserAgent = UserAgent + UserAgent = UserAgent, + Headers = new Dictionary(Headers), }; } + /// /// /// From 959d62391e2a0d6a9ff3051dac66a61935ef6609 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:17:33 +0300 Subject: [PATCH 513/601] [New] RandomHelper --- .../RandomHelper.cs | 89 +++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 tests/redmine-net-api.Integration.Tests/RandomHelper.cs diff --git a/tests/redmine-net-api.Integration.Tests/RandomHelper.cs b/tests/redmine-net-api.Integration.Tests/RandomHelper.cs new file mode 100644 index 00000000..7e78005c --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/RandomHelper.cs @@ -0,0 +1,89 @@ +using System.Text; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests; + +public static class ThreadSafeRandom +{ + /// + /// Generates a cryptographically strong, random string suffix. + /// This method is thread-safe as Guid.NewGuid() is thread-safe. + /// + /// A random string, 32 characters long, consisting of hexadecimal characters, without hyphens. + public static string GenerateSuffix() + { + return Guid.NewGuid().ToString("N"); + } + + private static readonly char[] EnglishAlphabetChars = + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".ToCharArray(); + + // ThreadLocal ensures that each thread has its own instance of Random, + // which is important because System.Random is not thread-safe for concurrent use. + // Seed with Guid for better randomness across instances + private static readonly ThreadLocal ThreadRandom = + new ThreadLocal(() => new Random(Guid.NewGuid().GetHashCode())); + + /// + /// Generates a random string of a specified length using only English alphabet characters. + /// This method is thread-safe. + /// + /// The desired length of the random string. Defaults to 10. + /// A random string composed of English alphabet characters. + private static string GenerateRandomAlphaNumericString(int length = 10) + { + if (length <= 0) + { + throw new ArgumentOutOfRangeException(nameof(length), "Length must be a positive integer."); + } + + var random = ThreadRandom.Value; + var result = new StringBuilder(length); + for (var i = 0; i < length; i++) + { + result.Append(EnglishAlphabetChars[random.Next(EnglishAlphabetChars.Length)]); + } + + return result.ToString(); + } + + /// + /// Generates a random alphabetic suffix, defaulting to 10 characters. + /// This method is thread-safe. + /// + /// The desired length of the suffix. Defaults to 10. + /// A random alphabetic string. + public static string GenerateText(int length = 10) + { + return GenerateRandomAlphaNumericString(length); + } + + /// + /// Generates a random name by combining a specified prefix and a random alphabetic suffix. + /// This method is thread-safe. + /// Example: if prefix is "MyItem", the result could be "MyItem_aBcDeFgHiJ". + /// + /// The prefix for the name. A '_' separator will be added. + /// The desired length of the random suffix. Defaults to 10. + /// A string combining the prefix, an underscore, and a random alphabetic suffix. + /// If the prefix is null or empty, it returns just the random suffix. + public static string GenerateText(string prefix = null, int suffixLength = 10) + { + var suffix = GenerateRandomAlphaNumericString(suffixLength); + return string.IsNullOrEmpty(prefix) ? suffix : $"{prefix}_{suffix}"; + } + + // Fisher-Yates shuffle algorithm + public static void Shuffle(this IList list) + { + var n = list.Count; + var random = ThreadRandom.Value; + while (n > 1) + { + n--; + var k = random.Next(n + 1); + var value = list[k]; + list[k] = list[n]; + list[n] = value; + } + } +} \ No newline at end of file From 94640f4e9417ad99fbbba3e5ef6eaf35adaf42df Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:21:35 +0300 Subject: [PATCH 514/601] [IntegrationTests] More tests --- .../RedmineIntegrationTestsAsync.cs | 2 +- .../Tests/Async/AttachmentTestsAsync.cs | 51 ++++++ .../Tests/Async/CustomFieldAsyncTests.cs | 18 ++ .../Tests/Async/EnumerationTestsAsync.cs | 38 ++++ .../Tests/Async/FileTestsAsync.cs | 85 +++++++++ .../Tests/Async/GroupTestsAsync.cs | 144 +++++++++++++++ .../Async/IssueAttachmentUploadTestsAsync.cs | 54 ++++++ .../Tests/Async/IssueCategoryTestsAsync.cs | 103 +++++++++++ .../Tests/Async/IssueJournalTestsAsync.cs | 49 +++++ .../Tests/Async/IssueRelationTestsAsync.cs | 91 ++++++++++ .../Tests/Async/IssueStatusAsyncTests.cs | 19 ++ .../Tests/Async/IssueTestsAsync.cs | 135 ++++++++++++++ .../Tests/Async/IssueWatcherTestsAsync.cs | 71 ++++++++ .../Tests/Async/JournalTestsAsync.cs | 49 +++++ .../Tests/Async/MembershipTestsAsync.cs | 131 ++++++++++++++ .../Tests/Async/NewsAsyncTests.cs | 55 ++++++ .../Async/ProjectInformationTestsAsync.cs | 19 ++ .../Tests/Async/ProjectTestsAsync.cs | 86 +++++++++ .../Tests/Async/QueryTestsAsync.cs | 18 ++ .../Tests/Async/RoleTestsAsync.cs | 18 ++ .../Tests/Async/SearchTestsAsync.cs | 27 +++ .../Tests/Async/TimeEntryActivityTests.cs | 19 ++ .../Tests/Async/TimeEntryTests.cs | 110 ++++++++++++ .../Tests/Async/TrackerTestsAsync.cs | 19 ++ .../Tests/Async/UploadTestsAsync.cs | 85 +++++++++ .../Tests/Async/UserTestsAsync.cs | 112 ++++++++++++ .../Tests/Async/VersionTestsAsync.cs | 109 +++++++++++ .../Tests/Async/WikiTestsAsync.cs | 170 ++++++++++++++++++ .../Fixtures/JsonSerializerFixture.cs | 1 + .../Fixtures/XmlSerializerFixture.cs | 1 + 30 files changed, 1888 insertions(+), 1 deletion(-) create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/AttachmentTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/CustomFieldAsyncTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/EnumerationTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/GroupTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/IssueAttachmentUploadTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/IssueCategoryTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/IssueJournalTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/IssueRelationTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/IssueStatusAsyncTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/IssueWatcherTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/JournalTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/NewsAsyncTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectInformationTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/QueryTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/RoleTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/SearchTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryActivityTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/TrackerTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/UploadTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/UserTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs diff --git a/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsAsync.cs index b90554ee..356fa51e 100644 --- a/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsAsync.cs @@ -76,7 +76,7 @@ public async Task Should_ReturnIssuesAsync() } [Fact] - public async Task GetIssue_WithVersions_ShouldReturnAsync() + public async Task Should_ReturnIssueWithVersionsAsync() { var issue = await _redmineManager.GetAsync(5.ToInvariantString(), new RequestOptions { diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/AttachmentTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/AttachmentTestsAsync.cs new file mode 100644 index 00000000..88ca740c --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/AttachmentTestsAsync.cs @@ -0,0 +1,51 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class AttachmentTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task UploadAndGetAttachment_Should_Succeed() + { + // Arrange + var fileContent = "Test attachment content"u8.ToArray(); + var filename = "test_attachment.txt"; + + // Upload the file + var upload = await fixture.RedmineManager.UploadFileAsync(fileContent, filename); + Assert.NotNull(upload); + Assert.NotEmpty(upload.Token); + + // Create an issue with the attachment + var issue = new Issue + { + Project = new IdentifiableName { Id = 1 }, + Tracker = new IdentifiableName { Id = 1 }, + Status = new IssueStatus { Id = 1 }, + Priority = new IdentifiableName { Id = 4 }, + Subject = $"Test issue with attachment {Guid.NewGuid()}", + Description = "Test issue description", + Uploads = [upload] + }; + + var createdIssue = await fixture.RedmineManager.CreateAsync(issue); + Assert.NotNull(createdIssue); + + // Get the issue with attachments + var retrievedIssue = await fixture.RedmineManager.GetAsync(createdIssue.Id.ToString(), RequestOptions.Include("attachments")); + + // Act + var attachment = retrievedIssue.Attachments.FirstOrDefault(); + Assert.NotNull(attachment); + + var downloadedAttachment = await fixture.RedmineManager.GetAsync(attachment.Id.ToString()); + + // Assert + Assert.NotNull(downloadedAttachment); + Assert.Equal(attachment.Id, downloadedAttachment.Id); + Assert.Equal(attachment.FileName, downloadedAttachment.FileName); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/CustomFieldAsyncTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/CustomFieldAsyncTests.cs new file mode 100644 index 00000000..47cf9a7e --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/CustomFieldAsyncTests.cs @@ -0,0 +1,18 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class CustomFieldTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task GetAllCustomFields_Should_Return_Null() + { + // Act + var customFields = await fixture.RedmineManager.GetAsync(); + + // Assert + Assert.Null(customFields); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/EnumerationTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/EnumerationTestsAsync.cs new file mode 100644 index 00000000..00448051 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/EnumerationTestsAsync.cs @@ -0,0 +1,38 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class EnumerationTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task GetDocumentCategories_Should_Succeed() + { + // Act + var categories = await fixture.RedmineManager.GetAsync(); + + // Assert + Assert.NotNull(categories); + } + + [Fact] + public async Task GetIssuePriorities_Should_Succeed() + { + // Act + var issuePriorities = await fixture.RedmineManager.GetAsync(); + + // Assert + Assert.NotNull(issuePriorities); + } + + [Fact] + public async Task GetTimeEntryActivities_Should_Succeed() + { + // Act + var activities = await fixture.RedmineManager.GetAsync(); + + // Assert + Assert.NotNull(activities); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs new file mode 100644 index 00000000..1ca94aa1 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs @@ -0,0 +1,85 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Extensions; +using File = Redmine.Net.Api.Types.File; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class FileTestsAsync(RedmineTestContainerFixture fixture) +{ + private const string PROJECT_ID = "1"; + + [Fact] + public async Task CreateFile_Should_Succeed() + { + var (_, token) = await UploadFileAsync(); + + var filePayload = new File + { + Token = token, + }; + + var createdFile = await fixture.RedmineManager.CreateAsync(filePayload, PROJECT_ID); + Assert.Null(createdFile); + + var files = await fixture.RedmineManager.GetProjectFilesAsync(PROJECT_ID); + + //Assert + Assert.NotNull(files); + Assert.NotEmpty(files.Items); + } + + [Fact] + public async Task CreateFile_Without_Token_Should_Fail() + { + await Assert.ThrowsAsync(() => fixture.RedmineManager.CreateAsync( + new File { Filename = "project_file.zip" }, PROJECT_ID)); + } + + [Fact] + public async Task CreateFile_With_OptionalParameters_Should_Succeed() + { + var (fileName, token) = await UploadFileAsync(); + + var filePayload = new File + { + Token = token, + Filename = fileName, + Description = ThreadSafeRandom.GenerateText(9), + ContentType = "text/plain", + }; + + var createdFile = await fixture.RedmineManager.CreateAsync(filePayload, PROJECT_ID); + Assert.NotNull(createdFile); + } + + [Fact] + public async Task CreateFile_With_Version_Should_Succeed() + { + var (fileName, token) = await UploadFileAsync(); + + var filePayload = new File + { + Token = token, + Filename = fileName, + Description = ThreadSafeRandom.GenerateText(9), + ContentType = "text/plain", + Version = 1.ToIdentifier(), + }; + + var createdFile = await fixture.RedmineManager.CreateAsync(filePayload, PROJECT_ID); + Assert.NotNull(createdFile); + } + + private async Task<(string,string)> UploadFileAsync() + { + var bytes = "Hello World!"u8.ToArray(); + var fileName = $"{ThreadSafeRandom.GenerateText(5)}.txt"; + var upload = await fixture.RedmineManager.UploadFileAsync(bytes, fileName); + + Assert.NotNull(upload); + Assert.NotNull(upload.Token); + + return (fileName, upload.Token); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/GroupTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/GroupTestsAsync.cs new file mode 100644 index 00000000..313a7b67 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/GroupTestsAsync.cs @@ -0,0 +1,144 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class GroupTestsAsync(RedmineTestContainerFixture fixture) +{ + private async Task CreateTestGroupAsync() + { + var group = new Group + { + Name = $"Test Group {Guid.NewGuid()}" + }; + + return await fixture.RedmineManager.CreateAsync(group); + } + + [Fact] + public async Task GetAllGroups_Should_Succeed() + { + // Act + var groups = await fixture.RedmineManager.GetAsync(); + + // Assert + Assert.NotNull(groups); + } + + [Fact] + public async Task CreateGroup_Should_Succeed() + { + // Arrange + var group = new Group + { + Name = $"Test Group {Guid.NewGuid()}" + }; + + // Act + var createdGroup = await fixture.RedmineManager.CreateAsync(group); + + // Assert + Assert.NotNull(createdGroup); + Assert.True(createdGroup.Id > 0); + Assert.Equal(group.Name, createdGroup.Name); + } + + [Fact] + public async Task GetGroup_Should_Succeed() + { + // Arrange + var createdGroup = await CreateTestGroupAsync(); + Assert.NotNull(createdGroup); + + // Act + var retrievedGroup = await fixture.RedmineManager.GetAsync(createdGroup.Id.ToInvariantString()); + + // Assert + Assert.NotNull(retrievedGroup); + Assert.Equal(createdGroup.Id, retrievedGroup.Id); + Assert.Equal(createdGroup.Name, retrievedGroup.Name); + } + + [Fact] + public async Task UpdateGroup_Should_Succeed() + { + // Arrange + var createdGroup = await CreateTestGroupAsync(); + Assert.NotNull(createdGroup); + + var updatedName = $"Updated Test Group {Guid.NewGuid()}"; + createdGroup.Name = updatedName; + + // Act + await fixture.RedmineManager.UpdateAsync(createdGroup.Id.ToInvariantString(), createdGroup); + var retrievedGroup = await fixture.RedmineManager.GetAsync(createdGroup.Id.ToInvariantString()); + + // Assert + Assert.NotNull(retrievedGroup); + Assert.Equal(createdGroup.Id, retrievedGroup.Id); + Assert.Equal(updatedName, retrievedGroup.Name); + } + + [Fact] + public async Task DeleteGroup_Should_Succeed() + { + // Arrange + var createdGroup = await CreateTestGroupAsync(); + Assert.NotNull(createdGroup); + + var groupId = createdGroup.Id.ToInvariantString(); + + // Act + await fixture.RedmineManager.DeleteAsync(groupId); + + // Assert + await Assert.ThrowsAsync(async () => + await fixture.RedmineManager.GetAsync(groupId)); + } + + [Fact] + public async Task AddUserToGroup_Should_Succeed() + { + // Arrange + var group = await CreateTestGroupAsync(); + Assert.NotNull(group); + + // Assuming there's at least one user in the system (typically Admin with ID 1) + var userId = 1; + + // Act + await fixture.RedmineManager.AddUserToGroupAsync(group.Id, userId); + var updatedGroup = await fixture.RedmineManager.GetAsync(group.Id.ToString(), RequestOptions.Include("users")); + + // Assert + Assert.NotNull(updatedGroup); + Assert.NotNull(updatedGroup.Users); + Assert.Contains(updatedGroup.Users, u => u.Id == userId); + } + + [Fact] + public async Task RemoveUserFromGroup_Should_Succeed() + { + // Arrange + var group = await CreateTestGroupAsync(); + Assert.NotNull(group); + + // Assuming there's at least one user in the system (typically Admin with ID 1) + var userId = 1; + + // First add the user to the group + await fixture.RedmineManager.AddUserToGroupAsync(group.Id, userId); + + // Act + await fixture.RedmineManager.RemoveUserFromGroupAsync(group.Id, userId); + var updatedGroup = await fixture.RedmineManager.GetAsync(group.Id.ToString(), RequestOptions.Include("users")); + + // Assert + Assert.NotNull(updatedGroup); + // Assert.DoesNotContain(updatedGroup.Users ?? new List(), u => u.Id == userId); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueAttachmentUploadTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueAttachmentUploadTestsAsync.cs new file mode 100644 index 00000000..679244d1 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueAttachmentUploadTestsAsync.cs @@ -0,0 +1,54 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueAttachmentTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task UploadAttachmentAndAttachToIssue_Should_Succeed() + { + // Arrange + var issue = new Issue + { + Project = new IdentifiableName { Id = 1 }, + Tracker = new IdentifiableName { Id = 1 }, + Status = new IssueStatus() { Id = 1 }, + Priority = new IdentifiableName { Id = 4 }, + Subject = $"Test issue for attachment {Guid.NewGuid()}", + Description = "Test issue description" + }; + + var createdIssue = await fixture.RedmineManager.CreateAsync(issue); + Assert.NotNull(createdIssue); + + // Upload a file + var fileContent = "Test attachment content"u8.ToArray(); + var filename = "test_attachment.txt"; + + var upload = await fixture.RedmineManager.UploadFileAsync(fileContent, filename); + Assert.NotNull(upload); + Assert.NotEmpty(upload.Token); + + // Prepare issue with attachment + var updateIssue = new Issue + { + Subject = $"Test issue for attachment {ThreadSafeRandom.GenerateText(5)}", + Uploads = [upload] + }; + + // Act + await fixture.RedmineManager.UpdateAsync(createdIssue.Id.ToString(), updateIssue); + + var retrievedIssue = + await fixture.RedmineManager.GetAsync(createdIssue.Id.ToString(), RequestOptions.Include("attachments")); + + // Assert + Assert.NotNull(retrievedIssue); + Assert.NotNull(retrievedIssue.Attachments); + Assert.NotEmpty(retrievedIssue.Attachments); + Assert.Contains(retrievedIssue.Attachments, a => a.FileName == filename); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueCategoryTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueCategoryTestsAsync.cs new file mode 100644 index 00000000..62b772cd --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueCategoryTestsAsync.cs @@ -0,0 +1,103 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueCategoryTestsAsync(RedmineTestContainerFixture fixture) +{ + private const string PROJECT_ID = "1"; + + private async Task CreateTestIssueCategoryAsync() + { + var category = new IssueCategory + { + Name = $"Test Category {Guid.NewGuid()}" + }; + + return await fixture.RedmineManager.CreateAsync(category, PROJECT_ID); + } + + [Fact] + public async Task GetProjectIssueCategories_Should_Succeed() + { + // Act + var categories = await fixture.RedmineManager.GetAsync(PROJECT_ID); + + // Assert + Assert.NotNull(categories); + } + + [Fact] + public async Task CreateIssueCategory_Should_Succeed() + { + // Arrange + var category = new IssueCategory + { + Name = $"Test Category {Guid.NewGuid()}" + }; + + // Act + var createdCategory = await fixture.RedmineManager.CreateAsync(category, PROJECT_ID); + + // Assert + Assert.NotNull(createdCategory); + Assert.True(createdCategory.Id > 0); + Assert.Equal(category.Name, createdCategory.Name); + } + + [Fact] + public async Task GetIssueCategory_Should_Succeed() + { + // Arrange + var createdCategory = await CreateTestIssueCategoryAsync(); + Assert.NotNull(createdCategory); + + // Act + var retrievedCategory = await fixture.RedmineManager.GetAsync(createdCategory.Id.ToInvariantString()); + + // Assert + Assert.NotNull(retrievedCategory); + Assert.Equal(createdCategory.Id, retrievedCategory.Id); + Assert.Equal(createdCategory.Name, retrievedCategory.Name); + } + + [Fact] + public async Task UpdateIssueCategory_Should_Succeed() + { + // Arrange + var createdCategory = await CreateTestIssueCategoryAsync(); + Assert.NotNull(createdCategory); + + var updatedName = $"Updated Test Category {Guid.NewGuid()}"; + createdCategory.Name = updatedName; + + // Act + await fixture.RedmineManager.UpdateAsync(createdCategory.Id.ToInvariantString(), createdCategory); + var retrievedCategory = await fixture.RedmineManager.GetAsync(createdCategory.Id.ToInvariantString()); + + // Assert + Assert.NotNull(retrievedCategory); + Assert.Equal(createdCategory.Id, retrievedCategory.Id); + Assert.Equal(updatedName, retrievedCategory.Name); + } + + [Fact] + public async Task DeleteIssueCategory_Should_Succeed() + { + // Arrange + var createdCategory = await CreateTestIssueCategoryAsync(); + Assert.NotNull(createdCategory); + + var categoryId = createdCategory.Id.ToInvariantString(); + + // Act + await fixture.RedmineManager.DeleteAsync(categoryId); + + // Assert + await Assert.ThrowsAsync(async () => + await fixture.RedmineManager.GetAsync(categoryId)); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueJournalTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueJournalTestsAsync.cs new file mode 100644 index 00000000..73dffec4 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueJournalTestsAsync.cs @@ -0,0 +1,49 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueJournalTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task GetIssueWithJournals_Should_Succeed() + { + // Arrange + // Create an issue + var issue = new Issue + { + Project = new IdentifiableName { Id = 1 }, + Tracker = new IdentifiableName { Id = 1 }, + Status = new IssueStatus { Id = 1 }, + Priority = new IdentifiableName { Id = 4 }, + Subject = $"Test issue for journals {Guid.NewGuid()}", + Description = "Test issue description" + }; + + var createdIssue = await fixture.RedmineManager.CreateAsync(issue); + Assert.NotNull(createdIssue); + + // Update the issue to create a journal entry + var updateIssue = new Issue + { + Notes = "This is a test note that should appear in journals", + Subject = $"Updated subject {Guid.NewGuid()}" + }; + + await fixture.RedmineManager.UpdateAsync(createdIssue.Id.ToString(), updateIssue); + + // Act + // Get the issue with journals + var retrievedIssue = + await fixture.RedmineManager.GetAsync(createdIssue.Id.ToString(), + RequestOptions.Include("journals")); + + // Assert + Assert.NotNull(retrievedIssue); + Assert.NotNull(retrievedIssue.Journals); + Assert.NotEmpty(retrievedIssue.Journals); + Assert.Contains(retrievedIssue.Journals, j => j.Notes?.Contains("test note") == true); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueRelationTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueRelationTestsAsync.cs new file mode 100644 index 00000000..1cf208cc --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueRelationTestsAsync.cs @@ -0,0 +1,91 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueRelationTestsAsync(RedmineTestContainerFixture fixture) +{ + private async Task<(Issue firstIssue, Issue secondIssue)> CreateTestIssuesAsync() + { + var issue1 = new Issue + { + Project = new IdentifiableName { Id = 1 }, + Tracker = new IdentifiableName { Id = 1 }, + Status = new IssueStatus { Id = 1 }, + Priority = new IdentifiableName { Id = 4 }, + Subject = $"Test issue 1 subject {Guid.NewGuid()}", + Description = "Test issue 1 description" + }; + + var issue2 = new Issue + { + Project = new IdentifiableName { Id = 1 }, + Tracker = new IdentifiableName { Id = 1 }, + Status = new IssueStatus { Id = 1 }, + Priority = new IdentifiableName { Id = 4 }, + Subject = $"Test issue 2 subject {Guid.NewGuid()}", + Description = "Test issue 2 description" + }; + + var createdIssue1 = await fixture.RedmineManager.CreateAsync(issue1); + var createdIssue2 = await fixture.RedmineManager.CreateAsync(issue2); + + return (createdIssue1, createdIssue2); + } + + private async Task CreateTestIssueRelationAsync() + { + var (issue1, issue2) = await CreateTestIssuesAsync(); + + var relation = new IssueRelation + { + IssueId = issue1.Id, + IssueToId = issue2.Id, + Type = IssueRelationType.Relates + }; + + return await fixture.RedmineManager.CreateAsync( relation, issue1.Id.ToString()); + } + + [Fact] + public async Task CreateIssueRelation_Should_Succeed() + { + // Arrange + var (issue1, issue2) = await CreateTestIssuesAsync(); + + var relation = new IssueRelation + { + IssueId = issue1.Id, + IssueToId = issue2.Id, + Type = IssueRelationType.Relates + }; + + // Act + var createdRelation = await fixture.RedmineManager.CreateAsync(relation, issue1.Id.ToString()); + + // Assert + Assert.NotNull(createdRelation); + Assert.True(createdRelation.Id > 0); + Assert.Equal(relation.IssueId, createdRelation.IssueId); + Assert.Equal(relation.IssueToId, createdRelation.IssueToId); + Assert.Equal(relation.Type, createdRelation.Type); + } + + [Fact] + public async Task DeleteIssueRelation_Should_Succeed() + { + // Arrange + var relation = await CreateTestIssueRelationAsync(); + Assert.NotNull(relation); + + // Act & Assert + await fixture.RedmineManager.DeleteAsync(relation.Id.ToString()); + + // Verify the relation no longer exists by checking the issue doesn't have it + var issue = await fixture.RedmineManager.GetAsync(relation.IssueId.ToString(), RequestOptions.Include("relations")); + + Assert.Null(issue.Relations?.FirstOrDefault(r => r.Id == relation.Id)); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueStatusAsyncTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueStatusAsyncTests.cs new file mode 100644 index 00000000..75d1bdbf --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueStatusAsyncTests.cs @@ -0,0 +1,19 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueStatusTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task GetAllIssueStatuses_Should_Succeed() + { + // Act + var statuses = await fixture.RedmineManager.GetAsync(); + + // Assert + Assert.NotNull(statuses); + Assert.NotEmpty(statuses); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs new file mode 100644 index 00000000..390efb17 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs @@ -0,0 +1,135 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueTestsAsync(RedmineTestContainerFixture fixture) +{ + private static readonly IdentifiableName ProjectIdName = IdentifiableName.Create(1); + + private async Task CreateTestIssueAsync() + { + var issue = new Issue + { + Project = ProjectIdName, + Subject = ThreadSafeRandom.GenerateText(9), + Description = ThreadSafeRandom.GenerateText(18), + Tracker = 1.ToIdentifier(), + Status = 1.ToIssueStatusIdentifier(), + Priority = 2.ToIdentifier(), + CustomFields = + [ + IssueCustomField.CreateMultiple(1, ThreadSafeRandom.GenerateText(8), [ThreadSafeRandom.GenerateText(4), ThreadSafeRandom.GenerateText(4)]) + ] + }; + return await fixture.RedmineManager.CreateAsync(issue); + } + + [Fact] + public async Task CreateIssue_Should_Succeed() + { + //Arrange + var issueData = new Issue + { + Project = ProjectIdName, + Subject = ThreadSafeRandom.GenerateText(9), + Description = ThreadSafeRandom.GenerateText(18), + Tracker = 2.ToIdentifier(), + Status = 1.ToIssueStatusIdentifier(), + Priority = 3.ToIdentifier(), + StartDate = DateTime.Now.Date, + DueDate = DateTime.Now.Date.AddDays(7), + EstimatedHours = 8, + CustomFields = + [ + IssueCustomField.CreateSingle(1, ThreadSafeRandom.GenerateText(8), ThreadSafeRandom.GenerateText(4)) + ] + }; + + //Act + var cr = await fixture.RedmineManager.CreateAsync(issueData); + var createdIssue = await fixture.RedmineManager.GetAsync(cr.Id.ToString()); + + //Assert + Assert.NotNull(createdIssue); + Assert.True(createdIssue.Id > 0); + Assert.Equal(issueData.Subject, createdIssue.Subject); + Assert.Equal(issueData.Description, createdIssue.Description); + Assert.Equal(issueData.Project.Id, createdIssue.Project.Id); + Assert.Equal(issueData.Tracker.Id, createdIssue.Tracker.Id); + Assert.Equal(issueData.Status.Id, createdIssue.Status.Id); + Assert.Equal(issueData.Priority.Id, createdIssue.Priority.Id); + Assert.Equal(issueData.StartDate, createdIssue.StartDate); + Assert.Equal(issueData.DueDate, createdIssue.DueDate); + // Assert.Equal(issueData.EstimatedHours, createdIssue.EstimatedHours); + } + + [Fact] + public async Task GetIssue_Should_Succeed() + { + //Arrange + var createdIssue = await CreateTestIssueAsync(); + Assert.NotNull(createdIssue); + + var issueId = createdIssue.Id.ToInvariantString(); + + //Act + var retrievedIssue = await fixture.RedmineManager.GetAsync(issueId); + + //Assert + Assert.NotNull(retrievedIssue); + Assert.Equal(createdIssue.Id, retrievedIssue.Id); + Assert.Equal(createdIssue.Subject, retrievedIssue.Subject); + Assert.Equal(createdIssue.Description, retrievedIssue.Description); + Assert.Equal(createdIssue.Project.Id, retrievedIssue.Project.Id); + } + + [Fact] + public async Task UpdateIssue_Should_Succeed() + { + //Arrange + var createdIssue = await CreateTestIssueAsync(); + Assert.NotNull(createdIssue); + + var updatedSubject = ThreadSafeRandom.GenerateText(9); + var updatedDescription = ThreadSafeRandom.GenerateText(18); + var updatedStatusId = 2; + + createdIssue.Subject = updatedSubject; + createdIssue.Description = updatedDescription; + createdIssue.Status = updatedStatusId.ToIssueStatusIdentifier(); + createdIssue.Notes = ThreadSafeRandom.GenerateText("Note"); + + var issueId = createdIssue.Id.ToInvariantString(); + + //Act + await fixture.RedmineManager.UpdateAsync(issueId, createdIssue); + var retrievedIssue = await fixture.RedmineManager.GetAsync(issueId); + + //Assert + Assert.NotNull(retrievedIssue); + Assert.Equal(createdIssue.Id, retrievedIssue.Id); + Assert.Equal(updatedSubject, retrievedIssue.Subject); + Assert.Equal(updatedDescription, retrievedIssue.Description); + Assert.Equal(updatedStatusId, retrievedIssue.Status.Id); + } + + [Fact] + public async Task DeleteIssue_Should_Succeed() + { + //Arrange + var createdIssue = await CreateTestIssueAsync(); + Assert.NotNull(createdIssue); + + var issueId = createdIssue.Id.ToInvariantString(); + + //Act + await fixture.RedmineManager.DeleteAsync(issueId); + + //Assert + await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(issueId)); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueWatcherTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueWatcherTestsAsync.cs new file mode 100644 index 00000000..6da2a071 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueWatcherTestsAsync.cs @@ -0,0 +1,71 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueWatcherTestsAsync(RedmineTestContainerFixture fixture) +{ + private async Task CreateTestIssueAsync() + { + var issue = new Issue + { + Project = new IdentifiableName { Id = 1 }, + Tracker = new IdentifiableName { Id = 1 }, + Status = new IssueStatus { Id = 1 }, + Priority = new IdentifiableName { Id = 4 }, + Subject = $"Test issue subject {Guid.NewGuid()}", + Description = "Test issue description" + }; + + return await fixture.RedmineManager.CreateAsync(issue); + } + + [Fact] + public async Task AddWatcher_Should_Succeed() + { + // Arrange + var issue = await CreateTestIssueAsync(); + Assert.NotNull(issue); + + // Assuming there's at least one user in the system (typically Admin with ID 1) + var userId = 1; + + // Act + await fixture.RedmineManager.AddWatcherToIssueAsync(issue.Id, userId); + + // Get updated issue with watchers + var updatedIssue = await fixture.RedmineManager.GetAsync(issue.Id.ToString(), RequestOptions.Include("watchers")); + + // Assert + Assert.NotNull(updatedIssue); + Assert.NotNull(updatedIssue.Watchers); + Assert.Contains(updatedIssue.Watchers, w => w.Id == userId); + } + + [Fact] + public async Task RemoveWatcher_Should_Succeed() + { + // Arrange + var issue = await CreateTestIssueAsync(); + Assert.NotNull(issue); + + // Assuming there's at least one user in the system (typically Admin with ID 1) + var userId = 1; + + // Add watcher first + await fixture.RedmineManager.AddWatcherToIssueAsync(issue.Id, userId); + + // Act + await fixture.RedmineManager.RemoveWatcherFromIssueAsync(issue.Id, userId); + + // Get updated issue with watchers + var updatedIssue = await fixture.RedmineManager.GetAsync(issue.Id.ToString(), RequestOptions.Include("watchers")); + + // Assert + Assert.NotNull(updatedIssue); + Assert.DoesNotContain(updatedIssue.Watchers ?? [], w => w.Id == userId); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/JournalTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/JournalTestsAsync.cs new file mode 100644 index 00000000..413b1bc0 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/JournalTestsAsync.cs @@ -0,0 +1,49 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class JournalTestsAsync(RedmineTestContainerFixture fixture) +{ + private async Task CreateTestIssueAsync() + { + var issue = new Issue + { + Project = IdentifiableName.Create(1), + Subject = ThreadSafeRandom.GenerateText(13), + Description = ThreadSafeRandom.GenerateText(19), + Tracker = 1.ToIdentifier(), + Status = 1.ToIssueStatusIdentifier(), + Priority = 2.ToIdentifier(), + }; + return await fixture.RedmineManager.CreateAsync(issue); + } + + [Fact] + public async Task Get_Issue_With_Journals_Should_Succeed() + { + //Arrange + var testIssue = await CreateTestIssueAsync(); + Assert.NotNull(testIssue); + + var issueIdToTest = testIssue.Id.ToInvariantString(); + + testIssue.Notes = "This is a test note to create a journal entry."; + await fixture.RedmineManager.UpdateAsync(issueIdToTest, testIssue); + + //Act + var issueWithJournals = await fixture.RedmineManager.GetAsync( + issueIdToTest, + RequestOptions.Include(RedmineKeys.JOURNALS)); + + //Assert + Assert.NotNull(issueWithJournals); + Assert.NotNull(issueWithJournals.Journals); + Assert.True(issueWithJournals.Journals.Count > 0, "Issue should have journal entries."); + Assert.Contains(issueWithJournals.Journals, j => j.Notes == testIssue.Notes); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs new file mode 100644 index 00000000..f3e7f6a2 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs @@ -0,0 +1,131 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class MembershipTestsAsync(RedmineTestContainerFixture fixture) +{ + private const string PROJECT_ID = "1"; + + private async Task CreateTestMembershipAsync() + { + var roles = await fixture.RedmineManager.GetAsync(); + Assert.NotEmpty(roles); + + var user = new User + { + Login = ThreadSafeRandom.GenerateText(10), + FirstName = ThreadSafeRandom.GenerateText(8), + LastName = ThreadSafeRandom.GenerateText(9), + Email = $"{ThreadSafeRandom.GenerateText(5)}@example.com", + Password = "password123", + MustChangePassword = false, + Status = UserStatus.StatusActive + }; + + var createdUser = await fixture.RedmineManager.CreateAsync(user); + Assert.NotNull(createdUser); + + var membership = new ProjectMembership + { + User = new IdentifiableName { Id = createdUser.Id }, + Roles = [new MembershipRole { Id = roles[0].Id }] + }; + + return await fixture.RedmineManager.CreateAsync(membership, PROJECT_ID); + } + + [Fact] + public async Task GetProjectMemberships_Should_Succeed() + { + // Act + var memberships = await fixture.RedmineManager.GetProjectMembershipsAsync(PROJECT_ID); + + // Assert + Assert.NotNull(memberships); + } + + [Fact] + public async Task CreateMembership_Should_Succeed() + { + // Arrange + var roles = await fixture.RedmineManager.GetAsync(); + Assert.NotEmpty(roles); + + var user = new User + { + Login = ThreadSafeRandom.GenerateText(10), + FirstName = ThreadSafeRandom.GenerateText(8), + LastName = ThreadSafeRandom.GenerateText(9), + Email = $"{ThreadSafeRandom.GenerateText(5)}@example.com", + Password = "password123", + MustChangePassword = false, + Status = UserStatus.StatusActive + }; + + var createdUser = await fixture.RedmineManager.CreateAsync(user); + Assert.NotNull(createdUser); + + var membership = new ProjectMembership + { + User = new IdentifiableName { Id = createdUser.Id }, + Roles = [new MembershipRole { Id = roles[0].Id }] + }; + + // Act + var createdMembership = await fixture.RedmineManager.CreateAsync(membership, PROJECT_ID); + + // Assert + Assert.NotNull(createdMembership); + Assert.True(createdMembership.Id > 0); + Assert.Equal(membership.User.Id, createdMembership.User.Id); + Assert.NotEmpty(createdMembership.Roles); + } + + [Fact] + public async Task UpdateMembership_Should_Succeed() + { + // Arrange + var membership = await CreateTestMembershipAsync(); + Assert.NotNull(membership); + + var roles = await fixture.RedmineManager.GetAsync(); + Assert.NotEmpty(roles); + + // Change roles + var newRoleId = roles.FirstOrDefault(r => membership.Roles.All(mr => mr.Id != r.Id))?.Id ?? roles.First().Id; + membership.Roles = [new MembershipRole { Id = newRoleId }]; + + // Act + await fixture.RedmineManager.UpdateAsync(membership.Id.ToString(), membership); + + // Get the updated membership from project memberships + var updatedMemberships = await fixture.RedmineManager.GetProjectMembershipsAsync(PROJECT_ID); + var updatedMembership = updatedMemberships.Items.FirstOrDefault(m => m.Id == membership.Id); + + // Assert + Assert.NotNull(updatedMembership); + Assert.Contains(updatedMembership.Roles, r => r.Id == newRoleId); + } + + [Fact] + public async Task DeleteMembership_Should_Succeed() + { + // Arrange + var membership = await CreateTestMembershipAsync(); + Assert.NotNull(membership); + + var membershipId = membership.Id.ToString(); + + // Act + await fixture.RedmineManager.DeleteAsync(membershipId); + + // Get project memberships + var updatedMemberships = await fixture.RedmineManager.GetProjectMembershipsAsync(PROJECT_ID); + + // Assert + Assert.DoesNotContain(updatedMemberships.Items, m => m.Id == membership.Id); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/NewsAsyncTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/NewsAsyncTests.cs new file mode 100644 index 00000000..6cfd86bf --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/NewsAsyncTests.cs @@ -0,0 +1,55 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class NewsTestsAsync(RedmineTestContainerFixture fixture) +{ + private const string PROJECT_ID = "1"; + + [Fact] + public async Task GetAllNews_Should_Succeed() + { + // Arrange + _ = await fixture.RedmineManager.AddProjectNewsAsync(PROJECT_ID, new News() + { + Title = ThreadSafeRandom.GenerateText(5), + Summary = ThreadSafeRandom.GenerateText(10), + Description = ThreadSafeRandom.GenerateText(20), + }); + + _ = await fixture.RedmineManager.AddProjectNewsAsync("2", new News() + { + Title = ThreadSafeRandom.GenerateText(5), + Summary = ThreadSafeRandom.GenerateText(10), + Description = ThreadSafeRandom.GenerateText(20), + }); + + + // Act + var news = await fixture.RedmineManager.GetAsync(); + + // Assert + Assert.NotNull(news); + } + + [Fact] + public async Task GetProjectNews_Should_Succeed() + { + // Arrange + var newsCreated = await fixture.RedmineManager.AddProjectNewsAsync(PROJECT_ID, new News() + { + Title = ThreadSafeRandom.GenerateText(5), + Summary = ThreadSafeRandom.GenerateText(10), + Description = ThreadSafeRandom.GenerateText(20), + }); + + // Act + var news = await fixture.RedmineManager.GetProjectNewsAsync(PROJECT_ID); + + // Assert + Assert.NotNull(news); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectInformationTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectInformationTestsAsync.cs new file mode 100644 index 00000000..7997d845 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectInformationTestsAsync.cs @@ -0,0 +1,19 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Extensions; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class ProjectInformationTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task GetCurrentUserInfo_Should_Succeed() + { + // Act + var currentUser = await fixture.RedmineManager.GetCurrentUserAsync(); + + // Assert + Assert.NotNull(currentUser); + Assert.True(currentUser.Id > 0); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectTestsAsync.cs new file mode 100644 index 00000000..9c45065a --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectTestsAsync.cs @@ -0,0 +1,86 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class ProjectTestsAsync(RedmineTestContainerFixture fixture) +{ + private async Task CreateEntityAsync(string subjectSuffix = null) + { + var entity = new Project + { + Identifier = Guid.NewGuid().ToString("N"), + Name = "test-random", + }; + + return await fixture.RedmineManager.CreateAsync(entity); + } + + [Fact] + public async Task CreateProject_Should_Succeed() + { + var data = new Project + { + IsPublic = true, + EnabledModules = [ + new ProjectEnabledModule("files"), + new ProjectEnabledModule("wiki") + ], + Identifier = Guid.NewGuid().ToString("N"), + InheritMembers = true, + Name = "test-random", + HomePage = "test-homepage", + Trackers = + [ + new ProjectTracker(1), + new ProjectTracker(2), + new ProjectTracker(3), + ], + Description = $"Description for create test", + CustomFields = + [ + new IssueCustomField + { + Id = 1, + Values = [ + new CustomFieldValue + { + Info = "Custom field test value" + } + ] + } + ] + }; + + //Act + var createdProject = await fixture.RedmineManager.CreateAsync(data); + Assert.NotNull(createdProject); + } + + [Fact] + public async Task DeleteIssue_Should_Succeed() + { + //Arrange + var createdEntity = await CreateEntityAsync("DeleteTest"); + Assert.NotNull(createdEntity); + + var id = createdEntity.Id.ToInvariantString(); + + //Act + await fixture.RedmineManager.DeleteAsync(id); + + await Task.Delay(200); + + //Assert + await Assert.ThrowsAsync(TestCode); + return; + + async Task TestCode() + { + await fixture.RedmineManager.GetAsync(id); + } + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/QueryTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/QueryTestsAsync.cs new file mode 100644 index 00000000..0ee98155 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/QueryTestsAsync.cs @@ -0,0 +1,18 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class QueryTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task GetAllQueries_Should_Succeed() + { + // Act + var queries = await fixture.RedmineManager.GetAsync(); + + // Assert + Assert.NotNull(queries); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/RoleTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/RoleTestsAsync.cs new file mode 100644 index 00000000..cc163d64 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/RoleTestsAsync.cs @@ -0,0 +1,18 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class RoleTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task Get_All_Roles_Should_Succeed() + { + //Act + var roles = await fixture.RedmineManager.GetAsync(); + + //Assert + Assert.NotNull(roles); + Assert.NotEmpty(roles); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/SearchTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/SearchTestsAsync.cs new file mode 100644 index 00000000..e07b128a --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/SearchTestsAsync.cs @@ -0,0 +1,27 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api; +using Redmine.Net.Api.Extensions; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class SearchTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task Search_Should_Succeed() + { + // Arrange + var searchBuilder = new SearchFilterBuilder + { + IncludeIssues = true, + IncludeWikiPages = true + }; + + // Act + var results = await fixture.RedmineManager.SearchAsync("query_string",100, searchFilter:searchBuilder); + + // Assert + Assert.NotNull(results); + Assert.Empty(results.Items); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryActivityTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryActivityTests.cs new file mode 100644 index 00000000..79260dcb --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryActivityTests.cs @@ -0,0 +1,19 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class TimeEntryActivityTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task GetAllTimeEntryActivities_Should_Succeed() + { + // Act + var activities = await fixture.RedmineManager.GetAsync(); + + // Assert + Assert.NotNull(activities); + Assert.NotEmpty(activities); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs new file mode 100644 index 00000000..31b603e5 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs @@ -0,0 +1,110 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class TimeEntryTestsAsync(RedmineTestContainerFixture fixture) +{ + private async Task CreateTestTimeEntryAsync() + { + var project = await fixture.RedmineManager.GetAsync(1.ToInvariantString()); + var issue = await fixture.RedmineManager.GetAsync(1.ToInvariantString()); + + var timeEntry = new TimeEntry + { + Project = project, + Issue = issue.ToIdentifiableName(), + SpentOn = DateTime.Now.Date, + Hours = 1.5m, + Activity = 8.ToIdentifier(), + Comments = $"Test time entry comments {Guid.NewGuid()}", + }; + return await fixture.RedmineManager.CreateAsync(timeEntry); + } + + [Fact] + public async Task CreateTimeEntry_Should_Succeed() + { + //Arrange + var timeEntryData = new TimeEntry + { + Project = 1.ToIdentifier(), + Issue = 1.ToIdentifier(), + SpentOn = DateTime.Now.Date, + Hours = 1.5m, + Activity = 8.ToIdentifier(), + Comments = $"Initial create test comments {Guid.NewGuid()}", + }; + + //Act + var createdTimeEntry = await fixture.RedmineManager.CreateAsync(timeEntryData); + + //Assert + Assert.NotNull(createdTimeEntry); + Assert.True(createdTimeEntry.Id > 0); + Assert.Equal(timeEntryData.Hours, createdTimeEntry.Hours); + Assert.Equal(timeEntryData.Comments, createdTimeEntry.Comments); + Assert.Equal(timeEntryData.Project.Id, createdTimeEntry.Project.Id); + Assert.Equal(timeEntryData.Issue.Id, createdTimeEntry.Issue.Id); + Assert.Equal(timeEntryData.Activity.Id, createdTimeEntry.Activity.Id); + } + + [Fact] + public async Task GetTimeEntry_Should_Succeed() + { + //Arrange + var createdTimeEntry = await CreateTestTimeEntryAsync(); + Assert.NotNull(createdTimeEntry); + + //Act + var retrievedTimeEntry = await fixture.RedmineManager.GetAsync(createdTimeEntry.Id.ToInvariantString()); + + //Assert + Assert.NotNull(retrievedTimeEntry); + Assert.Equal(createdTimeEntry.Id, retrievedTimeEntry.Id); + Assert.Equal(createdTimeEntry.Hours, retrievedTimeEntry.Hours); + Assert.Equal(createdTimeEntry.Comments, retrievedTimeEntry.Comments); + } + + [Fact] + public async Task UpdateTimeEntry_Should_Succeed() + { + //Arrange + var createdTimeEntry = await CreateTestTimeEntryAsync(); + Assert.NotNull(createdTimeEntry); + + var updatedComments = $"Updated test time entry comments {Guid.NewGuid()}"; + var updatedHours = 2.5m; + createdTimeEntry.Comments = updatedComments; + createdTimeEntry.Hours = updatedHours; + + //Act + await fixture.RedmineManager.UpdateAsync(createdTimeEntry.Id.ToInvariantString(), createdTimeEntry); + var retrievedTimeEntry = await fixture.RedmineManager.GetAsync(createdTimeEntry.Id.ToInvariantString()); + + //Assert + Assert.NotNull(retrievedTimeEntry); + Assert.Equal(createdTimeEntry.Id, retrievedTimeEntry.Id); + Assert.Equal(updatedComments, retrievedTimeEntry.Comments); + Assert.Equal(updatedHours, retrievedTimeEntry.Hours); + } + + [Fact] + public async Task DeleteTimeEntry_Should_Succeed() + { + //Arrange + var createdTimeEntry = await CreateTestTimeEntryAsync(); + Assert.NotNull(createdTimeEntry); + + var timeEntryId = createdTimeEntry.Id.ToInvariantString(); + + //Act + await fixture.RedmineManager.DeleteAsync(timeEntryId); + + //Assert + await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(timeEntryId)); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/TrackerTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/TrackerTestsAsync.cs new file mode 100644 index 00000000..0b549009 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/TrackerTestsAsync.cs @@ -0,0 +1,19 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class TrackerTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task Get_All_Trackers_Should_Succeed() + { + //Act + var trackers = await fixture.RedmineManager.GetAsync(); + + //Assert + Assert.NotNull(trackers); + Assert.NotEmpty(trackers); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/UploadTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/UploadTestsAsync.cs new file mode 100644 index 00000000..1b925d57 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/UploadTestsAsync.cs @@ -0,0 +1,85 @@ +using System.Text; +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class UploadTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task Upload_Attachment_To_Issue_Should_Succeed() + { + var bytes = "Hello World!"u8.ToArray(); + var uploadFile = await fixture.RedmineManager.UploadFileAsync(bytes, "hello-world.txt"); + + Assert.NotNull(uploadFile); + Assert.NotNull(uploadFile.Token); + + var issue = await fixture.RedmineManager.CreateAsync(new Issue() + { + Project = 1.ToIdentifier(), + Subject = "Creating an issue with a uploaded file", + Tracker = 1.ToIdentifier(), + Status = 1.ToIssueStatusIdentifier(), + Uploads = [ + new Upload() + { + Token = uploadFile.Token, + ContentType = "text/plain", + Description = "An optional description here", + FileName = "hello-world.txt" + } + ] + }); + + Assert.NotNull(issue); + + var files = await fixture.RedmineManager.GetAsync(issue.Id.ToInvariantString(), RequestOptions.Include(RedmineKeys.ATTACHMENTS)); + + Assert.NotNull(files); + Assert.Single(files.Attachments); + } + + [Fact] + public async Task Upload_Attachment_To_Wiki_Should_Succeed() + { + var bytes = Encoding.UTF8.GetBytes(ThreadSafeRandom.GenerateText("Hello Wiki!",10)); + var fileName = $"{ThreadSafeRandom.GenerateText("wiki-",5)}.txt"; + var uploadFile = await fixture.RedmineManager.UploadFileAsync(bytes, fileName); + + Assert.NotNull(uploadFile); + Assert.NotNull(uploadFile.Token); + + var wikiPageName = ThreadSafeRandom.GenerateText(7); + + var wikiPageInfo = new WikiPage() + { + Version = 0, + Comments = ThreadSafeRandom.GenerateText(15), + Text = ThreadSafeRandom.GenerateText(10), + Uploads = + [ + new Upload() + { + Token = uploadFile.Token, + ContentType = "text/plain", + Description = ThreadSafeRandom.GenerateText(15), + FileName = fileName, + } + ] + }; + + var wiki = await fixture.RedmineManager.CreateWikiPageAsync(1.ToInvariantString(), wikiPageName, wikiPageInfo); + + Assert.NotNull(wiki); + + var files = await fixture.RedmineManager.GetWikiPageAsync(1.ToInvariantString(), wikiPageName, RequestOptions.Include(RedmineKeys.ATTACHMENTS)); + + Assert.NotNull(files); + Assert.Single(files.Attachments); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/UserTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/UserTestsAsync.cs new file mode 100644 index 00000000..b5bbd987 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/UserTestsAsync.cs @@ -0,0 +1,112 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class UserTestsAsync(RedmineTestContainerFixture fixture) +{ + private async Task CreateTestUserAsync() + { + var user = new User + { + Login = ThreadSafeRandom.GenerateText(12), + FirstName = ThreadSafeRandom.GenerateText(8), + LastName = ThreadSafeRandom.GenerateText(10), + Email = $"{ThreadSafeRandom.GenerateText(5)}.{ThreadSafeRandom.GenerateText(4)}@gmail.com", + Password = "password123", + AuthenticationModeId = null, + MustChangePassword = false, + Status = UserStatus.StatusActive + }; + return await fixture.RedmineManager.CreateAsync(user); + } + + [Fact] + public async Task CreateUser_Should_Succeed() + { + //Arrange + var userData = new User + { + Login = ThreadSafeRandom.GenerateText(5), + FirstName = ThreadSafeRandom.GenerateText(5), + LastName = ThreadSafeRandom.GenerateText(5), + Password = "password123", + MailNotification = "only_my_events", + AuthenticationModeId = null, + MustChangePassword = false, + Status = UserStatus.StatusActive, + }; + + userData.Email = $"{userData.FirstName}.{userData.LastName}@gmail.com"; + + //Act + var createdUser = await fixture.RedmineManager.CreateAsync(userData); + + //Assert + Assert.NotNull(createdUser); + Assert.True(createdUser.Id > 0); + Assert.Equal(userData.Login, createdUser.Login); + Assert.Equal(userData.FirstName, createdUser.FirstName); + Assert.Equal(userData.LastName, createdUser.LastName); + Assert.Equal(userData.Email, createdUser.Email); + } + + [Fact] + public async Task GetUser_Should_Succeed() + { + + //Arrange + var createdUser = await CreateTestUserAsync(); + Assert.NotNull(createdUser); + + //Act + var retrievedUser = + await fixture.RedmineManager.GetAsync(createdUser.Id.ToInvariantString()); + + //Assert + Assert.NotNull(retrievedUser); + Assert.Equal(createdUser.Id, retrievedUser.Id); + Assert.Equal(createdUser.Login, retrievedUser.Login); + Assert.Equal(createdUser.FirstName, retrievedUser.FirstName); + } + + [Fact] + public async Task UpdateUser_Should_Succeed() + { + + //Arrange + var createdUser = await CreateTestUserAsync(); + Assert.NotNull(createdUser); + + var updatedFirstName = ThreadSafeRandom.GenerateText(10); + createdUser.FirstName = updatedFirstName; + + //Act + await fixture.RedmineManager.UpdateAsync(createdUser.Id.ToInvariantString(), createdUser); + var retrievedUser = + await fixture.RedmineManager.GetAsync(createdUser.Id.ToInvariantString()); + + //Assert + Assert.NotNull(retrievedUser); + Assert.Equal(createdUser.Id, retrievedUser.Id); + Assert.Equal(updatedFirstName, retrievedUser.FirstName); + } + + [Fact] + public async Task DeleteUser_Should_Succeed() + { + //Arrange + var createdUser = await CreateTestUserAsync(); + Assert.NotNull(createdUser); + var userId = createdUser.Id.ToInvariantString(); + + //Act + await fixture.RedmineManager.DeleteAsync(userId); + + //Assert + await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(userId)); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs new file mode 100644 index 00000000..71cd8e4c --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs @@ -0,0 +1,109 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; +using Version = Redmine.Net.Api.Types.Version; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class VersionTestsAsync(RedmineTestContainerFixture fixture) +{ + private const string PROJECT_ID = "1"; + + private async Task CreateTestVersionAsync() + { + var version = new Version + { + Name = ThreadSafeRandom.GenerateText(10), + Description = ThreadSafeRandom.GenerateText(15), + Status = VersionStatus.Open, + Sharing = VersionSharing.None, + DueDate = DateTime.Now.Date.AddDays(30) + }; + return await fixture.RedmineManager.CreateAsync(version, PROJECT_ID); + } + + [Fact] + public async Task CreateVersion_Should_Succeed() + { + //Arrange + var versionSuffix = Guid.NewGuid().ToString("N"); + var versionData = new Version + { + Name = $"Test Version Create {versionSuffix}", + Description = $"Initial create test description {Guid.NewGuid()}", + Status = VersionStatus.Open, + Sharing = VersionSharing.System, + DueDate = DateTime.Now.Date.AddDays(10) + }; + + //Act + var createdVersion = await fixture.RedmineManager.CreateAsync(versionData, PROJECT_ID); + + //Assert + Assert.NotNull(createdVersion); + Assert.True(createdVersion.Id > 0); + Assert.Equal(versionData.Name, createdVersion.Name); + Assert.Equal(versionData.Description, createdVersion.Description); + Assert.Equal(versionData.Status, createdVersion.Status); + Assert.Equal(PROJECT_ID, createdVersion.Project.Id.ToInvariantString()); + } + + [Fact] + public async Task GetVersion_Should_Succeed() + { + + //Arrange + var createdVersion = await CreateTestVersionAsync(); + Assert.NotNull(createdVersion); + + //Act + var retrievedVersion = await fixture.RedmineManager.GetAsync(createdVersion.Id.ToInvariantString()); + + //Assert + Assert.NotNull(retrievedVersion); + Assert.Equal(createdVersion.Id, retrievedVersion.Id); + Assert.Equal(createdVersion.Name, retrievedVersion.Name); + Assert.Equal(createdVersion.Description, retrievedVersion.Description); + } + + [Fact] + public async Task UpdateVersion_Should_Succeed() + { + //Arrange + var createdVersion = await CreateTestVersionAsync(); + Assert.NotNull(createdVersion); + + var updatedDescription = ThreadSafeRandom.GenerateText(20); + var updatedStatus = VersionStatus.Locked; + createdVersion.Description = updatedDescription; + createdVersion.Status = updatedStatus; + + //Act + await fixture.RedmineManager.UpdateAsync(createdVersion.Id.ToInvariantString(), createdVersion); + var retrievedVersion = await fixture.RedmineManager.GetAsync(createdVersion.Id.ToInvariantString()); + + //Assert + Assert.NotNull(retrievedVersion); + Assert.Equal(createdVersion.Id, retrievedVersion.Id); + Assert.Equal(updatedDescription, retrievedVersion.Description); + Assert.Equal(updatedStatus, retrievedVersion.Status); + } + + [Fact] + public async Task DeleteVersion_Should_Succeed() + { + //Arrange + var createdVersion = await CreateTestVersionAsync(); + Assert.NotNull(createdVersion); + var versionId = createdVersion.Id.ToInvariantString(); + + //Act + await fixture.RedmineManager.DeleteAsync(versionId); + + //Assert + await Assert.ThrowsAsync(async () => + await fixture.RedmineManager.GetAsync(versionId)); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs new file mode 100644 index 00000000..9ef9a3a0 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs @@ -0,0 +1,170 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; + +[Collection(Constants.RedmineTestContainerCollection)] +public class WikiTestsAsync(RedmineTestContainerFixture fixture) +{ + private const string PROJECT_ID = "1"; + private const string WIKI_PAGE_TITLE = "TestWikiPage"; + + private async Task CreateOrUpdateTestWikiPageAsync() + { + var wikiPage = new WikiPage + { + Title = WIKI_PAGE_TITLE, + Text = $"Test wiki page content {Guid.NewGuid()}", + Comments = "Initial wiki page creation" + }; + + return await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, "wikiPageName", wikiPage); + } + + [Fact] + public async Task CreateOrUpdateWikiPage_Should_Succeed() + { + // Arrange + var wikiPage = new WikiPage + { + Title = $"TestWikiPage_{Guid.NewGuid()}".Replace("-", "").Substring(0, 20), + Text = "Test wiki page content", + Comments = "Initial wiki page creation" + }; + + // Act + var createdPage = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, "wikiPageName", wikiPage); + + // Assert + Assert.NotNull(createdPage); + Assert.Equal(wikiPage.Title, createdPage.Title); + Assert.Equal(wikiPage.Text, createdPage.Text); + } + + [Fact] + public async Task GetWikiPage_Should_Succeed() + { + // Arrange + var createdPage = await CreateOrUpdateTestWikiPageAsync(); + Assert.NotNull(createdPage); + + // Act + var retrievedPage = await fixture.RedmineManager.GetWikiPageAsync(PROJECT_ID, createdPage.Title); + + // Assert + Assert.NotNull(retrievedPage); + Assert.Equal(createdPage.Title, retrievedPage.Title); + Assert.Equal(createdPage.Text, retrievedPage.Text); + } + + [Fact] + public async Task GetAllWikiPages_Should_Succeed() + { + // Arrange + await CreateOrUpdateTestWikiPageAsync(); + + // Act + var wikiPages = await fixture.RedmineManager.GetAllWikiPagesAsync(PROJECT_ID); + + // Assert + Assert.NotNull(wikiPages); + Assert.NotEmpty(wikiPages); + } + + [Fact] + public async Task DeleteWikiPage_Should_Succeed() + { + // Arrange + var wikiPageName = ThreadSafeRandom.GenerateText(7); + + var wikiPage = new WikiPage + { + Title = ThreadSafeRandom.GenerateText(5), + Text = "Test wiki page content for deletion", + Comments = "Initial wiki page creation for deletion test" + }; + + var createdPage = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, wikiPageName, wikiPage); + Assert.NotNull(createdPage); + + // Act + await fixture.RedmineManager.DeleteWikiPageAsync(PROJECT_ID, wikiPageName); + + // Assert + await Assert.ThrowsAsync(async () => + await fixture.RedmineManager.GetWikiPageAsync(PROJECT_ID, wikiPageName)); + } + + private async Task<(WikiPage Page, string ProjectId, string PageTitle)> CreateTestWikiPageAsync( + string pageTitleSuffix = null, + string initialText = "Default initial text for wiki page.", + string initialComments = "Initial comments for wiki page.") + { + var pageTitle = $"TestWikiPage_{(pageTitleSuffix ?? Guid.NewGuid().ToString("N"))}"; + var wikiPageData = new WikiPage + { + Text = initialText, + Comments = initialComments + }; + + var createdPage = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, pageTitle, wikiPageData); + + Assert.NotNull(createdPage); + Assert.Equal(pageTitle, createdPage.Title); + Assert.True(createdPage.Id > 0, "Created WikiPage should have a valid ID."); + Assert.Equal(initialText, createdPage.Text); + + return (createdPage, PROJECT_ID, pageTitle); + } + + [Fact] + public async Task CreateWikiPage_Should_Succeed() + { + //Arrange + var pageTitle = ThreadSafeRandom.GenerateText("NewWikiPage"); + var text = "This is the content of a new wiki page."; + var comments = "Creation comment for new wiki page."; + var wikiPageData = new WikiPage { Text = text, Comments = comments }; + + //Act + var createdPage = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, pageTitle, wikiPageData); + + //Assert + Assert.NotNull(createdPage); + Assert.Equal(pageTitle, createdPage.Title); + Assert.Equal(text, createdPage.Text); + Assert.True(createdPage.Version >= 0); + + } + + [Fact] + public async Task UpdateWikiPage_Should_Succeed() + { + //Arrange + var (initialPage, projectId, pageTitle) = await CreateTestWikiPageAsync("UpdateTest", "Original Text.", "Original Comments."); + + var updatedText = $"Updated wiki text content {Guid.NewGuid():N}"; + var updatedComments = "These are updated comments for the wiki page update."; + + var wikiPageToUpdate = new WikiPage + { + Text = updatedText, + Comments = updatedComments, + Version = ++initialPage.Version + }; + + //Act + await fixture.RedmineManager.UpdateWikiPageAsync(projectId, pageTitle, wikiPageToUpdate); + var retrievedPage = await fixture.RedmineManager.GetAsync(initialPage.Id.ToInvariantString()); + + //Assert + Assert.NotNull(retrievedPage); + Assert.Equal(updatedText, retrievedPage.Text); + Assert.Equal(updatedComments, retrievedPage.Comments); + Assert.True(retrievedPage.Version > initialPage.Version + || (retrievedPage.Version == 1 && initialPage.Version == 0) + || (initialPage.Version ==0 && retrievedPage.Version ==0)); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Infrastructure/Fixtures/JsonSerializerFixture.cs b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/JsonSerializerFixture.cs index d787dd62..35c40898 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/Fixtures/JsonSerializerFixture.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/JsonSerializerFixture.cs @@ -1,4 +1,5 @@ using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; diff --git a/tests/redmine-net-api.Tests/Infrastructure/Fixtures/XmlSerializerFixture.cs b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/XmlSerializerFixture.cs index 700329e1..55f209ec 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/Fixtures/XmlSerializerFixture.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/XmlSerializerFixture.cs @@ -1,4 +1,5 @@ using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Xml; namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; From 5c5e14fd1fd34278cac0757e8e87b64a7f1e2edc Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:22:12 +0300 Subject: [PATCH 515/601] [Serialization] Add more Json tests --- .../Serialization/Json/AttachmentTests.cs | 42 ++++++++++++ .../Serialization/Json/CustomFieldTests.cs | 67 +++++++++++++++++++ .../Serialization/Json/ErrorTests.cs | 33 +++++++++ .../Json/IssueCustomFieldsTests.cs | 43 ++++++++++++ .../Serialization/Json/UserTests.cs | 50 ++++++++++++++ 5 files changed, 235 insertions(+) create mode 100644 tests/redmine-net-api.Tests/Serialization/Json/AttachmentTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Json/CustomFieldTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Json/ErrorTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Json/IssueCustomFieldsTests.cs create mode 100644 tests/redmine-net-api.Tests/Serialization/Json/UserTests.cs diff --git a/tests/redmine-net-api.Tests/Serialization/Json/AttachmentTests.cs b/tests/redmine-net-api.Tests/Serialization/Json/AttachmentTests.cs new file mode 100644 index 00000000..6cb7191d --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Json/AttachmentTests.cs @@ -0,0 +1,42 @@ +using System; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Json; + +[Collection(Constants.JsonRedmineSerializerCollection)] +public class AttachmentTests(JsonSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Attachment() + { + const string input = """ + { + "attachment": { + "id": 6243, + "filename": "test.txt", + "filesize": 124, + "content_type": "text/plain", + "description": "This is an attachment", + "content_url": "http://localhost:3000/attachments/download/6243/test.txt", + "author": {"name": "Jean-Philippe Lang", "id": 1}, + "created_on": "2011-07-18T22:58:40+02:00" + } + } + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + Assert.Equal(6243, output.Id); + Assert.Equal("test.txt", output.FileName); + Assert.Equal(124, output.FileSize); + Assert.Equal("text/plain", output.ContentType); + Assert.Equal("This is an attachment", output.Description); + Assert.Equal("http://localhost:3000/attachments/download/6243/test.txt", output.ContentUrl); + Assert.Equal("Jean-Philippe Lang", output.Author.Name); + Assert.Equal(1, output.Author.Id); + Assert.Equal(new DateTime(2011, 7, 18, 20, 58, 40, DateTimeKind.Utc).ToLocalTime(), output.CreatedOn); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Json/CustomFieldTests.cs b/tests/redmine-net-api.Tests/Serialization/Json/CustomFieldTests.cs new file mode 100644 index 00000000..10d14dac --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Json/CustomFieldTests.cs @@ -0,0 +1,67 @@ +using System.Linq; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Json; + +[Collection(Constants.JsonRedmineSerializerCollection)] +public sealed class CustomFieldTests(JsonSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_CustomFields() + { + const string input = """ + { + "custom_fields": [ + { + "id": 1, + "name": "Affected version", + "customized_type": "issue", + "field_format": "list", + "regexp": null, + "min_length": null, + "max_length": null, + "is_required": true, + "is_filter": true, + "searchable": true, + "multiple": true, + "default_value": null, + "visible": false, + "possible_values": [ + { + "value": "0.5.x" + }, + { + "value": "0.6.x" + } + ] + } + ], + "total_count": 1 + } + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(1, output.TotalItems); + + var customFields = output.Items.ToList(); + Assert.Equal(1, customFields[0].Id); + Assert.Equal("Affected version", customFields[0].Name); + Assert.Equal("issue", customFields[0].CustomizedType); + Assert.Equal("list", customFields[0].FieldFormat); + Assert.True(customFields[0].IsRequired); + Assert.True(customFields[0].IsFilter); + Assert.True(customFields[0].Searchable); + Assert.True(customFields[0].Multiple); + Assert.False(customFields[0].Visible); + + var possibleValues = customFields[0].PossibleValues.ToList(); + Assert.Equal(2, possibleValues.Count); + Assert.Equal("0.5.x", possibleValues[0].Value); + Assert.Equal("0.6.x", possibleValues[1].Value); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Json/ErrorTests.cs b/tests/redmine-net-api.Tests/Serialization/Json/ErrorTests.cs new file mode 100644 index 00000000..889ac9dc --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Json/ErrorTests.cs @@ -0,0 +1,33 @@ +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Json; + +[Collection(Constants.JsonRedmineSerializerCollection)] +public class ErrorTests(JsonSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Errors() + { + const string input = """ + { + "errors":[ + "First name can't be blank", + "Email is invalid" + ], + "total_count":2 + } + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(2, output.TotalItems); + + var errors = output.Items.ToList(); + Assert.Equal("First name can't be blank", errors[0].Info); + Assert.Equal("Email is invalid", errors[1].Info); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Json/IssueCustomFieldsTests.cs b/tests/redmine-net-api.Tests/Serialization/Json/IssueCustomFieldsTests.cs new file mode 100644 index 00000000..ee570b6d --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Json/IssueCustomFieldsTests.cs @@ -0,0 +1,43 @@ +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Json; + +[Collection(Constants.JsonRedmineSerializerCollection)] +public class IssueCustomFieldsTests(JsonSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_Issue_With_CustomFields_With_Multiple_Values() + { + const string input = """ + { + "custom_fields":[ + {"value":["1.0.1","1.0.2"],"multiple":true,"name":"Affected version","id":1}, + {"value":"Fixed","name":"Resolution","id":2} + ], + "total_count":2 + } + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(2, output.TotalItems); + + var customFields = output.Items.ToList(); + + Assert.Equal(1, customFields[0].Id); + Assert.Equal("Affected version", customFields[0].Name); + Assert.True(customFields[0].Multiple); + Assert.Equal(2, customFields[0].Values.Count); + Assert.Equal("1.0.1", customFields[0].Values[0].Info); + Assert.Equal("1.0.2", customFields[0].Values[1].Info); + + Assert.Equal(2, customFields[1].Id); + Assert.Equal("Resolution", customFields[1].Name); + Assert.False(customFields[1].Multiple); + Assert.Equal("Fixed", customFields[1].Values[0].Info); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Serialization/Json/UserTests.cs b/tests/redmine-net-api.Tests/Serialization/Json/UserTests.cs new file mode 100644 index 00000000..d7c13243 --- /dev/null +++ b/tests/redmine-net-api.Tests/Serialization/Json/UserTests.cs @@ -0,0 +1,50 @@ +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; +using Redmine.Net.Api.Types; +using Xunit; + +namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Json; + +[Collection(Constants.JsonRedmineSerializerCollection)] +public class UserTests(JsonSerializerFixture fixture) +{ + [Fact] + public void Should_Deserialize_User() + { + const string input = """ + { + "user":{ + "id": 3, + "login":"jplang", + "firstname": "Jean-Philippe", + "lastname":"Lang", + "mail":"jp_lang@yahoo.fr", + "created_on": "2007-09-28T00:16:04+02:00", + "updated_on":"2010-08-01T18:05:45+02:00", + "last_login_on":"2011-08-01T18:05:45+02:00", + "passwd_changed_on": "2011-08-01T18:05:45+02:00", + "api_key": "ebc3f6b781a6fb3f2b0a83ce0ebb80e0d585189d", + "avatar_url": "", + "status": 1 + } + } + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + Assert.Equal(3, output.Id); + Assert.Equal("jplang", output.Login); + Assert.Equal("Jean-Philippe", output.FirstName); + Assert.Equal("Lang", output.LastName); + Assert.Equal("jp_lang@yahoo.fr", output.Email); + Assert.Equal(new DateTime(2007, 9, 28, 0, 16, 4, DateTimeKind.Local).AddHours(1), output.CreatedOn); + Assert.Equal(new DateTime(2010, 8, 1, 18, 5, 45, DateTimeKind.Local).AddHours(1), output.UpdatedOn); + Assert.Equal(new DateTime(2011, 8, 1, 18, 5, 45, DateTimeKind.Local).AddHours(1), output.LastLoginOn); + Assert.Equal(new DateTime(2011, 8, 1, 18, 5, 45, DateTimeKind.Local).AddHours(1), output.PasswordChangedOn); + Assert.Equal("ebc3f6b781a6fb3f2b0a83ce0ebb80e0d585189d", output.ApiKey); + Assert.Empty(output.AvatarUrl); + Assert.Equal(UserStatus.StatusActive, output.Status); + } + +} \ No newline at end of file From 43eef2861ef97c3e28e902442056526f16ea146f Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:25:47 +0300 Subject: [PATCH 516/601] [IRedmineApiClientOptions] Remove redundant properties --- .../Net/IRedmineApiClientOptions.cs | 11 ++- .../Net/WebClient/IRedmineWebClientOptions.cs | 93 ++++--------------- 2 files changed, 22 insertions(+), 82 deletions(-) diff --git a/src/redmine-net-api/Net/IRedmineApiClientOptions.cs b/src/redmine-net-api/Net/IRedmineApiClientOptions.cs index 3a11601f..57431696 100644 --- a/src/redmine-net-api/Net/IRedmineApiClientOptions.cs +++ b/src/redmine-net-api/Net/IRedmineApiClientOptions.cs @@ -78,6 +78,7 @@ public interface IRedmineApiClientOptions /// long? MaxResponseContentBufferSize { get; set; } +#if NET471_OR_GREATER || NETCOREAPP /// /// /// @@ -87,7 +88,7 @@ public interface IRedmineApiClientOptions /// /// int? MaxResponseHeadersLength { get; set; } - +#endif /// /// /// @@ -179,18 +180,18 @@ public interface IRedmineApiClientOptions ///
SecurityProtocolType? SecurityProtocolType { get; set; } - #if NET40_OR_GREATER || NETCOREAPP +#if NET40_OR_GREATER || NETCOREAPP /// /// /// public X509CertificateCollection ClientCertificates { get; set; } - #endif +#endif - #if(NET46_OR_GREATER || NETCOREAPP) +#if(NET46_OR_GREATER || NETCOREAPP) /// /// /// public bool? ReusePort { get; set; } - #endif +#endif } } \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/IRedmineWebClientOptions.cs b/src/redmine-net-api/Net/WebClient/IRedmineWebClientOptions.cs index 809d9afb..1c7635f0 100644 --- a/src/redmine-net-api/Net/WebClient/IRedmineWebClientOptions.cs +++ b/src/redmine-net-api/Net/WebClient/IRedmineWebClientOptions.cs @@ -1,83 +1,22 @@ -using System; -using System.Collections.Generic; -using System.Net.Cache; -using System.Net.Security; -using System.Security.Cryptography.X509Certificates; +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ namespace Redmine.Net.Api.Net.WebClient; /// /// /// -public interface IRedmineWebClientOptions : IRedmineApiClientOptions -{ -#if NET40_OR_GREATER || NETCOREAPP - /// - /// - /// - public X509CertificateCollection ClientCertificates { get; set; } -#endif - - /// - /// - /// - int? DefaultConnectionLimit { get; set; } - - /// - /// - /// - Dictionary DefaultHeaders { get; set; } - - /// - /// - /// - int? DnsRefreshTimeout { get; set; } - - /// - /// - /// - bool? EnableDnsRoundRobin { get; set; } - - /// - /// - /// - bool? KeepAlive { get; set; } - - /// - /// - /// - int? MaxServicePoints { get; set; } - - /// - /// - /// - int? MaxServicePointIdleTime { get; set; } - - /// - /// - /// - RequestCachePolicy RequestCachePolicy { get; set; } - -#if(NET46_OR_GREATER || NETCOREAPP) - /// - /// - /// - public bool? ReusePort { get; set; } -#endif - - /// - /// - /// - RemoteCertificateValidationCallback ServerCertificateValidationCallback { get; set; } - - /// - /// - /// - bool? UnsafeAuthenticatedConnectionSharing { get; set; } - - /// - /// - /// - /// Only HTTP/1.0 and HTTP/1.1 version requests are currently supported. - Version ProtocolVersion { get; set; } -} \ No newline at end of file +public interface IRedmineWebClientOptions : IRedmineApiClientOptions; \ No newline at end of file From 0ce2e07d960b5e5271bebb47c911b2cf59c06527 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:26:29 +0300 Subject: [PATCH 517/601] [IdentifiableName] Add string operator --- src/redmine-net-api/Types/IdentifiableName.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index 4f95ee02..42060a69 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -219,7 +219,24 @@ public override int GetHashCode() return !Equals(left, right); } #endregion + + /// + /// + /// + /// + /// + public static implicit operator string(IdentifiableName identifiableName) => FromIdentifiableName(identifiableName); + /// + /// + /// + /// + /// + public static string FromIdentifiableName(IdentifiableName identifiableName) + { + return identifiableName?.Id.ToInvariantString(); + } + /// /// /// From 03146bc3f91ebbc86b15b1e8da2cb78a8b075a6b Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:28:52 +0300 Subject: [PATCH 518/601] Enums ToLowerInvariant instead of ToString().ToLowerInv() --- src/redmine-net-api/Types/IssueRelation.cs | 6 +++--- src/redmine-net-api/Types/Version.cs | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index fad07f49..4f5da762 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -112,8 +112,8 @@ public override void WriteXml(XmlWriter writer) { AssertValidIssueRelationType(); - writer.WriteElementString(RedmineKeys.ISSUE_TO_ID, IssueToId.ToString(CultureInfo.InvariantCulture)); - writer.WriteElementString(RedmineKeys.RELATION_TYPE, Type.ToString().ToLowerInv()); + writer.WriteElementString(RedmineKeys.ISSUE_TO_ID, IssueToId.ToInvariantString()); + writer.WriteElementString(RedmineKeys.RELATION_TYPE, Type.ToLowerInvariant()); if (Type == IssueRelationType.Precedes || Type == IssueRelationType.Follows) { @@ -134,7 +134,7 @@ public override void WriteJson(JsonWriter writer) using (new JsonObject(writer, RedmineKeys.RELATION)) { writer.WriteProperty(RedmineKeys.ISSUE_TO_ID, IssueToId); - writer.WriteProperty(RedmineKeys.RELATION_TYPE, Type.ToString().ToLowerInv()); + writer.WriteProperty(RedmineKeys.RELATION_TYPE, Type.ToLowerInvariant()); if (Type == IssueRelationType.Precedes || Type == IssueRelationType.Follows) { diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 884aca64..84f8ecd4 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -140,10 +140,10 @@ public override void ReadXml(XmlReader reader) public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.NAME, Name); - writer.WriteElementString(RedmineKeys.STATUS, Status.ToInvariantString()); + writer.WriteElementString(RedmineKeys.STATUS, Status.ToLowerInvariant()); if (Sharing != VersionSharing.Unknown) { - writer.WriteElementString(RedmineKeys.SHARING, Sharing.ToInvariantString()); + writer.WriteElementString(RedmineKeys.SHARING, Sharing.ToLowerInvariant()); } writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, DueDate); @@ -206,8 +206,8 @@ public override void WriteJson(JsonWriter writer) using (new JsonObject(writer, RedmineKeys.VERSION)) { writer.WriteProperty(RedmineKeys.NAME, Name); - writer.WriteProperty(RedmineKeys.STATUS, Status.ToString().ToLowerInv()); - writer.WriteProperty(RedmineKeys.SHARING, Sharing.ToString().ToLowerInv()); + writer.WriteProperty(RedmineKeys.STATUS, Status.ToLowerInvariant()); + writer.WriteProperty(RedmineKeys.SHARING, Sharing.ToLowerInvariant()); writer.WriteProperty(RedmineKeys.DESCRIPTION, Description); writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, DueDate); if (CustomFields != null) From d5811ce11307dd9a577d37917af3fb6b4d0265a1 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:57:49 +0300 Subject: [PATCH 519/601] Add icons --- .github/workflows/build-and-test.yml | 2 +- .github/workflows/publish.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index ef7d0fcc..bdc96713 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -99,7 +99,7 @@ jobs: - name: Restore run: dotnet restore "${{ env.PROJECT_PATH }}" - - name: Build + - name: 🔨 Build run: >- dotnet build "${{ env.PROJECT_PATH }}" --configuration "${{ env.CONFIGURATION }}" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f3c32f01..a20b2882 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -128,7 +128,7 @@ jobs: - name: Install dependencies run: dotnet restore "${{ env.PROJECT_PATH }}" - - name: Create the package + - name: 📦 Create the package run: >- dotnet pack "${{ env.PROJECT_PATH }}" --output ./artifacts @@ -140,7 +140,7 @@ jobs: -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg - - name: Create the package - Signed + - name: 📦 Create the package - Signed run: >- dotnet pack "${{ env.PROJECT_PATH }}" --output ./artifacts From faeee90fa5139f1264723b99b2c966c145e6db2c Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:20:15 +0300 Subject: [PATCH 520/601] Add ArgumentVerifier --- .../Common/ArgumentVerifier.cs | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/redmine-net-api/Common/ArgumentVerifier.cs diff --git a/src/redmine-net-api/Common/ArgumentVerifier.cs b/src/redmine-net-api/Common/ArgumentVerifier.cs new file mode 100644 index 00000000..c4e7ede7 --- /dev/null +++ b/src/redmine-net-api/Common/ArgumentVerifier.cs @@ -0,0 +1,43 @@ +using System; +using System.Diagnostics.CodeAnalysis; + +namespace Redmine.Net.Api.Common; + +/// +/// A utility class to perform argument validations. +/// +internal static class ArgumentVerifier +{ + /// + /// Throws ArgumentNullException if the argument is null. + /// + /// Argument value to check. + /// Name of Argument. + public static void ThrowIfNull([NotNull] object value, string name) + { + if (value == null) + { + throw new ArgumentNullException(name); + } + } + + /// + /// Validates string and throws: + /// ArgumentNullException if the argument is null. + /// ArgumentException if the argument is empty. + /// + /// Argument value to check. + /// Name of Argument. + public static void ThrowIfNullOrEmpty([NotNull] string value, string name) + { + if (value == null) + { + throw new ArgumentNullException(name); + } + + if (string.IsNullOrEmpty(value)) + { + throw new ArgumentException("The value cannot be null or empty", name); + } + } +} \ No newline at end of file From 7614fad15461c1a1eefd061ee7c55cc565478cc3 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:27:45 +0300 Subject: [PATCH 521/601] Add Include options (Group, Issue, Project, User & Wiki) --- src/redmine-net-api/Types/Include.cs | 142 +++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 src/redmine-net-api/Types/Include.cs diff --git a/src/redmine-net-api/Types/Include.cs b/src/redmine-net-api/Types/Include.cs new file mode 100644 index 00000000..ef4fa09a --- /dev/null +++ b/src/redmine-net-api/Types/Include.cs @@ -0,0 +1,142 @@ +namespace Redmine.Net.Api.Types; + +/// +/// +/// +public static class Include +{ + /// + /// + /// + public static class Group + { + /// + /// + /// + public const string Users = RedmineKeys.USERS; + + /// + /// Adds extra information about user's memberships and roles on the projects + /// + public const string Memberships = RedmineKeys.MEMBERSHIPS; + } + + /// + /// Associated data that can be retrieved + /// + public static class Issue + { + /// + /// Specifies whether to include child issues. + /// This parameter is applicable when retrieving details for a specific issue. + /// Corresponds to the Redmine API include parameter: children. + /// + public const string Children = RedmineKeys.CHILDREN; + + /// + /// Specifies whether to include attachments. + /// This parameter is applicable when retrieving a list of issues or details for a specific issue. + /// Corresponds to the Redmine API include parameter: attachments. + /// + public const string Attachments = RedmineKeys.ATTACHMENTS; + + /// + /// Specifies whether to include issue relations. + /// This parameter is applicable when retrieving a list of issues or details for a specific issue. + /// Corresponds to the Redmine API include parameter: relations. + /// + public const string Relations = RedmineKeys.RELATIONS; + + /// + /// Specifies whether to include associated changesets. + /// This parameter is applicable when retrieving details for a specific issue. + /// Corresponds to the Redmine API include parameter: changesets. + /// + public const string Changesets = RedmineKeys.CHANGE_SETS; + + /// + /// Specifies whether to include journal entries (notes and history). + /// This parameter is applicable when retrieving details for a specific issue. + /// Corresponds to the Redmine API include parameter: journals. + /// + public const string Journals = RedmineKeys.JOURNALS; + + /// + /// Specifies whether to include watchers of the issue. + /// This parameter is applicable when retrieving details for a specific issue. + /// Corresponds to the Redmine API include parameter: watchers. + /// + public const string Watchers = RedmineKeys.WATCHERS; + + /// + /// Specifies whether to include allowed statuses of the issue. + /// This parameter is applicable when retrieving details for a specific issue. + /// Corresponds to the Redmine API include parameter: watchers. + /// Since 5.0.x, Returns the available allowed statuses (the same values as provided in the issue edit form) based on: + /// the issue's current tracker, the issue's current status, and the member's role (the defined workflow); + /// the existence of any open subtask(s); + /// the existence of any open blocking issue(s); + /// the existence of a closed parent issue. + /// + public const string AllowedStatuses = RedmineKeys.ALLOWED_STATUSES; + } + + /// + /// + /// + public static class Project + { + /// + /// + /// + public const string Trackers = RedmineKeys.TRACKERS; + + /// + /// since 2.6.0 + /// + public const string EnabledModules = RedmineKeys.ENABLED_MODULES; + + /// + /// + /// + public const string IssueCategories = RedmineKeys.ISSUE_CATEGORIES; + + /// + /// since 3.4.0 + /// + public const string TimeEntryActivities = RedmineKeys.TIME_ENTRY_ACTIVITIES; + + /// + /// since 4.2.0 + /// + public const string IssueCustomFields = RedmineKeys.ISSUE_CUSTOM_FIELDS; + } + + /// + /// + /// + public static class User + { + /// + /// Adds extra information about user's memberships and roles on the projects + /// + public const string Memberships = RedmineKeys.MEMBERSHIPS; + + /// + /// Adds extra information about user's groups + /// added in 2.1 + /// + public const string Groups = RedmineKeys.GROUPS; + } + + /// + /// + /// + public static class WikiPage + { + /// + /// + /// + public const string Attachments = RedmineKeys.ATTACHMENTS; + } +} \ No newline at end of file From 9cecd0e533a1c7ce83d215d854de11b5deced9a4 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:29:46 +0300 Subject: [PATCH 522/601] Add Create(id, name) overload --- src/redmine-net-api/Types/IdentifiableName.cs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index 42060a69..3d087f3a 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -38,7 +38,19 @@ public class IdentifiableName : Identifiable /// public static T Create(int id) where T: IdentifiableName, new() { - var t = new T (){Id = id}; + var t = new T + { + Id = id + }; + return t; + } + + internal static T Create(int id, string name) where T: IdentifiableName, new() + { + var t = new T + { + Id = id, Name = name + }; return t; } From 1ba04d38c774c85078f67c956f0b79b8590c212e Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:30:31 +0300 Subject: [PATCH 523/601] Add ctor with parameter --- src/redmine-net-api/Types/IssueStatus.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/redmine-net-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs index 76d7863e..8478746e 100644 --- a/src/redmine-net-api/Types/IssueStatus.cs +++ b/src/redmine-net-api/Types/IssueStatus.cs @@ -31,11 +31,23 @@ namespace Redmine.Net.Api.Types [XmlRoot(RedmineKeys.ISSUE_STATUS)] public sealed class IssueStatus : IdentifiableName, IEquatable, ICloneable { + /// + /// + /// public IssueStatus() { } + /// + /// + /// + /// + public IssueStatus(int id) + { + Id = id; + } + /// /// /// From 119941940405eeeb8c51d16a5d3af0f8a65f2ba1 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:35:09 +0300 Subject: [PATCH 524/601] Add ToIssueStatusIdentifier --- .../Extensions/IdentifiableNameExtensions.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs b/src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs index 9e03082e..a0daf466 100644 --- a/src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs +++ b/src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs @@ -61,5 +61,21 @@ public static IdentifiableName ToIdentifier(this int val) return new IdentifiableName(val, null); } + + /// + /// Converts an integer value into an object. + /// + /// The integer value representing the ID of an issue status. + /// An object initialized with the specified identifier. + /// Thrown when the specified value is less than or equal to zero. + public static IssueStatus ToIssueStatusIdentifier(this int val) + { + if (val <= 0) + { + throw new RedmineException(nameof(val), "Value must be greater than zero"); + } + + return new IssueStatus(val, null); + } } } \ No newline at end of file From f90c88625e469b205db3cb85f6c27b1986c915b9 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:39:30 +0300 Subject: [PATCH 525/601] Add GeneratePassword & SendInformation props --- src/redmine-net-api/Types/User.cs | 80 ++++++++++++++++++------------- 1 file changed, 47 insertions(+), 33 deletions(-) diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index 368ead09..fb5c71c1 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -17,7 +17,6 @@ limitations under the License. using System; using System.Collections.Generic; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; @@ -115,6 +114,10 @@ public sealed class User : Identifiable ///
public bool MustChangePassword { get; set; } + /// + /// + /// + public bool GeneratePassword { get; set; } /// /// @@ -152,9 +155,15 @@ public sealed class User : Identifiable /// Gets or sets the user's mail_notification. /// /// - /// only_my_events, only_assigned, [...] + /// only_my_events, only_assigned, ... /// public string MailNotification { get; set; } + + /// + /// Send account information to the user + /// + public bool SendInformation { get; set; } + #endregion #region Implementation of IXmlSerialization @@ -207,32 +216,33 @@ public override void ReadXml(XmlReader reader) public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.LOGIN, Login); - writer.WriteElementString(RedmineKeys.FIRST_NAME, FirstName); - writer.WriteElementString(RedmineKeys.LAST_NAME, LastName); - writer.WriteElementString(RedmineKeys.MAIL, Email); - if(!string.IsNullOrEmpty(MailNotification)) - { - writer.WriteElementString(RedmineKeys.MAIL_NOTIFICATION, MailNotification); - } - - if (!string.IsNullOrEmpty(Password)) + if (!Password.IsNullOrWhiteSpace()) { writer.WriteElementString(RedmineKeys.PASSWORD, Password); } - + + writer.WriteElementString(RedmineKeys.FIRST_NAME, FirstName); + writer.WriteElementString(RedmineKeys.LAST_NAME, LastName); + writer.WriteElementString(RedmineKeys.MAIL, Email); + if(AuthenticationModeId.HasValue) { writer.WriteValueOrEmpty(RedmineKeys.AUTH_SOURCE_ID, AuthenticationModeId); } + if(!MailNotification.IsNullOrWhiteSpace()) + { + writer.WriteElementString(RedmineKeys.MAIL_NOTIFICATION, MailNotification); + } + writer.WriteBoolean(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword); - writer.WriteElementString(RedmineKeys.STATUS, ((int)Status).ToString(CultureInfo.InvariantCulture)); + writer.WriteBoolean(RedmineKeys.GENERATE_PASSWORD, GeneratePassword); + writer.WriteBoolean(RedmineKeys.SEND_INFORMATION, SendInformation); - if(CustomFields != null) - { - writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); - } + writer.WriteElementString(RedmineKeys.STATUS, ((int)Status).ToInvariantString()); + + writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); } #endregion @@ -291,32 +301,33 @@ public override void WriteJson(JsonWriter writer) using (new JsonObject(writer, RedmineKeys.USER)) { writer.WriteProperty(RedmineKeys.LOGIN, Login); - writer.WriteProperty(RedmineKeys.FIRST_NAME, FirstName); - writer.WriteProperty(RedmineKeys.LAST_NAME, LastName); - writer.WriteProperty(RedmineKeys.MAIL, Email); - if(!string.IsNullOrEmpty(MailNotification)) - { - writer.WriteProperty(RedmineKeys.MAIL_NOTIFICATION, MailNotification); - } - if (!string.IsNullOrEmpty(Password)) { writer.WriteProperty(RedmineKeys.PASSWORD, Password); } - + + writer.WriteProperty(RedmineKeys.FIRST_NAME, FirstName); + writer.WriteProperty(RedmineKeys.LAST_NAME, LastName); + writer.WriteProperty(RedmineKeys.MAIL, Email); + if(AuthenticationModeId.HasValue) { writer.WriteValueOrEmpty(RedmineKeys.AUTH_SOURCE_ID, AuthenticationModeId); } + + if(!MailNotification.IsNullOrWhiteSpace()) + { + writer.WriteProperty(RedmineKeys.MAIL_NOTIFICATION, MailNotification); + } writer.WriteBoolean(RedmineKeys.MUST_CHANGE_PASSWORD, MustChangePassword); - writer.WriteProperty(RedmineKeys.STATUS, ((int)Status).ToString(CultureInfo.InvariantCulture)); + writer.WriteBoolean(RedmineKeys.GENERATE_PASSWORD, GeneratePassword); + writer.WriteBoolean(RedmineKeys.SEND_INFORMATION, SendInformation); + + writer.WriteProperty(RedmineKeys.STATUS, ((int)Status).ToInvariantString()); - if(CustomFields != null) - { - writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); - } + writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); } } #endregion @@ -344,6 +355,8 @@ public override bool Equals(User other) && LastLoginOn == other.LastLoginOn && Status == other.Status && MustChangePassword == other.MustChangePassword + && GeneratePassword == other.GeneratePassword + && SendInformation == other.SendInformation && IsAdmin == other.IsAdmin && PasswordChangedOn == other.PasswordChangedOn && UpdatedOn == other.UpdatedOn @@ -394,6 +407,8 @@ public override int GetHashCode() hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); hashCode = HashCodeHelper.GetHashCode(Memberships, hashCode); hashCode = HashCodeHelper.GetHashCode(Groups, hashCode); + hashCode = HashCodeHelper.GetHashCode(GeneratePassword, hashCode); + hashCode = HashCodeHelper.GetHashCode(SendInformation, hashCode); return hashCode; } } @@ -425,7 +440,6 @@ public override int GetHashCode() /// ///
/// - private string DebuggerDisplay => $"[User: Id={Id.ToInvariantString()}, Login={Login}, IsAdmin={IsAdmin.ToString(CultureInfo.InvariantCulture)}, Status={Status:G}]"; - + private string DebuggerDisplay => $"[User: Id={Id.ToInvariantString()}, Login={Login}, IsAdmin={IsAdmin.ToInvariantString()}, Status={Status:G}]"; } } \ No newline at end of file From deeb32df7c866de2f02b620ac9a3ae50c4d65210 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:34:40 +0300 Subject: [PATCH 526/601] Add static methods to create single/multiple custom fields --- src/redmine-net-api/Types/IssueCustomField.cs | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index f4e4a717..0acdffb0 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -326,5 +326,53 @@ public static string GetValue(object item) ///
/// private string DebuggerDisplay => $"[IssueCustomField: Id={Id.ToInvariantString()}, Name={Name}, Multiple={Multiple.ToInvariantString()}]"; + + /// + /// + /// + /// + /// + /// + /// + public static IssueCustomField CreateSingle(int id, string name, string value) + { + return new IssueCustomField + { + Id = id, + Name = name, + Values = [new CustomFieldValue { Info = value }] + }; + } + + /// + /// + /// + /// + /// + /// + /// + public static IssueCustomField CreateMultiple(int id, string name, string[] values) + { + var isf = new IssueCustomField + { + Id = id, + Name = name, + Multiple = true, + }; + + if (values is not { Length: > 0 }) + { + return isf; + } + + isf.Values = new List(values.Length); + + foreach (var value in values) + { + isf.Values.Add(new CustomFieldValue { Info = value }); + } + + return isf; + } } } \ No newline at end of file From c77f1b7c1c5ac98590331edd1462ead15ac7f02c Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:38:39 +0300 Subject: [PATCH 527/601] Serialize UserId only at create --- src/redmine-net-api/Types/ProjectMembership.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index dd1622b9..714b0030 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -102,7 +102,11 @@ public override void ReadXml(XmlReader reader) /// public override void WriteXml(XmlWriter writer) { - writer.WriteIdIfNotNull(RedmineKeys.USER_ID, User); + if (Id <= 0) + { + writer.WriteIdIfNotNull(RedmineKeys.USER_ID, User); + } + writer.WriteArray(RedmineKeys.ROLE_IDS, Roles, typeof(MembershipRole), RedmineKeys.ROLE_ID); } #endregion @@ -146,7 +150,11 @@ public override void WriteJson(JsonWriter writer) { using (new JsonObject(writer, RedmineKeys.MEMBERSHIP)) { - writer.WriteIdIfNotNull(RedmineKeys.USER_ID, User); + if (Id <= 0) + { + writer.WriteIdIfNotNull(RedmineKeys.USER_ID, User); + } + writer.WriteRepeatableElement(RedmineKeys.ROLE_IDS, (IEnumerable)Roles); } } From eb961fe02be0f03b7a261c0af82b2fd72eec5078 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:40:17 +0300 Subject: [PATCH 528/601] Remove ProjectId from serialization --- src/redmine-net-api/Types/IssueCategory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs index ae25040e..ebb68087 100644 --- a/src/redmine-net-api/Types/IssueCategory.cs +++ b/src/redmine-net-api/Types/IssueCategory.cs @@ -90,7 +90,7 @@ public override void ReadXml(XmlReader reader) /// public override void WriteXml(XmlWriter writer) { - writer.WriteIdIfNotNull(RedmineKeys.PROJECT_ID, Project); + // writer.WriteIdIfNotNull(RedmineKeys.PROJECT_ID, Project); writer.WriteElementString(RedmineKeys.NAME, Name); writer.WriteIdIfNotNull(RedmineKeys.ASSIGNED_TO_ID, AssignTo); } From dee70f24ee44198866e8fa8aef9c47b2bf4e35bd Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:38:02 +0300 Subject: [PATCH 529/601] Serialize default assigned/version --- src/redmine-net-api/Types/Project.cs | 35 ++++++++++++---------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index f3041a7b..b3d5953a 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -197,30 +197,25 @@ public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.NAME, Name); writer.WriteElementString(RedmineKeys.IDENTIFIER, Identifier); - writer.WriteIfNotDefaultOrNull(RedmineKeys.DESCRIPTION, Description); - writer.WriteBoolean(RedmineKeys.INHERIT_MEMBERS, InheritMembers); - writer.WriteBoolean(RedmineKeys.IS_PUBLIC, IsPublic); writer.WriteIfNotDefaultOrNull(RedmineKeys.HOMEPAGE, HomePage); - + writer.WriteBoolean(RedmineKeys.IS_PUBLIC, IsPublic); writer.WriteIdIfNotNull(RedmineKeys.PARENT_ID, Parent); + writer.WriteBoolean(RedmineKeys.INHERIT_MEMBERS, InheritMembers); + + //It works only when the new project is a subproject and it inherits the members. + writer.WriteIdIfNotNull(RedmineKeys.DEFAULT_ASSIGNED_TO_ID, DefaultAssignee); + //It works only with existing shared versions. + writer.WriteIdIfNotNull(RedmineKeys.DEFAULT_VERSION_ID, DefaultVersion); writer.WriteRepeatableElement(RedmineKeys.TRACKER_IDS, (IEnumerable)Trackers); writer.WriteRepeatableElement(RedmineKeys.ENABLED_MODULE_NAMES, (IEnumerable)EnabledModules); - - if (Id == 0) - { - writer.WriteRepeatableElement(RedmineKeys.ISSUE_CUSTOM_FIELD_IDS, (IEnumerable)CustomFields); - return; - } - + writer.WriteRepeatableElement(RedmineKeys.ISSUE_CUSTOM_FIELD_IDS, (IEnumerable)CustomFields); writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); } #endregion #region Implementation of IJsonSerialization - - /// /// /// @@ -279,15 +274,15 @@ public override void WriteJson(JsonWriter writer) writer.WriteBoolean(RedmineKeys.INHERIT_MEMBERS, InheritMembers); writer.WriteBoolean(RedmineKeys.IS_PUBLIC, IsPublic); writer.WriteIdIfNotNull(RedmineKeys.PARENT_ID, Parent); + + //It works only when the new project is a subproject and it inherits the members. + writer.WriteIdIfNotNull(RedmineKeys.DEFAULT_ASSIGNED_TO_ID, DefaultAssignee); + //It works only with existing shared versions. + writer.WriteIdIfNotNull(RedmineKeys.DEFAULT_VERSION_ID, DefaultVersion); + writer.WriteRepeatableElement(RedmineKeys.TRACKER_IDS, (IEnumerable)Trackers); writer.WriteRepeatableElement(RedmineKeys.ENABLED_MODULE_NAMES, (IEnumerable)EnabledModules); - - if (Id == 0) - { - writer.WriteRepeatableElement(RedmineKeys.ISSUE_CUSTOM_FIELD_IDS, (IEnumerable)CustomFields); - return; - } - + writer.WriteRepeatableElement(RedmineKeys.ISSUE_CUSTOM_FIELD_IDS, (IEnumerable)CustomFields); writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); } } From c2076f842063207a94d78fbb88c877a0f62d24b1 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:24:43 +0300 Subject: [PATCH 530/601] Add DocumentCategory --- src/redmine-net-api/Net/RedmineApiUrls.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/redmine-net-api/Net/RedmineApiUrls.cs b/src/redmine-net-api/Net/RedmineApiUrls.cs index 54a9d452..c50d0fc7 100644 --- a/src/redmine-net-api/Net/RedmineApiUrls.cs +++ b/src/redmine-net-api/Net/RedmineApiUrls.cs @@ -31,6 +31,7 @@ internal sealed class RedmineApiUrls { {typeof(Attachment), RedmineKeys.ATTACHMENTS}, {typeof(CustomField), RedmineKeys.CUSTOM_FIELDS}, + {typeof(DocumentCategory), RedmineKeys.ENUMERATION_DOCUMENT_CATEGORIES}, {typeof(Group), RedmineKeys.GROUPS}, {typeof(Issue), RedmineKeys.ISSUES}, {typeof(IssueCategory), RedmineKeys.ISSUE_CATEGORIES}, From 8b6c466b114ddefae5572f5af653efef5b472ab5 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:31:56 +0300 Subject: [PATCH 531/601] Code arrange --- src/redmine-net-api/Extensions/StringExtensions.cs | 6 +++--- src/redmine-net-api/RedmineManagerAsync.cs | 4 ++-- .../RedmineManagerOptionsBuilder.cs | 14 ++++++++------ 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index 03fdc059..d7b4d1a2 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -158,9 +158,9 @@ internal static string ToInvariantString(this T value) where T : struct }; } - private const string CRLR = "\r\n"; private const string CR = "\r"; private const string LR = "\n"; + private const string CRLR = $"{CR}{LR}"; internal static string ReplaceEndings(this string input, string replacement = CRLR) { @@ -170,9 +170,9 @@ internal static string ReplaceEndings(this string input, string replacement = CR } #if NET6_0_OR_GREATER - input = input.ReplaceLineEndings(CRLR); + input = input.ReplaceLineEndings(replacement); #else - input = Regex.Replace(input, $"{CRLR}|{CR}|{LR}", CRLR); + input = Regex.Replace(input, $"{CRLR}|{CR}|{LR}", replacement); #endif return input; } diff --git a/src/redmine-net-api/RedmineManagerAsync.cs b/src/redmine-net-api/RedmineManagerAsync.cs index 72e2d6a6..3a3f5085 100644 --- a/src/redmine-net-api/RedmineManagerAsync.cs +++ b/src/redmine-net-api/RedmineManagerAsync.cs @@ -211,7 +211,7 @@ public async Task UploadFileAsync(byte[] data, string fileName = null, R { var url = RedmineApiUrls.UploadFragment(fileName); - var response = await ApiClient.UploadFileAsync(url, data,requestOptions , cancellationToken: cancellationToken).ConfigureAwait(false); + var response = await ApiClient.UploadFileAsync(url, data, requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); return response.DeserializeTo(Serializer); } @@ -219,7 +219,7 @@ public async Task UploadFileAsync(byte[] data, string fileName = null, R /// public async Task DownloadFileAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { - var response = await ApiClient.DownloadAsync(address, requestOptions,cancellationToken: cancellationToken).ConfigureAwait(false); + var response = await ApiClient.DownloadAsync(address, requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); return response.Content; } diff --git a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs index b54db5b3..aadd7712 100644 --- a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs +++ b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs @@ -214,12 +214,13 @@ internal RedmineManagerOptions Build() { const string defaultUserAgent = "Redmine.Net.Api.Net"; var defaultDecompressionFormat = - #if NETFRAMEWORK +#if NETFRAMEWORK DecompressionMethods.GZip | DecompressionMethods.Deflate | DecompressionMethods.None; - #else +#else DecompressionMethods.All; - #endif - #if NET45_OR_GREATER || NETCOREAPP +#endif + +#if NET45_OR_GREATER || NETCOREAPP WebClientOptions ??= _clientType switch { ClientType.WebClient => new RedmineWebClientOptions() @@ -229,13 +230,14 @@ internal RedmineManagerOptions Build() }, _ => throw new ArgumentOutOfRangeException() }; - #else +#else WebClientOptions ??= new RedmineWebClientOptions() { UserAgent = defaultUserAgent, DecompressionFormat = defaultDecompressionFormat, }; - #endif +#endif + var baseAddress = CreateRedmineUri(Host, WebClientOptions.Scheme); var options = new RedmineManagerOptions() From 07cd9380a85ac7ab418810066c4856e4e14ecf4d Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:32:56 +0300 Subject: [PATCH 532/601] Update summary --- .../RedmineManagerAsyncExtensions.Obsolete.cs | 4 +- .../Extensions/RedmineManagerExtensions.cs | 330 +++++++++--------- .../Extensions/StringExtensions.cs | 43 ++- .../RedmineManagerOptionsBuilder.cs | 2 +- .../Serialization/RedmineSerializerFactory.cs | 12 + .../Serialization/SerializationHelper.cs | 14 +- .../Serialization/SerializationType.cs | 6 +- src/redmine-net-api/Types/Issue.cs | 2 +- 8 files changed, 236 insertions(+), 177 deletions(-) diff --git a/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.Obsolete.cs b/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.Obsolete.cs index d2b42862..c6a1373a 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.Obsolete.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.Obsolete.cs @@ -64,7 +64,7 @@ public static async Task CreateWikiPageAsync(this RedmineManager redmi } /// - /// Creates the or update wiki page asynchronous. + /// Creates or updates wiki page asynchronous. /// /// The redmine manager. /// The project identifier. @@ -94,7 +94,7 @@ public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, /// /// Support for adding attachments through the REST API is added in Redmine 1.4.0. - /// Upload a file to server. This method does not block the calling thread. + /// Upload a file to the server. This method does not block the calling thread. /// /// The redmine manager. /// The content of the file that will be uploaded on server. diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index fb94205f..20d600a9 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -35,13 +35,13 @@ namespace Redmine.Net.Api.Extensions public static class RedmineManagerExtensions { /// - /// + /// Archives a project in Redmine based on the specified project identifier. /// - /// - /// - /// - /// - public static void ArchiveProject(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to manage the API requests. + /// The unique identifier of the project to be archived. + /// Additional request options to include in the API call. + public static void ArchiveProject(this RedmineManager redmineManager, string projectIdentifier, + RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.ProjectArchive(projectIdentifier); @@ -49,15 +49,15 @@ public static void ArchiveProject(this RedmineManager redmineManager, string pro redmineManager.ApiClient.Update(escapedUri, string.Empty ,requestOptions); } - + /// - /// + /// Unarchives a project in Redmine based on the specified project identifier. /// - /// - /// - /// - /// - public static void UnarchiveProject(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to manage the API requests. + /// The unique identifier of the project to be unarchived. + /// Additional request options to include in the API call. + public static void UnarchiveProject(this RedmineManager redmineManager, string projectIdentifier, + RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.ProjectUnarchive(projectIdentifier); @@ -65,15 +65,15 @@ public static void UnarchiveProject(this RedmineManager redmineManager, string p redmineManager.ApiClient.Update(escapedUri, string.Empty ,requestOptions); } - + /// - /// + /// Reopens a previously closed project in Redmine based on the specified project identifier. /// - /// - /// - /// - /// - public static void ReopenProject(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to execute the API request. + /// The unique identifier of the project to be reopened. + /// Additional request options to include in the API call. + public static void ReopenProject(this RedmineManager redmineManager, string projectIdentifier, + RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.ProjectReopen(projectIdentifier); @@ -81,15 +81,15 @@ public static void ReopenProject(this RedmineManager redmineManager, string proj redmineManager.ApiClient.Update(escapedUri, string.Empty ,requestOptions); } - + /// - /// + /// Closes a project in Redmine based on the specified project identifier. /// - /// - /// - /// - /// - public static void CloseProject(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to manage the API requests. + /// The unique identifier of the project to be closed. + /// Additional request options to include in the API call. + public static void CloseProject(this RedmineManager redmineManager, string projectIdentifier, + RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.ProjectClose(projectIdentifier); @@ -97,16 +97,18 @@ public static void CloseProject(this RedmineManager redmineManager, string proje redmineManager.ApiClient.Update(escapedUri,string.Empty, requestOptions); } - + /// - /// + /// Adds a related issue to a project repository in Redmine based on the specified parameters. /// - /// - /// - /// - /// - /// - public static void ProjectRepositoryAddRelatedIssue(this RedmineManager redmineManager, string projectIdentifier, string repositoryIdentifier, string revision, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to manage the API requests. + /// The unique identifier of the project to which the repository belongs. + /// The unique identifier of the repository within the project. + /// The revision or commit ID to relate the issue to. + /// Additional request options to include in the API call. + public static void ProjectRepositoryAddRelatedIssue(this RedmineManager redmineManager, + string projectIdentifier, string repositoryIdentifier, string revision, + RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.ProjectRepositoryAddRelatedIssue(projectIdentifier, repositoryIdentifier, revision); @@ -116,15 +118,17 @@ public static void ProjectRepositoryAddRelatedIssue(this RedmineManager redmineM } /// - /// + /// Removes a related issue from the specified repository revision of a project in Redmine. /// - /// - /// - /// - /// - /// - /// - public static void ProjectRepositoryRemoveRelatedIssue(this RedmineManager redmineManager, string projectIdentifier, string repositoryIdentifier, string revision, string issueIdentifier, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to manage the API requests. + /// The unique identifier of the project containing the repository. + /// The unique identifier of the repository from which the related issue will be removed. + /// The specific revision of the repository to disassociate the issue from. + /// The unique identifier of the issue to be removed as related. + /// Additional request options to include in the API call. + public static void ProjectRepositoryRemoveRelatedIssue(this RedmineManager redmineManager, + string projectIdentifier, string repositoryIdentifier, string revision, string issueIdentifier, + RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.ProjectRepositoryRemoveRelatedIssue(projectIdentifier, repositoryIdentifier, revision, issueIdentifier); @@ -132,15 +136,16 @@ public static void ProjectRepositoryRemoveRelatedIssue(this RedmineManager redmi _ = redmineManager.ApiClient.Delete(escapedUri, requestOptions); } - + /// - /// + /// Retrieves a paginated list of news for a specific project in Redmine. /// - /// - /// - /// - /// - public static PagedResults GetProjectNews(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to manage the API requests. + /// The unique identifier of the project for which news is being retrieved. + /// Additional request options to include in the API call, if any. + /// A paginated list of news items associated with the specified project. + public static PagedResults GetProjectNews(this RedmineManager redmineManager, string projectIdentifier, + RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.ProjectNews(projectIdentifier); @@ -152,15 +157,16 @@ public static PagedResults GetProjectNews(this RedmineManager redmineManag } /// - /// + /// Adds a news item to a project in Redmine based on the specified project identifier. /// - /// - /// - /// - /// - /// - /// - public static News AddProjectNews(this RedmineManager redmineManager, string projectIdentifier, News news, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to manage the API requests. + /// The unique identifier of the project to which the news will be added. + /// The news item to be added to the project, which must contain a valid title. + /// Additional request options to include in the API call. + /// The created news item as a response from the Redmine server. + /// Thrown when the provided news object is null or the news title is blank. + public static News AddProjectNews(this RedmineManager redmineManager, string projectIdentifier, News news, + RequestOptions requestOptions = null) { if (news == null) { @@ -184,14 +190,15 @@ public static News AddProjectNews(this RedmineManager redmineManager, string pro } /// - /// + /// Retrieves the memberships associated with the specified project in Redmine. /// - /// - /// - /// - /// - /// - public static PagedResults GetProjectMemberships(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to manage the API requests. + /// The unique identifier of the project for which memberships are being retrieved. + /// Additional request options to include in the API call, such as pagination or filters. + /// Returns a paginated collection of project memberships for the specified project. + /// Thrown when the API request fails or an error occurs during execution. + public static PagedResults GetProjectMemberships(this RedmineManager redmineManager, + string projectIdentifier, RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.ProjectMemberships(projectIdentifier); @@ -201,14 +208,15 @@ public static PagedResults GetProjectMemberships(this Redmine } /// - /// + /// Retrieves the list of files associated with a specific project in Redmine. /// - /// - /// - /// - /// - /// - public static PagedResults GetProjectFiles(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to manage the API requests. + /// The unique identifier of the project whose files are being retrieved. + /// Additional request options to include in the API call. + /// A paginated result containing the list of files associated with the project. + /// Thrown when the API request fails or returns an error response. + public static PagedResults GetProjectFiles(this RedmineManager redmineManager, string projectIdentifier, + RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.ProjectFilesFragment(projectIdentifier); @@ -220,9 +228,9 @@ public static PagedResults GetProjectFiles(this RedmineManager redmineMana /// /// Returns the user whose credentials are used to access the API. /// - /// - /// - /// + /// The instance of the RedmineManager used to manage the API requests. + /// Additional request options to include in the API call. + /// The authenticated user as a object. public static User GetCurrentUser(this RedmineManager redmineManager, RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.CurrentUser(); @@ -231,11 +239,13 @@ public static User GetCurrentUser(this RedmineManager redmineManager, RequestOpt return response.DeserializeTo(redmineManager.Serializer); } - + /// - /// + /// Retrieves the account details of the currently authenticated user. /// - /// Returns the my account details. + /// The instance of the RedmineManager used to perform the API call. + /// Optional configuration for the API request. + /// Returns the account details of the authenticated user as a MyAccount object. public static MyAccount GetMyAccount(this RedmineManager redmineManager, RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.MyAccount(); @@ -246,13 +256,14 @@ public static MyAccount GetMyAccount(this RedmineManager redmineManager, Request } /// - /// Adds the watcher to issue. + /// Adds a watcher to a specific issue in Redmine using the specified issue ID and user ID. /// - /// - /// The issue identifier. - /// The user identifier. - /// - public static void AddWatcherToIssue(this RedmineManager redmineManager, int issueId, int userId, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to manage the API requests. + /// The unique identifier of the issue to which the watcher will be added. + /// The unique identifier of the user to be added as a watcher. + /// Additional request options to include in the API call. + public static void AddWatcherToIssue(this RedmineManager redmineManager, int issueId, int userId, + RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.IssueWatcherAdd(issueId.ToString(CultureInfo.InvariantCulture)); @@ -262,13 +273,14 @@ public static void AddWatcherToIssue(this RedmineManager redmineManager, int iss } /// - /// Removes the watcher from issue. + /// Removes a watcher from a specific issue in Redmine based on the specified issue identifier and user identifier. /// - /// - /// The issue identifier. - /// The user identifier. - /// - public static void RemoveWatcherFromIssue(this RedmineManager redmineManager, int issueId, int userId, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to manage the API requests. + /// The unique identifier of the issue from which the watcher will be removed. + /// The unique identifier of the user to be removed as a watcher. + /// Additional request options to include in the API call. + public static void RemoveWatcherFromIssue(this RedmineManager redmineManager, int issueId, int userId, + RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.IssueWatcherRemove(issueId.ToString(CultureInfo.InvariantCulture), userId.ToString(CultureInfo.InvariantCulture)); @@ -276,13 +288,14 @@ public static void RemoveWatcherFromIssue(this RedmineManager redmineManager, in } /// - /// Adds an existing user to a group. + /// Adds a user to a specified group in Redmine. /// - /// - /// The group id. - /// The user id. - /// - public static void AddUserToGroup(this RedmineManager redmineManager, int groupId, int userId, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to manage API requests. + /// The unique identifier of the group to which the user will be added. + /// The unique identifier of the user to be added to the group. + /// Additional request options to include in the API call. + public static void AddUserToGroup(this RedmineManager redmineManager, int groupId, int userId, + RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.GroupUserAdd(groupId.ToString(CultureInfo.InvariantCulture)); @@ -292,13 +305,14 @@ public static void AddUserToGroup(this RedmineManager redmineManager, int groupI } /// - /// Removes an user from a group. + /// Removes a user from a specified group in Redmine. /// - /// - /// The group id. - /// The user id. - /// - public static void RemoveUserFromGroup(this RedmineManager redmineManager, int groupId, int userId, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to manage API requests. + /// The unique identifier of the group from which the user will be removed. + /// The unique identifier of the user to be removed from the group. + /// Additional request options to customize the API call. + public static void RemoveUserFromGroup(this RedmineManager redmineManager, int groupId, int userId, + RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.GroupUserRemove(groupId.ToString(CultureInfo.InvariantCulture), userId.ToString(CultureInfo.InvariantCulture)); @@ -306,15 +320,15 @@ public static void RemoveUserFromGroup(this RedmineManager redmineManager, int g } /// - /// Creates or updates a wiki page. + /// Updates a specified wiki page for a project in Redmine. /// - /// - /// The project id or identifier. - /// The wiki page name. - /// The wiki page to create or update. - /// - /// - public static void UpdateWikiPage(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to process the request. + /// The unique identifier of the project containing the wiki page. + /// The name of the wiki page to be updated. + /// The WikiPage object containing the updated data for the page. + /// Optional parameters for customizing the API request. + public static void UpdateWikiPage(this RedmineManager redmineManager, string projectId, string pageName, + WikiPage wikiPage, RequestOptions requestOptions = null) { var payload = redmineManager.Serializer.Serialize(wikiPage); @@ -331,15 +345,17 @@ public static void UpdateWikiPage(this RedmineManager redmineManager, string pro } /// - /// + /// Creates a new wiki page within a specified project in Redmine. /// - /// - /// - /// - /// - /// - /// - public static WikiPage CreateWikiPage(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to manage API requests. + /// The unique identifier of the project where the wiki page will be created. + /// The name of the new wiki page. + /// The WikiPage object containing the content and metadata for the new page. + /// Additional request options to include in the API call. + /// The created WikiPage object containing the details of the new wiki page. + /// Thrown when the request payload is empty or if the API request fails. + public static WikiPage CreateWikiPage(this RedmineManager redmineManager, string projectId, string pageName, + WikiPage wikiPage, RequestOptions requestOptions = null) { var payload = redmineManager.Serializer.Serialize(wikiPage); @@ -358,15 +374,16 @@ public static WikiPage CreateWikiPage(this RedmineManager redmineManager, string } /// - /// Gets the wiki page. + /// Retrieves a wiki page from a Redmine project using the specified project identifier and page name. /// - /// - /// The project identifier. - /// Name of the page. - /// - /// The version. - /// - public static WikiPage GetWikiPage(this RedmineManager redmineManager, string projectId, string pageName, RequestOptions requestOptions = null, uint version = 0) + /// The instance of the RedmineManager responsible for managing API requests. + /// The unique identifier of the project containing the wiki page. + /// The name of the wiki page to retrieve. + /// Additional options to include in the API request, such as headers or query parameters. + /// The specific version of the wiki page to retrieve. If 0, the latest version is retrieved. + /// A WikiPage object containing the details of the requested wiki page. + public static WikiPage GetWikiPage(this RedmineManager redmineManager, string projectId, string pageName, + RequestOptions requestOptions = null, uint version = 0) { var uri = version == 0 ? redmineManager.RedmineApiUrls.ProjectWikiPage(projectId, pageName) @@ -380,13 +397,14 @@ public static WikiPage GetWikiPage(this RedmineManager redmineManager, string pr } /// - /// Returns the list of all pages in a project wiki. + /// Retrieves all wiki pages associated with the specified project. /// - /// - /// The project id or identifier. - /// - /// - public static List GetAllWikiPages(this RedmineManager redmineManager, string projectId, RequestOptions requestOptions = null) + /// The instance of the RedmineManager used to manage API requests. + /// The unique identifier of the project whose wiki pages are to be fetched. + /// Additional request options to include in the API call. + /// A list of wiki pages associated with the specified project. + public static List GetAllWikiPages(this RedmineManager redmineManager, string projectId, + RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.ProjectWikiIndex(projectId); @@ -399,10 +417,10 @@ public static List GetAllWikiPages(this RedmineManager redmineManager, /// Deletes a wiki page, its attachments and its history. If the deleted page is a parent page, its child pages are not /// deleted but changed as root pages. ///
- /// + /// The instance of the RedmineManager used to manage API requests. /// The project id or identifier. /// The wiki page name. - /// + /// Additional request options to include in the API call. public static void DeleteWikiPage(this RedmineManager redmineManager, string projectId, string pageName, RequestOptions requestOptions = null) { var uri = redmineManager.RedmineApiUrls.ProjectWikiPageDelete(projectId, pageName); @@ -418,7 +436,7 @@ public static void DeleteWikiPage(this RedmineManager redmineManager, string pro /// /// The issue identifier. /// The attachment. - /// + /// Additional request options to include in the API call. public static void UpdateIssueAttachment(this RedmineManager redmineManager, int issueId, Attachment attachment, RequestOptions requestOptions = null) { var attachments = new Attachments @@ -478,7 +496,7 @@ private static NameValueCollection CreateSearchParameters(string q, int limit, i ///
/// /// - /// + /// Additional request options to include in the API call. /// public static async Task ArchiveProjectAsync(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -494,7 +512,7 @@ public static async Task ArchiveProjectAsync(this RedmineManager redmineManager, ///
/// /// - /// + /// Additional request options to include in the API call. /// public static async Task UnarchiveProjectAsync(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -510,7 +528,7 @@ public static async Task UnarchiveProjectAsync(this RedmineManager redmineManage ///
/// /// - /// + /// Additional request options to include in the API call. /// public static async Task CloseProjectAsync(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -526,7 +544,7 @@ public static async Task CloseProjectAsync(this RedmineManager redmineManager, s ///
/// /// - /// + /// Additional request options to include in the API call. /// public static async Task ReopenProjectAsync(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -544,7 +562,7 @@ public static async Task ReopenProjectAsync(this RedmineManager redmineManager, /// /// /// - /// + /// Additional request options to include in the API call. /// public static async Task ProjectRepositoryAddRelatedIssueAsync(this RedmineManager redmineManager, string projectIdentifier, string repositoryIdentifier, string revision, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -563,7 +581,7 @@ public static async Task ProjectRepositoryAddRelatedIssueAsync(this RedmineManag /// /// /// - /// + /// Additional request options to include in the API call. /// public static async Task ProjectRepositoryRemoveRelatedIssueAsync(this RedmineManager redmineManager, string projectIdentifier, string repositoryIdentifier, string revision, string issueIdentifier, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { @@ -579,7 +597,7 @@ public static async Task ProjectRepositoryRemoveRelatedIssueAsync(this RedmineMa ///
/// /// - /// + /// Additional request options to include in the API call. /// /// public static async Task> GetProjectNewsAsync(this RedmineManager redmineManager, string projectIdentifier, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) @@ -599,7 +617,7 @@ public static async Task> GetProjectNewsAsync(this RedmineMan /// /// /// - /// + /// Additional request options to include in the API call. /// /// /// @@ -631,7 +649,7 @@ public static async Task AddProjectNewsAsync(this RedmineManager redmineMa ///
/// /// - /// + /// Additional request options to include in the API call. /// /// /// @@ -649,7 +667,7 @@ public static async Task> GetProjectMembershipsA ///
/// /// - /// + /// Additional request options to include in the API call. /// /// /// @@ -677,7 +695,7 @@ public static async Task> SearchAsync(this RedmineManager r { var parameters = CreateSearchParameters(q, limit, offset, searchFilter); - var response = await redmineManager.ApiClient.GetPagedAsync("", new RequestOptions() + var response = await redmineManager.ApiClient.GetPagedAsync(string.Empty, new RequestOptions() { QueryString = parameters }, cancellationToken).ConfigureAwait(false); @@ -689,7 +707,7 @@ public static async Task> SearchAsync(this RedmineManager r /// ///
/// - /// + /// Additional request options to include in the API call. /// /// public static async Task GetCurrentUserAsync(this RedmineManager redmineManager, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) @@ -708,7 +726,7 @@ public static async Task GetCurrentUserAsync(this RedmineManager redmineMa /// The project identifier. /// Name of the page. /// The wiki page. - /// + /// Additional request options to include in the API call. /// /// public static async Task CreateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) @@ -736,7 +754,7 @@ public static async Task CreateWikiPageAsync(this RedmineManager redmi /// The project identifier. /// Name of the page. /// The wiki page. - /// + /// Additional request options to include in the API call. /// /// public static async Task UpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) @@ -761,7 +779,7 @@ public static async Task UpdateWikiPageAsync(this RedmineManager redmineManager, /// The redmine manager. /// The project identifier. /// Name of the page. - /// + /// Additional request options to include in the API call. /// /// public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) @@ -779,7 +797,7 @@ public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, /// The redmine manager. /// The project identifier. /// Name of the page. - /// + /// Additional request options to include in the API call. /// The version. /// /// @@ -801,7 +819,7 @@ public static async Task GetWikiPageAsync(this RedmineManager redmineM ///
/// The redmine manager. /// The project identifier. - /// + /// Additional request options to include in the API call. /// /// public static async Task> GetAllWikiPagesAsync(this RedmineManager redmineManager, string projectId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) @@ -819,7 +837,7 @@ public static async Task> GetAllWikiPagesAsync(this RedmineManage /// The redmine manager. /// The group id. /// The user id. - /// + /// Additional request options to include in the API call. /// /// /// Returns the Guid associated with the async request. @@ -839,7 +857,7 @@ public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, /// The redmine manager. /// The group id. /// The user id. - /// + /// Additional request options to include in the API call. /// /// public static async Task RemoveUserFromGroupAsync(this RedmineManager redmineManager, int groupId, int userId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) @@ -855,7 +873,7 @@ public static async Task RemoveUserFromGroupAsync(this RedmineManager redmineMan /// The redmine manager. /// The issue identifier. /// The user identifier. - /// + /// Additional request options to include in the API call. /// /// public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManager, int issueId, int userId, RequestOptions requestOptions = null , CancellationToken cancellationToken = default) @@ -873,7 +891,7 @@ public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManag /// The redmine manager. /// The issue identifier. /// The user identifier. - /// + /// Additional request options to include in the API call. /// /// public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManager, int issueId, int userId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index d7b4d1a2..bdd34736 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -28,10 +28,10 @@ namespace Redmine.Net.Api.Extensions public static class StringExtensions { /// - /// + /// Determines whether a string is null, empty, or consists only of white-space characters. /// - /// - /// + /// The string to evaluate. + /// True if the string is null, empty, or whitespace; otherwise, false. public static bool IsNullOrWhiteSpace(this string value) { if (value == null) @@ -51,11 +51,11 @@ public static bool IsNullOrWhiteSpace(this string value) } /// - /// + /// Truncates a string to the specified maximum length if it exceeds that length. /// - /// - /// - /// + /// The string to truncate. + /// The maximum allowed length for the string. + /// The truncated string if its length exceeds the maximum length; otherwise, the original string. public static string Truncate(this string text, int maximumLength) { if (text.IsNullOrWhiteSpace() || maximumLength < 1 || text.Length <= maximumLength) @@ -107,6 +107,11 @@ internal static SecureString ToSecureString(this string value) return rv; } + /// + /// Removes the trailing slash ('/' or '\') from the end of the string if it exists. + /// + /// The string to process. + /// The input string without a trailing slash, or the original string if no trailing slash exists. internal static string RemoveTrailingSlash(this string s) { if (string.IsNullOrEmpty(s)) @@ -128,12 +133,24 @@ internal static string RemoveTrailingSlash(this string s) return s; } - + + /// + /// Returns the specified string value if it is neither null, empty, nor consists only of white-space characters; otherwise, returns the fallback string. + /// + /// The primary string value to evaluate. + /// The fallback string to return if the primary string is null, empty, or consists of only white-space characters. + /// The original string if it is valid; otherwise, the fallback string. internal static string ValueOrFallback(this string value, string fallback) { return !value.IsNullOrWhiteSpace() ? value : fallback; } - + + /// + /// Converts a value of a struct type to its invariant culture string representation. + /// + /// The struct type of the value. + /// The value to convert to a string. + /// The invariant culture string representation of the value. internal static string ToInvariantString(this T value) where T : struct { return value switch @@ -161,7 +178,13 @@ internal static string ToInvariantString(this T value) where T : struct private const string CR = "\r"; private const string LR = "\n"; private const string CRLR = $"{CR}{LR}"; - + + /// + /// Replaces all line endings in the input string with the specified replacement string. + /// + /// The string in which line endings will be replaced. + /// The string to replace line endings with. Defaults to a combination of carriage return and line feed. + /// The input string with all line endings replaced by the specified replacement string. internal static string ReplaceEndings(this string input, string replacement = CRLR) { if (input.IsNullOrWhiteSpace()) diff --git a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs index aadd7712..3b3c9f3d 100644 --- a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs +++ b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs @@ -191,7 +191,7 @@ public RedmineManagerOptionsBuilder WithVersion(Version version) } /// - /// + /// Gets or sets the version of the Redmine server to which this client will connect. /// public Version Version { get; set; } diff --git a/src/redmine-net-api/Serialization/RedmineSerializerFactory.cs b/src/redmine-net-api/Serialization/RedmineSerializerFactory.cs index a315ad44..6c71326e 100644 --- a/src/redmine-net-api/Serialization/RedmineSerializerFactory.cs +++ b/src/redmine-net-api/Serialization/RedmineSerializerFactory.cs @@ -15,6 +15,8 @@ limitations under the License. */ using System; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Xml; namespace Redmine.Net.Api.Serialization; @@ -23,6 +25,16 @@ namespace Redmine.Net.Api.Serialization; ///
internal static class RedmineSerializerFactory { + /// + /// Creates an instance of an IRedmineSerializer based on the specified serialization type. + /// + /// The type of serialization, either Xml or Json. + /// + /// An instance of a serializer that implements the IRedmineSerializer interface. + /// + /// + /// Thrown when the specified serialization type is not supported. + /// public static IRedmineSerializer CreateSerializer(SerializationType type) { return type switch diff --git a/src/redmine-net-api/Serialization/SerializationHelper.cs b/src/redmine-net-api/Serialization/SerializationHelper.cs index 225772aa..a43624c1 100644 --- a/src/redmine-net-api/Serialization/SerializationHelper.cs +++ b/src/redmine-net-api/Serialization/SerializationHelper.cs @@ -19,16 +19,20 @@ limitations under the License. namespace Redmine.Net.Api.Serialization { /// - /// + /// Provides helper methods for serializing user-related data for communication with the Redmine API. /// internal static class SerializationHelper { /// - /// + /// Serializes the user ID into a format suitable for communication with the Redmine API, + /// based on the specified serializer type. /// - /// - /// - /// + /// The ID of the user to be serialized. + /// The serializer used to format the user ID (e.g., XML or JSON). + /// A serialized representation of the user ID. + /// + /// Thrown when the provided serializer is not recognized or supported. + /// public static string SerializeUserId(int userId, IRedmineSerializer redmineSerializer) { return redmineSerializer is XmlRedmineSerializer diff --git a/src/redmine-net-api/Serialization/SerializationType.cs b/src/redmine-net-api/Serialization/SerializationType.cs index decd824c..3830d3fe 100644 --- a/src/redmine-net-api/Serialization/SerializationType.cs +++ b/src/redmine-net-api/Serialization/SerializationType.cs @@ -17,15 +17,17 @@ limitations under the License. namespace Redmine.Net.Api.Serialization { /// - /// + /// Specifies the serialization types supported by the Redmine API. /// public enum SerializationType { /// + /// The XML format. /// Xml, + /// - /// The json + /// The JSON format. /// Json } diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 91c5f2a1..3fe5eb27 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -56,7 +56,7 @@ public sealed class Issue : public IdentifiableName Tracker { get; set; } /// - /// Gets or sets the status.Possible values: open, closed, * to get open and closed issues, status id + /// Gets or sets the status. Possible values: open, closed, * to get open and closed issues, status id /// /// The status. public IssueStatus Status { get; set; } From ce6a5c1b10617edfb97a5a326260873e56395377 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:34:38 +0300 Subject: [PATCH 533/601] Version inherits from IdentifiableName instead of Identifiable --- src/redmine-net-api/Types/Version.cs | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 84f8ecd4..50b1f108 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -31,14 +31,9 @@ namespace Redmine.Net.Api.Types ///
[DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [XmlRoot(RedmineKeys.VERSION)] - public sealed class Version : Identifiable + public sealed class Version : IdentifiableName, IEquatable { #region Properties - /// - /// Gets or sets the name. - /// - public string Name { get; set; } - /// /// Gets the project. /// @@ -226,18 +221,18 @@ public override void WriteJson(JsonWriter writer) ///
/// /// - public override bool Equals(Version other) + public bool Equals(Version other) { if (other == null) return false; return base.Equals(other) && Project == other.Project && string.Equals(Description, other.Description, StringComparison.Ordinal) - && Status == other.Status - && DueDate == other.DueDate - && Sharing == other.Sharing - && CreatedOn == other.CreatedOn - && UpdatedOn == other.UpdatedOn - && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null) + && Status == other.Status + && DueDate == other.DueDate + && Sharing == other.Sharing + && CreatedOn == other.CreatedOn + && UpdatedOn == other.UpdatedOn + && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null) && string.Equals(WikiPageTitle,other.WikiPageTitle, StringComparison.Ordinal) && EstimatedHours == other.EstimatedHours && SpentHours == other.SpentHours; From 499c058458d06b1946f1c412594c50c2dae22f51 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:35:52 +0300 Subject: [PATCH 534/601] Improvements --- src/redmine-net-api/Types/Version.cs | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 50b1f108..2b828c3d 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -117,8 +117,18 @@ public override void ReadXml(XmlReader reader) case RedmineKeys.DUE_DATE: DueDate = reader.ReadElementContentAsNullableDateTime(); break; case RedmineKeys.NAME: Name = reader.ReadElementContentAsString(); break; case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; - case RedmineKeys.SHARING: Sharing = (VersionSharing)Enum.Parse(typeof(VersionSharing), reader.ReadElementContentAsString(), true); break; - case RedmineKeys.STATUS: Status = (VersionStatus)Enum.Parse(typeof(VersionStatus), reader.ReadElementContentAsString(), true); break; + case RedmineKeys.SHARING: Sharing = +#if NETFRAMEWORK + (VersionSharing)Enum.Parse(typeof(VersionSharing), reader.ReadElementContentAsString(), true); break; +#else + Enum.Parse(reader.ReadElementContentAsString(), true); break; +#endif + case RedmineKeys.STATUS: Status = +#if NETFRAMEWORK + (VersionStatus)Enum.Parse(typeof(VersionStatus), reader.ReadElementContentAsString(), true); break; +#else + Enum.Parse(reader.ReadElementContentAsString(), true); break; +#endif case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadElementContentAsNullableDateTime(); break; case RedmineKeys.WIKI_PAGE_TITLE: WikiPageTitle = reader.ReadElementContentAsString(); break; case RedmineKeys.ESTIMATED_HOURS: EstimatedHours = reader.ReadElementContentAsNullableFloat(); break; @@ -179,8 +189,18 @@ public override void ReadJson(JsonReader reader) case RedmineKeys.DUE_DATE: DueDate = reader.ReadAsDateTime(); break; case RedmineKeys.NAME: Name = reader.ReadAsString(); break; case RedmineKeys.PROJECT: Project = new IdentifiableName(reader); break; - case RedmineKeys.SHARING: Sharing = (VersionSharing)Enum.Parse(typeof(VersionSharing), reader.ReadAsString() ?? string.Empty, true); break; - case RedmineKeys.STATUS: Status = (VersionStatus)Enum.Parse(typeof(VersionStatus), reader.ReadAsString() ?? string.Empty, true); break; + case RedmineKeys.SHARING: Sharing = +#if NETFRAMEWORK + (VersionSharing)Enum.Parse(typeof(VersionSharing), reader.ReadAsString() ?? string.Empty, true); break; +#else + Enum.Parse(reader.ReadAsString() ?? string.Empty, true); break; +#endif + case RedmineKeys.STATUS: Status = +#if NETFRAMEWORK + (VersionStatus)Enum.Parse(typeof(VersionStatus), reader.ReadAsString() ?? string.Empty, true); break; +#else + Enum.Parse(reader.ReadAsString() ?? string.Empty, true); break; +#endif case RedmineKeys.UPDATED_ON: UpdatedOn = reader.ReadAsDateTime(); break; case RedmineKeys.WIKI_PAGE_TITLE: WikiPageTitle = reader.ReadAsString(); break; case RedmineKeys.ESTIMATED_HOURS: EstimatedHours = (float?)reader.ReadAsDouble(); break; From 6bfcc64c83c8750f74f32a22449d68ce43c16656 Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:39:59 +0300 Subject: [PATCH 535/601] Remove unused directives --- tests/redmine-net-api.Tests/Bugs/RedmineApi-229.cs | 1 - tests/redmine-net-api.Tests/Clone/AttachmentCloneTests.cs | 1 - tests/redmine-net-api.Tests/Clone/IssueCloneTests.cs | 1 - tests/redmine-net-api.Tests/Clone/JournalCloneTests.cs | 2 -- .../redmine-net-api.Tests/Equality/AttachmentEqualityTests.cs | 2 -- tests/redmine-net-api.Tests/Equality/BaseEqualityTests.cs | 1 - tests/redmine-net-api.Tests/Equality/IssueEqualityTests.cs | 1 - tests/redmine-net-api.Tests/Equality/JournalEqualityTests.cs | 2 -- tests/redmine-net-api.Tests/Equality/MyAccountTests.cs | 1 - tests/redmine-net-api.Tests/Equality/NewsTests.cs | 1 - tests/redmine-net-api.Tests/Equality/ProjectTests.cs | 1 - tests/redmine-net-api.Tests/Equality/SearchTests.cs | 1 - tests/redmine-net-api.Tests/Equality/TimeEntryTests.cs | 1 - tests/redmine-net-api.Tests/Equality/UserTests.cs | 1 - tests/redmine-net-api.Tests/Equality/VersionTests.cs | 1 - tests/redmine-net-api.Tests/Equality/WikiPageTests.cs | 1 - tests/redmine-net-api.Tests/Infrastructure/Order/CaseOrder.cs | 2 -- .../Infrastructure/Order/CollectionOrderer.cs | 3 --- .../Infrastructure/Order/OrderAttribute.cs | 2 -- .../Serialization/Json/AttachmentTests.cs | 1 - .../Serialization/Json/CustomFieldTests.cs | 1 - tests/redmine-net-api.Tests/Serialization/Json/IssuesTests.cs | 2 -- .../Serialization/Xml/AttachmentTests.cs | 1 - .../Serialization/Xml/CustomFieldTests.cs | 1 - .../Serialization/Xml/EnumerationTests.cs | 1 - tests/redmine-net-api.Tests/Serialization/Xml/ErrorTests.cs | 1 - tests/redmine-net-api.Tests/Serialization/Xml/FileTests.cs | 4 +--- tests/redmine-net-api.Tests/Serialization/Xml/GroupTests.cs | 2 -- .../Serialization/Xml/IssueCategoryTests.cs | 2 -- .../Serialization/Xml/IssueStatusTests.cs | 1 - tests/redmine-net-api.Tests/Serialization/Xml/IssueTests.cs | 2 -- .../Serialization/Xml/MembershipTests.cs | 1 - tests/redmine-net-api.Tests/Serialization/Xml/NewsTests.cs | 2 -- tests/redmine-net-api.Tests/Serialization/Xml/ProjectTests.cs | 2 -- tests/redmine-net-api.Tests/Serialization/Xml/QueryTests.cs | 1 - .../redmine-net-api.Tests/Serialization/Xml/RelationTests.cs | 1 - tests/redmine-net-api.Tests/Serialization/Xml/RoleTests.cs | 1 - tests/redmine-net-api.Tests/Serialization/Xml/SearchTests.cs | 2 -- tests/redmine-net-api.Tests/Serialization/Xml/TrackerTests.cs | 1 - tests/redmine-net-api.Tests/Serialization/Xml/UploadTests.cs | 1 - tests/redmine-net-api.Tests/Serialization/Xml/UserTests.cs | 3 --- tests/redmine-net-api.Tests/Serialization/Xml/VersionTests.cs | 2 -- tests/redmine-net-api.Tests/Serialization/Xml/WikiTests.cs | 2 -- tests/redmine-net-api.Tests/TestHelper.cs | 4 +--- tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs | 2 +- 45 files changed, 3 insertions(+), 67 deletions(-) diff --git a/tests/redmine-net-api.Tests/Bugs/RedmineApi-229.cs b/tests/redmine-net-api.Tests/Bugs/RedmineApi-229.cs index 64ae736a..2c6bb2b8 100644 --- a/tests/redmine-net-api.Tests/Bugs/RedmineApi-229.cs +++ b/tests/redmine-net-api.Tests/Bugs/RedmineApi-229.cs @@ -1,4 +1,3 @@ -using System; using Redmine.Net.Api.Types; using Xunit; diff --git a/tests/redmine-net-api.Tests/Clone/AttachmentCloneTests.cs b/tests/redmine-net-api.Tests/Clone/AttachmentCloneTests.cs index dc8a2830..13990f54 100644 --- a/tests/redmine-net-api.Tests/Clone/AttachmentCloneTests.cs +++ b/tests/redmine-net-api.Tests/Clone/AttachmentCloneTests.cs @@ -1,4 +1,3 @@ -using System; using Redmine.Net.Api.Types; using Xunit; diff --git a/tests/redmine-net-api.Tests/Clone/IssueCloneTests.cs b/tests/redmine-net-api.Tests/Clone/IssueCloneTests.cs index 0d0b82fa..f41bcd2a 100644 --- a/tests/redmine-net-api.Tests/Clone/IssueCloneTests.cs +++ b/tests/redmine-net-api.Tests/Clone/IssueCloneTests.cs @@ -1,4 +1,3 @@ -using System; using Redmine.Net.Api.Types; using Xunit; diff --git a/tests/redmine-net-api.Tests/Clone/JournalCloneTests.cs b/tests/redmine-net-api.Tests/Clone/JournalCloneTests.cs index 37440f6e..a6c11719 100644 --- a/tests/redmine-net-api.Tests/Clone/JournalCloneTests.cs +++ b/tests/redmine-net-api.Tests/Clone/JournalCloneTests.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Redmine.Net.Api.Types; using Xunit; diff --git a/tests/redmine-net-api.Tests/Equality/AttachmentEqualityTests.cs b/tests/redmine-net-api.Tests/Equality/AttachmentEqualityTests.cs index 6cc72dd1..c604f699 100644 --- a/tests/redmine-net-api.Tests/Equality/AttachmentEqualityTests.cs +++ b/tests/redmine-net-api.Tests/Equality/AttachmentEqualityTests.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Redmine.Net.Api.Types; using Xunit; diff --git a/tests/redmine-net-api.Tests/Equality/BaseEqualityTests.cs b/tests/redmine-net-api.Tests/Equality/BaseEqualityTests.cs index 5ff00d44..e6d8672f 100644 --- a/tests/redmine-net-api.Tests/Equality/BaseEqualityTests.cs +++ b/tests/redmine-net-api.Tests/Equality/BaseEqualityTests.cs @@ -1,4 +1,3 @@ -using System; using Xunit; namespace Padi.DotNet.RedmineAPI.Tests.Equality; diff --git a/tests/redmine-net-api.Tests/Equality/IssueEqualityTests.cs b/tests/redmine-net-api.Tests/Equality/IssueEqualityTests.cs index 5060aece..2d137336 100644 --- a/tests/redmine-net-api.Tests/Equality/IssueEqualityTests.cs +++ b/tests/redmine-net-api.Tests/Equality/IssueEqualityTests.cs @@ -1,4 +1,3 @@ -using System; using Redmine.Net.Api.Types; using Xunit; diff --git a/tests/redmine-net-api.Tests/Equality/JournalEqualityTests.cs b/tests/redmine-net-api.Tests/Equality/JournalEqualityTests.cs index 16f2a073..c0ea67d4 100644 --- a/tests/redmine-net-api.Tests/Equality/JournalEqualityTests.cs +++ b/tests/redmine-net-api.Tests/Equality/JournalEqualityTests.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Redmine.Net.Api.Types; using Xunit; diff --git a/tests/redmine-net-api.Tests/Equality/MyAccountTests.cs b/tests/redmine-net-api.Tests/Equality/MyAccountTests.cs index 6c0fad96..f098f5f2 100644 --- a/tests/redmine-net-api.Tests/Equality/MyAccountTests.cs +++ b/tests/redmine-net-api.Tests/Equality/MyAccountTests.cs @@ -1,4 +1,3 @@ -using System; using Redmine.Net.Api.Types; namespace Padi.DotNet.RedmineAPI.Tests.Equality; diff --git a/tests/redmine-net-api.Tests/Equality/NewsTests.cs b/tests/redmine-net-api.Tests/Equality/NewsTests.cs index 953775ea..0851518c 100644 --- a/tests/redmine-net-api.Tests/Equality/NewsTests.cs +++ b/tests/redmine-net-api.Tests/Equality/NewsTests.cs @@ -1,4 +1,3 @@ -using System; using Redmine.Net.Api.Types; namespace Padi.DotNet.RedmineAPI.Tests.Equality; diff --git a/tests/redmine-net-api.Tests/Equality/ProjectTests.cs b/tests/redmine-net-api.Tests/Equality/ProjectTests.cs index 2f2ce5a6..a8aff18a 100644 --- a/tests/redmine-net-api.Tests/Equality/ProjectTests.cs +++ b/tests/redmine-net-api.Tests/Equality/ProjectTests.cs @@ -1,4 +1,3 @@ -using System; using Redmine.Net.Api.Types; namespace Padi.DotNet.RedmineAPI.Tests.Equality; diff --git a/tests/redmine-net-api.Tests/Equality/SearchTests.cs b/tests/redmine-net-api.Tests/Equality/SearchTests.cs index 4962b131..2f5f0707 100644 --- a/tests/redmine-net-api.Tests/Equality/SearchTests.cs +++ b/tests/redmine-net-api.Tests/Equality/SearchTests.cs @@ -1,4 +1,3 @@ -using System; using Redmine.Net.Api.Types; namespace Padi.DotNet.RedmineAPI.Tests.Equality; diff --git a/tests/redmine-net-api.Tests/Equality/TimeEntryTests.cs b/tests/redmine-net-api.Tests/Equality/TimeEntryTests.cs index 6e1c3426..445358ff 100644 --- a/tests/redmine-net-api.Tests/Equality/TimeEntryTests.cs +++ b/tests/redmine-net-api.Tests/Equality/TimeEntryTests.cs @@ -1,4 +1,3 @@ -using System; using Redmine.Net.Api.Types; namespace Padi.DotNet.RedmineAPI.Tests.Equality; diff --git a/tests/redmine-net-api.Tests/Equality/UserTests.cs b/tests/redmine-net-api.Tests/Equality/UserTests.cs index ffc52415..018163ec 100644 --- a/tests/redmine-net-api.Tests/Equality/UserTests.cs +++ b/tests/redmine-net-api.Tests/Equality/UserTests.cs @@ -1,4 +1,3 @@ -using System; using Redmine.Net.Api.Types; namespace Padi.DotNet.RedmineAPI.Tests.Equality; diff --git a/tests/redmine-net-api.Tests/Equality/VersionTests.cs b/tests/redmine-net-api.Tests/Equality/VersionTests.cs index 5d3e06cc..786d82b8 100644 --- a/tests/redmine-net-api.Tests/Equality/VersionTests.cs +++ b/tests/redmine-net-api.Tests/Equality/VersionTests.cs @@ -1,4 +1,3 @@ -using System; using Redmine.Net.Api.Types; using Version = Redmine.Net.Api.Types.Version; diff --git a/tests/redmine-net-api.Tests/Equality/WikiPageTests.cs b/tests/redmine-net-api.Tests/Equality/WikiPageTests.cs index 6462f7e6..39284d57 100644 --- a/tests/redmine-net-api.Tests/Equality/WikiPageTests.cs +++ b/tests/redmine-net-api.Tests/Equality/WikiPageTests.cs @@ -1,4 +1,3 @@ -using System; using Redmine.Net.Api.Types; namespace Padi.DotNet.RedmineAPI.Tests.Equality; diff --git a/tests/redmine-net-api.Tests/Infrastructure/Order/CaseOrder.cs b/tests/redmine-net-api.Tests/Infrastructure/Order/CaseOrder.cs index 97ddb56a..b0f8f375 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/Order/CaseOrder.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/Order/CaseOrder.cs @@ -1,7 +1,5 @@ #if !(NET20 || NET40) using System.Collections.Concurrent; -using System.Collections.Generic; -using System.Linq; using System.Reflection; using Xunit.Abstractions; using Xunit.Sdk; diff --git a/tests/redmine-net-api.Tests/Infrastructure/Order/CollectionOrderer.cs b/tests/redmine-net-api.Tests/Infrastructure/Order/CollectionOrderer.cs index ae7b01da..b1ad5a08 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/Order/CollectionOrderer.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/Order/CollectionOrderer.cs @@ -1,8 +1,5 @@ #if !(NET20 || NET40) -using System; -using System.Collections.Generic; -using System.Linq; using System.Reflection; using Xunit; using Xunit.Abstractions; diff --git a/tests/redmine-net-api.Tests/Infrastructure/Order/OrderAttribute.cs b/tests/redmine-net-api.Tests/Infrastructure/Order/OrderAttribute.cs index c8f07627..1c7e08e7 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/Order/OrderAttribute.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/Order/OrderAttribute.cs @@ -1,5 +1,3 @@ -using System; - namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure.Order { public sealed class OrderAttribute : Attribute diff --git a/tests/redmine-net-api.Tests/Serialization/Json/AttachmentTests.cs b/tests/redmine-net-api.Tests/Serialization/Json/AttachmentTests.cs index 6cb7191d..bd34ff91 100644 --- a/tests/redmine-net-api.Tests/Serialization/Json/AttachmentTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Json/AttachmentTests.cs @@ -1,4 +1,3 @@ -using System; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Xunit; diff --git a/tests/redmine-net-api.Tests/Serialization/Json/CustomFieldTests.cs b/tests/redmine-net-api.Tests/Serialization/Json/CustomFieldTests.cs index 10d14dac..18366876 100644 --- a/tests/redmine-net-api.Tests/Serialization/Json/CustomFieldTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Json/CustomFieldTests.cs @@ -1,4 +1,3 @@ -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api.Types; diff --git a/tests/redmine-net-api.Tests/Serialization/Json/IssuesTests.cs b/tests/redmine-net-api.Tests/Serialization/Json/IssuesTests.cs index e1f9965c..adb73da7 100644 --- a/tests/redmine-net-api.Tests/Serialization/Json/IssuesTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Json/IssuesTests.cs @@ -1,5 +1,3 @@ -using System; -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Xunit; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/AttachmentTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/AttachmentTests.cs index 85caa2ae..9930b97d 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/AttachmentTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/AttachmentTests.cs @@ -1,4 +1,3 @@ -using System; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Xunit; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/CustomFieldTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/CustomFieldTests.cs index 0cb541a9..daa7a02d 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/CustomFieldTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/CustomFieldTests.cs @@ -1,4 +1,3 @@ -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api.Types; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/EnumerationTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/EnumerationTests.cs index 2d870e8c..3c0a6740 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/EnumerationTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/EnumerationTests.cs @@ -1,4 +1,3 @@ -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api.Types; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/ErrorTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/ErrorTests.cs index c5e447a5..a40bd64a 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/ErrorTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/ErrorTests.cs @@ -1,4 +1,3 @@ -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api.Types; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/FileTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/FileTests.cs index 72fbd208..1adc3c59 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/FileTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/FileTests.cs @@ -1,9 +1,7 @@ -using System; -using System.Collections.Generic; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; -using Redmine.Net.Api.Types; using Xunit; +using File = Redmine.Net.Api.Types.File; namespace Padi.DotNet.RedmineAPI.Tests.Serialization.Xml; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/GroupTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/GroupTests.cs index 3e057eac..d563fb41 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/GroupTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/GroupTests.cs @@ -1,5 +1,3 @@ -using System.Collections.Generic; -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api.Types; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/IssueCategoryTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/IssueCategoryTests.cs index 9bf24bdb..3b658f55 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/IssueCategoryTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/IssueCategoryTests.cs @@ -1,5 +1,3 @@ -using System.Collections.Generic; -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Xunit; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/IssueStatusTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/IssueStatusTests.cs index 8e699d0b..58daceca 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/IssueStatusTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/IssueStatusTests.cs @@ -1,4 +1,3 @@ -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Xunit; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/IssueTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/IssueTests.cs index 6791587c..a423b713 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/IssueTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/IssueTests.cs @@ -1,5 +1,3 @@ -using System; -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Xunit; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/MembershipTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/MembershipTests.cs index 9bede534..59aab9b9 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/MembershipTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/MembershipTests.cs @@ -1,4 +1,3 @@ -using System.Collections.Generic; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api.Types; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/NewsTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/NewsTests.cs index 0b29de40..93ebe8d3 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/NewsTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/NewsTests.cs @@ -1,5 +1,3 @@ -using System; -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Xunit; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/ProjectTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/ProjectTests.cs index fd0072c7..fa1a9f44 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/ProjectTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/ProjectTests.cs @@ -1,5 +1,3 @@ -using System; -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Xunit; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/QueryTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/QueryTests.cs index 5927739a..9e830935 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/QueryTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/QueryTests.cs @@ -1,4 +1,3 @@ -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Xunit; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/RelationTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/RelationTests.cs index f06be8ac..cc9ecd5b 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/RelationTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/RelationTests.cs @@ -1,4 +1,3 @@ -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api.Types; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/RoleTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/RoleTests.cs index 7d695ef5..2790bc89 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/RoleTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/RoleTests.cs @@ -1,4 +1,3 @@ -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api.Types; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/SearchTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/SearchTests.cs index 5c60001f..928cd089 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/SearchTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/SearchTests.cs @@ -1,5 +1,3 @@ -using System; -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api.Types; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/TrackerTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/TrackerTests.cs index a61410cb..4d39faa8 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/TrackerTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/TrackerTests.cs @@ -1,4 +1,3 @@ -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api.Types; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/UploadTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/UploadTests.cs index ff191c89..b9693b1a 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/UploadTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/UploadTests.cs @@ -1,4 +1,3 @@ -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Xunit; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/UserTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/UserTests.cs index e24b0a57..39f31e9a 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/UserTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/UserTests.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections; -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api.Types; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/VersionTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/VersionTests.cs index 860e1a93..28b7c3b2 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/VersionTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/VersionTests.cs @@ -1,5 +1,3 @@ -using System; -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api.Types; diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/WikiTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/WikiTests.cs index 768ffde0..b5d3a275 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/WikiTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/WikiTests.cs @@ -1,5 +1,3 @@ -using System; -using System.Linq; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Xunit; diff --git a/tests/redmine-net-api.Tests/TestHelper.cs b/tests/redmine-net-api.Tests/TestHelper.cs index fbc1995f..3e466bad 100644 --- a/tests/redmine-net-api.Tests/TestHelper.cs +++ b/tests/redmine-net-api.Tests/TestHelper.cs @@ -1,6 +1,4 @@ -using System; -using System.IO; -using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.Configuration; using Padi.DotNet.RedmineAPI.Tests.Infrastructure; namespace Padi.DotNet.RedmineAPI.Tests diff --git a/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs b/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs index 8b0121bb..ff358497 100644 --- a/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs +++ b/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs @@ -1,10 +1,10 @@ -using System; using System.Collections.Specialized; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Net; using Redmine.Net.Api.Types; using Xunit; +using File = Redmine.Net.Api.Types.File; using Version = Redmine.Net.Api.Types.Version; From 951fc814408eafc7685f81bfd08f236f463c213c Mon Sep 17 00:00:00 2001 From: Padi Date: Sun, 11 May 2025 15:41:23 +0300 Subject: [PATCH 536/601] Replace magic strings with constants --- src/redmine-net-api/RedmineConstants.cs | 5 +++++ .../Serialization/Json/JsonRedmineSerializer.cs | 4 ++-- .../Serialization/Xml/XmlRedmineSerializer.cs | 2 +- src/redmine-net-api/Types/IssueRelationType.cs | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/redmine-net-api/RedmineConstants.cs b/src/redmine-net-api/RedmineConstants.cs index f50a9cec..d2b963eb 100644 --- a/src/redmine-net-api/RedmineConstants.cs +++ b/src/redmine-net-api/RedmineConstants.cs @@ -57,5 +57,10 @@ public static class RedmineConstants /// ///
public const string XML = "xml"; + + /// + /// + /// + public const string JSON = "json"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs index f279abe3..f0319cdd 100644 --- a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs @@ -135,9 +135,9 @@ internal sealed class JsonRedmineSerializer : IRedmineSerializer } #pragma warning restore CA1822 - public string Format { get; } = "json"; + public string Format { get; } = RedmineConstants.JSON; - public string ContentType { get; } = "application/json"; + public string ContentType { get; } = RedmineConstants.CONTENT_TYPE_APPLICATION_JSON; public string Serialize(T entity) where T : class { diff --git a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs index 134fac5f..84772404 100644 --- a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs @@ -80,7 +80,7 @@ public XmlRedmineSerializer(XmlWriterSettings xmlWriterSettings) public string Format => RedmineConstants.XML; - public string ContentType { get; } = "application/xml"; + public string ContentType { get; } = RedmineConstants.CONTENT_TYPE_APPLICATION_XML; public string Serialize(T entity) where T : class { diff --git a/src/redmine-net-api/Types/IssueRelationType.cs b/src/redmine-net-api/Types/IssueRelationType.cs index fff16392..01d06292 100644 --- a/src/redmine-net-api/Types/IssueRelationType.cs +++ b/src/redmine-net-api/Types/IssueRelationType.cs @@ -68,13 +68,13 @@ public enum IssueRelationType /// ///
- [XmlEnum("copied_to")] + [XmlEnum(RedmineKeys.COPIED_TO)] CopiedTo, /// /// /// - [XmlEnum("copied_from")] + [XmlEnum(RedmineKeys.COPIED_FROM)] CopiedFrom } } \ No newline at end of file From 3e69eaab0abc9c650fc1f43b78dfe6d934179170 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:08:05 +0300 Subject: [PATCH 537/601] Rename extension --- ...Extensions.cs => IEnumerableExtensions.cs} | 32 +++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) rename src/redmine-net-api/Extensions/{EnumerableExtensions.cs => IEnumerableExtensions.cs} (50%) diff --git a/src/redmine-net-api/Extensions/EnumerableExtensions.cs b/src/redmine-net-api/Extensions/IEnumerableExtensions.cs similarity index 50% rename from src/redmine-net-api/Extensions/EnumerableExtensions.cs rename to src/redmine-net-api/Extensions/IEnumerableExtensions.cs index e5ae149f..98d9b355 100644 --- a/src/redmine-net-api/Extensions/EnumerableExtensions.cs +++ b/src/redmine-net-api/Extensions/IEnumerableExtensions.cs @@ -1,12 +1,14 @@ +using System; using System.Collections.Generic; using System.Text; +using Redmine.Net.Api.Common; namespace Redmine.Net.Api.Extensions; /// /// Provides extension methods for IEnumerable types. /// -public static class EnumerableExtensions +public static class IEnumerableExtensions { /// /// Converts a collection of objects into a string representation with each item separated by a comma @@ -18,7 +20,7 @@ public static class EnumerableExtensions /// Returns a string containing all the items from the collection, separated by commas and /// enclosed within curly braces. Returns null if the collection is null. /// - public static string Dump(this IEnumerable collection) where TIn : class + internal static string Dump(this IEnumerable collection) where TIn : class { if (collection == null) { @@ -44,4 +46,30 @@ public static string Dump(this IEnumerable collection) where TIn : cla return str; } + + /// + /// Returns the index of the first item in the sequence that satisfies the predicate. If no item satisfies the predicate, -1 is returned. + /// + /// The type of objects in the . + /// in which to search. + /// Function performed to check whether an item satisfies the condition. + /// Return the zero-based index of the first occurrence of an element that satisfies the condition, if found; otherwise, -1. + internal static int IndexOf(this IEnumerable source, Func predicate) + { + ArgumentVerifier.ThrowIfNull(predicate, nameof(predicate)); + + var index = 0; + + foreach (var item in source) + { + if (predicate(item)) + { + return index; + } + + index++; + } + + return -1; + } } \ No newline at end of file From 368ec165e25cc3b657aa1356a4f9ccce02aaed5f Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:13:55 +0300 Subject: [PATCH 538/601] Replace ToString(CultureInfo.InvariantCulture) with ToInvariantString() --- .../Extensions/RedmineManagerExtensions.cs | 26 +++++++++---------- .../NameValueCollectionExtensions.cs | 6 ++--- src/redmine-net-api/RedmineManager.cs | 4 +-- .../Json/Extensions/JsonWriterExtensions.cs | 6 ++--- .../Serialization/Xml/CacheKeyFactory.cs | 5 ++-- .../Xml/Extensions/XmlWriterExtensions.cs | 8 +++--- src/redmine-net-api/Types/Attachments.cs | 3 ++- src/redmine-net-api/Types/GroupUser.cs | 2 +- src/redmine-net-api/Types/IdentifiableName.cs | 2 +- src/redmine-net-api/Types/Issue.cs | 6 ++--- src/redmine-net-api/Types/IssueCustomField.cs | 4 +-- src/redmine-net-api/Types/MembershipRole.cs | 4 +-- src/redmine-net-api/Types/ProjectTracker.cs | 2 +- src/redmine-net-api/Types/Watcher.cs | 3 ++- .../_net20/RedmineManagerAsyncObsolete.cs | 4 +-- 15 files changed, 44 insertions(+), 41 deletions(-) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index 20d600a9..d7ff6113 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -265,7 +265,7 @@ public static MyAccount GetMyAccount(this RedmineManager redmineManager, Request public static void AddWatcherToIssue(this RedmineManager redmineManager, int issueId, int userId, RequestOptions requestOptions = null) { - var uri = redmineManager.RedmineApiUrls.IssueWatcherAdd(issueId.ToString(CultureInfo.InvariantCulture)); + var uri = redmineManager.RedmineApiUrls.IssueWatcherAdd(issueId.ToInvariantString()); var payload = SerializationHelper.SerializeUserId(userId, redmineManager.Serializer); @@ -282,7 +282,7 @@ public static void AddWatcherToIssue(this RedmineManager redmineManager, int iss public static void RemoveWatcherFromIssue(this RedmineManager redmineManager, int issueId, int userId, RequestOptions requestOptions = null) { - var uri = redmineManager.RedmineApiUrls.IssueWatcherRemove(issueId.ToString(CultureInfo.InvariantCulture), userId.ToString(CultureInfo.InvariantCulture)); + var uri = redmineManager.RedmineApiUrls.IssueWatcherRemove(issueId.ToInvariantString(), userId.ToInvariantString()); redmineManager.ApiClient.Delete(uri, requestOptions); } @@ -297,7 +297,7 @@ public static void RemoveWatcherFromIssue(this RedmineManager redmineManager, in public static void AddUserToGroup(this RedmineManager redmineManager, int groupId, int userId, RequestOptions requestOptions = null) { - var uri = redmineManager.RedmineApiUrls.GroupUserAdd(groupId.ToString(CultureInfo.InvariantCulture)); + var uri = redmineManager.RedmineApiUrls.GroupUserAdd(groupId.ToInvariantString()); var payload = SerializationHelper.SerializeUserId(userId, redmineManager.Serializer); @@ -314,7 +314,7 @@ public static void AddUserToGroup(this RedmineManager redmineManager, int groupI public static void RemoveUserFromGroup(this RedmineManager redmineManager, int groupId, int userId, RequestOptions requestOptions = null) { - var uri = redmineManager.RedmineApiUrls.GroupUserRemove(groupId.ToString(CultureInfo.InvariantCulture), userId.ToString(CultureInfo.InvariantCulture)); + var uri = redmineManager.RedmineApiUrls.GroupUserRemove(groupId.ToInvariantString(), userId.ToInvariantString()); redmineManager.ApiClient.Delete(uri, requestOptions); } @@ -387,7 +387,7 @@ public static WikiPage GetWikiPage(this RedmineManager redmineManager, string pr { var uri = version == 0 ? redmineManager.RedmineApiUrls.ProjectWikiPage(projectId, pageName) - : redmineManager.RedmineApiUrls.ProjectWikiPageVersion(projectId, pageName, version.ToString(CultureInfo.InvariantCulture)); + : redmineManager.RedmineApiUrls.ProjectWikiPageVersion(projectId, pageName, version.ToInvariantString()); var escapedUri = Uri.EscapeDataString(uri); @@ -446,7 +446,7 @@ public static void UpdateIssueAttachment(this RedmineManager redmineManager, int var data = redmineManager.Serializer.Serialize(attachments); - var uri = redmineManager.RedmineApiUrls.AttachmentUpdate(issueId.ToString(CultureInfo.InvariantCulture)); + var uri = redmineManager.RedmineApiUrls.AttachmentUpdate(issueId.ToInvariantString()); redmineManager.ApiClient.Patch(uri, data, requestOptions); } @@ -482,8 +482,8 @@ private static NameValueCollection CreateSearchParameters(string q, int limit, i var parameters = new NameValueCollection { {RedmineKeys.Q, q}, - {RedmineKeys.LIMIT, limit.ToString(CultureInfo.InvariantCulture)}, - {RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)}, + {RedmineKeys.LIMIT, limit.ToInvariantString()}, + {RedmineKeys.OFFSET, offset.ToInvariantString()}, }; return searchFilter != null ? searchFilter.Build(parameters) : parameters; @@ -805,7 +805,7 @@ public static async Task GetWikiPageAsync(this RedmineManager redmineM { var uri = version == 0 ? redmineManager.RedmineApiUrls.ProjectWikiPage(projectId, pageName) - : redmineManager.RedmineApiUrls.ProjectWikiPageVersion(projectId, pageName, version.ToString(CultureInfo.InvariantCulture)); + : redmineManager.RedmineApiUrls.ProjectWikiPageVersion(projectId, pageName, version.ToInvariantString()); var escapedUri = Uri.EscapeDataString(uri); @@ -844,7 +844,7 @@ public static async Task> GetAllWikiPagesAsync(this RedmineManage /// public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, int groupId, int userId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { - var uri = redmineManager.RedmineApiUrls.GroupUserAdd(groupId.ToString(CultureInfo.InvariantCulture)); + var uri = redmineManager.RedmineApiUrls.GroupUserAdd(groupId.ToInvariantString()); var payload = SerializationHelper.SerializeUserId(userId, redmineManager.Serializer); @@ -862,7 +862,7 @@ public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, /// public static async Task RemoveUserFromGroupAsync(this RedmineManager redmineManager, int groupId, int userId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { - var uri = redmineManager.RedmineApiUrls.GroupUserRemove(groupId.ToString(CultureInfo.InvariantCulture), userId.ToString(CultureInfo.InvariantCulture)); + var uri = redmineManager.RedmineApiUrls.GroupUserRemove(groupId.ToInvariantString(), userId.ToInvariantString()); await redmineManager.ApiClient.DeleteAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); } @@ -878,7 +878,7 @@ public static async Task RemoveUserFromGroupAsync(this RedmineManager redmineMan /// public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManager, int issueId, int userId, RequestOptions requestOptions = null , CancellationToken cancellationToken = default) { - var uri = redmineManager.RedmineApiUrls.IssueWatcherAdd(issueId.ToString(CultureInfo.InvariantCulture)); + var uri = redmineManager.RedmineApiUrls.IssueWatcherAdd(issueId.ToInvariantString()); var payload = SerializationHelper.SerializeUserId(userId, redmineManager.Serializer); @@ -896,7 +896,7 @@ public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManag /// public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManager, int issueId, int userId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { - var uri = redmineManager.RedmineApiUrls.IssueWatcherRemove(issueId.ToString(CultureInfo.InvariantCulture), userId.ToString(CultureInfo.InvariantCulture)); + var uri = redmineManager.RedmineApiUrls.IssueWatcherRemove(issueId.ToInvariantString(), userId.ToInvariantString()); await redmineManager.ApiClient.DeleteAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); } diff --git a/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs index 6d573e17..e69dffbd 100644 --- a/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs +++ b/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs @@ -101,8 +101,8 @@ internal static NameValueCollection AddPagingParameters(this NameValueCollection offset = 0; } - parameters.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); - parameters.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); + parameters.Set(RedmineKeys.LIMIT, pageSize.ToInvariantString()); + parameters.Set(RedmineKeys.OFFSET, offset.ToInvariantString()); return parameters; } @@ -133,7 +133,7 @@ internal static void AddIfNotNull(this NameValueCollection nameValueCollection, { if (value.HasValue) { - nameValueCollection.Add(key, value.Value.ToString(CultureInfo.InvariantCulture)); + nameValueCollection.Add(key, value.Value.ToInvariantString()); } } } diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 41b64118..a47c4b44 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -241,7 +241,7 @@ internal List GetInternal(string uri, RequestOptions requestOptions = null if (pageSize == default) { pageSize = _redmineManagerOptions.PageSize > 0 ? _redmineManagerOptions.PageSize : RedmineConstants.DEFAULT_PAGE_SIZE_VALUE; - requestOptions.QueryString.Set(RedmineKeys.LIMIT, pageSize.ToString(CultureInfo.InvariantCulture)); + requestOptions.QueryString.Set(RedmineKeys.LIMIT, pageSize.ToInvariantString()); } var hasOffset = TypesWithOffset.ContainsKey(typeof(T)); @@ -250,7 +250,7 @@ internal List GetInternal(string uri, RequestOptions requestOptions = null int totalCount; do { - requestOptions.QueryString.Set(RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)); + requestOptions.QueryString.Set(RedmineKeys.OFFSET, offset.ToInvariantString()); var tempResult = GetPaginatedInternal(uri, requestOptions); diff --git a/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs b/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs index c921d706..e5f20376 100644 --- a/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs +++ b/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs @@ -72,7 +72,7 @@ public static void WriteIfNotDefaultOrNull(this JsonWriter writer, string ele /// The property name. public static void WriteBoolean(this JsonWriter writer, string elementName, bool value) { - writer.WriteProperty(elementName, value.ToString().ToLowerInv()); + writer.WriteProperty(elementName, value.ToInvariantString()); } /// @@ -84,7 +84,7 @@ public static void WriteBoolean(this JsonWriter writer, string elementName, bool /// public static void WriteIdOrEmpty(this JsonWriter jsonWriter, string tag, IdentifiableName ident, string emptyValue = null) { - jsonWriter.WriteProperty(tag, ident != null ? ident.Id.ToString(CultureInfo.InvariantCulture) : emptyValue); + jsonWriter.WriteProperty(tag, ident != null ? ident.Id.ToInvariantString() : emptyValue); } /// @@ -212,7 +212,7 @@ public static void WriteArrayIds(this JsonWriter jsonWriter, string tag, IEnumer foreach (var identifiableName in collection) { - sb.Append(identifiableName.Id.ToString(CultureInfo.InvariantCulture)).Append(','); + sb.Append(identifiableName.Id.ToInvariantString()).Append(','); } if (sb.Length > 1) diff --git a/src/redmine-net-api/Serialization/Xml/CacheKeyFactory.cs b/src/redmine-net-api/Serialization/Xml/CacheKeyFactory.cs index 45f17b12..3671e595 100644 --- a/src/redmine-net-api/Serialization/Xml/CacheKeyFactory.cs +++ b/src/redmine-net-api/Serialization/Xml/CacheKeyFactory.cs @@ -18,6 +18,7 @@ limitations under the License. using System.Globalization; using System.Text; using System.Xml.Serialization; +using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Serialization { @@ -46,11 +47,11 @@ public static string Create(Type type, XmlAttributeOverrides overrides, Type[] t var keyBuilder = new StringBuilder(); keyBuilder.Append(type.FullName); keyBuilder.Append( "??" ); - keyBuilder.Append(overrides?.GetHashCode().ToString(CultureInfo.InvariantCulture)); + keyBuilder.Append(overrides?.GetHashCode().ToInvariantString()); keyBuilder.Append( "??" ); keyBuilder.Append(GetTypeArraySignature(types)); keyBuilder.Append("??"); - keyBuilder.Append(root?.GetHashCode().ToString(CultureInfo.InvariantCulture)); + keyBuilder.Append(root?.GetHashCode().ToInvariantString()); keyBuilder.Append("??"); keyBuilder.Append(defaultNamespace); diff --git a/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs index cf33cb1c..3894309e 100644 --- a/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs @@ -47,7 +47,7 @@ public static void WriteIdIfNotNull(this XmlWriter writer, string elementName, I { if (identifiableName != null) { - writer.WriteElementString(elementName, identifiableName.Id.ToString(CultureInfo.InvariantCulture)); + writer.WriteElementString(elementName, identifiableName.Id.ToInvariantString()); } } @@ -232,7 +232,7 @@ public static void WriteArrayStringElement(this XmlWriter writer, string element /// public static void WriteIdOrEmpty(this XmlWriter writer, string elementName, IdentifiableName ident) { - writer.WriteElementString(elementName, ident != null ? ident.Id.ToString(CultureInfo.InvariantCulture) : string.Empty); + writer.WriteElementString(elementName, ident != null ? ident.Id.ToInvariantString() : string.Empty); } /// @@ -267,7 +267,7 @@ public static void WriteIfNotDefaultOrNull(this XmlWriter writer, string elem /// The tag. public static void WriteBoolean(this XmlWriter writer, string elementName, bool value) { - writer.WriteElementString(elementName, value.ToString().ToLowerInv()); + writer.WriteElementString(elementName, value.ToInvariantString()); } /// @@ -285,7 +285,7 @@ public static void WriteValueOrEmpty(this XmlWriter writer, string elementNam } else { - writer.WriteElementString(elementName, val.Value.ToString().ToLowerInv()); + writer.WriteElementString(elementName, val.Value.ToInvariantString()); } } diff --git a/src/redmine-net-api/Types/Attachments.cs b/src/redmine-net-api/Types/Attachments.cs index 21655fec..64276c23 100644 --- a/src/redmine-net-api/Types/Attachments.cs +++ b/src/redmine-net-api/Types/Attachments.cs @@ -17,6 +17,7 @@ limitations under the License. using System.Collections.Generic; using System.Globalization; using Newtonsoft.Json; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Types @@ -43,7 +44,7 @@ public void WriteJson(JsonWriter writer) writer.WriteStartArray(); foreach (var item in this) { - writer.WritePropertyName(item.Key.ToString(CultureInfo.InvariantCulture)); + writer.WritePropertyName(item.Key.ToInvariantString()); item.Value.WriteJson(writer); } writer.WriteEndArray(); diff --git a/src/redmine-net-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs index 6a7d9760..a1eaf701 100644 --- a/src/redmine-net-api/Types/GroupUser.cs +++ b/src/redmine-net-api/Types/GroupUser.cs @@ -32,7 +32,7 @@ public sealed class GroupUser : IdentifiableName, IValue /// /// /// - public string Value => Id.ToString(CultureInfo.InvariantCulture); + public string Value => Id.ToInvariantString(); #endregion /// diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index 3d087f3a..27af92d7 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -124,7 +124,7 @@ public override void ReadXml(XmlReader reader) /// public override void WriteXml(XmlWriter writer) { - writer.WriteAttributeString(RedmineKeys.ID, Id.ToString(CultureInfo.InvariantCulture)); + writer.WriteAttributeString(RedmineKeys.ID, Id.ToInvariantString()); writer.WriteAttributeString(RedmineKeys.NAME, Name); } diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 3fe5eb27..884d3c7e 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -334,7 +334,7 @@ public override void WriteXml(XmlWriter writer) } writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); - writer.WriteElementString(RedmineKeys.IS_PRIVATE, IsPrivate.ToString(CultureInfo.InvariantCulture).ToLowerInv()); + writer.WriteElementString(RedmineKeys.IS_PRIVATE, IsPrivate.ToInvariantString()); writer.WriteIdIfNotNull(RedmineKeys.PROJECT_ID, Project); writer.WriteIdIfNotNull(RedmineKeys.PRIORITY_ID, Priority); @@ -452,12 +452,12 @@ public override void WriteJson(JsonWriter writer) if (DoneRatio != null) { - writer.WriteProperty(RedmineKeys.DONE_RATIO, DoneRatio.Value.ToString(CultureInfo.InvariantCulture)); + writer.WriteProperty(RedmineKeys.DONE_RATIO, DoneRatio.Value.ToInvariantString()); } if (SpentHours != null) { - writer.WriteProperty(RedmineKeys.SPENT_HOURS, SpentHours.Value.ToString(CultureInfo.InvariantCulture)); + writer.WriteProperty(RedmineKeys.SPENT_HOURS, SpentHours.Value.ToInvariantString()); } writer.WriteArray(RedmineKeys.UPLOADS, Uploads); diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 0acdffb0..9b65f9c0 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -113,7 +113,7 @@ public override void WriteXml(XmlWriter writer) var itemsCount = Values.Count; - writer.WriteAttributeString(RedmineKeys.ID, Id.ToString(CultureInfo.InvariantCulture)); + writer.WriteAttributeString(RedmineKeys.ID, Id.ToInvariantString()); Multiple = itemsCount > 1; @@ -307,7 +307,7 @@ public override int GetHashCode() /// /// /// - public string Value => Id.ToString(CultureInfo.InvariantCulture); + public string Value => Id.ToInvariantString(); #endregion diff --git a/src/redmine-net-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs index 2df6f835..7a01826a 100644 --- a/src/redmine-net-api/Types/MembershipRole.cs +++ b/src/redmine-net-api/Types/MembershipRole.cs @@ -100,7 +100,7 @@ public override void ReadJson(JsonReader reader) /// public override void WriteJson(JsonWriter writer) { - writer.WriteProperty(RedmineKeys.ID, Id.ToString(CultureInfo.InvariantCulture)); + writer.WriteProperty(RedmineKeys.ID, Id.ToInvariantString()); } #endregion @@ -172,7 +172,7 @@ public override int GetHashCode() /// /// /// - public string Value => Id.ToString(CultureInfo.InvariantCulture); + public string Value => Id.ToInvariantString(); #endregion /// diff --git a/src/redmine-net-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs index d6c64130..d77b5230 100644 --- a/src/redmine-net-api/Types/ProjectTracker.cs +++ b/src/redmine-net-api/Types/ProjectTracker.cs @@ -57,7 +57,7 @@ internal ProjectTracker(int trackerId) /// /// /// - public string Value => Id.ToString(CultureInfo.InvariantCulture); + public string Value => Id.ToInvariantString(); #endregion diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index 24d39693..2d6b7798 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -18,6 +18,7 @@ limitations under the License. using System.Diagnostics; using System.Globalization; using System.Xml.Serialization; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; namespace Redmine.Net.Api.Types @@ -36,7 +37,7 @@ public sealed class Watcher : IdentifiableName /// /// /// - public string Value => Id.ToString(CultureInfo.InvariantCulture); + public string Value => Id.ToInvariantString(); #endregion diff --git a/src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs b/src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs index 8344efba..ef03936f 100644 --- a/src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs +++ b/src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs @@ -306,8 +306,8 @@ public static Task> SearchAsync(this RedmineManager redmine var parameters = new NameValueCollection { {RedmineKeys.Q, q}, - {RedmineKeys.LIMIT, limit.ToString(CultureInfo.InvariantCulture)}, - {RedmineKeys.OFFSET, offset.ToString(CultureInfo.InvariantCulture)}, + {RedmineKeys.LIMIT, limit.ToInvariantString()}, + {RedmineKeys.OFFSET, offset.ToInvariantString()}, }; if (searchFilter != null) From d2fc658f1791146d68fc39c180df9a5db588a70b Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:14:36 +0300 Subject: [PATCH 539/601] Add appsettings-local --- tests/redmine-net-api.Tests/TestHelper.cs | 3 ++- tests/redmine-net-api.Tests/appsettings-local.json | 5 +++++ tests/redmine-net-api.Tests/appsettings.json | 6 ------ tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj | 3 +++ 4 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 tests/redmine-net-api.Tests/appsettings-local.json diff --git a/tests/redmine-net-api.Tests/TestHelper.cs b/tests/redmine-net-api.Tests/TestHelper.cs index 3e466bad..bd7b615a 100644 --- a/tests/redmine-net-api.Tests/TestHelper.cs +++ b/tests/redmine-net-api.Tests/TestHelper.cs @@ -13,6 +13,7 @@ private static IConfigurationRoot GetIConfigurationRoot(string outputPath) .SetBasePath(outputPath) .AddJsonFile("appsettings.json", optional: true) .AddJsonFile($"appsettings.{environment}.json", optional: true) + .AddJsonFile($"appsettings-local.json", optional: true) .AddUserSecrets("f8b9e946-b547-42f1-861c-f719dca00a84") .Build(); } @@ -29,7 +30,7 @@ public static RedmineCredentials GetApplicationConfiguration(string outputPath = var iConfig = GetIConfigurationRoot(outputPath); iConfig - .GetSection("Credentials-Local") + .GetSection("Credentials") .Bind(credentials); return credentials; diff --git a/tests/redmine-net-api.Tests/appsettings-local.json b/tests/redmine-net-api.Tests/appsettings-local.json new file mode 100644 index 00000000..07fadae6 --- /dev/null +++ b/tests/redmine-net-api.Tests/appsettings-local.json @@ -0,0 +1,5 @@ +{ + "Credentials": { + "ApiKey": "$ApiKey" + } +} diff --git a/tests/redmine-net-api.Tests/appsettings.json b/tests/redmine-net-api.Tests/appsettings.json index 75421bd0..9b28a4ca 100644 --- a/tests/redmine-net-api.Tests/appsettings.json +++ b/tests/redmine-net-api.Tests/appsettings.json @@ -4,11 +4,5 @@ "ApiKey": "$ApiKey", "Username": "$Username", "Password": "$Password" - }, - "Credentials-Local":{ - "Uri": "$Uri", - "ApiKey": "$ApiKey", - "Username": "$Username", - "Password": "$Password" } } diff --git a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index 25cbe1c5..adbfdce5 100644 --- a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -79,6 +79,9 @@ PreserveNewest + + PreserveNewest + \ No newline at end of file From dfdf2be1d299c87678d1d8ee9d23af18c815568d Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:20:30 +0300 Subject: [PATCH 540/601] Move to common folder --- src/redmine-net-api/{Types => Common}/IValue.cs | 0 src/redmine-net-api/{Types => Common}/PagedResults.cs | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename src/redmine-net-api/{Types => Common}/IValue.cs (100%) rename src/redmine-net-api/{Types => Common}/PagedResults.cs (100%) diff --git a/src/redmine-net-api/Types/IValue.cs b/src/redmine-net-api/Common/IValue.cs similarity index 100% rename from src/redmine-net-api/Types/IValue.cs rename to src/redmine-net-api/Common/IValue.cs diff --git a/src/redmine-net-api/Types/PagedResults.cs b/src/redmine-net-api/Common/PagedResults.cs similarity index 100% rename from src/redmine-net-api/Types/PagedResults.cs rename to src/redmine-net-api/Common/PagedResults.cs From 9b47ef75ccd2f84633cc7da444cfaf97fe287023 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:24:02 +0300 Subject: [PATCH 541/601] Cleanup --- src/redmine-net-api/Extensions/StringExtensions.cs | 10 +++++----- .../Net/WebClient/Extensions/WebClientExtensions.cs | 4 ++-- .../Net/WebClient/InternalRedmineApiWebClient.Async.cs | 1 + src/redmine-net-api/RedmineManagerAsync.cs | 2 ++ src/redmine-net-api/Types/Attachment.cs | 2 +- src/redmine-net-api/Types/Issue.cs | 7 ++++--- src/redmine-net-api/Types/WikiPage.cs | 1 - 7 files changed, 15 insertions(+), 12 deletions(-) diff --git a/src/redmine-net-api/Extensions/StringExtensions.cs b/src/redmine-net-api/Extensions/StringExtensions.cs index bdd34736..a881f14d 100644 --- a/src/redmine-net-api/Extensions/StringExtensions.cs +++ b/src/redmine-net-api/Extensions/StringExtensions.cs @@ -39,9 +39,9 @@ public static bool IsNullOrWhiteSpace(this string value) return true; } - for (var index = 0; index < value.Length; ++index) + foreach (var ch in value) { - if (!char.IsWhiteSpace(value[index])) + if (!char.IsWhiteSpace(ch)) { return false; } @@ -99,9 +99,9 @@ internal static SecureString ToSecureString(this string value) var rv = new SecureString(); - for (var index = 0; index < value.Length; ++index) + foreach (var ch in value) { - rv.AppendChar(value[index]); + rv.AppendChar(ch); } return rv; @@ -169,7 +169,7 @@ internal static string ToInvariantString(this T value) where T : struct TimeSpan ts => ts.ToString(), DateTime d => d.ToString(CultureInfo.InvariantCulture), #pragma warning disable CA1308 - bool b => b.ToString().ToLowerInvariant(), + bool b => b ? "true" : "false", #pragma warning restore CA1308 _ => value.ToString(), }; diff --git a/src/redmine-net-api/Net/WebClient/Extensions/WebClientExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/WebClientExtensions.cs index ce89706f..83176d08 100644 --- a/src/redmine-net-api/Net/WebClient/Extensions/WebClientExtensions.cs +++ b/src/redmine-net-api/Net/WebClient/Extensions/WebClientExtensions.cs @@ -1,8 +1,8 @@ -using Redmine.Net.Api; using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Net; using Redmine.Net.Api.Serialization; +namespace Redmine.Net.Api.Net.WebClient.Extensions; + internal static class WebClientExtensions { public static void ApplyHeaders(this System.Net.WebClient client, RequestOptions options, IRedmineSerializer serializer) diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs index f2db7185..226cea14 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs @@ -114,6 +114,7 @@ private async Task SendAsync(ApiRequestMessage requestMessag } responseHeaders = webClient.ResponseHeaders; + } catch (WebException ex) when (ex.Status == WebExceptionStatus.RequestCanceled) { diff --git a/src/redmine-net-api/RedmineManagerAsync.cs b/src/redmine-net-api/RedmineManagerAsync.cs index 3a3f5085..c2b9ef1f 100644 --- a/src/redmine-net-api/RedmineManagerAsync.cs +++ b/src/redmine-net-api/RedmineManagerAsync.cs @@ -24,7 +24,9 @@ limitations under the License. using Redmine.Net.Api.Net; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; +#if!(NET45_OR_GREATER || NETCOREAPP) using TaskExtensions = Redmine.Net.Api.Extensions.TaskExtensions; +#endif namespace Redmine.Net.Api; diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index 98b937e6..24871731 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -122,8 +122,8 @@ public override void ReadXml(XmlReader reader) /// public override void WriteXml(XmlWriter writer) { - writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); writer.WriteElementString(RedmineKeys.FILE_NAME, FileName); + writer.WriteElementString(RedmineKeys.DESCRIPTION, Description); } #endregion diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 884d3c7e..838cb1c8 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -645,11 +645,12 @@ public IdentifiableName AsParent() return IdentifiableName.Create(Id); } - /// - /// + /// Provides a string representation of the object for use in debugging. /// - /// + /// + /// A string that represents the object, formatted for debugging purposes. + /// private string DebuggerDisplay => $"[Issue:Id={Id.ToInvariantString()}, Status={Status?.Name}, Priority={Priority?.Name}, DoneRatio={DoneRatio?.ToString("F", CultureInfo.InvariantCulture)},IsPrivate={IsPrivate.ToInvariantString()}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index b2c0dfad..44d2a8a0 100644 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -288,6 +288,5 @@ public override int GetHashCode() /// /// private string DebuggerDisplay => $"[WikiPage: Id={Id.ToInvariantString()}, Title={Title}]"; - } } \ No newline at end of file From a2b9ff203eb4d119b9155a2f2d2b1cdee128a2a4 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:24:55 +0300 Subject: [PATCH 542/601] Refactor --- .../Net/ApiResponseMessageExtensions.cs | 41 ++++++++----------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs b/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs index f039a451..40d630b8 100644 --- a/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs +++ b/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs @@ -16,6 +16,7 @@ limitations under the License. using System.Collections.Generic; using System.Text; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api.Net; @@ -24,37 +25,29 @@ internal static class ApiResponseMessageExtensions { internal static T DeserializeTo(this ApiResponseMessage responseMessage, IRedmineSerializer redmineSerializer) where T : new() { - if (responseMessage?.Content == null) - { - return default; - } - - var responseAsString = Encoding.UTF8.GetString(responseMessage.Content); - - return redmineSerializer.Deserialize(responseAsString); + var responseAsString = GetResponseContentAsString(responseMessage); + return responseAsString.IsNullOrWhiteSpace() ? default : redmineSerializer.Deserialize(responseAsString); } internal static PagedResults DeserializeToPagedResults(this ApiResponseMessage responseMessage, IRedmineSerializer redmineSerializer) where T : class, new() { - if (responseMessage?.Content == null) - { - return default; - } - - var responseAsString = Encoding.UTF8.GetString(responseMessage.Content); - - return redmineSerializer.DeserializeToPagedResults(responseAsString); + var responseAsString = GetResponseContentAsString(responseMessage); + return responseAsString.IsNullOrWhiteSpace() ? default : redmineSerializer.DeserializeToPagedResults(responseAsString); } internal static List DeserializeToList(this ApiResponseMessage responseMessage, IRedmineSerializer redmineSerializer) where T : class, new() { - if (responseMessage?.Content == null) - { - return default; - } - - var responseAsString = Encoding.UTF8.GetString(responseMessage.Content); - - return redmineSerializer.Deserialize>(responseAsString); + var responseAsString = GetResponseContentAsString(responseMessage); + return responseAsString.IsNullOrWhiteSpace() ? null : redmineSerializer.Deserialize>(responseAsString); + } + + /// + /// Gets the response content as a UTF-8 encoded string. + /// + /// The API response message. + /// The content as a string, or null if the response or content is null. + private static string GetResponseContentAsString(ApiResponseMessage responseMessage) + { + return responseMessage?.Content == null ? null : Encoding.UTF8.GetString(responseMessage.Content); } } \ No newline at end of file From f24547bec7d7ce47d8236ebf99bd541f35777f85 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:26:27 +0300 Subject: [PATCH 543/601] Fix clone error --- src/redmine-net-api/Net/RequestOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/Net/RequestOptions.cs b/src/redmine-net-api/Net/RequestOptions.cs index 8bffb391..7f3aa069 100644 --- a/src/redmine-net-api/Net/RequestOptions.cs +++ b/src/redmine-net-api/Net/RequestOptions.cs @@ -64,7 +64,7 @@ public RequestOptions Clone() ContentType = ContentType, Accept = Accept, UserAgent = UserAgent, - Headers = new Dictionary(Headers), + Headers = Headers != null ? new Dictionary(Headers) : null, }; } From 942556a285f1c1de6566af143d83442d46464ae2 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:41:12 +0300 Subject: [PATCH 544/601] Fix wiki create --- .../Extensions/RedmineManagerExtensions.cs | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index d7ff6113..0bf1b6a9 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -368,7 +368,7 @@ public static WikiPage CreateWikiPage(this RedmineManager redmineManager, string var escapedUri = Uri.EscapeDataString(uri); - var response = redmineManager.ApiClient.Create(escapedUri, payload, requestOptions); + var response = redmineManager.ApiClient.Update(escapedUri, payload, requestOptions); return response.DeserializeTo(redmineManager.Serializer); } @@ -733,16 +733,21 @@ public static async Task CreateWikiPageAsync(this RedmineManager redmi { var payload = redmineManager.Serializer.Serialize(wikiPage); + if (pageName.IsNullOrWhiteSpace()) + { + throw new RedmineException("Page name cannot be blank"); + } + if (string.IsNullOrEmpty(payload)) { throw new RedmineException("The payload is empty"); } - var url = redmineManager.RedmineApiUrls.ProjectWikiPageUpdate(projectId, pageName); + var path = redmineManager.RedmineApiUrls.ProjectWikiPageUpdate(projectId, Uri.EscapeDataString(pageName)); - var escapedUri = Uri.EscapeDataString(url); + //var escapedUri = Uri.EscapeDataString(url); - var response = await redmineManager.ApiClient.CreateAsync(escapedUri, payload,requestOptions, cancellationToken).ConfigureAwait(false); + var response = await redmineManager.ApiClient.UpdateAsync(path, payload, requestOptions, cancellationToken).ConfigureAwait(false); return response.DeserializeTo(redmineManager.Serializer); } From e5f3de5c14895136c81514b8c9947421acb3abc1 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:50:51 +0300 Subject: [PATCH 545/601] Fix Search --- .../Extensions/RedmineManagerExtensions.cs | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index 0bf1b6a9..67216c08 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -467,7 +467,11 @@ public static PagedResults Search(this RedmineManager redmineManager, st { var parameters = CreateSearchParameters(q, limit, offset, searchFilter); - var response = redmineManager.GetPaginated(new RequestOptions() {QueryString = parameters}); + var response = redmineManager.GetPaginated(new RequestOptions + { + QueryString = parameters, + ImpersonateUser = impersonateUserName + }); return response; } @@ -691,16 +695,21 @@ public static async Task> GetProjectFilesAsync(this RedmineMa /// /// /// - public static async Task> SearchAsync(this RedmineManager redmineManager, string q, int limit = RedmineManager.DEFAULT_PAGE_SIZE_VALUE, int offset = 0, SearchFilterBuilder searchFilter = null, CancellationToken cancellationToken = default) + public static async Task> SearchAsync(this RedmineManager redmineManager, + string q, + int limit = RedmineManager.DEFAULT_PAGE_SIZE_VALUE, + int offset = 0, + SearchFilterBuilder searchFilter = null, + CancellationToken cancellationToken = default) { var parameters = CreateSearchParameters(q, limit, offset, searchFilter); - var response = await redmineManager.ApiClient.GetPagedAsync(string.Empty, new RequestOptions() + var response = await redmineManager.GetPagedAsync(new RequestOptions() { QueryString = parameters }, cancellationToken).ConfigureAwait(false); - return response.DeserializeToPagedResults(redmineManager.Serializer); + return response; } /// From 347f1d826ad2e2727b98da8853aa74e53d5cd8c5 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:41:45 +0300 Subject: [PATCH 546/601] Add EnsureDeserializationInputIsNotNullOrWhiteSpace --- .../Serialization/SerializationHelper.cs | 23 +++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/src/redmine-net-api/Serialization/SerializationHelper.cs b/src/redmine-net-api/Serialization/SerializationHelper.cs index a43624c1..c54ce852 100644 --- a/src/redmine-net-api/Serialization/SerializationHelper.cs +++ b/src/redmine-net-api/Serialization/SerializationHelper.cs @@ -14,7 +14,11 @@ You may obtain a copy of the License at limitations under the License. */ -using System.Globalization; +using System; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Xml; namespace Redmine.Net.Api.Serialization { @@ -35,9 +39,20 @@ internal static class SerializationHelper /// public static string SerializeUserId(int userId, IRedmineSerializer redmineSerializer) { - return redmineSerializer is XmlRedmineSerializer - ? $"{userId.ToString(CultureInfo.InvariantCulture)}" - : $"{{\"user_id\":\"{userId.ToString(CultureInfo.InvariantCulture)}\"}}"; + return redmineSerializer switch + { + XmlRedmineSerializer => $"{userId.ToInvariantString()}", + JsonRedmineSerializer => $"{{\"user_id\":\"{userId.ToInvariantString()}\"}}", + _ => throw new ArgumentOutOfRangeException(nameof(redmineSerializer), redmineSerializer, null) + }; + } + + public static void EnsureDeserializationInputIsNotNullOrWhiteSpace(string input, string paramName, Type type) + { + if (input.IsNullOrWhiteSpace()) + { + throw new RedmineSerializationException($"Could not deserialize null or empty input for type '{type.Name}'.", paramName); + } } } } \ No newline at end of file From 050996b99036e03c0a4691ebd2ba03ba93ef287d Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 11:44:15 +0300 Subject: [PATCH 547/601] Throw RedmineSerializationException instead of ArgumentNullException --- .../Json/JsonRedmineSerializer.cs | 164 ++++++++---------- .../Serialization/Xml/XmlRedmineSerializer.cs | 98 +++++------ 2 files changed, 115 insertions(+), 147 deletions(-) diff --git a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs index f0319cdd..9f84f385 100644 --- a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs @@ -22,116 +22,98 @@ limitations under the License. using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; -namespace Redmine.Net.Api.Serialization +namespace Redmine.Net.Api.Serialization.Json { internal sealed class JsonRedmineSerializer : IRedmineSerializer { - public T Deserialize(string jsonResponse) where T : new() + private static void EnsureJsonSerializable() { - if (jsonResponse.IsNullOrWhiteSpace()) - { - throw new ArgumentNullException(nameof(jsonResponse), $"Could not deserialize null or empty input for type '{typeof(T).Name}'."); - } - - var isJsonSerializable = typeof(IJsonSerializable).IsAssignableFrom(typeof(T)); - - if (!isJsonSerializable) + if (!typeof(IJsonSerializable).IsAssignableFrom(typeof(T))) { throw new RedmineException($"Entity of type '{typeof(T)}' should implement IJsonSerializable."); } + } - using (var stringReader = new StringReader(jsonResponse)) - { - using (var jsonReader = new JsonTextReader(stringReader)) - { - var obj = Activator.CreateInstance(); + public T Deserialize(string jsonResponse) where T : new() + { + SerializationHelper.EnsureDeserializationInputIsNotNullOrWhiteSpace(jsonResponse, nameof(jsonResponse), typeof(T)); - if (jsonReader.Read()) - { - if (jsonReader.Read()) - { - ((IJsonSerializable)obj).ReadJson(jsonReader); - } - } + EnsureJsonSerializable(); - return obj; - } + using var stringReader = new StringReader(jsonResponse); + using var jsonReader = new JsonTextReader(stringReader); + var obj = Activator.CreateInstance(); + + if (jsonReader.Read() && jsonReader.Read()) + { + ((IJsonSerializable)obj).ReadJson(jsonReader); } + + return obj; } public PagedResults DeserializeToPagedResults(string jsonResponse) where T : class, new() { - if (jsonResponse.IsNullOrWhiteSpace()) - { - throw new ArgumentNullException(nameof(jsonResponse), $"Could not deserialize null or empty input for type '{typeof(T).Name}'."); - } + SerializationHelper.EnsureDeserializationInputIsNotNullOrWhiteSpace(jsonResponse, nameof(jsonResponse), typeof(T)); - using (var sr = new StringReader(jsonResponse)) + using var sr = new StringReader(jsonResponse); + using var reader = new JsonTextReader(sr); + var total = 0; + var offset = 0; + var limit = 0; + List list = null; + + while (reader.Read()) { - using (var reader = new JsonTextReader(sr)) + if (reader.TokenType != JsonToken.PropertyName) + { + continue; + } + + switch (reader.Value) { - var total = 0; - var offset = 0; - var limit = 0; - List list = null; - - while (reader.Read()) - { - if (reader.TokenType != JsonToken.PropertyName) continue; - - switch (reader.Value) - { - case RedmineKeys.TOTAL_COUNT: - total = reader.ReadAsInt32().GetValueOrDefault(); - break; - case RedmineKeys.OFFSET: - offset = reader.ReadAsInt32().GetValueOrDefault(); - break; - case RedmineKeys.LIMIT: - limit = reader.ReadAsInt32().GetValueOrDefault(); - break; - default: - list = reader.ReadAsCollection(); - break; - } - } - - return new PagedResults(list, total, offset, limit); + case RedmineKeys.TOTAL_COUNT: + total = reader.ReadAsInt32().GetValueOrDefault(); + break; + case RedmineKeys.OFFSET: + offset = reader.ReadAsInt32().GetValueOrDefault(); + break; + case RedmineKeys.LIMIT: + limit = reader.ReadAsInt32().GetValueOrDefault(); + break; + default: + list = reader.ReadAsCollection(); + break; } } + + return new PagedResults(list, total, offset, limit); } #pragma warning disable CA1822 public int Count(string jsonResponse) where T : class, new() { - if (jsonResponse.IsNullOrWhiteSpace()) - { - throw new ArgumentNullException(nameof(jsonResponse), $"Could not deserialize null or empty input for type '{typeof(T).Name}'."); - } + SerializationHelper.EnsureDeserializationInputIsNotNullOrWhiteSpace(jsonResponse, nameof(jsonResponse), typeof(T)); + + using var sr = new StringReader(jsonResponse); + using var reader = new JsonTextReader(sr); + var total = 0; - using (var sr = new StringReader(jsonResponse)) + while (reader.Read()) { - using (var reader = new JsonTextReader(sr)) + if (reader.TokenType != JsonToken.PropertyName) { - var total = 0; - - while (reader.Read()) - { - if (reader.TokenType != JsonToken.PropertyName) - { - continue; - } - - if (reader.Value is RedmineKeys.TOTAL_COUNT) - { - total = reader.ReadAsInt32().GetValueOrDefault(); - return total; - } - } + continue; + } + if (reader.Value is RedmineKeys.TOTAL_COUNT) + { + total = reader.ReadAsInt32().GetValueOrDefault(); return total; } } + + return total; } #pragma warning restore CA1822 @@ -141,10 +123,12 @@ internal sealed class JsonRedmineSerializer : IRedmineSerializer public string Serialize(T entity) where T : class { - if (entity == default(T)) + if (entity == null) { - throw new ArgumentNullException(nameof(entity), $"Could not serialize null of type {typeof(T).Name}"); + throw new RedmineSerializationException($"Could not serialize null of type {typeof(T).Name}", nameof(entity)); } + + EnsureJsonSerializable(); if (entity is not IJsonSerializable jsonSerializable) { @@ -153,22 +137,18 @@ public string Serialize(T entity) where T : class var stringBuilder = new StringBuilder(); - using (var sw = new StringWriter(stringBuilder)) - { - using (var writer = new JsonTextWriter(sw)) - { - writer.Formatting = Formatting.Indented; - writer.DateFormatHandling = DateFormatHandling.IsoDateFormat; + using var sw = new StringWriter(stringBuilder); + using var writer = new JsonTextWriter(sw); + //writer.Formatting = Formatting.Indented; + writer.DateFormatHandling = DateFormatHandling.IsoDateFormat; - jsonSerializable.WriteJson(writer); + jsonSerializable.WriteJson(writer); - var json = stringBuilder.ToString(); + var json = stringBuilder.ToString(); - stringBuilder.Length = 0; + stringBuilder.Length = 0; - return json; - } - } + return json; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs index 84772404..720c3d25 100644 --- a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs @@ -22,11 +22,17 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -namespace Redmine.Net.Api.Serialization +namespace Redmine.Net.Api.Serialization.Xml { internal sealed class XmlRedmineSerializer : IRedmineSerializer { - + private static void EnsureXmlSerializable() + { + if (!typeof(IXmlSerializable).IsAssignableFrom(typeof(T))) + { + throw new RedmineException($"Entity of type '{typeof(T)}' should implement ${nameof(IXmlSerializable)}."); + } + } public XmlRedmineSerializer() : this(new XmlWriterSettings { OmitXmlDeclaration = true @@ -103,39 +109,32 @@ public string Serialize(T entity) where T : class /// private static PagedResults XmlDeserializeList(string xmlResponse, bool onlyCount) where T : class, new() { - if (xmlResponse.IsNullOrWhiteSpace()) + SerializationHelper.EnsureDeserializationInputIsNotNullOrWhiteSpace(xmlResponse, nameof(xmlResponse), typeof(T)); + + using var stringReader = new StringReader(xmlResponse); + using var xmlReader = XmlTextReaderBuilder.Create(stringReader); + while (xmlReader.NodeType == XmlNodeType.None || xmlReader.NodeType == XmlNodeType.XmlDeclaration) { - throw new ArgumentNullException(nameof(xmlResponse), $"Could not deserialize null or empty input for type '{typeof(T).Name}'."); + xmlReader.Read(); } - using (var stringReader = new StringReader(xmlResponse)) - { - using (var xmlReader = XmlTextReaderBuilder.Create(stringReader)) - { - while (xmlReader.NodeType == XmlNodeType.None || xmlReader.NodeType == XmlNodeType.XmlDeclaration) - { - xmlReader.Read(); - } - - var totalItems = xmlReader.ReadAttributeAsInt(RedmineKeys.TOTAL_COUNT); + var totalItems = xmlReader.ReadAttributeAsInt(RedmineKeys.TOTAL_COUNT); - if (onlyCount) - { - return new PagedResults(null, totalItems, 0, 0); - } + if (onlyCount) + { + return new PagedResults(null, totalItems, 0, 0); + } - var offset = xmlReader.ReadAttributeAsInt(RedmineKeys.OFFSET); - var limit = xmlReader.ReadAttributeAsInt(RedmineKeys.LIMIT); - var result = xmlReader.ReadElementContentAsCollection(); - - if (totalItems == 0 && result?.Count > 0) - { - totalItems = result.Count; - } + var offset = xmlReader.ReadAttributeAsInt(RedmineKeys.OFFSET); + var limit = xmlReader.ReadAttributeAsInt(RedmineKeys.LIMIT); + var result = xmlReader.ReadElementContentAsCollection(); - return new PagedResults(result, totalItems, offset, limit); - } + if (totalItems == 0 && result?.Count > 0) + { + totalItems = result.Count; } + + return new PagedResults(result, totalItems, offset, limit); } /// @@ -150,22 +149,18 @@ public string Serialize(T entity) where T : class // ReSharper disable once InconsistentNaming private string ToXML(T entity) where T : class { - if (entity == default(T)) + if (entity == null) { throw new ArgumentNullException(nameof(entity), $"Could not serialize null of type {typeof(T).Name}"); } - using (var stringWriter = new StringWriter()) - { - using (var xmlWriter = XmlWriter.Create(stringWriter, _xmlWriterSettings)) - { - var serializer = new XmlSerializer(typeof(T)); + using var stringWriter = new StringWriter(); + using var xmlWriter = XmlWriter.Create(stringWriter, _xmlWriterSettings); + var serializer = new XmlSerializer(typeof(T)); - serializer.Serialize(xmlWriter, entity); + serializer.Serialize(xmlWriter, entity); - return stringWriter.ToString(); - } - } + return stringWriter.ToString(); } /// @@ -183,27 +178,20 @@ private string ToXML(T entity) where T : class // ReSharper disable once InconsistentNaming private static TOut XmlDeserializeEntity(string xml) where TOut : new() { - if (xml.IsNullOrWhiteSpace()) - { - throw new ArgumentNullException(nameof(xml), $"Could not deserialize null or empty input for type '{typeof(TOut).Name}'."); - } - - using (var textReader = new StringReader(xml)) - { - using (var xmlReader = XmlTextReaderBuilder.Create(textReader)) - { - var serializer = new XmlSerializer(typeof(TOut)); + SerializationHelper.EnsureDeserializationInputIsNotNullOrWhiteSpace(xml, nameof(xml), typeof(TOut)); - var entity = serializer.Deserialize(xmlReader); + using var textReader = new StringReader(xml); + using var xmlReader = XmlTextReaderBuilder.Create(textReader); + var serializer = new XmlSerializer(typeof(TOut)); - if (entity is TOut t) - { - return t; - } + var entity = serializer.Deserialize(xmlReader); - return default; - } + if (entity is TOut t) + { + return t; } + + return default; } } } \ No newline at end of file From f3ccbcefc835a05834d9f99bbce003a3ff453785 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 15:38:03 +0300 Subject: [PATCH 548/601] Add StatusCode to ApiResponseMessage --- src/redmine-net-api/Net/ApiResponseMessage.cs | 4 ++++ .../InternalRedmineApiWebClient.Async.cs | 9 +++++-- .../WebClient/InternalRedmineApiWebClient.cs | 8 ++++++- .../Net/WebClient/InternalWebClient.cs | 24 +++++++++++++++++++ 4 files changed, 42 insertions(+), 3 deletions(-) diff --git a/src/redmine-net-api/Net/ApiResponseMessage.cs b/src/redmine-net-api/Net/ApiResponseMessage.cs index 971aaabb..3a72058c 100644 --- a/src/redmine-net-api/Net/ApiResponseMessage.cs +++ b/src/redmine-net-api/Net/ApiResponseMessage.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System.Collections.Specialized; +using System.Net; namespace Redmine.Net.Api.Net; @@ -22,4 +23,7 @@ internal sealed class ApiResponseMessage { public NameValueCollection Headers { get; init; } public byte[] Content { get; init; } + + public HttpStatusCode StatusCode { get; init; } + } \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs index 226cea14..10ff9b95 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs @@ -82,6 +82,7 @@ private async Task SendAsync(ApiRequestMessage requestMessag { System.Net.WebClient webClient = null; byte[] response = null; + HttpStatusCode? statusCode = null; NameValueCollection responseHeaders = null; try { @@ -114,7 +115,10 @@ private async Task SendAsync(ApiRequestMessage requestMessag } responseHeaders = webClient.ResponseHeaders; - + if (webClient is InternalWebClient iwc) + { + statusCode = iwc.StatusCode; + } } catch (WebException ex) when (ex.Status == WebExceptionStatus.RequestCanceled) { @@ -132,7 +136,8 @@ private async Task SendAsync(ApiRequestMessage requestMessag return new ApiResponseMessage() { Headers = responseHeaders, - Content = response + Content = response, + StatusCode = statusCode ?? HttpStatusCode.OK, }; } } diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs index 1b3ee390..99ddbd3e 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs @@ -170,6 +170,7 @@ private ApiResponseMessage Send(ApiRequestMessage requestMessage) { System.Net.WebClient webClient = null; byte[] response = null; + HttpStatusCode? statusCode = null; NameValueCollection responseHeaders = null; try @@ -198,6 +199,10 @@ private ApiResponseMessage Send(ApiRequestMessage requestMessage) } responseHeaders = webClient.ResponseHeaders; + if (webClient is InternalWebClient iwc) + { + statusCode = iwc.StatusCode; + } } catch (WebException webException) { @@ -211,7 +216,8 @@ private ApiResponseMessage Send(ApiRequestMessage requestMessage) return new ApiResponseMessage() { Headers = responseHeaders, - Content = response + Content = response, + StatusCode = statusCode ?? HttpStatusCode.OK, }; } diff --git a/src/redmine-net-api/Net/WebClient/InternalWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalWebClient.cs index 2bec6d92..913feb7e 100644 --- a/src/redmine-net-api/Net/WebClient/InternalWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalWebClient.cs @@ -101,6 +101,30 @@ protected override WebRequest GetWebRequest(Uri address) throw new RedmineException(webException.GetBaseException().Message, webException); } } + + public HttpStatusCode StatusCode { get; private set; } + + protected override WebResponse GetWebResponse(WebRequest request) + { + var response = base.GetWebResponse(request); + if (response is HttpWebResponse httpResponse) + { + StatusCode = httpResponse.StatusCode; + } + return response; + } + + protected override WebResponse GetWebResponse(WebRequest request, IAsyncResult result) + { + var response = base.GetWebResponse(request, result); + + if (response is HttpWebResponse httpResponse) + { + StatusCode = httpResponse.StatusCode; + } + + return response; + } private static void AssignIfHasValue(T? nullableValue, Action assignAction) where T : struct { From ef16f51195052aa5e943b763404eaf7ae522a36f Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 15:41:00 +0300 Subject: [PATCH 549/601] Add RedmineAuthenticationType enum --- .../Authentication/RedmineApiKeyAuthentication.cs | 3 ++- .../Authentication/RedmineAuthenticationType.cs | 8 ++++++++ .../Authentication/RedmineBasicAuthentication.cs | 5 +++-- .../Authentication/RedmineNoAuthentication.cs | 3 ++- src/redmine-net-api/Extensions/EnumExtensions.cs | 13 +++++++++++++ .../Net/WebClient/InternalRedmineApiWebClient.cs | 4 ++-- src/redmine-net-api/RedmineConstants.cs | 4 ++++ 7 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 src/redmine-net-api/Authentication/RedmineAuthenticationType.cs diff --git a/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs b/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs index a037a60c..c1d59744 100644 --- a/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs +++ b/src/redmine-net-api/Authentication/RedmineApiKeyAuthentication.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System.Net; +using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Authentication; @@ -24,7 +25,7 @@ namespace Redmine.Net.Api.Authentication; public sealed class RedmineApiKeyAuthentication: IRedmineAuthentication { /// - public string AuthenticationType => "X-Redmine-API-Key"; + public string AuthenticationType { get; } = RedmineAuthenticationType.ApiKey.ToText(); /// public string Token { get; init; } diff --git a/src/redmine-net-api/Authentication/RedmineAuthenticationType.cs b/src/redmine-net-api/Authentication/RedmineAuthenticationType.cs new file mode 100644 index 00000000..22c38cd2 --- /dev/null +++ b/src/redmine-net-api/Authentication/RedmineAuthenticationType.cs @@ -0,0 +1,8 @@ +namespace Redmine.Net.Api.Authentication; + +internal enum RedmineAuthenticationType +{ + NoAuthentication, + Basic, + ApiKey +} \ No newline at end of file diff --git a/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs b/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs index e78aa653..810da00a 100644 --- a/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs +++ b/src/redmine-net-api/Authentication/RedmineBasicAuthentication.cs @@ -18,6 +18,7 @@ limitations under the License. using System.Net; using System.Text; using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Authentication { @@ -27,7 +28,7 @@ namespace Redmine.Net.Api.Authentication public sealed class RedmineBasicAuthentication: IRedmineAuthentication { /// - public string AuthenticationType => "Basic"; + public string AuthenticationType { get; } = RedmineAuthenticationType.Basic.ToText(); /// public string Token { get; init; } @@ -45,7 +46,7 @@ public RedmineBasicAuthentication(string username, string password) if (username == null) throw new RedmineException(nameof(username)); if (password == null) throw new RedmineException(nameof(password)); - Token = Convert.ToBase64String(Encoding.UTF8.GetBytes($"{username}:{password}")); + Token = $"Basic {Convert.ToBase64String(Encoding.UTF8.GetBytes($"{username}:{password}"))}"; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs b/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs index 4f2ed673..d8518828 100644 --- a/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs +++ b/src/redmine-net-api/Authentication/RedmineNoAuthentication.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System.Net; +using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Authentication; @@ -24,7 +25,7 @@ namespace Redmine.Net.Api.Authentication; public sealed class RedmineNoAuthentication: IRedmineAuthentication { /// - public string AuthenticationType => "NoAuth"; + public string AuthenticationType { get; } = RedmineAuthenticationType.NoAuthentication.ToText(); /// public string Token { get; init; } diff --git a/src/redmine-net-api/Extensions/EnumExtensions.cs b/src/redmine-net-api/Extensions/EnumExtensions.cs index 5ae7d77f..60f49075 100644 --- a/src/redmine-net-api/Extensions/EnumExtensions.cs +++ b/src/redmine-net-api/Extensions/EnumExtensions.cs @@ -1,3 +1,5 @@ +using System; +using Redmine.Net.Api.Authentication; using Redmine.Net.Api.Types; namespace Redmine.Net.Api.Extensions; @@ -98,4 +100,15 @@ public static string ToLowerInvariant(this UserStatus @enum) _ => "undefined" }; } + + internal static string ToText(this RedmineAuthenticationType @enum) + { + return @enum switch + { + RedmineAuthenticationType.NoAuthentication => "NoAuth", + RedmineAuthenticationType.Basic => "Basic", + RedmineAuthenticationType.ApiKey => "ApiKey", + _ => "undefined" + }; + } } \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs index 99ddbd3e..93f7abfd 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs @@ -231,10 +231,10 @@ private void SetWebClientHeaders(System.Net.WebClient webClient, ApiRequestMessa switch (_credentials) { case RedmineApiKeyAuthentication: - webClient.Headers.Add(_credentials.AuthenticationType,_credentials.Token); + webClient.Headers.Add(RedmineConstants.API_KEY_AUTHORIZATION_HEADER_KEY,_credentials.Token); break; case RedmineBasicAuthentication: - webClient.Headers.Add("Authorization", $"{_credentials.AuthenticationType} {_credentials.Token}"); + webClient.Headers.Add(RedmineConstants.AUTHORIZATION_HEADER_KEY, _credentials.Token); break; } diff --git a/src/redmine-net-api/RedmineConstants.cs b/src/redmine-net-api/RedmineConstants.cs index d2b963eb..106ba466 100644 --- a/src/redmine-net-api/RedmineConstants.cs +++ b/src/redmine-net-api/RedmineConstants.cs @@ -52,6 +52,10 @@ public static class RedmineConstants /// /// public const string AUTHORIZATION_HEADER_KEY = "Authorization"; + /// + /// + /// + public const string API_KEY_AUTHORIZATION_HEADER_KEY = "X-Redmine-API-Key"; /// /// From 8da41ca1727182410d9e6f79598529160665fbf4 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 15:45:32 +0300 Subject: [PATCH 550/601] Dispose register cancellation token --- .../InternalRedmineApiWebClient.Async.cs | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs index 10ff9b95..18f81f00 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs @@ -84,12 +84,19 @@ private async Task SendAsync(ApiRequestMessage requestMessag byte[] response = null; HttpStatusCode? statusCode = null; NameValueCollection responseHeaders = null; + CancellationTokenRegistration cancellationTokenRegistration = default; + try { webClient = _webClientFunc(); - - cancellationToken.Register(webClient.CancelAsync); + cancellationTokenRegistration = + cancellationToken.Register( + static state => ((System.Net.WebClient)state!).CancelAsync(), + webClient + ); + cancellationToken.ThrowIfCancellationRequested(); + SetWebClientHeaders(webClient, requestMessage); if(IsGetOrDownload(requestMessage.Method)) @@ -122,7 +129,10 @@ private async Task SendAsync(ApiRequestMessage requestMessag } catch (WebException ex) when (ex.Status == WebExceptionStatus.RequestCanceled) { - //TODO: Handle cancellation... + if (cancellationToken.IsCancellationRequested) + { + throw new RedmineApiException("The operation was canceled by the user.", ex); + } } catch (WebException webException) { @@ -130,6 +140,12 @@ private async Task SendAsync(ApiRequestMessage requestMessag } finally { + #if NETFRAMEWORK + cancellationTokenRegistration.Dispose(); + #else + await cancellationTokenRegistration.DisposeAsync().ConfigureAwait(false); + #endif + webClient?.Dispose(); } From 7319a2e516fa7a93078a56408f24180d1d6d50cd Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 15:47:00 +0300 Subject: [PATCH 551/601] Add async download file progress --- .../Net/IAsyncRedmineApiClient.cs | 3 +- .../Net/ISyncRedmineApiClient.cs | 4 +- .../InternalRedmineApiWebClient.Async.cs | 18 +++++-- .../WebClient/InternalRedmineApiWebClient.cs | 17 ++++-- src/redmine-net-api/_net20/IProgress{T}.cs | 54 +++++++++++++++++++ 5 files changed, 86 insertions(+), 10 deletions(-) create mode 100644 src/redmine-net-api/_net20/IProgress{T}.cs diff --git a/src/redmine-net-api/Net/IAsyncRedmineApiClient.cs b/src/redmine-net-api/Net/IAsyncRedmineApiClient.cs index b4b7bc50..0400084b 100644 --- a/src/redmine-net-api/Net/IAsyncRedmineApiClient.cs +++ b/src/redmine-net-api/Net/IAsyncRedmineApiClient.cs @@ -15,6 +15,7 @@ limitations under the License. */ #if !(NET20 || NET35) +using System; using System.Threading; using System.Threading.Tasks; @@ -36,6 +37,6 @@ internal interface IAsyncRedmineApiClient Task UploadFileAsync(string address, byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - Task DownloadAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + Task DownloadAsync(string address, RequestOptions requestOptions = null, IProgress progress = null, CancellationToken cancellationToken = default); } #endif \ No newline at end of file diff --git a/src/redmine-net-api/Net/ISyncRedmineApiClient.cs b/src/redmine-net-api/Net/ISyncRedmineApiClient.cs index 8141ae0e..a657feac 100644 --- a/src/redmine-net-api/Net/ISyncRedmineApiClient.cs +++ b/src/redmine-net-api/Net/ISyncRedmineApiClient.cs @@ -14,6 +14,8 @@ You may obtain a copy of the License at limitations under the License. */ +using System; + namespace Redmine.Net.Api.Net; internal interface ISyncRedmineApiClient @@ -32,5 +34,5 @@ internal interface ISyncRedmineApiClient ApiResponseMessage Upload(string address, byte[] data, RequestOptions requestOptions = null); - ApiResponseMessage Download(string address, RequestOptions requestOptions = null); + ApiResponseMessage Download(string address, RequestOptions requestOptions = null, IProgress progress = null); } \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs index 18f81f00..e21ab209 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs @@ -15,10 +15,12 @@ limitations under the License. */ #if!(NET20) +using System; using System.Collections.Specialized; using System.Net; using System.Threading; using System.Threading.Tasks; +using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Net.WebClient.MessageContent; @@ -68,17 +70,17 @@ public async Task DeleteAsync(string address, RequestOptions return await HandleRequestAsync(address, HttpVerbs.DELETE, requestOptions, cancellationToken:cancellationToken).ConfigureAwait(false); } - public async Task DownloadAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public async Task DownloadAsync(string address, RequestOptions requestOptions = null, IProgress progress = null, CancellationToken cancellationToken = default) { return await HandleRequestAsync(address, HttpVerbs.DOWNLOAD, requestOptions, cancellationToken:cancellationToken).ConfigureAwait(false); } - private async Task HandleRequestAsync(string address, string verb, RequestOptions requestOptions = null, ApiRequestMessageContent content = null, CancellationToken cancellationToken = default) + private async Task HandleRequestAsync(string address, string verb, RequestOptions requestOptions = null, ApiRequestMessageContent content = null, IProgress progress = null, CancellationToken cancellationToken = default) { - return await SendAsync(CreateRequestMessage(address, verb, requestOptions, content), cancellationToken).ConfigureAwait(false); + return await SendAsync(CreateRequestMessage(address, verb, requestOptions, content), progress, cancellationToken: cancellationToken).ConfigureAwait(false); } - private async Task SendAsync(ApiRequestMessage requestMessage, CancellationToken cancellationToken) + private async Task SendAsync(ApiRequestMessage requestMessage, IProgress progress = null, CancellationToken cancellationToken = default) { System.Net.WebClient webClient = null; byte[] response = null; @@ -97,6 +99,14 @@ private async Task SendAsync(ApiRequestMessage requestMessag cancellationToken.ThrowIfCancellationRequested(); + if (progress != null) + { + webClient.DownloadProgressChanged += (_, e) => + { + progress.Report(e.ProgressPercentage); + }; + } + SetWebClientHeaders(webClient, requestMessage); if(IsGetOrDownload(requestMessage.Method)) diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs index 93f7abfd..6988c5a2 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs @@ -128,7 +128,7 @@ public ApiResponseMessage Delete(string address, RequestOptions requestOptions = return HandleRequest(address, HttpVerbs.DELETE, requestOptions); } - public ApiResponseMessage Download(string address, RequestOptions requestOptions = null) + public ApiResponseMessage Download(string address, RequestOptions requestOptions = null, IProgress progress = null) { return HandleRequest(address, HttpVerbs.DOWNLOAD, requestOptions); } @@ -161,12 +161,12 @@ private static ApiRequestMessage CreateRequestMessage(string address, string ver return req; } - private ApiResponseMessage HandleRequest(string address, string verb, RequestOptions requestOptions = null, ApiRequestMessageContent content = null) + private ApiResponseMessage HandleRequest(string address, string verb, RequestOptions requestOptions = null, ApiRequestMessageContent content = null, IProgress progress = null) { - return Send(CreateRequestMessage(address, verb, requestOptions, content)); + return Send(CreateRequestMessage(address, verb, requestOptions, content), progress); } - private ApiResponseMessage Send(ApiRequestMessage requestMessage) + private ApiResponseMessage Send(ApiRequestMessage requestMessage, IProgress progress = null) { System.Net.WebClient webClient = null; byte[] response = null; @@ -176,6 +176,15 @@ private ApiResponseMessage Send(ApiRequestMessage requestMessage) try { webClient = _webClientFunc(); + + if (progress != null) + { + webClient.DownloadProgressChanged += (_, e) => + { + progress.Report(e.ProgressPercentage); + }; + } + SetWebClientHeaders(webClient, requestMessage); if (IsGetOrDownload(requestMessage.Method)) diff --git a/src/redmine-net-api/_net20/IProgress{T}.cs b/src/redmine-net-api/_net20/IProgress{T}.cs new file mode 100644 index 00000000..add86bde --- /dev/null +++ b/src/redmine-net-api/_net20/IProgress{T}.cs @@ -0,0 +1,54 @@ +#if NET20 +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ +namespace System; + +/// Defines a provider for progress updates. +/// The type of progress update value. +public interface IProgress +{ + /// Reports a progress update. + /// The value of the updated progress. + void Report(T value); +} + +/// +/// +/// +/// +public sealed class Progress : IProgress +{ + private readonly Action _handler; + + /// + /// + /// + /// + public Progress(Action handler) + { + _handler = handler; + } + + /// + /// + /// + /// + public void Report(T value) + { + _handler(value); + } +} +#endif \ No newline at end of file From 1cad44b9dcb9a14b810a7670fb14dd9e2971a87f Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 15:47:20 +0300 Subject: [PATCH 552/601] Suppress warning --- src/redmine-net-api/Types/Include.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/redmine-net-api/Types/Include.cs b/src/redmine-net-api/Types/Include.cs index ef4fa09a..1c8b2d9c 100644 --- a/src/redmine-net-api/Types/Include.cs +++ b/src/redmine-net-api/Types/Include.cs @@ -3,6 +3,11 @@ namespace Redmine.Net.Api.Types; /// /// /// + [System.Diagnostics.CodeAnalysis.SuppressMessage( +"Design", +"CA1034:Nested types should not be visible", +Justification = "Deliberately exposed")] + public static class Include { /// From 68122d2be47cb09bf0a9d40db4d6c266764cd294 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 15:47:41 +0300 Subject: [PATCH 553/601] Enable nullale --- src/redmine-net-api/Internals/ArgumentNullThrowHelper.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/redmine-net-api/Internals/ArgumentNullThrowHelper.cs b/src/redmine-net-api/Internals/ArgumentNullThrowHelper.cs index 86f45107..e7daa84e 100644 --- a/src/redmine-net-api/Internals/ArgumentNullThrowHelper.cs +++ b/src/redmine-net-api/Internals/ArgumentNullThrowHelper.cs @@ -2,6 +2,8 @@ using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; +#nullable enable + namespace Redmine.Net.Api.Internals; internal static class ArgumentNullThrowHelper From 6045b4c759504d99592fcb5e35f9261da5280d4c Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 15:54:34 +0300 Subject: [PATCH 554/601] ApiUrl --- src/redmine-net-api/Net/RedmineApiUrls.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redmine-net-api/Net/RedmineApiUrls.cs b/src/redmine-net-api/Net/RedmineApiUrls.cs index c50d0fc7..704a4e48 100644 --- a/src/redmine-net-api/Net/RedmineApiUrls.cs +++ b/src/redmine-net-api/Net/RedmineApiUrls.cs @@ -151,7 +151,7 @@ internal string CreateEntityFragment(Type type, string ownerId = null) if (type == typeof(Upload)) { - return $"{RedmineKeys.UPLOADS}.{Format}"; + return UploadFragment(ownerId); //$"{RedmineKeys.UPLOADS}.{Format}"; } if (type == typeof(Attachment) || type == typeof(Attachments)) From 2dfd0d8c79de25b66728b8eae0824ae62ad01392 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 14 May 2025 16:53:14 +0300 Subject: [PATCH 555/601] [WebClientExtensions] Fix namespace --- src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs | 3 ++- ...dmineWebClientObsolete.cs => IRedmineWebClient.Obsolete.cs} | 0 .../Net/WebClient/InternalRedmineApiWebClient.Async.cs | 1 + .../Net/WebClient/InternalRedmineApiWebClient.cs | 1 + src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) rename src/redmine-net-api/Net/WebClient/{IRedmineWebClientObsolete.cs => IRedmineWebClient.Obsolete.cs} (100%) diff --git a/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs index 3a3b1a2a..b5fd04d3 100644 --- a/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs +++ b/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs @@ -20,10 +20,11 @@ limitations under the License. using System.Net; using System.Text; using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; -namespace Redmine.Net.Api.Extensions +namespace Redmine.Net.Api.Net.WebClient.Extensions { /// /// diff --git a/src/redmine-net-api/Net/WebClient/IRedmineWebClientObsolete.cs b/src/redmine-net-api/Net/WebClient/IRedmineWebClient.Obsolete.cs similarity index 100% rename from src/redmine-net-api/Net/WebClient/IRedmineWebClientObsolete.cs rename to src/redmine-net-api/Net/WebClient/IRedmineWebClient.Obsolete.cs diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs index e21ab209..bcf45e4f 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs @@ -22,6 +22,7 @@ limitations under the License. using System.Threading.Tasks; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net.WebClient.Extensions; using Redmine.Net.Api.Net.WebClient.MessageContent; namespace Redmine.Net.Api.Net.WebClient diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs index 6988c5a2..4c68f026 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs @@ -20,6 +20,7 @@ limitations under the License. using System.Text; using Redmine.Net.Api.Authentication; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net.WebClient.Extensions; using Redmine.Net.Api.Net.WebClient.MessageContent; using Redmine.Net.Api.Serialization; diff --git a/src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs b/src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs index 0276931c..90ab613e 100644 --- a/src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs +++ b/src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs @@ -17,6 +17,7 @@ limitations under the License. using System; using System.Net; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net.WebClient.Extensions; using Redmine.Net.Api.Serialization; namespace Redmine.Net.Api From 4d4bfc63bd1a259ae480436458de63a5973dc8c5 Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 15 May 2025 00:09:16 +0300 Subject: [PATCH 556/601] Rearrange --- src/redmine-net-api/Extensions/RedmineManagerExtensions.cs | 1 + src/redmine-net-api/Net/{ => Internal}/ApiRequestMessage.cs | 2 +- .../Net/{ => Internal}/ApiRequestMessageContent.cs | 2 +- src/redmine-net-api/Net/{ => Internal}/ApiResponseMessage.cs | 2 +- .../Net/{ => Internal}/ApiResponseMessageExtensions.cs | 2 +- .../Net/{ => Internal}/IAsyncRedmineApiClient.cs | 2 +- src/redmine-net-api/Net/{ => Internal}/IRedmineApiClient.cs | 2 +- src/redmine-net-api/Net/{ => Internal}/ISyncRedmineApiClient.cs | 2 +- src/redmine-net-api/Net/{ => Internal}/RedmineApiUrls.cs | 2 +- .../Net/{ => Internal}/RedmineApiUrlsExtensions.cs | 2 +- .../Net/WebClient/InternalRedmineApiWebClient.Async.cs | 1 + .../Net/WebClient/InternalRedmineApiWebClient.cs | 1 + .../MessageContent/ByteArrayApiRequestMessageContent.cs | 2 ++ src/redmine-net-api/RedmineManager.cs | 1 + src/redmine-net-api/RedmineManagerAsync.cs | 1 + .../Infrastructure/Fixtures/RedmineApiUrlsFixture.cs | 2 +- tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs | 1 + 17 files changed, 18 insertions(+), 10 deletions(-) rename src/redmine-net-api/Net/{ => Internal}/ApiRequestMessage.cs (96%) rename src/redmine-net-api/Net/{ => Internal}/ApiRequestMessageContent.cs (94%) rename src/redmine-net-api/Net/{ => Internal}/ApiResponseMessage.cs (95%) rename src/redmine-net-api/Net/{ => Internal}/ApiResponseMessageExtensions.cs (98%) rename src/redmine-net-api/Net/{ => Internal}/IAsyncRedmineApiClient.cs (98%) rename src/redmine-net-api/Net/{ => Internal}/IRedmineApiClient.cs (94%) rename src/redmine-net-api/Net/{ => Internal}/ISyncRedmineApiClient.cs (97%) rename src/redmine-net-api/Net/{ => Internal}/RedmineApiUrls.cs (99%) rename src/redmine-net-api/Net/{ => Internal}/RedmineApiUrlsExtensions.cs (99%) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index 67216c08..4f8cc441 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -24,6 +24,7 @@ limitations under the License. #endif using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Net; +using Redmine.Net.Api.Net.Internal; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; diff --git a/src/redmine-net-api/Net/ApiRequestMessage.cs b/src/redmine-net-api/Net/Internal/ApiRequestMessage.cs similarity index 96% rename from src/redmine-net-api/Net/ApiRequestMessage.cs rename to src/redmine-net-api/Net/Internal/ApiRequestMessage.cs index b0b7a2fb..bbd31924 100644 --- a/src/redmine-net-api/Net/ApiRequestMessage.cs +++ b/src/redmine-net-api/Net/Internal/ApiRequestMessage.cs @@ -16,7 +16,7 @@ limitations under the License. using System.Collections.Specialized; -namespace Redmine.Net.Api.Net; +namespace Redmine.Net.Api.Net.Internal; internal sealed class ApiRequestMessage { diff --git a/src/redmine-net-api/Net/ApiRequestMessageContent.cs b/src/redmine-net-api/Net/Internal/ApiRequestMessageContent.cs similarity index 94% rename from src/redmine-net-api/Net/ApiRequestMessageContent.cs rename to src/redmine-net-api/Net/Internal/ApiRequestMessageContent.cs index 94c5f5e9..296d7a4d 100644 --- a/src/redmine-net-api/Net/ApiRequestMessageContent.cs +++ b/src/redmine-net-api/Net/Internal/ApiRequestMessageContent.cs @@ -14,7 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ -namespace Redmine.Net.Api.Net; +namespace Redmine.Net.Api.Net.Internal; internal abstract class ApiRequestMessageContent { diff --git a/src/redmine-net-api/Net/ApiResponseMessage.cs b/src/redmine-net-api/Net/Internal/ApiResponseMessage.cs similarity index 95% rename from src/redmine-net-api/Net/ApiResponseMessage.cs rename to src/redmine-net-api/Net/Internal/ApiResponseMessage.cs index 3a72058c..f04c45d1 100644 --- a/src/redmine-net-api/Net/ApiResponseMessage.cs +++ b/src/redmine-net-api/Net/Internal/ApiResponseMessage.cs @@ -17,7 +17,7 @@ limitations under the License. using System.Collections.Specialized; using System.Net; -namespace Redmine.Net.Api.Net; +namespace Redmine.Net.Api.Net.Internal; internal sealed class ApiResponseMessage { diff --git a/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs b/src/redmine-net-api/Net/Internal/ApiResponseMessageExtensions.cs similarity index 98% rename from src/redmine-net-api/Net/ApiResponseMessageExtensions.cs rename to src/redmine-net-api/Net/Internal/ApiResponseMessageExtensions.cs index 40d630b8..4d2c4518 100644 --- a/src/redmine-net-api/Net/ApiResponseMessageExtensions.cs +++ b/src/redmine-net-api/Net/Internal/ApiResponseMessageExtensions.cs @@ -19,7 +19,7 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Serialization; -namespace Redmine.Net.Api.Net; +namespace Redmine.Net.Api.Net.Internal; internal static class ApiResponseMessageExtensions { diff --git a/src/redmine-net-api/Net/IAsyncRedmineApiClient.cs b/src/redmine-net-api/Net/Internal/IAsyncRedmineApiClient.cs similarity index 98% rename from src/redmine-net-api/Net/IAsyncRedmineApiClient.cs rename to src/redmine-net-api/Net/Internal/IAsyncRedmineApiClient.cs index 0400084b..92210bd6 100644 --- a/src/redmine-net-api/Net/IAsyncRedmineApiClient.cs +++ b/src/redmine-net-api/Net/Internal/IAsyncRedmineApiClient.cs @@ -19,7 +19,7 @@ limitations under the License. using System.Threading; using System.Threading.Tasks; -namespace Redmine.Net.Api.Net; +namespace Redmine.Net.Api.Net.Internal; internal interface IAsyncRedmineApiClient { diff --git a/src/redmine-net-api/Net/IRedmineApiClient.cs b/src/redmine-net-api/Net/Internal/IRedmineApiClient.cs similarity index 94% rename from src/redmine-net-api/Net/IRedmineApiClient.cs rename to src/redmine-net-api/Net/Internal/IRedmineApiClient.cs index 2116dedf..29b90d0f 100644 --- a/src/redmine-net-api/Net/IRedmineApiClient.cs +++ b/src/redmine-net-api/Net/Internal/IRedmineApiClient.cs @@ -14,7 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ -namespace Redmine.Net.Api.Net; +namespace Redmine.Net.Api.Net.Internal; /// /// diff --git a/src/redmine-net-api/Net/ISyncRedmineApiClient.cs b/src/redmine-net-api/Net/Internal/ISyncRedmineApiClient.cs similarity index 97% rename from src/redmine-net-api/Net/ISyncRedmineApiClient.cs rename to src/redmine-net-api/Net/Internal/ISyncRedmineApiClient.cs index a657feac..5fd2e239 100644 --- a/src/redmine-net-api/Net/ISyncRedmineApiClient.cs +++ b/src/redmine-net-api/Net/Internal/ISyncRedmineApiClient.cs @@ -16,7 +16,7 @@ limitations under the License. using System; -namespace Redmine.Net.Api.Net; +namespace Redmine.Net.Api.Net.Internal; internal interface ISyncRedmineApiClient { diff --git a/src/redmine-net-api/Net/RedmineApiUrls.cs b/src/redmine-net-api/Net/Internal/RedmineApiUrls.cs similarity index 99% rename from src/redmine-net-api/Net/RedmineApiUrls.cs rename to src/redmine-net-api/Net/Internal/RedmineApiUrls.cs index 704a4e48..8d83883e 100644 --- a/src/redmine-net-api/Net/RedmineApiUrls.cs +++ b/src/redmine-net-api/Net/Internal/RedmineApiUrls.cs @@ -21,7 +21,7 @@ limitations under the License. using Redmine.Net.Api.Types; using Version = Redmine.Net.Api.Types.Version; -namespace Redmine.Net.Api.Net +namespace Redmine.Net.Api.Net.Internal { internal sealed class RedmineApiUrls { diff --git a/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs b/src/redmine-net-api/Net/Internal/RedmineApiUrlsExtensions.cs similarity index 99% rename from src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs rename to src/redmine-net-api/Net/Internal/RedmineApiUrlsExtensions.cs index 4312ba9e..103dc7f7 100644 --- a/src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs +++ b/src/redmine-net-api/Net/Internal/RedmineApiUrlsExtensions.cs @@ -17,7 +17,7 @@ limitations under the License. using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; -namespace Redmine.Net.Api.Net; +namespace Redmine.Net.Api.Net.Internal; internal static class RedmineApiUrlsExtensions { diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs index bcf45e4f..9fa4317f 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs @@ -22,6 +22,7 @@ limitations under the License. using System.Threading.Tasks; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net.Internal; using Redmine.Net.Api.Net.WebClient.Extensions; using Redmine.Net.Api.Net.WebClient.MessageContent; diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs index 4c68f026..25dbc941 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs @@ -20,6 +20,7 @@ limitations under the License. using System.Text; using Redmine.Net.Api.Authentication; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net.Internal; using Redmine.Net.Api.Net.WebClient.Extensions; using Redmine.Net.Api.Net.WebClient.MessageContent; using Redmine.Net.Api.Serialization; diff --git a/src/redmine-net-api/Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs index a1456ad2..13602f4b 100644 --- a/src/redmine-net-api/Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs +++ b/src/redmine-net-api/Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs @@ -14,6 +14,8 @@ You may obtain a copy of the License at limitations under the License. */ +using Redmine.Net.Api.Net.Internal; + namespace Redmine.Net.Api.Net.WebClient.MessageContent; internal class ByteArrayApiRequestMessageContent : ApiRequestMessageContent diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index a47c4b44..4bcc144b 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -23,6 +23,7 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Net; +using Redmine.Net.Api.Net.Internal; using Redmine.Net.Api.Net.WebClient; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; diff --git a/src/redmine-net-api/RedmineManagerAsync.cs b/src/redmine-net-api/RedmineManagerAsync.cs index c2b9ef1f..3d708bf1 100644 --- a/src/redmine-net-api/RedmineManagerAsync.cs +++ b/src/redmine-net-api/RedmineManagerAsync.cs @@ -22,6 +22,7 @@ limitations under the License. using System.Threading.Tasks; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Net; +using Redmine.Net.Api.Net.Internal; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; #if!(NET45_OR_GREATER || NETCOREAPP) diff --git a/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs index 7a914dae..b1647407 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs @@ -1,5 +1,5 @@ using System.Diagnostics; -using Redmine.Net.Api.Net; +using Redmine.Net.Api.Net.Internal; namespace Padi.DotNet.RedmineAPI.Tests.Tests; diff --git a/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs b/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs index ff358497..068db9ed 100644 --- a/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs +++ b/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs @@ -2,6 +2,7 @@ using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Net; +using Redmine.Net.Api.Net.Internal; using Redmine.Net.Api.Types; using Xunit; using File = Redmine.Net.Api.Types.File; From 3aeed2742fc42709547166f786cafa36d88d9d22 Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 15 May 2025 00:10:22 +0300 Subject: [PATCH 557/601] IProgress --- src/redmine-net-api/IRedmineManager.cs | 4 +++- src/redmine-net-api/IRedmineManagerAsync.cs | 4 +++- src/redmine-net-api/RedmineManager.cs | 4 ++-- src/redmine-net-api/RedmineManagerAsync.cs | 4 ++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index 5e4f5437..acd1b8cb 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -14,6 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ +using System; using System.Collections.Generic; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Net; @@ -110,7 +111,8 @@ void Delete(string id, RequestOptions requestOptions = null) /// Downloads a file from the specified address. /// /// The address. + /// /// The content of the downloaded file as a byte array. /// - byte[] DownloadFile(string address); + byte[] DownloadFile(string address, IProgress progress = null); } \ No newline at end of file diff --git a/src/redmine-net-api/IRedmineManagerAsync.cs b/src/redmine-net-api/IRedmineManagerAsync.cs index 4d2343d6..8d0098e5 100644 --- a/src/redmine-net-api/IRedmineManagerAsync.cs +++ b/src/redmine-net-api/IRedmineManagerAsync.cs @@ -15,6 +15,7 @@ limitations under the License. */ #if !(NET20) +using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; @@ -147,9 +148,10 @@ Task DeleteAsync(string id, RequestOptions requestOptions = null, Cancellatio /// /// The address. /// + /// /// /// - Task DownloadFileAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + Task DownloadFileAsync(string address, RequestOptions requestOptions = null, IProgress progress = null, CancellationToken cancellationToken = default); } } #endif \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 4bcc144b..a64f6cd7 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -206,9 +206,9 @@ public Upload UploadFile(byte[] data, string fileName = null) } /// - public byte[] DownloadFile(string address) + public byte[] DownloadFile(string address, IProgress progress = null) { - var response = ApiClient.Download(address); + var response = ApiClient.Download(address, progress: progress); return response.Content; } diff --git a/src/redmine-net-api/RedmineManagerAsync.cs b/src/redmine-net-api/RedmineManagerAsync.cs index 3d708bf1..5b8472b8 100644 --- a/src/redmine-net-api/RedmineManagerAsync.cs +++ b/src/redmine-net-api/RedmineManagerAsync.cs @@ -220,9 +220,9 @@ public async Task UploadFileAsync(byte[] data, string fileName = null, R } /// - public async Task DownloadFileAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + public async Task DownloadFileAsync(string address, RequestOptions requestOptions = null, IProgress progress = null, CancellationToken cancellationToken = default) { - var response = await ApiClient.DownloadAsync(address, requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); + var response = await ApiClient.DownloadAsync(address, requestOptions, progress, cancellationToken: cancellationToken).ConfigureAwait(false); return response.Content; } From 98920e4fbdb88ca920a41066103c9fb10a1950df Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 15 May 2025 11:39:04 +0300 Subject: [PATCH 558/601] Refactor exception handling --- .../Net/Internal/HttpStatusHelper.cs | 98 ++++++++++++ .../Extensions/WebExceptionExtensions.cs | 70 +++++++++ .../Net/WebClient/Extensions/WebExtensions.cs | 147 ------------------ 3 files changed, 168 insertions(+), 147 deletions(-) create mode 100644 src/redmine-net-api/Net/Internal/HttpStatusHelper.cs create mode 100644 src/redmine-net-api/Net/WebClient/Extensions/WebExceptionExtensions.cs delete mode 100644 src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs diff --git a/src/redmine-net-api/Net/Internal/HttpStatusHelper.cs b/src/redmine-net-api/Net/Internal/HttpStatusHelper.cs new file mode 100644 index 00000000..90fe88c9 --- /dev/null +++ b/src/redmine-net-api/Net/Internal/HttpStatusHelper.cs @@ -0,0 +1,98 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Net; +using System.Text; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.Net.Internal; + +internal static class HttpStatusHelper +{ + internal static void MapStatusCodeToException(int statusCode, Stream responseStream, Exception inner, IRedmineSerializer serializer) + { + switch (statusCode) + { + case (int)HttpStatusCode.NotFound: + throw new NotFoundException("Not found.", inner); + + case (int)HttpStatusCode.Unauthorized: + throw new UnauthorizedException("Unauthorized.", inner); + + case (int)HttpStatusCode.Forbidden: + throw new ForbiddenException("Forbidden.", inner); + + case (int)HttpStatusCode.Conflict: + throw new ConflictException("The page that you are trying to update is stale!", inner); + + case 422: + var exception = CreateUnprocessableEntityException(responseStream, inner, serializer); + throw exception; + + case (int)HttpStatusCode.NotAcceptable: + throw new NotAcceptableException("Not acceptable.", inner); + + case (int)HttpStatusCode.InternalServerError: + throw new InternalServerErrorException("Internal server error.", inner); + + default: + throw new RedmineException($"HTTP {(int)statusCode} – {statusCode}", inner); + } + } + + private static RedmineException CreateUnprocessableEntityException( + Stream responseStream, + Exception inner, + IRedmineSerializer serializer) + { + var errors = GetRedmineErrors(responseStream, serializer); + + if (errors is null) + { + return new RedmineException("Unprocessable Content", inner); + } + + var sb = new StringBuilder(); + foreach (var error in errors) + { + sb.Append(error.Info).Append(Environment.NewLine); + } + + sb.Length -= 1; + return new RedmineException($"Unprocessable Content: {sb}", inner); + } + + + /// + /// Gets the redmine exceptions. + /// + /// + /// + /// + private static List GetRedmineErrors(Stream responseStream, IRedmineSerializer serializer) + { + if (responseStream == null) + { + return null; + } + + using (responseStream) + { + using var streamReader = new StreamReader(responseStream); + var responseContent = streamReader.ReadToEnd(); + + return GetRedmineErrors(responseContent, serializer); + } + } + + private static List GetRedmineErrors(string content, IRedmineSerializer serializer) + { + if (content.IsNullOrWhiteSpace()) return null; + + var paged = serializer.DeserializeToPagedResults(content); + return (List)paged.Items; + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/Extensions/WebExceptionExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/WebExceptionExtensions.cs new file mode 100644 index 00000000..4bd89063 --- /dev/null +++ b/src/redmine-net-api/Net/WebClient/Extensions/WebExceptionExtensions.cs @@ -0,0 +1,70 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System.Net; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Net.Internal; +using Redmine.Net.Api.Serialization; + +namespace Redmine.Net.Api.Net.WebClient.Extensions +{ + /// + /// + /// + internal static class WebExceptionExtensions + { + /// + /// Handles the web exception. + /// + /// The exception. + /// + /// Timeout! + /// Bad domain name! + /// + /// + /// + /// + /// The page that you are trying to update is staled! + /// + /// + public static void HandleWebException(this WebException exception, IRedmineSerializer serializer) + { + if (exception == null) + { + return; + } + + var innerException = exception.InnerException ?? exception; + + switch (exception.Status) + { + case WebExceptionStatus.Timeout: + throw new RedmineTimeoutException(nameof(WebExceptionStatus.Timeout), innerException); + case WebExceptionStatus.NameResolutionFailure: + throw new NameResolutionFailureException("Bad domain name.", innerException); + case WebExceptionStatus.ProtocolError: + if (exception.Response != null) + { + using var responseStream = exception.Response.GetResponseStream(); + HttpStatusHelper.MapStatusCodeToException((int)exception.Status, responseStream, innerException, serializer); + } + + break; + } + throw new RedmineException(exception.Message, innerException); + } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs deleted file mode 100644 index b5fd04d3..00000000 --- a/src/redmine-net-api/Net/WebClient/Extensions/WebExtensions.cs +++ /dev/null @@ -1,147 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.IO; -using System.Net; -using System.Text; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Serialization; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.Net.WebClient.Extensions -{ - /// - /// - /// - internal static class WebExceptionExtensions - { - /// - /// Handles the web exception. - /// - /// The exception. - /// - /// Timeout! - /// Bad domain name! - /// - /// - /// - /// - /// The page that you are trying to update is staled! - /// - /// - /// - public static void HandleWebException(this WebException exception, IRedmineSerializer serializer) - { - if (exception == null) - { - return; - } - - var innerException = exception.InnerException ?? exception; - - switch (exception.Status) - { - case WebExceptionStatus.Timeout: - throw new RedmineTimeoutException(nameof(WebExceptionStatus.Timeout), innerException); - case WebExceptionStatus.NameResolutionFailure: - throw new NameResolutionFailureException("Bad domain name.", innerException); - - case WebExceptionStatus.ProtocolError: - { - var response = (HttpWebResponse)exception.Response; - switch ((int)response.StatusCode) - { - case (int)HttpStatusCode.NotFound: - throw new NotFoundException(response.StatusDescription, innerException); - - case (int)HttpStatusCode.Unauthorized: - throw new UnauthorizedException(response.StatusDescription, innerException); - - case (int)HttpStatusCode.Forbidden: - throw new ForbiddenException(response.StatusDescription, innerException); - - case (int)HttpStatusCode.Conflict: - throw new ConflictException("The page that you are trying to update is staled!", innerException); - - case 422: - RedmineException redmineException; - var errors = GetRedmineExceptions(exception.Response, serializer); - - if (errors != null) - { - var sb = new StringBuilder(); - foreach (var error in errors) - { - sb.Append(error.Info).Append(Environment.NewLine); - } - - redmineException = new RedmineException($"Invalid or missing attribute parameters: {sb}", innerException, "Unprocessable Content"); - sb.Length = 0; - } - else - { - redmineException = new RedmineException("Invalid or missing attribute parameters", innerException); - } - - throw redmineException; - - case (int)HttpStatusCode.NotAcceptable: - throw new NotAcceptableException(response.StatusDescription, innerException); - - default: - throw new RedmineException(response.StatusDescription, innerException); - } - } - - default: - throw new RedmineException(exception.Message, innerException); - } - } - - /// - /// Gets the redmine exceptions. - /// - /// The web response. - /// - /// - private static IEnumerable GetRedmineExceptions(this WebResponse webResponse, IRedmineSerializer serializer) - { - using (var responseStream = webResponse.GetResponseStream()) - { - if (responseStream == null) - { - return null; - } - - using (var streamReader = new StreamReader(responseStream)) - { - var responseContent = streamReader.ReadToEnd(); - - if (responseContent.IsNullOrWhiteSpace()) - { - return null; - } - - var result = serializer.DeserializeToPagedResults(responseContent); - return result.Items; - } - } - } - } -} \ No newline at end of file From a8f6ed9d511d8a4b62799f9ce87d8d7583aac6b4 Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 15 May 2025 11:40:17 +0300 Subject: [PATCH 559/601] Replace magic strings with constants --- src/redmine-net-api/IRedmineManager.cs | 6 +++--- .../WebClient/Extensions/WebClientExtensions.cs | 16 +++++++++------- src/redmine-net-api/RedmineConstants.cs | 3 +++ 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index acd1b8cb..8642a6e8 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -97,16 +97,16 @@ void Delete(string id, RequestOptions requestOptions = null) /// /// Support for adding attachments through the REST API is added in Redmine 1.4.0. - /// Upload a file to server. + /// Upload a file to the server. /// /// The content of the file that will be uploaded on server. /// /// - /// Returns the token for uploaded file. + /// Returns the token for the uploaded file. /// /// Upload UploadFile(byte[] data, string fileName = null); - + /// /// Downloads a file from the specified address. /// diff --git a/src/redmine-net-api/Net/WebClient/Extensions/WebClientExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/WebClientExtensions.cs index 83176d08..2cb3c8c0 100644 --- a/src/redmine-net-api/Net/WebClient/Extensions/WebClientExtensions.cs +++ b/src/redmine-net-api/Net/WebClient/Extensions/WebClientExtensions.cs @@ -7,11 +7,11 @@ internal static class WebClientExtensions { public static void ApplyHeaders(this System.Net.WebClient client, RequestOptions options, IRedmineSerializer serializer) { - client.Headers.Add("Content-Type", options.ContentType ?? serializer.ContentType); + client.Headers.Add(RedmineConstants.CONTENT_TYPE_HEADER_KEY, options.ContentType ?? serializer.ContentType); if (!options.UserAgent.IsNullOrWhiteSpace()) { - client.Headers.Add("User-Agent", options.UserAgent); + client.Headers.Add(RedmineConstants.USER_AGENT_HEADER_KEY, options.UserAgent); } if (!options.ImpersonateUser.IsNullOrWhiteSpace()) @@ -19,12 +19,14 @@ public static void ApplyHeaders(this System.Net.WebClient client, RequestOptions client.Headers.Add(RedmineConstants.IMPERSONATE_HEADER_KEY, options.ImpersonateUser); } - if (options.Headers is { Count: > 0 }) + if (options.Headers is not { Count: > 0 }) { - foreach (var header in options.Headers) - { - client.Headers.Add(header.Key, header.Value); - } + return; + } + + foreach (var header in options.Headers) + { + client.Headers.Add(header.Key, header.Value); } } } \ No newline at end of file diff --git a/src/redmine-net-api/RedmineConstants.cs b/src/redmine-net-api/RedmineConstants.cs index 106ba466..fa752ce4 100644 --- a/src/redmine-net-api/RedmineConstants.cs +++ b/src/redmine-net-api/RedmineConstants.cs @@ -66,5 +66,8 @@ public static class RedmineConstants /// /// public const string JSON = "json"; + + internal const string USER_AGENT_HEADER_KEY = "User-Agent"; + internal const string CONTENT_TYPE_HEADER_KEY = "Content-Type"; } } \ No newline at end of file From 9622cfb8e5750ffa894b08392665a5016130aec5 Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 15 May 2025 11:41:08 +0300 Subject: [PATCH 560/601] Fix fixture namespace --- tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs | 2 +- .../Infrastructure/Fixtures/RedmineApiUrlsFixture.cs | 2 +- tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs b/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs index d83e4db1..b145b739 100644 --- a/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs +++ b/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs @@ -1,5 +1,5 @@ using System.Collections.Specialized; -using Padi.DotNet.RedmineAPI.Tests.Tests; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Net; diff --git a/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs index b1647407..34ec15e8 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs @@ -1,7 +1,7 @@ using System.Diagnostics; using Redmine.Net.Api.Net.Internal; -namespace Padi.DotNet.RedmineAPI.Tests.Tests; +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; public sealed class RedmineApiUrlsFixture { diff --git a/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs b/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs index 068db9ed..35ffd7cc 100644 --- a/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs +++ b/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs @@ -1,4 +1,5 @@ using System.Collections.Specialized; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Net; From 48d87c7e606c497853ca9ca92bf8e884aaaeb059 Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 15 May 2025 11:41:29 +0300 Subject: [PATCH 561/601] Fix test type -> xml --- .../Infrastructure/Fixtures/RedmineApiUrlsFixture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs index 34ec15e8..a19b44ac 100644 --- a/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs +++ b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineApiUrlsFixture.cs @@ -26,6 +26,6 @@ private void SetMimeTypeJson() [Conditional("DEBUG_XML")] private void SetMimeTypeXml() { - Format = "json"; + Format = "xml"; } } \ No newline at end of file From e5626fe98ae8d75c8a7d7c728e18d28bddeb12ee Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 15 May 2025 11:43:20 +0300 Subject: [PATCH 562/601] [New] GetIssue_With_Watchers_And_Relations_Should_Succeed test --- .../Tests/Async/IssueTestsAsync.cs | 29 +++++++++++++++---- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs index 390efb17..9b355210 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs @@ -1,6 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net; using Redmine.Net.Api.Types; namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; @@ -10,7 +11,7 @@ public class IssueTestsAsync(RedmineTestContainerFixture fixture) { private static readonly IdentifiableName ProjectIdName = IdentifiableName.Create(1); - private async Task CreateTestIssueAsync() + private async Task CreateTestIssueAsync(List customFields = null, List watchers = null) { var issue = new Issue { @@ -20,10 +21,8 @@ private async Task CreateTestIssueAsync() Tracker = 1.ToIdentifier(), Status = 1.ToIssueStatusIdentifier(), Priority = 2.ToIdentifier(), - CustomFields = - [ - IssueCustomField.CreateMultiple(1, ThreadSafeRandom.GenerateText(8), [ThreadSafeRandom.GenerateText(4), ThreadSafeRandom.GenerateText(4)]) - ] + CustomFields = customFields, + Watchers = watchers }; return await fixture.RedmineManager.CreateAsync(issue); } @@ -132,4 +131,24 @@ public async Task DeleteIssue_Should_Succeed() //Assert await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(issueId)); } + + [Fact] + public async Task GetIssue_With_Watchers_And_Relations_Should_Succeed() + { + var createdIssue = await CreateTestIssueAsync( + [ + IssueCustomField.CreateMultiple(1, ThreadSafeRandom.GenerateText(8), + [ThreadSafeRandom.GenerateText(4), ThreadSafeRandom.GenerateText(4)]) + ], + [new Watcher() { Id = 1 }, new Watcher(){Id = 2}]); + + Assert.NotNull(createdIssue); + + //Act + var retrievedIssue = await fixture.RedmineManager.GetAsync(createdIssue.Id.ToInvariantString(), + RequestOptions.Include($"{Include.Issue.Watchers},{Include.Issue.Relations}")); + + //Assert + Assert.NotNull(retrievedIssue); + } } \ No newline at end of file From e7aa5ba94fd62e35185edea4ff28f6466ae146e3 Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 15 May 2025 11:50:27 +0300 Subject: [PATCH 563/601] Rename ThreadSafeRandom to RandomHelper --- .../RandomHelper.cs | 10 +++++----- .../Tests/Async/FileTestsAsync.cs | 6 +++--- .../Async/IssueAttachmentUploadTestsAsync.cs | 2 +- .../Tests/Async/IssueTestsAsync.cs | 20 +++++++++---------- .../Tests/Async/JournalTestsAsync.cs | 4 ++-- .../Tests/Async/MembershipTestsAsync.cs | 16 +++++++-------- .../Tests/Async/NewsAsyncTests.cs | 18 ++++++++--------- .../Tests/Async/UploadTestsAsync.cs | 12 +++++------ .../Tests/Async/UserTestsAsync.cs | 16 +++++++-------- .../Tests/Async/VersionTestsAsync.cs | 6 +++--- .../Tests/Async/WikiTestsAsync.cs | 6 +++--- 11 files changed, 58 insertions(+), 58 deletions(-) diff --git a/tests/redmine-net-api.Integration.Tests/RandomHelper.cs b/tests/redmine-net-api.Integration.Tests/RandomHelper.cs index 7e78005c..95a8129d 100644 --- a/tests/redmine-net-api.Integration.Tests/RandomHelper.cs +++ b/tests/redmine-net-api.Integration.Tests/RandomHelper.cs @@ -2,20 +2,20 @@ namespace Padi.DotNet.RedmineAPI.Integration.Tests; -public static class ThreadSafeRandom +internal static class RandomHelper { /// /// Generates a cryptographically strong, random string suffix. /// This method is thread-safe as Guid.NewGuid() is thread-safe. /// /// A random string, 32 characters long, consisting of hexadecimal characters, without hyphens. - public static string GenerateSuffix() + private static string GenerateSuffix() { return Guid.NewGuid().ToString("N"); } - private static readonly char[] EnglishAlphabetChars = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".ToCharArray(); + private static readonly char[] EnglishAlphabetChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" + .ToCharArray(); // ThreadLocal ensures that each thread has its own instance of Random, // which is important because System.Random is not thread-safe for concurrent use. @@ -60,7 +60,7 @@ public static string GenerateText(int length = 10) /// /// Generates a random name by combining a specified prefix and a random alphabetic suffix. /// This method is thread-safe. - /// Example: if prefix is "MyItem", the result could be "MyItem_aBcDeFgHiJ". + /// Example: if the prefix is "MyItem", the result could be "MyItem_aBcDeFgHiJ". /// /// The prefix for the name. A '_' separator will be added. /// The desired length of the random suffix. Defaults to 10. diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs index 1ca94aa1..251d8451 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs @@ -45,7 +45,7 @@ public async Task CreateFile_With_OptionalParameters_Should_Succeed() { Token = token, Filename = fileName, - Description = ThreadSafeRandom.GenerateText(9), + Description = RandomHelper.GenerateText(9), ContentType = "text/plain", }; @@ -62,7 +62,7 @@ public async Task CreateFile_With_Version_Should_Succeed() { Token = token, Filename = fileName, - Description = ThreadSafeRandom.GenerateText(9), + Description = RandomHelper.GenerateText(9), ContentType = "text/plain", Version = 1.ToIdentifier(), }; @@ -74,7 +74,7 @@ public async Task CreateFile_With_Version_Should_Succeed() private async Task<(string,string)> UploadFileAsync() { var bytes = "Hello World!"u8.ToArray(); - var fileName = $"{ThreadSafeRandom.GenerateText(5)}.txt"; + var fileName = $"{RandomHelper.GenerateText(5)}.txt"; var upload = await fixture.RedmineManager.UploadFileAsync(bytes, fileName); Assert.NotNull(upload); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueAttachmentUploadTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueAttachmentUploadTestsAsync.cs index 679244d1..f87b6780 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueAttachmentUploadTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueAttachmentUploadTestsAsync.cs @@ -35,7 +35,7 @@ public async Task UploadAttachmentAndAttachToIssue_Should_Succeed() // Prepare issue with attachment var updateIssue = new Issue { - Subject = $"Test issue for attachment {ThreadSafeRandom.GenerateText(5)}", + Subject = $"Test issue for attachment {RandomHelper.GenerateText(5)}", Uploads = [upload] }; diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs index 9b355210..d302cedc 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs @@ -16,8 +16,8 @@ private async Task CreateTestIssueAsync(List customFiel var issue = new Issue { Project = ProjectIdName, - Subject = ThreadSafeRandom.GenerateText(9), - Description = ThreadSafeRandom.GenerateText(18), + Subject = RandomHelper.GenerateText(9), + Description = RandomHelper.GenerateText(18), Tracker = 1.ToIdentifier(), Status = 1.ToIssueStatusIdentifier(), Priority = 2.ToIdentifier(), @@ -34,8 +34,8 @@ public async Task CreateIssue_Should_Succeed() var issueData = new Issue { Project = ProjectIdName, - Subject = ThreadSafeRandom.GenerateText(9), - Description = ThreadSafeRandom.GenerateText(18), + Subject = RandomHelper.GenerateText(9), + Description = RandomHelper.GenerateText(18), Tracker = 2.ToIdentifier(), Status = 1.ToIssueStatusIdentifier(), Priority = 3.ToIdentifier(), @@ -44,7 +44,7 @@ public async Task CreateIssue_Should_Succeed() EstimatedHours = 8, CustomFields = [ - IssueCustomField.CreateSingle(1, ThreadSafeRandom.GenerateText(8), ThreadSafeRandom.GenerateText(4)) + IssueCustomField.CreateSingle(1, RandomHelper.GenerateText(8), RandomHelper.GenerateText(4)) ] }; @@ -93,14 +93,14 @@ public async Task UpdateIssue_Should_Succeed() var createdIssue = await CreateTestIssueAsync(); Assert.NotNull(createdIssue); - var updatedSubject = ThreadSafeRandom.GenerateText(9); - var updatedDescription = ThreadSafeRandom.GenerateText(18); + var updatedSubject = RandomHelper.GenerateText(9); + var updatedDescription = RandomHelper.GenerateText(18); var updatedStatusId = 2; createdIssue.Subject = updatedSubject; createdIssue.Description = updatedDescription; createdIssue.Status = updatedStatusId.ToIssueStatusIdentifier(); - createdIssue.Notes = ThreadSafeRandom.GenerateText("Note"); + createdIssue.Notes = RandomHelper.GenerateText("Note"); var issueId = createdIssue.Id.ToInvariantString(); @@ -137,8 +137,8 @@ public async Task GetIssue_With_Watchers_And_Relations_Should_Succeed() { var createdIssue = await CreateTestIssueAsync( [ - IssueCustomField.CreateMultiple(1, ThreadSafeRandom.GenerateText(8), - [ThreadSafeRandom.GenerateText(4), ThreadSafeRandom.GenerateText(4)]) + IssueCustomField.CreateMultiple(1, RandomHelper.GenerateText(8), + [RandomHelper.GenerateText(4), RandomHelper.GenerateText(4)]) ], [new Watcher() { Id = 1 }, new Watcher(){Id = 2}]); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/JournalTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/JournalTestsAsync.cs index 413b1bc0..754118b5 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/JournalTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/JournalTestsAsync.cs @@ -14,8 +14,8 @@ private async Task CreateTestIssueAsync() var issue = new Issue { Project = IdentifiableName.Create(1), - Subject = ThreadSafeRandom.GenerateText(13), - Description = ThreadSafeRandom.GenerateText(19), + Subject = RandomHelper.GenerateText(13), + Description = RandomHelper.GenerateText(19), Tracker = 1.ToIdentifier(), Status = 1.ToIssueStatusIdentifier(), Priority = 2.ToIdentifier(), diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs index f3e7f6a2..55132eb5 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs @@ -16,10 +16,10 @@ private async Task CreateTestMembershipAsync() var user = new User { - Login = ThreadSafeRandom.GenerateText(10), - FirstName = ThreadSafeRandom.GenerateText(8), - LastName = ThreadSafeRandom.GenerateText(9), - Email = $"{ThreadSafeRandom.GenerateText(5)}@example.com", + Login = RandomHelper.GenerateText(10), + FirstName = RandomHelper.GenerateText(8), + LastName = RandomHelper.GenerateText(9), + Email = $"{RandomHelper.GenerateText(5)}@example.com", Password = "password123", MustChangePassword = false, Status = UserStatus.StatusActive @@ -56,10 +56,10 @@ public async Task CreateMembership_Should_Succeed() var user = new User { - Login = ThreadSafeRandom.GenerateText(10), - FirstName = ThreadSafeRandom.GenerateText(8), - LastName = ThreadSafeRandom.GenerateText(9), - Email = $"{ThreadSafeRandom.GenerateText(5)}@example.com", + Login = RandomHelper.GenerateText(10), + FirstName = RandomHelper.GenerateText(8), + LastName = RandomHelper.GenerateText(9), + Email = $"{RandomHelper.GenerateText(5)}@example.com", Password = "password123", MustChangePassword = false, Status = UserStatus.StatusActive diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/NewsAsyncTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/NewsAsyncTests.cs index 6cfd86bf..ca392425 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/NewsAsyncTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/NewsAsyncTests.cs @@ -15,16 +15,16 @@ public async Task GetAllNews_Should_Succeed() // Arrange _ = await fixture.RedmineManager.AddProjectNewsAsync(PROJECT_ID, new News() { - Title = ThreadSafeRandom.GenerateText(5), - Summary = ThreadSafeRandom.GenerateText(10), - Description = ThreadSafeRandom.GenerateText(20), + Title = RandomHelper.GenerateText(5), + Summary = RandomHelper.GenerateText(10), + Description = RandomHelper.GenerateText(20), }); _ = await fixture.RedmineManager.AddProjectNewsAsync("2", new News() { - Title = ThreadSafeRandom.GenerateText(5), - Summary = ThreadSafeRandom.GenerateText(10), - Description = ThreadSafeRandom.GenerateText(20), + Title = RandomHelper.GenerateText(5), + Summary = RandomHelper.GenerateText(10), + Description = RandomHelper.GenerateText(20), }); @@ -41,9 +41,9 @@ public async Task GetProjectNews_Should_Succeed() // Arrange var newsCreated = await fixture.RedmineManager.AddProjectNewsAsync(PROJECT_ID, new News() { - Title = ThreadSafeRandom.GenerateText(5), - Summary = ThreadSafeRandom.GenerateText(10), - Description = ThreadSafeRandom.GenerateText(20), + Title = RandomHelper.GenerateText(5), + Summary = RandomHelper.GenerateText(10), + Description = RandomHelper.GenerateText(20), }); // Act diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/UploadTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/UploadTestsAsync.cs index 1b925d57..727464d1 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/UploadTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/UploadTestsAsync.cs @@ -47,27 +47,27 @@ public async Task Upload_Attachment_To_Issue_Should_Succeed() [Fact] public async Task Upload_Attachment_To_Wiki_Should_Succeed() { - var bytes = Encoding.UTF8.GetBytes(ThreadSafeRandom.GenerateText("Hello Wiki!",10)); - var fileName = $"{ThreadSafeRandom.GenerateText("wiki-",5)}.txt"; + var bytes = Encoding.UTF8.GetBytes(RandomHelper.GenerateText("Hello Wiki!",10)); + var fileName = $"{RandomHelper.GenerateText("wiki-",5)}.txt"; var uploadFile = await fixture.RedmineManager.UploadFileAsync(bytes, fileName); Assert.NotNull(uploadFile); Assert.NotNull(uploadFile.Token); - var wikiPageName = ThreadSafeRandom.GenerateText(7); + var wikiPageName = RandomHelper.GenerateText(7); var wikiPageInfo = new WikiPage() { Version = 0, - Comments = ThreadSafeRandom.GenerateText(15), - Text = ThreadSafeRandom.GenerateText(10), + Comments = RandomHelper.GenerateText(15), + Text = RandomHelper.GenerateText(10), Uploads = [ new Upload() { Token = uploadFile.Token, ContentType = "text/plain", - Description = ThreadSafeRandom.GenerateText(15), + Description = RandomHelper.GenerateText(15), FileName = fileName, } ] diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/UserTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/UserTestsAsync.cs index b5bbd987..d974a0c8 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/UserTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/UserTestsAsync.cs @@ -12,10 +12,10 @@ private async Task CreateTestUserAsync() { var user = new User { - Login = ThreadSafeRandom.GenerateText(12), - FirstName = ThreadSafeRandom.GenerateText(8), - LastName = ThreadSafeRandom.GenerateText(10), - Email = $"{ThreadSafeRandom.GenerateText(5)}.{ThreadSafeRandom.GenerateText(4)}@gmail.com", + Login = RandomHelper.GenerateText(12), + FirstName = RandomHelper.GenerateText(8), + LastName = RandomHelper.GenerateText(10), + Email = $"{RandomHelper.GenerateText(5)}.{RandomHelper.GenerateText(4)}@gmail.com", Password = "password123", AuthenticationModeId = null, MustChangePassword = false, @@ -30,9 +30,9 @@ public async Task CreateUser_Should_Succeed() //Arrange var userData = new User { - Login = ThreadSafeRandom.GenerateText(5), - FirstName = ThreadSafeRandom.GenerateText(5), - LastName = ThreadSafeRandom.GenerateText(5), + Login = RandomHelper.GenerateText(5), + FirstName = RandomHelper.GenerateText(5), + LastName = RandomHelper.GenerateText(5), Password = "password123", MailNotification = "only_my_events", AuthenticationModeId = null, @@ -81,7 +81,7 @@ public async Task UpdateUser_Should_Succeed() var createdUser = await CreateTestUserAsync(); Assert.NotNull(createdUser); - var updatedFirstName = ThreadSafeRandom.GenerateText(10); + var updatedFirstName = RandomHelper.GenerateText(10); createdUser.FirstName = updatedFirstName; //Act diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs index 71cd8e4c..f66b7e91 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs @@ -15,8 +15,8 @@ private async Task CreateTestVersionAsync() { var version = new Version { - Name = ThreadSafeRandom.GenerateText(10), - Description = ThreadSafeRandom.GenerateText(15), + Name = RandomHelper.GenerateText(10), + Description = RandomHelper.GenerateText(15), Status = VersionStatus.Open, Sharing = VersionSharing.None, DueDate = DateTime.Now.Date.AddDays(30) @@ -75,7 +75,7 @@ public async Task UpdateVersion_Should_Succeed() var createdVersion = await CreateTestVersionAsync(); Assert.NotNull(createdVersion); - var updatedDescription = ThreadSafeRandom.GenerateText(20); + var updatedDescription = RandomHelper.GenerateText(20); var updatedStatus = VersionStatus.Locked; createdVersion.Description = updatedDescription; createdVersion.Status = updatedStatus; diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs index 9ef9a3a0..29afa6bf 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs @@ -77,11 +77,11 @@ public async Task GetAllWikiPages_Should_Succeed() public async Task DeleteWikiPage_Should_Succeed() { // Arrange - var wikiPageName = ThreadSafeRandom.GenerateText(7); + var wikiPageName = RandomHelper.GenerateText(7); var wikiPage = new WikiPage { - Title = ThreadSafeRandom.GenerateText(5), + Title = RandomHelper.GenerateText(5), Text = "Test wiki page content for deletion", Comments = "Initial wiki page creation for deletion test" }; @@ -123,7 +123,7 @@ await Assert.ThrowsAsync(async () => public async Task CreateWikiPage_Should_Succeed() { //Arrange - var pageTitle = ThreadSafeRandom.GenerateText("NewWikiPage"); + var pageTitle = RandomHelper.GenerateText("NewWikiPage"); var text = "This is the content of a new wiki page."; var comments = "Creation comment for new wiki page."; var wikiPageData = new WikiPage { Text = text, Comments = comments }; From fe984a32fc65c5ce6f1408643a301150c335792a Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 16 May 2025 13:11:04 +0300 Subject: [PATCH 564/601] Integration tests --- .../redmine-net-api/Common}/AType.cs | 0 .../Fixtures/RedmineTestContainerFixture.cs | 206 ++++++++++++++--- .../Helpers/AssertHelpers.cs | 31 +++ .../Helpers/FileGeneratorHelper.cs | 142 ++++++++++++ .../Helpers/IssueTestHelper.cs | 36 +++ .../Helpers/RandomHelper.cs | 218 ++++++++++++++++++ .../{ => Infrastructure}/Constants.cs | 0 .../Infrastructure/RedmineOptions.cs | 35 +++ .../Infrastructure}/TestHelper.cs | 19 +- .../RandomHelper.cs | 89 ------- .../Tests/Async/AttachmentTestsAsync.cs | 96 ++++++-- .../Tests/Async/FileTestsAsync.cs | 6 +- .../Tests/Async/ProjectTestsAsync.cs | 34 ++- .../Tests/Async/TimeEntryTests.cs | 4 +- .../Tests/Async/VersionTestsAsync.cs | 2 +- .../Tests/Async/WikiTestsAsync.cs | 18 +- .../Tests/ProgressTests.cs | 109 +++++++++ .../Tests/ProgressTestsAsync.cs | 9 + .../Tests/Sync/AttachmentTests.cs | 38 +++ .../Tests/Sync/CustomFieldTestsSync.cs | 18 ++ .../Tests/Sync/EnumerationTestsSync.cs | 12 + .../Tests/Sync/FileUploadTests.cs | 82 +++++++ .../Tests/Sync/GroupManagementTests.cs | 118 ++++++++++ .../Tests/Sync/IssueAttachmentUploadTests.cs | 44 ++++ .../Tests/Sync/IssueCategoryTestsSync.cs | 66 ++++++ .../Tests/Sync/IssueJournalTestsSync.cs | 37 +++ .../Tests/Sync/IssueRelationTests.cs | 58 +++++ .../Tests/Sync/IssueStatusTests.cs | 16 ++ .../Tests/Sync/IssueTestsAsync.cs | 124 ++++++++++ .../Tests/Sync/IssueWatcherTestsAsync.cs | 47 ++++ .../Tests/Sync/JournalManagementTests.cs | 40 ++++ .../Tests/Sync/NewsTestsIntegration.cs | 48 ++++ .../Tests/Sync/ProjectMembershipTests.cs | 103 +++++++++ .../appsettings.json | 14 ++ .../appsettings.local.json | 10 + .../redmine-net-api.Integration.Tests.csproj | 59 ++++- .../Collections/RedmineCollection.cs | 10 - .../Infrastructure/Fixtures/RedmineFixture.cs | 40 ---- .../Infrastructure/RedmineCredentials.cs | 10 - .../appsettings-local.json | 5 - tests/redmine-net-api.Tests/appsettings.json | 8 - .../redmine-net-api.Tests.csproj | 45 +--- 42 files changed, 1802 insertions(+), 304 deletions(-) rename {tests/redmine-net-api.Tests/Infrastructure => src/redmine-net-api/Common}/AType.cs (100%) create mode 100644 tests/redmine-net-api.Integration.Tests/Helpers/AssertHelpers.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Helpers/FileGeneratorHelper.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Helpers/IssueTestHelper.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Helpers/RandomHelper.cs rename tests/redmine-net-api.Integration.Tests/{ => Infrastructure}/Constants.cs (100%) create mode 100644 tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineOptions.cs rename tests/{redmine-net-api.Tests => redmine-net-api.Integration.Tests/Infrastructure}/TestHelper.cs (55%) delete mode 100644 tests/redmine-net-api.Integration.Tests/RandomHelper.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/ProgressTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/ProgressTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/AttachmentTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/CustomFieldTestsSync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/EnumerationTestsSync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/FileUploadTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/GroupManagementTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueAttachmentUploadTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueCategoryTestsSync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueJournalTestsSync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueRelationTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueStatusTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueWatcherTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/JournalManagementTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/NewsTestsIntegration.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/ProjectMembershipTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/appsettings.json create mode 100644 tests/redmine-net-api.Integration.Tests/appsettings.local.json delete mode 100644 tests/redmine-net-api.Tests/Infrastructure/Collections/RedmineCollection.cs delete mode 100644 tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineFixture.cs delete mode 100644 tests/redmine-net-api.Tests/Infrastructure/RedmineCredentials.cs delete mode 100644 tests/redmine-net-api.Tests/appsettings-local.json delete mode 100644 tests/redmine-net-api.Tests/appsettings.json diff --git a/tests/redmine-net-api.Tests/Infrastructure/AType.cs b/src/redmine-net-api/Common/AType.cs similarity index 100% rename from tests/redmine-net-api.Tests/Infrastructure/AType.cs rename to src/redmine-net-api/Common/AType.cs diff --git a/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs b/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs index a9564c8e..33173b11 100644 --- a/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs +++ b/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs @@ -3,8 +3,11 @@ using DotNet.Testcontainers.Containers; using DotNet.Testcontainers.Networks; using Npgsql; +using Padi.DotNet.RedmineAPI.Tests; +using Padi.DotNet.RedmineAPI.Tests.Infrastructure; using Redmine.Net.Api; using Testcontainers.PostgreSql; +using Xunit.Abstractions; namespace Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; @@ -19,9 +22,11 @@ public class RedmineTestContainerFixture : IAsyncLifetime private const string PostgresPassword = "postgres"; private const string RedmineSqlFilePath = "TestData/init-redmine.sql"; - public const string RedmineApiKey = "029a9d38-17e8-41ae-bc8c-fbf71e193c57"; - private readonly string RedmineNetworkAlias = Guid.NewGuid().ToString(); + + private readonly ITestOutputHelper _output; + private readonly TestContainerOptions _redmineOptions; + private INetwork Network { get; set; } private PostgreSqlContainer PostgresContainer { get; set; } private IContainer RedmineContainer { get; set; } @@ -30,16 +35,98 @@ public class RedmineTestContainerFixture : IAsyncLifetime public RedmineTestContainerFixture() { - BuildContainers(); + _redmineOptions = TestHelper.GetConfiguration(); + + if (_redmineOptions.Mode != TestContainerMode.UseExisting) + { + BuildContainers(); + } + } + + // private static string GetExistingRedmineUrl() + // { + // return GetConfigValue("TestContainer:ExistingRedmineUrl") ?? "http://localhost:3000/"; + // } + // + // private static string GetRedmineUsername() + // { + // return GetConfigValue("Redmine:Username") ?? DefaultRedmineUser; + // } + // + // private static string GetRedminePassword() + // { + // return GetConfigValue("Redmine:Password") ?? DefaultRedminePassword; + // } + + /// + /// Gets configuration value from environment variables or appsettings.json + /// + // private static string GetConfigValue(string key) + // { + // var envKey = key.Replace(":", "__"); + // var envValue = Environment.GetEnvironmentVariable(envKey); + // if (!string.IsNullOrEmpty(envValue)) + // { + // return envValue; + // } + // + // try + // { + // var config = new ConfigurationBuilder() + // .AddJsonFile("appsettings.json", optional: true) + // .AddJsonFile("appsettings.local.json", optional: true) + // .Build(); + // + // return config[key]; + // } + // catch + // { + // return null; + // } + // } + + /// + /// Detects if running in a CI/CD environment + /// + private static bool IsRunningInCiEnvironment() + { + return !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("CI")) || + !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("GITHUB_ACTIONS")); + } + /// + /// Gets container mode from configuration + /// + // private static TestContainerMode GetContainerMode() + // { + // var mode = GetConfigValue("TestContainer:Mode"); + // + // if (string.IsNullOrEmpty(mode)) + // { + // if (IsRunningInCiEnvironment()) + // { + // return TestContainerMode.CreateNewWithRandomPorts; + // } + // + // return TestContainerMode.CreateNewWithRandomPorts; + // } + // + // return mode.ToLowerInvariant() switch + // { + // "existing" => TestContainerMode.UseExisting, + // _ => TestContainerMode.CreateNewWithRandomPorts + // }; + // } + private void BuildContainers() { Network = new NetworkBuilder() .WithDriver(NetworkDriver.Bridge) .Build(); - - PostgresContainer = new PostgreSqlBuilder() + + var postgresBuilder + = new PostgreSqlBuilder() .WithImage(PostgresImage) .WithNetwork(Network) .WithNetworkAliases(RedmineNetworkAlias) @@ -50,10 +137,21 @@ private void BuildContainers() { "POSTGRES_USER", PostgresUser }, { "POSTGRES_PASSWORD", PostgresPassword }, }) - .WithWaitStrategy(Wait.ForUnixContainer().UntilPortIsAvailable(PostgresPort)) - .Build(); + .WithWaitStrategy(Wait.ForUnixContainer().UntilPortIsAvailable(PostgresPort)); + + if (_redmineOptions.Mode == TestContainerMode.CreateNewWithRandomPorts) + { + postgresBuilder.WithPortBinding(PostgresPort, assignRandomHostPort: true); + } + else + { + postgresBuilder.WithPortBinding(PostgresPort, PostgresPort); + } - RedmineContainer = new ContainerBuilder() + PostgresContainer = postgresBuilder.Build(); + + var redmineBuilder + = new ContainerBuilder() .WithImage(RedmineImage) .WithNetwork(Network) .WithPortBinding(RedminePort, assignRandomHostPort: true) @@ -66,25 +164,56 @@ private void BuildContainers() { "REDMINE_DB_PASSWORD", PostgresPassword }, }) .DependsOn(PostgresContainer) - .WithWaitStrategy(Wait.ForUnixContainer().UntilHttpRequestIsSucceeded(request => request.ForPort(RedminePort).ForPath("/"))) - .Build(); + .WithWaitStrategy(Wait.ForUnixContainer() + .UntilHttpRequestIsSucceeded(request => request.ForPort(RedminePort).ForPath("/"))); + + if (_redmineOptions.Mode == TestContainerMode.CreateNewWithRandomPorts) + { + redmineBuilder.WithPortBinding(RedminePort, assignRandomHostPort: true); + } + else + { + redmineBuilder.WithPortBinding(RedminePort, RedminePort); + } + + RedmineContainer = redmineBuilder.Build(); } public async Task InitializeAsync() { - await Network.CreateAsync(); - - await PostgresContainer.StartAsync(); - - await RedmineContainer.StartAsync(); + var rmgBuilder = new RedmineManagerOptionsBuilder(); + + switch (_redmineOptions.AuthenticationMode) + { + case AuthenticationMode.ApiKey: + var apiKey = _redmineOptions.Authentication.ApiKey; + rmgBuilder.WithApiKeyAuthentication(apiKey); + break; + case AuthenticationMode.Basic: + var username = _redmineOptions.Authentication.Basic.Username; + var password = _redmineOptions.Authentication.Basic.Password; + rmgBuilder.WithBasicAuthentication(username, password); + break; + } + + if (_redmineOptions.Mode == TestContainerMode.UseExisting) + { + RedmineHost = _redmineOptions.Url; + } + else + { + await Network.CreateAsync(); - await SeedTestDataAsync(PostgresContainer, CancellationToken.None); + await PostgresContainer.StartAsync(); - RedmineHost = $"http://{RedmineContainer.Hostname}:{RedmineContainer.GetMappedPublicPort(RedminePort)}"; - - var rmgBuilder = new RedmineManagerOptionsBuilder() - .WithHost(RedmineHost) - .WithBasicAuthentication("adminuser", "1qaz2wsx"); + await RedmineContainer.StartAsync(); + + await SeedTestDataAsync(PostgresContainer, CancellationToken.None); + + RedmineHost = $"http://{RedmineContainer.Hostname}:{RedmineContainer.GetMappedPublicPort(RedminePort)}"; + } + + rmgBuilder.WithHost(RedmineHost); RedmineManager = new RedmineManager(rmgBuilder); } @@ -93,15 +222,18 @@ public async Task DisposeAsync() { var exceptions = new List(); - await SafeDisposeAsync(() => RedmineContainer.StopAsync()); - await SafeDisposeAsync(() => PostgresContainer.StopAsync()); - await SafeDisposeAsync(() => Network.DisposeAsync().AsTask()); - - if (exceptions.Count > 0) + if (_redmineOptions.Mode != TestContainerMode.UseExisting) { - throw new AggregateException(exceptions); + await SafeDisposeAsync(() => RedmineContainer.StopAsync()); + await SafeDisposeAsync(() => PostgresContainer.StopAsync()); + await SafeDisposeAsync(() => Network.DisposeAsync().AsTask()); + + if (exceptions.Count > 0) + { + throw new AggregateException(exceptions); + } } - + return; async Task SafeDisposeAsync(Func disposeFunc) @@ -117,7 +249,7 @@ async Task SafeDisposeAsync(Func disposeFunc) } } - private static async Task SeedTestDataAsync(PostgreSqlContainer container, CancellationToken ct) + private async Task SeedTestDataAsync(PostgreSqlContainer container, CancellationToken ct) { const int maxDbAttempts = 10; var dbRetryDelay = TimeSpan.FromSeconds(2); @@ -143,7 +275,19 @@ private static async Task SeedTestDataAsync(PostgreSqlContainer container, Cance var res = await container.ExecScriptAsync(sql, ct); if (!string.IsNullOrWhiteSpace(res.Stderr)) { - // Optionally log stderr + _output.WriteLine(res.Stderr); } } -} \ No newline at end of file +} + +/// +/// Enum defining how containers should be managed +/// +public enum TestContainerMode +{ + /// Use existing running containers at specified URL + UseExisting, + + /// Create new containers with random ports (CI-friendly) + CreateNewWithRandomPorts +} diff --git a/tests/redmine-net-api.Integration.Tests/Helpers/AssertHelpers.cs b/tests/redmine-net-api.Integration.Tests/Helpers/AssertHelpers.cs new file mode 100644 index 00000000..d105f53e --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Helpers/AssertHelpers.cs @@ -0,0 +1,31 @@ +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; + +internal static class AssertHelpers +{ + /// + /// Asserts that two values are equal within the specified tolerance. + /// + public static void Equal(float expected, float actual, float tolerance = 1e-4f) + => Assert.InRange(actual, expected - tolerance, expected + tolerance); + + /// + /// Asserts that two values are equal within the specified tolerance. + /// + public static void Equal(decimal expected, decimal actual, decimal tolerance = 0.0001m) + => Assert.InRange(actual, expected - tolerance, expected + tolerance); + + /// + /// Asserts that two values are equal within the supplied tolerance. + /// Kind is ignored – both values are first converted to UTC. + /// + public static void Equal(DateTime expected, DateTime actual, TimeSpan? tolerance = null) + { + tolerance ??= TimeSpan.FromSeconds(1); + + var expectedUtc = expected.ToUniversalTime(); + var actualUtc = actual.ToUniversalTime(); + + Assert.InRange(actualUtc, expectedUtc - tolerance.Value, expectedUtc + tolerance.Value); + } + +} diff --git a/tests/redmine-net-api.Integration.Tests/Helpers/FileGeneratorHelper.cs b/tests/redmine-net-api.Integration.Tests/Helpers/FileGeneratorHelper.cs new file mode 100644 index 00000000..62975276 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Helpers/FileGeneratorHelper.cs @@ -0,0 +1,142 @@ +using System.Text; +using Redmine.Net.Api; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; +using File = System.IO.File; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; + +internal static class FileGeneratorHelper +{ + private static readonly string[] Extensions = [".txt", ".doc", ".pdf", ".xml", ".json"]; + + /// + /// Generates random file content with a specified size. + /// + /// Size of the file in kilobytes. + /// Byte array containing the file content. + public static byte[] GenerateRandomFileBytes(int sizeInKb) + { + var sizeInBytes = sizeInKb * 1024; + var bytes = new byte[sizeInBytes]; + RandomHelper.FillRandomBytes(bytes); + return bytes; + } + + /// + /// Generates a random text file with a specified size. + /// + /// Size of the file in kilobytes. + /// Byte array containing the text file content. + public static byte[] GenerateRandomTextFileBytes(int sizeInKb) + { + var roughCharCount = sizeInKb * 1024; + + var sb = new StringBuilder(roughCharCount); + + while (sb.Length < roughCharCount) + { + sb.AppendLine(RandomHelper.GenerateText(RandomHelper.GetRandomNumber(5, 80))); + } + + var text = sb.ToString(); + + if (text.Length > roughCharCount) + { + text = text[..roughCharCount]; + } + + return Encoding.UTF8.GetBytes(text); + } + + /// + /// Creates a random file with a specified size and returns its path. + /// + /// Size of the file in kilobytes. + /// If true, generates text content; otherwise, generates binary content. + /// Path to the created temporary file. + public static string CreateRandomFile(int sizeInKb, bool useTextContent = true) + { + var extension = Extensions[RandomHelper.GetRandomNumber(Extensions.Length)]; + var fileName = RandomHelper.GenerateText("test-file", 7); + var filePath = Path.Combine(Path.GetTempPath(), $"{fileName}{extension}"); + + var content = useTextContent + ? GenerateRandomTextFileBytes(sizeInKb) + : GenerateRandomFileBytes(sizeInKb); + + File.WriteAllBytes(filePath, content); + return filePath; + } + +} + +internal static class FileTestHelper +{ + private static (string fileNameame, byte[] fileContent) GenerateFile(int sizeInKb) + { + var fileName = RandomHelper.GenerateText("test-file", 7); + var fileContent = sizeInKb >= 1024 + ? FileGeneratorHelper.GenerateRandomTextFileBytes(sizeInKb) + : FileGeneratorHelper.GenerateRandomFileBytes(sizeInKb); + + return (fileName, fileContent); + } + public static Upload UploadRandomFile(IRedmineManager client, int sizeInKb, RequestOptions options = null) + { + var (fileName, fileContent) = GenerateFile(sizeInKb); + return client.UploadFile(fileContent, fileName); + } + + /// + /// Helper method to upload a 500KB file. + /// + /// The Redmine API client. + /// Request options. + /// API response message containing the uploaded file information. + public static Upload UploadRandom500KbFile(IRedmineManager client, RequestOptions options = null) + { + return UploadRandomFile(client, 500, options); + } + + /// + /// Helper method to upload a 1MB file. + /// + /// The Redmine API client. + /// Request options. + /// API response message containing the uploaded file information. + public static Upload UploadRandom1MbFile(IRedmineManager client, RequestOptions options = null) + { + return UploadRandomFile(client, 1024, options); + } + + public static async Task UploadRandomFileAsync(IRedmineManagerAsync client, int sizeInKb, RequestOptions options = null) + { + var (fileName, fileContent) = GenerateFile(sizeInKb); + + return await client.UploadFileAsync(fileContent, fileName, options); + } + + /// + /// Helper method to upload a 500KB file. + /// + /// The Redmine API client. + /// Request options. + /// API response message containing the uploaded file information. + public static Task UploadRandom500KbFileAsync(IRedmineManagerAsync client, RequestOptions options = null) + { + return UploadRandomFileAsync(client, 500, options); + } + + /// + /// Helper method to upload a 1MB file. + /// + /// The Redmine API client. + /// Request options. + /// API response message containing the uploaded file information. + public static Task UploadRandom1MbFileAsync(IRedmineManagerAsync client, RequestOptions options = null) + { + return UploadRandomFileAsync(client, 1024, options); + } + +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Helpers/IssueTestHelper.cs b/tests/redmine-net-api.Integration.Tests/Helpers/IssueTestHelper.cs new file mode 100644 index 00000000..5fbae108 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Helpers/IssueTestHelper.cs @@ -0,0 +1,36 @@ +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; + +internal static class IssueTestHelper +{ + internal static readonly IdentifiableName ProjectIdName = IdentifiableName.Create(1); + + internal static Issue CreateIssue(List customFields = null, List watchers = null, + List uploads = null) + => new() + { + Project = ProjectIdName, + Subject = RandomHelper.GenerateText(9), + Description = RandomHelper.GenerateText(18), + Tracker = 1.ToIdentifier(), + Status = 1.ToIssueStatusIdentifier(), + Priority = 2.ToIdentifier(), + CustomFields = customFields, + Watchers = watchers, + Uploads = uploads + }; + + internal static void AssertBasic(Issue expected, Issue actual) + { + Assert.NotNull(actual); + Assert.True(actual.Id > 0); + Assert.Equal(expected.Subject, actual.Subject); + Assert.Equal(expected.Description, actual.Description); + Assert.Equal(expected.Project.Id, actual.Project.Id); + Assert.Equal(expected.Tracker.Id, actual.Tracker.Id); + Assert.Equal(expected.Status.Id, actual.Status.Id); + Assert.Equal(expected.Priority.Id, actual.Priority.Id); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Helpers/RandomHelper.cs b/tests/redmine-net-api.Integration.Tests/Helpers/RandomHelper.cs new file mode 100644 index 00000000..e7814fc8 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Helpers/RandomHelper.cs @@ -0,0 +1,218 @@ +using System.Text; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests; + +internal static class RandomHelper +{ + /// + /// Generates a cryptographically strong, random string suffix. + /// This method is thread-safe as Guid.NewGuid() is thread-safe. + /// + /// A random string, 32 characters long, consisting of hexadecimal characters, without hyphens. + private static string GenerateSuffix() + { + return Guid.NewGuid().ToString("N"); + } + + private static readonly char[] EnglishAlphabetChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" + .ToCharArray(); + + // ThreadLocal ensures that each thread has its own instance of Random, + // which is important because System.Random is not thread-safe for concurrent use. + // Seed with Guid for better randomness across instances + private static readonly ThreadLocal ThreadRandom = + new ThreadLocal(() => new Random(Guid.NewGuid().GetHashCode())); + + /// + /// Generates a random string of a specified length using only English alphabet characters. + /// This method is thread-safe. + /// + /// The desired length of the random string. Defaults to 10. + /// A random string composed of English alphabet characters. + private static string GenerateRandomString(int length = 10) + { + if (length <= 0) + { + throw new ArgumentOutOfRangeException(nameof(length), "Length must be a positive integer."); + } + + var random = ThreadRandom.Value; + var result = new StringBuilder(length); + for (var i = 0; i < length; i++) + { + result.Append(EnglishAlphabetChars[random.Next(EnglishAlphabetChars.Length)]); + } + + return result.ToString(); + } + + internal static void FillRandomBytes(byte[] bytes) + { + ThreadRandom.Value.NextBytes(bytes); + } + + internal static int GetRandomNumber(int max) + { + return ThreadRandom.Value.Next(max); + } + + internal static int GetRandomNumber(int min, int max) + { + return ThreadRandom.Value.Next(min, max); + } + + /// + /// Generates a random alphabetic suffix, defaulting to 10 characters. + /// This method is thread-safe. + /// + /// The desired length of the suffix. Defaults to 10. + /// A random alphabetic string. + public static string GenerateText(int length = 10) + { + return GenerateRandomString(length); + } + + /// + /// Generates a random name by combining a specified prefix and a random alphabetic suffix. + /// This method is thread-safe. + /// Example: if the prefix is "MyItem", the result could be "MyItem_aBcDeFgHiJ". + /// + /// The prefix for the name. A '_' separator will be added. + /// The desired length of the random suffix. Defaults to 10. + /// A string combining the prefix, an underscore, and a random alphabetic suffix. + /// If the prefix is null or empty, it returns just the random suffix. + public static string GenerateText(string prefix = null, int suffixLength = 10) + { + var suffix = GenerateRandomString(suffixLength); + return string.IsNullOrEmpty(prefix) ? suffix : $"{prefix}_{suffix}"; + } + + /// + /// Generates a random email address with alphabetic characters only. + /// + /// Length of the local part (before @). Defaults to 8. + /// Length of the domain name (without extension). Defaults to 6. + /// A random email address with only alphabetic characters. + public static string GenerateEmail(int localPartLength = 8, int domainLength = 6) + { + if (localPartLength <= 0 || domainLength <= 0) + { + throw new ArgumentOutOfRangeException( + localPartLength <= 0 ? nameof(localPartLength) : nameof(domainLength), + "Length must be a positive integer."); + } + + var localPart = GenerateRandomString(localPartLength); + var domain = GenerateRandomString(domainLength).ToLower(); + + // Use common TLDs + var tlds = new[] { "com", "org", "net", "io" }; + var tld = tlds[ThreadRandom.Value.Next(tlds.Length)]; + + return $"{localPart}@{domain}.{tld}"; + } + + /// + /// Generates a random webpage URL with alphabetic characters only. + /// + /// Length of the domain name (without extension). Defaults to 8. + /// Length of the path segment. Defaults to 10. + /// A random webpage URL with only alphabetic characters. + public static string GenerateWebpage(int domainLength = 8, int pathLength = 10) + { + if (domainLength <= 0 || pathLength <= 0) + { + throw new ArgumentOutOfRangeException( + domainLength <= 0 ? nameof(domainLength) : nameof(pathLength), + "Length must be a positive integer."); + } + + var domain = GenerateRandomString(domainLength).ToLower(); + + // Use common TLDs + var tlds = new[] { "com", "org", "net", "io" }; + var tld = tlds[ThreadRandom.Value.Next(tlds.Length)]; + + // Generate path segments + var segments = ThreadRandom.Value.Next(0, 3); + var path = ""; + + if (segments > 0) + { + var pathSegments = new List(segments); + for (int i = 0; i < segments; i++) + { + pathSegments.Add(GenerateRandomString(ThreadRandom.Value.Next(3, pathLength)).ToLower()); + } + + path = "/" + string.Join("/", pathSegments); + } + + return $"https://www.{domain}.{tld}{path}/"; + } + + /// + /// Generates a random name composed only of alphabetic characters from the English alphabet. + /// + /// Length of the name. Defaults to 6. + /// Whether to capitalize the first letter. Defaults to true. + /// A random name with only English alphabetic characters. + public static string GenerateName(int length = 6, bool capitalize = true) + { + if (length <= 0) + { + throw new ArgumentOutOfRangeException(nameof(length), "Length must be a positive integer."); + } + + // Generate random name + var name = GenerateRandomString(length); + + if (capitalize) + { + name = char.ToUpper(name[0]) + name.Substring(1).ToLower(); + } + else + { + name = name.ToLower(); + } + + return name; + } + + /// + /// Generates a random full name composed only of alphabetic characters. + /// + /// Length of the first name. Defaults to 6. + /// Length of the last name. Defaults to 8. + /// A random full name with only alphabetic characters. + public static string GenerateFullName(int firstNameLength = 6, int lastNameLength = 8) + { + if (firstNameLength <= 0 || lastNameLength <= 0) + { + throw new ArgumentOutOfRangeException( + firstNameLength <= 0 ? nameof(firstNameLength) : nameof(lastNameLength), + "Length must be a positive integer."); + } + + // Generate random first and last names using the new alphabetic-only method + var firstName = GenerateName(firstNameLength); + var lastName = GenerateName(lastNameLength); + + return $"{firstName} {lastName}"; + } + + // Fisher-Yates shuffle algorithm + public static void Shuffle(this IList list) + { + var n = list.Count; + var random = ThreadRandom.Value; + while (n > 1) + { + n--; + var k = random.Next(n + 1); + var value = list[k]; + list[k] = list[n]; + list[n] = value; + } + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Constants.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/Constants.cs similarity index 100% rename from tests/redmine-net-api.Integration.Tests/Constants.cs rename to tests/redmine-net-api.Integration.Tests/Infrastructure/Constants.cs diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineOptions.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineOptions.cs new file mode 100644 index 00000000..6139c23b --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineOptions.cs @@ -0,0 +1,35 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; + +namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure +{ + public sealed class TestContainerOptions + { + public string Url { get; set; } + + public AuthenticationMode AuthenticationMode { get; set; } + + public Authentication Authentication { get; set; } + + public TestContainerMode Mode { get; set; } + } + + public sealed class Authentication + { + public string ApiKey { get; set; } + + public BasicAuthentication Basic { get; set; } + } + + public sealed class BasicAuthentication + { + public string Username { get; set; } + public string Password { get; set; } + } + + public enum AuthenticationMode + { + None, + ApiKey, + Basic + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/TestHelper.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/TestHelper.cs similarity index 55% rename from tests/redmine-net-api.Tests/TestHelper.cs rename to tests/redmine-net-api.Integration.Tests/Infrastructure/TestHelper.cs index bd7b615a..418058e6 100644 --- a/tests/redmine-net-api.Tests/TestHelper.cs +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/TestHelper.cs @@ -7,33 +7,32 @@ internal static class TestHelper { private static IConfigurationRoot GetIConfigurationRoot(string outputPath) { - var environment = Environment.GetEnvironmentVariable("Environment"); + // var environment = Environment.GetEnvironmentVariable("Environment"); return new ConfigurationBuilder() .SetBasePath(outputPath) .AddJsonFile("appsettings.json", optional: true) - .AddJsonFile($"appsettings.{environment}.json", optional: true) - .AddJsonFile($"appsettings-local.json", optional: true) - .AddUserSecrets("f8b9e946-b547-42f1-861c-f719dca00a84") + // .AddJsonFile($"appsettings.{environment}.json", optional: true) + .AddJsonFile($"appsettings.local.json", optional: true) + // .AddUserSecrets("f8b9e946-b547-42f1-861c-f719dca00a84") .Build(); } - public static RedmineCredentials GetApplicationConfiguration(string outputPath = "") + public static TestContainerOptions GetConfiguration(string outputPath = "") { if (string.IsNullOrWhiteSpace(outputPath)) { outputPath = Directory.GetCurrentDirectory(); } - var credentials = new RedmineCredentials(); + var testContainerOptions = new TestContainerOptions(); var iConfig = GetIConfigurationRoot(outputPath); - iConfig - .GetSection("Credentials") - .Bind(credentials); + iConfig.GetSection("TestContainer") + .Bind(testContainerOptions); - return credentials; + return testContainerOptions; } } } \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/RandomHelper.cs b/tests/redmine-net-api.Integration.Tests/RandomHelper.cs deleted file mode 100644 index 95a8129d..00000000 --- a/tests/redmine-net-api.Integration.Tests/RandomHelper.cs +++ /dev/null @@ -1,89 +0,0 @@ -using System.Text; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests; - -internal static class RandomHelper -{ - /// - /// Generates a cryptographically strong, random string suffix. - /// This method is thread-safe as Guid.NewGuid() is thread-safe. - /// - /// A random string, 32 characters long, consisting of hexadecimal characters, without hyphens. - private static string GenerateSuffix() - { - return Guid.NewGuid().ToString("N"); - } - - private static readonly char[] EnglishAlphabetChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" - .ToCharArray(); - - // ThreadLocal ensures that each thread has its own instance of Random, - // which is important because System.Random is not thread-safe for concurrent use. - // Seed with Guid for better randomness across instances - private static readonly ThreadLocal ThreadRandom = - new ThreadLocal(() => new Random(Guid.NewGuid().GetHashCode())); - - /// - /// Generates a random string of a specified length using only English alphabet characters. - /// This method is thread-safe. - /// - /// The desired length of the random string. Defaults to 10. - /// A random string composed of English alphabet characters. - private static string GenerateRandomAlphaNumericString(int length = 10) - { - if (length <= 0) - { - throw new ArgumentOutOfRangeException(nameof(length), "Length must be a positive integer."); - } - - var random = ThreadRandom.Value; - var result = new StringBuilder(length); - for (var i = 0; i < length; i++) - { - result.Append(EnglishAlphabetChars[random.Next(EnglishAlphabetChars.Length)]); - } - - return result.ToString(); - } - - /// - /// Generates a random alphabetic suffix, defaulting to 10 characters. - /// This method is thread-safe. - /// - /// The desired length of the suffix. Defaults to 10. - /// A random alphabetic string. - public static string GenerateText(int length = 10) - { - return GenerateRandomAlphaNumericString(length); - } - - /// - /// Generates a random name by combining a specified prefix and a random alphabetic suffix. - /// This method is thread-safe. - /// Example: if the prefix is "MyItem", the result could be "MyItem_aBcDeFgHiJ". - /// - /// The prefix for the name. A '_' separator will be added. - /// The desired length of the random suffix. Defaults to 10. - /// A string combining the prefix, an underscore, and a random alphabetic suffix. - /// If the prefix is null or empty, it returns just the random suffix. - public static string GenerateText(string prefix = null, int suffixLength = 10) - { - var suffix = GenerateRandomAlphaNumericString(suffixLength); - return string.IsNullOrEmpty(prefix) ? suffix : $"{prefix}_{suffix}"; - } - - // Fisher-Yates shuffle algorithm - public static void Shuffle(this IList list) - { - var n = list.Count; - var random = ThreadRandom.Value; - while (n > 1) - { - n--; - var k = random.Next(n + 1); - var value = list[k]; - list[k] = list[n]; - list[n] = value; - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/AttachmentTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/AttachmentTestsAsync.cs index 88ca740c..4750b31f 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/AttachmentTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/AttachmentTestsAsync.cs @@ -1,4 +1,5 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Redmine.Net.Api.Net; using Redmine.Net.Api.Types; @@ -8,39 +9,56 @@ namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; public class AttachmentTestsAsync(RedmineTestContainerFixture fixture) { [Fact] - public async Task UploadAndGetAttachment_Should_Succeed() + public async Task CreateIssueWithAttachment_Should_Succeed() { // Arrange - var fileContent = "Test attachment content"u8.ToArray(); - var filename = "test_attachment.txt"; - - // Upload the file - var upload = await fixture.RedmineManager.UploadFileAsync(fileContent, filename); + var upload = FileTestHelper.UploadRandom500KbFile(fixture.RedmineManager); Assert.NotNull(upload); - Assert.NotEmpty(upload.Token); - - // Create an issue with the attachment - var issue = new Issue - { - Project = new IdentifiableName { Id = 1 }, - Tracker = new IdentifiableName { Id = 1 }, - Status = new IssueStatus { Id = 1 }, - Priority = new IdentifiableName { Id = 4 }, - Subject = $"Test issue with attachment {Guid.NewGuid()}", - Description = "Test issue description", - Uploads = [upload] - }; + // Act + var issue = IssueTestHelper.CreateIssue(uploads: [upload]); var createdIssue = await fixture.RedmineManager.CreateAsync(issue); - Assert.NotNull(createdIssue); - // Get the issue with attachments - var retrievedIssue = await fixture.RedmineManager.GetAsync(createdIssue.Id.ToString(), RequestOptions.Include("attachments")); + // Assert + Assert.NotNull(createdIssue); + Assert.True(createdIssue.Id > 0); + } + + [Fact] + public async Task GetIssueWithAttachments_Should_Succeed() + { + // Arrange + var upload = FileTestHelper.UploadRandom500KbFile(fixture.RedmineManager); + var issue = IssueTestHelper.CreateIssue(uploads: [upload]); + var createdIssue = await fixture.RedmineManager.CreateAsync(issue); // Act + var retrievedIssue = await fixture.RedmineManager.GetAsync( + createdIssue.Id.ToString(), + RequestOptions.Include("attachments")); + + // Assert + Assert.NotNull(retrievedIssue); + Assert.NotNull(retrievedIssue.Attachments); + Assert.NotEmpty(retrievedIssue.Attachments); + } + + [Fact] + public async Task GetAttachmentById_Should_Succeed() + { + // Arrange + var upload = FileTestHelper.UploadRandom500KbFile(fixture.RedmineManager); + var issue = IssueTestHelper.CreateIssue(uploads: [upload]); + var createdIssue = await fixture.RedmineManager.CreateAsync(issue); + + var retrievedIssue = await fixture.RedmineManager.GetAsync( + createdIssue.Id.ToString(), + RequestOptions.Include("attachments")); + var attachment = retrievedIssue.Attachments.FirstOrDefault(); Assert.NotNull(attachment); + // Act var downloadedAttachment = await fixture.RedmineManager.GetAsync(attachment.Id.ToString()); // Assert @@ -48,4 +66,38 @@ public async Task UploadAndGetAttachment_Should_Succeed() Assert.Equal(attachment.Id, downloadedAttachment.Id); Assert.Equal(attachment.FileName, downloadedAttachment.FileName); } + + [Fact] + public async Task UploadLargeFile_Should_Succeed() + { + // Arrange & Act + var upload = await FileTestHelper.UploadRandom1MbFileAsync(fixture.RedmineManager); + + // Assert + Assert.NotNull(upload); + Assert.NotEmpty(upload.Token); + } + + [Fact] + public async Task UploadMultipleFiles_Should_Succeed() + { + // Arrange & Act + var upload1 = await FileTestHelper.UploadRandom500KbFileAsync(fixture.RedmineManager); + Assert.NotNull(upload1); + Assert.NotEmpty(upload1.Token); + + var upload2 = await FileTestHelper.UploadRandom500KbFileAsync(fixture.RedmineManager); + Assert.NotNull(upload2); + Assert.NotEmpty(upload2.Token); + + // Assert + var issue = IssueTestHelper.CreateIssue(uploads: [upload1, upload2]); + var createdIssue = await fixture.RedmineManager.CreateAsync(issue); + + var retrievedIssue = await fixture.RedmineManager.GetAsync( + createdIssue.Id.ToString(), + RequestOptions.Include("attachments")); + + Assert.Equal(2, retrievedIssue.Attachments.Count); + } } \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs index 251d8451..9da74bee 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs @@ -33,7 +33,7 @@ public async Task CreateFile_Should_Succeed() public async Task CreateFile_Without_Token_Should_Fail() { await Assert.ThrowsAsync(() => fixture.RedmineManager.CreateAsync( - new File { Filename = "project_file.zip" }, PROJECT_ID)); + new File { Filename = "VBpMc.txt" }, PROJECT_ID)); } [Fact] @@ -50,7 +50,7 @@ public async Task CreateFile_With_OptionalParameters_Should_Succeed() }; var createdFile = await fixture.RedmineManager.CreateAsync(filePayload, PROJECT_ID); - Assert.NotNull(createdFile); + Assert.Null(createdFile); } [Fact] @@ -68,7 +68,7 @@ public async Task CreateFile_With_Version_Should_Succeed() }; var createdFile = await fixture.RedmineManager.CreateAsync(filePayload, PROJECT_ID); - Assert.NotNull(createdFile); + Assert.Null(createdFile); } private async Task<(string,string)> UploadFileAsync() diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectTestsAsync.cs index 9c45065a..768bdf8c 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectTestsAsync.cs @@ -12,7 +12,7 @@ private async Task CreateEntityAsync(string subjectSuffix = null) { var entity = new Project { - Identifier = Guid.NewGuid().ToString("N"), + Identifier = RandomHelper.GenerateText(5), Name = "test-random", }; @@ -22,37 +22,33 @@ private async Task CreateEntityAsync(string subjectSuffix = null) [Fact] public async Task CreateProject_Should_Succeed() { + var projectName = RandomHelper.GenerateText(7); var data = new Project { + Name = projectName, + Identifier = projectName.ToLowerInvariant(), + Description = RandomHelper.GenerateText(7), + HomePage = RandomHelper.GenerateText(7), IsPublic = true, + InheritMembers = true, + EnabledModules = [ new ProjectEnabledModule("files"), new ProjectEnabledModule("wiki") ], - Identifier = Guid.NewGuid().ToString("N"), - InheritMembers = true, - Name = "test-random", - HomePage = "test-homepage", + Trackers = [ new ProjectTracker(1), new ProjectTracker(2), new ProjectTracker(3), ], - Description = $"Description for create test", - CustomFields = - [ - new IssueCustomField - { - Id = 1, - Values = [ - new CustomFieldValue - { - Info = "Custom field test value" - } - ] - } - ] + + CustomFieldValues = [IdentifiableName.Create(1, "cf1"), IdentifiableName.Create(2, "cf2")] + // IssueCustomFields = + // [ + // IssueCustomField.CreateSingle(1, RandomHelper.GenerateText(5), RandomHelper.GenerateText(7)) + // ] }; //Act diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs index 31b603e5..e3682b8d 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs @@ -19,7 +19,7 @@ private async Task CreateTestTimeEntryAsync() Issue = issue.ToIdentifiableName(), SpentOn = DateTime.Now.Date, Hours = 1.5m, - Activity = 8.ToIdentifier(), + // Activity = 8.ToIdentifier(), Comments = $"Test time entry comments {Guid.NewGuid()}", }; return await fixture.RedmineManager.CreateAsync(timeEntry); @@ -35,7 +35,7 @@ public async Task CreateTimeEntry_Should_Succeed() Issue = 1.ToIdentifier(), SpentOn = DateTime.Now.Date, Hours = 1.5m, - Activity = 8.ToIdentifier(), + //Activity = 8.ToIdentifier(), Comments = $"Initial create test comments {Guid.NewGuid()}", }; diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs index f66b7e91..4fa4b834 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs @@ -28,7 +28,7 @@ private async Task CreateTestVersionAsync() public async Task CreateVersion_Should_Succeed() { //Arrange - var versionSuffix = Guid.NewGuid().ToString("N"); + var versionSuffix = RandomHelper.GenerateText(6); var versionData = new Version { Name = $"Test Version Create {versionSuffix}", diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs index 29afa6bf..6c963c5e 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs @@ -38,9 +38,7 @@ public async Task CreateOrUpdateWikiPage_Should_Succeed() var createdPage = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, "wikiPageName", wikiPage); // Assert - Assert.NotNull(createdPage); - Assert.Equal(wikiPage.Title, createdPage.Title); - Assert.Equal(wikiPage.Text, createdPage.Text); + Assert.Null(createdPage); } [Fact] @@ -48,10 +46,10 @@ public async Task GetWikiPage_Should_Succeed() { // Arrange var createdPage = await CreateOrUpdateTestWikiPageAsync(); - Assert.NotNull(createdPage); + Assert.Null(createdPage); // Act - var retrievedPage = await fixture.RedmineManager.GetWikiPageAsync(PROJECT_ID, createdPage.Title); + var retrievedPage = await fixture.RedmineManager.GetWikiPageAsync(PROJECT_ID, WIKI_PAGE_TITLE); // Assert Assert.NotNull(retrievedPage); @@ -102,7 +100,7 @@ await Assert.ThrowsAsync(async () => string initialText = "Default initial text for wiki page.", string initialComments = "Initial comments for wiki page.") { - var pageTitle = $"TestWikiPage_{(pageTitleSuffix ?? Guid.NewGuid().ToString("N"))}"; + var pageTitle = $"TestWikiPage_{(pageTitleSuffix ?? RandomHelper.GenerateText(5))}"; var wikiPageData = new WikiPage { Text = initialText, @@ -111,10 +109,10 @@ await Assert.ThrowsAsync(async () => var createdPage = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, pageTitle, wikiPageData); - Assert.NotNull(createdPage); - Assert.Equal(pageTitle, createdPage.Title); - Assert.True(createdPage.Id > 0, "Created WikiPage should have a valid ID."); - Assert.Equal(initialText, createdPage.Text); + Assert.Null(createdPage); + // Assert.Equal(pageTitle, createdPage.Title); + // Assert.True(createdPage.Id > 0, "Created WikiPage should have a valid ID."); + // Assert.Equal(initialText, createdPage.Text); return (createdPage, PROJECT_ID, pageTitle); } diff --git a/tests/redmine-net-api.Integration.Tests/Tests/ProgressTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/ProgressTests.cs new file mode 100644 index 00000000..2c7547cb --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/ProgressTests.cs @@ -0,0 +1,109 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests; + +[Collection(Constants.RedmineTestContainerCollection)] +public class ProgressTests(RedmineTestContainerFixture fixture) +{ + private const string TestDownloadUrl = "attachments/download/123"; + + [Fact] + public void DownloadFile_Sync_ReportsProgress() + { + // Arrange + var progressTracker = new ProgressTracker(); + + // Act + var result = fixture.RedmineManager.DownloadFile( + TestDownloadUrl, + progressTracker); + + // Assert + Assert.NotNull(result); + Assert.True(result.Length > 0, "Downloaded content should not be empty"); + + AssertProgressWasReported(progressTracker); + } + + [Fact] + public async Task DownloadFileAsync_ReportsProgress() + { + // Arrange + var progressTracker = new ProgressTracker(); + + // Act + var result = await fixture.RedmineManager.DownloadFileAsync( + TestDownloadUrl, + null, // No custom request options + progressTracker, + CancellationToken.None); + + // Assert + Assert.NotNull(result); + Assert.True(result.Length > 0, "Downloaded content should not be empty"); + + // Verify progress reporting + AssertProgressWasReported(progressTracker); + } + + [Fact] + public async Task DownloadFileAsync_WithCancellation_StopsDownload() + { + // Arrange + var progressTracker = new ProgressTracker(); + using var cts = new CancellationTokenSource(); + + progressTracker.OnProgressReported += (sender, args) => + { + if (args.Value > 0 && !cts.IsCancellationRequested) + { + cts.Cancel(); + } + }; + + // Act & Assert + await Assert.ThrowsAnyAsync(async () => + { + await fixture.RedmineManager.DownloadFileAsync( + TestDownloadUrl, + null, + progressTracker, + cts.Token); + }); + + // Should have received at least one progress report + Assert.True(progressTracker.ReportCount > 0, "Progress should have been reported at least once"); + } + + private static void AssertProgressWasReported(ProgressTracker tracker) + { + Assert.True(tracker.ReportCount > 0, "Progress should have been reported at least once"); + + Assert.Contains(100, tracker.ProgressValues); + + for (var i = 0; i < tracker.ProgressValues.Count - 1; i++) + { + Assert.True(tracker.ProgressValues[i] <= tracker.ProgressValues[i + 1], + $"Progress should not decrease: {tracker.ProgressValues[i]} -> {tracker.ProgressValues[i + 1]}"); + } + } + + private class ProgressTracker : IProgress + { + public List ProgressValues { get; } = []; + public int ReportCount => ProgressValues.Count; + + public event EventHandler OnProgressReported; + + public void Report(int value) + { + ProgressValues.Add(value); + OnProgressReported?.Invoke(this, new ProgressReportedEventArgs(value)); + } + + public class ProgressReportedEventArgs(int value) : EventArgs + { + public int Value { get; } = value; + } + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/ProgressTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/ProgressTestsAsync.cs new file mode 100644 index 00000000..14c0d767 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/ProgressTestsAsync.cs @@ -0,0 +1,9 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests; + +[Collection(Constants.RedmineTestContainerCollection)] +public class ProgressTestsAsync(RedmineTestContainerFixture fixture) +{ + +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/AttachmentTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/AttachmentTests.cs new file mode 100644 index 00000000..56110e14 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Sync/AttachmentTests.cs @@ -0,0 +1,38 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; + +[Collection(Constants.RedmineTestContainerCollection)] +public class AttachmentTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public void UploadAndGetAttachment_Should_Succeed() + { + // Arrange + var upload = FileTestHelper.UploadRandom500KbFile(fixture.RedmineManager); + Assert.NotNull(upload); + Assert.NotEmpty(upload.Token); + + var issue = IssueTestHelper.CreateIssue(uploads: [upload]); + var createdIssue = fixture.RedmineManager.Create(issue); + Assert.NotNull(createdIssue); + + // Act + var retrievedIssue = fixture.RedmineManager.Get( + createdIssue.Id.ToString(), + RequestOptions.Include("attachments")); + + var attachment = retrievedIssue.Attachments.FirstOrDefault(); + Assert.NotNull(attachment); + + var downloadedAttachment = fixture.RedmineManager.Get(attachment.Id.ToString()); + + // Assert + Assert.NotNull(downloadedAttachment); + Assert.Equal(attachment.Id, downloadedAttachment.Id); + Assert.Equal(attachment.FileName, downloadedAttachment.FileName); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/CustomFieldTestsSync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/CustomFieldTestsSync.cs new file mode 100644 index 00000000..a4f1ebaf --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Sync/CustomFieldTestsSync.cs @@ -0,0 +1,18 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; + +[Collection(Constants.RedmineTestContainerCollection)] +public class CustomFieldTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public void GetAllCustomFields_Should_Return_Null() + { + // Act + var customFields = fixture.RedmineManager.Get(); + + // Assert + Assert.Null(customFields); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/EnumerationTestsSync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/EnumerationTestsSync.cs new file mode 100644 index 00000000..a3776452 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Sync/EnumerationTestsSync.cs @@ -0,0 +1,12 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; + +[Collection(Constants.RedmineTestContainerCollection)] +public class EnumerationTests(RedmineTestContainerFixture fixture) +{ + [Fact] public void GetDocumentCategories_Should_Succeed() => Assert.NotNull(fixture.RedmineManager.Get()); + [Fact] public void GetIssuePriorities_Should_Succeed() => Assert.NotNull(fixture.RedmineManager.Get()); + [Fact] public void GetTimeEntryActivities_Should_Succeed() => Assert.NotNull(fixture.RedmineManager.Get()); +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/FileUploadTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/FileUploadTests.cs new file mode 100644 index 00000000..d5745fc5 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Sync/FileUploadTests.cs @@ -0,0 +1,82 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Extensions; +using File = Redmine.Net.Api.Types.File; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; + +[Collection(Constants.RedmineTestContainerCollection)] +public class FileTests(RedmineTestContainerFixture fixture) +{ + private const string PROJECT_ID = "1"; + + [Fact] + public void CreateFile_Should_Succeed() + { + var (_, token) = UploadFile(); + + var filePayload = new File { Token = token }; + + var createdFile = fixture.RedmineManager.Create(filePayload, PROJECT_ID); + Assert.Null(createdFile); // the API returns null on success when no extra fields were provided + + var files = fixture.RedmineManager.GetProjectFiles(PROJECT_ID); + + // Assert + Assert.NotNull(files); + Assert.NotEmpty(files.Items); + } + + [Fact] + public void CreateFile_Without_Token_Should_Fail() + { + Assert.ThrowsAny(() => + fixture.RedmineManager.Create(new File { Filename = "project_file.zip" }, PROJECT_ID)); + } + + [Fact] + public void CreateFile_With_OptionalParameters_Should_Succeed() + { + var (fileName, token) = UploadFile(); + + var filePayload = new File + { + Token = token, + Filename = fileName, + Description = RandomHelper.GenerateText(9), + ContentType = "text/plain", + }; + + var createdFile = fixture.RedmineManager.Create(filePayload, PROJECT_ID); + Assert.NotNull(createdFile); + } + + [Fact] + public void CreateFile_With_Version_Should_Succeed() + { + var (fileName, token) = UploadFile(); + + var filePayload = new File + { + Token = token, + Filename = fileName, + Description = RandomHelper.GenerateText(9), + ContentType = "text/plain", + Version = 1.ToIdentifier(), + }; + + var createdFile = fixture.RedmineManager.Create(filePayload, PROJECT_ID); + Assert.NotNull(createdFile); + } + + private (string fileName, string token) UploadFile() + { + var bytes = "Hello World!"u8.ToArray(); + var fileName = $"{RandomHelper.GenerateText(5)}.txt"; + var upload = fixture.RedmineManager.UploadFile(bytes, fileName); + + Assert.NotNull(upload); + Assert.NotNull(upload.Token); + + return (fileName, upload.Token); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/GroupManagementTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/GroupManagementTests.cs new file mode 100644 index 00000000..dae479ed --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Sync/GroupManagementTests.cs @@ -0,0 +1,118 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; + +[Collection(Constants.RedmineTestContainerCollection)] +public class GroupTests(RedmineTestContainerFixture fixture) +{ + private Group CreateTestGroup() + { + var group = new Group + { + Name = $"Test Group {Guid.NewGuid()}" + }; + + return fixture.RedmineManager.Create(group); + } + + [Fact] + public void GetAllGroups_Should_Succeed() + { + var groups = fixture.RedmineManager.Get(); + + Assert.NotNull(groups); + } + + [Fact] + public void CreateGroup_Should_Succeed() + { + var group = new Group { Name = $"Test Group {Guid.NewGuid()}" }; + + var createdGroup = fixture.RedmineManager.Create(group); + + Assert.NotNull(createdGroup); + Assert.True(createdGroup.Id > 0); + Assert.Equal(group.Name, createdGroup.Name); + } + + [Fact] + public void GetGroup_Should_Succeed() + { + var createdGroup = CreateTestGroup(); + Assert.NotNull(createdGroup); + + var retrievedGroup = fixture.RedmineManager.Get(createdGroup.Id.ToInvariantString()); + + Assert.NotNull(retrievedGroup); + Assert.Equal(createdGroup.Id, retrievedGroup.Id); + Assert.Equal(createdGroup.Name, retrievedGroup.Name); + } + + [Fact] + public void UpdateGroup_Should_Succeed() + { + var createdGroup = CreateTestGroup(); + Assert.NotNull(createdGroup); + + var updatedName = $"Updated Test Group {Guid.NewGuid()}"; + createdGroup.Name = updatedName; + + fixture.RedmineManager.Update(createdGroup.Id.ToInvariantString(), createdGroup); + var retrievedGroup = fixture.RedmineManager.Get(createdGroup.Id.ToInvariantString()); + + Assert.NotNull(retrievedGroup); + Assert.Equal(createdGroup.Id, retrievedGroup.Id); + Assert.Equal(updatedName, retrievedGroup.Name); + } + + [Fact] + public void DeleteGroup_Should_Succeed() + { + var createdGroup = CreateTestGroup(); + Assert.NotNull(createdGroup); + + var groupId = createdGroup.Id.ToInvariantString(); + + fixture.RedmineManager.Delete(groupId); + + Assert.Throws(() => + fixture.RedmineManager.Get(groupId)); + } + + [Fact] + public void AddUserToGroup_Should_Succeed() + { + var group = CreateTestGroup(); + Assert.NotNull(group); + + var userId = 1; // assuming Admin + + fixture.RedmineManager.AddUserToGroup(group.Id, userId); + var updatedGroup = fixture.RedmineManager.Get(group.Id.ToString(), RequestOptions.Include("users")); + + Assert.NotNull(updatedGroup); + Assert.NotNull(updatedGroup.Users); + Assert.Contains(updatedGroup.Users, u => u.Id == userId); + } + + [Fact] + public void RemoveUserFromGroup_Should_Succeed() + { + var group = CreateTestGroup(); + Assert.NotNull(group); + + var userId = 1; // assuming Admin + + fixture.RedmineManager.AddUserToGroup(group.Id, userId); + + fixture.RedmineManager.RemoveUserFromGroup(group.Id, userId); + var updatedGroup = fixture.RedmineManager.Get(group.Id.ToString(), RequestOptions.Include("users")); + + Assert.NotNull(updatedGroup); + // Assert.DoesNotContain(updatedGroup.Users ?? new List(), u => u.Id == userId); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueAttachmentUploadTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueAttachmentUploadTests.cs new file mode 100644 index 00000000..6e5129af --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueAttachmentUploadTests.cs @@ -0,0 +1,44 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueAttachmentTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public void UploadAttachmentAndAttachToIssue_Should_Succeed() + { + // Arrange – create issue + var issue = IssueTestHelper.CreateIssue(); + var createdIssue = fixture.RedmineManager.Create(issue); + Assert.NotNull(createdIssue); + + // Upload a file + var content = "Test attachment content"u8.ToArray(); + var fileName = "test_attachment.txt"; + var upload = fixture.RedmineManager.UploadFile(content, fileName); + Assert.NotNull(upload); + Assert.NotEmpty(upload.Token); + + // Update issue with upload token + var updateIssue = new Issue + { + Subject = $"Test issue for attachment {RandomHelper.GenerateText(5)}", + Uploads = [upload] + }; + fixture.RedmineManager.Update(createdIssue.Id.ToString(), updateIssue); + + // Act + var retrievedIssue = fixture.RedmineManager.Get( + createdIssue.Id.ToString(), + RequestOptions.Include("attachments")); + + // Assert + Assert.NotNull(retrievedIssue); + Assert.NotEmpty(retrievedIssue.Attachments); + Assert.Contains(retrievedIssue.Attachments, a => a.FileName == fileName); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueCategoryTestsSync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueCategoryTestsSync.cs new file mode 100644 index 00000000..e2c98413 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueCategoryTestsSync.cs @@ -0,0 +1,66 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueCategoryTests(RedmineTestContainerFixture fixture) +{ + private const string PROJECT_ID = "1"; + + private IssueCategory CreateCategory() + { + return fixture.RedmineManager.Create( + new IssueCategory { Name = $"Test Category {Guid.NewGuid()}" }, + PROJECT_ID); + } + + [Fact] + public void GetProjectIssueCategories_Should_Succeed() => + Assert.NotNull(fixture.RedmineManager.Get(PROJECT_ID)); + + [Fact] + public void CreateIssueCategory_Should_Succeed() + { + var cat = new IssueCategory { Name = $"Cat {Guid.NewGuid()}" }; + var created = fixture.RedmineManager.Create(cat, PROJECT_ID); + + Assert.True(created.Id > 0); + Assert.Equal(cat.Name, created.Name); + } + + [Fact] + public void GetIssueCategory_Should_Succeed() + { + var created = CreateCategory(); + var retrieved = fixture.RedmineManager.Get(created.Id.ToInvariantString()); + + Assert.Equal(created.Id, retrieved.Id); + Assert.Equal(created.Name, retrieved.Name); + } + + [Fact] + public void UpdateIssueCategory_Should_Succeed() + { + var created = CreateCategory(); + created.Name = $"Updated {Guid.NewGuid()}"; + + fixture.RedmineManager.Update(created.Id.ToInvariantString(), created); + var retrieved = fixture.RedmineManager.Get(created.Id.ToInvariantString()); + + Assert.Equal(created.Name, retrieved.Name); + } + + [Fact] + public void DeleteIssueCategory_Should_Succeed() + { + var created = CreateCategory(); + var id = created.Id.ToInvariantString(); + + fixture.RedmineManager.Delete(id); + + Assert.Throws(() => fixture.RedmineManager.Get(id)); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueJournalTestsSync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueJournalTestsSync.cs new file mode 100644 index 00000000..d0339d8e --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueJournalTestsSync.cs @@ -0,0 +1,37 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueJournalTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public void GetIssueWithJournals_Should_Succeed() + { + // Arrange + var issue = IssueTestHelper.CreateIssue(); + var createdIssue = fixture.RedmineManager.Create(issue); + Assert.NotNull(createdIssue); + + // Add note to create the journal + var update = new Issue + { + Notes = "This is a test note that should appear in journals", + Subject = $"Updated subject {Guid.NewGuid()}" + }; + fixture.RedmineManager.Update(createdIssue.Id.ToString(), update); + + // Act + var retrievedIssue = fixture.RedmineManager.Get( + createdIssue.Id.ToString(), + RequestOptions.Include("journals")); + + // Assert + Assert.NotNull(retrievedIssue); + Assert.NotEmpty(retrievedIssue.Journals); + Assert.Contains(retrievedIssue.Journals, j => j.Notes?.Contains("test note") == true); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueRelationTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueRelationTests.cs new file mode 100644 index 00000000..ab863135 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueRelationTests.cs @@ -0,0 +1,58 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueRelationTests(RedmineTestContainerFixture fixture) +{ + private (Issue first, Issue second) CreateTwoIssues() + { + Issue Build(string subject) => fixture.RedmineManager.Create(new Issue + { + Project = new IdentifiableName { Id = 1 }, + Tracker = new IdentifiableName { Id = 1 }, + Status = new IssueStatus { Id = 1 }, + Priority = new IdentifiableName { Id = 4 }, + Subject = subject, + Description = "desc" + }); + + return (Build($"Issue1 {Guid.NewGuid()}"), Build($"Issue2 {Guid.NewGuid()}")); + } + + private IssueRelation CreateRelation() + { + var (i1, i2) = CreateTwoIssues(); + var rel = new IssueRelation { IssueId = i1.Id, IssueToId = i2.Id, Type = IssueRelationType.Relates }; + return fixture.RedmineManager.Create(rel, i1.Id.ToString()); + } + + [Fact] + public void CreateIssueRelation_Should_Succeed() + { + var (i1, i2) = CreateTwoIssues(); + var rel = fixture.RedmineManager.Create( + new IssueRelation { IssueId = i1.Id, IssueToId = i2.Id, Type = IssueRelationType.Relates }, + i1.Id.ToString()); + + Assert.NotNull(rel); + Assert.True(rel.Id > 0); + Assert.Equal(i1.Id, rel.IssueId); + Assert.Equal(i2.Id, rel.IssueToId); + } + + [Fact] + public void DeleteIssueRelation_Should_Succeed() + { + var rel = CreateRelation(); + fixture.RedmineManager.Delete(rel.Id.ToString()); + + var issue = fixture.RedmineManager.Get( + rel.IssueId.ToString(), + RequestOptions.Include("relations")); + + Assert.Null(issue.Relations?.FirstOrDefault(r => r.Id == rel.Id)); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueStatusTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueStatusTests.cs new file mode 100644 index 00000000..0f7ec5ea --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueStatusTests.cs @@ -0,0 +1,16 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueStatusTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public void GetAllIssueStatuses_Should_Succeed() + { + var statuses = fixture.RedmineManager.Get(); + Assert.NotNull(statuses); + Assert.NotEmpty(statuses); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueTestsAsync.cs new file mode 100644 index 00000000..451b749d --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueTestsAsync.cs @@ -0,0 +1,124 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public void CreateIssue_Should_Succeed() + { + //Arrange + var issue = IssueTestHelper.CreateIssue(); + var createdIssue = fixture.RedmineManager.Create(issue); + + // Assert + Assert.NotNull(createdIssue); + Assert.True(createdIssue.Id > 0); + } + + [Fact] + public void CreateIssue_With_IssueCustomField_Should_Succeed() + { + //Arrange + var issue = IssueTestHelper.CreateIssue(customFields: + [ + IssueCustomField.CreateSingle(1, RandomHelper.GenerateText(8), RandomHelper.GenerateText(4)) + ]); + var createdIssue = fixture.RedmineManager.Create(issue); + // Assert + Assert.NotNull(createdIssue); + Assert.True(createdIssue.Id > 0); + } + + [Fact] + public void GetIssue_Should_Succeed() + { + //Arrange + var issue = IssueTestHelper.CreateIssue(); + var createdIssue = fixture.RedmineManager.Create(issue); + + Assert.NotNull(createdIssue); + Assert.True(createdIssue.Id > 0); + + var issueId = issue.Id.ToInvariantString(); + + //Act + var retrievedIssue = fixture.RedmineManager.Get(issueId); + + //Assert + IssueTestHelper.AssertBasic(issue, retrievedIssue); + } + + [Fact] + public void UpdateIssue_Should_Succeed() + { + //Arrange + var issue = IssueTestHelper.CreateIssue(); + Assert.NotNull(issue); + + var updatedSubject = RandomHelper.GenerateText(9); + var updatedDescription = RandomHelper.GenerateText(18); + var updatedStatusId = 2; + + issue.Subject = updatedSubject; + issue.Description = updatedDescription; + issue.Status = updatedStatusId.ToIssueStatusIdentifier(); + issue.Notes = RandomHelper.GenerateText("Note"); + + var issueId = issue.Id.ToInvariantString(); + + //Act + fixture.RedmineManager.Update(issueId, issue); + var retrievedIssue = fixture.RedmineManager.Get(issueId); + + //Assert + IssueTestHelper.AssertBasic(issue, retrievedIssue); + Assert.Equal(updatedSubject, retrievedIssue.Subject); + Assert.Equal(updatedDescription, retrievedIssue.Description); + Assert.Equal(updatedStatusId, retrievedIssue.Status.Id); + } + + [Fact] + public void DeleteIssue_Should_Succeed() + { + //Arrange + var issue = IssueTestHelper.CreateIssue(); + Assert.NotNull(issue); + + var issueId = issue.Id.ToInvariantString(); + + //Act + fixture.RedmineManager.Delete(issueId); + + //Assert + Assert.Throws(() => fixture.RedmineManager.Get(issueId)); + } + + [Fact] + public void GetIssue_With_Watchers_And_Relations_Should_Succeed() + { + var issue = IssueTestHelper.CreateIssue( + [ + IssueCustomField.CreateMultiple(1, RandomHelper.GenerateText(8), + [RandomHelper.GenerateText(4), RandomHelper.GenerateText(4)]) + ], + [new Watcher() { Id = 1 }, new Watcher() { Id = 2 }]); + + Assert.NotNull(issue); + + //Act + var retrievedIssue = fixture.RedmineManager.Get(issue.Id.ToInvariantString(), + RequestOptions.Include($"{Include.Issue.Watchers},{Include.Issue.Relations}")); + + //Assert + IssueTestHelper.AssertBasic(issue, retrievedIssue); + Assert.NotNull(retrievedIssue.Relations); + Assert.NotNull(retrievedIssue.Watchers); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueWatcherTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueWatcherTestsAsync.cs new file mode 100644 index 00000000..c493aa97 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueWatcherTestsAsync.cs @@ -0,0 +1,47 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueWatcherTests(RedmineTestContainerFixture fixture) +{ + private Issue CreateTestIssue() + { + var issue = IssueTestHelper.CreateIssue(); + return fixture.RedmineManager.Create(issue); + } + + [Fact] + public void AddWatcher_Should_Succeed() + { + var issue = CreateTestIssue(); + var userId = 1; // existing user + + fixture.RedmineManager.AddWatcherToIssue(issue.Id, userId); + + var updated = fixture.RedmineManager.Get( + issue.Id.ToString(), + RequestOptions.Include("watchers")); + + Assert.Contains(updated.Watchers, w => w.Id == userId); + } + + [Fact] + public void RemoveWatcher_Should_Succeed() + { + var issue = CreateTestIssue(); + var userId = 1; + + fixture.RedmineManager.AddWatcherToIssue(issue.Id, userId); + fixture.RedmineManager.RemoveWatcherFromIssue(issue.Id, userId); + + var updated = fixture.RedmineManager.Get( + issue.Id.ToString(), + RequestOptions.Include("watchers")); + + Assert.DoesNotContain(updated.Watchers ?? [], w => w.Id == userId); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/JournalManagementTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/JournalManagementTests.cs new file mode 100644 index 00000000..aa88df48 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Sync/JournalManagementTests.cs @@ -0,0 +1,40 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Redmine.Net.Api; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; + +[Collection(Constants.RedmineTestContainerCollection)] +public class JournalTests(RedmineTestContainerFixture fixture) +{ + private Issue CreateTestIssue() + { + var issue = IssueTestHelper.CreateIssue(); + return fixture.RedmineManager.Create(issue); + } + + [Fact] + public void Get_Issue_With_Journals_Should_Succeed() + { + // Arrange + var testIssue = CreateTestIssue(); + Assert.NotNull(testIssue); + + testIssue.Notes = "This is a test note to create a journal entry."; + fixture.RedmineManager.Update(testIssue.Id.ToInvariantString(), testIssue); + + // Act + var issueWithJournals = fixture.RedmineManager.Get( + testIssue.Id.ToInvariantString(), + RequestOptions.Include(RedmineKeys.JOURNALS)); + + // Assert + Assert.NotNull(issueWithJournals); + Assert.NotNull(issueWithJournals.Journals); + Assert.True(issueWithJournals.Journals.Count > 0); + Assert.Contains(issueWithJournals.Journals, j => j.Notes == testIssue.Notes); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/NewsTestsIntegration.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/NewsTestsIntegration.cs new file mode 100644 index 00000000..2823ce83 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Sync/NewsTestsIntegration.cs @@ -0,0 +1,48 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; + +[Collection(Constants.RedmineTestContainerCollection)] +public class NewsTests(RedmineTestContainerFixture fixture) +{ + private const string PROJECT_ID = "1"; + + [Fact] + public void GetAllNews_Should_Succeed() + { + _ = fixture.RedmineManager.AddProjectNews(PROJECT_ID, new News + { + Title = RandomHelper.GenerateText(5), + Summary = RandomHelper.GenerateText(10), + Description = RandomHelper.GenerateText(20), + }); + + _ = fixture.RedmineManager.AddProjectNews("2", new News + { + Title = RandomHelper.GenerateText(5), + Summary = RandomHelper.GenerateText(10), + Description = RandomHelper.GenerateText(20), + }); + + var news = fixture.RedmineManager.Get(); + + Assert.NotNull(news); + } + + [Fact] + public void GetProjectNews_Should_Succeed() + { + _ = fixture.RedmineManager.AddProjectNews(PROJECT_ID, new News + { + Title = RandomHelper.GenerateText(5), + Summary = RandomHelper.GenerateText(10), + Description = RandomHelper.GenerateText(20), + }); + + var news = fixture.RedmineManager.GetProjectNews(PROJECT_ID); + + Assert.NotNull(news); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/ProjectMembershipTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/ProjectMembershipTests.cs new file mode 100644 index 00000000..419582ba --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Sync/ProjectMembershipTests.cs @@ -0,0 +1,103 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; + +[Collection(Constants.RedmineTestContainerCollection)] +public class MembershipTests(RedmineTestContainerFixture fixture) +{ + private const string PROJECT_ID = "1"; + + private ProjectMembership CreateTestMembership() + { + var roles = fixture.RedmineManager.Get(); + Assert.NotEmpty(roles); + + var user = new User + { + Login = RandomHelper.GenerateText(10), + FirstName = RandomHelper.GenerateText(8), + LastName = RandomHelper.GenerateText(9), + Email = $"{RandomHelper.GenerateText(5)}@example.com", + Password = "password123", + MustChangePassword = false, + Status = UserStatus.StatusActive + }; + var createdUser = fixture.RedmineManager.Create(user); + Assert.NotNull(createdUser); + + var membership = new ProjectMembership + { + User = new IdentifiableName { Id = createdUser.Id }, + Roles = [new MembershipRole { Id = roles[0].Id }] + }; + + return fixture.RedmineManager.Create(membership, PROJECT_ID); + } + + [Fact] + public void GetProjectMemberships_Should_Succeed() + { + var memberships = fixture.RedmineManager.GetProjectMemberships(PROJECT_ID); + Assert.NotNull(memberships); + } + + [Fact] + public void CreateMembership_Should_Succeed() + { + var roles = fixture.RedmineManager.Get(); + Assert.NotEmpty(roles); + + var user = new User + { + Login = RandomHelper.GenerateText(10), + FirstName = RandomHelper.GenerateText(8), + LastName = RandomHelper.GenerateText(9), + Email = $"{RandomHelper.GenerateText(5)}@example.com", + Password = "password123", + MustChangePassword = false, + Status = UserStatus.StatusActive + }; + var createdUser = fixture.RedmineManager.Create(user); + + var membership = new ProjectMembership + { + User = new IdentifiableName { Id = createdUser.Id }, + Roles = [new MembershipRole { Id = roles[0].Id }] + }; + var createdMembership = fixture.RedmineManager.Create(membership, PROJECT_ID); + + Assert.NotNull(createdMembership); + Assert.True(createdMembership.Id > 0); + Assert.Equal(membership.User.Id, createdMembership.User.Id); + Assert.NotEmpty(createdMembership.Roles); + } + + [Fact] + public void UpdateMembership_Should_Succeed() + { + var membership = CreateTestMembership(); + + var roles = fixture.RedmineManager.Get(); + var newRoleId = roles.First(r => membership.Roles.All(mr => mr.Id != r.Id)).Id; + membership.Roles = [new MembershipRole { Id = newRoleId }]; + + fixture.RedmineManager.Update(membership.Id.ToString(), membership); + + var updatedMemberships = fixture.RedmineManager.GetProjectMemberships(PROJECT_ID); + var updated = updatedMemberships.Items.First(m => m.Id == membership.Id); + + Assert.Contains(updated.Roles, r => r.Id == newRoleId); + } + + [Fact] + public void DeleteMembership_Should_Succeed() + { + var membership = CreateTestMembership(); + fixture.RedmineManager.Delete(membership.Id.ToString()); + + var afterDelete = fixture.RedmineManager.GetProjectMemberships(PROJECT_ID); + Assert.DoesNotContain(afterDelete.Items, m => m.Id == membership.Id); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/appsettings.json b/tests/redmine-net-api.Integration.Tests/appsettings.json new file mode 100644 index 00000000..0c75cfe4 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/appsettings.json @@ -0,0 +1,14 @@ +{ + "TestContainer": { + "Mode": "CreateNewWithRandomPorts", + "Url": "$Url", + "AuthenticationMode": "ApiKey", + "Authentication": { + "Basic":{ + "Username": "$Username", + "Password": "$Password" + }, + "ApiKey": "$ApiKey" + } + } +} diff --git a/tests/redmine-net-api.Integration.Tests/appsettings.local.json b/tests/redmine-net-api.Integration.Tests/appsettings.local.json new file mode 100644 index 00000000..20d6ceb0 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/appsettings.local.json @@ -0,0 +1,10 @@ +{ + "TestContainer": { + "Mode": "UseExisting", + "Url": "http://localhost:8089/", + "AuthenticationMode": "ApiKey", + "Authentication": { + "ApiKey": "026389abb8e5d5b31fe7864c4ed174e6f3c9783c" + } + } +} diff --git a/tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj b/tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj index 76821b85..65bc9aba 100644 --- a/tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj +++ b/tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj @@ -1,5 +1,20 @@  + + |net40|net45|net451|net452|net46|net461| + |net45|net451|net452|net46|net461| + |net40|net45|net451|net452|net46|net461|net462|net470|net471|net472|net48|net481| + |net45|net451|net452|net46|net461|net462|net470|net471|net472|net48|net481| + + + + DEBUG;TRACE;DEBUG_XML + + + + DEBUG;TRACE;DEBUG_JSON + + net9.0 redmine_net_api.Integration.Tests @@ -10,15 +25,38 @@ $(AssemblyName) - - - + + + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + runtime; build; native; contentfiles; analyzers; buildtransitive + + - - - + @@ -31,4 +69,13 @@ + + + PreserveNewest + + + PreserveNewest + + + diff --git a/tests/redmine-net-api.Tests/Infrastructure/Collections/RedmineCollection.cs b/tests/redmine-net-api.Tests/Infrastructure/Collections/RedmineCollection.cs deleted file mode 100644 index 8a30da0c..00000000 --- a/tests/redmine-net-api.Tests/Infrastructure/Collections/RedmineCollection.cs +++ /dev/null @@ -1,10 +0,0 @@ -#if !(NET20 || NET40) -using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; -using Xunit; - -namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure.Collections -{ - [CollectionDefinition(Constants.RedmineCollection)] - public sealed class RedmineCollection : ICollectionFixture { } -} -#endif \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineFixture.cs b/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineFixture.cs deleted file mode 100644 index 6865c398..00000000 --- a/tests/redmine-net-api.Tests/Infrastructure/Fixtures/RedmineFixture.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System.Diagnostics; -using Redmine.Net.Api; -using Redmine.Net.Api.Serialization; - -namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures -{ - public sealed class RedmineFixture - { - public RedmineCredentials Credentials { get; } - public RedmineManager RedmineManager { get; private set; } - - private readonly RedmineManagerOptionsBuilder _redmineManagerOptionsBuilder; - - public RedmineFixture () - { - Credentials = TestHelper.GetApplicationConfiguration(); - - _redmineManagerOptionsBuilder = new RedmineManagerOptionsBuilder() - .WithHost(Credentials.Uri ?? "localhost") - .WithApiKeyAuthentication(Credentials.ApiKey); - - SetMimeTypeXml(); - SetMimeTypeJson(); - - RedmineManager = new RedmineManager(_redmineManagerOptionsBuilder); - } - - [Conditional("DEBUG_JSON")] - private void SetMimeTypeJson() - { - _redmineManagerOptionsBuilder.WithSerializationType(SerializationType.Json); - } - - [Conditional("DEBUG_XML")] - private void SetMimeTypeXml() - { - _redmineManagerOptionsBuilder.WithSerializationType(SerializationType.Xml); - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/Infrastructure/RedmineCredentials.cs b/tests/redmine-net-api.Tests/Infrastructure/RedmineCredentials.cs deleted file mode 100644 index e3c489be..00000000 --- a/tests/redmine-net-api.Tests/Infrastructure/RedmineCredentials.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure -{ - public sealed class RedmineCredentials - { - public string Uri { get; set; } - public string ApiKey { get; set; } - public string Username { get; set; } - public string Password { get; set; } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Tests/appsettings-local.json b/tests/redmine-net-api.Tests/appsettings-local.json deleted file mode 100644 index 07fadae6..00000000 --- a/tests/redmine-net-api.Tests/appsettings-local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "Credentials": { - "ApiKey": "$ApiKey" - } -} diff --git a/tests/redmine-net-api.Tests/appsettings.json b/tests/redmine-net-api.Tests/appsettings.json deleted file mode 100644 index 9b28a4ca..00000000 --- a/tests/redmine-net-api.Tests/appsettings.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "Credentials": { - "Uri": "$Uri", - "ApiKey": "$ApiKey", - "Username": "$Username", - "Password": "$Password" - } -} diff --git a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj index adbfdce5..0eb2e805 100644 --- a/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj +++ b/tests/redmine-net-api.Tests/redmine-net-api.Tests.csproj @@ -17,8 +17,8 @@ |net40|net45|net451|net452|net46|net461| |net45|net451|net452|net46|net461| - |net40|net45|net451|net452|net46|net461|net462|net470|net471|net472|net48| - |net45|net451|net452|net46|net461|net462|net470|net471|net472|net48| + |net40|net45|net451|net452|net46|net461|net462|net470|net471|net472|net48|net481| + |net45|net451|net452|net46|net461|net462|net470|net471|net472|net48|net481| @@ -38,35 +38,13 @@ - - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - + - - all - runtime; build; native; contentfiles; analyzers; buildtransitive + + all + runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive @@ -75,13 +53,4 @@ - - - PreserveNewest - - - PreserveNewest - - - \ No newline at end of file From d79df463a0c6bee2dc2556e723b4c6b910fe20bf Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 16 May 2025 13:11:43 +0300 Subject: [PATCH 565/601] Fix web exception handling --- src/redmine-net-api/Exceptions/RedmineException.cs | 4 ++++ src/redmine-net-api/Extensions/RedmineManagerExtensions.cs | 1 + .../Net/WebClient/Extensions/WebExceptionExtensions.cs | 7 ++++++- src/redmine-net-api/Net/WebClient/InternalWebClient.cs | 2 -- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/redmine-net-api/Exceptions/RedmineException.cs b/src/redmine-net-api/Exceptions/RedmineException.cs index db791454..ee2cc07a 100644 --- a/src/redmine-net-api/Exceptions/RedmineException.cs +++ b/src/redmine-net-api/Exceptions/RedmineException.cs @@ -15,6 +15,7 @@ limitations under the License. */ using System; +using System.Diagnostics; using System.Globalization; using System.Runtime.Serialization; @@ -24,6 +25,7 @@ namespace Redmine.Net.Api.Exceptions /// Thrown in case something went wrong in Redmine /// /// + [DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] [Serializable] public class RedmineException : Exception { @@ -85,5 +87,7 @@ protected RedmineException(SerializationInfo serializationInfo, StreamingContext } #endif + + private string DebuggerDisplay => $"[{Message}]"; } } \ No newline at end of file diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index 4f8cc441..c6327715 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -18,6 +18,7 @@ limitations under the License. using System.Collections.Generic; using System.Collections.Specialized; using System.Globalization; +using Redmine.Net.Api.Common; #if !(NET20) using System.Threading; using System.Threading.Tasks; diff --git a/src/redmine-net-api/Net/WebClient/Extensions/WebExceptionExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/WebExceptionExtensions.cs index 4bd89063..3820d457 100644 --- a/src/redmine-net-api/Net/WebClient/Extensions/WebExceptionExtensions.cs +++ b/src/redmine-net-api/Net/WebClient/Extensions/WebExceptionExtensions.cs @@ -58,8 +58,13 @@ public static void HandleWebException(this WebException exception, IRedmineSeria case WebExceptionStatus.ProtocolError: if (exception.Response != null) { + var statusCode = exception.Response is HttpWebResponse httpResponse + ? (int)httpResponse.StatusCode + : (int)HttpStatusCode.InternalServerError; + using var responseStream = exception.Response.GetResponseStream(); - HttpStatusHelper.MapStatusCodeToException((int)exception.Status, responseStream, innerException, serializer); + HttpStatusHelper.MapStatusCodeToException(statusCode, responseStream, innerException, serializer); + } break; diff --git a/src/redmine-net-api/Net/WebClient/InternalWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalWebClient.cs index 913feb7e..71103c45 100644 --- a/src/redmine-net-api/Net/WebClient/InternalWebClient.cs +++ b/src/redmine-net-api/Net/WebClient/InternalWebClient.cs @@ -117,12 +117,10 @@ protected override WebResponse GetWebResponse(WebRequest request) protected override WebResponse GetWebResponse(WebRequest request, IAsyncResult result) { var response = base.GetWebResponse(request, result); - if (response is HttpWebResponse httpResponse) { StatusCode = httpResponse.StatusCode; } - return response; } From 8d81acc344cf5a1bdae5ce980b575034cb3e1537 Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 16 May 2025 13:12:04 +0300 Subject: [PATCH 566/601] Add AType to common --- src/redmine-net-api/Common/AType.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/redmine-net-api/Common/AType.cs b/src/redmine-net-api/Common/AType.cs index 37087266..80d0493c 100644 --- a/src/redmine-net-api/Common/AType.cs +++ b/src/redmine-net-api/Common/AType.cs @@ -1,7 +1,6 @@ using System; -using System.Runtime.CompilerServices; -namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure; +namespace Redmine.Net.Api.Common; internal readonly struct A{ public static A Is => default; From 917260a5a1ca0e6af66af894960cd3b1d40ec6df Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 16 May 2025 13:12:33 +0300 Subject: [PATCH 567/601] [RedmineKeys] Add CUSTOM_FIELD_VALUES --- src/redmine-net-api/RedmineKeys.cs | 7 ++++- src/redmine-net-api/Types/Issue.cs | 1 - src/redmine-net-api/Types/Project.cs | 42 ++++++++++++++++++++-------- 3 files changed, 37 insertions(+), 13 deletions(-) diff --git a/src/redmine-net-api/RedmineKeys.cs b/src/redmine-net-api/RedmineKeys.cs index 03ee061d..b5072aa6 100644 --- a/src/redmine-net-api/RedmineKeys.cs +++ b/src/redmine-net-api/RedmineKeys.cs @@ -179,8 +179,13 @@ public static class RedmineKeys /// /// /// - public const string CUSTOM_FIELDS = "custom_fields"; + public const string CUSTOM_FIELD_VALUES = "custom_field_values"; + /// + /// + /// + public const string CUSTOM_FIELDS = "custom_fields"; + /// /// /// diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 838cb1c8..b145bdc4 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -344,7 +344,6 @@ public override void WriteXml(XmlWriter writer) writer.WriteIdIfNotNull(RedmineKeys.ASSIGNED_TO_ID, AssignedTo); writer.WriteIdIfNotNull(RedmineKeys.PARENT_ISSUE_ID, ParentIssue); writer.WriteIdIfNotNull(RedmineKeys.FIXED_VERSION_ID, FixedVersion); - writer.WriteValueOrEmpty(RedmineKeys.ESTIMATED_HOURS, EstimatedHours); writer.WriteIfNotDefaultOrNull(RedmineKeys.DONE_RATIO, DoneRatio); diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index b3d5953a..4f42a9eb 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -121,7 +121,21 @@ public sealed class Project : IdentifiableName, IEquatable /// /// The custom fields. /// - public IList CustomFields { get; set; } + [Obsolete($"{RedmineConstants.OBSOLETE_TEXT} Use {nameof(IssueCustomFields)} instead.")] + public IList CustomFields + { + get => IssueCustomFields; + set => IssueCustomFields = (List)value; + } + /// + /// + /// + public List IssueCustomFields { get; set; } + + /// + /// + /// + public List CustomFieldValues { get; set; } /// /// Gets the issue categories. @@ -129,13 +143,13 @@ public sealed class Project : IdentifiableName, IEquatable /// /// The issue categories. /// - /// Available in Redmine starting with 2.6.0 version. + /// Available in Redmine starting with the 2.6.0 version. public IList IssueCategories { get; internal set; } /// /// Gets the time entry activities. /// - /// Available in Redmine starting with 3.4.0 version. + /// Available in Redmine starting with the 3.4.0 version. public IList TimeEntryActivities { get; internal set; } /// @@ -169,7 +183,7 @@ public override void ReadXml(XmlReader reader) { case RedmineKeys.ID: Id = reader.ReadElementContentAsInt(); break; case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadElementContentAsNullableDateTime(); break; - case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadElementContentAsCollection(); break; + case RedmineKeys.CUSTOM_FIELDS: IssueCustomFields = reader.ReadElementContentAsCollection(); break; case RedmineKeys.DESCRIPTION: Description = reader.ReadElementContentAsString(); break; case RedmineKeys.ENABLED_MODULES: EnabledModules = reader.ReadElementContentAsCollection(); break; case RedmineKeys.HOMEPAGE: HomePage = reader.ReadElementContentAsString(); break; @@ -203,15 +217,18 @@ public override void WriteXml(XmlWriter writer) writer.WriteIdIfNotNull(RedmineKeys.PARENT_ID, Parent); writer.WriteBoolean(RedmineKeys.INHERIT_MEMBERS, InheritMembers); - //It works only when the new project is a subproject and it inherits the members. + //It works only when the new project is a subproject, and it inherits the members. writer.WriteIdIfNotNull(RedmineKeys.DEFAULT_ASSIGNED_TO_ID, DefaultAssignee); //It works only with existing shared versions. writer.WriteIdIfNotNull(RedmineKeys.DEFAULT_VERSION_ID, DefaultVersion); writer.WriteRepeatableElement(RedmineKeys.TRACKER_IDS, (IEnumerable)Trackers); writer.WriteRepeatableElement(RedmineKeys.ENABLED_MODULE_NAMES, (IEnumerable)EnabledModules); - writer.WriteRepeatableElement(RedmineKeys.ISSUE_CUSTOM_FIELD_IDS, (IEnumerable)CustomFields); - writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); + writer.WriteRepeatableElement(RedmineKeys.ISSUE_CUSTOM_FIELD_IDS, (IEnumerable)IssueCustomFields); + if (Id == 0) + { + writer.WriteArray(RedmineKeys.CUSTOM_FIELD_VALUES, CustomFieldValues); + } } #endregion @@ -238,7 +255,7 @@ public override void ReadJson(JsonReader reader) { case RedmineKeys.ID: Id = reader.ReadAsInt(); break; case RedmineKeys.CREATED_ON: CreatedOn = reader.ReadAsDateTime(); break; - case RedmineKeys.CUSTOM_FIELDS: CustomFields = reader.ReadAsCollection(); break; + case RedmineKeys.CUSTOM_FIELDS: IssueCustomFields = reader.ReadAsCollection(); break; case RedmineKeys.DESCRIPTION: Description = reader.ReadAsString(); break; case RedmineKeys.ENABLED_MODULES: EnabledModules = reader.ReadAsCollection(); break; case RedmineKeys.HOMEPAGE: HomePage = reader.ReadAsString(); break; @@ -275,15 +292,18 @@ public override void WriteJson(JsonWriter writer) writer.WriteBoolean(RedmineKeys.IS_PUBLIC, IsPublic); writer.WriteIdIfNotNull(RedmineKeys.PARENT_ID, Parent); - //It works only when the new project is a subproject and it inherits the members. + //It works only when the new project is a subproject, and it inherits the members. writer.WriteIdIfNotNull(RedmineKeys.DEFAULT_ASSIGNED_TO_ID, DefaultAssignee); //It works only with existing shared versions. writer.WriteIdIfNotNull(RedmineKeys.DEFAULT_VERSION_ID, DefaultVersion); writer.WriteRepeatableElement(RedmineKeys.TRACKER_IDS, (IEnumerable)Trackers); writer.WriteRepeatableElement(RedmineKeys.ENABLED_MODULE_NAMES, (IEnumerable)EnabledModules); - writer.WriteRepeatableElement(RedmineKeys.ISSUE_CUSTOM_FIELD_IDS, (IEnumerable)CustomFields); - writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields); + writer.WriteRepeatableElement(RedmineKeys.ISSUE_CUSTOM_FIELD_IDS, (IEnumerable)IssueCustomFields); + if (Id == 0) + { + writer.WriteArray(RedmineKeys.CUSTOM_FIELD_VALUES, CustomFieldValues); + } } } #endregion From f262787b33dacf00ab24e872533a3afa1d4fc54c Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 16 May 2025 21:38:14 +0300 Subject: [PATCH 568/601] Integration tests --- .../Tests/Async/FileTestsAsync.cs | 3 +- .../Tests/Async/IssueTestsAsync.cs | 31 ++++++------ .../Tests/Async/MembershipTestsAsync.cs | 49 +++++++++++++++++++ .../Tests/Async/ProjectTestsAsync.cs | 5 +- .../Tests/Async/SearchTestsAsync.cs | 2 +- .../Tests/Async/TimeEntryTests.cs | 12 +++-- .../Tests/Async/WikiTestsAsync.cs | 25 +++++----- 7 files changed, 93 insertions(+), 34 deletions(-) diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs index 9da74bee..f678d5d9 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs @@ -1,4 +1,5 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using File = Redmine.Net.Api.Types.File; @@ -32,7 +33,7 @@ public async Task CreateFile_Should_Succeed() [Fact] public async Task CreateFile_Without_Token_Should_Fail() { - await Assert.ThrowsAsync(() => fixture.RedmineManager.CreateAsync( + await Assert.ThrowsAsync(() => fixture.RedmineManager.CreateAsync( new File { Filename = "VBpMc.txt" }, PROJECT_ID)); } diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs index d302cedc..5b078c05 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs @@ -11,7 +11,8 @@ public class IssueTestsAsync(RedmineTestContainerFixture fixture) { private static readonly IdentifiableName ProjectIdName = IdentifiableName.Create(1); - private async Task CreateTestIssueAsync(List customFields = null, List watchers = null) + private async Task CreateTestIssueAsync(List customFields = null, + List watchers = null) { var issue = new Issue { @@ -44,7 +45,7 @@ public async Task CreateIssue_Should_Succeed() EstimatedHours = 8, CustomFields = [ - IssueCustomField.CreateSingle(1, RandomHelper.GenerateText(8), RandomHelper.GenerateText(4)) + IssueCustomField.CreateSingle(1, RandomHelper.GenerateText(8), RandomHelper.GenerateText(4)) ] }; @@ -72,7 +73,7 @@ public async Task GetIssue_Should_Succeed() //Arrange var createdIssue = await CreateTestIssueAsync(); Assert.NotNull(createdIssue); - + var issueId = createdIssue.Id.ToInvariantString(); //Act @@ -95,11 +96,11 @@ public async Task UpdateIssue_Should_Succeed() var updatedSubject = RandomHelper.GenerateText(9); var updatedDescription = RandomHelper.GenerateText(18); - var updatedStatusId = 2; - + var updatedStatusId = 2; + createdIssue.Subject = updatedSubject; createdIssue.Description = updatedDescription; - createdIssue.Status = updatedStatusId.ToIssueStatusIdentifier(); + createdIssue.Status = updatedStatusId.ToIssueStatusIdentifier(); createdIssue.Notes = RandomHelper.GenerateText("Note"); var issueId = createdIssue.Id.ToInvariantString(); @@ -122,7 +123,7 @@ public async Task DeleteIssue_Should_Succeed() //Arrange var createdIssue = await CreateTestIssueAsync(); Assert.NotNull(createdIssue); - + var issueId = createdIssue.Id.ToInvariantString(); //Act @@ -136,16 +137,16 @@ public async Task DeleteIssue_Should_Succeed() public async Task GetIssue_With_Watchers_And_Relations_Should_Succeed() { var createdIssue = await CreateTestIssueAsync( - [ - IssueCustomField.CreateMultiple(1, RandomHelper.GenerateText(8), - [RandomHelper.GenerateText(4), RandomHelper.GenerateText(4)]) - ], - [new Watcher() { Id = 1 }, new Watcher(){Id = 2}]); - + [ + IssueCustomField.CreateMultiple(1, RandomHelper.GenerateText(8), + [RandomHelper.GenerateText(4), RandomHelper.GenerateText(4)]) + ], + [new Watcher() { Id = 1 }]); + Assert.NotNull(createdIssue); - + //Act - var retrievedIssue = await fixture.RedmineManager.GetAsync(createdIssue.Id.ToInvariantString(), + var retrievedIssue = await fixture.RedmineManager.GetAsync(createdIssue.Id.ToInvariantString(), RequestOptions.Include($"{Include.Issue.Watchers},{Include.Issue.Relations}")); //Assert diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs index 55132eb5..b8f36de3 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs @@ -128,4 +128,53 @@ public async Task DeleteMembership_Should_Succeed() // Assert Assert.DoesNotContain(updatedMemberships.Items, m => m.Id == membership.Id); } + + [Fact] + public async Task GetProjectMemberships_ShouldReturnMemberships() + { + // Test implementation + } + + [Fact] + public async Task GetProjectMembership_WithValidId_ShouldReturnMembership() + { + // Test implementation + } + + [Fact] + public async Task CreateProjectMembership_WithValidData_ShouldSucceed() + { + // Test implementation + } + + [Fact] + public async Task CreateProjectMembership_WithInvalidData_ShouldFail() + { + // Test implementation + } + + [Fact] + public async Task UpdateProjectMembership_WithValidData_ShouldSucceed() + { + // Test implementation + } + + [Fact] + public async Task UpdateProjectMembership_WithInvalidData_ShouldFail() + { + // Test implementation + } + + [Fact] + public async Task DeleteProjectMembership_WithValidId_ShouldSucceed() + { + // Test implementation + } + + [Fact] + public async Task DeleteProjectMembership_WithInvalidId_ShouldFail() + { + // Test implementation + } + } \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectTestsAsync.cs index 768bdf8c..2909bbf0 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectTestsAsync.cs @@ -18,10 +18,11 @@ private async Task CreateEntityAsync(string subjectSuffix = null) return await fixture.RedmineManager.CreateAsync(entity); } - + [Fact] public async Task CreateProject_Should_Succeed() { + //Arrange var projectName = RandomHelper.GenerateText(7); var data = new Project { @@ -44,7 +45,7 @@ public async Task CreateProject_Should_Succeed() new ProjectTracker(3), ], - CustomFieldValues = [IdentifiableName.Create(1, "cf1"), IdentifiableName.Create(2, "cf2")] + //CustomFieldValues = [IdentifiableName.Create(1, "cf1"), IdentifiableName.Create(2, "cf2")] // IssueCustomFields = // [ // IssueCustomField.CreateSingle(1, RandomHelper.GenerateText(5), RandomHelper.GenerateText(7)) diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/SearchTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/SearchTestsAsync.cs index e07b128a..a05add93 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/SearchTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/SearchTestsAsync.cs @@ -22,6 +22,6 @@ public async Task Search_Should_Succeed() // Assert Assert.NotNull(results); - Assert.Empty(results.Items); + Assert.Null(results.Items); } } \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs index e3682b8d..4039c6c6 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs @@ -1,4 +1,5 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; @@ -11,7 +12,8 @@ public class TimeEntryTestsAsync(RedmineTestContainerFixture fixture) private async Task CreateTestTimeEntryAsync() { var project = await fixture.RedmineManager.GetAsync(1.ToInvariantString()); - var issue = await fixture.RedmineManager.GetAsync(1.ToInvariantString()); + var issueData = IssueTestHelper.CreateIssue(); + var issue = await fixture.RedmineManager.CreateAsync(issueData); var timeEntry = new TimeEntry { @@ -19,7 +21,7 @@ private async Task CreateTestTimeEntryAsync() Issue = issue.ToIdentifiableName(), SpentOn = DateTime.Now.Date, Hours = 1.5m, - // Activity = 8.ToIdentifier(), + Activity = 8.ToIdentifier(), Comments = $"Test time entry comments {Guid.NewGuid()}", }; return await fixture.RedmineManager.CreateAsync(timeEntry); @@ -29,13 +31,15 @@ private async Task CreateTestTimeEntryAsync() public async Task CreateTimeEntry_Should_Succeed() { //Arrange + var issueData = IssueTestHelper.CreateIssue(); + var issue = await fixture.RedmineManager.CreateAsync(issueData); var timeEntryData = new TimeEntry { Project = 1.ToIdentifier(), - Issue = 1.ToIdentifier(), + Issue = issue.ToIdentifiableName(), SpentOn = DateTime.Now.Date, Hours = 1.5m, - //Activity = 8.ToIdentifier(), + Activity = 8.ToIdentifier(), Comments = $"Initial create test comments {Guid.NewGuid()}", }; diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs index 6c963c5e..1325a656 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs @@ -95,16 +95,18 @@ await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetWikiPageAsync(PROJECT_ID, wikiPageName)); } - private async Task<(WikiPage Page, string ProjectId, string PageTitle)> CreateTestWikiPageAsync( + private async Task<(string pageTitle, string ProjectId, string PageTitle)> CreateTestWikiPageAsync( string pageTitleSuffix = null, string initialText = "Default initial text for wiki page.", string initialComments = "Initial comments for wiki page.") { - var pageTitle = $"TestWikiPage_{(pageTitleSuffix ?? RandomHelper.GenerateText(5))}"; + var pageTitle = RandomHelper.GenerateText(5); var wikiPageData = new WikiPage { + Title = RandomHelper.GenerateText(5), Text = initialText, - Comments = initialComments + Comments = initialComments, + Version = 0 }; var createdPage = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, pageTitle, wikiPageData); @@ -114,7 +116,7 @@ await Assert.ThrowsAsync(async () => // Assert.True(createdPage.Id > 0, "Created WikiPage should have a valid ID."); // Assert.Equal(initialText, createdPage.Text); - return (createdPage, PROJECT_ID, pageTitle); + return (pageTitle, PROJECT_ID, pageTitle); } [Fact] @@ -141,7 +143,11 @@ public async Task CreateWikiPage_Should_Succeed() public async Task UpdateWikiPage_Should_Succeed() { //Arrange - var (initialPage, projectId, pageTitle) = await CreateTestWikiPageAsync("UpdateTest", "Original Text.", "Original Comments."); + var pageTitle = RandomHelper.GenerateText(8); + var text = "This is the content of a new wiki page."; + var comments = "Creation comment for new wiki page."; + var wikiPageData = new WikiPage { Text = text, Comments = comments }; + var createdPage = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, pageTitle, wikiPageData); var updatedText = $"Updated wiki text content {Guid.NewGuid():N}"; var updatedComments = "These are updated comments for the wiki page update."; @@ -150,19 +156,16 @@ public async Task UpdateWikiPage_Should_Succeed() { Text = updatedText, Comments = updatedComments, - Version = ++initialPage.Version + Version = 1 }; //Act - await fixture.RedmineManager.UpdateWikiPageAsync(projectId, pageTitle, wikiPageToUpdate); - var retrievedPage = await fixture.RedmineManager.GetAsync(initialPage.Id.ToInvariantString()); + await fixture.RedmineManager.UpdateWikiPageAsync(PROJECT_ID, pageTitle, wikiPageToUpdate); + var retrievedPage = await fixture.RedmineManager.GetWikiPageAsync(1.ToInvariantString(), createdPage.Title, version: 1); //Assert Assert.NotNull(retrievedPage); Assert.Equal(updatedText, retrievedPage.Text); Assert.Equal(updatedComments, retrievedPage.Comments); - Assert.True(retrievedPage.Version > initialPage.Version - || (retrievedPage.Version == 1 && initialPage.Version == 0) - || (initialPage.Version ==0 && retrievedPage.Version ==0)); } } \ No newline at end of file From 6a660927ce8000200d9e2c5104148980c8bb1858 Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 16 May 2025 21:38:55 +0300 Subject: [PATCH 569/601] Fix project membership json serialization --- .../Xml/Extensions/XmlWriterExtensions.cs | 33 +++++++++++++++++++ .../Types/ProjectMembership.cs | 4 +-- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs index 3894309e..84c5f7cc 100644 --- a/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs @@ -160,6 +160,39 @@ public static void WriteArray(this XmlWriter writer, string elementName, IEnumer writer.WriteEndElement(); } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static void WriteArray(this XmlWriter writer, string elementName, IEnumerable collection, string root, string defaultNamespace = null) + { + if (collection == null) + { + return; + } + + var type = typeof(T); + writer.WriteStartElement(elementName); + writer.WriteAttributeString("type", "array"); + + var rootAttribute = new XmlRootAttribute(root); + + var serializer = new XmlSerializer(type, XmlAttributeOverrides, EmptyTypeArray, rootAttribute, + defaultNamespace); + + foreach (var item in collection) + { + serializer.Serialize(writer, item); + } + + writer.WriteEndElement(); + } /// /// Writes the list elements. diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index 714b0030..cc9ae373 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -107,7 +107,7 @@ public override void WriteXml(XmlWriter writer) writer.WriteIdIfNotNull(RedmineKeys.USER_ID, User); } - writer.WriteArray(RedmineKeys.ROLE_IDS, Roles, typeof(MembershipRole), RedmineKeys.ROLE_ID); + writer.WriteArray(RedmineKeys.ROLE_IDS, Roles, root: RedmineKeys.ROLE_ID); } #endregion @@ -155,7 +155,7 @@ public override void WriteJson(JsonWriter writer) writer.WriteIdIfNotNull(RedmineKeys.USER_ID, User); } - writer.WriteRepeatableElement(RedmineKeys.ROLE_IDS, (IEnumerable)Roles); + writer.WriteArray(RedmineKeys.ROLE_IDS, Roles); } } #endregion From 8c6739d2f7fa43232d9be5383d87bad20f17e4c0 Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 16 May 2025 21:39:32 +0300 Subject: [PATCH 570/601] Fix news and wiki urls --- .../Extensions/RedmineManagerExtensions.cs | 44 +++++-------------- .../Net/Internal/RedmineApiUrlsExtensions.cs | 2 +- 2 files changed, 13 insertions(+), 33 deletions(-) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index c6327715..0cf9ccf2 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -182,11 +182,9 @@ public static News AddProjectNews(this RedmineManager redmineManager, string pro var payload = redmineManager.Serializer.Serialize(news); - var uri = Uri.EscapeDataString(redmineManager.RedmineApiUrls.ProjectNews(projectIdentifier)); - - var escapedUri = Uri.EscapeDataString(uri); + var uri = redmineManager.RedmineApiUrls.ProjectNews(projectIdentifier); - var response = redmineManager.ApiClient.Create(escapedUri, payload, requestOptions); + var response = redmineManager.ApiClient.Create(uri, payload, requestOptions); return response.DeserializeTo(redmineManager.Serializer); } @@ -341,9 +339,7 @@ public static void UpdateWikiPage(this RedmineManager redmineManager, string pro var uri = redmineManager.RedmineApiUrls.ProjectWikiPageUpdate(projectId, pageName); - var escapedUri = Uri.EscapeDataString(uri); - - redmineManager.ApiClient.Patch(escapedUri, payload, requestOptions); + redmineManager.ApiClient.Patch(uri, payload, requestOptions); } /// @@ -391,9 +387,7 @@ public static WikiPage GetWikiPage(this RedmineManager redmineManager, string pr ? redmineManager.RedmineApiUrls.ProjectWikiPage(projectId, pageName) : redmineManager.RedmineApiUrls.ProjectWikiPageVersion(projectId, pageName, version.ToInvariantString()); - var escapedUri = Uri.EscapeDataString(uri); - - var response = redmineManager.ApiClient.Get(escapedUri, requestOptions); + var response = redmineManager.ApiClient.Get(uri, requestOptions); return response.DeserializeTo(redmineManager.Serializer); } @@ -427,9 +421,7 @@ public static void DeleteWikiPage(this RedmineManager redmineManager, string pro { var uri = redmineManager.RedmineApiUrls.ProjectWikiPageDelete(projectId, pageName); - var escapedUri = Uri.EscapeDataString(uri); - - redmineManager.ApiClient.Delete(escapedUri, requestOptions); + redmineManager.ApiClient.Delete(uri, requestOptions); } /// @@ -610,9 +602,7 @@ public static async Task> GetProjectNewsAsync(this RedmineMan { var uri = redmineManager.RedmineApiUrls.ProjectNews(projectIdentifier); - var escapedUri = Uri.EscapeDataString(uri); - - var response = await redmineManager.ApiClient.GetPagedAsync(escapedUri, requestOptions, cancellationToken).ConfigureAwait(false); + var response = await redmineManager.ApiClient.GetPagedAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); return response.DeserializeToPagedResults(redmineManager.Serializer); } @@ -641,11 +631,9 @@ public static async Task AddProjectNewsAsync(this RedmineManager redmineMa var payload = redmineManager.Serializer.Serialize(news); - var uri = Uri.EscapeDataString(redmineManager.RedmineApiUrls.ProjectNews(projectIdentifier)); + var uri = redmineManager.RedmineApiUrls.ProjectNews(projectIdentifier); - var escapedUri = Uri.EscapeDataString(uri); - - var response = await redmineManager.ApiClient.CreateAsync(escapedUri, payload, requestOptions, cancellationToken).ConfigureAwait(false); + var response = await redmineManager.ApiClient.CreateAsync(uri, payload, requestOptions, cancellationToken).ConfigureAwait(false); return response.DeserializeTo(redmineManager.Serializer); } @@ -754,9 +742,7 @@ public static async Task CreateWikiPageAsync(this RedmineManager redmi throw new RedmineException("The payload is empty"); } - var path = redmineManager.RedmineApiUrls.ProjectWikiPageUpdate(projectId, Uri.EscapeDataString(pageName)); - - //var escapedUri = Uri.EscapeDataString(url); + var path = redmineManager.RedmineApiUrls.ProjectWikiPageUpdate(projectId, pageName); var response = await redmineManager.ApiClient.UpdateAsync(path, payload, requestOptions, cancellationToken).ConfigureAwait(false); @@ -784,9 +770,7 @@ public static async Task UpdateWikiPageAsync(this RedmineManager redmineManager, var url = redmineManager.RedmineApiUrls.ProjectWikiPageUpdate(projectId, pageName); - var escapedUri = Uri.EscapeDataString(url); - - await redmineManager.ApiClient.PatchAsync(escapedUri, payload, requestOptions, cancellationToken).ConfigureAwait(false); + await redmineManager.ApiClient.PatchAsync(url, payload, requestOptions, cancellationToken).ConfigureAwait(false); } /// @@ -802,9 +786,7 @@ public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, { var uri = redmineManager.RedmineApiUrls.ProjectWikiPageDelete(projectId, pageName); - var escapedUri = Uri.EscapeDataString(uri); - - await redmineManager.ApiClient.DeleteAsync(escapedUri, requestOptions, cancellationToken).ConfigureAwait(false); + await redmineManager.ApiClient.DeleteAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); } /// @@ -823,9 +805,7 @@ public static async Task GetWikiPageAsync(this RedmineManager redmineM ? redmineManager.RedmineApiUrls.ProjectWikiPage(projectId, pageName) : redmineManager.RedmineApiUrls.ProjectWikiPageVersion(projectId, pageName, version.ToInvariantString()); - var escapedUri = Uri.EscapeDataString(uri); - - var response = await redmineManager.ApiClient.GetAsync(escapedUri, requestOptions, cancellationToken).ConfigureAwait(false); + var response = await redmineManager.ApiClient.GetAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); return response.DeserializeTo(redmineManager.Serializer); } diff --git a/src/redmine-net-api/Net/Internal/RedmineApiUrlsExtensions.cs b/src/redmine-net-api/Net/Internal/RedmineApiUrlsExtensions.cs index 103dc7f7..9ed8ab34 100644 --- a/src/redmine-net-api/Net/Internal/RedmineApiUrlsExtensions.cs +++ b/src/redmine-net-api/Net/Internal/RedmineApiUrlsExtensions.cs @@ -68,7 +68,7 @@ public static string ProjectNews(this RedmineApiUrls redmineApiUrls, string proj throw new RedmineException($"Argument '{nameof(projectIdentifier)}' is null or whitespace"); } - return $"{RedmineKeys.PROJECT}/{projectIdentifier}/{RedmineKeys.NEWS}.{redmineApiUrls.Format}"; + return $"{RedmineKeys.PROJECTS}/{projectIdentifier}/{RedmineKeys.NEWS}.{redmineApiUrls.Format}"; } public static string ProjectMemberships(this RedmineApiUrls redmineApiUrls, string projectIdentifier) From 614ae600e786fd0e0cda550b782c5fd8908a310c Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 16 May 2025 21:40:01 +0300 Subject: [PATCH 571/601] Add issue to extension --- src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs b/src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs index a0daf466..beed972a 100644 --- a/src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs +++ b/src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs @@ -23,6 +23,7 @@ public static IdentifiableName ToIdentifiableName(this T entity) where T : cl DocumentCategory documentCategory => IdentifiableName.Create(documentCategory.Id, documentCategory.Name), Group group => IdentifiableName.Create(group.Id, group.Name), GroupUser groupUser => IdentifiableName.Create(groupUser.Id, groupUser.Name), + Issue issue => new IdentifiableName(issue.Id, issue.Subject), IssueAllowedStatus issueAllowedStatus => IdentifiableName.Create(issueAllowedStatus.Id, issueAllowedStatus.Name), IssueCustomField issueCustomField => IdentifiableName.Create(issueCustomField.Id, issueCustomField.Name), IssuePriority issuePriority => IdentifiableName.Create(issuePriority.Id, issuePriority.Name), From 14914e4170d83606c6dcd9bbfc1d873edc74ad97 Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 22 May 2025 22:53:11 +0300 Subject: [PATCH 572/601] [New] Logger --- .../Extensions/LoggerExtensions.cs | 52 ---- .../Logging/ColorConsoleLogger.cs | 110 --------- src/redmine-net-api/Logging/ConsoleLogger.cs | 56 ----- src/redmine-net-api/Logging/ILogger.cs | 30 --- src/redmine-net-api/Logging/IRedmineLogger.cs | 25 ++ src/redmine-net-api/Logging/LogEntry.cs | 61 ----- src/redmine-net-api/Logging/LogLevel.cs | 32 +++ src/redmine-net-api/Logging/Logger.cs | 51 ---- .../Logging/LoggerExtensions.cs | 225 ------------------ .../Logging/LoggerFactoryExtensions.cs | 27 +++ .../Logging/LoggingBuilderExtensions.cs | 46 ++++ .../Logging/LoggingEventType.cs | 45 ---- .../Logging/MicrosoftLoggerRedmineAdapter.cs | 92 +++++++ .../Logging/RedmineConsoleLogger.cs | 69 ++++++ .../Logging/RedmineConsoleTraceListener.cs | 86 ------- .../Logging/RedmineLoggerExtensions.cs | 108 +++++++++ .../Logging/RedmineLoggerFactory.cs | 75 ++++++ .../Logging/RedmineLoggerMicrosoftAdapter.cs | 97 ++++++++ .../Logging/RedmineLoggingOptions.cs | 27 +++ .../Logging/RedmineNullLogger.cs | 40 ++++ src/redmine-net-api/Logging/TraceLogger.cs | 56 ----- src/redmine-net-api/RedmineManagerOptions.cs | 9 +- .../RedmineManagerOptionsBuilder.cs | 42 +++- src/redmine-net-api/redmine-net-api.csproj | 7 +- 24 files changed, 689 insertions(+), 779 deletions(-) delete mode 100755 src/redmine-net-api/Extensions/LoggerExtensions.cs delete mode 100644 src/redmine-net-api/Logging/ColorConsoleLogger.cs delete mode 100644 src/redmine-net-api/Logging/ConsoleLogger.cs delete mode 100755 src/redmine-net-api/Logging/ILogger.cs create mode 100644 src/redmine-net-api/Logging/IRedmineLogger.cs delete mode 100644 src/redmine-net-api/Logging/LogEntry.cs create mode 100644 src/redmine-net-api/Logging/LogLevel.cs delete mode 100755 src/redmine-net-api/Logging/Logger.cs delete mode 100755 src/redmine-net-api/Logging/LoggerExtensions.cs create mode 100644 src/redmine-net-api/Logging/LoggerFactoryExtensions.cs create mode 100644 src/redmine-net-api/Logging/LoggingBuilderExtensions.cs delete mode 100755 src/redmine-net-api/Logging/LoggingEventType.cs create mode 100644 src/redmine-net-api/Logging/MicrosoftLoggerRedmineAdapter.cs create mode 100644 src/redmine-net-api/Logging/RedmineConsoleLogger.cs delete mode 100644 src/redmine-net-api/Logging/RedmineConsoleTraceListener.cs create mode 100644 src/redmine-net-api/Logging/RedmineLoggerExtensions.cs create mode 100644 src/redmine-net-api/Logging/RedmineLoggerFactory.cs create mode 100644 src/redmine-net-api/Logging/RedmineLoggerMicrosoftAdapter.cs create mode 100644 src/redmine-net-api/Logging/RedmineLoggingOptions.cs create mode 100644 src/redmine-net-api/Logging/RedmineNullLogger.cs delete mode 100644 src/redmine-net-api/Logging/TraceLogger.cs diff --git a/src/redmine-net-api/Extensions/LoggerExtensions.cs b/src/redmine-net-api/Extensions/LoggerExtensions.cs deleted file mode 100755 index 9e836a19..00000000 --- a/src/redmine-net-api/Extensions/LoggerExtensions.cs +++ /dev/null @@ -1,52 +0,0 @@ -/* - Copyright 2011 - 2016 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using Redmine.Net.Api.Logging; - -namespace Redmine.Net.Api.Extensions -{ - /// - /// - public static class LoggerExtensions - { - /// - /// Uses the console log. - /// - /// The redmine manager. - public static void UseConsoleLog(this RedmineManager redmineManager) - { - Logger.UseLogger(new ConsoleLogger()); - } - - /// - /// Uses the color console log. - /// - /// The redmine manager. - public static void UseColorConsoleLog(this RedmineManager redmineManager) - { - Logger.UseLogger(new ColorConsoleLogger()); - } - - /// - /// Uses the trace log. - /// - /// The redmine manager. - public static void UseTraceLog(this RedmineManager redmineManager) - { - Logger.UseLogger(new TraceLogger()); - } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Logging/ColorConsoleLogger.cs b/src/redmine-net-api/Logging/ColorConsoleLogger.cs deleted file mode 100644 index e7959dc9..00000000 --- a/src/redmine-net-api/Logging/ColorConsoleLogger.cs +++ /dev/null @@ -1,110 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; - -namespace Redmine.Net.Api.Logging -{ - /// - /// - /// - /// - public sealed class ColorConsoleLogger : ILogger - { - private static readonly object locker = new object(); - private readonly ConsoleColor? defaultConsoleColor = null; - - /// - /// - /// - public void Log(LogEntry entry) - { - lock (locker) - { - var colors = GetLogLevelConsoleColors(entry.Severity); - switch (entry.Severity) - { - case LoggingEventType.Debug: - Console.WriteLine(entry.Message, colors.Background, colors.Foreground); - break; - case LoggingEventType.Information: - Console.WriteLine(entry.Message, colors.Background, colors.Foreground); - break; - case LoggingEventType.Warning: - Console.WriteLine(entry.Message, colors.Background, colors.Foreground); - break; - case LoggingEventType.Error: - Console.WriteLine(entry.Message, colors.Background, colors.Foreground); - break; - case LoggingEventType.Fatal: - Console.WriteLine(entry.Message, colors.Background, colors.Foreground); - break; - } - } - } - - /// - /// Gets the log level console colors. - /// - /// The log level. - /// - private ConsoleColors GetLogLevelConsoleColors(LoggingEventType logLevel) - { - // do not change user's background color except for Critical - switch (logLevel) - { - case LoggingEventType.Fatal: - return new ConsoleColors(ConsoleColor.White, ConsoleColor.Red); - case LoggingEventType.Error: - return new ConsoleColors(ConsoleColor.Red, defaultConsoleColor); - case LoggingEventType.Warning: - return new ConsoleColors(ConsoleColor.DarkYellow, defaultConsoleColor); - case LoggingEventType.Information: - return new ConsoleColors(ConsoleColor.DarkGreen, defaultConsoleColor); - default: - return new ConsoleColors(ConsoleColor.Gray, defaultConsoleColor); - } - } - - /// - /// - /// - private struct ConsoleColors - { - public ConsoleColors(ConsoleColor? foreground, ConsoleColor? background): this() - { - Foreground = foreground; - Background = background; - } - - /// - /// Gets or sets the foreground. - /// - /// - /// The foreground. - /// - public ConsoleColor? Foreground { get; private set; } - - /// - /// Gets or sets the background. - /// - /// - /// The background. - /// - public ConsoleColor? Background { get; private set; } - } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Logging/ConsoleLogger.cs b/src/redmine-net-api/Logging/ConsoleLogger.cs deleted file mode 100644 index 015b465a..00000000 --- a/src/redmine-net-api/Logging/ConsoleLogger.cs +++ /dev/null @@ -1,56 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; - -namespace Redmine.Net.Api.Logging -{ - /// - /// - /// - /// - public sealed class ConsoleLogger : ILogger - { - private static readonly object locker = new object(); - /// - /// - /// - public void Log(LogEntry entry) - { - lock (locker) - { - switch (entry.Severity) - { - case LoggingEventType.Debug: - Console.WriteLine(entry.Message); - break; - case LoggingEventType.Information: - Console.WriteLine(entry.Message); - break; - case LoggingEventType.Warning: - Console.WriteLine(entry.Message); - break; - case LoggingEventType.Error: - Console.WriteLine(entry.Message); - break; - case LoggingEventType.Fatal: - Console.WriteLine(entry.Message); - break; - } - } - } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Logging/ILogger.cs b/src/redmine-net-api/Logging/ILogger.cs deleted file mode 100755 index 5d483046..00000000 --- a/src/redmine-net-api/Logging/ILogger.cs +++ /dev/null @@ -1,30 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -namespace Redmine.Net.Api.Logging -{ - /// - /// - /// - public interface ILogger - { - /// - /// Logs the specified entry. - /// - /// The entry. - void Log(LogEntry entry); - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Logging/IRedmineLogger.cs b/src/redmine-net-api/Logging/IRedmineLogger.cs new file mode 100644 index 00000000..47b4c980 --- /dev/null +++ b/src/redmine-net-api/Logging/IRedmineLogger.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; + +namespace Redmine.Net.Api.Logging; + +/// +/// Provides abstraction for logging operations +/// +public interface IRedmineLogger +{ + /// + /// Checks if the specified log level is enabled + /// + bool IsEnabled(LogLevel level); + + /// + /// Logs a message with the specified level + /// + void Log(LogLevel level, string message, Exception exception = null); + + /// + /// Creates a scoped logger with additional context + /// + IRedmineLogger CreateScope(string scopeName, IDictionary scopeProperties = null); +} \ No newline at end of file diff --git a/src/redmine-net-api/Logging/LogEntry.cs b/src/redmine-net-api/Logging/LogEntry.cs deleted file mode 100644 index c91218cc..00000000 --- a/src/redmine-net-api/Logging/LogEntry.cs +++ /dev/null @@ -1,61 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; - -namespace Redmine.Net.Api.Logging -{ - /// - /// - /// - public sealed class LogEntry - { - /// - /// Initializes a new instance of the class. - /// - /// The severity. - /// The message. - /// The exception. - public LogEntry(LoggingEventType severity, string message, Exception exception = null) - { - Severity = severity; - Message = message; - Exception = exception; - } - - /// - /// Gets the severity. - /// - /// - /// The severity. - /// - public LoggingEventType Severity { get; private set; } - /// - /// Gets the message. - /// - /// - /// The message. - /// - public string Message { get; private set; } - /// - /// Gets the exception. - /// - /// - /// The exception. - /// - public Exception Exception { get; private set; } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Logging/LogLevel.cs b/src/redmine-net-api/Logging/LogLevel.cs new file mode 100644 index 00000000..a58e1500 --- /dev/null +++ b/src/redmine-net-api/Logging/LogLevel.cs @@ -0,0 +1,32 @@ +namespace Redmine.Net.Api.Logging; + +/// +/// Defines logging severity levels +/// +public enum LogLevel +{ + /// + /// + /// + Trace, + /// + /// + /// + Debug, + /// + /// + /// + Information, + /// + /// + /// + Warning, + /// + /// + /// + Error, + /// + /// + /// + Critical +} \ No newline at end of file diff --git a/src/redmine-net-api/Logging/Logger.cs b/src/redmine-net-api/Logging/Logger.cs deleted file mode 100755 index 895f3a8e..00000000 --- a/src/redmine-net-api/Logging/Logger.cs +++ /dev/null @@ -1,51 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -namespace Redmine.Net.Api.Logging -{ - /// - /// - /// - public static class Logger - { - private static readonly object locker = new object(); - private static ILogger logger; - - /// - /// Gets the current ILogger. - /// - /// - /// The current. - /// - public static ILogger Current - { - get { return logger ?? (logger = new ConsoleLogger()); } - private set { logger = value; } - } - - /// - /// Uses the logger. - /// - /// The logger. - public static void UseLogger(ILogger logger) - { - lock (locker) - { - Current = logger; - } - } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Logging/LoggerExtensions.cs b/src/redmine-net-api/Logging/LoggerExtensions.cs deleted file mode 100755 index 5a55d1e8..00000000 --- a/src/redmine-net-api/Logging/LoggerExtensions.cs +++ /dev/null @@ -1,225 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Globalization; - -namespace Redmine.Net.Api.Logging -{ - /// - /// - /// - public static class LoggerExtensions - { - /// - /// Debugs the specified message. - /// - /// The logger. - /// The message. - public static void Debug(this ILogger logger, string message) - { - logger.Log(new LogEntry(LoggingEventType.Debug, message)); - } - - /// - /// Debugs the specified message. - /// - /// The logger. - /// The message. - /// The exception. - public static void Debug(this ILogger logger, string message, Exception exception) - { - logger.Log(new LogEntry(LoggingEventType.Debug, message, exception)); - } - - /// - /// Debugs the specified format provider. - /// - /// The logger. - /// The format provider. - /// The format. - /// The arguments. - public static void Debug(this ILogger logger, IFormatProvider formatProvider, string format, params object[] args) - { - logger.Log(new LogEntry(LoggingEventType.Debug, string.Format(formatProvider, format, args))); - } - - /// - /// Debugs the specified format. - /// - /// The logger. - /// The format. - /// The arguments. - public static void Debug(this ILogger logger, string format, params object[] args) - { - logger.Log(new LogEntry(LoggingEventType.Debug, string.Format(CultureInfo.CurrentCulture, format, args))); - } - - /// - /// Informations the specified message. - /// - /// The logger. - /// The message. - public static void Information(this ILogger logger, string message) - { - logger.Log(new LogEntry(LoggingEventType.Information, message)); - } - - /// - /// Informations the specified format provider. - /// - /// The logger. - /// The format provider. - /// The format. - /// The arguments. - public static void Information(this ILogger logger, IFormatProvider formatProvider, string format, params object[] args) - { - logger.Log(new LogEntry(LoggingEventType.Information, string.Format(formatProvider, format, args))); - } - - /// - /// Informations the specified format. - /// - /// The logger. - /// The format. - /// The arguments. - public static void Information(this ILogger logger, string format, params object[] args) - { - logger.Log(new LogEntry(LoggingEventType.Information, string.Format(CultureInfo.CurrentCulture, format, args))); - } - - /// - /// Warnings the specified message. - /// - /// The logger. - /// The message. - public static void Warning(this ILogger logger, string message) - { - logger.Log(new LogEntry(LoggingEventType.Warning, message)); - } - - /// - /// Warnings the specified format provider. - /// - /// The logger. - /// The format provider. - /// The format. - /// The arguments. - public static void Warning(this ILogger logger, IFormatProvider formatProvider, string format, params object[] args) - { - logger.Log(new LogEntry(LoggingEventType.Warning, string.Format(formatProvider, format, args))); - } - - /// - /// Warnings the specified format. - /// - /// The logger. - /// The format. - /// The arguments. - public static void Warning(this ILogger logger, string format, params object[] args) - { - logger.Log(new LogEntry(LoggingEventType.Warning, string.Format(CultureInfo.CurrentCulture, format, args))); - } - - /// - /// Errors the specified exception. - /// - /// The logger. - /// The exception. - public static void Error(this ILogger logger, Exception exception) - { - logger.Log(new LogEntry(LoggingEventType.Error, exception.Message, exception)); - } - - /// - /// Errors the specified message. - /// - /// The logger. - /// The message. - /// The exception. - public static void Error(this ILogger logger, string message, Exception exception) - { - logger.Log(new LogEntry(LoggingEventType.Error, message, exception)); - } - - /// - /// Errors the specified format provider. - /// - /// The logger. - /// The format provider. - /// The format. - /// The arguments. - public static void Error(this ILogger logger, IFormatProvider formatProvider, string format, params object[] args) - { - logger.Log(new LogEntry(LoggingEventType.Error, string.Format(formatProvider, format, args))); - } - - /// - /// Errors the specified format. - /// - /// The logger. - /// The format. - /// The arguments. - public static void Error(this ILogger logger, string format, params object[] args) - { - logger.Log(new LogEntry(LoggingEventType.Error, string.Format(CultureInfo.CurrentCulture, format, args))); - } - - /// - /// Fatals the specified exception. - /// - /// The logger. - /// The exception. - public static void Fatal(this ILogger logger, Exception exception) - { - logger.Log(new LogEntry(LoggingEventType.Fatal, exception.Message, exception)); - } - - /// - /// Fatals the specified message. - /// - /// The logger. - /// The message. - /// The exception. - public static void Fatal(this ILogger logger, string message, Exception exception) - { - logger.Log(new LogEntry(LoggingEventType.Fatal, message, exception)); - } - - /// - /// Fatals the specified format provider. - /// - /// The logger. - /// The format provider. - /// The format. - /// The arguments. - public static void Fatal(this ILogger logger, IFormatProvider formatProvider, string format, params object[] args) - { - logger.Log(new LogEntry(LoggingEventType.Fatal, string.Format(formatProvider, format, args))); - } - - /// - /// Fatals the specified format. - /// - /// The logger. - /// The format. - /// The arguments. - public static void Fatal(this ILogger logger, string format, params object[] args) - { - logger.Log(new LogEntry(LoggingEventType.Fatal, string.Format(CultureInfo.CurrentCulture, format, args))); - } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Logging/LoggerFactoryExtensions.cs b/src/redmine-net-api/Logging/LoggerFactoryExtensions.cs new file mode 100644 index 00000000..62ee317b --- /dev/null +++ b/src/redmine-net-api/Logging/LoggerFactoryExtensions.cs @@ -0,0 +1,27 @@ + +#if NET462_OR_GREATER || NETCOREAPP + +using Microsoft.Extensions.Logging; + +namespace Redmine.Net.Api.Logging; + +/// +/// +/// +public static class LoggerFactoryExtensions +{ + /// + /// Creates a Redmine logger from the Microsoft ILoggerFactory + /// + public static IRedmineLogger CreateRedmineLogger(this ILoggerFactory factory, string categoryName = "Redmine.Api") + { + if (factory == null) + { + return RedmineNullLogger.Instance; + } + + var logger = factory.CreateLogger(categoryName); + return RedmineLoggerFactory.CreateMicrosoftLogger(logger); + } +} +#endif diff --git a/src/redmine-net-api/Logging/LoggingBuilderExtensions.cs b/src/redmine-net-api/Logging/LoggingBuilderExtensions.cs new file mode 100644 index 00000000..18650d89 --- /dev/null +++ b/src/redmine-net-api/Logging/LoggingBuilderExtensions.cs @@ -0,0 +1,46 @@ +#if NET462_OR_GREATER || NETCOREAPP +using System; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Logging; + +namespace Redmine.Net.Api.Logging; + +/// +/// +/// +public static class LoggingBuilderExtensions +{ + /// + /// Adds a RedmineLogger provider to the DI container + /// + public static ILoggingBuilder AddRedmineLogger(this ILoggingBuilder builder, IRedmineLogger redmineLogger) + { + if (builder == null) throw new ArgumentNullException(nameof(builder)); + if (redmineLogger == null) throw new ArgumentNullException(nameof(redmineLogger)); + + builder.Services.AddSingleton(redmineLogger); + return builder; + } + + /// + /// Configures Redmine logging options + /// + public static ILoggingBuilder ConfigureRedmineLogging(this ILoggingBuilder builder, Action configure) + { + if (builder == null) throw new ArgumentNullException(nameof(builder)); + if (configure == null) throw new ArgumentNullException(nameof(configure)); + + var options = new RedmineLoggingOptions(); + configure(options); + + builder.Services.AddSingleton(options); + + return builder; + } +} + +#endif + + + + diff --git a/src/redmine-net-api/Logging/LoggingEventType.cs b/src/redmine-net-api/Logging/LoggingEventType.cs deleted file mode 100755 index e539f868..00000000 --- a/src/redmine-net-api/Logging/LoggingEventType.cs +++ /dev/null @@ -1,45 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -namespace Redmine.Net.Api.Logging -{ - /// - /// - /// - public enum LoggingEventType - { - /// - /// The debug - /// - Debug, - /// - /// The information - /// - Information, - /// - /// The warning - /// - Warning, - /// - /// The error - /// - Error, - /// - /// The fatal - /// - Fatal - }; -} \ No newline at end of file diff --git a/src/redmine-net-api/Logging/MicrosoftLoggerRedmineAdapter.cs b/src/redmine-net-api/Logging/MicrosoftLoggerRedmineAdapter.cs new file mode 100644 index 00000000..1ac86ef6 --- /dev/null +++ b/src/redmine-net-api/Logging/MicrosoftLoggerRedmineAdapter.cs @@ -0,0 +1,92 @@ +#if NET462_OR_GREATER || NETCOREAPP +using System; +using System.Collections.Generic; + +namespace Redmine.Net.Api.Logging; + +/// +/// Adapter that converts Microsoft.Extensions.Logging.ILogger to IRedmineLogger +/// +public class MicrosoftLoggerRedmineAdapter : IRedmineLogger +{ + private readonly Microsoft.Extensions.Logging.ILogger _microsoftLogger; + + /// + /// Creates a new adapter for Microsoft.Extensions.Logging.ILogger + /// + /// The Microsoft logger to adapt + /// Thrown if microsoftLogger is null + public MicrosoftLoggerRedmineAdapter(Microsoft.Extensions.Logging.ILogger microsoftLogger) + { + _microsoftLogger = microsoftLogger ?? throw new ArgumentNullException(nameof(microsoftLogger)); + } + + /// + /// Checks if logging is enabled for the specified level + /// + public bool IsEnabled(LogLevel level) + { + return _microsoftLogger.IsEnabled(ToMicrosoftLogLevel(level)); + } + + /// + /// Logs a message with the specified level + /// + public void Log(LogLevel level, string message, Exception exception = null) + { + _microsoftLogger.Log( + ToMicrosoftLogLevel(level), + 0, // eventId + message, + exception, + (s, e) => s); + } + + /// + /// Creates a scoped logger with additional context + /// + public IRedmineLogger CreateScope(string scopeName, IDictionary scopeProperties = null) + { + var scopeData = new Dictionary + { + ["ScopeName"] = scopeName + }; + + // Add additional properties if provided + if (scopeProperties != null) + { + foreach (var prop in scopeProperties) + { + scopeData[prop.Key] = prop.Value; + } + } + + // Create a single scope with all properties + var disposableScope = _microsoftLogger.BeginScope(scopeData); + + // Return a new adapter that will close the scope when disposed + return new ScopedMicrosoftLoggerAdapter(_microsoftLogger, disposableScope); + } + + private class ScopedMicrosoftLoggerAdapter(Microsoft.Extensions.Logging.ILogger logger, IDisposable scope) + : MicrosoftLoggerRedmineAdapter(logger), IDisposable + { + public void Dispose() + { + scope?.Dispose(); + } + } + + + private static Microsoft.Extensions.Logging.LogLevel ToMicrosoftLogLevel(LogLevel level) => level switch + { + LogLevel.Trace => Microsoft.Extensions.Logging.LogLevel.Trace, + LogLevel.Debug => Microsoft.Extensions.Logging.LogLevel.Debug, + LogLevel.Information => Microsoft.Extensions.Logging.LogLevel.Information, + LogLevel.Warning => Microsoft.Extensions.Logging.LogLevel.Warning, + LogLevel.Error => Microsoft.Extensions.Logging.LogLevel.Error, + LogLevel.Critical => Microsoft.Extensions.Logging.LogLevel.Critical, + _ => Microsoft.Extensions.Logging.LogLevel.Information + }; +} +#endif diff --git a/src/redmine-net-api/Logging/RedmineConsoleLogger.cs b/src/redmine-net-api/Logging/RedmineConsoleLogger.cs new file mode 100644 index 00000000..23b03cea --- /dev/null +++ b/src/redmine-net-api/Logging/RedmineConsoleLogger.cs @@ -0,0 +1,69 @@ +using System; +using System.Collections.Generic; + +namespace Redmine.Net.Api.Logging; + +/// +/// +/// +/// +/// +/// +/// +/// +public class RedmineConsoleLogger(string categoryName = "Redmine", LogLevel minLevel = LogLevel.Information) : IRedmineLogger +{ + /// + /// + /// + /// + /// + public bool IsEnabled(LogLevel level) => level >= minLevel; + + /// + /// + /// + /// + /// + /// + public void Log(LogLevel level, string message, Exception exception = null) + { + if (!IsEnabled(level)) + { + return; + } + + // var originalColor = Console.ForegroundColor; + // + // Console.ForegroundColor = level switch + // { + // LogLevel.Trace => ConsoleColor.Gray, + // LogLevel.Debug => ConsoleColor.Gray, + // LogLevel.Information => ConsoleColor.White, + // LogLevel.Warning => ConsoleColor.Yellow, + // LogLevel.Error => ConsoleColor.Red, + // LogLevel.Critical => ConsoleColor.Red, + // _ => ConsoleColor.White + // }; + + Console.WriteLine($"[{DateTime.Now:yyyy-MM-dd HH:mm:ss}] [{level}] [{categoryName}] {message}"); + + if (exception != null) + { + Console.WriteLine($"Exception: {exception}"); + } + + // Console.ForegroundColor = originalColor; + } + + /// + /// + /// + /// + /// + /// + public IRedmineLogger CreateScope(string scopeName, IDictionary scopeProperties = null) + { + return new RedmineConsoleLogger($"{categoryName}.{scopeName}", minLevel); + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Logging/RedmineConsoleTraceListener.cs b/src/redmine-net-api/Logging/RedmineConsoleTraceListener.cs deleted file mode 100644 index 531f4371..00000000 --- a/src/redmine-net-api/Logging/RedmineConsoleTraceListener.cs +++ /dev/null @@ -1,86 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Diagnostics; - -namespace Redmine.Net.Api.Logging -{ - /// - /// - /// - public sealed class RedmineConsoleTraceListener : TraceListener - { - #region implemented abstract members of TraceListener - - /// - /// When overridden in a derived class, writes the specified message to the listener you create in the derived class. - /// - /// A message to write. - public override void Write (string message) - { - Console.Write(message); - } - - /// - /// When overridden in a derived class, writes a message to the listener you create in the derived class, followed by a line terminator. - /// - /// A message to write. - public override void WriteLine (string message) - { - Console.WriteLine(message); - } - - #endregion - - /// - /// Writes trace information, a message, and event information to the listener specific output. - /// - /// A object that contains the current process ID, thread ID, and stack trace information. - /// A name used to identify the output, typically the name of the application that generated the trace event. - /// One of the values specifying the type of event that has caused the trace. - /// A numeric identifier for the event. - /// A message to write. - /// - /// - /// - /// - public override void TraceEvent(TraceEventCache eventCache, string source, TraceEventType eventType, int id, - string message) - { - WriteLine(message); - } - - /// - /// Writes trace information, a formatted array of objects and event information to the listener specific output. - /// - /// A object that contains the current process ID, thread ID, and stack trace information. - /// A name used to identify the output, typically the name of the application that generated the trace event. - /// One of the values specifying the type of event that has caused the trace. - /// A numeric identifier for the event. - /// A format string that contains zero or more format items, which correspond to objects in the array. - /// An object array containing zero or more objects to format. - /// - /// - /// - /// - public override void TraceEvent(TraceEventCache eventCache, string source, TraceEventType eventType, int id, - string format, params object[] args) - { - WriteLine(string.Format(format, args)); - } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Logging/RedmineLoggerExtensions.cs b/src/redmine-net-api/Logging/RedmineLoggerExtensions.cs new file mode 100644 index 00000000..39012412 --- /dev/null +++ b/src/redmine-net-api/Logging/RedmineLoggerExtensions.cs @@ -0,0 +1,108 @@ +using System; +using System.Diagnostics; +#if !(NET20 || NET40) +using System.Threading.Tasks; +#endif +namespace Redmine.Net.Api.Logging; + +/// +/// +/// +public static class RedmineLoggerExtensions +{ + /// + /// + /// + /// + /// + /// + public static void Trace(this IRedmineLogger logger, string message, Exception exception = null) + => logger.Log(LogLevel.Trace, message, exception); + + /// + /// + /// + /// + /// + /// + public static void Debug(this IRedmineLogger logger, string message, Exception exception = null) + => logger.Log(LogLevel.Debug, message, exception); + + /// + /// + /// + /// + /// + /// + public static void Info(this IRedmineLogger logger, string message, Exception exception = null) + => logger.Log(LogLevel.Information, message, exception); + + /// + /// + /// + /// + /// + /// + public static void Warn(this IRedmineLogger logger, string message, Exception exception = null) + => logger.Log(LogLevel.Warning, message, exception); + + /// + /// + /// + /// + /// + /// + public static void Error(this IRedmineLogger logger, string message, Exception exception = null) + => logger.Log(LogLevel.Error, message, exception); + + /// + /// + /// + /// + /// + /// + public static void Critical(this IRedmineLogger logger, string message, Exception exception = null) + => logger.Log(LogLevel.Critical, message, exception); + +#if !(NET20 || NET40) + /// + /// Creates and logs timing information for an operation + /// + public static async Task TimeOperationAsync(this IRedmineLogger logger, string operationName, Func> operation) + { + if (!logger.IsEnabled(LogLevel.Debug)) + return await operation().ConfigureAwait(false); + + var sw = Stopwatch.StartNew(); + try + { + return await operation().ConfigureAwait(false); + } + finally + { + sw.Stop(); + logger.Debug($"Operation '{operationName}' completed in {sw.ElapsedMilliseconds}ms"); + } + } + #endif + + /// + /// Creates and logs timing information for an operation + /// + public static T TimeOperationAsync(this IRedmineLogger logger, string operationName, Func operation) + { + if (!logger.IsEnabled(LogLevel.Debug)) + return operation(); + + var sw = Stopwatch.StartNew(); + try + { + return operation(); + } + finally + { + sw.Stop(); + logger.Debug($"Operation '{operationName}' completed in {sw.ElapsedMilliseconds}ms"); + } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Logging/RedmineLoggerFactory.cs b/src/redmine-net-api/Logging/RedmineLoggerFactory.cs new file mode 100644 index 00000000..9b2dddff --- /dev/null +++ b/src/redmine-net-api/Logging/RedmineLoggerFactory.cs @@ -0,0 +1,75 @@ +#if NET462_OR_GREATER || NETCOREAPP +namespace Redmine.Net.Api.Logging; + +/// +/// +/// +public static class RedmineLoggerFactory +{ + /// + /// + /// + /// + /// + /// + public static Microsoft.Extensions.Logging.ILogger CreateMicrosoftLoggerAdapter(IRedmineLogger redmineLogger, + string categoryName = "Redmine") + { + if (redmineLogger == null || redmineLogger == RedmineNullLogger.Instance) + { + return Microsoft.Extensions.Logging.Abstractions.NullLogger.Instance; + } + + return new RedmineLoggerMicrosoftAdapter(redmineLogger, categoryName); + } + + /// + /// Creates an adapter that exposes a Microsoft.Extensions.Logging.ILogger as IRedmineLogger + /// + /// The Microsoft logger to adapt + /// A Redmine logger implementation + public static IRedmineLogger CreateMicrosoftLogger(Microsoft.Extensions.Logging.ILogger microsoftLogger) + { + return microsoftLogger != null + ? new MicrosoftLoggerRedmineAdapter(microsoftLogger) + : RedmineNullLogger.Instance; + } + + /// + /// Creates a logger that writes to the console + /// + public static IRedmineLogger CreateConsoleLogger(LogLevel minLevel = LogLevel.Information) + { + return new RedmineConsoleLogger(minLevel: minLevel); + } + + // /// + // /// Creates an adapter for Serilog + // /// + // public static IRedmineLogger CreateSerilogAdapter(Serilog.ILogger logger) + // { + // if (logger == null) return NullRedmineLogger.Instance; + // return new SerilogAdapter(logger); + // } + // + // /// + // /// Creates an adapter for NLog + // /// + // public static IRedmineLogger CreateNLogAdapter(NLog.ILogger logger) + // { + // if (logger == null) return NullRedmineLogger.Instance; + // return new NLogAdapter(logger); + // } + // + // /// + // /// Creates an adapter for log4net + // /// + // public static IRedmineLogger CreateLog4NetAdapter(log4net.ILog logger) + // { + // if (logger == null) return NullRedmineLogger.Instance; + // return new Log4NetAdapter(logger); + // } +} + + +#endif \ No newline at end of file diff --git a/src/redmine-net-api/Logging/RedmineLoggerMicrosoftAdapter.cs b/src/redmine-net-api/Logging/RedmineLoggerMicrosoftAdapter.cs new file mode 100644 index 00000000..56d152f9 --- /dev/null +++ b/src/redmine-net-api/Logging/RedmineLoggerMicrosoftAdapter.cs @@ -0,0 +1,97 @@ +#if NET462_OR_GREATER || NETCOREAPP +using System; +using System.Collections.Generic; + +namespace Redmine.Net.Api.Logging; + +/// +/// +/// +public class RedmineLoggerMicrosoftAdapter : Microsoft.Extensions.Logging.ILogger +{ + private readonly IRedmineLogger _redmineLogger; + private readonly string _categoryName; + + /// + /// + /// + /// + /// + /// + public RedmineLoggerMicrosoftAdapter(IRedmineLogger redmineLogger, string categoryName = "Redmine.Net.Api") + { + _redmineLogger = redmineLogger ?? throw new ArgumentNullException(nameof(redmineLogger)); + _categoryName = categoryName; + } + + /// + /// + /// + /// + /// + /// + public IDisposable BeginScope(TState state) + { + if (state is IDictionary dict) + { + _redmineLogger.CreateScope("Scope", dict); + } + else + { + var scopeName = state?.ToString() ?? "Scope"; + _redmineLogger.CreateScope(scopeName); + } + + return new NoOpDisposable(); + } + + /// + /// + /// + /// + /// + public bool IsEnabled(Microsoft.Extensions.Logging.LogLevel logLevel) + { + return _redmineLogger.IsEnabled(ToRedmineLogLevel(logLevel)); + } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + public void Log( + Microsoft.Extensions.Logging.LogLevel logLevel, + Microsoft.Extensions.Logging.EventId eventId, + TState state, + Exception exception, + Func formatter) + { + if (!IsEnabled(logLevel)) + return; + + var message = formatter(state, exception); + _redmineLogger.Log(ToRedmineLogLevel(logLevel), message, exception); + } + + private static LogLevel ToRedmineLogLevel(Microsoft.Extensions.Logging.LogLevel level) => level switch + { + Microsoft.Extensions.Logging.LogLevel.Trace => LogLevel.Trace, + Microsoft.Extensions.Logging.LogLevel.Debug => LogLevel.Debug, + Microsoft.Extensions.Logging.LogLevel.Information => LogLevel.Information, + Microsoft.Extensions.Logging.LogLevel.Warning => LogLevel.Warning, + Microsoft.Extensions.Logging.LogLevel.Error => LogLevel.Error, + Microsoft.Extensions.Logging.LogLevel.Critical => LogLevel.Critical, + _ => LogLevel.Information + }; + + private class NoOpDisposable : IDisposable + { + public void Dispose() { } + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api/Logging/RedmineLoggingOptions.cs b/src/redmine-net-api/Logging/RedmineLoggingOptions.cs new file mode 100644 index 00000000..5ff0653a --- /dev/null +++ b/src/redmine-net-api/Logging/RedmineLoggingOptions.cs @@ -0,0 +1,27 @@ +namespace Redmine.Net.Api.Logging; + +/// +/// Options for configuring Redmine logging +/// +public sealed class RedmineLoggingOptions +{ + /// + /// Gets or sets the minimum log level + /// + public LogLevel MinimumLevel { get; set; } = LogLevel.Information; + + /// + /// Gets or sets whether detailed API request/response logging is enabled + /// + public bool EnableVerboseLogging { get; set; } + + /// + /// Gets or sets whether to include HTTP request/response details in logs + /// + public bool IncludeHttpDetails { get; set; } + + /// + /// Gets or sets whether performance metrics should be logged + /// + public bool LogPerformanceMetrics { get; set; } +} \ No newline at end of file diff --git a/src/redmine-net-api/Logging/RedmineNullLogger.cs b/src/redmine-net-api/Logging/RedmineNullLogger.cs new file mode 100644 index 00000000..0d47ab1d --- /dev/null +++ b/src/redmine-net-api/Logging/RedmineNullLogger.cs @@ -0,0 +1,40 @@ +using System; +using System.Collections.Generic; + +namespace Redmine.Net.Api.Logging; + +/// +/// +/// +public class RedmineNullLogger : IRedmineLogger +{ + /// + /// + /// + public static readonly RedmineNullLogger Instance = new RedmineNullLogger(); + + private RedmineNullLogger() { } + + /// + /// + /// + /// + /// + public bool IsEnabled(LogLevel level) => false; + + /// + /// + /// + /// + /// + /// + public void Log(LogLevel level, string message, Exception exception = null) { } + + /// + /// + /// + /// + /// + /// + public IRedmineLogger CreateScope(string scopeName, IDictionary scopeProperties = null) => this; +} \ No newline at end of file diff --git a/src/redmine-net-api/Logging/TraceLogger.cs b/src/redmine-net-api/Logging/TraceLogger.cs deleted file mode 100644 index 324252dc..00000000 --- a/src/redmine-net-api/Logging/TraceLogger.cs +++ /dev/null @@ -1,56 +0,0 @@ -/* - Copyright 2011 - 2019 Adrian Popescu. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Diagnostics; - -namespace Redmine.Net.Api.Logging -{ - /// - /// - /// - public sealed class TraceLogger : ILogger - { - /// - /// Logs the specified entry. - /// - /// The entry. - /// - public void Log(LogEntry entry) - { - switch (entry.Severity) - { - case LoggingEventType.Debug: - Trace.WriteLine(entry.Message, "Debug"); - break; - case LoggingEventType.Information: - Trace.TraceInformation(entry.Message); - break; - case LoggingEventType.Warning: - Trace.TraceWarning(entry.Message); - break; - case LoggingEventType.Error: - Trace.TraceError(entry.Message); - break; - case LoggingEventType.Fatal: - Trace.WriteLine(entry.Message, "Fatal"); - break; - default: - throw new ArgumentOutOfRangeException(); - } - } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManagerOptions.cs b/src/redmine-net-api/RedmineManagerOptions.cs index 3801922b..d8acf1c8 100644 --- a/src/redmine-net-api/RedmineManagerOptions.cs +++ b/src/redmine-net-api/RedmineManagerOptions.cs @@ -17,7 +17,7 @@ limitations under the License. using System; using System.Net; using Redmine.Net.Api.Authentication; -using Redmine.Net.Api.Net; +using Redmine.Net.Api.Logging; using Redmine.Net.Api.Net.WebClient; using Redmine.Net.Api.Serialization; @@ -69,5 +69,12 @@ internal sealed class RedmineManagerOptions public Version RedmineVersion { get; init; } internal bool VerifyServerCert { get; init; } + + public IRedmineLogger Logger { get; init; } + + /// + /// Gets or sets additional logging configuration options + /// + public RedmineLoggingOptions LoggingOptions { get; init; } = new RedmineLoggingOptions(); } } \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs index 3b3c9f3d..114424a5 100644 --- a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs +++ b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs @@ -16,9 +16,12 @@ limitations under the License. using System; using System.Net; +#if NET462_OR_GREATER || NETCOREAPP +using Microsoft.Extensions.Logging; +#endif using Redmine.Net.Api.Authentication; using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Logging; using Redmine.Net.Api.Net; using Redmine.Net.Api.Net.WebClient; using Redmine.Net.Api.Serialization; @@ -30,6 +33,9 @@ namespace Redmine.Net.Api /// public sealed class RedmineManagerOptionsBuilder { + private IRedmineLogger _redmineLogger = RedmineNullLogger.Instance; + private Action _configureLoggingOptions; + private enum ClientType { WebClient, @@ -190,6 +196,32 @@ public RedmineManagerOptionsBuilder WithVersion(Version version) return this; } + /// + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithLogger(IRedmineLogger logger, Action configure = null) + { + _redmineLogger = logger ?? RedmineNullLogger.Instance; + _configureLoggingOptions = configure; + return this; + } +#if NET462_OR_GREATER || NETCOREAPP + /// + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithLogger(ILogger logger, Action configure = null) + { + _redmineLogger = new MicrosoftLoggerRedmineAdapter(logger); + _configureLoggingOptions = configure; + return this; + } +#endif /// /// Gets or sets the version of the Redmine server to which this client will connect. /// @@ -239,6 +271,12 @@ internal RedmineManagerOptions Build() #endif var baseAddress = CreateRedmineUri(Host, WebClientOptions.Scheme); + RedmineLoggingOptions redmineLoggingOptions = null; + if (_configureLoggingOptions != null) + { + redmineLoggingOptions = new RedmineLoggingOptions(); + _configureLoggingOptions(redmineLoggingOptions); + } var options = new RedmineManagerOptions() { @@ -249,6 +287,8 @@ internal RedmineManagerOptions Build() RedmineVersion = Version, Authentication = Authentication ?? new RedmineNoAuthentication(), WebClientOptions = WebClientOptions + Logger = _redmineLogger, + LoggingOptions = redmineLoggingOptions, }; return options; diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 81743a04..b7aa954b 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -3,6 +3,7 @@ |net20|net40| + |net20|net40|net45|net451|net452|net46|net461| @@ -91,7 +92,7 @@ - + @@ -105,11 +106,7 @@ - - - - redmine-net-api.snk From 52414f6d70bdb7d40aba91932c5342391e4467f2 Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 22 May 2025 22:54:08 +0300 Subject: [PATCH 573/601] [New] Integration ProgressTests --- .../Tests/Progress/ProgressTests.Async.cs | 59 ++++++++++ .../Tests/Progress/ProgressTests.cs | 57 +++++++++ .../Tests/ProgressTests.cs | 109 ------------------ .../Tests/ProgressTestsAsync.cs | 9 -- 4 files changed, 116 insertions(+), 118 deletions(-) create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.Async.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/ProgressTests.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/ProgressTestsAsync.cs diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.Async.cs b/tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.Async.cs new file mode 100644 index 00000000..be6fc659 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.Async.cs @@ -0,0 +1,59 @@ +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests; + +public partial class ProgressTests +{ + [Fact] + public async Task DownloadFileAsync_ReportsProgress() + { + // Arrange + var progressTracker = new ProgressTracker(); + + // Act + var result = await fixture.RedmineManager.DownloadFileAsync( + TEST_DOWNLOAD_URL, + null, + progressTracker, + CancellationToken.None); + + // Assert + Assert.NotNull(result); + Assert.True(result.Length > 0, "Downloaded content should not be empty"); + + AssertProgressWasReported(progressTracker); + } + + [Fact] + public async Task DownloadFileAsync_WithCancellation_StopsDownload() + { + // Arrange + var progressTracker = new ProgressTracker(); + var cts = new CancellationTokenSource(); + + try + { + progressTracker.OnProgressReported += (sender, args) => + { + if (args.Value > 0 && !cts.IsCancellationRequested) + { + cts.Cancel(); + } + }; + + // Act & Assert + await Assert.ThrowsAnyAsync(async () => + { + await fixture.RedmineManager.DownloadFileAsync( + TEST_DOWNLOAD_URL, + null, + progressTracker, + cts.Token); + }); + + Assert.True(progressTracker.ReportCount > 0, "Progress should have been reported at least once"); + } + finally + { + cts.Dispose(); + } + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.cs new file mode 100644 index 00000000..1f0d2bcc --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.cs @@ -0,0 +1,57 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests; + +[Collection(Constants.RedmineTestContainerCollection)] +public partial class ProgressTests(RedmineTestContainerFixture fixture) +{ + private const string TEST_DOWNLOAD_URL = "attachments/download/86/Manual_de_control_fiscal_versiune%20finala_RO_24_07_2023.pdf"; + + [Fact] + public void DownloadFile_Sync_ReportsProgress() + { + // Arrange + var progressTracker = new ProgressTracker(); + + // Act + var result = fixture.RedmineManager.DownloadFile(TEST_DOWNLOAD_URL, progressTracker); + + // Assert + Assert.NotNull(result); + Assert.True(result.Length > 0, "Downloaded content should not be empty"); + + AssertProgressWasReported(progressTracker); + } + + private static void AssertProgressWasReported(ProgressTracker tracker) + { + Assert.True(tracker.ReportCount > 0, "Progress should have been reported at least once"); + + Assert.Contains(100, tracker.ProgressValues); + + for (var i = 0; i < tracker.ProgressValues.Count - 1; i++) + { + Assert.True(tracker.ProgressValues[i] <= tracker.ProgressValues[i + 1], + $"Progress should not decrease: {tracker.ProgressValues[i]} -> {tracker.ProgressValues[i + 1]}"); + } + } + + private sealed class ProgressTracker : IProgress + { + public List ProgressValues { get; } = []; + public int ReportCount => ProgressValues.Count; + + public event EventHandler OnProgressReported; + + public void Report(int value) + { + ProgressValues.Add(value); + OnProgressReported?.Invoke(this, new ProgressReportedEventArgs(value)); + } + + public sealed class ProgressReportedEventArgs(int value) : EventArgs + { + public int Value { get; } = value; + } + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/ProgressTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/ProgressTests.cs deleted file mode 100644 index 2c7547cb..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/ProgressTests.cs +++ /dev/null @@ -1,109 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests; - -[Collection(Constants.RedmineTestContainerCollection)] -public class ProgressTests(RedmineTestContainerFixture fixture) -{ - private const string TestDownloadUrl = "attachments/download/123"; - - [Fact] - public void DownloadFile_Sync_ReportsProgress() - { - // Arrange - var progressTracker = new ProgressTracker(); - - // Act - var result = fixture.RedmineManager.DownloadFile( - TestDownloadUrl, - progressTracker); - - // Assert - Assert.NotNull(result); - Assert.True(result.Length > 0, "Downloaded content should not be empty"); - - AssertProgressWasReported(progressTracker); - } - - [Fact] - public async Task DownloadFileAsync_ReportsProgress() - { - // Arrange - var progressTracker = new ProgressTracker(); - - // Act - var result = await fixture.RedmineManager.DownloadFileAsync( - TestDownloadUrl, - null, // No custom request options - progressTracker, - CancellationToken.None); - - // Assert - Assert.NotNull(result); - Assert.True(result.Length > 0, "Downloaded content should not be empty"); - - // Verify progress reporting - AssertProgressWasReported(progressTracker); - } - - [Fact] - public async Task DownloadFileAsync_WithCancellation_StopsDownload() - { - // Arrange - var progressTracker = new ProgressTracker(); - using var cts = new CancellationTokenSource(); - - progressTracker.OnProgressReported += (sender, args) => - { - if (args.Value > 0 && !cts.IsCancellationRequested) - { - cts.Cancel(); - } - }; - - // Act & Assert - await Assert.ThrowsAnyAsync(async () => - { - await fixture.RedmineManager.DownloadFileAsync( - TestDownloadUrl, - null, - progressTracker, - cts.Token); - }); - - // Should have received at least one progress report - Assert.True(progressTracker.ReportCount > 0, "Progress should have been reported at least once"); - } - - private static void AssertProgressWasReported(ProgressTracker tracker) - { - Assert.True(tracker.ReportCount > 0, "Progress should have been reported at least once"); - - Assert.Contains(100, tracker.ProgressValues); - - for (var i = 0; i < tracker.ProgressValues.Count - 1; i++) - { - Assert.True(tracker.ProgressValues[i] <= tracker.ProgressValues[i + 1], - $"Progress should not decrease: {tracker.ProgressValues[i]} -> {tracker.ProgressValues[i + 1]}"); - } - } - - private class ProgressTracker : IProgress - { - public List ProgressValues { get; } = []; - public int ReportCount => ProgressValues.Count; - - public event EventHandler OnProgressReported; - - public void Report(int value) - { - ProgressValues.Add(value); - OnProgressReported?.Invoke(this, new ProgressReportedEventArgs(value)); - } - - public class ProgressReportedEventArgs(int value) : EventArgs - { - public int Value { get; } = value; - } - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/ProgressTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/ProgressTestsAsync.cs deleted file mode 100644 index 14c0d767..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/ProgressTestsAsync.cs +++ /dev/null @@ -1,9 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests; - -[Collection(Constants.RedmineTestContainerCollection)] -public class ProgressTestsAsync(RedmineTestContainerFixture fixture) -{ - -} \ No newline at end of file From 4023ad35a6eff9043f9aac8f0ff4f0cd2608d4a7 Mon Sep 17 00:00:00 2001 From: Padi Date: Fri, 23 May 2025 09:39:14 +0300 Subject: [PATCH 574/601] Add GetMyAccountAssync --- .../Extensions/RedmineManagerExtensions.cs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index 0cf9ccf2..c5d71390 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -673,7 +673,6 @@ public static async Task> GetProjectFilesAsync(this RedmineMa return response.DeserializeToPagedResults(redmineManager.Serializer); } - /// /// @@ -718,6 +717,22 @@ public static async Task GetCurrentUserAsync(this RedmineManager redmineMa return response.DeserializeTo(redmineManager.Serializer); } + /// + /// Retrieves the account details of the currently authenticated user. + /// + /// The instance of the RedmineManager used to perform the API call. + /// Optional configuration for the API request. + /// + /// Returns the account details of the authenticated user as a MyAccount object. + public static async Task GetMyAccountAsync(this RedmineManager redmineManager, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + var uri = redmineManager.RedmineApiUrls.MyAccount(); + + var response = await redmineManager.ApiClient.GetAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); + + return response.DeserializeTo(redmineManager.Serializer); + } + /// /// Creates or updates wiki page asynchronous. /// From fda48dac60860134c50c5ded62e3a3ea3569d14e Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 16:24:41 +0300 Subject: [PATCH 575/601] Bump up redmine and postgres version --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6e7274ac..4cb6caf7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: ports: - '8089:3000' image: 'redmine:6.0.5-alpine' - container_name: 'redmine-web' + container_name: 'redmine-web605' depends_on: - db-postgres # healthcheck: @@ -32,8 +32,8 @@ services: POSTGRES_DB: redmine POSTGRES_USER: redmine-usr POSTGRES_PASSWORD: redmine-pswd - container_name: 'redmine-db' - image: 'postgres:17.4-alpine' + container_name: 'redmine-db175' + image: 'postgres:17.5-alpine' healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 20s From 333e06f8b2e5dacf035f3598227f243398467a56 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 16:23:30 +0300 Subject: [PATCH 576/601] Remove obsolete files --- .../RedmineManagerAsyncExtensions.Obsolete.cs | 350 ---------- .../Extensions/RedmineManagerExtensions.cs | 22 - .../IRedmineManager.Obsolete.cs | 306 --------- .../WebClient/IRedmineWebClient.Obsolete.cs | 90 --- .../WebClient/RedmineWebClient.Obsolete.cs | 261 -------- .../RedmineManager.Obsolete.cs | 617 ------------------ src/redmine-net-api/RedmineManager.cs | 35 +- .../Serialization/MimeFormatObsolete.cs | 35 - src/redmine-net-api/Types/Project.cs | 12 - .../_net20/RedmineManagerAsyncObsolete.cs | 324 --------- 10 files changed, 17 insertions(+), 2035 deletions(-) delete mode 100644 src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.Obsolete.cs delete mode 100644 src/redmine-net-api/IRedmineManager.Obsolete.cs delete mode 100644 src/redmine-net-api/Net/WebClient/IRedmineWebClient.Obsolete.cs delete mode 100644 src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs delete mode 100644 src/redmine-net-api/RedmineManager.Obsolete.cs delete mode 100755 src/redmine-net-api/Serialization/MimeFormatObsolete.cs delete mode 100644 src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs diff --git a/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.Obsolete.cs b/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.Obsolete.cs deleted file mode 100644 index c6a1373a..00000000 --- a/src/redmine-net-api/Extensions/RedmineManagerAsyncExtensions.Obsolete.cs +++ /dev/null @@ -1,350 +0,0 @@ -/* -Copyright 2011 - 2025 Adrian Popescu - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -#if !(NET20) - -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Threading; -using System.Threading.Tasks; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Serialization; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.Async -{ - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use RedmineManger async methods instead.")] - public static class RedmineManagerAsyncExtensions - { - /// - /// Gets the current user asynchronous. - /// - /// The redmine manager. - /// The parameters. - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] - public static async Task GetCurrentUserAsync(this RedmineManager redmineManager, NameValueCollection parameters = null, string impersonateUserName = null, CancellationToken cancellationToken = default) - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - return await redmineManager.GetCurrentUserAsync(requestOptions, cancellationToken).ConfigureAwait(false); - } - - /// - /// Creates the or update wiki page asynchronous. - /// - /// The redmine manager. - /// The project identifier. - /// Name of the page. - /// The wiki page. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] - public static async Task CreateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - - return await redmineManager.CreateWikiPageAsync(projectId, pageName, wikiPage, requestOptions).ConfigureAwait(false); - } - - /// - /// Creates or updates wiki page asynchronous. - /// - /// The redmine manager. - /// The project identifier. - /// Name of the page. - /// The wiki page. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] - public static async Task UpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName, WikiPage wikiPage) - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - await redmineManager.UpdateWikiPageAsync(projectId, pageName, wikiPage, requestOptions).ConfigureAwait(false); - } - - /// - /// Deletes the wiki page asynchronous. - /// - /// The redmine manager. - /// The project identifier. - /// Name of the page. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] - public static async Task DeleteWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName) - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - await redmineManager.DeleteWikiPageAsync(projectId, pageName, requestOptions).ConfigureAwait(false); - } - - /// - /// Support for adding attachments through the REST API is added in Redmine 1.4.0. - /// Upload a file to the server. This method does not block the calling thread. - /// - /// The redmine manager. - /// The content of the file that will be uploaded on server. - /// - /// . - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] - public static async Task UploadFileAsync(this RedmineManager redmineManager, byte[] data) - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - return await redmineManager.UploadFileAsync(data, null, requestOptions).ConfigureAwait(false); - } - - /// - /// Downloads the file asynchronous. - /// - /// The redmine manager. - /// The address. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] - public static async Task DownloadFileAsync(this RedmineManager redmineManager, string address) - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - - return await redmineManager.DownloadFileAsync(address, requestOptions).ConfigureAwait(false); - } - - /// - /// Gets the wiki page asynchronous. - /// - /// The redmine manager. - /// The project identifier. - /// The parameters. - /// Name of the page. - /// The version. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] - public static async Task GetWikiPageAsync(this RedmineManager redmineManager, string projectId, NameValueCollection parameters, string pageName, uint version = 0) - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); - return await redmineManager.GetWikiPageAsync(projectId, pageName, requestOptions, version).ConfigureAwait(false); - } - - /// - /// Gets all wiki pages asynchronous. - /// - /// The redmine manager. - /// The parameters. - /// The project identifier. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] - public static async Task> GetAllWikiPagesAsync(this RedmineManager redmineManager, NameValueCollection parameters, string projectId) - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); - return await redmineManager.GetAllWikiPagesAsync(projectId, requestOptions).ConfigureAwait(false); - } - - /// - /// Adds an existing user to a group. This method does not block the calling thread. - /// - /// The redmine manager. - /// The group id. - /// The user id. - /// - /// Returns the Guid associated with the async request. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] - public static async Task AddUserToGroupAsync(this RedmineManager redmineManager, int groupId, int userId) - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - await redmineManager.AddUserToGroupAsync(groupId, userId, requestOptions).ConfigureAwait(false); - } - - /// - /// Removes an user from a group. This method does not block the calling thread. - /// - /// The redmine manager. - /// The group id. - /// The user id. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] - public static async Task RemoveUserFromGroupAsync(this RedmineManager redmineManager, int groupId, int userId) - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - await redmineManager.RemoveUserFromGroupAsync(groupId, userId, requestOptions).ConfigureAwait(false); - } - - /// - /// Adds the watcher asynchronous. - /// - /// The redmine manager. - /// The issue identifier. - /// The user identifier. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] - public static async Task AddWatcherToIssueAsync(this RedmineManager redmineManager, int issueId, int userId) - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - await redmineManager.AddWatcherToIssueAsync(issueId, userId, requestOptions).ConfigureAwait(false); - } - - /// - /// Removes the watcher asynchronous. - /// - /// The redmine manager. - /// The issue identifier. - /// The user identifier. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] - public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManager, int issueId, int userId) - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - await redmineManager.RemoveWatcherFromIssueAsync(issueId, userId, requestOptions).ConfigureAwait(false); - } - - /// - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use the extension with RequestOptions parameter instead.")] - public static async Task CountAsync(this RedmineManager redmineManager, params string[] include) where T : class, new() - { - return await redmineManager.CountAsync(null, CancellationToken.None).ConfigureAwait(false); - } - - /// - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use CountAsync method instead.")] - public static async Task CountAsync(this RedmineManager redmineManager, NameValueCollection parameters) where T : class, new() - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); - return await redmineManager.CountAsync(requestOptions).ConfigureAwait(false); - } - - - /// - /// Gets the paginated objects asynchronous. - /// - /// - /// The redmine manager. - /// The parameters. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use GetPagedAsync method instead.")] - public static async Task> GetPaginatedObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) - where T : class, new() - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); - return await redmineManager.GetPagedAsync(requestOptions).ConfigureAwait(false); - } - - /// - /// Gets the objects asynchronous. - /// - /// - /// The redmine manager. - /// The parameters. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use GetAsync method instead.")] - public static async Task> GetObjectsAsync(this RedmineManager redmineManager, NameValueCollection parameters) - where T : class, new() - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); - return await redmineManager.GetAsync(requestOptions).ConfigureAwait(false); - } - - /// - /// Gets a Redmine object. This method does not block the calling thread. - /// - /// The type of objects to retrieve. - /// The redmine manager. - /// The id of the object. - /// Optional filters and/or optional fetched data. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use GetAsync method instead.")] - public static async Task GetObjectAsync(this RedmineManager redmineManager, string id, NameValueCollection parameters) - where T : class, new() - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(parameters); - return await redmineManager.GetAsync(id, requestOptions).ConfigureAwait(false); - } - - /// - /// Creates a new Redmine object. This method does not block the calling thread. - /// - /// The type of object to create. - /// The redmine manager. - /// The object to create. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use CreateAsync method instead.")] - public static async Task CreateObjectAsync(this RedmineManager redmineManager, T entity) - where T : class, new() - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - return await redmineManager.CreateAsync(entity, null, requestOptions).ConfigureAwait(false); - } - - /// - /// Creates a new Redmine object. This method does not block the calling thread. - /// - /// The type of object to create. - /// The redmine manager. - /// The object to create. - /// The owner identifier. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use CreateAsync method instead.")] - public static async Task CreateObjectAsync(this RedmineManager redmineManager, T entity, string ownerId) - where T : class, new() - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - return await redmineManager.CreateAsync(entity, ownerId, requestOptions, CancellationToken.None).ConfigureAwait(false); - } - - /// - /// Updates the object asynchronous. - /// - /// - /// The redmine manager. - /// The identifier. - /// The object. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use UpdateAsync method instead.")] - public static async Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T entity) - where T : class, new() - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - await redmineManager.UpdateAsync(id, entity, requestOptions).ConfigureAwait(false); - } - - /// - /// Deletes the Redmine object. This method does not block the calling thread. - /// - /// The type of objects to delete. - /// The redmine manager. - /// The id of the object to delete - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use DeleteAsync method instead.")] - public static async Task DeleteObjectAsync(this RedmineManager redmineManager, string id) - where T : class, new() - { - var requestOptions = RedmineManagerExtensions.CreateRequestOptions(); - await redmineManager.DeleteAsync(id, requestOptions).ConfigureAwait(false); - } - } -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index c5d71390..915e3a77 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -912,27 +912,5 @@ public static async Task RemoveWatcherFromIssueAsync(this RedmineManager redmine await redmineManager.ApiClient.DeleteAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); } #endif - - internal static RequestOptions CreateRequestOptions(NameValueCollection parameters = null, string impersonateUserName = null) - { - RequestOptions requestOptions = null; - if (parameters != null) - { - requestOptions = new RequestOptions() - { - QueryString = parameters - }; - } - - if (impersonateUserName.IsNullOrWhiteSpace()) - { - return requestOptions; - } - - requestOptions ??= new RequestOptions(); - requestOptions.ImpersonateUser = impersonateUserName; - - return requestOptions; - } } } \ No newline at end of file diff --git a/src/redmine-net-api/IRedmineManager.Obsolete.cs b/src/redmine-net-api/IRedmineManager.Obsolete.cs deleted file mode 100644 index 028984a3..00000000 --- a/src/redmine-net-api/IRedmineManager.Obsolete.cs +++ /dev/null @@ -1,306 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Net; -using System.Net.Security; -using System.Security.Cryptography.X509Certificates; -using Redmine.Net.Api.Serialization; - -namespace Redmine.Net.Api.Types -{ - /// - /// - /// - public partial interface IRedmineManager - { - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - string Host { get; } - - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - string ApiKey { get; } - - /// - /// Maximum page-size when retrieving complete object lists - /// - /// By default, only 25 results can be retrieved per request. Maximum is 100. To change the maximum value set - /// in your Settings -> General, "Objects per page options".By adding (for instance) 9999 there would make you - /// able to get that many results per request. - /// - /// - /// - /// The size of the page. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - int PageSize { get; set; } - - /// - /// As of Redmine 2.2.0 you can impersonate user setting user login (e.g. jsmith). This only works when using the API - /// with an administrator account, this header will be ignored when using the API with a regular user account. - /// - /// - /// The impersonate user. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - string ImpersonateUser { get; set; } - - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - MimeFormat MimeFormat { get; } - - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - IWebProxy Proxy { get; } - - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - SecurityProtocolType SecurityProtocolType { get; } - - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'GetCurrentUser' extension instead")] - User GetCurrentUser(NameValueCollection parameters = null); - - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'AddUserToGroup' extension instead")] - void AddUserToGroup(int groupId, int userId); - - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'RemoveUserFromGroup' extension instead")] - void RemoveUserFromGroup(int groupId, int userId); - - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'AddWatcherToIssue' extension instead")] - void AddWatcherToIssue(int issueId, int userId); - - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'RemoveWatcherFromIssue' extension instead")] - void RemoveWatcherFromIssue(int issueId, int userId); - - /// - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'CreateWikiPage' extension instead")] - WikiPage CreateWikiPage(string projectId, string pageName, WikiPage wikiPage); - - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'UpdateWikiPage' extension instead")] - void UpdateWikiPage(string projectId, string pageName, WikiPage wikiPage); - - /// - /// - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'GetWikiPage' extension instead")] - WikiPage GetWikiPage(string projectId, NameValueCollection parameters, string pageName, uint version = 0); - - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'GetAllWikiPages' extension instead")] - List GetAllWikiPages(string projectId); - - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'DeleteWikiPage' extension instead")] - void DeleteWikiPage(string projectId, string pageName); - - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'UpdateAttachment' extension instead")] - void UpdateAttachment(int issueId, Attachment attachment); - - /// - /// - /// - /// query strings. enable to specify multiple values separated by a space " ". - /// number of results in response. - /// skip this number of results in response - /// Optional filters. - /// - /// Returns the search results by the specified condition parameters. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Search' extension instead")] - PagedResults Search(string q, int limit , int offset = 0, SearchFilterBuilder searchFilter = null); - - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'GetPaginated' method instead")] - PagedResults GetPaginatedObjects(NameValueCollection parameters) where T : class, new(); - - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Count' method instead")] - int Count(params string[] include) where T : class, new(); - - /// - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Get' method instead")] - T GetObject(string id, NameValueCollection parameters) where T : class, new(); - - /// - /// - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Get' method instead")] - List GetObjects(int limit, int offset, params string[] include) where T : class, new(); - - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Get' method instead")] - List GetObjects(params string[] include) where T : class, new(); - - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Get' method instead")] - List GetObjects(NameValueCollection parameters) where T : class, new(); - - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Create' method instead")] - T CreateObject(T entity) where T : class, new(); - /// - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Create' method instead")] - T CreateObject(T entity, string ownerId) where T : class, new(); - - /// - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Update' method instead")] - void UpdateObject(string id, T entity, string projectId = null) where T : class, new(); - - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use 'Delete' method instead")] - void DeleteObject(string id, NameValueCollection parameters = null) where T : class, new(); - - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - RedmineWebClient CreateWebClient(NameValueCollection parameters, bool uploadFile = false); - /// - /// - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors sslPolicyErrors); - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/IRedmineWebClient.Obsolete.cs b/src/redmine-net-api/Net/WebClient/IRedmineWebClient.Obsolete.cs deleted file mode 100644 index 3b7c1bd9..00000000 --- a/src/redmine-net-api/Net/WebClient/IRedmineWebClient.Obsolete.cs +++ /dev/null @@ -1,90 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Specialized; -using System.Net; -using System.Net.Cache; - -namespace Redmine.Net.Api.Types -{ - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public interface IRedmineWebClient - { - /// - /// - /// - string UserAgent { get; set; } - - /// - /// - /// - bool UseProxy { get; set; } - - /// - /// - /// - bool UseCookies { get; set; } - - /// - /// - /// - TimeSpan? Timeout { get; set; } - - /// - /// - /// - CookieContainer CookieContainer { get; set; } - - /// - /// - /// - bool PreAuthenticate { get; set; } - - /// - /// - /// - bool KeepAlive { get; set; } - - /// - /// - /// - NameValueCollection QueryString { get; } - - /// - /// - /// - bool UseDefaultCredentials { get; set; } - - /// - /// - /// - ICredentials Credentials { get; set; } - - /// - /// - /// - IWebProxy Proxy { get; set; } - - /// - /// - /// - RequestCachePolicy CachePolicy { get; set; } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs b/src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs deleted file mode 100644 index 90ab613e..00000000 --- a/src/redmine-net-api/Net/WebClient/RedmineWebClient.Obsolete.cs +++ /dev/null @@ -1,261 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Net; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Net.WebClient.Extensions; -using Redmine.Net.Api.Serialization; - -namespace Redmine.Net.Api -{ - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - #pragma warning disable SYSLIB0014 - public class RedmineWebClient : WebClient - { - private string redirectUrl = string.Empty; - - /// - /// - /// - public string UserAgent { get; set; } - - /// - /// Gets or sets a value indicating whether [use proxy]. - /// - /// - /// true if [use proxy]; otherwise, false. - /// - public bool UseProxy { get; set; } - - /// - /// Gets or sets a value indicating whether [use cookies]. - /// - /// - /// true if [use cookies]; otherwise, false. - /// - public bool UseCookies { get; set; } - - /// - /// in milliseconds - /// - /// - /// The timeout. - /// - public TimeSpan? Timeout { get; set; } - - /// - /// Gets or sets the cookie container. - /// - /// - /// The cookie container. - /// - public CookieContainer CookieContainer { get; set; } - - /// - /// Gets or sets a value indicating whether [pre authenticate]. - /// - /// - /// true if [pre authenticate]; otherwise, false. - /// - public bool PreAuthenticate { get; set; } - - /// - /// Gets or sets a value indicating whether [keep alive]. - /// - /// - /// true if [keep alive]; otherwise, false. - /// - public bool KeepAlive { get; set; } - - /// - /// - /// - public string Scheme { get; set; } = "https"; - - /// - /// - /// - public RedirectType Redirect { get; set; } - - /// - /// - /// - internal IRedmineSerializer RedmineSerializer { get; set; } - - /// - /// Returns a object for the specified resource. - /// - /// A that identifies the resource to request. - /// - /// A new object for the specified resource. - /// - protected override WebRequest GetWebRequest(Uri address) - { - var wr = base.GetWebRequest(address); - - if (!(wr is HttpWebRequest httpWebRequest)) - { - return base.GetWebRequest(address); - } - - httpWebRequest.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate | - DecompressionMethods.None; - - if (UseCookies) - { - httpWebRequest.Headers.Add(HttpRequestHeader.Cookie, "redmineCookie"); - httpWebRequest.CookieContainer = CookieContainer; - } - - httpWebRequest.KeepAlive = KeepAlive; - httpWebRequest.CachePolicy = CachePolicy; - - if (Timeout != null) - { - httpWebRequest.Timeout = (int)Timeout.Value.TotalMilliseconds; - } - - return httpWebRequest; - } - - /// - /// - /// - /// - /// - protected override WebResponse GetWebResponse(WebRequest request) - { - WebResponse response = null; - - try - { - response = base.GetWebResponse(request); - } - catch (WebException webException) - { - webException.HandleWebException(RedmineSerializer); - } - - switch (response) - { - case null: - return null; - case HttpWebResponse _: - HandleRedirect(request, response); - HandleCookies(request, response); - break; - } - - return response; - } - - /// - /// Handles redirect response if needed - /// - /// Request - /// Response - protected void HandleRedirect(WebRequest request, WebResponse response) - { - var webResponse = response as HttpWebResponse; - - if (Redirect == RedirectType.None) - { - return; - } - - if (webResponse == null) - { - return; - } - - var code = webResponse.StatusCode; - - if (code == HttpStatusCode.Found || code == HttpStatusCode.SeeOther || code == HttpStatusCode.MovedPermanently || code == HttpStatusCode.Moved) - { - redirectUrl = webResponse.Headers["Location"]; - - var isAbsoluteUri = new Uri(redirectUrl).IsAbsoluteUri; - - if (!isAbsoluteUri) - { - var webRequest = request as HttpWebRequest; - var host = webRequest?.Headers["Host"] ?? string.Empty; - - if (Redirect == RedirectType.All) - { - host = $"{host}{webRequest?.RequestUri.AbsolutePath}"; - - host = host.Substring(0, host.LastIndexOf('/')); - } - - // Have to make sure that the "/" symbol is between the "host" and "redirect" strings - #if NET5_0_OR_GREATER - if (!redirectUrl.StartsWith('/') && !host.EndsWith('/')) - #else - if (!redirectUrl.StartsWith("/", StringComparison.OrdinalIgnoreCase) && !host.EndsWith("/", StringComparison.OrdinalIgnoreCase)) - #endif - { - redirectUrl = $"/{redirectUrl}"; - } - - redirectUrl = $"{host}{redirectUrl}"; - } - - if (!redirectUrl.StartsWith(Scheme, StringComparison.OrdinalIgnoreCase)) - { - redirectUrl = $"{Scheme}://{redirectUrl}"; - } - } - else - { - redirectUrl = string.Empty; - } - } - - /// - /// Handles additional cookies - /// - /// Request - /// Response - protected void HandleCookies(WebRequest request, WebResponse response) - { - if (!(response is HttpWebResponse webResponse)) return; - - var webRequest = request as HttpWebRequest; - - if (webResponse.Cookies.Count <= 0) return; - - var col = new CookieCollection(); - - foreach (Cookie c in webResponse.Cookies) - { - col.Add(new Cookie(c.Name, c.Value, c.Path, webRequest?.Headers["Host"])); - } - - if (CookieContainer == null) - { - CookieContainer = new CookieContainer(); - } - - CookieContainer.Add(col); - } - } - #pragma warning restore SYSLIB0014 -} \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManager.Obsolete.cs b/src/redmine-net-api/RedmineManager.Obsolete.cs deleted file mode 100644 index 5927a39a..00000000 --- a/src/redmine-net-api/RedmineManager.Obsolete.cs +++ /dev/null @@ -1,617 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Net; -using System.Net.Security; -using System.Security.Cryptography.X509Certificates; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Net.WebClient; -using Redmine.Net.Api.Serialization; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api -{ - /// - /// The main class to access Redmine API. - /// - public partial class RedmineManager - { - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use RedmineConstants.DEFAULT_PAGE_SIZE")] - public const int DEFAULT_PAGE_SIZE_VALUE = 25; - - /// - /// Initializes a new instance of the class. - /// - /// The host. - /// The MIME format. - /// if set to true [verify server cert]. - /// The proxy. - /// Use this parameter to specify a SecurityProtocolType. - /// Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. - /// http or https. Default is https. - /// The webclient timeout. Default is 100 seconds. - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use RedmineManager(RedmineManagerOptionsBuilder")] - public RedmineManager(string host, MimeFormat mimeFormat = MimeFormat.Xml, bool verifyServerCert = true, - IWebProxy proxy = null, SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) - :this(new RedmineManagerOptionsBuilder() - .WithHost(host) - .WithSerializationType(mimeFormat) - .WithVerifyServerCert(verifyServerCert) - .WithWebClientOptions(new RedmineWebClientOptions() - { - Proxy = proxy, - Scheme = scheme, - Timeout = timeout, - SecurityProtocolType = securityProtocolType - }) - ) { } - - /// - /// Initializes a new instance of the class using your API key for authentication. - /// - /// - /// To enable the API-style authentication, you have to check Enable REST API in Administration -&gt; Settings -&gt; Authentication. - /// You can find your API key on your account page ( /my/account ) when logged in, on the right-hand pane of the default layout. - /// - /// The host. - /// The API key. - /// The MIME format. - /// if set to true [verify server cert]. - /// The proxy. - /// Use this parameter to specify a SecurityProtocolType. - /// Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. - /// - /// The webclient timeout. Default is 100 seconds. - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use RedmineManager(RedmineManagerOptionsBuilder")] - public RedmineManager(string host, string apiKey, MimeFormat mimeFormat = MimeFormat.Xml, - bool verifyServerCert = true, IWebProxy proxy = null, - SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) - : this(new RedmineManagerOptionsBuilder() - .WithHost(host) - .WithApiKeyAuthentication(apiKey) - .WithSerializationType(mimeFormat) - .WithVerifyServerCert(verifyServerCert) - .WithWebClientOptions(new RedmineWebClientOptions() - { - Proxy = proxy, - Scheme = scheme, - Timeout = timeout, - SecurityProtocolType = securityProtocolType - })){} - - /// - /// Initializes a new instance of the class using your login and password for authentication. - /// - /// The host. - /// The login. - /// The password. - /// The MIME format. - /// if set to true [verify server cert]. - /// The proxy. - /// Use this parameter to specify a SecurityProtocolType. Note: it is recommended to leave this parameter at its default value as this setting also affects the calling application process. - /// - /// The webclient timeout. Default is 100 seconds. - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " Use RedmineManager(RedmineManagerOptionsBuilder")] - public RedmineManager(string host, string login, string password, MimeFormat mimeFormat = MimeFormat.Xml, - bool verifyServerCert = true, IWebProxy proxy = null, - SecurityProtocolType securityProtocolType = default, string scheme = "https", TimeSpan? timeout = null) - : this(new RedmineManagerOptionsBuilder() - .WithHost(host) - .WithBasicAuthentication(login, password) - .WithSerializationType(mimeFormat) - .WithVerifyServerCert(verifyServerCert) - .WithWebClientOptions(new RedmineWebClientOptions() - { - Proxy = proxy, - Scheme = scheme, - Timeout = timeout, - SecurityProtocolType = securityProtocolType - })) {} - - - /// - /// Gets the suffixes. - /// - /// - /// The suffixes. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + " It returns null.")] - public static Dictionary Suffixes => null; - - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public string Format { get; } - - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public string Scheme { get; } - - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public TimeSpan? Timeout { get; private set; } - - /// - /// Gets the host. - /// - /// - /// The host. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public string Host { get; } - - /// - /// The ApiKey used to authenticate. - /// - /// - /// The API key. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public string ApiKey { get; } - - /// - /// Gets the MIME format. - /// - /// - /// The MIME format. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public MimeFormat MimeFormat { get; } - - /// - /// Gets the proxy. - /// - /// - /// The proxy. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public IWebProxy Proxy { get; private set; } - - /// - /// Gets the type of the security protocol. - /// - /// - /// The type of the security protocol. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public SecurityProtocolType SecurityProtocolType { get; private set; } - - - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public int PageSize { get; set; } - - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public string ImpersonateUser { get; set; } - - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT )] - public static readonly Dictionary TypesWithOffset = new Dictionary{ - {typeof(Issue), true}, - {typeof(Project), true}, - {typeof(User), true}, - {typeof(News), true}, - {typeof(Query), true}, - {typeof(TimeEntry), true}, - {typeof(ProjectMembership), true}, - {typeof(Search), true} - }; - - /// - /// Returns the user whose credentials are used to access the API. - /// - /// The accepted parameters are: memberships and groups (added in 2.1). - /// - /// - /// An error occurred during deserialization. The original exception is available - /// using the System.Exception.InnerException property. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use GetCurrentUser extension instead")] - public User GetCurrentUser(NameValueCollection parameters = null) - { - return this.GetCurrentUser(RedmineManagerExtensions.CreateRequestOptions(parameters)); - } - - /// - /// - /// - /// Returns the my account details. - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use GetMyAccount extension instead")] - public MyAccount GetMyAccount() - { - return RedmineManagerExtensions.GetMyAccount(this); - } - - /// - /// Adds the watcher to issue. - /// - /// The issue identifier. - /// The user identifier. - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use AddWatcherToIssue extension instead")] - public void AddWatcherToIssue(int issueId, int userId) - { - RedmineManagerExtensions.AddWatcherToIssue(this, issueId, userId); - } - - /// - /// Removes the watcher from issue. - /// - /// The issue identifier. - /// The user identifier. - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use RemoveWatcherFromIssue extension instead")] - public void RemoveWatcherFromIssue(int issueId, int userId) - { - RedmineManagerExtensions.RemoveWatcherFromIssue(this, issueId, userId); - } - - /// - /// Adds an existing user to a group. - /// - /// The group id. - /// The user id. - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use AddUserToGroup extension instead")] - public void AddUserToGroup(int groupId, int userId) - { - RedmineManagerExtensions.AddUserToGroup(this, groupId, userId); - } - - /// - /// Removes an user from a group. - /// - /// The group id. - /// The user id. - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use RemoveUserFromGroup extension instead")] - public void RemoveUserFromGroup(int groupId, int userId) - { - RedmineManagerExtensions.RemoveUserFromGroup(this, groupId, userId); - } - - /// - /// Creates or updates a wiki page. - /// - /// The project id or identifier. - /// The wiki page name. - /// The wiki page to create or update. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use UpdateWikiPage extension instead")] - public void UpdateWikiPage(string projectId, string pageName, WikiPage wikiPage) - { - RedmineManagerExtensions.UpdateWikiPage(this, projectId, pageName, wikiPage); - } - - /// - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use CreateWikiPage extension instead")] - public WikiPage CreateWikiPage(string projectId, string pageName, WikiPage wikiPage) - { - return RedmineManagerExtensions.CreateWikiPage(this, projectId, pageName, wikiPage); - } - - /// - /// Gets the wiki page. - /// - /// The project identifier. - /// The parameters. - /// Name of the page. - /// The version. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use GetWikiPage extension instead")] - public WikiPage GetWikiPage(string projectId, NameValueCollection parameters, string pageName, uint version = 0) - { - return this.GetWikiPage(projectId, pageName, RedmineManagerExtensions.CreateRequestOptions(parameters), version); - } - - /// - /// Returns the list of all pages in a project wiki. - /// - /// The project id or identifier. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use GetAllWikiPages extension instead")] - public List GetAllWikiPages(string projectId) - { - return RedmineManagerExtensions.GetAllWikiPages(this, projectId); - } - - /// - /// Deletes a wiki page, its attachments and its history. If the deleted page is a parent page, its child pages are not - /// deleted but changed as root pages. - /// - /// The project id or identifier. - /// The wiki page name. - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use DeleteWikiPage extension instead")] - public void DeleteWikiPage(string projectId, string pageName) - { - RedmineManagerExtensions.DeleteWikiPage(this, projectId, pageName); - } - - /// - /// Updates the attachment. - /// - /// The issue identifier. - /// The attachment. - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use UpdateAttachment extension instead")] - public void UpdateAttachment(int issueId, Attachment attachment) - { - this.UpdateIssueAttachment(issueId, attachment); - } - - /// - /// - /// - /// query strings. enable to specify multiple values separated by a space " ". - /// number of results in response. - /// skip this number of results in response - /// Optional filters. - /// - /// Returns the search results by the specified condition parameters. - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use Search extension instead")] - public PagedResults Search(string q, int limit = DEFAULT_PAGE_SIZE_VALUE, int offset = 0, SearchFilterBuilder searchFilter = null) - { - return RedmineManagerExtensions.Search(this, q, limit, offset, searchFilter); - } - - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public int Count(params string[] include) where T : class, new() - { - var parameters = NameValueCollectionExtensions.AddParamsIfExist(null, include); - - return Count(parameters); - } - - /// - /// - /// - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public int Count(NameValueCollection parameters) where T : class, new() - { - return Count(parameters != null ? new RequestOptions { QueryString = parameters } : null); - } - - /// - /// Gets the redmine object based on id. - /// - /// The type of objects to retrieve. - /// The id of the object. - /// Optional filters and/or optional fetched data. - /// - /// Returns the object of type T. - /// - /// - /// - /// string issueId = "927"; - /// NameValueCollection parameters = null; - /// Issue issue = redmineManager.GetObject<Issue>(issueId, parameters); - /// - /// - [Obsolete($"{RedmineConstants.OBSOLETE_TEXT} Use Get instead")] - public T GetObject(string id, NameValueCollection parameters) where T : class, new() - { - return Get(id, parameters != null ? new RequestOptions { QueryString = parameters } : null); - } - - /// - /// Returns the complete list of objects. - /// - /// - /// Optional fetched data. - /// - /// Optional fetched data: - /// Project: trackers, issue_categories, enabled_modules (since Redmine 2.6.0) - /// Issue: children, attachments, relations, changesets, journals, watchers (since Redmine 2.3.0) - /// Users: memberships, groups (since Redmine 2.1) - /// Groups: users, memberships - /// - /// Returns the complete list of objects. - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public List GetObjects(params string[] include) where T : class, new() - { - var parameters = NameValueCollectionExtensions.AddParamsIfExist(null, include); - - return GetObjects(parameters); - } - - /// - /// Returns the complete list of objects. - /// - /// - /// The page size. - /// The offset. - /// Optional fetched data. - /// - /// Optional fetched data: - /// Project: trackers, issue_categories, enabled_modules (since 2.6.0) - /// Issue: children, attachments, relations, changesets, journals, watchers - Since 2.3.0 - /// Users: memberships, groups (added in 2.1) - /// Groups: users, memberships - /// - /// Returns the complete list of objects. - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public List GetObjects(int limit, int offset, params string[] include) where T : class, new() - { - var parameters = NameValueCollectionExtensions - .AddParamsIfExist(null, include) - .AddPagingParameters(limit, offset); - - return GetObjects(parameters); - } - - /// - /// Returns the complete list of objects. - /// - /// The type of objects to retrieve. - /// Optional filters and/or optional fetched data. - /// - /// Returns a complete list of objects. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public List GetObjects(NameValueCollection parameters = null) where T : class, new() - { - return Get(parameters != null ? new RequestOptions { QueryString = parameters } : null); - } - - /// - /// Gets the paginated objects. - /// - /// - /// The parameters. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public PagedResults GetPaginatedObjects(NameValueCollection parameters) where T : class, new() - { - return GetPaginated(parameters != null ? new RequestOptions { QueryString = parameters } : null); - } - - /// - /// Creates a new Redmine object. - /// - /// The type of object to create. - /// The object to create. - /// - /// - /// - /// When trying to create an object with invalid or missing attribute parameters, you will get a 422 Unprocessable - /// Entity response. That means that the object could not be created. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public T CreateObject(T entity) where T : class, new() - { - return Create(entity); - } - - /// - /// Creates a new Redmine object. - /// - /// The type of object to create. - /// The object to create. - /// The owner identifier. - /// - /// - /// - /// When trying to create an object with invalid or missing attribute parameters, you will get a 422 Unprocessable - /// Entity response. That means that the object could not be created. - /// - /// - /// - /// var project = new Project(); - /// project.Name = "test"; - /// project.Identifier = "the project identifier"; - /// project.Description = "the project description"; - /// redmineManager.CreateObject(project); - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public T CreateObject(T entity, string ownerId) where T : class, new() - { - return Create(entity, ownerId); - } - - /// - /// Updates a Redmine object. - /// - /// The type of object to be updated. - /// The id of the object to be updated. - /// The object to be updated. - /// The project identifier. - /// - /// - /// When trying to update an object with invalid or missing attribute parameters, you will get a - /// 422(RedmineException) Unprocessable Entity response. That means that the object could not be updated. - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public void UpdateObject(string id, T entity, string projectId = null) where T : class, new() - { - Update(id, entity, projectId); - } - - /// - /// Deletes the Redmine object. - /// - /// The type of objects to delete. - /// The id of the object to delete - /// The parameters - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public void DeleteObject(string id, NameValueCollection parameters = null) where T : class, new() - { - Delete(id, parameters != null ? new RequestOptions { QueryString = parameters } : null); - } - - /// - /// Creates the Redmine web client. - /// - /// The parameters. - /// if set to true [upload file]. - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "If a custom webClient is needed, use Func from RedmineManagerSettings instead")] - public virtual RedmineWebClient CreateWebClient(NameValueCollection parameters, bool uploadFile = false) - { - throw new NotImplementedException(); - } - - /// - /// This is to take care of SSL certification validation which are not issued by Trusted Root CA. - /// - /// The sender. - /// The cert. - /// The chain. - /// The error. - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use RedmineManagerOptions.ClientOptions.ServerCertificateValidationCallback instead")] - public virtual bool RemoteCertValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors sslPolicyErrors) - { - const SslPolicyErrors IGNORED_ERRORS = SslPolicyErrors.RemoteCertificateChainErrors | SslPolicyErrors.RemoteCertificateNameMismatch; - - return (sslPolicyErrors & ~IGNORED_ERRORS) == SslPolicyErrors.None; - - } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index a64f6cd7..82558e62 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -52,28 +52,16 @@ public RedmineManager(RedmineManagerOptionsBuilder optionsBuilder) _redmineManagerOptions = optionsBuilder.Build(); + Logger = _redmineManagerOptions.Logger; Serializer = _redmineManagerOptions.Serializer; RedmineApiUrls = new RedmineApiUrls(_redmineManagerOptions.Serializer.Format); - - Host = _redmineManagerOptions.BaseAddress.ToString(); - PageSize = _redmineManagerOptions.PageSize; - Scheme = _redmineManagerOptions.BaseAddress.Scheme; - Format = Serializer.Format; - MimeFormat = RedmineConstants.XML.Equals(Serializer.Format, StringComparison.Ordinal) - ? MimeFormat.Xml - : MimeFormat.Json; - - if (_redmineManagerOptions.Authentication is RedmineApiKeyAuthentication) - { - ApiKey = _redmineManagerOptions.Authentication.Token; - } - + ApiClient = #if NET45_OR_GREATER || NETCOREAPP _redmineManagerOptions.WebClientOptions switch { RedmineWebClientOptions => CreateWebClient(_redmineManagerOptions), - _ => CreateHttpClient(_redmineManagerOptions) + RedmineHttpClientOptions => CreateHttpClient(_redmineManagerOptions), }; #else CreateWebClient(_redmineManagerOptions); @@ -91,9 +79,9 @@ private InternalRedmineApiWebClient CreateWebClient(RedmineManagerOptions option options.WebClientOptions.SecurityProtocolType ??= ServicePointManager.SecurityProtocol; #pragma warning restore SYSLIB0014 - Proxy = options.WebClientOptions.Proxy; - Timeout = options.WebClientOptions.Timeout; - SecurityProtocolType = options.WebClientOptions.SecurityProtocolType.GetValueOrDefault(); + return new InternalRedmineApiWebClient(options); + } +#if NET40_OR_GREATER || NET #if NET45_OR_GREATER if (options.VerifyServerCert) @@ -301,5 +289,16 @@ internal PagedResults GetPaginatedInternal(string uri = null, RequestOptio return response.DeserializeToPagedResults(Serializer); } + + internal static readonly Dictionary TypesWithOffset = new Dictionary{ + {typeof(Issue), true}, + {typeof(Project), true}, + {typeof(User), true}, + {typeof(News), true}, + {typeof(Query), true}, + {typeof(TimeEntry), true}, + {typeof(ProjectMembership), true}, + {typeof(Search), true} + }; } } \ No newline at end of file diff --git a/src/redmine-net-api/Serialization/MimeFormatObsolete.cs b/src/redmine-net-api/Serialization/MimeFormatObsolete.cs deleted file mode 100755 index 1bad6a4f..00000000 --- a/src/redmine-net-api/Serialization/MimeFormatObsolete.cs +++ /dev/null @@ -1,35 +0,0 @@ -/* -Copyright 2011 - 2025 Adrian Popescu - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -using System; - -namespace Redmine.Net.Api -{ - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT + "Use SerializationType instead")] - public enum MimeFormat - { - /// - /// - Xml, - /// - /// The json - /// - Json - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 4f42a9eb..03393172 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -115,18 +115,6 @@ public sealed class Project : IdentifiableName, IEquatable /// Available in Redmine starting with 2.6.0 version. public IList EnabledModules { get; set; } - /// - /// Gets or sets the custom fields. - /// - /// - /// The custom fields. - /// - [Obsolete($"{RedmineConstants.OBSOLETE_TEXT} Use {nameof(IssueCustomFields)} instead.")] - public IList CustomFields - { - get => IssueCustomFields; - set => IssueCustomFields = (List)value; - } /// /// /// diff --git a/src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs b/src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs deleted file mode 100644 index ef03936f..00000000 --- a/src/redmine-net-api/_net20/RedmineManagerAsyncObsolete.cs +++ /dev/null @@ -1,324 +0,0 @@ -#if NET20 - -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Globalization; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Serialization; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.Async -{ - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public delegate void Task(); - - /// - /// - /// - /// The type of the resource. - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] public delegate TRes Task(); - - /// - /// - /// - [Obsolete(RedmineConstants.OBSOLETE_TEXT)] - public static class RedmineManagerAsync - { - /// - /// Gets the current user asynchronous. - /// - /// The redmine manager. - /// The parameters. - /// - public static Task GetCurrentUserAsync(this RedmineManager redmineManager, - NameValueCollection parameters = null) - { - return delegate { return redmineManager.GetCurrentUser(parameters); }; - } - - /// - /// Creates the or update wiki page asynchronous. - /// - /// The redmine manager. - /// The project identifier. - /// Name of the page. - /// The wiki page. - /// - public static Task CreateWikiPageAsync(this RedmineManager redmineManager, string projectId, - string pageName, WikiPage wikiPage) - { - return delegate { return redmineManager.CreateWikiPage(projectId, pageName, wikiPage); }; - } - - /// - /// - /// - /// - /// - /// - /// - /// - public static Task UpdateWikiPageAsync(this RedmineManager redmineManager, string projectId, - string pageName, WikiPage wikiPage) - { - return delegate { redmineManager.UpdateWikiPage(projectId, pageName, wikiPage); }; - } - - /// - /// Deletes the wiki page asynchronous. - /// - /// The redmine manager. - /// The project identifier. - /// Name of the page. - /// - public static Task DeleteWikiPageAsync(this RedmineManager redmineManager, string projectId, string pageName) - { - return delegate { redmineManager.DeleteWikiPage(projectId, pageName); }; - } - - /// - /// Gets the wiki page asynchronous. - /// - /// The redmine manager. - /// The project identifier. - /// The parameters. - /// Name of the page. - /// The version. - /// - public static Task GetWikiPageAsync(this RedmineManager redmineManager, string projectId, - NameValueCollection parameters, string pageName, uint version = 0) - { - return delegate { return redmineManager.GetWikiPage(projectId, parameters, pageName, version); }; - } - - /// - /// Gets all wiki pages asynchronous. - /// - /// The redmine manager. - /// The project identifier. - /// - public static Task> GetAllWikiPagesAsync(this RedmineManager redmineManager, string projectId) - { - return delegate { return redmineManager.GetAllWikiPages(projectId); }; - } - - /// - /// Adds the user to group asynchronous. - /// - /// The redmine manager. - /// The group identifier. - /// The user identifier. - /// - public static Task AddUserToGroupAsync(this RedmineManager redmineManager, int groupId, int userId) - { - return delegate { redmineManager.AddUserToGroup(groupId, userId); }; - } - - /// - /// Removes the user from group asynchronous. - /// - /// The redmine manager. - /// The group identifier. - /// The user identifier. - /// - public static Task RemoveUserFromGroupAsync(this RedmineManager redmineManager, int groupId, int userId) - { - return delegate { redmineManager.RemoveUserFromGroup(groupId, userId); }; - } - - /// - /// Adds the watcher to issue asynchronous. - /// - /// The redmine manager. - /// The issue identifier. - /// The user identifier. - /// - public static Task AddWatcherToIssueAsync(this RedmineManager redmineManager, int issueId, int userId) - { - return delegate { redmineManager.AddWatcherToIssue(issueId, userId); }; - } - - /// - /// Removes the watcher from issue asynchronous. - /// - /// The redmine manager. - /// The issue identifier. - /// The user identifier. - /// - public static Task RemoveWatcherFromIssueAsync(this RedmineManager redmineManager, int issueId, int userId) - { - return delegate { redmineManager.RemoveWatcherFromIssue(issueId, userId); }; - } - - /// - /// Gets the object asynchronous. - /// - /// - /// The redmine manager. - /// The identifier. - /// The parameters. - /// - public static Task GetObjectAsync(this RedmineManager redmineManager, string id, - NameValueCollection parameters) where T : class, new() - { - return delegate { return redmineManager.GetObject(id, parameters); }; - } - - /// - /// Creates the object asynchronous. - /// - /// - /// The redmine manager. - /// The object. - /// - public static Task CreateObjectAsync(this RedmineManager redmineManager, T entity) where T : class, new() - { - return CreateObjectAsync(redmineManager, entity, null); - } - - /// - /// Creates the object asynchronous. - /// - /// - /// The redmine manager. - /// The object. - /// The owner identifier. - /// - public static Task CreateObjectAsync(this RedmineManager redmineManager, T entity, string ownerId) - where T : class, new() - { - return delegate { return redmineManager.CreateObject(entity, ownerId); }; - } - - /// - /// Gets the paginated objects asynchronous. - /// - /// - /// The redmine manager. - /// The parameters. - /// - public static Task> GetPaginatedObjectsAsync(this RedmineManager redmineManager, - NameValueCollection parameters) where T : class, new() - { - return delegate { return redmineManager.GetPaginatedObjects(parameters); }; - } - - /// - /// Gets the objects asynchronous. - /// - /// - /// The redmine manager. - /// The parameters. - /// - public static Task> GetObjectsAsync(this RedmineManager redmineManager, - NameValueCollection parameters) where T : class, new() - { - return delegate { return redmineManager.GetObjects(parameters); }; - } - - /// - /// Updates the object asynchronous. - /// - /// - /// The redmine manager. - /// The identifier. - /// The object. - /// The project identifier. - /// - public static Task UpdateObjectAsync(this RedmineManager redmineManager, string id, T entity, - string projectId = null) where T : class, new() - { - return delegate { redmineManager.UpdateObject(id, entity, projectId); }; - } - - /// - /// Deletes the object asynchronous. - /// - /// - /// The redmine manager. - /// The identifier. - /// - public static Task DeleteObjectAsync(this RedmineManager redmineManager, string id) where T : class, new() - { - return delegate { redmineManager.DeleteObject(id); }; - } - - /// - /// Uploads the file asynchronous. - /// - /// The redmine manager. - /// The data. - /// - public static Task UploadFileAsync(this RedmineManager redmineManager, byte[] data) - { - return delegate { return redmineManager.UploadFile(data); }; - } - - /// - /// Downloads the file asynchronous. - /// - /// The redmine manager. - /// The address. - /// - public static Task DownloadFileAsync(this RedmineManager redmineManager, string address) - { - return delegate { return redmineManager.DownloadFile(address); }; - } - - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - public static Task> SearchAsync(this RedmineManager redmineManager, string q, int limit = RedmineManager.DEFAULT_PAGE_SIZE_VALUE, int offset = 0, SearchFilterBuilder searchFilter = null) - { - if (q.IsNullOrWhiteSpace()) - { - throw new ArgumentNullException(nameof(q)); - } - - var parameters = new NameValueCollection - { - {RedmineKeys.Q, q}, - {RedmineKeys.LIMIT, limit.ToInvariantString()}, - {RedmineKeys.OFFSET, offset.ToInvariantString()}, - }; - - if (searchFilter != null) - { - parameters = searchFilter.Build(parameters); - } - - var result = redmineManager.GetPaginatedObjectsAsync(parameters); - - return result; - } - } -} -#endif \ No newline at end of file From 15fff38a86e54abd9bf09e28c5dcb6bf0c874a6b Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 16:41:56 +0300 Subject: [PATCH 577/601] Change folder structure & some web client improvements --- src/redmine-net-api/Common/IValue.cs | 2 +- src/redmine-net-api/Common/PagedResults.cs | 2 +- .../Extensions/EnumExtensions.cs | 11 +- .../InternalRedmineApiWebClient.Async.cs | 65 +--- .../WebClient/InternalRedmineApiWebClient.cs | 282 ++++++++++++++++++ .../Clients}/WebClient/InternalWebClient.cs | 15 +- .../WebClient/RedmineApiRequestContent.cs | 93 ++++++ .../WebClient/RedmineWebClientOptions.cs | 83 ++++++ .../Clients/WebClient}/WebClientExtensions.cs | 2 +- .../Clients/WebClient/WebClientProvider.cs | 67 +++++ .../Http/Constants/HttpConstants.cs | 106 +++++++ .../NameValueCollectionExtensions.cs | 268 +++++++++++++++++ .../RedmineApiResponseExtensions.cs} | 14 +- .../Http/Helpers/RedmineExceptionHelper.cs | 139 +++++++++ src/redmine-net-api/Http/IRedmineApiClient.cs | 75 +++++ .../Http/IRedmineApiClientOptions.cs | 148 +++++++++ .../Messages/RedmineApiRequest.cs} | 10 +- .../Messages/RedmineApiResponse.cs} | 4 +- .../{Net => Http}/RedirectType.cs | 4 +- .../Http/RedmineApiClient.Async.cs | 77 +++++ src/redmine-net-api/Http/RedmineApiClient.cs | 113 +++++++ .../RedmineApiClientOptions.cs} | 107 ++----- .../{Net => Http}/RequestOptions.cs | 2 +- ...nagerAsync.cs => IRedmineManager.Async.cs} | 2 + src/redmine-net-api/IRedmineManager.cs | 7 +- src/redmine-net-api/Net/HttpVerbs.cs | 51 ---- .../Net/IRedmineApiClientOptions.cs | 197 ------------ .../Net/Internal/ApiRequestMessageContent.cs | 24 -- .../Net/Internal/HttpStatusHelper.cs | 98 ------ .../Net/Internal/IAsyncRedmineApiClient.cs | 42 --- .../Net/Internal/IRedmineApiClient.cs | 27 -- .../Net/Internal/ISyncRedmineApiClient.cs | 38 --- .../Net/Internal/RedmineApiUrls.cs | 1 + .../Net/Internal/RedmineApiUrlsExtensions.cs | 48 --- .../NameValueCollectionExtensions.cs | 140 --------- .../Extensions/WebExceptionExtensions.cs | 75 ----- .../Net/WebClient/IRedmineWebClientOptions.cs | 22 -- .../WebClient/InternalRedmineApiWebClient.cs | 263 ---------------- .../ByteArrayApiRequestMessageContent.cs | 27 -- .../StreamApiRequestMessageContent.cs | 25 -- .../StringApiRequestMessageContent.cs | 41 --- ...anagerAsync.cs => RedmineManager.Async.cs} | 3 + src/redmine-net-api/RedmineManager.cs | 72 ++++- src/redmine-net-api/SearchFilterBuilder.cs | 1 + .../Serialization/IRedmineSerializer.cs | 2 + .../Json/Extensions/JsonReaderExtensions.cs | 3 +- .../Json/Extensions/JsonWriterExtensions.cs | 5 +- .../Serialization/Json/IJsonSerializable.cs | 2 +- .../Serialization/Json/JsonObject.cs | 2 +- .../Json/JsonRedmineSerializer.cs | 2 + .../Serialization/Xml/CacheKeyFactory.cs | 3 +- .../Xml/Extensions/XmlReaderExtensions.cs | 4 +- .../Xml/Extensions/XmlWriterExtensions.cs | 4 +- .../Serialization/Xml/IXmlSerializerCache.cs | 2 +- .../Serialization/Xml/XmlRedmineSerializer.cs | 2 + .../Serialization/Xml/XmlSerializerCache.cs | 2 +- .../Serialization/Xml/XmlTextReaderBuilder.cs | 2 +- src/redmine-net-api/Types/Attachment.cs | 3 + src/redmine-net-api/Types/Attachments.cs | 1 + src/redmine-net-api/Types/ChangeSet.cs | 2 + src/redmine-net-api/Types/CustomField.cs | 2 + .../Types/CustomFieldPossibleValue.cs | 1 + src/redmine-net-api/Types/CustomFieldValue.cs | 1 + src/redmine-net-api/Types/Detail.cs | 1 + src/redmine-net-api/Types/DocumentCategory.cs | 1 + src/redmine-net-api/Types/Error.cs | 1 + src/redmine-net-api/Types/File.cs | 3 + src/redmine-net-api/Types/Group.cs | 4 + src/redmine-net-api/Types/GroupUser.cs | 1 + src/redmine-net-api/Types/Identifiable.cs | 1 + src/redmine-net-api/Types/IdentifiableName.cs | 2 + src/redmine-net-api/Types/Issue.cs | 4 + .../Types/IssueAllowedStatus.cs | 2 + src/redmine-net-api/Types/IssueCategory.cs | 3 + src/redmine-net-api/Types/IssueChild.cs | 1 + src/redmine-net-api/Types/IssueCustomField.cs | 3 + src/redmine-net-api/Types/IssuePriority.cs | 1 + src/redmine-net-api/Types/IssueRelation.cs | 3 + src/redmine-net-api/Types/IssueStatus.cs | 2 + src/redmine-net-api/Types/Journal.cs | 2 + src/redmine-net-api/Types/Membership.cs | 2 + src/redmine-net-api/Types/MembershipRole.cs | 3 + src/redmine-net-api/Types/MyAccount.cs | 3 + .../Types/MyAccountCustomField.cs | 1 + src/redmine-net-api/Types/News.cs | 3 + src/redmine-net-api/Types/Permission.cs | 1 + src/redmine-net-api/Types/Project.cs | 4 + .../Types/ProjectEnabledModule.cs | 1 + .../Types/ProjectMembership.cs | 3 + src/redmine-net-api/Types/ProjectTracker.cs | 1 + src/redmine-net-api/Types/Query.cs | 2 + src/redmine-net-api/Types/Role.cs | 2 + src/redmine-net-api/Types/Search.cs | 3 + src/redmine-net-api/Types/TimeEntry.cs | 3 + .../Types/TimeEntryActivity.cs | 1 + src/redmine-net-api/Types/Tracker.cs | 2 + src/redmine-net-api/Types/TrackerCoreField.cs | 1 + .../Types/TrackerCustomField.cs | 2 + src/redmine-net-api/Types/Upload.cs | 2 + src/redmine-net-api/Types/User.cs | 4 +- src/redmine-net-api/Types/Version.cs | 3 + src/redmine-net-api/Types/Watcher.cs | 1 + src/redmine-net-api/Types/WikiPage.cs | 3 + .../Bugs/RedmineApi-371.cs | 2 +- .../redmine-net-api.Tests/Tests/HostTests.cs | 2 +- .../Tests/RedmineApiUrlsTests.cs | 2 +- 106 files changed, 1711 insertions(+), 1319 deletions(-) rename src/redmine-net-api/{Net => Http/Clients}/WebClient/InternalRedmineApiWebClient.Async.cs (51%) create mode 100644 src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs rename src/redmine-net-api/{Net => Http/Clients}/WebClient/InternalWebClient.cs (90%) create mode 100644 src/redmine-net-api/Http/Clients/WebClient/RedmineApiRequestContent.cs create mode 100644 src/redmine-net-api/Http/Clients/WebClient/RedmineWebClientOptions.cs rename src/redmine-net-api/{Net/WebClient/Extensions => Http/Clients/WebClient}/WebClientExtensions.cs (94%) create mode 100644 src/redmine-net-api/Http/Clients/WebClient/WebClientProvider.cs create mode 100644 src/redmine-net-api/Http/Constants/HttpConstants.cs create mode 100644 src/redmine-net-api/Http/Extensions/NameValueCollectionExtensions.cs rename src/redmine-net-api/{Net/Internal/ApiResponseMessageExtensions.cs => Http/Extensions/RedmineApiResponseExtensions.cs} (79%) create mode 100644 src/redmine-net-api/Http/Helpers/RedmineExceptionHelper.cs create mode 100644 src/redmine-net-api/Http/IRedmineApiClient.cs create mode 100644 src/redmine-net-api/Http/IRedmineApiClientOptions.cs rename src/redmine-net-api/{Net/Internal/ApiRequestMessage.cs => Http/Messages/RedmineApiRequest.cs} (74%) rename src/redmine-net-api/{Net/Internal/ApiResponseMessage.cs => Http/Messages/RedmineApiResponse.cs} (90%) rename src/redmine-net-api/{Net => Http}/RedirectType.cs (93%) create mode 100644 src/redmine-net-api/Http/RedmineApiClient.Async.cs create mode 100644 src/redmine-net-api/Http/RedmineApiClient.cs rename src/redmine-net-api/{Net/WebClient/RedmineWebClientOptions.cs => Http/RedmineApiClientOptions.cs} (56%) rename src/redmine-net-api/{Net => Http}/RequestOptions.cs (98%) rename src/redmine-net-api/{IRedmineManagerAsync.cs => IRedmineManager.Async.cs} (99%) delete mode 100644 src/redmine-net-api/Net/HttpVerbs.cs delete mode 100644 src/redmine-net-api/Net/IRedmineApiClientOptions.cs delete mode 100644 src/redmine-net-api/Net/Internal/ApiRequestMessageContent.cs delete mode 100644 src/redmine-net-api/Net/Internal/HttpStatusHelper.cs delete mode 100644 src/redmine-net-api/Net/Internal/IAsyncRedmineApiClient.cs delete mode 100644 src/redmine-net-api/Net/Internal/IRedmineApiClient.cs delete mode 100644 src/redmine-net-api/Net/Internal/ISyncRedmineApiClient.cs delete mode 100644 src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs delete mode 100644 src/redmine-net-api/Net/WebClient/Extensions/WebExceptionExtensions.cs delete mode 100644 src/redmine-net-api/Net/WebClient/IRedmineWebClientOptions.cs delete mode 100644 src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs delete mode 100644 src/redmine-net-api/Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs delete mode 100644 src/redmine-net-api/Net/WebClient/MessageContent/StreamApiRequestMessageContent.cs delete mode 100644 src/redmine-net-api/Net/WebClient/MessageContent/StringApiRequestMessageContent.cs rename src/redmine-net-api/{RedmineManagerAsync.cs => RedmineManager.Async.cs} (98%) diff --git a/src/redmine-net-api/Common/IValue.cs b/src/redmine-net-api/Common/IValue.cs index bbfe3a77..d95d24eb 100755 --- a/src/redmine-net-api/Common/IValue.cs +++ b/src/redmine-net-api/Common/IValue.cs @@ -14,7 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ -namespace Redmine.Net.Api.Types +namespace Redmine.Net.Api.Common { /// /// diff --git a/src/redmine-net-api/Common/PagedResults.cs b/src/redmine-net-api/Common/PagedResults.cs index eab0c680..2aeb5f03 100644 --- a/src/redmine-net-api/Common/PagedResults.cs +++ b/src/redmine-net-api/Common/PagedResults.cs @@ -16,7 +16,7 @@ limitations under the License. using System.Collections.Generic; -namespace Redmine.Net.Api.Serialization +namespace Redmine.Net.Api.Common { /// /// diff --git a/src/redmine-net-api/Extensions/EnumExtensions.cs b/src/redmine-net-api/Extensions/EnumExtensions.cs index 60f49075..60b6499e 100644 --- a/src/redmine-net-api/Extensions/EnumExtensions.cs +++ b/src/redmine-net-api/Extensions/EnumExtensions.cs @@ -14,7 +14,7 @@ public static class EnumExtensions /// /// The enumeration value to be converted. /// A string representation of the IssueRelationType enumeration value in a lowercase, or "undefined" if the value does not match a defined case. - public static string ToLowerInvariant(this IssueRelationType @enum) + public static string ToLowerName(this IssueRelationType @enum) { return @enum switch { @@ -36,7 +36,7 @@ public static string ToLowerInvariant(this IssueRelationType @enum) /// /// The VersionSharing enumeration value to be converted. /// A string representation of the VersionSharing enumeration value in a lowercase, or "undefined" if the value does not match a valid case. - public static string ToLowerInvariant(this VersionSharing @enum) + public static string ToLowerName(this VersionSharing @enum) { return @enum switch { @@ -55,7 +55,7 @@ public static string ToLowerInvariant(this VersionSharing @enum) /// /// The enumeration value to be converted. /// A lowercase string representation of the enumeration value, or "undefined" if the value does not match a defined case. - public static string ToLowerInvariant(this VersionStatus @enum) + public static string ToLowerName(this VersionStatus @enum) { return @enum switch { @@ -72,7 +72,7 @@ public static string ToLowerInvariant(this VersionStatus @enum) /// /// The ProjectStatus enumeration value to be converted. /// A string representation of the ProjectStatus enumeration value in a lowercase, or "undefined" if the value does not match a defined case. - public static string ToLowerInvariant(this ProjectStatus @enum) + public static string ToLowerName(this ProjectStatus @enum) { return @enum switch { @@ -89,12 +89,11 @@ public static string ToLowerInvariant(this ProjectStatus @enum) /// /// The enumeration value to be converted. /// A string representation of the UserStatus enumeration value in a lowercase, or "undefined" if the value does not match a defined case. - public static string ToLowerInvariant(this UserStatus @enum) + public static string ToLowerName(this UserStatus @enum) { return @enum switch { UserStatus.StatusActive => "status_active", - UserStatus.StatusAnonymous => "status_anonymous", UserStatus.StatusLocked => "status_locked", UserStatus.StatusRegistered => "status_registered", _ => "undefined" diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs b/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.Async.cs similarity index 51% rename from src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs rename to src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.Async.cs index 9fa4317f..a2678963 100644 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.Async.cs +++ b/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.Async.cs @@ -17,72 +17,27 @@ limitations under the License. #if!(NET20) using System; using System.Collections.Specialized; +using System.IO; using System.Net; using System.Threading; using System.Threading.Tasks; using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Net.Internal; -using Redmine.Net.Api.Net.WebClient.Extensions; -using Redmine.Net.Api.Net.WebClient.MessageContent; +using Redmine.Net.Api.Http.Messages; -namespace Redmine.Net.Api.Net.WebClient +namespace Redmine.Net.Api.Http.Clients.WebClient { /// /// /// internal sealed partial class InternalRedmineApiWebClient { - public async Task GetAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + protected override async Task HandleRequestAsync(string address, string verb, RequestOptions requestOptions = null, object content = null, + IProgress progress = null, CancellationToken cancellationToken = default) { - return await HandleRequestAsync(address, HttpVerbs.GET, requestOptions, cancellationToken:cancellationToken).ConfigureAwait(false); - } - - public async Task GetPagedAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - return await GetAsync(address, requestOptions, cancellationToken).ConfigureAwait(false); - } - - public async Task CreateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - var content = new StringApiRequestMessageContent(payload, _serializer.ContentType); - return await HandleRequestAsync(address, HttpVerbs.POST, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); - } - - public async Task UpdateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - var content = new StringApiRequestMessageContent(payload, _serializer.ContentType); - return await HandleRequestAsync(address, HttpVerbs.PUT, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); - } - - public async Task UploadFileAsync(string address, byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - var content = new StreamApiRequestMessageContent(data); - return await HandleRequestAsync(address, HttpVerbs.POST, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); - } - - public async Task PatchAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - var content = new StringApiRequestMessageContent(payload, _serializer.ContentType); - return await HandleRequestAsync(address, HttpVerbs.PATCH, requestOptions, content, cancellationToken:cancellationToken).ConfigureAwait(false); - } - - public async Task DeleteAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) - { - return await HandleRequestAsync(address, HttpVerbs.DELETE, requestOptions, cancellationToken:cancellationToken).ConfigureAwait(false); + return await SendAsync(CreateRequestMessage(address, verb, requestOptions, content as RedmineApiRequestContent), progress, cancellationToken: cancellationToken).ConfigureAwait(false); } - public async Task DownloadAsync(string address, RequestOptions requestOptions = null, IProgress progress = null, CancellationToken cancellationToken = default) - { - return await HandleRequestAsync(address, HttpVerbs.DOWNLOAD, requestOptions, cancellationToken:cancellationToken).ConfigureAwait(false); - } - - private async Task HandleRequestAsync(string address, string verb, RequestOptions requestOptions = null, ApiRequestMessageContent content = null, IProgress progress = null, CancellationToken cancellationToken = default) - { - return await SendAsync(CreateRequestMessage(address, verb, requestOptions, content), progress, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - private async Task SendAsync(ApiRequestMessage requestMessage, IProgress progress = null, CancellationToken cancellationToken = default) + private async Task SendAsync(RedmineApiRequest requestMessage, IProgress progress = null, CancellationToken cancellationToken = default) { System.Net.WebClient webClient = null; byte[] response = null; @@ -95,7 +50,7 @@ private async Task SendAsync(ApiRequestMessage requestMessag webClient = _webClientFunc(); cancellationTokenRegistration = cancellationToken.Register( - static state => ((System.Net.WebClient)state!).CancelAsync(), + static state => ((System.Net.WebClient)state).CancelAsync(), webClient ); @@ -148,7 +103,7 @@ private async Task SendAsync(ApiRequestMessage requestMessag } catch (WebException webException) { - webException.HandleWebException(_serializer); + HandleWebException(webException, Serializer); } finally { @@ -161,7 +116,7 @@ private async Task SendAsync(ApiRequestMessage requestMessag webClient?.Dispose(); } - return new ApiResponseMessage() + return new RedmineApiResponse() { Headers = responseHeaders, Content = response, diff --git a/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs new file mode 100644 index 00000000..f08e3474 --- /dev/null +++ b/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs @@ -0,0 +1,282 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using System.Collections.Specialized; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using Redmine.Net.Api.Authentication; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http.Constants; +using Redmine.Net.Api.Http.Extensions; +using Redmine.Net.Api.Http.Helpers; +using Redmine.Net.Api.Http.Messages; +using Redmine.Net.Api.Logging; +using Redmine.Net.Api.Options; +using Redmine.Net.Api.Serialization; + +namespace Redmine.Net.Api.Http.Clients.WebClient +{ + /// + /// + /// + internal sealed partial class InternalRedmineApiWebClient : RedmineApiClient + { + private static readonly byte[] EmptyBytes = Encoding.UTF8.GetBytes(string.Empty); + private readonly Func _webClientFunc; + + public InternalRedmineApiWebClient(RedmineManagerOptions redmineManagerOptions) + : this(() => new InternalWebClient(redmineManagerOptions), redmineManagerOptions) + { + } + + public InternalRedmineApiWebClient(Func webClientFunc, RedmineManagerOptions redmineManagerOptions) + : base(redmineManagerOptions) + { + _webClientFunc = webClientFunc; + } + + protected override object CreateContentFromPayload(string payload) + { + return RedmineApiRequestContent.CreateString(payload, Serializer.ContentType); + } + + protected override object CreateContentFromBytes(byte[] data) + { + return RedmineApiRequestContent.CreateBinary(data); + } + + protected override RedmineApiResponse HandleRequest(string address, string verb, RequestOptions requestOptions = null, object content = null, IProgress progress = null) + { + var requestMessage = CreateRequestMessage(address, verb, requestOptions, content as RedmineApiRequestContent); + + if (Options.LoggingOptions?.IncludeHttpDetails == true) + { + Options.Logger.Debug($"Request HTTP {verb} {address}"); + + if (requestOptions?.QueryString != null) + { + Options.Logger.Debug($"Query parameters: {requestOptions.QueryString.ToQueryString()}"); + } + } + + var responseMessage = Send(requestMessage, progress); + + if (Options.LoggingOptions?.IncludeHttpDetails == true) + { + Options.Logger.Debug($"Response status: {responseMessage.StatusCode}"); + } + + return responseMessage; + } + + private static RedmineApiRequest CreateRequestMessage(string address, string verb, RequestOptions requestOptions = null, RedmineApiRequestContent content = null) + { + var req = new RedmineApiRequest() + { + RequestUri = address, + Method = verb, + }; + + if (requestOptions != null) + { + req.QueryString = requestOptions.QueryString; + req.ImpersonateUser = requestOptions.ImpersonateUser; + } + + if (content != null) + { + req.Content = content; + } + + return req; + } + + private RedmineApiResponse Send(RedmineApiRequest requestMessage, IProgress progress = null) + { + System.Net.WebClient webClient = null; + byte[] response = null; + HttpStatusCode? statusCode = null; + NameValueCollection responseHeaders = null; + + try + { + webClient = _webClientFunc(); + + SetWebClientHeaders(webClient, requestMessage); + + if (IsGetOrDownload(requestMessage.Method)) + { + response = requestMessage.Method == HttpConstants.HttpVerbs.DOWNLOAD + ? DownloadWithProgress(requestMessage.RequestUri, webClient, progress) + : webClient.DownloadData(requestMessage.RequestUri); + } + else + { + byte[] payload; + if (requestMessage.Content != null) + { + webClient.Headers.Add(HttpRequestHeader.ContentType, requestMessage.Content.ContentType); + payload = requestMessage.Content.Body; + } + else + { + payload = EmptyBytes; + } + + response = webClient.UploadData(requestMessage.RequestUri, requestMessage.Method, payload); + } + + responseHeaders = webClient.ResponseHeaders; + if (webClient is InternalWebClient iwc) + { + statusCode = iwc.StatusCode; + } + } + catch (WebException webException) + { + HandleWebException(webException, Serializer); + } + finally + { + webClient?.Dispose(); + } + + return new RedmineApiResponse() + { + Headers = responseHeaders, + Content = response, + StatusCode = statusCode ?? HttpStatusCode.OK, + }; + } + + private void SetWebClientHeaders(System.Net.WebClient webClient, RedmineApiRequest requestMessage) + { + if (requestMessage.QueryString != null) + { + webClient.QueryString = requestMessage.QueryString; + } + + switch (Credentials) + { + case RedmineApiKeyAuthentication: + webClient.Headers.Add(RedmineConstants.API_KEY_AUTHORIZATION_HEADER_KEY,Credentials.Token); + break; + case RedmineBasicAuthentication: + webClient.Headers.Add(RedmineConstants.AUTHORIZATION_HEADER_KEY, Credentials.Token); + break; + } + + if (!requestMessage.ImpersonateUser.IsNullOrWhiteSpace()) + { + webClient.Headers.Add(RedmineConstants.IMPERSONATE_HEADER_KEY, requestMessage.ImpersonateUser); + } + } + + private static byte[] DownloadWithProgress(string url, System.Net.WebClient webClient, IProgress progress) + { + var contentLength = GetContentLength(webClient); + byte[] data; + if (contentLength > 0) + { + using (var respStream = webClient.OpenRead(url)) + { + data = new byte[contentLength]; + var buffer = new byte[4096]; + int bytesRead; + var totalBytesRead = 0; + + while ((bytesRead = respStream.Read(buffer, 0, buffer.Length)) > 0) + { + Buffer.BlockCopy(buffer, 0, data, totalBytesRead, bytesRead); + totalBytesRead += bytesRead; + + ReportProgress(progress, contentLength, totalBytesRead); + } + } + } + else + { + data = webClient.DownloadData(url); + progress?.Report(100); + } + + return data; + } + + private static int GetContentLength(System.Net.WebClient webClient) + { + var total = -1; + if (webClient.ResponseHeaders == null) + { + return total; + } + + var contentLengthAsString = webClient.ResponseHeaders[HttpRequestHeader.ContentLength]; + total = Convert.ToInt32(contentLengthAsString, CultureInfo.InvariantCulture); + + return total; + } + + /// + /// Handles the web exception. + /// + /// The exception. + /// + /// Timeout! + /// Bad domain name! + /// + /// + /// + /// + /// The page that you are trying to update is staled! + /// + /// + public static void HandleWebException(WebException exception, IRedmineSerializer serializer) + { + if (exception == null) + { + return; + } + + var innerException = exception.InnerException ?? exception; + + switch (exception.Status) + { + case WebExceptionStatus.Timeout: + throw new RedmineTimeoutException(nameof(WebExceptionStatus.Timeout), innerException); + case WebExceptionStatus.NameResolutionFailure: + throw new NameResolutionFailureException("Bad domain name.", innerException); + case WebExceptionStatus.ProtocolError: + if (exception.Response != null) + { + var statusCode = exception.Response is HttpWebResponse httpResponse + ? (int)httpResponse.StatusCode + : (int)HttpStatusCode.InternalServerError; + + using var responseStream = exception.Response.GetResponseStream(); + RedmineExceptionHelper.MapStatusCodeToException(statusCode, responseStream, innerException, serializer); + } + + break; + } + throw new RedmineException(exception.Message, innerException); + } + } +} diff --git a/src/redmine-net-api/Net/WebClient/InternalWebClient.cs b/src/redmine-net-api/Http/Clients/WebClient/InternalWebClient.cs similarity index 90% rename from src/redmine-net-api/Net/WebClient/InternalWebClient.cs rename to src/redmine-net-api/Http/Clients/WebClient/InternalWebClient.cs index 71103c45..fabd7219 100644 --- a/src/redmine-net-api/Net/WebClient/InternalWebClient.cs +++ b/src/redmine-net-api/Http/Clients/WebClient/InternalWebClient.cs @@ -13,16 +13,17 @@ You may obtain a copy of the License at See the License for the specific language governing permissions and limitations under the License. */ + using System; using System.Net; using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Options; -namespace Redmine.Net.Api.Net.WebClient; +namespace Redmine.Net.Api.Http.Clients.WebClient; internal sealed class InternalWebClient : System.Net.WebClient { - private readonly IRedmineWebClientOptions _webClientOptions; + private readonly RedmineWebClientOptions _webClientOptions; #pragma warning disable SYSLIB0014 public InternalWebClient(RedmineManagerOptions redmineManagerOptions) @@ -43,9 +44,9 @@ protected override WebRequest GetWebRequest(Uri address) return base.GetWebRequest(address); } - httpWebRequest.UserAgent = _webClientOptions.UserAgent.ValueOrFallback("RedmineDotNetAPIClient"); + httpWebRequest.UserAgent = _webClientOptions.UserAgent; - httpWebRequest.AutomaticDecompression = _webClientOptions.DecompressionFormat ?? DecompressionMethods.GZip | DecompressionMethods.Deflate | DecompressionMethods.None; + AssignIfHasValue(_webClientOptions.DecompressionFormat, value => httpWebRequest.AutomaticDecompression = value); AssignIfHasValue(_webClientOptions.AutoRedirect, value => httpWebRequest.AllowAutoRedirect = value); @@ -78,14 +79,14 @@ protected override WebRequest GetWebRequest(Uri address) httpWebRequest.Credentials = _webClientOptions.Credentials; - #if NET40_OR_GREATER || NETCOREAPP + #if NET40_OR_GREATER || NET if (_webClientOptions.ClientCertificates != null) { httpWebRequest.ClientCertificates = _webClientOptions.ClientCertificates; } #endif - #if (NET45_OR_GREATER || NETCOREAPP) + #if (NET45_OR_GREATER || NET) httpWebRequest.ServerCertificateValidationCallback = _webClientOptions.ServerCertificateValidationCallback; #endif diff --git a/src/redmine-net-api/Http/Clients/WebClient/RedmineApiRequestContent.cs b/src/redmine-net-api/Http/Clients/WebClient/RedmineApiRequestContent.cs new file mode 100644 index 00000000..9d9c33f0 --- /dev/null +++ b/src/redmine-net-api/Http/Clients/WebClient/RedmineApiRequestContent.cs @@ -0,0 +1,93 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using System.Text; +using Redmine.Net.Api.Http.Constants; + +namespace Redmine.Net.Api.Http.Clients.WebClient; + +internal class RedmineApiRequestContent : IDisposable +{ + private static readonly byte[] _emptyByteArray = []; + private bool _isDisposed; + + /// + /// Gets the content type of the request. + /// + public string ContentType { get; } + + /// + /// Gets the body of the request. + /// + public byte[] Body { get; } + + /// + /// Gets the length of the request body. + /// + public int Length => Body?.Length ?? 0; + + /// + /// Creates a new instance of RedmineApiRequestContent. + /// + /// The content type of the request. + /// The body of the request. + /// Thrown when the contentType is null. + public RedmineApiRequestContent(string contentType, byte[] body) + { + ContentType = contentType ?? throw new ArgumentNullException(nameof(contentType)); + Body = body ?? _emptyByteArray; + } + + /// + /// Creates a text-based request content with the specified MIME type. + /// + /// The text content. + /// The MIME type of the content. + /// The encoding to use (defaults to UTF-8). + /// A new RedmineApiRequestContent instance. + public static RedmineApiRequestContent CreateString(string text, string mimeType, Encoding encoding = null) + { + if (string.IsNullOrEmpty(text)) + { + return new RedmineApiRequestContent(mimeType, _emptyByteArray); + } + + encoding ??= Encoding.UTF8; + return new RedmineApiRequestContent(mimeType, encoding.GetBytes(text)); + } + + /// + /// Creates a binary request content. + /// + /// The binary data. + /// A new RedmineApiRequestContent instance. + public static RedmineApiRequestContent CreateBinary(byte[] data) + { + return new RedmineApiRequestContent(HttpConstants.ContentTypes.ApplicationOctetStream, data); + } + + /// + /// Disposes the resources used by this instance. + /// + public void Dispose() + { + if (!_isDisposed) + { + _isDisposed = true; + } + } +} diff --git a/src/redmine-net-api/Http/Clients/WebClient/RedmineWebClientOptions.cs b/src/redmine-net-api/Http/Clients/WebClient/RedmineWebClientOptions.cs new file mode 100644 index 00000000..013d5a82 --- /dev/null +++ b/src/redmine-net-api/Http/Clients/WebClient/RedmineWebClientOptions.cs @@ -0,0 +1,83 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System.Net; +#if (NET45_OR_GREATER || NET) +using System.Net.Security; +#endif +using System.Security.Cryptography.X509Certificates; + +namespace Redmine.Net.Api.Http.Clients.WebClient; +/// +/// +/// +public sealed class RedmineWebClientOptions: RedmineApiClientOptions +{ + + /// + /// + /// + public bool? KeepAlive { get; set; } + + /// + /// + /// + public bool? UnsafeAuthenticatedConnectionSharing { get; set; } + + /// + /// + /// + public int? DefaultConnectionLimit { get; set; } + + /// + /// + /// + public int? DnsRefreshTimeout { get; set; } + + /// + /// + /// + public bool? EnableDnsRoundRobin { get; set; } + + /// + /// + /// + public int? MaxServicePoints { get; set; } + + /// + /// + /// + public int? MaxServicePointIdleTime { get; set; } + + #if(NET46_OR_GREATER || NET) + /// + /// + /// + public bool? ReusePort { get; set; } + #endif + + /// + /// + /// + public SecurityProtocolType? SecurityProtocolType { get; set; } + +#if (NET45_OR_GREATER || NET) + /// + /// + /// + public RemoteCertificateValidationCallback ServerCertificateValidationCallback { get; set; } + #endif +} \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/Extensions/WebClientExtensions.cs b/src/redmine-net-api/Http/Clients/WebClient/WebClientExtensions.cs similarity index 94% rename from src/redmine-net-api/Net/WebClient/Extensions/WebClientExtensions.cs rename to src/redmine-net-api/Http/Clients/WebClient/WebClientExtensions.cs index 2cb3c8c0..ceb2a2cc 100644 --- a/src/redmine-net-api/Net/WebClient/Extensions/WebClientExtensions.cs +++ b/src/redmine-net-api/Http/Clients/WebClient/WebClientExtensions.cs @@ -1,7 +1,7 @@ using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Serialization; -namespace Redmine.Net.Api.Net.WebClient.Extensions; +namespace Redmine.Net.Api.Http.Clients.WebClient; internal static class WebClientExtensions { diff --git a/src/redmine-net-api/Http/Clients/WebClient/WebClientProvider.cs b/src/redmine-net-api/Http/Clients/WebClient/WebClientProvider.cs new file mode 100644 index 00000000..ff8c664b --- /dev/null +++ b/src/redmine-net-api/Http/Clients/WebClient/WebClientProvider.cs @@ -0,0 +1,67 @@ +using System; +using System.Net; +using System.Text; +using Redmine.Net.Api.Options; + +namespace Redmine.Net.Api.Http.Clients.WebClient; + +internal static class WebClientProvider +{ + /// + /// Creates a new WebClient instance with the specified options. + /// + /// The options for the Redmine manager. + /// A new WebClient instance. + public static System.Net.WebClient CreateWebClient(RedmineManagerOptions options) + { + var webClient = new InternalWebClient(options); + + if (options?.ApiClientOptions is RedmineWebClientOptions webClientOptions) + { + ConfigureWebClient(webClient, webClientOptions); + } + + return webClient; + } + + /// + /// Configures a WebClient instance with the specified options. + /// + /// The WebClient instance to configure. + /// The options to apply. + private static void ConfigureWebClient(System.Net.WebClient webClient, RedmineWebClientOptions options) + { + if (options == null) return; + + webClient.Proxy = options.Proxy; + webClient.Headers = null; + webClient.BaseAddress = null; + webClient.CachePolicy = null; + webClient.Credentials = null; + webClient.Encoding = Encoding.UTF8; + webClient.UseDefaultCredentials = false; + + // if (options.Timeout.HasValue && options.Timeout.Value != TimeSpan.Zero) + // { + // webClient.Timeout = options.Timeout; + // } + // + // if (options.KeepAlive.HasValue) + // { + // webClient.KeepAlive = options.KeepAlive.Value; + // } + // + // if (options.UnsafeAuthenticatedConnectionSharing.HasValue) + // { + // webClient.UnsafeAuthenticatedConnectionSharing = options.UnsafeAuthenticatedConnectionSharing.Value; + // } + // + // #if NET40_OR_GREATER || NET + // if (options.ClientCertificates != null) + // { + // webClient.ClientCertificates = options.ClientCertificates; + // } + // #endif + + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Http/Constants/HttpConstants.cs b/src/redmine-net-api/Http/Constants/HttpConstants.cs new file mode 100644 index 00000000..d1666c4b --- /dev/null +++ b/src/redmine-net-api/Http/Constants/HttpConstants.cs @@ -0,0 +1,106 @@ +namespace Redmine.Net.Api.Http.Constants; + +/// +/// +/// +public static class HttpConstants +{ + /// + /// HTTP status codes including custom codes used by Redmine. + /// + internal static class StatusCodes + { + public const int Unauthorized = 401; + public const int Forbidden = 403; + public const int NotFound = 404; + public const int NotAcceptable = 406; + public const int RequestTimeout = 408; + public const int Conflict = 409; + public const int UnprocessableEntity = 422; + public const int TooManyRequests = 429; + public const int InternalServerError = 500; + public const int BadGateway = 502; + public const int ServiceUnavailable = 503; + public const int GatewayTimeout = 504; + } + + /// + /// Standard HTTP headers used in API requests and responses. + /// + internal static class Headers + { + public const string Authorization = "Authorization"; + public const string ApiKey = "X-Redmine-API-Key"; + public const string Impersonate = "X-Redmine-Switch-User"; + public const string ContentType = "Content-Type"; + } + + internal static class Names + { + /// HTTP User-Agent header name. + public static string UserAgent => "User-Agent"; + } + + internal static class Values + { + /// User agent string to use for all HTTP requests. + public static string UserAgent => "Redmine-NET-API"; + } + + /// + /// MIME content types used in API requests and responses. + /// + internal static class ContentTypes + { + public const string ApplicationJson = "application/json"; + public const string ApplicationXml = "application/xml"; + public const string ApplicationOctetStream = "application/octet-stream"; + } + + /// + /// Error messages for different HTTP status codes. + /// + internal static class ErrorMessages + { + public const string NotFound = "The requested resource was not found."; + public const string Unauthorized = "Authentication is required or has failed."; + public const string Forbidden = "You don't have permission to access this resource."; + public const string Conflict = "The resource you are trying to update has been modified since you last retrieved it."; + public const string NotAcceptable = "The requested format is not supported."; + public const string InternalServerError = "The server encountered an unexpected error."; + public const string UnprocessableEntity = "Validation failed for the submitted data."; + public const string Cancelled = "The operation was cancelled."; + public const string TimedOut = "The operation has timed out."; + } + + /// + /// + /// + internal static class HttpVerbs + { + /// + /// Represents an HTTP GET protocol method that is used to get an entity identified by a URI. + /// + public const string GET = "GET"; + /// + /// Represents an HTTP PUT protocol method that is used to replace an entity identified by a URI. + /// + public const string PUT = "PUT"; + /// + /// Represents an HTTP POST protocol method that is used to post a new entity as an addition to a URI. + /// + public const string POST = "POST"; + /// + /// Represents an HTTP PATCH protocol method that is used to patch an existing entity identified by a URI. + /// + public const string PATCH = "PATCH"; + /// + /// Represents an HTTP DELETE protocol method that is used to delete an existing entity identified by a URI. + /// + public const string DELETE = "DELETE"; + + internal const string DOWNLOAD = "DOWNLOAD"; + + internal const string UPLOAD = "UPLOAD"; + } +} diff --git a/src/redmine-net-api/Http/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net-api/Http/Extensions/NameValueCollectionExtensions.cs new file mode 100644 index 00000000..3cf95a1d --- /dev/null +++ b/src/redmine-net-api/Http/Extensions/NameValueCollectionExtensions.cs @@ -0,0 +1,268 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Collections.Specialized; +using System.Globalization; +using System.Text; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.Http.Extensions +{ + /// + /// + /// + public static class NameValueCollectionExtensions + { + /// + /// Gets the parameter value. + /// + /// The parameters. + /// Name of the parameter. + /// + public static string GetParameterValue(this NameValueCollection parameters, string parameterName) + { + return GetValue(parameters, parameterName); + } + + /// + /// Gets the parameter value. + /// + /// The parameters. + /// Name of the parameter. + /// + public static string GetValue(this NameValueCollection parameters, string key) + { + if (parameters == null) + { + return null; + } + + var value = parameters.Get(key); + + return value.IsNullOrWhiteSpace() ? null : value; + } + + /// + /// + /// + /// + /// + public static string ToQueryString(this NameValueCollection requestParameters) + { + if (requestParameters == null || requestParameters.Count == 0) + { + return null; + } + + var delimiter = string.Empty; + + var stringBuilder = new StringBuilder(); + + for (var index = 0; index < requestParameters.Count; ++index) + { + stringBuilder + .Append(delimiter) + .Append(requestParameters.AllKeys[index].ToString(CultureInfo.InvariantCulture)) + .Append('=') + .Append(requestParameters[index].ToString(CultureInfo.InvariantCulture)); + delimiter = "&"; + } + + var queryString = stringBuilder.ToString(); + + stringBuilder.Length = 0; + + return queryString; + } + + internal static NameValueCollection AddPagingParameters(this NameValueCollection parameters, int pageSize, int offset) + { + parameters ??= new NameValueCollection(); + + if(pageSize <= 0) + { + pageSize = RedmineConstants.DEFAULT_PAGE_SIZE_VALUE; + } + + if(offset < 0) + { + offset = 0; + } + + parameters.Set(RedmineKeys.LIMIT, pageSize.ToInvariantString()); + parameters.Set(RedmineKeys.OFFSET, offset.ToInvariantString()); + + return parameters; + } + + internal static NameValueCollection AddParamsIfExist(this NameValueCollection parameters, string[] include) + { + if (include is not {Length: > 0}) + { + return parameters; + } + + parameters ??= new NameValueCollection(); + + parameters.Add(RedmineKeys.INCLUDE, string.Join(",", include)); + + return parameters; + } + + internal static void AddIfNotNull(this NameValueCollection nameValueCollection, string key, string value) + { + if (!value.IsNullOrWhiteSpace()) + { + nameValueCollection.Add(key, value); + } + } + + internal static void AddIfNotNull(this NameValueCollection nameValueCollection, string key, bool? value) + { + if (value.HasValue) + { + nameValueCollection.Add(key, value.Value.ToInvariantString()); + } + } + + /// + /// Creates a new NameValueCollection with an initial key-value pair. + /// + /// The key for the first item. + /// The value for the first item. + /// A new NameValueCollection containing the specified key-value pair. + public static NameValueCollection WithItem(this string key, string value) + { + var collection = new NameValueCollection(); + collection.Add(key, value); + return collection; + } + + /// + /// Adds a new key-value pair to an existing NameValueCollection and returns the collection for chaining. + /// + /// The NameValueCollection to add to. + /// The key to add. + /// The value to add. + /// The NameValueCollection with the new key-value pair added. + public static NameValueCollection AndItem(this NameValueCollection collection, string key, string value) + { + collection.Add(key, value); + return collection; + } + + /// + /// Adds a new key-value pair to an existing NameValueCollection if the condition is true. + /// + /// The NameValueCollection to add to. + /// The condition to evaluate. + /// The key to add if condition is true. + /// The value to add if condition is true. + /// The NameValueCollection, potentially with a new key-value pair added. + public static NameValueCollection AndItemIf(this NameValueCollection collection, bool condition, string key, string value) + { + if (condition) + { + collection.Add(key, value); + } + return collection; + } + + /// + /// Adds a new key-value pair to an existing NameValueCollection if the value is not null. + /// + /// The NameValueCollection to add to. + /// The key to add if value is not null. + /// The value to check and add. + /// The NameValueCollection, potentially with a new key-value pair added. + public static NameValueCollection AndItemIfNotNull(this NameValueCollection collection, string key, string value) + { + if (value != null) + { + collection.Add(key, value); + } + return collection; + } + + /// + /// Creates a new NameValueCollection with an initial key-value pair where the value is converted from an integer. + /// + /// The key for the first item. + /// The integer value to be converted to string. + /// A new NameValueCollection containing the specified key-value pair. + public static NameValueCollection WithInt(this string key, int value) + { + return key.WithItem(value.ToInvariantString()); + } + + /// + /// Adds a new key-value pair to an existing NameValueCollection where the value is converted from an integer. + /// + /// The NameValueCollection to add to. + /// The key to add. + /// The integer value to be converted to string. + /// The NameValueCollection with the new key-value pair added. + public static NameValueCollection AndInt(this NameValueCollection collection, string key, int value) + { + return collection.AndItem(key, value.ToInvariantString()); + } + + + /// + /// Converts a NameValueCollection to a Dictionary. + /// + /// The collection to convert. + /// A new Dictionary containing the collection's key-value pairs. + public static Dictionary ToDictionary(this NameValueCollection collection) + { + var dict = new Dictionary(); + + if (collection != null) + { + foreach (string key in collection.Keys) + { + dict[key] = collection[key]; + } + } + + return dict; + } + + /// + /// Creates a new NameValueCollection from a dictionary of key-value pairs. + /// + /// Dictionary of key-value pairs to add to the collection. + /// A new NameValueCollection containing the specified key-value pairs. + public static NameValueCollection ToNameValueCollection(this Dictionary keyValuePairs) + { + var collection = new NameValueCollection(); + + if (keyValuePairs != null) + { + foreach (var pair in keyValuePairs) + { + collection.Add(pair.Key, pair.Value); + } + } + + return collection; + } + + + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Net/Internal/ApiResponseMessageExtensions.cs b/src/redmine-net-api/Http/Extensions/RedmineApiResponseExtensions.cs similarity index 79% rename from src/redmine-net-api/Net/Internal/ApiResponseMessageExtensions.cs rename to src/redmine-net-api/Http/Extensions/RedmineApiResponseExtensions.cs index 4d2c4518..e03d3ed5 100644 --- a/src/redmine-net-api/Net/Internal/ApiResponseMessageExtensions.cs +++ b/src/redmine-net-api/Http/Extensions/RedmineApiResponseExtensions.cs @@ -16,26 +16,28 @@ limitations under the License. using System.Collections.Generic; using System.Text; +using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http.Messages; using Redmine.Net.Api.Serialization; -namespace Redmine.Net.Api.Net.Internal; +namespace Redmine.Net.Api.Http.Extensions; -internal static class ApiResponseMessageExtensions +internal static class RedmineApiResponseExtensions { - internal static T DeserializeTo(this ApiResponseMessage responseMessage, IRedmineSerializer redmineSerializer) where T : new() + internal static T DeserializeTo(this RedmineApiResponse responseMessage, IRedmineSerializer redmineSerializer) where T : new() { var responseAsString = GetResponseContentAsString(responseMessage); return responseAsString.IsNullOrWhiteSpace() ? default : redmineSerializer.Deserialize(responseAsString); } - internal static PagedResults DeserializeToPagedResults(this ApiResponseMessage responseMessage, IRedmineSerializer redmineSerializer) where T : class, new() + internal static PagedResults DeserializeToPagedResults(this RedmineApiResponse responseMessage, IRedmineSerializer redmineSerializer) where T : class, new() { var responseAsString = GetResponseContentAsString(responseMessage); return responseAsString.IsNullOrWhiteSpace() ? default : redmineSerializer.DeserializeToPagedResults(responseAsString); } - internal static List DeserializeToList(this ApiResponseMessage responseMessage, IRedmineSerializer redmineSerializer) where T : class, new() + internal static List DeserializeToList(this RedmineApiResponse responseMessage, IRedmineSerializer redmineSerializer) where T : class, new() { var responseAsString = GetResponseContentAsString(responseMessage); return responseAsString.IsNullOrWhiteSpace() ? null : redmineSerializer.Deserialize>(responseAsString); @@ -46,7 +48,7 @@ internal static class ApiResponseMessageExtensions /// /// The API response message. /// The content as a string, or null if the response or content is null. - private static string GetResponseContentAsString(ApiResponseMessage responseMessage) + private static string GetResponseContentAsString(RedmineApiResponse responseMessage) { return responseMessage?.Content == null ? null : Encoding.UTF8.GetString(responseMessage.Content); } diff --git a/src/redmine-net-api/Http/Helpers/RedmineExceptionHelper.cs b/src/redmine-net-api/Http/Helpers/RedmineExceptionHelper.cs new file mode 100644 index 00000000..4e0aa252 --- /dev/null +++ b/src/redmine-net-api/Http/Helpers/RedmineExceptionHelper.cs @@ -0,0 +1,139 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Net; +using System.Text; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http.Constants; +using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Types; + +namespace Redmine.Net.Api.Http.Helpers; + +/// +/// Handles HTTP status codes and converts them to appropriate Redmine exceptions. +/// +internal static class RedmineExceptionHelper +{ + /// + /// Maps an HTTP status code to an appropriate Redmine exception. + /// + /// The HTTP status code. + /// The response stream containing error details. + /// The inner exception, if any. + /// The serializer to use for deserializing error messages. + /// A specific Redmine exception based on the status code. + internal static void MapStatusCodeToException(int statusCode, Stream responseStream, Exception inner, IRedmineSerializer serializer) + { + switch (statusCode) + { + case HttpConstants.StatusCodes.NotFound: + throw new NotFoundException(HttpConstants.ErrorMessages.NotFound, inner); + + case HttpConstants.StatusCodes.Unauthorized: + throw new UnauthorizedException(HttpConstants.ErrorMessages.Unauthorized, inner); + + case HttpConstants.StatusCodes.Forbidden: + throw new ForbiddenException(HttpConstants.ErrorMessages.Forbidden, inner); + + case HttpConstants.StatusCodes.Conflict: + throw new ConflictException(HttpConstants.ErrorMessages.Conflict, inner); + + case HttpConstants.StatusCodes.UnprocessableEntity: + throw CreateUnprocessableEntityException(responseStream, inner, serializer); + + case HttpConstants.StatusCodes.NotAcceptable: + throw new NotAcceptableException(HttpConstants.ErrorMessages.NotAcceptable, inner); + + case HttpConstants.StatusCodes.InternalServerError: + throw new InternalServerErrorException(HttpConstants.ErrorMessages.InternalServerError, inner); + + default: + throw new RedmineException($"HTTP {statusCode} – {(HttpStatusCode)statusCode}", inner); + } + } + + /// + /// Creates an exception for a 422 Unprocessable Entity response. + /// + /// The response stream containing error details. + /// The inner exception, if any. + /// The serializer to use for deserializing error messages. + /// A RedmineException with details about the validation errors. + private static RedmineException CreateUnprocessableEntityException(Stream responseStream, Exception inner, IRedmineSerializer serializer) + { + var errors = GetRedmineErrors(responseStream, serializer); + + if (errors is null) + { + return new RedmineException(HttpConstants.ErrorMessages.UnprocessableEntity, inner); + } + + var sb = new StringBuilder(); + foreach (var error in errors) + { + sb.Append(error.Info); + sb.Append(Environment.NewLine); + } + + if (sb.Length > 0) + { + sb.Length -= 1; + } + + return new RedmineException($"Unprocessable Content: {sb}", inner); + } + + /// + /// Gets the Redmine errors from a response stream. + /// + /// The response stream containing error details. + /// The serializer to use for deserializing error messages. + /// A list of error objects or null if unable to parse errors. + private static List GetRedmineErrors(Stream responseStream, IRedmineSerializer serializer) + { + if (responseStream == null) + { + return null; + } + + using (responseStream) + { + try + { + using var reader = new StreamReader(responseStream); + var content = reader.ReadToEnd(); + return GetRedmineErrors(content, serializer); + } + catch(Exception ex) + { + throw new RedmineApiException(ex.Message, ex); + } + } + } + + /// + /// Gets the Redmine errors from response content. + /// + /// The response content as a string. + /// The serializer to use for deserializing error messages. + /// A list of error objects or null if unable to parse errors. + private static List GetRedmineErrors(string content, IRedmineSerializer serializer) + { + if (content.IsNullOrWhiteSpace()) + { + return null; + } + + try + { + var paged = serializer.DeserializeToPagedResults(content); + return (List)paged.Items; + } + catch(Exception ex) + { + throw new RedmineException(ex.Message, ex); + } + } +} diff --git a/src/redmine-net-api/Http/IRedmineApiClient.cs b/src/redmine-net-api/Http/IRedmineApiClient.cs new file mode 100644 index 00000000..203d9599 --- /dev/null +++ b/src/redmine-net-api/Http/IRedmineApiClient.cs @@ -0,0 +1,75 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using Redmine.Net.Api.Http.Messages; +#if !NET20 +using System.Threading; +using System.Threading.Tasks; +#endif +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Net.Internal; + +namespace Redmine.Net.Api.Http; +/// +/// +/// +internal interface IRedmineApiClient : ISyncRedmineApiClient +#if !NET20 + , IAsyncRedmineApiClient +#endif +{ +} + +internal interface ISyncRedmineApiClient +{ + RedmineApiResponse Get(string address, RequestOptions requestOptions = null); + + RedmineApiResponse GetPaged(string address, RequestOptions requestOptions = null); + + RedmineApiResponse Create(string address, string payload, RequestOptions requestOptions = null); + + RedmineApiResponse Update(string address, string payload, RequestOptions requestOptions = null); + + RedmineApiResponse Patch(string address, string payload, RequestOptions requestOptions = null); + + RedmineApiResponse Delete(string address, RequestOptions requestOptions = null); + + RedmineApiResponse Upload(string address, byte[] data, RequestOptions requestOptions = null); + + RedmineApiResponse Download(string address, RequestOptions requestOptions = null, IProgress progress = null); +} + +#if !NET20 +internal interface IAsyncRedmineApiClient +{ + Task GetAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + + Task GetPagedAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + + Task CreateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + + Task UpdateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + + Task PatchAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + + Task DeleteAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + + Task UploadFileAsync(string address, byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); + + Task DownloadAsync(string address, RequestOptions requestOptions = null, IProgress progress = null, CancellationToken cancellationToken = default); +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api/Http/IRedmineApiClientOptions.cs b/src/redmine-net-api/Http/IRedmineApiClientOptions.cs new file mode 100644 index 00000000..44089261 --- /dev/null +++ b/src/redmine-net-api/Http/IRedmineApiClientOptions.cs @@ -0,0 +1,148 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using System.Collections.Generic; +using System.Net; +using System.Net.Cache; +using System.Net.Security; +using System.Security.Cryptography.X509Certificates; + +namespace Redmine.Net.Api.Http +{ + /// + /// + /// + public interface IRedmineApiClientOptions + { + /// + /// + /// + bool? AutoRedirect { get; set; } + + /// + /// + /// + CookieContainer CookieContainer { get; set; } + + /// + /// + /// + DecompressionMethods? DecompressionFormat { get; set; } + + /// + /// + /// + ICredentials Credentials { get; set; } + + /// + /// + /// + Dictionary DefaultHeaders { get; set; } + + /// + /// + /// + IWebProxy Proxy { get; set; } + + /// + /// + /// + int? MaxAutomaticRedirections { get; set; } + +#if NET471_OR_GREATER || NET + /// + /// + /// + int? MaxConnectionsPerServer { get; set; } + + /// + /// + /// + int? MaxResponseHeadersLength { get; set; } +#endif + /// + /// + /// + bool? PreAuthenticate { get; set; } + + /// + /// + /// + RequestCachePolicy RequestCachePolicy { get; set; } + + /// + /// + /// + string Scheme { get; set; } + + /// + /// + /// + TimeSpan? Timeout { get; set; } + + /// + /// + /// + string UserAgent { get; set; } + + /// + /// + /// + bool? UseCookies { get; set; } + +#if NETFRAMEWORK + + /// + /// + /// + bool CheckCertificateRevocationList { get; set; } + + /// + /// + /// + long? MaxRequestContentBufferSize { get; set; } + + /// + /// + /// + long? MaxResponseContentBufferSize { get; set; } + + /// + /// + /// + bool? UseDefaultCredentials { get; set; } +#endif + /// + /// + /// + bool? UseProxy { get; set; } + + /// + /// + /// + /// Only HTTP/1.0 and HTTP/1.1 version requests are currently supported. + Version ProtocolVersion { get; set; } + + +#if NET40_OR_GREATER || NET + /// + /// + /// + public X509CertificateCollection ClientCertificates { get; set; } +#endif + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Net/Internal/ApiRequestMessage.cs b/src/redmine-net-api/Http/Messages/RedmineApiRequest.cs similarity index 74% rename from src/redmine-net-api/Net/Internal/ApiRequestMessage.cs rename to src/redmine-net-api/Http/Messages/RedmineApiRequest.cs index bbd31924..ad42592d 100644 --- a/src/redmine-net-api/Net/Internal/ApiRequestMessage.cs +++ b/src/redmine-net-api/Http/Messages/RedmineApiRequest.cs @@ -15,13 +15,15 @@ limitations under the License. */ using System.Collections.Specialized; +using Redmine.Net.Api.Http.Clients.WebClient; +using Redmine.Net.Api.Http.Constants; -namespace Redmine.Net.Api.Net.Internal; +namespace Redmine.Net.Api.Http.Messages; -internal sealed class ApiRequestMessage +internal sealed class RedmineApiRequest { - public ApiRequestMessageContent Content { get; set; } - public string Method { get; set; } = HttpVerbs.GET; + public RedmineApiRequestContent Content { get; set; } + public string Method { get; set; } = HttpConstants.HttpVerbs.GET; public string RequestUri { get; set; } public NameValueCollection QueryString { get; set; } public string ImpersonateUser { get; set; } diff --git a/src/redmine-net-api/Net/Internal/ApiResponseMessage.cs b/src/redmine-net-api/Http/Messages/RedmineApiResponse.cs similarity index 90% rename from src/redmine-net-api/Net/Internal/ApiResponseMessage.cs rename to src/redmine-net-api/Http/Messages/RedmineApiResponse.cs index f04c45d1..71fb1948 100644 --- a/src/redmine-net-api/Net/Internal/ApiResponseMessage.cs +++ b/src/redmine-net-api/Http/Messages/RedmineApiResponse.cs @@ -17,9 +17,9 @@ limitations under the License. using System.Collections.Specialized; using System.Net; -namespace Redmine.Net.Api.Net.Internal; +namespace Redmine.Net.Api.Http.Messages; -internal sealed class ApiResponseMessage +internal sealed class RedmineApiResponse { public NameValueCollection Headers { get; init; } public byte[] Content { get; init; } diff --git a/src/redmine-net-api/Net/RedirectType.cs b/src/redmine-net-api/Http/RedirectType.cs similarity index 93% rename from src/redmine-net-api/Net/RedirectType.cs rename to src/redmine-net-api/Http/RedirectType.cs index ae9aedb5..5bb7acf7 100644 --- a/src/redmine-net-api/Net/RedirectType.cs +++ b/src/redmine-net-api/Http/RedirectType.cs @@ -14,12 +14,12 @@ You may obtain a copy of the License at limitations under the License. */ -namespace Redmine.Net.Api +namespace Redmine.Net.Api.Http { /// /// /// - public enum RedirectType + internal enum RedirectType { /// /// diff --git a/src/redmine-net-api/Http/RedmineApiClient.Async.cs b/src/redmine-net-api/Http/RedmineApiClient.Async.cs new file mode 100644 index 00000000..e30fb302 --- /dev/null +++ b/src/redmine-net-api/Http/RedmineApiClient.Async.cs @@ -0,0 +1,77 @@ +#if !NET20 +using System; +using System.Threading; +using System.Threading.Tasks; +using Redmine.Net.Api.Http.Constants; +using Redmine.Net.Api.Http.Messages; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Net.Internal; + +namespace Redmine.Net.Api.Http; + +internal abstract partial class RedmineApiClient +{ + public async Task GetAsync(string address, RequestOptions requestOptions = null, + CancellationToken cancellationToken = default) + { + return await HandleRequestAsync(address, HttpConstants.HttpVerbs.GET, requestOptions, cancellationToken: cancellationToken) + .ConfigureAwait(false); + } + + public async Task GetPagedAsync(string address, RequestOptions requestOptions = null, + CancellationToken cancellationToken = default) + { + return await GetAsync(address, requestOptions, cancellationToken).ConfigureAwait(false); + } + + public async Task CreateAsync(string address, string payload, + RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return await HandleRequestAsync(address, HttpConstants.HttpVerbs.POST, requestOptions, CreateContentFromPayload(payload), + cancellationToken: cancellationToken).ConfigureAwait(false); + } + + public async Task UpdateAsync(string address, string payload, + RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return await HandleRequestAsync(address, HttpConstants.HttpVerbs.PUT, requestOptions, CreateContentFromPayload(payload), + cancellationToken: cancellationToken).ConfigureAwait(false); + } + + public async Task UploadFileAsync(string address, byte[] data, + RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return await HandleRequestAsync(address, HttpConstants.HttpVerbs.POST, requestOptions, CreateContentFromBytes(data), + cancellationToken: cancellationToken).ConfigureAwait(false); + } + + public async Task PatchAsync(string address, string payload, + RequestOptions requestOptions = null, CancellationToken cancellationToken = default) + { + return await HandleRequestAsync(address, HttpConstants.HttpVerbs.PATCH, requestOptions, CreateContentFromPayload(payload), + cancellationToken: cancellationToken).ConfigureAwait(false); + } + + public async Task DeleteAsync(string address, RequestOptions requestOptions = null, + CancellationToken cancellationToken = default) + { + return await HandleRequestAsync(address, HttpConstants.HttpVerbs.DELETE, requestOptions, cancellationToken: cancellationToken) + .ConfigureAwait(false); + } + + public async Task DownloadAsync(string address, RequestOptions requestOptions = null, + IProgress progress = null, CancellationToken cancellationToken = default) + { + return await HandleRequestAsync(address, HttpConstants.HttpVerbs.DOWNLOAD, requestOptions, progress: progress, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + + protected abstract Task HandleRequestAsync( + string address, + string verb, + RequestOptions requestOptions = null, + object content = null, + IProgress progress = null, + CancellationToken cancellationToken = default); +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api/Http/RedmineApiClient.cs b/src/redmine-net-api/Http/RedmineApiClient.cs new file mode 100644 index 00000000..c105e59e --- /dev/null +++ b/src/redmine-net-api/Http/RedmineApiClient.cs @@ -0,0 +1,113 @@ +using System; +using Redmine.Net.Api.Authentication; +using Redmine.Net.Api.Http.Constants; +using Redmine.Net.Api.Http.Messages; +using Redmine.Net.Api.Net; +using Redmine.Net.Api.Net.Internal; +using Redmine.Net.Api.Options; +using Redmine.Net.Api.Serialization; + +namespace Redmine.Net.Api.Http; + +internal abstract partial class RedmineApiClient : IRedmineApiClient +{ + protected readonly IRedmineAuthentication Credentials; + protected readonly IRedmineSerializer Serializer; + protected readonly RedmineManagerOptions Options; + + protected RedmineApiClient(RedmineManagerOptions redmineManagerOptions) + { + Credentials = redmineManagerOptions.Authentication; + Serializer = redmineManagerOptions.Serializer; + Options = redmineManagerOptions; + } + + public RedmineApiResponse Get(string address, RequestOptions requestOptions = null) + { + return HandleRequest(address, HttpConstants.HttpVerbs.GET, requestOptions); + } + + public RedmineApiResponse GetPaged(string address, RequestOptions requestOptions = null) + { + return Get(address, requestOptions); + } + + public RedmineApiResponse Create(string address, string payload, RequestOptions requestOptions = null) + { + return HandleRequest(address, HttpConstants.HttpVerbs.POST, requestOptions, CreateContentFromPayload(payload)); + } + + public RedmineApiResponse Update(string address, string payload, RequestOptions requestOptions = null) + { + return HandleRequest(address, HttpConstants.HttpVerbs.PUT, requestOptions, CreateContentFromPayload(payload)); + } + + public RedmineApiResponse Patch(string address, string payload, RequestOptions requestOptions = null) + { + return HandleRequest(address, HttpConstants.HttpVerbs.PATCH, requestOptions, CreateContentFromPayload(payload)); + } + + public RedmineApiResponse Delete(string address, RequestOptions requestOptions = null) + { + return HandleRequest(address, HttpConstants.HttpVerbs.DELETE, requestOptions); + } + + public RedmineApiResponse Download(string address, RequestOptions requestOptions = null, + IProgress progress = null) + { + return HandleRequest(address, HttpConstants.HttpVerbs.DOWNLOAD, requestOptions, progress: progress); + } + + public RedmineApiResponse Upload(string address, byte[] data, RequestOptions requestOptions = null) + { + return HandleRequest(address, HttpConstants.HttpVerbs.POST, requestOptions, CreateContentFromBytes(data)); + } + + protected abstract RedmineApiResponse HandleRequest( + string address, + string verb, + RequestOptions requestOptions = null, + object content = null, + IProgress progress = null); + + protected abstract object CreateContentFromPayload(string payload); + + protected abstract object CreateContentFromBytes(byte[] data); + + protected static bool IsGetOrDownload(string method) + { + return method is HttpConstants.HttpVerbs.GET or HttpConstants.HttpVerbs.DOWNLOAD; + } + + protected static void ReportProgress(IProgressprogress, long total, long bytesRead) + { + if (progress == null || total <= 0) + { + return; + } + var percent = (int)(bytesRead * 100L / total); + progress.Report(percent); + } + + // protected void LogRequest(string verb, string address, RequestOptions requestOptions) + // { + // if (_options.LoggingOptions?.IncludeHttpDetails == true) + // { + // _options.Logger.Debug($"Request HTTP {verb} {address}"); + // + // if (requestOptions?.QueryString != null) + // { + // _options.Logger.Debug($"Query parameters: {requestOptions.QueryString.ToQueryString()}"); + // } + // } + // } + // + // protected void LogResponse(HttpStatusCode statusCode) + // { + // if (_options.LoggingOptions?.IncludeHttpDetails == true) + // { + // _options.Logger.Debug($"Response status: {statusCode}"); + // } + // } + +} \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs b/src/redmine-net-api/Http/RedmineApiClientOptions.cs similarity index 56% rename from src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs rename to src/redmine-net-api/Http/RedmineApiClientOptions.cs index 714df02d..1cf7f6cc 100644 --- a/src/redmine-net-api/Net/WebClient/RedmineWebClientOptions.cs +++ b/src/redmine-net-api/Http/RedmineApiClientOptions.cs @@ -1,31 +1,19 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - using System; using System.Collections.Generic; using System.Net; using System.Net.Cache; +#if NET || NET471_OR_GREATER +using System.Net.Http; +#endif using System.Net.Security; using System.Security.Cryptography.X509Certificates; -namespace Redmine.Net.Api.Net.WebClient; +namespace Redmine.Net.Api.Http; + /// /// /// -public sealed class RedmineWebClientOptions: IRedmineWebClientOptions +public abstract class RedmineApiClientOptions : IRedmineApiClientOptions { /// /// @@ -40,7 +28,12 @@ public sealed class RedmineWebClientOptions: IRedmineWebClientOptions /// /// /// - public DecompressionMethods? DecompressionFormat { get; set; } + public DecompressionMethods? DecompressionFormat { get; set; } = +#if NET + DecompressionMethods.All; +#else + DecompressionMethods.GZip | DecompressionMethods.Deflate | DecompressionMethods.None; +#endif /// /// @@ -57,20 +50,12 @@ public sealed class RedmineWebClientOptions: IRedmineWebClientOptions /// public IWebProxy Proxy { get; set; } - /// - /// - /// - public bool? KeepAlive { get; set; } - /// /// /// public int? MaxAutomaticRedirections { get; set; } - /// - /// - /// - public long? MaxRequestContentBufferSize { get; set; } + /// /// @@ -102,36 +87,38 @@ public sealed class RedmineWebClientOptions: IRedmineWebClientOptions /// public string Scheme { get; set; } = "https"; + /// /// /// - public RemoteCertificateValidationCallback ServerCertificateValidationCallback { get; set; } + public TimeSpan? Timeout { get; set; } = TimeSpan.FromSeconds(30); /// /// /// - public TimeSpan? Timeout { get; set; } + public string UserAgent { get; set; } = "RedmineDotNetAPIClient"; /// /// /// - public bool? UnsafeAuthenticatedConnectionSharing { get; set; } + public bool? UseCookies { get; set; } - /// +#if NETFRAMEWORK + /// /// /// - public string UserAgent { get; set; } = "RedmineDotNetAPIClient"; + public bool CheckCertificateRevocationList { get; set; } - /// + /// /// /// - public bool? UseCookies { get; set; } + public long? MaxRequestContentBufferSize { get; set; } /// /// /// public bool? UseDefaultCredentials { get; set; } - +#endif /// /// /// @@ -143,53 +130,15 @@ public sealed class RedmineWebClientOptions: IRedmineWebClientOptions /// Only HTTP/1.0 and HTTP/1.1 version requests are currently supported. public Version ProtocolVersion { get; set; } + - #if NET40_OR_GREATER || NETCOREAPP - /// - /// - /// - public X509CertificateCollection ClientCertificates { get; set; } - #endif - - /// - /// - /// - public bool CheckCertificateRevocationList { get; set; } - - /// - /// - /// - public int? DefaultConnectionLimit { get; set; } - - /// - /// - /// - public int? DnsRefreshTimeout { get; set; } - - /// - /// - /// - public bool? EnableDnsRoundRobin { get; set; } - - /// - /// - /// - public int? MaxServicePoints { get; set; } - - /// - /// - /// - public int? MaxServicePointIdleTime { get; set; } - #if(NET46_OR_GREATER || NETCOREAPP) +#if NET40_OR_GREATER || NETCOREAPP /// /// /// - public bool? ReusePort { get; set; } - #endif + public X509CertificateCollection ClientCertificates { get; set; } +#endif - /// - /// - /// - public SecurityProtocolType? SecurityProtocolType { get; set; } + } \ No newline at end of file diff --git a/src/redmine-net-api/Net/RequestOptions.cs b/src/redmine-net-api/Http/RequestOptions.cs similarity index 98% rename from src/redmine-net-api/Net/RequestOptions.cs rename to src/redmine-net-api/Http/RequestOptions.cs index 7f3aa069..1e06ae53 100644 --- a/src/redmine-net-api/Net/RequestOptions.cs +++ b/src/redmine-net-api/Http/RequestOptions.cs @@ -18,7 +18,7 @@ limitations under the License. using System.Collections.Specialized; using Redmine.Net.Api.Extensions; -namespace Redmine.Net.Api.Net; +namespace Redmine.Net.Api.Http; /// /// diff --git a/src/redmine-net-api/IRedmineManagerAsync.cs b/src/redmine-net-api/IRedmineManager.Async.cs similarity index 99% rename from src/redmine-net-api/IRedmineManagerAsync.cs rename to src/redmine-net-api/IRedmineManager.Async.cs index 8d0098e5..0cb733b5 100644 --- a/src/redmine-net-api/IRedmineManagerAsync.cs +++ b/src/redmine-net-api/IRedmineManager.Async.cs @@ -19,6 +19,8 @@ limitations under the License. using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; +using Redmine.Net.Api.Common; +using Redmine.Net.Api.Http; using Redmine.Net.Api.Net; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index 8642a6e8..e7f487dc 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -16,11 +16,12 @@ limitations under the License. using System; using System.Collections.Generic; +using Redmine.Net.Api.Common; using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Http; +using Redmine.Net.Api.Types; -namespace Redmine.Net.Api.Types; +namespace Redmine.Net.Api; /// /// diff --git a/src/redmine-net-api/Net/HttpVerbs.cs b/src/redmine-net-api/Net/HttpVerbs.cs deleted file mode 100644 index e7851896..00000000 --- a/src/redmine-net-api/Net/HttpVerbs.cs +++ /dev/null @@ -1,51 +0,0 @@ -/* -Copyright 2011 - 2025 Adrian Popescu - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -namespace Redmine.Net.Api -{ - - /// - /// - /// - public static class HttpVerbs - { - /// - /// Represents an HTTP GET protocol method that is used to get an entity identified by a URI. - /// - public const string GET = "GET"; - /// - /// Represents an HTTP PUT protocol method that is used to replace an entity identified by a URI. - /// - public const string PUT = "PUT"; - /// - /// Represents an HTTP POST protocol method that is used to post a new entity as an addition to a URI. - /// - public const string POST = "POST"; - /// - /// Represents an HTTP PATCH protocol method that is used to patch an existing entity identified by a URI. - /// - public const string PATCH = "PATCH"; - /// - /// Represents an HTTP DELETE protocol method that is used to delete an existing entity identified by a URI. - /// - public const string DELETE = "DELETE"; - - - internal const string DOWNLOAD = "DOWNLOAD"; - - internal const string UPLOAD = "UPLOAD"; - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Net/IRedmineApiClientOptions.cs b/src/redmine-net-api/Net/IRedmineApiClientOptions.cs deleted file mode 100644 index 57431696..00000000 --- a/src/redmine-net-api/Net/IRedmineApiClientOptions.cs +++ /dev/null @@ -1,197 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Generic; -using System.Net; -using System.Net.Cache; -using System.Net.Security; -using System.Security.Cryptography.X509Certificates; - -namespace Redmine.Net.Api.Net -{ - /// - /// - /// - public interface IRedmineApiClientOptions - { - /// - /// - /// - bool? AutoRedirect { get; set; } - - /// - /// - /// - CookieContainer CookieContainer { get; set; } - - /// - /// - /// - DecompressionMethods? DecompressionFormat { get; set; } - - /// - /// - /// - ICredentials Credentials { get; set; } - - /// - /// - /// - Dictionary DefaultHeaders { get; set; } - - /// - /// - /// - IWebProxy Proxy { get; set; } - - /// - /// - /// - bool? KeepAlive { get; set; } - - /// - /// - /// - int? MaxAutomaticRedirections { get; set; } - - /// - /// - /// - long? MaxRequestContentBufferSize { get; set; } - - /// - /// - /// - long? MaxResponseContentBufferSize { get; set; } - -#if NET471_OR_GREATER || NETCOREAPP - /// - /// - /// - int? MaxConnectionsPerServer { get; set; } - - /// - /// - /// - int? MaxResponseHeadersLength { get; set; } -#endif - /// - /// - /// - bool? PreAuthenticate { get; set; } - - /// - /// - /// - RequestCachePolicy RequestCachePolicy { get; set; } - - /// - /// - /// - string Scheme { get; set; } - - /// - /// - /// - RemoteCertificateValidationCallback ServerCertificateValidationCallback { get; set; } - - /// - /// - /// - TimeSpan? Timeout { get; set; } - - /// - /// - /// - bool? UnsafeAuthenticatedConnectionSharing { get; set; } - - /// - /// - /// - string UserAgent { get; set; } - - /// - /// - /// - bool? UseCookies { get; set; } - - /// - /// - /// - bool? UseDefaultCredentials { get; set; } - - /// - /// - /// - bool? UseProxy { get; set; } - - /// - /// - /// - /// Only HTTP/1.0 and HTTP/1.1 version requests are currently supported. - Version ProtocolVersion { get; set; } - - /// - /// - /// - bool CheckCertificateRevocationList { get; set; } - - /// - /// - /// - int? DefaultConnectionLimit { get; set; } - - /// - /// - /// - int? DnsRefreshTimeout { get; set; } - - /// - /// - /// - bool? EnableDnsRoundRobin { get; set; } - - /// - /// - /// - int? MaxServicePoints { get; set; } - - /// - /// - /// - int? MaxServicePointIdleTime { get; set; } - - /// - /// - /// - SecurityProtocolType? SecurityProtocolType { get; set; } - -#if NET40_OR_GREATER || NETCOREAPP - /// - /// - /// - public X509CertificateCollection ClientCertificates { get; set; } -#endif - -#if(NET46_OR_GREATER || NETCOREAPP) - /// - /// - /// - public bool? ReusePort { get; set; } -#endif - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Net/Internal/ApiRequestMessageContent.cs b/src/redmine-net-api/Net/Internal/ApiRequestMessageContent.cs deleted file mode 100644 index 296d7a4d..00000000 --- a/src/redmine-net-api/Net/Internal/ApiRequestMessageContent.cs +++ /dev/null @@ -1,24 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -namespace Redmine.Net.Api.Net.Internal; - -internal abstract class ApiRequestMessageContent -{ - public string ContentType { get; internal set; } - - public byte[] Body { get; internal set; } -} \ No newline at end of file diff --git a/src/redmine-net-api/Net/Internal/HttpStatusHelper.cs b/src/redmine-net-api/Net/Internal/HttpStatusHelper.cs deleted file mode 100644 index 90fe88c9..00000000 --- a/src/redmine-net-api/Net/Internal/HttpStatusHelper.cs +++ /dev/null @@ -1,98 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Net; -using System.Text; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Serialization; -using Redmine.Net.Api.Types; - -namespace Redmine.Net.Api.Net.Internal; - -internal static class HttpStatusHelper -{ - internal static void MapStatusCodeToException(int statusCode, Stream responseStream, Exception inner, IRedmineSerializer serializer) - { - switch (statusCode) - { - case (int)HttpStatusCode.NotFound: - throw new NotFoundException("Not found.", inner); - - case (int)HttpStatusCode.Unauthorized: - throw new UnauthorizedException("Unauthorized.", inner); - - case (int)HttpStatusCode.Forbidden: - throw new ForbiddenException("Forbidden.", inner); - - case (int)HttpStatusCode.Conflict: - throw new ConflictException("The page that you are trying to update is stale!", inner); - - case 422: - var exception = CreateUnprocessableEntityException(responseStream, inner, serializer); - throw exception; - - case (int)HttpStatusCode.NotAcceptable: - throw new NotAcceptableException("Not acceptable.", inner); - - case (int)HttpStatusCode.InternalServerError: - throw new InternalServerErrorException("Internal server error.", inner); - - default: - throw new RedmineException($"HTTP {(int)statusCode} – {statusCode}", inner); - } - } - - private static RedmineException CreateUnprocessableEntityException( - Stream responseStream, - Exception inner, - IRedmineSerializer serializer) - { - var errors = GetRedmineErrors(responseStream, serializer); - - if (errors is null) - { - return new RedmineException("Unprocessable Content", inner); - } - - var sb = new StringBuilder(); - foreach (var error in errors) - { - sb.Append(error.Info).Append(Environment.NewLine); - } - - sb.Length -= 1; - return new RedmineException($"Unprocessable Content: {sb}", inner); - } - - - /// - /// Gets the redmine exceptions. - /// - /// - /// - /// - private static List GetRedmineErrors(Stream responseStream, IRedmineSerializer serializer) - { - if (responseStream == null) - { - return null; - } - - using (responseStream) - { - using var streamReader = new StreamReader(responseStream); - var responseContent = streamReader.ReadToEnd(); - - return GetRedmineErrors(responseContent, serializer); - } - } - - private static List GetRedmineErrors(string content, IRedmineSerializer serializer) - { - if (content.IsNullOrWhiteSpace()) return null; - - var paged = serializer.DeserializeToPagedResults(content); - return (List)paged.Items; - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Net/Internal/IAsyncRedmineApiClient.cs b/src/redmine-net-api/Net/Internal/IAsyncRedmineApiClient.cs deleted file mode 100644 index 92210bd6..00000000 --- a/src/redmine-net-api/Net/Internal/IAsyncRedmineApiClient.cs +++ /dev/null @@ -1,42 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -#if !(NET20 || NET35) -using System; -using System.Threading; -using System.Threading.Tasks; - -namespace Redmine.Net.Api.Net.Internal; - -internal interface IAsyncRedmineApiClient -{ - Task GetAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - - Task GetPagedAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - - Task CreateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - - Task UpdateAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - - Task PatchAsync(string address, string payload, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - - Task DeleteAsync(string address, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - - Task UploadFileAsync(string address, byte[] data, RequestOptions requestOptions = null, CancellationToken cancellationToken = default); - - Task DownloadAsync(string address, RequestOptions requestOptions = null, IProgress progress = null, CancellationToken cancellationToken = default); -} -#endif \ No newline at end of file diff --git a/src/redmine-net-api/Net/Internal/IRedmineApiClient.cs b/src/redmine-net-api/Net/Internal/IRedmineApiClient.cs deleted file mode 100644 index 29b90d0f..00000000 --- a/src/redmine-net-api/Net/Internal/IRedmineApiClient.cs +++ /dev/null @@ -1,27 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -namespace Redmine.Net.Api.Net.Internal; - -/// -/// -/// -internal interface IRedmineApiClient : ISyncRedmineApiClient -#if !(NET20 || NET35) - , IAsyncRedmineApiClient -#endif -{ -} \ No newline at end of file diff --git a/src/redmine-net-api/Net/Internal/ISyncRedmineApiClient.cs b/src/redmine-net-api/Net/Internal/ISyncRedmineApiClient.cs deleted file mode 100644 index 5fd2e239..00000000 --- a/src/redmine-net-api/Net/Internal/ISyncRedmineApiClient.cs +++ /dev/null @@ -1,38 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; - -namespace Redmine.Net.Api.Net.Internal; - -internal interface ISyncRedmineApiClient -{ - ApiResponseMessage Get(string address, RequestOptions requestOptions = null); - - ApiResponseMessage GetPaged(string address, RequestOptions requestOptions = null); - - ApiResponseMessage Create(string address, string payload, RequestOptions requestOptions = null); - - ApiResponseMessage Update(string address, string payload, RequestOptions requestOptions = null); - - ApiResponseMessage Patch(string address, string payload, RequestOptions requestOptions = null); - - ApiResponseMessage Delete(string address, RequestOptions requestOptions = null); - - ApiResponseMessage Upload(string address, byte[] data, RequestOptions requestOptions = null); - - ApiResponseMessage Download(string address, RequestOptions requestOptions = null, IProgress progress = null); -} \ No newline at end of file diff --git a/src/redmine-net-api/Net/Internal/RedmineApiUrls.cs b/src/redmine-net-api/Net/Internal/RedmineApiUrls.cs index 8d83883e..8fa0b3a1 100644 --- a/src/redmine-net-api/Net/Internal/RedmineApiUrls.cs +++ b/src/redmine-net-api/Net/Internal/RedmineApiUrls.cs @@ -18,6 +18,7 @@ limitations under the License. using System.Collections.Generic; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http; using Redmine.Net.Api.Types; using Version = Redmine.Net.Api.Types.Version; diff --git a/src/redmine-net-api/Net/Internal/RedmineApiUrlsExtensions.cs b/src/redmine-net-api/Net/Internal/RedmineApiUrlsExtensions.cs index 9ed8ab34..753b439d 100644 --- a/src/redmine-net-api/Net/Internal/RedmineApiUrlsExtensions.cs +++ b/src/redmine-net-api/Net/Internal/RedmineApiUrlsExtensions.cs @@ -14,9 +14,6 @@ You may obtain a copy of the License at limitations under the License. */ -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; - namespace Redmine.Net.Api.Net.Internal; internal static class RedmineApiUrlsExtensions @@ -63,21 +60,11 @@ public static string ProjectRepositoryRemoveRelatedIssue(this RedmineApiUrls red public static string ProjectNews(this RedmineApiUrls redmineApiUrls, string projectIdentifier) { - if (projectIdentifier.IsNullOrWhiteSpace()) - { - throw new RedmineException($"Argument '{nameof(projectIdentifier)}' is null or whitespace"); - } - return $"{RedmineKeys.PROJECTS}/{projectIdentifier}/{RedmineKeys.NEWS}.{redmineApiUrls.Format}"; } public static string ProjectMemberships(this RedmineApiUrls redmineApiUrls, string projectIdentifier) { - if (projectIdentifier.IsNullOrWhiteSpace()) - { - throw new RedmineException($"Argument '{nameof(projectIdentifier)}' is null or whitespace"); - } - return $"{RedmineKeys.PROJECTS}/{projectIdentifier}/{RedmineKeys.MEMBERSHIPS}.{redmineApiUrls.Format}"; } @@ -118,61 +105,26 @@ public static string ProjectWikis(this RedmineApiUrls redmineApiUrls, string pro public static string IssueWatcherAdd(this RedmineApiUrls redmineApiUrls, string issueIdentifier) { - if (issueIdentifier.IsNullOrWhiteSpace()) - { - throw new RedmineException($"Argument '{nameof(issueIdentifier)}' is null or whitespace"); - } - return $"{RedmineKeys.ISSUES}/{issueIdentifier}/{RedmineKeys.WATCHERS}.{redmineApiUrls.Format}"; } public static string IssueWatcherRemove(this RedmineApiUrls redmineApiUrls, string issueIdentifier, string userId) { - if (issueIdentifier.IsNullOrWhiteSpace()) - { - throw new RedmineException($"Argument '{nameof(issueIdentifier)}' is null or whitespace"); - } - - if (userId.IsNullOrWhiteSpace()) - { - throw new RedmineException($"Argument '{nameof(userId)}' is null or whitespace"); - } - return $"{RedmineKeys.ISSUES}/{issueIdentifier}/{RedmineKeys.WATCHERS}/{userId}.{redmineApiUrls.Format}"; } public static string GroupUserAdd(this RedmineApiUrls redmineApiUrls, string groupIdentifier) { - if (groupIdentifier.IsNullOrWhiteSpace()) - { - throw new RedmineException($"Argument '{nameof(groupIdentifier)}' is null or whitespace"); - } - return $"{RedmineKeys.GROUPS}/{groupIdentifier}/{RedmineKeys.USERS}.{redmineApiUrls.Format}"; } public static string GroupUserRemove(this RedmineApiUrls redmineApiUrls, string groupIdentifier, string userId) { - if (groupIdentifier.IsNullOrWhiteSpace()) - { - throw new RedmineException($"Argument '{nameof(groupIdentifier)}' is null or whitespace"); - } - - if (userId.IsNullOrWhiteSpace()) - { - throw new RedmineException($"Argument '{nameof(userId)}' is null or whitespace"); - } - return $"{RedmineKeys.GROUPS}/{groupIdentifier}/{RedmineKeys.USERS}/{userId}.{redmineApiUrls.Format}"; } public static string AttachmentUpdate(this RedmineApiUrls redmineApiUrls, string issueIdentifier) { - if (issueIdentifier.IsNullOrWhiteSpace()) - { - throw new RedmineException($"Argument '{nameof(issueIdentifier)}' is null or whitespace"); - } - return $"{RedmineKeys.ATTACHMENTS}/{RedmineKeys.ISSUES}/{issueIdentifier}.{redmineApiUrls.Format}"; } diff --git a/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs deleted file mode 100644 index e69dffbd..00000000 --- a/src/redmine-net-api/Net/WebClient/Extensions/NameValueCollectionExtensions.cs +++ /dev/null @@ -1,140 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Collections.Specialized; -using System.Globalization; -using System.Text; - -namespace Redmine.Net.Api.Extensions -{ - /// - /// - /// - public static class NameValueCollectionExtensions - { - /// - /// Gets the parameter value. - /// - /// The parameters. - /// Name of the parameter. - /// - public static string GetParameterValue(this NameValueCollection parameters, string parameterName) - { - return GetValue(parameters, parameterName); - } - - /// - /// Gets the parameter value. - /// - /// The parameters. - /// Name of the parameter. - /// - public static string GetValue(this NameValueCollection parameters, string key) - { - if (parameters == null) - { - return null; - } - - var value = parameters.Get(key); - - return value.IsNullOrWhiteSpace() ? null : value; - } - - /// - /// - /// - /// - /// - public static string ToQueryString(this NameValueCollection requestParameters) - { - if (requestParameters == null || requestParameters.Count == 0) - { - return null; - } - - var delimiter = string.Empty; - - var stringBuilder = new StringBuilder(); - - for (var index = 0; index < requestParameters.Count; ++index) - { - stringBuilder - .Append(delimiter) - .Append(requestParameters.AllKeys[index].ToString(CultureInfo.InvariantCulture)) - .Append('=') - .Append(requestParameters[index].ToString(CultureInfo.InvariantCulture)); - delimiter = "&"; - } - - var queryString = stringBuilder.ToString(); - - stringBuilder.Length = 0; - - return queryString; - } - - internal static NameValueCollection AddPagingParameters(this NameValueCollection parameters, int pageSize, int offset) - { - parameters ??= new NameValueCollection(); - - if(pageSize <= 0) - { - pageSize = RedmineConstants.DEFAULT_PAGE_SIZE_VALUE; - } - - if(offset < 0) - { - offset = 0; - } - - parameters.Set(RedmineKeys.LIMIT, pageSize.ToInvariantString()); - parameters.Set(RedmineKeys.OFFSET, offset.ToInvariantString()); - - return parameters; - } - - internal static NameValueCollection AddParamsIfExist(this NameValueCollection parameters, string[] include) - { - if (include is not {Length: > 0}) - { - return parameters; - } - - parameters ??= new NameValueCollection(); - - parameters.Add(RedmineKeys.INCLUDE, string.Join(",", include)); - - return parameters; - } - - internal static void AddIfNotNull(this NameValueCollection nameValueCollection, string key, string value) - { - if (!value.IsNullOrWhiteSpace()) - { - nameValueCollection.Add(key, value); - } - } - - internal static void AddIfNotNull(this NameValueCollection nameValueCollection, string key, bool? value) - { - if (value.HasValue) - { - nameValueCollection.Add(key, value.Value.ToInvariantString()); - } - } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/Extensions/WebExceptionExtensions.cs b/src/redmine-net-api/Net/WebClient/Extensions/WebExceptionExtensions.cs deleted file mode 100644 index 3820d457..00000000 --- a/src/redmine-net-api/Net/WebClient/Extensions/WebExceptionExtensions.cs +++ /dev/null @@ -1,75 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System.Net; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Net.Internal; -using Redmine.Net.Api.Serialization; - -namespace Redmine.Net.Api.Net.WebClient.Extensions -{ - /// - /// - /// - internal static class WebExceptionExtensions - { - /// - /// Handles the web exception. - /// - /// The exception. - /// - /// Timeout! - /// Bad domain name! - /// - /// - /// - /// - /// The page that you are trying to update is staled! - /// - /// - public static void HandleWebException(this WebException exception, IRedmineSerializer serializer) - { - if (exception == null) - { - return; - } - - var innerException = exception.InnerException ?? exception; - - switch (exception.Status) - { - case WebExceptionStatus.Timeout: - throw new RedmineTimeoutException(nameof(WebExceptionStatus.Timeout), innerException); - case WebExceptionStatus.NameResolutionFailure: - throw new NameResolutionFailureException("Bad domain name.", innerException); - case WebExceptionStatus.ProtocolError: - if (exception.Response != null) - { - var statusCode = exception.Response is HttpWebResponse httpResponse - ? (int)httpResponse.StatusCode - : (int)HttpStatusCode.InternalServerError; - - using var responseStream = exception.Response.GetResponseStream(); - HttpStatusHelper.MapStatusCodeToException(statusCode, responseStream, innerException, serializer); - - } - - break; - } - throw new RedmineException(exception.Message, innerException); - } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/IRedmineWebClientOptions.cs b/src/redmine-net-api/Net/WebClient/IRedmineWebClientOptions.cs deleted file mode 100644 index 1c7635f0..00000000 --- a/src/redmine-net-api/Net/WebClient/IRedmineWebClientOptions.cs +++ /dev/null @@ -1,22 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -namespace Redmine.Net.Api.Net.WebClient; - -/// -/// -/// -public interface IRedmineWebClientOptions : IRedmineApiClientOptions; \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs deleted file mode 100644 index 25dbc941..00000000 --- a/src/redmine-net-api/Net/WebClient/InternalRedmineApiWebClient.cs +++ /dev/null @@ -1,263 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Collections.Specialized; -using System.Net; -using System.Text; -using Redmine.Net.Api.Authentication; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Net.Internal; -using Redmine.Net.Api.Net.WebClient.Extensions; -using Redmine.Net.Api.Net.WebClient.MessageContent; -using Redmine.Net.Api.Serialization; - -namespace Redmine.Net.Api.Net.WebClient -{ - /// - /// - /// - internal sealed partial class InternalRedmineApiWebClient : IRedmineApiClient - { - private static readonly byte[] EmptyBytes = Encoding.UTF8.GetBytes(string.Empty); - private readonly Func _webClientFunc; - private readonly IRedmineAuthentication _credentials; - private readonly IRedmineSerializer _serializer; - - public InternalRedmineApiWebClient(RedmineManagerOptions redmineManagerOptions) - : this(() => new InternalWebClient(redmineManagerOptions), redmineManagerOptions.Authentication, redmineManagerOptions.Serializer) - { - ConfigureServicePointManager(redmineManagerOptions.WebClientOptions); - } - - public InternalRedmineApiWebClient( - Func webClientFunc, - IRedmineAuthentication authentication, - IRedmineSerializer serializer) - { - _webClientFunc = webClientFunc; - _credentials = authentication; - _serializer = serializer; - } - - private static void ConfigureServicePointManager(IRedmineWebClientOptions webClientOptions) - { - if (webClientOptions == null) - { - return; - } - - if (webClientOptions.MaxServicePoints.HasValue) - { - ServicePointManager.MaxServicePoints = webClientOptions.MaxServicePoints.Value; - } - - if (webClientOptions.MaxServicePointIdleTime.HasValue) - { - ServicePointManager.MaxServicePointIdleTime = webClientOptions.MaxServicePointIdleTime.Value; - } - - ServicePointManager.SecurityProtocol = webClientOptions.SecurityProtocolType ?? ServicePointManager.SecurityProtocol; - - if (webClientOptions.DefaultConnectionLimit.HasValue) - { - ServicePointManager.DefaultConnectionLimit = webClientOptions.DefaultConnectionLimit.Value; - } - - if (webClientOptions.DnsRefreshTimeout.HasValue) - { - ServicePointManager.DnsRefreshTimeout = webClientOptions.DnsRefreshTimeout.Value; - } - - ServicePointManager.CheckCertificateRevocationList = webClientOptions.CheckCertificateRevocationList; - - if (webClientOptions.EnableDnsRoundRobin.HasValue) - { - ServicePointManager.EnableDnsRoundRobin = webClientOptions.EnableDnsRoundRobin.Value; - } - - #if(NET46_OR_GREATER || NETCOREAPP) - if (webClientOptions.ReusePort.HasValue) - { - ServicePointManager.ReusePort = webClientOptions.ReusePort.Value; - } - #endif - } - - public ApiResponseMessage Get(string address, RequestOptions requestOptions = null) - { - return HandleRequest(address, HttpVerbs.GET, requestOptions); - } - - public ApiResponseMessage GetPaged(string address, RequestOptions requestOptions = null) - { - return Get(address, requestOptions); - } - - public ApiResponseMessage Create(string address, string payload, RequestOptions requestOptions = null) - { - var content = new StringApiRequestMessageContent(payload, _serializer.ContentType); - return HandleRequest(address, HttpVerbs.POST, requestOptions, content); - } - - public ApiResponseMessage Update(string address, string payload, RequestOptions requestOptions = null) - { - var content = new StringApiRequestMessageContent(payload, _serializer.ContentType); - return HandleRequest(address, HttpVerbs.PUT, requestOptions, content); - } - - public ApiResponseMessage Patch(string address, string payload, RequestOptions requestOptions = null) - { - var content = new StringApiRequestMessageContent(payload, _serializer.ContentType); - return HandleRequest(address, HttpVerbs.PATCH, requestOptions, content); - } - - public ApiResponseMessage Delete(string address, RequestOptions requestOptions = null) - { - return HandleRequest(address, HttpVerbs.DELETE, requestOptions); - } - - public ApiResponseMessage Download(string address, RequestOptions requestOptions = null, IProgress progress = null) - { - return HandleRequest(address, HttpVerbs.DOWNLOAD, requestOptions); - } - - public ApiResponseMessage Upload(string address, byte[] data, RequestOptions requestOptions = null) - { - var content = new StreamApiRequestMessageContent(data); - return HandleRequest(address, HttpVerbs.POST, requestOptions, content); - } - - private static ApiRequestMessage CreateRequestMessage(string address, string verb, RequestOptions requestOptions = null, ApiRequestMessageContent content = null) - { - var req = new ApiRequestMessage() - { - RequestUri = address, - Method = verb, - }; - - if (requestOptions != null) - { - req.QueryString = requestOptions.QueryString; - req.ImpersonateUser = requestOptions.ImpersonateUser; - } - - if (content != null) - { - req.Content = content; - } - - return req; - } - - private ApiResponseMessage HandleRequest(string address, string verb, RequestOptions requestOptions = null, ApiRequestMessageContent content = null, IProgress progress = null) - { - return Send(CreateRequestMessage(address, verb, requestOptions, content), progress); - } - - private ApiResponseMessage Send(ApiRequestMessage requestMessage, IProgress progress = null) - { - System.Net.WebClient webClient = null; - byte[] response = null; - HttpStatusCode? statusCode = null; - NameValueCollection responseHeaders = null; - - try - { - webClient = _webClientFunc(); - - if (progress != null) - { - webClient.DownloadProgressChanged += (_, e) => - { - progress.Report(e.ProgressPercentage); - }; - } - - SetWebClientHeaders(webClient, requestMessage); - - if (IsGetOrDownload(requestMessage.Method)) - { - response = webClient.DownloadData(requestMessage.RequestUri); - } - else - { - byte[] payload; - if (requestMessage.Content != null) - { - webClient.Headers.Add(HttpRequestHeader.ContentType, requestMessage.Content.ContentType); - payload = requestMessage.Content.Body; - } - else - { - payload = EmptyBytes; - } - - response = webClient.UploadData(requestMessage.RequestUri, requestMessage.Method, payload); - } - - responseHeaders = webClient.ResponseHeaders; - if (webClient is InternalWebClient iwc) - { - statusCode = iwc.StatusCode; - } - } - catch (WebException webException) - { - webException.HandleWebException(_serializer); - } - finally - { - webClient?.Dispose(); - } - - return new ApiResponseMessage() - { - Headers = responseHeaders, - Content = response, - StatusCode = statusCode ?? HttpStatusCode.OK, - }; - } - - private void SetWebClientHeaders(System.Net.WebClient webClient, ApiRequestMessage requestMessage) - { - if (requestMessage.QueryString != null) - { - webClient.QueryString = requestMessage.QueryString; - } - - switch (_credentials) - { - case RedmineApiKeyAuthentication: - webClient.Headers.Add(RedmineConstants.API_KEY_AUTHORIZATION_HEADER_KEY,_credentials.Token); - break; - case RedmineBasicAuthentication: - webClient.Headers.Add(RedmineConstants.AUTHORIZATION_HEADER_KEY, _credentials.Token); - break; - } - - if (!requestMessage.ImpersonateUser.IsNullOrWhiteSpace()) - { - webClient.Headers.Add(RedmineConstants.IMPERSONATE_HEADER_KEY, requestMessage.ImpersonateUser); - } - } - - private static bool IsGetOrDownload(string method) - { - return method is HttpVerbs.GET or HttpVerbs.DOWNLOAD; - } - } -} diff --git a/src/redmine-net-api/Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs deleted file mode 100644 index 13602f4b..00000000 --- a/src/redmine-net-api/Net/WebClient/MessageContent/ByteArrayApiRequestMessageContent.cs +++ /dev/null @@ -1,27 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using Redmine.Net.Api.Net.Internal; - -namespace Redmine.Net.Api.Net.WebClient.MessageContent; - -internal class ByteArrayApiRequestMessageContent : ApiRequestMessageContent -{ - public ByteArrayApiRequestMessageContent(byte[] content) - { - Body = content; - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/MessageContent/StreamApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/MessageContent/StreamApiRequestMessageContent.cs deleted file mode 100644 index ed49becf..00000000 --- a/src/redmine-net-api/Net/WebClient/MessageContent/StreamApiRequestMessageContent.cs +++ /dev/null @@ -1,25 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -namespace Redmine.Net.Api.Net.WebClient.MessageContent; - -internal sealed class StreamApiRequestMessageContent : ByteArrayApiRequestMessageContent -{ - public StreamApiRequestMessageContent(byte[] content) : base(content) - { - ContentType = RedmineConstants.CONTENT_TYPE_APPLICATION_STREAM; - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Net/WebClient/MessageContent/StringApiRequestMessageContent.cs b/src/redmine-net-api/Net/WebClient/MessageContent/StringApiRequestMessageContent.cs deleted file mode 100644 index 3a1d7590..00000000 --- a/src/redmine-net-api/Net/WebClient/MessageContent/StringApiRequestMessageContent.cs +++ /dev/null @@ -1,41 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Text; -using Redmine.Net.Api.Internals; - -namespace Redmine.Net.Api.Net.WebClient.MessageContent; - -internal sealed class StringApiRequestMessageContent : ByteArrayApiRequestMessageContent -{ - private static readonly Encoding DefaultStringEncoding = Encoding.UTF8; - - public StringApiRequestMessageContent(string content, string mediaType) : this(content, mediaType, DefaultStringEncoding) - { - } - - public StringApiRequestMessageContent(string content, string mediaType, Encoding encoding) : base(GetContentByteArray(content, encoding)) - { - ContentType = mediaType; - } - - private static byte[] GetContentByteArray(string content, Encoding encoding) - { - ArgumentNullThrowHelper.ThrowIfNull(content, nameof(content)); - return (encoding ?? DefaultStringEncoding).GetBytes(content); - } -} \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManagerAsync.cs b/src/redmine-net-api/RedmineManager.Async.cs similarity index 98% rename from src/redmine-net-api/RedmineManagerAsync.cs rename to src/redmine-net-api/RedmineManager.Async.cs index 5b8472b8..bf48328e 100644 --- a/src/redmine-net-api/RedmineManagerAsync.cs +++ b/src/redmine-net-api/RedmineManager.Async.cs @@ -20,7 +20,10 @@ limitations under the License. using System.Collections.Specialized; using System.Threading; using System.Threading.Tasks; +using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http; +using Redmine.Net.Api.Http.Extensions; using Redmine.Net.Api.Net; using Redmine.Net.Api.Net.Internal; using Redmine.Net.Api.Serialization; diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index 82558e62..c9c92598 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -17,14 +17,16 @@ limitations under the License. using System; using System.Collections.Generic; using System.Collections.Specialized; -using System.Globalization; using System.Net; -using Redmine.Net.Api.Authentication; +using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http; +using Redmine.Net.Api.Http.Clients.WebClient; +using Redmine.Net.Api.Http.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Net; +using Redmine.Net.Api.Logging; using Redmine.Net.Api.Net.Internal; -using Redmine.Net.Api.Net.WebClient; +using Redmine.Net.Api.Options; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; @@ -57,8 +59,8 @@ public RedmineManager(RedmineManagerOptionsBuilder optionsBuilder) RedmineApiUrls = new RedmineApiUrls(_redmineManagerOptions.Serializer.Format); ApiClient = -#if NET45_OR_GREATER || NETCOREAPP - _redmineManagerOptions.WebClientOptions switch +#if NET40_OR_GREATER || NET + _redmineManagerOptions.ApiClientOptions switch { RedmineWebClientOptions => CreateWebClient(_redmineManagerOptions), RedmineHttpClientOptions => CreateHttpClient(_redmineManagerOptions), @@ -68,13 +70,14 @@ public RedmineManager(RedmineManagerOptionsBuilder optionsBuilder) #endif } - private InternalRedmineApiWebClient CreateWebClient(RedmineManagerOptions options) + private static InternalRedmineApiWebClient CreateWebClient(RedmineManagerOptions options) { if (options.ClientFunc != null) { - return new InternalRedmineApiWebClient(options.ClientFunc, options.Authentication, options.Serializer); + return new InternalRedmineApiWebClient(options.ClientFunc, options); } + ApplyServiceManagerSettings(options.WebClientOptions); #pragma warning disable SYSLIB0014 options.WebClientOptions.SecurityProtocolType ??= ServicePointManager.SecurityProtocol; #pragma warning restore SYSLIB0014 @@ -85,18 +88,57 @@ private InternalRedmineApiWebClient CreateWebClient(RedmineManagerOptions option #if NET45_OR_GREATER if (options.VerifyServerCert) + private static void ApplyServiceManagerSettings(RedmineWebClientOptions options) + { + if (options == null) + { + return; + } + + if (options.SecurityProtocolType.HasValue) + { + ServicePointManager.SecurityProtocol = options.SecurityProtocolType.Value; + } + + if (options.DefaultConnectionLimit.HasValue) + { + ServicePointManager.DefaultConnectionLimit = options.DefaultConnectionLimit.Value; + } + + if (options.DnsRefreshTimeout.HasValue) + { + ServicePointManager.DnsRefreshTimeout = options.DnsRefreshTimeout.Value; + } + + if (options.EnableDnsRoundRobin.HasValue) + { + ServicePointManager.EnableDnsRoundRobin = options.EnableDnsRoundRobin.Value; + } + + if (options.MaxServicePoints.HasValue) + { + ServicePointManager.MaxServicePoints = options.MaxServicePoints.Value; + } + + if (options.MaxServicePointIdleTime.HasValue) + { + ServicePointManager.MaxServicePointIdleTime = options.MaxServicePointIdleTime.Value; + } + +#if(NET46_OR_GREATER || NET) + if (options.ReusePort.HasValue) { - options.WebClientOptions.ServerCertificateValidationCallback = RemoteCertValidate; + ServicePointManager.ReusePort = options.ReusePort.Value; + } +#endif + #if NEFRAMEWORK + if (options.CheckCertificateRevocationList) + { + ServicePointManager.CheckCertificateRevocationList = true; } #endif - return new InternalRedmineApiWebClient(options); } - private IRedmineApiClient CreateHttpClient(RedmineManagerOptions options) - { - throw new NotImplementedException(); - } - /// public int Count(RequestOptions requestOptions = null) where T : class, new() diff --git a/src/redmine-net-api/SearchFilterBuilder.cs b/src/redmine-net-api/SearchFilterBuilder.cs index 856fb1a7..9b2b8c9c 100644 --- a/src/redmine-net-api/SearchFilterBuilder.cs +++ b/src/redmine-net-api/SearchFilterBuilder.cs @@ -17,6 +17,7 @@ limitations under the License. using System; using System.Collections.Specialized; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http.Extensions; namespace Redmine.Net.Api { diff --git a/src/redmine-net-api/Serialization/IRedmineSerializer.cs b/src/redmine-net-api/Serialization/IRedmineSerializer.cs index 6116b15d..eef94866 100644 --- a/src/redmine-net-api/Serialization/IRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/IRedmineSerializer.cs @@ -14,6 +14,8 @@ You may obtain a copy of the License at limitations under the License. */ +using Redmine.Net.Api.Common; + namespace Redmine.Net.Api.Serialization { /// diff --git a/src/redmine-net-api/Serialization/Json/Extensions/JsonReaderExtensions.cs b/src/redmine-net-api/Serialization/Json/Extensions/JsonReaderExtensions.cs index 7d490315..8dc4e76e 100644 --- a/src/redmine-net-api/Serialization/Json/Extensions/JsonReaderExtensions.cs +++ b/src/redmine-net-api/Serialization/Json/Extensions/JsonReaderExtensions.cs @@ -18,9 +18,8 @@ limitations under the License. using System.Collections.Generic; using Newtonsoft.Json; using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Serialization; -namespace Redmine.Net.Api.Extensions +namespace Redmine.Net.Api.Serialization.Json.Extensions { /// /// diff --git a/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs b/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs index e5f20376..f3df1629 100644 --- a/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs +++ b/src/redmine-net-api/Serialization/Json/Extensions/JsonWriterExtensions.cs @@ -20,10 +20,11 @@ limitations under the License. using System.Globalization; using System.Text; using Newtonsoft.Json; -using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Common; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; -namespace Redmine.Net.Api.Extensions +namespace Redmine.Net.Api.Serialization.Json.Extensions { /// /// diff --git a/src/redmine-net-api/Serialization/Json/IJsonSerializable.cs b/src/redmine-net-api/Serialization/Json/IJsonSerializable.cs index af82ab73..bf6b25b7 100644 --- a/src/redmine-net-api/Serialization/Json/IJsonSerializable.cs +++ b/src/redmine-net-api/Serialization/Json/IJsonSerializable.cs @@ -16,7 +16,7 @@ limitations under the License. using Newtonsoft.Json; -namespace Redmine.Net.Api.Serialization +namespace Redmine.Net.Api.Serialization.Json { /// /// diff --git a/src/redmine-net-api/Serialization/Json/JsonObject.cs b/src/redmine-net-api/Serialization/Json/JsonObject.cs index 612b2a10..38e70807 100644 --- a/src/redmine-net-api/Serialization/Json/JsonObject.cs +++ b/src/redmine-net-api/Serialization/Json/JsonObject.cs @@ -18,7 +18,7 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; -namespace Redmine.Net.Api.Serialization +namespace Redmine.Net.Api.Serialization.Json { /// /// diff --git a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs index 9f84f385..cd078537 100644 --- a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs @@ -19,8 +19,10 @@ limitations under the License. using System.IO; using System.Text; using Newtonsoft.Json; +using Redmine.Net.Api.Common; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Serialization.Json.Extensions; namespace Redmine.Net.Api.Serialization.Json { diff --git a/src/redmine-net-api/Serialization/Xml/CacheKeyFactory.cs b/src/redmine-net-api/Serialization/Xml/CacheKeyFactory.cs index 3671e595..47cef30d 100644 --- a/src/redmine-net-api/Serialization/Xml/CacheKeyFactory.cs +++ b/src/redmine-net-api/Serialization/Xml/CacheKeyFactory.cs @@ -15,12 +15,11 @@ limitations under the License. */ using System; -using System.Globalization; using System.Text; using System.Xml.Serialization; using Redmine.Net.Api.Extensions; -namespace Redmine.Net.Api.Serialization +namespace Redmine.Net.Api.Serialization.Xml { /// /// The CacheKeyFactory extracts a unique signature diff --git a/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs b/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs index 8a57a1e6..3342ed05 100644 --- a/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs +++ b/src/redmine-net-api/Serialization/Xml/Extensions/XmlReaderExtensions.cs @@ -20,9 +20,9 @@ limitations under the License. using System.IO; using System.Xml; using System.Xml.Serialization; -using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Extensions; -namespace Redmine.Net.Api.Extensions +namespace Redmine.Net.Api.Serialization.Xml.Extensions { /// /// diff --git a/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs b/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs index 84c5f7cc..b641af40 100644 --- a/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs +++ b/src/redmine-net-api/Serialization/Xml/Extensions/XmlWriterExtensions.cs @@ -20,9 +20,11 @@ limitations under the License. using System.Globalization; using System.Xml; using System.Xml.Serialization; +using Redmine.Net.Api.Common; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; -namespace Redmine.Net.Api.Extensions +namespace Redmine.Net.Api.Serialization.Xml.Extensions { /// /// diff --git a/src/redmine-net-api/Serialization/Xml/IXmlSerializerCache.cs b/src/redmine-net-api/Serialization/Xml/IXmlSerializerCache.cs index bfb5b416..a11e2d33 100644 --- a/src/redmine-net-api/Serialization/Xml/IXmlSerializerCache.cs +++ b/src/redmine-net-api/Serialization/Xml/IXmlSerializerCache.cs @@ -17,7 +17,7 @@ limitations under the License. using System; using System.Xml.Serialization; -namespace Redmine.Net.Api.Serialization +namespace Redmine.Net.Api.Serialization.Xml { internal interface IXmlSerializerCache { diff --git a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs index 720c3d25..e86111df 100644 --- a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs @@ -18,9 +18,11 @@ limitations under the License. using System.IO; using System.Xml; using System.Xml.Serialization; +using Redmine.Net.Api.Common; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Serialization.Xml { diff --git a/src/redmine-net-api/Serialization/Xml/XmlSerializerCache.cs b/src/redmine-net-api/Serialization/Xml/XmlSerializerCache.cs index 9a63c8d0..fcd977ba 100644 --- a/src/redmine-net-api/Serialization/Xml/XmlSerializerCache.cs +++ b/src/redmine-net-api/Serialization/Xml/XmlSerializerCache.cs @@ -19,7 +19,7 @@ limitations under the License. using System.Diagnostics; using System.Xml.Serialization; -namespace Redmine.Net.Api.Serialization +namespace Redmine.Net.Api.Serialization.Xml { /// /// diff --git a/src/redmine-net-api/Serialization/Xml/XmlTextReaderBuilder.cs b/src/redmine-net-api/Serialization/Xml/XmlTextReaderBuilder.cs index dc83be34..6a01e8ab 100644 --- a/src/redmine-net-api/Serialization/Xml/XmlTextReaderBuilder.cs +++ b/src/redmine-net-api/Serialization/Xml/XmlTextReaderBuilder.cs @@ -17,7 +17,7 @@ limitations under the License. using System.IO; using System.Xml; -namespace Redmine.Net.Api.Internals +namespace Redmine.Net.Api.Serialization.Xml { /// /// diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index 24871731..56afc0c5 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -22,6 +22,9 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/Attachments.cs b/src/redmine-net-api/Types/Attachments.cs index 64276c23..c475d531 100644 --- a/src/redmine-net-api/Types/Attachments.cs +++ b/src/redmine-net-api/Types/Attachments.cs @@ -19,6 +19,7 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs index 22d7156c..adfff4fb 100644 --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -24,6 +24,8 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index c0ab41ab..9f6b2b3f 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -22,6 +22,8 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs index 571386d5..56edabd7 100644 --- a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs @@ -22,6 +22,7 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index 17f0a442..1dacf6b8 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -22,6 +22,7 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs index 8fd71956..4f69af20 100644 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -22,6 +22,7 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/DocumentCategory.cs b/src/redmine-net-api/Types/DocumentCategory.cs index beda071d..c8935cce 100644 --- a/src/redmine-net-api/Types/DocumentCategory.cs +++ b/src/redmine-net-api/Types/DocumentCategory.cs @@ -21,6 +21,7 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs index 0ad45ae2..f8632707 100644 --- a/src/redmine-net-api/Types/Error.cs +++ b/src/redmine-net-api/Types/Error.cs @@ -22,6 +22,7 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index d218e41b..491f41d9 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -24,6 +24,9 @@ limitations under the License. using System.Xml.Serialization; using Newtonsoft.Json; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 770ce1ec..3a9fd9e1 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -20,9 +20,13 @@ limitations under the License. using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; +using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs index a1eaf701..4264f82d 100644 --- a/src/redmine-net-api/Types/GroupUser.cs +++ b/src/redmine-net-api/Types/GroupUser.cs @@ -17,6 +17,7 @@ limitations under the License. using System.Diagnostics; using System.Globalization; using System.Xml.Serialization; +using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Types diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs index 9973b232..42d789a7 100644 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -23,6 +23,7 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index 27af92d7..f320426f 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -21,6 +21,8 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index b145bdc4..e6720191 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -21,9 +21,13 @@ limitations under the License. using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; +using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/IssueAllowedStatus.cs b/src/redmine-net-api/Types/IssueAllowedStatus.cs index d2b78d19..1fa60dba 100644 --- a/src/redmine-net-api/Types/IssueAllowedStatus.cs +++ b/src/redmine-net-api/Types/IssueAllowedStatus.cs @@ -20,6 +20,8 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs index ebb68087..1dbc3ca5 100644 --- a/src/redmine-net-api/Types/IssueCategory.cs +++ b/src/redmine-net-api/Types/IssueCategory.cs @@ -21,6 +21,9 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs index 42e1ed29..a6e9adfe 100644 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -22,6 +22,7 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 9b65f9c0..a357cb57 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -21,8 +21,11 @@ limitations under the License. using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; +using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/IssuePriority.cs b/src/redmine-net-api/Types/IssuePriority.cs index b9a5a7a0..51ac6dc3 100644 --- a/src/redmine-net-api/Types/IssuePriority.cs +++ b/src/redmine-net-api/Types/IssuePriority.cs @@ -21,6 +21,7 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 4f5da762..58e14a5f 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -23,6 +23,9 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/IssueStatus.cs b/src/redmine-net-api/Types/IssueStatus.cs index 8478746e..08c7553a 100644 --- a/src/redmine-net-api/Types/IssueStatus.cs +++ b/src/redmine-net-api/Types/IssueStatus.cs @@ -21,6 +21,8 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index ee50b101..f3f989e0 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -23,6 +23,8 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index a33c97ef..9496a1c5 100644 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -21,6 +21,8 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs index 7a01826a..fcfab110 100644 --- a/src/redmine-net-api/Types/MembershipRole.cs +++ b/src/redmine-net-api/Types/MembershipRole.cs @@ -20,8 +20,11 @@ limitations under the License. using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; +using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/MyAccount.cs b/src/redmine-net-api/Types/MyAccount.cs index 944a9d32..570c5d67 100644 --- a/src/redmine-net-api/Types/MyAccount.cs +++ b/src/redmine-net-api/Types/MyAccount.cs @@ -23,6 +23,9 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/MyAccountCustomField.cs b/src/redmine-net-api/Types/MyAccountCustomField.cs index 469e198e..3015296a 100644 --- a/src/redmine-net-api/Types/MyAccountCustomField.cs +++ b/src/redmine-net-api/Types/MyAccountCustomField.cs @@ -21,6 +21,7 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index 4701ceb3..6e830f72 100644 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -23,6 +23,9 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index 06811090..7612ecef 100644 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -22,6 +22,7 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 03393172..5859eb9a 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -20,9 +20,13 @@ limitations under the License. using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; +using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/ProjectEnabledModule.cs b/src/redmine-net-api/Types/ProjectEnabledModule.cs index 343b6006..eb91f016 100644 --- a/src/redmine-net-api/Types/ProjectEnabledModule.cs +++ b/src/redmine-net-api/Types/ProjectEnabledModule.cs @@ -17,6 +17,7 @@ limitations under the License. using System; using System.Diagnostics; using System.Xml.Serialization; +using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Types diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index cc9ae373..6e835b15 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -22,6 +22,9 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs index d77b5230..e5fc918d 100644 --- a/src/redmine-net-api/Types/ProjectTracker.cs +++ b/src/redmine-net-api/Types/ProjectTracker.cs @@ -17,6 +17,7 @@ limitations under the License. using System.Diagnostics; using System.Globalization; using System.Xml.Serialization; +using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; namespace Redmine.Net.Api.Types diff --git a/src/redmine-net-api/Types/Query.cs b/src/redmine-net-api/Types/Query.cs index f0e51d8a..d77f821d 100644 --- a/src/redmine-net-api/Types/Query.cs +++ b/src/redmine-net-api/Types/Query.cs @@ -21,6 +21,8 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index 7a4718a5..3d5903ba 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -22,6 +22,8 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/Search.cs b/src/redmine-net-api/Types/Search.cs index 2397f7fa..0dec7001 100644 --- a/src/redmine-net-api/Types/Search.cs +++ b/src/redmine-net-api/Types/Search.cs @@ -23,6 +23,9 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index e8c147c9..b4fcb3ad 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -24,6 +24,9 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index 42f31826..2e25bc03 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -21,6 +21,7 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs index f13d8f6b..7f77249f 100644 --- a/src/redmine-net-api/Types/Tracker.cs +++ b/src/redmine-net-api/Types/Tracker.cs @@ -22,6 +22,8 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/TrackerCoreField.cs b/src/redmine-net-api/Types/TrackerCoreField.cs index a91c25e6..ec9e9360 100644 --- a/src/redmine-net-api/Types/TrackerCoreField.cs +++ b/src/redmine-net-api/Types/TrackerCoreField.cs @@ -6,6 +6,7 @@ using Newtonsoft.Json; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/TrackerCustomField.cs b/src/redmine-net-api/Types/TrackerCustomField.cs index f4250d4b..6dd1d213 100644 --- a/src/redmine-net-api/Types/TrackerCustomField.cs +++ b/src/redmine-net-api/Types/TrackerCustomField.cs @@ -19,6 +19,8 @@ limitations under the License. using System.Xml.Serialization; using Newtonsoft.Json; using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index 616a8868..e2815836 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -23,6 +23,8 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index fb5c71c1..ffeb7fd1 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -22,7 +22,9 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 2b828c3d..1a43fd91 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -23,6 +23,9 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index 2d6b7798..a90913c2 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -18,6 +18,7 @@ limitations under the License. using System.Diagnostics; using System.Globalization; using System.Xml.Serialization; +using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index 44d2a8a0..75d64466 100644 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -23,6 +23,9 @@ limitations under the License. using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Serialization.Json; +using Redmine.Net.Api.Serialization.Json.Extensions; +using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Types { diff --git a/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs b/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs index b145b739..2795f6c6 100644 --- a/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs +++ b/tests/redmine-net-api.Tests/Bugs/RedmineApi-371.cs @@ -2,7 +2,7 @@ using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api; using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Net; +using Redmine.Net.Api.Http; using Redmine.Net.Api.Types; using Xunit; diff --git a/tests/redmine-net-api.Tests/Tests/HostTests.cs b/tests/redmine-net-api.Tests/Tests/HostTests.cs index 89943a7c..d2b64bfc 100644 --- a/tests/redmine-net-api.Tests/Tests/HostTests.cs +++ b/tests/redmine-net-api.Tests/Tests/HostTests.cs @@ -1,6 +1,6 @@ using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Order; -using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Options; using Xunit; namespace Padi.DotNet.RedmineAPI.Tests.Tests diff --git a/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs b/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs index 35ffd7cc..6096164c 100644 --- a/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs +++ b/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs @@ -2,7 +2,7 @@ using Padi.DotNet.RedmineAPI.Tests.Infrastructure.Fixtures; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Net; +using Redmine.Net.Api.Http; using Redmine.Net.Api.Net.Internal; using Redmine.Net.Api.Types; using Xunit; From 29591587df34bcdddca3df2211b55d7c1bc0645a Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 16:50:47 +0300 Subject: [PATCH 578/601] Extract host validation logic to HostHelper --- src/redmine-net-api/Internals/HostHelper.cs | 172 ++++++++++++++++++++ 1 file changed, 172 insertions(+) create mode 100644 src/redmine-net-api/Internals/HostHelper.cs diff --git a/src/redmine-net-api/Internals/HostHelper.cs b/src/redmine-net-api/Internals/HostHelper.cs new file mode 100644 index 00000000..e5a0fe0e --- /dev/null +++ b/src/redmine-net-api/Internals/HostHelper.cs @@ -0,0 +1,172 @@ +using System; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; + +namespace Redmine.Net.Api.Internals; + +internal static class HostHelper +{ + private static readonly char[] DotCharArray = ['.']; + + internal static void EnsureDomainNameIsValid(string domainName) + { + if (domainName.IsNullOrWhiteSpace()) + { + throw new RedmineException("Domain name cannot be null or empty."); + } + + if (domainName.Length > 255) + { + throw new RedmineException("Domain name cannot be longer than 255 characters."); + } + + var labels = domainName.Split(DotCharArray); + if (labels.Length == 1) + { + throw new RedmineException("Domain name is not valid."); + } + + foreach (var label in labels) + { + if (label.IsNullOrWhiteSpace() || label.Length > 63) + { + throw new RedmineException("Domain name must be between 1 and 63 characters."); + } + + if (!char.IsLetterOrDigit(label[0]) || !char.IsLetterOrDigit(label[label.Length - 1])) + { + throw new RedmineException("Domain name label starts or ends with a hyphen or invalid character."); + } + + for (var index = 0; index < label.Length; index++) + { + var ch = label[index]; + + if (!char.IsLetterOrDigit(ch) && ch != '-') + { + throw new RedmineException("Domain name contains an invalid character."); + } + + if (ch == '-' && index + 1 < label.Length && label[index + 1] == '-') + { + throw new RedmineException("Domain name contains consecutive hyphens."); + } + } + } + } + + internal static Uri CreateRedmineUri(string host, string scheme = null) + { + if (host.IsNullOrWhiteSpace()) + { + throw new RedmineException("The host is null or empty."); + } + + if (!Uri.TryCreate(host, UriKind.Absolute, out var uri)) + { + host = host.TrimEnd('/', '\\'); + EnsureDomainNameIsValid(host); + + if (!host.StartsWith(Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) || + !host.StartsWith(Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase)) + { + host = $"{scheme ?? Uri.UriSchemeHttps}://{host}"; + + if (!Uri.TryCreate(host, UriKind.Absolute, out uri)) + { + throw new RedmineException("The host is not valid."); + } + } + } + + if (!uri.IsWellFormedOriginalString()) + { + throw new RedmineException("The host is not well-formed."); + } + + scheme ??= Uri.UriSchemeHttps; + var hasScheme = false; + if (!uri.Scheme.IsNullOrWhiteSpace()) + { + if (uri.Host.IsNullOrWhiteSpace() && uri.IsAbsoluteUri && !uri.IsFile) + { + if (uri.Scheme.Equals("localhost", StringComparison.OrdinalIgnoreCase)) + { + int port = 0; + var portAsString = uri.AbsolutePath.RemoveTrailingSlash(); + if (!portAsString.IsNullOrWhiteSpace()) + { + int.TryParse(portAsString, out port); + } + + var ub = new UriBuilder(scheme, "localhost", port); + return ub.Uri; + } + } + else + { + if (!IsSchemaHttpOrHttps(uri.Scheme)) + { + throw new RedmineException("Invalid host scheme. Only HTTP and HTTPS are supported."); + } + + hasScheme = true; + } + } + else + { + if (!IsSchemaHttpOrHttps(scheme)) + { + throw new RedmineException("Invalid host scheme. Only HTTP and HTTPS are supported."); + } + } + + var uriBuilder = new UriBuilder(); + + if (uri.HostNameType == UriHostNameType.IPv6) + { + uriBuilder.Scheme = (hasScheme ? uri.Scheme : scheme ?? Uri.UriSchemeHttps); + uriBuilder.Host = uri.Host; + } + else + { + if (uri.Authority.IsNullOrWhiteSpace()) + { + if (uri.Port == -1) + { + if (int.TryParse(uri.LocalPath, out var port)) + { + uriBuilder.Port = port; + } + } + + uriBuilder.Scheme = scheme ?? Uri.UriSchemeHttps; + uriBuilder.Host = uri.Scheme; + } + else + { + uriBuilder.Scheme = uri.Scheme; + uriBuilder.Port = int.TryParse(uri.LocalPath, out var port) ? port : uri.Port; + uriBuilder.Host = uri.Host; + if (!uri.LocalPath.IsNullOrWhiteSpace() && !uri.LocalPath.Contains(".")) + { + uriBuilder.Path = uri.LocalPath; + } + } + } + + try + { + return uriBuilder.Uri; + } + catch (Exception ex) + { + throw new RedmineException($"Failed to create Redmine URI: {ex.Message}", ex); + } + } + + private static bool IsSchemaHttpOrHttps(string scheme) + { + return scheme == Uri.UriSchemeHttp || scheme == Uri.UriSchemeHttps; + } +} \ No newline at end of file From d911d9ca6084359a93a93a0e04a918fdafd7fef1 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 16:51:47 +0300 Subject: [PATCH 579/601] Enums ToLowerName --- src/redmine-net-api/Types/IssueRelation.cs | 4 ++-- src/redmine-net-api/Types/Version.cs | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 58e14a5f..62ddfeea 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -116,7 +116,7 @@ public override void WriteXml(XmlWriter writer) AssertValidIssueRelationType(); writer.WriteElementString(RedmineKeys.ISSUE_TO_ID, IssueToId.ToInvariantString()); - writer.WriteElementString(RedmineKeys.RELATION_TYPE, Type.ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.RELATION_TYPE, Type.ToLowerName()); if (Type == IssueRelationType.Precedes || Type == IssueRelationType.Follows) { @@ -137,7 +137,7 @@ public override void WriteJson(JsonWriter writer) using (new JsonObject(writer, RedmineKeys.RELATION)) { writer.WriteProperty(RedmineKeys.ISSUE_TO_ID, IssueToId); - writer.WriteProperty(RedmineKeys.RELATION_TYPE, Type.ToLowerInvariant()); + writer.WriteProperty(RedmineKeys.RELATION_TYPE, Type.ToLowerName()); if (Type == IssueRelationType.Precedes || Type == IssueRelationType.Follows) { diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 1a43fd91..588c81f1 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -148,10 +148,10 @@ public override void ReadXml(XmlReader reader) public override void WriteXml(XmlWriter writer) { writer.WriteElementString(RedmineKeys.NAME, Name); - writer.WriteElementString(RedmineKeys.STATUS, Status.ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.STATUS, Status.ToLowerName()); if (Sharing != VersionSharing.Unknown) { - writer.WriteElementString(RedmineKeys.SHARING, Sharing.ToLowerInvariant()); + writer.WriteElementString(RedmineKeys.SHARING, Sharing.ToLowerName()); } writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, DueDate); @@ -224,8 +224,8 @@ public override void WriteJson(JsonWriter writer) using (new JsonObject(writer, RedmineKeys.VERSION)) { writer.WriteProperty(RedmineKeys.NAME, Name); - writer.WriteProperty(RedmineKeys.STATUS, Status.ToLowerInvariant()); - writer.WriteProperty(RedmineKeys.SHARING, Sharing.ToLowerInvariant()); + writer.WriteProperty(RedmineKeys.STATUS, Status.ToLowerName()); + writer.WriteProperty(RedmineKeys.SHARING, Sharing.ToLowerName()); writer.WriteProperty(RedmineKeys.DESCRIPTION, Description); writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, DueDate); if (CustomFields != null) From 433e22a8c4515a1ff091381c13582eaf8c354c97 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 16:52:27 +0300 Subject: [PATCH 580/601] Remove logger extensions --- .../Logging/LoggerFactoryExtensions.cs | 27 ----------- .../Logging/LoggingBuilderExtensions.cs | 46 ------------------- .../Logging/RedmineLoggingOptions.cs | 5 -- 3 files changed, 78 deletions(-) delete mode 100644 src/redmine-net-api/Logging/LoggerFactoryExtensions.cs delete mode 100644 src/redmine-net-api/Logging/LoggingBuilderExtensions.cs diff --git a/src/redmine-net-api/Logging/LoggerFactoryExtensions.cs b/src/redmine-net-api/Logging/LoggerFactoryExtensions.cs deleted file mode 100644 index 62ee317b..00000000 --- a/src/redmine-net-api/Logging/LoggerFactoryExtensions.cs +++ /dev/null @@ -1,27 +0,0 @@ - -#if NET462_OR_GREATER || NETCOREAPP - -using Microsoft.Extensions.Logging; - -namespace Redmine.Net.Api.Logging; - -/// -/// -/// -public static class LoggerFactoryExtensions -{ - /// - /// Creates a Redmine logger from the Microsoft ILoggerFactory - /// - public static IRedmineLogger CreateRedmineLogger(this ILoggerFactory factory, string categoryName = "Redmine.Api") - { - if (factory == null) - { - return RedmineNullLogger.Instance; - } - - var logger = factory.CreateLogger(categoryName); - return RedmineLoggerFactory.CreateMicrosoftLogger(logger); - } -} -#endif diff --git a/src/redmine-net-api/Logging/LoggingBuilderExtensions.cs b/src/redmine-net-api/Logging/LoggingBuilderExtensions.cs deleted file mode 100644 index 18650d89..00000000 --- a/src/redmine-net-api/Logging/LoggingBuilderExtensions.cs +++ /dev/null @@ -1,46 +0,0 @@ -#if NET462_OR_GREATER || NETCOREAPP -using System; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Logging; - -namespace Redmine.Net.Api.Logging; - -/// -/// -/// -public static class LoggingBuilderExtensions -{ - /// - /// Adds a RedmineLogger provider to the DI container - /// - public static ILoggingBuilder AddRedmineLogger(this ILoggingBuilder builder, IRedmineLogger redmineLogger) - { - if (builder == null) throw new ArgumentNullException(nameof(builder)); - if (redmineLogger == null) throw new ArgumentNullException(nameof(redmineLogger)); - - builder.Services.AddSingleton(redmineLogger); - return builder; - } - - /// - /// Configures Redmine logging options - /// - public static ILoggingBuilder ConfigureRedmineLogging(this ILoggingBuilder builder, Action configure) - { - if (builder == null) throw new ArgumentNullException(nameof(builder)); - if (configure == null) throw new ArgumentNullException(nameof(configure)); - - var options = new RedmineLoggingOptions(); - configure(options); - - builder.Services.AddSingleton(options); - - return builder; - } -} - -#endif - - - - diff --git a/src/redmine-net-api/Logging/RedmineLoggingOptions.cs b/src/redmine-net-api/Logging/RedmineLoggingOptions.cs index 5ff0653a..18af7ae0 100644 --- a/src/redmine-net-api/Logging/RedmineLoggingOptions.cs +++ b/src/redmine-net-api/Logging/RedmineLoggingOptions.cs @@ -10,11 +10,6 @@ public sealed class RedmineLoggingOptions /// public LogLevel MinimumLevel { get; set; } = LogLevel.Information; - /// - /// Gets or sets whether detailed API request/response logging is enabled - /// - public bool EnableVerboseLogging { get; set; } - /// /// Gets or sets whether to include HTTP request/response details in logs /// From 4a36057637d6c3d49392057cb2a6eabd120a50ba Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 16:54:07 +0300 Subject: [PATCH 581/601] Remove escape uri --- .../Extensions/RedmineManagerExtensions.cs | 65 ++++++------------- 1 file changed, 19 insertions(+), 46 deletions(-) diff --git a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs index 915e3a77..71ebcf13 100644 --- a/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs +++ b/src/redmine-net-api/Extensions/RedmineManagerExtensions.cs @@ -17,14 +17,14 @@ limitations under the License. using System; using System.Collections.Generic; using System.Collections.Specialized; -using System.Globalization; using Redmine.Net.Api.Common; #if !(NET20) using System.Threading; using System.Threading.Tasks; #endif using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Net; +using Redmine.Net.Api.Http; +using Redmine.Net.Api.Http.Extensions; using Redmine.Net.Api.Net.Internal; using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Types; @@ -47,9 +47,7 @@ public static void ArchiveProject(this RedmineManager redmineManager, string pro { var uri = redmineManager.RedmineApiUrls.ProjectArchive(projectIdentifier); - var escapedUri = Uri.EscapeDataString(uri); - - redmineManager.ApiClient.Update(escapedUri, string.Empty ,requestOptions); + redmineManager.ApiClient.Update(uri, string.Empty ,requestOptions); } /// @@ -63,9 +61,7 @@ public static void UnarchiveProject(this RedmineManager redmineManager, string p { var uri = redmineManager.RedmineApiUrls.ProjectUnarchive(projectIdentifier); - var escapedUri = Uri.EscapeDataString(uri); - - redmineManager.ApiClient.Update(escapedUri, string.Empty ,requestOptions); + redmineManager.ApiClient.Update(uri, string.Empty ,requestOptions); } /// @@ -79,9 +75,7 @@ public static void ReopenProject(this RedmineManager redmineManager, string proj { var uri = redmineManager.RedmineApiUrls.ProjectReopen(projectIdentifier); - var escapedUri = Uri.EscapeDataString(uri); - - redmineManager.ApiClient.Update(escapedUri, string.Empty ,requestOptions); + redmineManager.ApiClient.Update(uri, string.Empty ,requestOptions); } /// @@ -95,9 +89,7 @@ public static void CloseProject(this RedmineManager redmineManager, string proje { var uri = redmineManager.RedmineApiUrls.ProjectClose(projectIdentifier); - var escapedUri = Uri.EscapeDataString(uri); - - redmineManager.ApiClient.Update(escapedUri,string.Empty, requestOptions); + redmineManager.ApiClient.Update(uri,string.Empty, requestOptions); } /// @@ -114,9 +106,7 @@ public static void ProjectRepositoryAddRelatedIssue(this RedmineManager redmineM { var uri = redmineManager.RedmineApiUrls.ProjectRepositoryAddRelatedIssue(projectIdentifier, repositoryIdentifier, revision); - var escapedUri = Uri.EscapeDataString(uri); - - _ = redmineManager.ApiClient.Create(escapedUri,string.Empty, requestOptions); + _ = redmineManager.ApiClient.Create(uri,string.Empty, requestOptions); } /// @@ -134,9 +124,7 @@ public static void ProjectRepositoryRemoveRelatedIssue(this RedmineManager redmi { var uri = redmineManager.RedmineApiUrls.ProjectRepositoryRemoveRelatedIssue(projectIdentifier, repositoryIdentifier, revision, issueIdentifier); - var escapedUri = Uri.EscapeDataString(uri); - - _ = redmineManager.ApiClient.Delete(escapedUri, requestOptions); + _ = redmineManager.ApiClient.Delete(uri, requestOptions); } /// @@ -151,9 +139,7 @@ public static PagedResults GetProjectNews(this RedmineManager redmineManag { var uri = redmineManager.RedmineApiUrls.ProjectNews(projectIdentifier); - var escapedUri = Uri.EscapeDataString(uri); - - var response = redmineManager.GetPaginatedInternal(escapedUri, requestOptions); + var response = redmineManager.GetPaginatedInternal(uri, requestOptions); return response; } @@ -364,9 +350,7 @@ public static WikiPage CreateWikiPage(this RedmineManager redmineManager, string var uri = redmineManager.RedmineApiUrls.ProjectWikiPageUpdate(projectId, pageName); - var escapedUri = Uri.EscapeDataString(uri); - - var response = redmineManager.ApiClient.Update(escapedUri, payload, requestOptions); + var response = redmineManager.ApiClient.Update(uri, payload, requestOptions); return response.DeserializeTo(redmineManager.Serializer); } @@ -500,9 +484,7 @@ public static async Task ArchiveProjectAsync(this RedmineManager redmineManager, { var uri = redmineManager.RedmineApiUrls.ProjectArchive(projectIdentifier); - var escapedUri = Uri.EscapeDataString(uri); - - await redmineManager.ApiClient.DeleteAsync(escapedUri, requestOptions, cancellationToken).ConfigureAwait(false); + await redmineManager.ApiClient.DeleteAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); } /// @@ -516,9 +498,7 @@ public static async Task UnarchiveProjectAsync(this RedmineManager redmineManage { var uri = redmineManager.RedmineApiUrls.ProjectUnarchive(projectIdentifier); - var escapedUri = Uri.EscapeDataString(uri); - - await redmineManager.ApiClient.DeleteAsync(escapedUri, requestOptions, cancellationToken).ConfigureAwait(false); + await redmineManager.ApiClient.DeleteAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); } /// @@ -532,9 +512,7 @@ public static async Task CloseProjectAsync(this RedmineManager redmineManager, s { var uri = redmineManager.RedmineApiUrls.ProjectClose(projectIdentifier); - var escapedUri = Uri.EscapeDataString(uri); - - await redmineManager.ApiClient.UpdateAsync(escapedUri, string.Empty, requestOptions, cancellationToken).ConfigureAwait(false); + await redmineManager.ApiClient.UpdateAsync(uri, string.Empty, requestOptions, cancellationToken).ConfigureAwait(false); } /// @@ -548,9 +526,7 @@ public static async Task ReopenProjectAsync(this RedmineManager redmineManager, { var uri = redmineManager.RedmineApiUrls.ProjectReopen(projectIdentifier); - var escapedUri = Uri.EscapeDataString(uri); - - await redmineManager.ApiClient.UpdateAsync(escapedUri, string.Empty, requestOptions, cancellationToken).ConfigureAwait(false); + await redmineManager.ApiClient.UpdateAsync(uri, string.Empty, requestOptions, cancellationToken).ConfigureAwait(false); } /// @@ -566,9 +542,7 @@ public static async Task ProjectRepositoryAddRelatedIssueAsync(this RedmineManag { var uri = redmineManager.RedmineApiUrls.ProjectRepositoryAddRelatedIssue(projectIdentifier, repositoryIdentifier, revision); - var escapedUri = Uri.EscapeDataString(uri); - - await redmineManager.ApiClient.CreateAsync(escapedUri, string.Empty ,requestOptions, cancellationToken).ConfigureAwait(false); + await redmineManager.ApiClient.CreateAsync(uri, string.Empty ,requestOptions, cancellationToken).ConfigureAwait(false); } /// @@ -585,9 +559,7 @@ public static async Task ProjectRepositoryRemoveRelatedIssueAsync(this RedmineMa { var uri = redmineManager.RedmineApiUrls.ProjectRepositoryRemoveRelatedIssue(projectIdentifier, repositoryIdentifier, revision, issueIdentifier); - var escapedUri = Uri.EscapeDataString(uri); - - await redmineManager.ApiClient.DeleteAsync(escapedUri, requestOptions, cancellationToken).ConfigureAwait(false); + await redmineManager.ApiClient.DeleteAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); } /// @@ -686,7 +658,7 @@ public static async Task> GetProjectFilesAsync(this RedmineMa /// public static async Task> SearchAsync(this RedmineManager redmineManager, string q, - int limit = RedmineManager.DEFAULT_PAGE_SIZE_VALUE, + int limit = RedmineConstants.DEFAULT_PAGE_SIZE_VALUE, int offset = 0, SearchFilterBuilder searchFilter = null, CancellationToken cancellationToken = default) @@ -839,7 +811,8 @@ public static async Task> GetAllWikiPagesAsync(this RedmineManage var response = await redmineManager.ApiClient.GetPagedAsync(uri, requestOptions, cancellationToken).ConfigureAwait(false); - return response.DeserializeToList(redmineManager.Serializer); + var pages = response.DeserializeToPagedResults(redmineManager.Serializer); + return pages.Items as List; } /// From 4e5450f182ac0e989d25ecdfc71afb29e2a1ebaa Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 16:57:12 +0300 Subject: [PATCH 582/601] Project CustomFieldsValues & IssueCustomFields --- src/redmine-net-api/Types/Project.cs | 6 ++++-- tests/redmine-net-api.Tests/Equality/ProjectTests.cs | 10 ++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 5859eb9a..4ac93f9b 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -327,7 +327,8 @@ public bool Equals(Project other) && DefaultVersion == other.DefaultVersion && Parent == other.Parent && (Trackers?.Equals(other.Trackers) ?? other.Trackers == null) - && (CustomFields?.Equals(other.CustomFields) ?? other.CustomFields == null) + && (IssueCustomFields?.Equals(other.IssueCustomFields) ?? other.IssueCustomFields == null) + && (CustomFieldValues?.Equals(other.CustomFieldValues) ?? other.CustomFieldValues == null) && (IssueCategories?.Equals(other.IssueCategories) ?? other.IssueCategories == null) && (EnabledModules?.Equals(other.EnabledModules) ?? other.EnabledModules == null) && (TimeEntryActivities?.Equals(other.TimeEntryActivities) ?? other.TimeEntryActivities == null); @@ -365,7 +366,8 @@ public override int GetHashCode() hashCode = HashCodeHelper.GetHashCode(IsPublic, hashCode); hashCode = HashCodeHelper.GetHashCode(InheritMembers, hashCode); hashCode = HashCodeHelper.GetHashCode(Trackers, hashCode); - hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); + hashCode = HashCodeHelper.GetHashCode(IssueCustomFields, hashCode); + hashCode = HashCodeHelper.GetHashCode(CustomFieldValues, hashCode); hashCode = HashCodeHelper.GetHashCode(IssueCategories, hashCode); hashCode = HashCodeHelper.GetHashCode(EnabledModules, hashCode); hashCode = HashCodeHelper.GetHashCode(TimeEntryActivities, hashCode); diff --git a/tests/redmine-net-api.Tests/Equality/ProjectTests.cs b/tests/redmine-net-api.Tests/Equality/ProjectTests.cs index a8aff18a..c09cb3c6 100644 --- a/tests/redmine-net-api.Tests/Equality/ProjectTests.cs +++ b/tests/redmine-net-api.Tests/Equality/ProjectTests.cs @@ -27,7 +27,7 @@ protected override Project CreateSampleInstance() new() { Id = 2, Name = "Feature" } ], - CustomFields = + CustomFieldValues = [ new() { Id = 1, Name = "Field1"}, new() { Id = 2, Name = "Field2"} @@ -47,7 +47,8 @@ protected override Project CreateSampleInstance() [ new() { Id = 1, Name = "Activity1" }, new() { Id = 2, Name = "Activity2" } - ] + ], + IssueCustomFields = [IssueCustomField.CreateSingle(1, "SingleCustomField", "SingleCustomFieldValue")] }; } @@ -69,7 +70,7 @@ protected override Project CreateDifferentInstance() [ new() { Id = 3, Name = "Different Bug" } ], - CustomFields = + CustomFieldValues = [ new() { Id = 3, Name = "DifferentField"} ], @@ -84,7 +85,8 @@ protected override Project CreateDifferentInstance() TimeEntryActivities = [ new() { Id = 3, Name = "DifferentActivity" } - ] + ], + IssueCustomFields = [IssueCustomField.CreateSingle(1, "DifferentSingleCustomField", "DifferentSingleCustomFieldValue")] }; } } \ No newline at end of file From 2ac90024830bbb204700583191be510772104087 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 17:06:02 +0300 Subject: [PATCH 583/601] HttpClient --- Directory.Packages.props | 12 +- .../Clients/HttpClient/HttpClientProvider.cs | 257 ++++++++++ .../HttpClient/HttpContentExtensions.cs | 20 + .../HttpClient/HttpContentPolyfills.cs | 35 ++ .../HttpResponseHeadersExtensions.cs | 22 + .../HttpClient/IRedmineHttpClientOptions.cs | 88 ++++ .../InternalRedmineApiHttpClient.Async.cs | 144 ++++++ .../InternalRedmineApiHttpClient.cs | 170 +++++++ .../HttpClient/RedmineHttpClientOptions.cs | 75 +++ .../Http/Helpers/RedmineHttpMethodHelper.cs | 63 +++ .../{ => Options}/RedmineManagerOptions.cs | 48 +- .../Options/RedmineManagerOptionsBuilder.cs | 306 ++++++++++++ src/redmine-net-api/RedmineManager.cs | 13 +- .../RedmineManagerOptionsBuilder.cs | 464 ------------------ src/redmine-net-api/redmine-net-api.csproj | 12 + 15 files changed, 1250 insertions(+), 479 deletions(-) create mode 100644 src/redmine-net-api/Http/Clients/HttpClient/HttpClientProvider.cs create mode 100644 src/redmine-net-api/Http/Clients/HttpClient/HttpContentExtensions.cs create mode 100644 src/redmine-net-api/Http/Clients/HttpClient/HttpContentPolyfills.cs create mode 100644 src/redmine-net-api/Http/Clients/HttpClient/HttpResponseHeadersExtensions.cs create mode 100644 src/redmine-net-api/Http/Clients/HttpClient/IRedmineHttpClientOptions.cs create mode 100644 src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.Async.cs create mode 100644 src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.cs create mode 100644 src/redmine-net-api/Http/Clients/HttpClient/RedmineHttpClientOptions.cs create mode 100644 src/redmine-net-api/Http/Helpers/RedmineHttpMethodHelper.cs rename src/redmine-net-api/{ => Options}/RedmineManagerOptions.cs (73%) create mode 100644 src/redmine-net-api/Options/RedmineManagerOptionsBuilder.cs delete mode 100644 src/redmine-net-api/RedmineManagerOptionsBuilder.cs diff --git a/Directory.Packages.props b/Directory.Packages.props index f1465d5b..d5faa965 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,10 +1,12 @@ - |net45|net451|net452|net46|net461| + |net20|net40|net45|net451|net452|net46| |net20|net40|net45|net451|net452|net46|net461| + |net45|net451|net452|net46| + |net45|net451|net452|net46|net461| - + @@ -13,9 +15,15 @@ + + + + + + \ No newline at end of file diff --git a/src/redmine-net-api/Http/Clients/HttpClient/HttpClientProvider.cs b/src/redmine-net-api/Http/Clients/HttpClient/HttpClientProvider.cs new file mode 100644 index 00000000..3932402f --- /dev/null +++ b/src/redmine-net-api/Http/Clients/HttpClient/HttpClientProvider.cs @@ -0,0 +1,257 @@ +#if !NET20 +using System; +using System.Net.Http; +using System.Net.Security; +using System.Security.Cryptography.X509Certificates; +using Redmine.Net.Api.Common; +using Redmine.Net.Api.Options; + +namespace Redmine.Net.Api.Http.Clients.HttpClient; + +internal static class HttpClientProvider +{ + private static System.Net.Http.HttpClient _client; + + /// + /// Gets an HttpClient instance. If an existing client is provided, it is returned; otherwise, a new one is created. + /// + public static System.Net.Http.HttpClient GetOrCreateHttpClient(System.Net.Http.HttpClient httpClient, + RedmineManagerOptions options) + { + if (_client != null) + { + return _client; + } + + _client = httpClient ?? CreateClient(options); + + return _client; + } + + /// + /// Creates a new HttpClient instance configured with the specified options. + /// + private static System.Net.Http.HttpClient CreateClient(RedmineManagerOptions redmineManagerOptions) + { + ArgumentVerifier.ThrowIfNull(redmineManagerOptions, nameof(redmineManagerOptions)); + + var handler = + #if NET + CreateSocketHandler(redmineManagerOptions); + #elif NETFRAMEWORK + CreateHandler(redmineManagerOptions); + #endif + + var client = new System.Net.Http.HttpClient(handler, disposeHandler: true); + + if (redmineManagerOptions.BaseAddress != null) + { + client.BaseAddress = redmineManagerOptions.BaseAddress; + } + + if (redmineManagerOptions.ApiClientOptions is not RedmineHttpClientOptions options) + { + return client; + } + + if (options.Timeout.HasValue) + { + client.Timeout = options.Timeout.Value; + } + + if (options.MaxResponseContentBufferSize.HasValue) + { + client.MaxResponseContentBufferSize = options.MaxResponseContentBufferSize.Value; + } + +#if NET5_0_OR_GREATER + if (options.DefaultRequestVersion != null) + { + client.DefaultRequestVersion = options.DefaultRequestVersion; + } + + if (options.DefaultVersionPolicy != null) + { + client.DefaultVersionPolicy = options.DefaultVersionPolicy.Value; + } +#endif + + return client; + } + +#if NET + private static SocketsHttpHandler CreateSocketHandler(RedmineManagerOptions redmineManagerOptions) + { + var handler = new SocketsHttpHandler() + { + // Limit the lifetime of connections to better respect any DNS changes + PooledConnectionLifetime = TimeSpan.FromMinutes(2), + + // Check cert revocation + SslOptions = new SslClientAuthenticationOptions() + { + CertificateRevocationCheckMode = X509RevocationMode.Online, + }, + }; + + if (redmineManagerOptions.ApiClientOptions is not RedmineHttpClientOptions options) + { + return handler; + } + + if (options.CookieContainer != null) + { + handler.CookieContainer = options.CookieContainer; + } + + handler.Credentials = options.Credentials; + handler.Proxy = options.Proxy; + + if (options.AutoRedirect.HasValue) + { + handler.AllowAutoRedirect = options.AutoRedirect.Value; + } + + if (options.DecompressionFormat.HasValue) + { + handler.AutomaticDecompression = options.DecompressionFormat.Value; + } + + if (options.PreAuthenticate.HasValue) + { + handler.PreAuthenticate = options.PreAuthenticate.Value; + } + + if (options.UseCookies.HasValue) + { + handler.UseCookies = options.UseCookies.Value; + } + + if (options.UseProxy.HasValue) + { + handler.UseProxy = options.UseProxy.Value; + } + + if (options.MaxAutomaticRedirections.HasValue) + { + handler.MaxAutomaticRedirections = options.MaxAutomaticRedirections.Value; + } + + handler.DefaultProxyCredentials = options.DefaultProxyCredentials; + + if (options.MaxConnectionsPerServer.HasValue) + { + handler.MaxConnectionsPerServer = options.MaxConnectionsPerServer.Value; + } + + if (options.MaxResponseHeadersLength.HasValue) + { + handler.MaxResponseHeadersLength = options.MaxResponseHeadersLength.Value; + } + +#if NET8_0_OR_GREATER + handler.MeterFactory = options.MeterFactory; +#endif + + return handler; + } +#elif NETFRAMEWORK + private static HttpClientHandler CreateHandler(RedmineManagerOptions redmineManagerOptions) + { + var handler = new HttpClientHandler(); + return ConfigureHandler(handler, redmineManagerOptions); + } + + private static HttpClientHandler ConfigureHandler(HttpClientHandler handler, RedmineManagerOptions redmineManagerOptions) + { + if (redmineManagerOptions.ApiClientOptions is not RedmineHttpClientOptions options) + { + return handler; + } + + if (options.UseDefaultCredentials.HasValue) + { + handler.UseDefaultCredentials = options.UseDefaultCredentials.Value; + } + + if (options.CookieContainer != null) + { + handler.CookieContainer = options.CookieContainer; + } + + if (handler.SupportsAutomaticDecompression && options.DecompressionFormat.HasValue) + { + handler.AutomaticDecompression = options.DecompressionFormat.Value; + } + + if (handler.SupportsRedirectConfiguration) + { + if (options.AutoRedirect.HasValue) + { + handler.AllowAutoRedirect = options.AutoRedirect.Value; + } + + if (options.MaxAutomaticRedirections.HasValue) + { + handler.MaxAutomaticRedirections = options.MaxAutomaticRedirections.Value; + } + } + + if (options.ClientCertificateOptions != default) + { + handler.ClientCertificateOptions = options.ClientCertificateOptions; + } + + handler.Credentials = options.Credentials; + + if (options.UseProxy != null) + { + handler.UseProxy = options.UseProxy.Value; + if (handler.UseProxy && options.Proxy != null) + { + handler.Proxy = options.Proxy; + } + } + + if (options.PreAuthenticate.HasValue) + { + handler.PreAuthenticate = options.PreAuthenticate.Value; + } + + if (options.UseCookies.HasValue) + { + handler.UseCookies = options.UseCookies.Value; + } + + if (options.MaxRequestContentBufferSize.HasValue) + { + handler.MaxRequestContentBufferSize = options.MaxRequestContentBufferSize.Value; + } + +#if NET471_OR_GREATER + handler.CheckCertificateRevocationList = options.CheckCertificateRevocationList; + + if (options.DefaultProxyCredentials != null) + handler.DefaultProxyCredentials = options.DefaultProxyCredentials; + + if (options.ServerCertificateCustomValidationCallback != null) + handler.ServerCertificateCustomValidationCallback = options.ServerCertificateCustomValidationCallback; + + if (options.ServerCertificateValidationCallback != null) + handler.ServerCertificateCustomValidationCallback = options.ServerCertificateValidationCallback; + + handler.SslProtocols = options.SslProtocols; + + if (options.MaxConnectionsPerServer.HasValue) + handler.MaxConnectionsPerServer = options.MaxConnectionsPerServer.Value; + + if (options.MaxResponseHeadersLength.HasValue) + handler.MaxResponseHeadersLength = options.MaxResponseHeadersLength.Value; +#endif + + return handler; + } +#endif +} + +#endif \ No newline at end of file diff --git a/src/redmine-net-api/Http/Clients/HttpClient/HttpContentExtensions.cs b/src/redmine-net-api/Http/Clients/HttpClient/HttpContentExtensions.cs new file mode 100644 index 00000000..c1b2515c --- /dev/null +++ b/src/redmine-net-api/Http/Clients/HttpClient/HttpContentExtensions.cs @@ -0,0 +1,20 @@ +#if !NET20 + +using System.Net; + +namespace Redmine.Net.Api.Http.Clients.HttpClient; + +internal static class HttpContentExtensions +{ + public static bool IsUnprocessableEntity(this HttpStatusCode statusCode) + { + return +#if NET5_0_OR_GREATER + statusCode == HttpStatusCode.UnprocessableEntity; +#else + (int)statusCode == 422; +#endif + } +} + +#endif \ No newline at end of file diff --git a/src/redmine-net-api/Http/Clients/HttpClient/HttpContentPolyfills.cs b/src/redmine-net-api/Http/Clients/HttpClient/HttpContentPolyfills.cs new file mode 100644 index 00000000..ec5d7f4d --- /dev/null +++ b/src/redmine-net-api/Http/Clients/HttpClient/HttpContentPolyfills.cs @@ -0,0 +1,35 @@ + +#if !(NET20 || NET5_0_OR_GREATER) + +using System.IO; +using System.Net.Http; +using System.Threading; +using System.Threading.Tasks; + +namespace Redmine.Net.Api.Http.Clients.HttpClient; + +internal static class HttpContentPolyfills +{ + internal static Task ReadAsStringAsync(this HttpContent httpContent, CancellationToken cancellationToken) + => httpContent.ReadAsStringAsync( +#if !NETFRAMEWORK + cancellationToken +#endif + ); + + internal static Task ReadAsStreamAsync(this HttpContent httpContent, CancellationToken cancellationToken) + => httpContent.ReadAsStreamAsync( +#if !NETFRAMEWORK + cancellationToken +#endif + ); + + internal static Task ReadAsByteArrayAsync(this HttpContent httpContent, CancellationToken cancellationToken) + => httpContent.ReadAsByteArrayAsync( +#if !NETFRAMEWORK + cancellationToken +#endif + ); +} + +#endif \ No newline at end of file diff --git a/src/redmine-net-api/Http/Clients/HttpClient/HttpResponseHeadersExtensions.cs b/src/redmine-net-api/Http/Clients/HttpClient/HttpResponseHeadersExtensions.cs new file mode 100644 index 00000000..37b44dcb --- /dev/null +++ b/src/redmine-net-api/Http/Clients/HttpClient/HttpResponseHeadersExtensions.cs @@ -0,0 +1,22 @@ +#if !NET20 +using System.Collections.Specialized; +using System.Net.Http.Headers; + +namespace Redmine.Net.Api.Http.Clients.HttpClient; + +internal static class HttpResponseHeadersExtensions +{ + public static NameValueCollection ToNameValueCollection(this HttpResponseHeaders headers) + { + if (headers == null) return null; + + var collection = new NameValueCollection(); + foreach (var header in headers) + { + var combinedValue = string.Join(", ", header.Value); + collection.Add(header.Key, combinedValue); + } + return collection; + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api/Http/Clients/HttpClient/IRedmineHttpClientOptions.cs b/src/redmine-net-api/Http/Clients/HttpClient/IRedmineHttpClientOptions.cs new file mode 100644 index 00000000..d8f6d9d2 --- /dev/null +++ b/src/redmine-net-api/Http/Clients/HttpClient/IRedmineHttpClientOptions.cs @@ -0,0 +1,88 @@ +#if NET40_OR_GREATER || NET +using System; +using System.Net; +using System.Net.Http; +using System.Net.Security; +using System.Security.Authentication; +using System.Security.Cryptography.X509Certificates; +#if NET8_0_OR_GREATER +using System.Diagnostics.Metrics; +#endif + + +namespace Redmine.Net.Api.Http.Clients.HttpClient; + +/// +/// +/// +public interface IRedmineHttpClientOptions : IRedmineApiClientOptions +{ + /// + /// + /// + ClientCertificateOption ClientCertificateOptions { get; set; } + +#if NET471_OR_GREATER || NET + /// + /// + /// + ICredentials DefaultProxyCredentials { get; set; } + + /// + /// + /// + Func ServerCertificateCustomValidationCallback { get; set; } + + /// + /// + /// + SslProtocols SslProtocols { get; set; } +#endif + + /// + /// + /// + public +#if NET || NET471_OR_GREATER + Func +#else + RemoteCertificateValidationCallback +#endif + ServerCertificateValidationCallback { get; set; } + +#if NET8_0_OR_GREATER + /// + /// + /// + public IMeterFactory MeterFactory { get; set; } +#endif + + /// + /// + /// + bool SupportsAutomaticDecompression { get; set; } + + /// + /// + /// + bool SupportsProxy { get; set; } + + /// + /// + /// + bool SupportsRedirectConfiguration { get; set; } + + /// + /// + /// + Version DefaultRequestVersion { get; set; } + +#if NET + /// + /// + /// + HttpVersionPolicy? DefaultVersionPolicy { get; set; } +#endif +} + +#endif \ No newline at end of file diff --git a/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.Async.cs b/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.Async.cs new file mode 100644 index 00000000..77186037 --- /dev/null +++ b/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.Async.cs @@ -0,0 +1,144 @@ +#if !NET20 +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using System.Net; +using System.Net.Http; +using System.Threading; +using System.Threading.Tasks; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Http.Helpers; +using Redmine.Net.Api.Http.Messages; + +namespace Redmine.Net.Api.Http.Clients.HttpClient; + +internal sealed partial class InternalRedmineApiHttpClient +{ + protected override async Task HandleRequestAsync(string address, string verb, RequestOptions requestOptions = null, + object content = null, IProgress progress = null, CancellationToken cancellationToken = default) + { + var httpMethod = GetHttpMethod(verb); + using (var requestMessage = CreateRequestMessage(address, httpMethod, requestOptions, content as HttpContent)) + { + return await SendAsync(requestMessage, progress: progress, cancellationToken: cancellationToken).ConfigureAwait(false); + } + } + + private async Task SendAsync(HttpRequestMessage requestMessage, IProgress progress = null, CancellationToken cancellationToken = default) + { + try + { + using (var httpResponseMessage = await _httpClient + .SendAsync(requestMessage, HttpCompletionOption.ResponseHeadersRead, cancellationToken) + .ConfigureAwait(false)) + { + if (httpResponseMessage.IsSuccessStatusCode) + { + if (httpResponseMessage.StatusCode == HttpStatusCode.NoContent) + { + return CreateApiResponseMessage(httpResponseMessage.Headers, HttpStatusCode.NoContent, []); + } + + byte[] data; + + if (requestMessage.Method == HttpMethod.Get && progress != null) + { + data = await DownloadWithProgressAsync(httpResponseMessage.Content, progress, cancellationToken) + .ConfigureAwait(false); + } + else + { + data = await httpResponseMessage.Content.ReadAsByteArrayAsync(cancellationToken) + .ConfigureAwait(false); + } + + return CreateApiResponseMessage(httpResponseMessage.Headers, httpResponseMessage.StatusCode, data); + } + + var statusCode = (int)httpResponseMessage.StatusCode; + using (var stream = await httpResponseMessage.Content.ReadAsStreamAsync(cancellationToken) + .ConfigureAwait(false)) + { + RedmineExceptionHelper.MapStatusCodeToException(statusCode, stream, null, Serializer); + } + } + } + catch (OperationCanceledException ex) when (cancellationToken.IsCancellationRequested) + { + throw new RedmineApiException("Token has been cancelled", ex); + } + catch (OperationCanceledException ex) when (ex.InnerException is TimeoutException tex) + { + throw new RedmineApiException("Operation has timed out", ex); + } + catch (TaskCanceledException tcex) when (cancellationToken.IsCancellationRequested) + { + throw new RedmineApiException("Operation ahs been cancelled by user", tcex); + } + catch (TaskCanceledException tce) + { + throw new RedmineApiException(tce.Message, tce); + } + catch (HttpRequestException ex) + { + throw new RedmineApiException(ex.Message, ex); + } + catch (Exception ex) when (ex is not RedmineException) + { + throw new RedmineApiException(ex.Message, ex); + } + + return null; + } + + private static async Task DownloadWithProgressAsync(HttpContent httpContent, IProgress progress = null, CancellationToken cancellationToken = default) + { + var contentLength = httpContent.Headers.ContentLength ?? -1; + byte[] data; + + if (contentLength > 0) + { + using (var stream = await httpContent.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false)) + { + data = new byte[contentLength]; + int bytesRead; + var totalBytesRead = 0; + var buffer = new byte[8192]; + + while ((bytesRead = await stream.ReadAsync(buffer, 0, buffer.Length, cancellationToken).ConfigureAwait(false)) > 0) + { + cancellationToken.ThrowIfCancellationRequested(); + + Buffer.BlockCopy(buffer, 0, data, totalBytesRead, bytesRead); + totalBytesRead += bytesRead; + + var progressPercentage = (int)(totalBytesRead * 100 / contentLength); + progress?.Report(progressPercentage); + ReportProgress(progress, contentLength, totalBytesRead); + } + } + } + else + { + data = await httpContent.ReadAsByteArrayAsync(cancellationToken).ConfigureAwait(false); + progress?.Report(100); + } + + return data; + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.cs b/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.cs new file mode 100644 index 00000000..a68897d6 --- /dev/null +++ b/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.cs @@ -0,0 +1,170 @@ +#if !NET20 +/* + Copyright 2011 - 2024 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using System.Net; +using System.Net.Http; +using System.Net.Http.Headers; +using System.Text; +using Redmine.Net.Api.Authentication; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http.Constants; +using Redmine.Net.Api.Http.Messages; +using Redmine.Net.Api.Options; + +namespace Redmine.Net.Api.Http.Clients.HttpClient; + +internal sealed partial class InternalRedmineApiHttpClient : RedmineApiClient +{ + private static readonly HttpMethod PatchMethod = new HttpMethod("PATCH"); + private static readonly HttpMethod DownloadMethod = new HttpMethod("DOWNLOAD"); + private static readonly Encoding DefaultEncoding = Encoding.UTF8; + + private readonly System.Net.Http.HttpClient _httpClient; + + public InternalRedmineApiHttpClient(RedmineManagerOptions redmineManagerOptions) + : this(null, redmineManagerOptions) + { + _httpClient = HttpClientProvider.GetOrCreateHttpClient(null, redmineManagerOptions); + } + + public InternalRedmineApiHttpClient(System.Net.Http.HttpClient httpClient, + RedmineManagerOptions redmineManagerOptions) + : base(redmineManagerOptions) + { + _httpClient = httpClient; + } + + protected override object CreateContentFromPayload(string payload) + { + return new StringContent(payload, DefaultEncoding, Serializer.ContentType); + } + + protected override object CreateContentFromBytes(byte[] data) + { + var content = new ByteArrayContent(data); + content.Headers.ContentType = new MediaTypeHeaderValue(RedmineConstants.CONTENT_TYPE_APPLICATION_STREAM); + return content; + } + + protected override RedmineApiResponse HandleRequest(string address, string verb, + RequestOptions requestOptions = null, + object content = null, IProgress progress = null) + { + var httpMethod = GetHttpMethod(verb); + using (var requestMessage = CreateRequestMessage(address, httpMethod, requestOptions, content as HttpContent)) + { + // LogRequest(verb, address, requestOptions); + + var response = Send(requestMessage, progress); + + // LogResponse(response.StatusCode); + + return response; + } + } + + private RedmineApiResponse Send(HttpRequestMessage requestMessage, IProgress progress = null) + { + return TaskExtensions.Synchronize(()=>SendAsync(requestMessage, progress)); + } + + private HttpRequestMessage CreateRequestMessage(string address, HttpMethod method, + RequestOptions requestOptions = null, HttpContent content = null) + { + var httpRequest = new HttpRequestMessage(method, address); + + switch (Credentials) + { + case RedmineApiKeyAuthentication: + httpRequest.Headers.Add(RedmineConstants.API_KEY_AUTHORIZATION_HEADER_KEY, Credentials.Token); + break; + case RedmineBasicAuthentication: + httpRequest.Headers.Add(RedmineConstants.AUTHORIZATION_HEADER_KEY, Credentials.Token); + break; + } + + if (requestOptions != null) + { + if (requestOptions.QueryString != null) + { + var uriToBeAppended = httpRequest.RequestUri.ToString(); + var queryIndex = uriToBeAppended.IndexOf("?", StringComparison.Ordinal); + var hasQuery = queryIndex != -1; + + var sb = new StringBuilder(); + sb.Append('\\'); + sb.Append(uriToBeAppended); + for (var index = 0; index < requestOptions.QueryString.Count; ++index) + { + var value = requestOptions.QueryString[index]; + + if (value == null) + { + continue; + } + + var key = requestOptions.QueryString.Keys[index]; + + sb.Append(hasQuery ? '&' : '?'); + sb.Append(Uri.EscapeDataString(key)); + sb.Append('='); + sb.Append(Uri.EscapeDataString(value)); + hasQuery = true; + } + + var uriString = sb.ToString(); + + httpRequest.RequestUri = new Uri(uriString, UriKind.RelativeOrAbsolute); + } + + if (!requestOptions.ImpersonateUser.IsNullOrWhiteSpace()) + { + httpRequest.Headers.Add(RedmineConstants.IMPERSONATE_HEADER_KEY, requestOptions.ImpersonateUser); + } + } + + if (content != null) + { + httpRequest.Content = content ; + } + + return httpRequest; + } + + private static RedmineApiResponse CreateApiResponseMessage(HttpResponseHeaders headers, HttpStatusCode statusCode, byte[] content) => new RedmineApiResponse() + { + Content = content, + Headers = headers.ToNameValueCollection(), + StatusCode = statusCode, + }; + + private static HttpMethod GetHttpMethod(string verb) + { + return verb switch + { + HttpConstants.HttpVerbs.GET => HttpMethod.Get, + HttpConstants.HttpVerbs.POST => HttpMethod.Post, + HttpConstants.HttpVerbs.PUT => HttpMethod.Put, + HttpConstants.HttpVerbs.PATCH => PatchMethod, + HttpConstants.HttpVerbs.DELETE => HttpMethod.Delete, + HttpConstants.HttpVerbs.DOWNLOAD => HttpMethod.Get, + _ => throw new ArgumentException($"Unsupported HTTP verb: {verb}") + }; + } +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api/Http/Clients/HttpClient/RedmineHttpClientOptions.cs b/src/redmine-net-api/Http/Clients/HttpClient/RedmineHttpClientOptions.cs new file mode 100644 index 00000000..dc8e0b6a --- /dev/null +++ b/src/redmine-net-api/Http/Clients/HttpClient/RedmineHttpClientOptions.cs @@ -0,0 +1,75 @@ +#if !NET20 +using System; +using System.Net; +using System.Net.Http; +using System.Net.Security; +using System.Security.Authentication; +using System.Security.Cryptography.X509Certificates; +#if NET8_0_OR_GREATER +using System.Diagnostics.Metrics; +#endif + +namespace Redmine.Net.Api.Http.Clients.HttpClient; + +/// +/// +/// +public sealed class RedmineHttpClientOptions: RedmineApiClientOptions +{ +#if NET8_0_OR_GREATER + /// + /// + /// + public IMeterFactory MeterFactory { get; set; } +#endif + + /// + /// + /// + public Version DefaultRequestVersion { get; set; } + +#if NET + /// + /// + /// + public HttpVersionPolicy? DefaultVersionPolicy { get; set; } +#endif + /// + /// + /// + public ICredentials DefaultProxyCredentials { get; set; } + + /// + /// + /// + public ClientCertificateOption ClientCertificateOptions { get; set; } + + + +#if NETFRAMEWORK + /// + /// + /// + public Func ServerCertificateCustomValidationCallback + { + get; + set; + } + + /// + /// + /// + public SslProtocols SslProtocols { get; set; } + #endif + /// + /// + /// + public +#if NET || NET471_OR_GREATER + Func +#else + RemoteCertificateValidationCallback +#endif + ServerCertificateValidationCallback { get; set; } +} +#endif \ No newline at end of file diff --git a/src/redmine-net-api/Http/Helpers/RedmineHttpMethodHelper.cs b/src/redmine-net-api/Http/Helpers/RedmineHttpMethodHelper.cs new file mode 100644 index 00000000..c3fc7e10 --- /dev/null +++ b/src/redmine-net-api/Http/Helpers/RedmineHttpMethodHelper.cs @@ -0,0 +1,63 @@ +using System; +using Redmine.Net.Api.Http.Constants; +#if !NET20 +using System.Net.Http; +#endif + +namespace Redmine.Net.Api.Http.Helpers; + +internal static class RedmineHttpMethodHelper +{ +#if !NET20 + private static readonly HttpMethod PatchMethod = new HttpMethod("PATCH"); + private static readonly HttpMethod DownloadMethod = new HttpMethod("DOWNLOAD"); + + /// + /// Gets an HttpMethod instance for the specified HTTP verb. + /// + /// The HTTP verb (GET, POST, etc.). + /// An HttpMethod instance corresponding to the verb. + /// Thrown when the verb is not supported. + public static HttpMethod GetHttpMethod(string verb) + { + return verb switch + { + HttpConstants.HttpVerbs.GET => HttpMethod.Get, + HttpConstants.HttpVerbs.POST => HttpMethod.Post, + HttpConstants.HttpVerbs.PUT => HttpMethod.Put, + HttpConstants.HttpVerbs.PATCH => PatchMethod, + HttpConstants.HttpVerbs.DELETE => HttpMethod.Delete, + HttpConstants.HttpVerbs.DOWNLOAD => DownloadMethod, + _ => throw new ArgumentException($"Unsupported HTTP verb: {verb}") + }; + } +#endif + /// + /// Determines whether the specified HTTP method is a GET or DOWNLOAD method. + /// + /// The HTTP method to check. + /// True if the method is GET or DOWNLOAD; otherwise, false. + public static bool IsGetOrDownload(string method) + { + return method == HttpConstants.HttpVerbs.GET || method == HttpConstants.HttpVerbs.DOWNLOAD; + } + + /// + /// Determines whether the HTTP status code represents a transient error. + /// + /// The HTTP response status code. + /// True if the status code represents a transient error; otherwise, false. + private static bool IsTransientError(int statusCode) + { + return statusCode switch + { + HttpConstants.StatusCodes.BadGateway => true, + HttpConstants.StatusCodes.GatewayTimeout => true, + HttpConstants.StatusCodes.ServiceUnavailable => true, + HttpConstants.StatusCodes.RequestTimeout => true, + HttpConstants.StatusCodes.TooManyRequests => true, + _ => false + }; + } + +} diff --git a/src/redmine-net-api/RedmineManagerOptions.cs b/src/redmine-net-api/Options/RedmineManagerOptions.cs similarity index 73% rename from src/redmine-net-api/RedmineManagerOptions.cs rename to src/redmine-net-api/Options/RedmineManagerOptions.cs index d8acf1c8..7093c073 100644 --- a/src/redmine-net-api/RedmineManagerOptions.cs +++ b/src/redmine-net-api/Options/RedmineManagerOptions.cs @@ -17,11 +17,16 @@ limitations under the License. using System; using System.Net; using Redmine.Net.Api.Authentication; +using Redmine.Net.Api.Http; +using Redmine.Net.Api.Http.Clients.WebClient; using Redmine.Net.Api.Logging; -using Redmine.Net.Api.Net.WebClient; using Redmine.Net.Api.Serialization; +#if !NET20 +using System.Net.Http; +using Redmine.Net.Api.Http.Clients.HttpClient; +#endif -namespace Redmine.Net.Api +namespace Redmine.Net.Api.Options { /// /// @@ -53,6 +58,23 @@ internal sealed class RedmineManagerOptions /// public IRedmineAuthentication Authentication { get; init; } + /// + /// Gets or sets the version of the Redmine server to which this client will connect. + /// + public Version RedmineVersion { get; init; } + + public IRedmineLogger Logger { get; init; } + + /// + /// Gets or sets additional logging configuration options + /// + public RedmineLoggingOptions LoggingOptions { get; init; } = new RedmineLoggingOptions(); + + /// + /// Gets or sets the settings for configuring the Redmine http client. + /// + public IRedmineApiClientOptions ApiClientOptions { get; set; } + /// /// Gets or sets a custom function that creates and returns a specialized instance of the WebClient class. /// @@ -61,20 +83,24 @@ internal sealed class RedmineManagerOptions /// /// Gets or sets the settings for configuring the Redmine web client. /// - public IRedmineWebClientOptions WebClientOptions { get; init; } + public RedmineWebClientOptions WebClientOptions { + get => (RedmineWebClientOptions)ApiClientOptions; + set => ApiClientOptions = value; + } + #if !NET20 /// - /// Gets or sets the version of the Redmine server to which this client will connect. + /// /// - public Version RedmineVersion { get; init; } - - internal bool VerifyServerCert { get; init; } - - public IRedmineLogger Logger { get; init; } + public HttpClient HttpClient { get; init; } /// - /// Gets or sets additional logging configuration options + /// Gets or sets the settings for configuring the Redmine http client. /// - public RedmineLoggingOptions LoggingOptions { get; init; } = new RedmineLoggingOptions(); + public RedmineHttpClientOptions HttpClientOptions { + get => (RedmineHttpClientOptions)ApiClientOptions; + set => ApiClientOptions = value; + } + #endif } } \ No newline at end of file diff --git a/src/redmine-net-api/Options/RedmineManagerOptionsBuilder.cs b/src/redmine-net-api/Options/RedmineManagerOptionsBuilder.cs new file mode 100644 index 00000000..698cfb31 --- /dev/null +++ b/src/redmine-net-api/Options/RedmineManagerOptionsBuilder.cs @@ -0,0 +1,306 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using System.Net; +#if NET462_OR_GREATER || NET +using Microsoft.Extensions.Logging; +#endif +using Redmine.Net.Api.Authentication; +using Redmine.Net.Api.Http; +#if !NET20 +using Redmine.Net.Api.Http.Clients.HttpClient; +#endif +using Redmine.Net.Api.Http.Clients.WebClient; +using Redmine.Net.Api.Internals; +using Redmine.Net.Api.Logging; +using Redmine.Net.Api.Serialization; +#if NET40_OR_GREATER || NET +using System.Net.Http; +#endif +#if NET462_OR_GREATER || NET +#endif + +namespace Redmine.Net.Api.Options +{ + /// + /// + /// + public sealed class RedmineManagerOptionsBuilder + { + private IRedmineLogger _redmineLogger = RedmineNullLogger.Instance; + private Action _configureLoggingOptions; + + private enum ClientType + { + WebClient, + HttpClient, + } + private ClientType _clientType = ClientType.HttpClient; + + /// + /// + /// + public string Host { get; private set; } + + /// + /// + /// + public int PageSize { get; private set; } + + /// + /// Gets the current serialization type + /// + public SerializationType SerializationType { get; private set; } + + /// + /// + /// + public IRedmineAuthentication Authentication { get; private set; } + + /// + /// + /// + public IRedmineApiClientOptions ClientOptions { get; private set; } + + /// + /// + /// + public Func ClientFunc { get; private set; } + + /// + /// Gets or sets the version of the Redmine server to which this client will connect. + /// + public Version Version { get; set; } + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithPageSize(int pageSize) + { + PageSize = pageSize; + return this; + } + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithHost(string baseAddress) + { + Host = baseAddress; + return this; + } + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithSerializationType(SerializationType serializationType) + { + SerializationType = serializationType; + return this; + } + + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithXmlSerialization() + { + SerializationType = SerializationType.Xml; + return this; + } + + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithJsonSerialization() + { + SerializationType = SerializationType.Json; + return this; + } + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithApiKeyAuthentication(string apiKey) + { + Authentication = new RedmineApiKeyAuthentication(apiKey); + return this; + } + + /// + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithBasicAuthentication(string login, string password) + { + Authentication = new RedmineBasicAuthentication(login, password); + return this; + } + + /// + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithLogger(IRedmineLogger logger, Action configure = null) + { + _redmineLogger = logger ?? RedmineNullLogger.Instance; + _configureLoggingOptions = configure; + return this; + } + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithVersion(Version version) + { + Version = version; + return this; + } + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithWebClient(Func clientFunc) + { + _clientType = ClientType.WebClient; + ClientFunc = clientFunc; + return this; + } + + /// + /// Configures the client to use WebClient with default settings + /// + /// This builder instance for method chaining + public RedmineManagerOptionsBuilder UseWebClient(RedmineWebClientOptions clientOptions = null) + { + _clientType = ClientType.WebClient; + ClientOptions = clientOptions; + return this; + } + +#if NET40_OR_GREATER || NET + /// + /// + /// + public Func HttpClientFunc { get; private set; } + + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithHttpClient(Func clientFunc) + { + _clientType = ClientType.HttpClient; + this.HttpClientFunc = clientFunc; + return this; + } + + /// + /// Configures the client to use HttpClient with default settings + /// + /// This builder instance for method chaining + public RedmineManagerOptionsBuilder UseHttpClient(RedmineHttpClientOptions clientOptions = null) + { + _clientType = ClientType.HttpClient; + ClientOptions = clientOptions; + return this; + } + +#endif + +#if NET462_OR_GREATER || NET + /// + /// + /// + /// + /// + /// + public RedmineManagerOptionsBuilder WithLogger(ILogger logger, Action configure = null) + { + _redmineLogger = new MicrosoftLoggerRedmineAdapter(logger); + _configureLoggingOptions = configure; + return this; + } +#endif + + /// + /// + /// + /// + internal RedmineManagerOptions Build() + { +#if NET45_OR_GREATER || NET + ClientOptions ??= _clientType switch + { + ClientType.WebClient => new RedmineWebClientOptions(), + ClientType.HttpClient => new RedmineHttpClientOptions(), + _ => throw new ArgumentOutOfRangeException() + }; +#else + ClientOptions ??= new RedmineWebClientOptions(); +#endif + + var baseAddress = HostHelper.CreateRedmineUri(Host, ClientOptions.Scheme); + + var redmineLoggingOptions = ConfigureLoggingOptions(); + + var options = new RedmineManagerOptions() + { + BaseAddress = baseAddress, + PageSize = PageSize > 0 ? PageSize : RedmineConstants.DEFAULT_PAGE_SIZE_VALUE, + Serializer = RedmineSerializerFactory.CreateSerializer(SerializationType), + RedmineVersion = Version, + Authentication = Authentication ?? new RedmineNoAuthentication(), + ApiClientOptions = ClientOptions, + Logger = _redmineLogger, + LoggingOptions = redmineLoggingOptions, + }; + + return options; + } + + private RedmineLoggingOptions ConfigureLoggingOptions() + { + if (_configureLoggingOptions == null) + { + return null; + } + + var redmineLoggingOptions = new RedmineLoggingOptions(); + _configureLoggingOptions(redmineLoggingOptions); + return redmineLoggingOptions; + } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/RedmineManager.cs b/src/redmine-net-api/RedmineManager.cs index c9c92598..ca062ef8 100644 --- a/src/redmine-net-api/RedmineManager.cs +++ b/src/redmine-net-api/RedmineManager.cs @@ -25,6 +25,9 @@ limitations under the License. using Redmine.Net.Api.Http.Extensions; using Redmine.Net.Api.Internals; using Redmine.Net.Api.Logging; +#if NET40_OR_GREATER || NET +using Redmine.Net.Api.Http.Clients.HttpClient; +#endif using Redmine.Net.Api.Net.Internal; using Redmine.Net.Api.Options; using Redmine.Net.Api.Serialization; @@ -42,6 +45,7 @@ public partial class RedmineManager : IRedmineManager internal IRedmineSerializer Serializer { get; } internal RedmineApiUrls RedmineApiUrls { get; } internal IRedmineApiClient ApiClient { get; } + internal IRedmineLogger Logger { get; } /// /// @@ -85,9 +89,14 @@ private static InternalRedmineApiWebClient CreateWebClient(RedmineManagerOptions return new InternalRedmineApiWebClient(options); } #if NET40_OR_GREATER || NET + private InternalRedmineApiHttpClient CreateHttpClient(RedmineManagerOptions options) + { + return options.HttpClient != null + ? new InternalRedmineApiHttpClient(options.HttpClient, options) + : new InternalRedmineApiHttpClient(_redmineManagerOptions); + } +#endif -#if NET45_OR_GREATER - if (options.VerifyServerCert) private static void ApplyServiceManagerSettings(RedmineWebClientOptions options) { if (options == null) diff --git a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs b/src/redmine-net-api/RedmineManagerOptionsBuilder.cs deleted file mode 100644 index 114424a5..00000000 --- a/src/redmine-net-api/RedmineManagerOptionsBuilder.cs +++ /dev/null @@ -1,464 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Net; -#if NET462_OR_GREATER || NETCOREAPP -using Microsoft.Extensions.Logging; -#endif -using Redmine.Net.Api.Authentication; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Logging; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Net.WebClient; -using Redmine.Net.Api.Serialization; - -namespace Redmine.Net.Api -{ - /// - /// - /// - public sealed class RedmineManagerOptionsBuilder - { - private IRedmineLogger _redmineLogger = RedmineNullLogger.Instance; - private Action _configureLoggingOptions; - - private enum ClientType - { - WebClient, - HttpClient, - } - private ClientType _clientType = ClientType.WebClient; - - /// - /// - /// - /// - /// - public RedmineManagerOptionsBuilder WithPageSize(int pageSize) - { - this.PageSize = pageSize; - return this; - } - - /// - /// - /// - public int PageSize { get; private set; } - - /// - /// - /// - /// - /// - public RedmineManagerOptionsBuilder WithHost(string baseAddress) - { - this.Host = baseAddress; - return this; - } - - /// - /// - /// - public string Host { get; private set; } - - /// - /// - /// - /// - /// - internal RedmineManagerOptionsBuilder WithSerializationType(MimeFormat mimeFormat) - { - this.SerializationType = mimeFormat == MimeFormat.Xml ? SerializationType.Xml : SerializationType.Json; - return this; - } - - /// - /// - /// - /// - /// - public RedmineManagerOptionsBuilder WithSerializationType(SerializationType serializationType) - { - this.SerializationType = serializationType; - return this; - } - - /// - /// Gets the current serialization type - /// - public SerializationType SerializationType { get; private set; } - - /// - /// - /// - /// - /// - public RedmineManagerOptionsBuilder WithApiKeyAuthentication(string apiKey) - { - this.Authentication = new RedmineApiKeyAuthentication(apiKey); - return this; - } - - /// - /// - /// - /// - /// - /// - public RedmineManagerOptionsBuilder WithBasicAuthentication(string login, string password) - { - this.Authentication = new RedmineBasicAuthentication(login, password); - return this; - } - - /// - /// - /// - public IRedmineAuthentication Authentication { get; private set; } - - /// - /// - /// - /// - /// - public RedmineManagerOptionsBuilder WithWebClient(Func clientFunc) - { - _clientType = ClientType.WebClient; - this.ClientFunc = clientFunc; - return this; - } - - /// - /// - /// - public Func ClientFunc { get; private set; } - - /// - /// - /// - /// - /// - [Obsolete("Use WithWebClientOptions(IRedmineWebClientOptions clientOptions) instead.")] - public RedmineManagerOptionsBuilder WithWebClientOptions(IRedmineApiClientOptions clientOptions) - { - return WithWebClientOptions((IRedmineWebClientOptions)clientOptions); - } - - /// - /// - /// - /// - /// - public RedmineManagerOptionsBuilder WithWebClientOptions(IRedmineWebClientOptions clientOptions) - { - _clientType = ClientType.WebClient; - this.WebClientOptions = clientOptions; - return this; - } - - /// - /// - /// - [Obsolete("Use WebClientOptions instead.")] - public IRedmineApiClientOptions ClientOptions - { - get => WebClientOptions; - private set { } - } - - /// - /// - /// - public IRedmineWebClientOptions WebClientOptions { get; private set; } - - /// - /// - /// - /// - /// - public RedmineManagerOptionsBuilder WithVersion(Version version) - { - this.Version = version; - return this; - } - - /// - /// - /// - /// - /// - /// - public RedmineManagerOptionsBuilder WithLogger(IRedmineLogger logger, Action configure = null) - { - _redmineLogger = logger ?? RedmineNullLogger.Instance; - _configureLoggingOptions = configure; - return this; - } -#if NET462_OR_GREATER || NETCOREAPP - /// - /// - /// - /// - /// - /// - public RedmineManagerOptionsBuilder WithLogger(ILogger logger, Action configure = null) - { - _redmineLogger = new MicrosoftLoggerRedmineAdapter(logger); - _configureLoggingOptions = configure; - return this; - } -#endif - /// - /// Gets or sets the version of the Redmine server to which this client will connect. - /// - public Version Version { get; set; } - - internal RedmineManagerOptionsBuilder WithVerifyServerCert(bool verifyServerCert) - { - this.VerifyServerCert = verifyServerCert; - return this; - } - - /// - /// - /// - public bool VerifyServerCert { get; private set; } - - /// - /// - /// - /// - internal RedmineManagerOptions Build() - { - const string defaultUserAgent = "Redmine.Net.Api.Net"; - var defaultDecompressionFormat = -#if NETFRAMEWORK - DecompressionMethods.GZip | DecompressionMethods.Deflate | DecompressionMethods.None; -#else - DecompressionMethods.All; -#endif - -#if NET45_OR_GREATER || NETCOREAPP - WebClientOptions ??= _clientType switch - { - ClientType.WebClient => new RedmineWebClientOptions() - { - UserAgent = defaultUserAgent, - DecompressionFormat = defaultDecompressionFormat, - }, - _ => throw new ArgumentOutOfRangeException() - }; -#else - WebClientOptions ??= new RedmineWebClientOptions() - { - UserAgent = defaultUserAgent, - DecompressionFormat = defaultDecompressionFormat, - }; -#endif - - var baseAddress = CreateRedmineUri(Host, WebClientOptions.Scheme); - RedmineLoggingOptions redmineLoggingOptions = null; - if (_configureLoggingOptions != null) - { - redmineLoggingOptions = new RedmineLoggingOptions(); - _configureLoggingOptions(redmineLoggingOptions); - } - - var options = new RedmineManagerOptions() - { - BaseAddress = baseAddress, - PageSize = PageSize > 0 ? PageSize : RedmineConstants.DEFAULT_PAGE_SIZE_VALUE, - VerifyServerCert = VerifyServerCert, - Serializer = RedmineSerializerFactory.CreateSerializer(SerializationType), - RedmineVersion = Version, - Authentication = Authentication ?? new RedmineNoAuthentication(), - WebClientOptions = WebClientOptions - Logger = _redmineLogger, - LoggingOptions = redmineLoggingOptions, - }; - - return options; - } - - private static readonly char[] DotCharArray = ['.']; - - internal static void EnsureDomainNameIsValid(string domainName) - { - if (domainName.IsNullOrWhiteSpace()) - { - throw new RedmineException("Domain name cannot be null or empty."); - } - - if (domainName.Length > 255) - { - throw new RedmineException("Domain name cannot be longer than 255 characters."); - } - - var labels = domainName.Split(DotCharArray); - if (labels.Length == 1) - { - throw new RedmineException("Domain name is not valid."); - } - foreach (var label in labels) - { - if (label.IsNullOrWhiteSpace() || label.Length > 63) - { - throw new RedmineException("Domain name must be between 1 and 63 characters."); - } - - if (!char.IsLetterOrDigit(label[0]) || !char.IsLetterOrDigit(label[label.Length - 1])) - { - throw new RedmineException("Domain name starts or ends with a hyphen."); - } - - for (var i = 0; i < label.Length; i++) - { - var c = label[i]; - - if (!char.IsLetterOrDigit(c) && c != '-') - { - throw new RedmineException("Domain name contains an invalid character."); - } - - if (c != '-') - { - continue; - } - - if (i + 1 < label.Length && (c ^ label[i+1]) == 0) - { - throw new RedmineException("Domain name contains consecutive hyphens."); - } - } - } - } - - internal static Uri CreateRedmineUri(string host, string scheme = null) - { - if (host.IsNullOrWhiteSpace() || host.Equals("string.Empty", StringComparison.OrdinalIgnoreCase)) - { - throw new RedmineException("The host is null or empty."); - } - - if (!Uri.TryCreate(host, UriKind.Absolute, out var uri)) - { - host = host.TrimEnd('/', '\\'); - EnsureDomainNameIsValid(host); - - if (!host.StartsWith(Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) || !host.StartsWith(Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase)) - { - host = $"{scheme ?? Uri.UriSchemeHttps}://{host}"; - - if (!Uri.TryCreate(host, UriKind.Absolute, out uri)) - { - throw new RedmineException("The host is not valid."); - } - } - } - - if (!uri.IsWellFormedOriginalString()) - { - throw new RedmineException("The host is not well-formed."); - } - - scheme ??= Uri.UriSchemeHttps; - var hasScheme = false; - if (!uri.Scheme.IsNullOrWhiteSpace()) - { - if (uri.Host.IsNullOrWhiteSpace() && uri.IsAbsoluteUri && !uri.IsFile) - { - if (uri.Scheme.Equals("localhost", StringComparison.OrdinalIgnoreCase)) - { - int port = 0; - var portAsString = uri.AbsolutePath.RemoveTrailingSlash(); - if (!portAsString.IsNullOrWhiteSpace()) - { - int.TryParse(portAsString, out port); - } - - var ub = new UriBuilder(scheme, "localhost", port); - return ub.Uri; - } - } - else - { - if (!IsSchemaHttpOrHttps(uri.Scheme)) - { - throw new RedmineException("Invalid host scheme. Only HTTP and HTTPS are supported."); - } - - hasScheme = true; - } - } - else - { - if (!IsSchemaHttpOrHttps(scheme)) - { - throw new RedmineException("Invalid host scheme. Only HTTP and HTTPS are supported."); - } - } - - var uriBuilder = new UriBuilder(); - - if (uri.HostNameType == UriHostNameType.IPv6) - { - uriBuilder.Scheme = (hasScheme ? uri.Scheme : scheme ?? Uri.UriSchemeHttps); - uriBuilder.Host = uri.Host; - } - else - { - if (uri.Authority.IsNullOrWhiteSpace()) - { - if (uri.Port == -1) - { - if (int.TryParse(uri.LocalPath, out var port)) - { - uriBuilder.Port = port; - } - } - - uriBuilder.Scheme = scheme ?? Uri.UriSchemeHttps; - uriBuilder.Host = uri.Scheme; - } - else - { - uriBuilder.Scheme = uri.Scheme; - uriBuilder.Port = int.TryParse(uri.LocalPath, out var port) ? port : uri.Port; - uriBuilder.Host = uri.Host; - if (!uri.LocalPath.IsNullOrWhiteSpace() && !uri.LocalPath.Contains(".")) - { - uriBuilder.Path = uri.LocalPath; - } - } - } - - try - { - return uriBuilder.Uri; - } - catch (Exception ex) - { - throw new RedmineException(ex.Message); - } - } - - private static bool IsSchemaHttpOrHttps(string scheme) - { - return scheme == Uri.UriSchemeHttp || scheme == Uri.UriSchemeHttps; - } - } -} \ No newline at end of file diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index b7aa954b..6f6c22a4 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -4,6 +4,7 @@ |net20|net40| |net20|net40|net45|net451|net452|net46|net461| + |net45|net451|net452|net46|net461| @@ -91,10 +92,17 @@ + + + + + + + @@ -104,6 +112,10 @@ + + + + From 93de57738fd9498c27d1cd9571393aa20ab6f2b1 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 16:54:49 +0300 Subject: [PATCH 584/601] Add more Wiki deserialization tests --- .../Serialization/Xml/WikiTests.cs | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/tests/redmine-net-api.Tests/Serialization/Xml/WikiTests.cs b/tests/redmine-net-api.Tests/Serialization/Xml/WikiTests.cs index b5d3a275..a3dbdbc5 100644 --- a/tests/redmine-net-api.Tests/Serialization/Xml/WikiTests.cs +++ b/tests/redmine-net-api.Tests/Serialization/Xml/WikiTests.cs @@ -77,6 +77,55 @@ public void Should_Deserialize_Wiki_Pages() Assert.Equal(new DateTime(2008, 3, 9, 12, 7, 8, DateTimeKind.Utc).ToLocalTime(), wikiPages[0].CreatedOn); Assert.Equal(new DateTime(2008, 3, 9, 22, 41, 33, DateTimeKind.Utc).ToLocalTime(), wikiPages[0].UpdatedOn); } + + [Fact] + public void Should_Deserialize_Empty_Wiki_Pages() + { + const string input = """ + + + + """; + + var output = fixture.Serializer.DeserializeToPagedResults(input); + + Assert.NotNull(output); + Assert.Equal(0, output.TotalItems); + } + + [Fact] + public void Should_Deserialize_Wiki_With_Attachments() + { + const string input = """ + + + Te$t + QEcISExBVZ + 3 + + uAqCrmSBDUpNMOU + 2025-05-26T16:32:41Z + 2025-05-26T16:43:01Z + + + 155 + test-file_QPqCTEa + 512000 + text/plain + JIIMEcwtuZUsIHY + http://localhost:8089/attachments/download/155/test-file_QPqCTEa + + 2025-05-26T16:32:36Z + + + + """; + + var output = fixture.Serializer.Deserialize(input); + + Assert.NotNull(output); + Assert.Single(output.Attachments); + } } From 54272a35ce3945d4ed819c4fa3490b760239a1c7 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 16:46:08 +0300 Subject: [PATCH 585/601] Integration tests Integration Tests --- .../RedmineTestContainerCollection.cs | 2 + .../Fixtures/RedmineTestContainerFixture.cs | 84 +----- .../Helpers/FileGeneratorHelper.cs | 2 +- .../Helpers/IssueTestHelper.cs | 36 --- .../Helpers/RandomHelper.cs | 2 +- .../{TestHelper.cs => ConfigurationHelper.cs} | 5 +- .../Infrastructure/Constants.cs | 2 +- .../Infrastructure/RedmineOptions.cs | 2 +- .../RedmineIntegrationTestsAsync.cs | 249 ------------------ .../RedmineIntegrationTestsSync.cs | 234 ---------------- .../TestData/init-redmine.sql | 3 + .../Tests/Async/AttachmentTestsAsync.cs | 103 -------- .../Tests/Async/FileTestsAsync.cs | 86 ------ .../Tests/Async/GroupTestsAsync.cs | 144 ---------- .../Tests/Async/IssueJournalTestsAsync.cs | 49 ---- .../Tests/Async/IssueRelationTestsAsync.cs | 91 ------- .../Tests/Async/MembershipTestsAsync.cs | 180 ------------- .../Tests/Async/NewsAsyncTests.cs | 55 ---- .../Async/ProjectInformationTestsAsync.cs | 19 -- .../Tests/Async/TimeEntryTests.cs | 114 -------- .../Tests/Async/UserTestsAsync.cs | 112 -------- .../Tests/Async/VersionTestsAsync.cs | 109 -------- .../Tests/Async/WikiTestsAsync.cs | 171 ------------ .../Tests/Common/EmailNotificationType.cs | 29 ++ .../Tests/Common/IssueTestHelper.cs | 82 ++++++ .../Tests/Common/TestConstants.cs | 20 ++ .../Tests/Common/TestEntityFactory.cs | 161 +++++++++++ .../Attachment}/AttachmentTests.cs | 22 +- .../Attachment/AttachmentTestsAsync.cs | 74 ++++++ .../CustomField/CustomFieldTests.cs} | 6 +- .../CustomField/CustomFieldTestsAsync.cs} | 6 +- .../Entities/Enumeration/EnumerationTests.cs | 18 ++ .../Enumeration}/EnumerationTestsAsync.cs | 3 +- .../Tests/Entities/File/FileTests.cs | 102 +++++++ .../Tests/Entities/File/FileTestsAsync.cs | 120 +++++++++ .../Tests/Entities/Group/GroupTests.cs | 111 ++++++++ .../Tests/Entities/Group/GroupTestsAsync.cs | 129 +++++++++ .../Issue}/IssueAttachmentUploadTests.cs | 30 +-- .../Issue}/IssueAttachmentUploadTestsAsync.cs | 28 +- .../Tests/Entities/Issue/IssueTests.cs | 132 ++++++++++ .../Issue}/IssueTestsAsync.cs | 26 +- .../Issue/IssueWatcherTests.cs} | 30 +-- .../Issue}/IssueWatcherTestsAsync.cs | 23 +- .../IssueCategory/IssueCategoryTests.cs} | 3 +- .../IssueCategory}/IssueCategoryTestsAsync.cs | 3 +- .../IssueRelation/IssueRelationTests.cs | 36 +++ .../IssueRelation/IssueRelationTestsAsync.cs | 51 ++++ .../IssueStatus}/IssueStatusTests.cs | 3 +- .../IssueStatus/IssueStatusTestsAsync.cs} | 5 +- .../Journal/JournalTests.cs} | 14 +- .../Journal}/JournalTestsAsync.cs | 24 +- .../Tests/Entities/News/NewsTests.cs | 32 +++ .../Tests/Entities/News/NewsTestsAsync.cs | 52 ++++ .../Project}/ProjectTestsAsync.cs | 16 +- .../ProjectMembershipTests.cs | 84 ++++++ .../ProjectMembershipTestsAsync.cs | 123 +++++++++ .../Tests/Entities/Query/QueryTests.cs | 18 ++ .../Query}/QueryTestsAsync.cs | 6 +- .../Tests/Entities/Role/RoleTests.cs | 19 ++ .../Role}/RoleTestsAsync.cs | 3 +- .../Tests/Entities/Search/SearchTests.cs | 28 ++ .../Search}/SearchTestsAsync.cs | 3 +- .../TimeEntry/TimeEntryActivityTestsAsync.cs} | 3 +- .../Entities/TimeEntry/TimeEntryTestsAsync.cs | 91 +++++++ .../Tracker}/TrackerTestsAsync.cs | 6 +- .../{Async => Entities}/UploadTestsAsync.cs | 10 +- .../Tests/Entities/User/UserTestsAsync.cs | 242 +++++++++++++++++ .../Entities/Version/VersionTestsAsync.cs | 86 ++++++ .../Tests/Entities/Wiki/WikiTestsAsync.cs | 206 +++++++++++++++ .../Tests/Progress/ProgressTests.Async.cs | 15 +- .../Tests/Progress/ProgressTests.cs | 9 +- .../Tests/Sync/EnumerationTestsSync.cs | 12 - .../Tests/Sync/FileUploadTests.cs | 82 ------ .../Tests/Sync/GroupManagementTests.cs | 118 --------- .../Tests/Sync/IssueJournalTestsSync.cs | 37 --- .../Tests/Sync/IssueRelationTests.cs | 58 ---- .../Tests/Sync/IssueTestsAsync.cs | 124 --------- .../Tests/Sync/NewsTestsIntegration.cs | 48 ---- .../Tests/Sync/ProjectMembershipTests.cs | 103 -------- .../appsettings.local.json | 2 +- .../redmine-net-api.Integration.Tests.csproj | 2 +- 81 files changed, 2212 insertions(+), 2571 deletions(-) delete mode 100644 tests/redmine-net-api.Integration.Tests/Helpers/IssueTestHelper.cs rename tests/redmine-net-api.Integration.Tests/Infrastructure/{TestHelper.cs => ConfigurationHelper.cs} (90%) delete mode 100644 tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsAsync.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsSync.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/AttachmentTestsAsync.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/GroupTestsAsync.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/IssueJournalTestsAsync.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/IssueRelationTestsAsync.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/NewsAsyncTests.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectInformationTestsAsync.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/UserTestsAsync.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Common/EmailNotificationType.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Common/IssueTestHelper.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Common/TestConstants.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Common/TestEntityFactory.cs rename tests/redmine-net-api.Integration.Tests/Tests/{Sync => Entities/Attachment}/AttachmentTests.cs (53%) create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/Attachment/AttachmentTestsAsync.cs rename tests/redmine-net-api.Integration.Tests/Tests/{Sync/CustomFieldTestsSync.cs => Entities/CustomField/CustomFieldTests.cs} (58%) rename tests/redmine-net-api.Integration.Tests/Tests/{Async/CustomFieldAsyncTests.cs => Entities/CustomField/CustomFieldTestsAsync.cs} (69%) create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/Enumeration/EnumerationTests.cs rename tests/redmine-net-api.Integration.Tests/Tests/{Async => Entities/Enumeration}/EnumerationTestsAsync.cs (86%) create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTestsAsync.cs rename tests/redmine-net-api.Integration.Tests/Tests/{Sync => Entities/Issue}/IssueAttachmentUploadTests.cs (59%) rename tests/redmine-net-api.Integration.Tests/Tests/{Async => Entities/Issue}/IssueAttachmentUploadTestsAsync.cs (55%) create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueTests.cs rename tests/redmine-net-api.Integration.Tests/Tests/{Async => Entities/Issue}/IssueTestsAsync.cs (85%) rename tests/redmine-net-api.Integration.Tests/Tests/{Sync/IssueWatcherTestsAsync.cs => Entities/Issue/IssueWatcherTests.cs} (52%) rename tests/redmine-net-api.Integration.Tests/Tests/{Async => Entities/Issue}/IssueWatcherTestsAsync.cs (73%) rename tests/redmine-net-api.Integration.Tests/Tests/{Sync/IssueCategoryTestsSync.cs => Entities/IssueCategory/IssueCategoryTests.cs} (93%) rename tests/redmine-net-api.Integration.Tests/Tests/{Async => Entities/IssueCategory}/IssueCategoryTestsAsync.cs (95%) create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTestsAsync.cs rename tests/redmine-net-api.Integration.Tests/Tests/{Sync => Entities/IssueStatus}/IssueStatusTests.cs (75%) rename tests/redmine-net-api.Integration.Tests/Tests/{Async/IssueStatusAsyncTests.cs => Entities/IssueStatus/IssueStatusTestsAsync.cs} (67%) rename tests/redmine-net-api.Integration.Tests/Tests/{Sync/JournalManagementTests.cs => Entities/Journal/JournalTests.cs} (70%) rename tests/redmine-net-api.Integration.Tests/Tests/{Async => Entities/Journal}/JournalTestsAsync.cs (64%) create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTestsAsync.cs rename tests/redmine-net-api.Integration.Tests/Tests/{Async => Entities/Project}/ProjectTestsAsync.cs (76%) create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTests.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/Query/QueryTests.cs rename tests/redmine-net-api.Integration.Tests/Tests/{Async => Entities/Query}/QueryTestsAsync.cs (58%) create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/Role/RoleTests.cs rename tests/redmine-net-api.Integration.Tests/Tests/{Async => Entities/Role}/RoleTestsAsync.cs (76%) create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/Search/SearchTests.cs rename tests/redmine-net-api.Integration.Tests/Tests/{Async => Entities/Search}/SearchTestsAsync.cs (83%) rename tests/redmine-net-api.Integration.Tests/Tests/{Async/TimeEntryActivityTests.cs => Entities/TimeEntry/TimeEntryActivityTestsAsync.cs} (78%) create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/TimeEntry/TimeEntryTestsAsync.cs rename tests/redmine-net-api.Integration.Tests/Tests/{Async => Entities/Tracker}/TrackerTestsAsync.cs (61%) rename tests/redmine-net-api.Integration.Tests/Tests/{Async => Entities}/UploadTestsAsync.cs (86%) create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/User/UserTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/Version/VersionTestsAsync.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Entities/Wiki/WikiTestsAsync.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/EnumerationTestsSync.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/FileUploadTests.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/GroupManagementTests.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueJournalTestsSync.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueRelationTests.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueTestsAsync.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/NewsTestsIntegration.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Tests/Sync/ProjectMembershipTests.cs diff --git a/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerCollection.cs b/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerCollection.cs index 61b0cafb..0ca114d1 100644 --- a/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerCollection.cs +++ b/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerCollection.cs @@ -1,3 +1,5 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; + namespace Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; [CollectionDefinition(Constants.RedmineTestContainerCollection)] diff --git a/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs b/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs index 33173b11..a840849b 100644 --- a/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs +++ b/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs @@ -3,9 +3,9 @@ using DotNet.Testcontainers.Containers; using DotNet.Testcontainers.Networks; using Npgsql; -using Padi.DotNet.RedmineAPI.Tests; -using Padi.DotNet.RedmineAPI.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; using Redmine.Net.Api; +using Redmine.Net.Api.Options; using Testcontainers.PostgreSql; using Xunit.Abstractions; @@ -35,7 +35,7 @@ public class RedmineTestContainerFixture : IAsyncLifetime public RedmineTestContainerFixture() { - _redmineOptions = TestHelper.GetConfiguration(); + _redmineOptions = ConfigurationHelper.GetConfiguration(); if (_redmineOptions.Mode != TestContainerMode.UseExisting) { @@ -43,48 +43,6 @@ public RedmineTestContainerFixture() } } - // private static string GetExistingRedmineUrl() - // { - // return GetConfigValue("TestContainer:ExistingRedmineUrl") ?? "http://localhost:3000/"; - // } - // - // private static string GetRedmineUsername() - // { - // return GetConfigValue("Redmine:Username") ?? DefaultRedmineUser; - // } - // - // private static string GetRedminePassword() - // { - // return GetConfigValue("Redmine:Password") ?? DefaultRedminePassword; - // } - - /// - /// Gets configuration value from environment variables or appsettings.json - /// - // private static string GetConfigValue(string key) - // { - // var envKey = key.Replace(":", "__"); - // var envValue = Environment.GetEnvironmentVariable(envKey); - // if (!string.IsNullOrEmpty(envValue)) - // { - // return envValue; - // } - // - // try - // { - // var config = new ConfigurationBuilder() - // .AddJsonFile("appsettings.json", optional: true) - // .AddJsonFile("appsettings.local.json", optional: true) - // .Build(); - // - // return config[key]; - // } - // catch - // { - // return null; - // } - // } - /// /// Detects if running in a CI/CD environment /// @@ -94,30 +52,6 @@ private static bool IsRunningInCiEnvironment() !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("GITHUB_ACTIONS")); } - - /// - /// Gets container mode from configuration - /// - // private static TestContainerMode GetContainerMode() - // { - // var mode = GetConfigValue("TestContainer:Mode"); - // - // if (string.IsNullOrEmpty(mode)) - // { - // if (IsRunningInCiEnvironment()) - // { - // return TestContainerMode.CreateNewWithRandomPorts; - // } - // - // return TestContainerMode.CreateNewWithRandomPorts; - // } - // - // return mode.ToLowerInvariant() switch - // { - // "existing" => TestContainerMode.UseExisting, - // _ => TestContainerMode.CreateNewWithRandomPorts - // }; - // } private void BuildContainers() { @@ -125,8 +59,7 @@ private void BuildContainers() .WithDriver(NetworkDriver.Bridge) .Build(); - var postgresBuilder - = new PostgreSqlBuilder() + var postgresBuilder = new PostgreSqlBuilder() .WithImage(PostgresImage) .WithNetwork(Network) .WithNetworkAliases(RedmineNetworkAlias) @@ -150,8 +83,7 @@ var postgresBuilder PostgresContainer = postgresBuilder.Build(); - var redmineBuilder - = new ContainerBuilder() + var redmineBuilder = new ContainerBuilder() .WithImage(RedmineImage) .WithNetwork(Network) .WithPortBinding(RedminePort, assignRandomHostPort: true) @@ -213,7 +145,11 @@ public async Task InitializeAsync() RedmineHost = $"http://{RedmineContainer.Hostname}:{RedmineContainer.GetMappedPublicPort(RedminePort)}"; } - rmgBuilder.WithHost(RedmineHost); + rmgBuilder + .WithHost(RedmineHost) + .UseHttpClient() + //.UseWebClient() + .WithXmlSerialization(); RedmineManager = new RedmineManager(rmgBuilder); } diff --git a/tests/redmine-net-api.Integration.Tests/Helpers/FileGeneratorHelper.cs b/tests/redmine-net-api.Integration.Tests/Helpers/FileGeneratorHelper.cs index 62975276..7ec2cc47 100644 --- a/tests/redmine-net-api.Integration.Tests/Helpers/FileGeneratorHelper.cs +++ b/tests/redmine-net-api.Integration.Tests/Helpers/FileGeneratorHelper.cs @@ -1,6 +1,6 @@ using System.Text; using Redmine.Net.Api; -using Redmine.Net.Api.Net; +using Redmine.Net.Api.Http; using Redmine.Net.Api.Types; using File = System.IO.File; diff --git a/tests/redmine-net-api.Integration.Tests/Helpers/IssueTestHelper.cs b/tests/redmine-net-api.Integration.Tests/Helpers/IssueTestHelper.cs deleted file mode 100644 index 5fbae108..00000000 --- a/tests/redmine-net-api.Integration.Tests/Helpers/IssueTestHelper.cs +++ /dev/null @@ -1,36 +0,0 @@ -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; - -internal static class IssueTestHelper -{ - internal static readonly IdentifiableName ProjectIdName = IdentifiableName.Create(1); - - internal static Issue CreateIssue(List customFields = null, List watchers = null, - List uploads = null) - => new() - { - Project = ProjectIdName, - Subject = RandomHelper.GenerateText(9), - Description = RandomHelper.GenerateText(18), - Tracker = 1.ToIdentifier(), - Status = 1.ToIssueStatusIdentifier(), - Priority = 2.ToIdentifier(), - CustomFields = customFields, - Watchers = watchers, - Uploads = uploads - }; - - internal static void AssertBasic(Issue expected, Issue actual) - { - Assert.NotNull(actual); - Assert.True(actual.Id > 0); - Assert.Equal(expected.Subject, actual.Subject); - Assert.Equal(expected.Description, actual.Description); - Assert.Equal(expected.Project.Id, actual.Project.Id); - Assert.Equal(expected.Tracker.Id, actual.Tracker.Id); - Assert.Equal(expected.Status.Id, actual.Status.Id); - Assert.Equal(expected.Priority.Id, actual.Priority.Id); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Helpers/RandomHelper.cs b/tests/redmine-net-api.Integration.Tests/Helpers/RandomHelper.cs index e7814fc8..822a7984 100644 --- a/tests/redmine-net-api.Integration.Tests/Helpers/RandomHelper.cs +++ b/tests/redmine-net-api.Integration.Tests/Helpers/RandomHelper.cs @@ -1,6 +1,6 @@ using System.Text; -namespace Padi.DotNet.RedmineAPI.Integration.Tests; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; internal static class RandomHelper { diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/TestHelper.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/ConfigurationHelper.cs similarity index 90% rename from tests/redmine-net-api.Integration.Tests/Infrastructure/TestHelper.cs rename to tests/redmine-net-api.Integration.Tests/Infrastructure/ConfigurationHelper.cs index 418058e6..19a92aa9 100644 --- a/tests/redmine-net-api.Integration.Tests/Infrastructure/TestHelper.cs +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/ConfigurationHelper.cs @@ -1,9 +1,8 @@ using Microsoft.Extensions.Configuration; -using Padi.DotNet.RedmineAPI.Tests.Infrastructure; -namespace Padi.DotNet.RedmineAPI.Tests +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure { - internal static class TestHelper + internal static class ConfigurationHelper { private static IConfigurationRoot GetIConfigurationRoot(string outputPath) { diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/Constants.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/Constants.cs index 93861d62..85806f08 100644 --- a/tests/redmine-net-api.Integration.Tests/Infrastructure/Constants.cs +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/Constants.cs @@ -1,4 +1,4 @@ -namespace Padi.DotNet.RedmineAPI.Integration.Tests; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; public static class Constants { diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineOptions.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineOptions.cs index 6139c23b..2c5f5d09 100644 --- a/tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineOptions.cs +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineOptions.cs @@ -1,6 +1,6 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -namespace Padi.DotNet.RedmineAPI.Tests.Infrastructure +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure { public sealed class TestContainerOptions { diff --git a/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsAsync.cs deleted file mode 100644 index 356fa51e..00000000 --- a/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsAsync.cs +++ /dev/null @@ -1,249 +0,0 @@ -using System.Collections.Specialized; -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Types; -using Version = Redmine.Net.Api.Types.Version; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests; - -[Collection(Constants.RedmineTestContainerCollection)] -public class RedmineIntegrationTestsAsync(RedmineTestContainerFixture fixture) -{ - private readonly RedmineManager _redmineManager = fixture.RedmineManager; - - [Fact] - public async Task Should_ReturnProjectsAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnRolesAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnAttachmentsAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnCustomFieldsAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnGroupsAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnFilesAsync() - { - var list = await _redmineManager.GetAsync(new RequestOptions() - { - QueryString = new NameValueCollection() - { - { RedmineKeys.PROJECT_ID, 1.ToString() } - } - }); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnIssuesAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnIssueWithVersionsAsync() - { - var issue = await _redmineManager.GetAsync(5.ToInvariantString(), - new RequestOptions { - QueryString = new NameValueCollection() - { - { RedmineKeys.INCLUDE, RedmineKeys.WATCHERS } - } - } - ); - Assert.NotNull(issue); - } - - [Fact] - public async Task Should_ReturnIssueCategoriesAsync() - { - var list = await _redmineManager.GetAsync(new RequestOptions() - { - QueryString = new NameValueCollection() - { - { RedmineKeys.PROJECT_ID, 1.ToString() } - } - }); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnIssueCustomFieldsAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnIssuePrioritiesAsync() - { - var list = await _redmineManager.GetAsync(new RequestOptions() - { - QueryString = new NameValueCollection() - { - { RedmineKeys.ISSUE_ID, 1.ToString() } - } - }); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnIssueRelationsAsync() - { - var list = await _redmineManager.GetAsync(new RequestOptions() - { - QueryString = new NameValueCollection() - { - { RedmineKeys.ISSUE_ID, 1.ToString() } - } - }); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnIssueStatusesAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnJournalsAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnNewsAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnProjectMembershipsAsync() - { - var list = await _redmineManager.GetAsync(new RequestOptions() - { - QueryString = new NameValueCollection() - { - { RedmineKeys.PROJECT_ID, 1.ToString() } - } - }); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnQueriesAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnSearchesAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnTimeEntriesAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnTimeEntryActivitiesAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnTrackersAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnUsersAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnVersionsAsync() - { - var list = await _redmineManager.GetAsync(new RequestOptions() - { - QueryString = new NameValueCollection() - { - { RedmineKeys.PROJECT_ID, 1.ToString() } - } - }); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public async Task Should_ReturnWatchersAsync() - { - var list = await _redmineManager.GetAsync(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsSync.cs b/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsSync.cs deleted file mode 100644 index 024b719b..00000000 --- a/tests/redmine-net-api.Integration.Tests/RedmineIntegrationTestsSync.cs +++ /dev/null @@ -1,234 +0,0 @@ -using System.Collections.Specialized; -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Types; -using Version = Redmine.Net.Api.Types.Version; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests; - -[Collection(Constants.RedmineTestContainerCollection)] -public class RedmineIntegrationTestsSync(RedmineTestContainerFixture fixture) -{ - private readonly RedmineManager _redmineManager = fixture.RedmineManager; - - [Fact] - public void Should_ReturnProjects() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnRoles() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnAttachments() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnCustomFields() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnGroups() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnFiles() - { - var list = _redmineManager.Get(new RequestOptions() - { - QueryString = new NameValueCollection() - { - { RedmineKeys.PROJECT_ID, 1.ToString() } - } - }); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnIssues() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnIssueCategories() - { - var list = _redmineManager.Get(new RequestOptions() - { - QueryString = new NameValueCollection() - { - { RedmineKeys.PROJECT_ID, 1.ToString() } - } - }); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnIssueCustomFields() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnIssuePriorities() - { - var list = _redmineManager.Get(new RequestOptions() - { - QueryString = new NameValueCollection() - { - { RedmineKeys.ISSUE_ID, 1.ToString() } - } - }); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnIssueRelations() - { - var list = _redmineManager.Get(new RequestOptions() - { - QueryString = new NameValueCollection() - { - { RedmineKeys.ISSUE_ID, 1.ToString() } - } - }); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnIssueStatuses() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnJournals() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnNews() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnProjectMemberships() - { - var list = _redmineManager.Get(new RequestOptions() - { - QueryString = new NameValueCollection() - { - { RedmineKeys.PROJECT_ID, 1.ToString() } - } - }); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnQueries() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnSearches() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnTimeEntries() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnTimeEntryActivities() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnTrackers() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnUsers() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnVersions() - { - var list = _redmineManager.Get(new RequestOptions() - { - QueryString = new NameValueCollection() - { - { RedmineKeys.PROJECT_ID, 1.ToString() } - } - }); - Assert.NotNull(list); - Assert.NotEmpty(list); - } - - [Fact] - public void Should_ReturnWatchers() - { - var list = _redmineManager.Get(); - Assert.NotNull(list); - Assert.NotEmpty(list); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/TestData/init-redmine.sql b/tests/redmine-net-api.Integration.Tests/TestData/init-redmine.sql index d511ec2b..85fabbf1 100644 --- a/tests/redmine-net-api.Integration.Tests/TestData/init-redmine.sql +++ b/tests/redmine-net-api.Integration.Tests/TestData/init-redmine.sql @@ -53,6 +53,7 @@ values (1, 'Bug', 1, false, 0, 1, null), insert into projects (id, name, description, homepage, is_public, parent_id, created_on, updated_on, identifier, status, lft, rgt, inherit_members, default_version_id, default_assigned_to_id, default_issue_query_id) values (1, 'Project-Test', null, '', true, null, '2024-09-02 10:14:33.789394', '2024-09-02 10:14:33.789394', 'project-test', 1, 1, 2, false, null, null, null); +insert into public.wikis (id, project_id, start_page, status) values (1, 1, 'Wiki', 1); insert into versions (id, project_id, name, description, effective_date, created_on, updated_on, wiki_page_title, status, sharing) values (1, 1, 'version1', '', null, '2025-04-28 17:56:49.245993', '2025-04-28 17:56:49.245993', '', 'open', 'none'), @@ -65,3 +66,5 @@ values (5, 1, 1, '#380', '', null, 1, 1, null, 2, 2, 90, 1, '2025-04-28 17:58:4 insert into watchers (id, watchable_type, watchable_id, user_id) values (8, 'Issue', 5, 90), (9, 'Issue', 5, 91); + + diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/AttachmentTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/AttachmentTestsAsync.cs deleted file mode 100644 index 4750b31f..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/AttachmentTestsAsync.cs +++ /dev/null @@ -1,103 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; - -[Collection(Constants.RedmineTestContainerCollection)] -public class AttachmentTestsAsync(RedmineTestContainerFixture fixture) -{ - [Fact] - public async Task CreateIssueWithAttachment_Should_Succeed() - { - // Arrange - var upload = FileTestHelper.UploadRandom500KbFile(fixture.RedmineManager); - Assert.NotNull(upload); - - // Act - var issue = IssueTestHelper.CreateIssue(uploads: [upload]); - var createdIssue = await fixture.RedmineManager.CreateAsync(issue); - - // Assert - Assert.NotNull(createdIssue); - Assert.True(createdIssue.Id > 0); - } - - [Fact] - public async Task GetIssueWithAttachments_Should_Succeed() - { - // Arrange - var upload = FileTestHelper.UploadRandom500KbFile(fixture.RedmineManager); - var issue = IssueTestHelper.CreateIssue(uploads: [upload]); - var createdIssue = await fixture.RedmineManager.CreateAsync(issue); - - // Act - var retrievedIssue = await fixture.RedmineManager.GetAsync( - createdIssue.Id.ToString(), - RequestOptions.Include("attachments")); - - // Assert - Assert.NotNull(retrievedIssue); - Assert.NotNull(retrievedIssue.Attachments); - Assert.NotEmpty(retrievedIssue.Attachments); - } - - [Fact] - public async Task GetAttachmentById_Should_Succeed() - { - // Arrange - var upload = FileTestHelper.UploadRandom500KbFile(fixture.RedmineManager); - var issue = IssueTestHelper.CreateIssue(uploads: [upload]); - var createdIssue = await fixture.RedmineManager.CreateAsync(issue); - - var retrievedIssue = await fixture.RedmineManager.GetAsync( - createdIssue.Id.ToString(), - RequestOptions.Include("attachments")); - - var attachment = retrievedIssue.Attachments.FirstOrDefault(); - Assert.NotNull(attachment); - - // Act - var downloadedAttachment = await fixture.RedmineManager.GetAsync(attachment.Id.ToString()); - - // Assert - Assert.NotNull(downloadedAttachment); - Assert.Equal(attachment.Id, downloadedAttachment.Id); - Assert.Equal(attachment.FileName, downloadedAttachment.FileName); - } - - [Fact] - public async Task UploadLargeFile_Should_Succeed() - { - // Arrange & Act - var upload = await FileTestHelper.UploadRandom1MbFileAsync(fixture.RedmineManager); - - // Assert - Assert.NotNull(upload); - Assert.NotEmpty(upload.Token); - } - - [Fact] - public async Task UploadMultipleFiles_Should_Succeed() - { - // Arrange & Act - var upload1 = await FileTestHelper.UploadRandom500KbFileAsync(fixture.RedmineManager); - Assert.NotNull(upload1); - Assert.NotEmpty(upload1.Token); - - var upload2 = await FileTestHelper.UploadRandom500KbFileAsync(fixture.RedmineManager); - Assert.NotNull(upload2); - Assert.NotEmpty(upload2.Token); - - // Assert - var issue = IssueTestHelper.CreateIssue(uploads: [upload1, upload2]); - var createdIssue = await fixture.RedmineManager.CreateAsync(issue); - - var retrievedIssue = await fixture.RedmineManager.GetAsync( - createdIssue.Id.ToString(), - RequestOptions.Include("attachments")); - - Assert.Equal(2, retrievedIssue.Attachments.Count); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs deleted file mode 100644 index f678d5d9..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/FileTestsAsync.cs +++ /dev/null @@ -1,86 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; -using File = Redmine.Net.Api.Types.File; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; - -[Collection(Constants.RedmineTestContainerCollection)] -public class FileTestsAsync(RedmineTestContainerFixture fixture) -{ - private const string PROJECT_ID = "1"; - - [Fact] - public async Task CreateFile_Should_Succeed() - { - var (_, token) = await UploadFileAsync(); - - var filePayload = new File - { - Token = token, - }; - - var createdFile = await fixture.RedmineManager.CreateAsync(filePayload, PROJECT_ID); - Assert.Null(createdFile); - - var files = await fixture.RedmineManager.GetProjectFilesAsync(PROJECT_ID); - - //Assert - Assert.NotNull(files); - Assert.NotEmpty(files.Items); - } - - [Fact] - public async Task CreateFile_Without_Token_Should_Fail() - { - await Assert.ThrowsAsync(() => fixture.RedmineManager.CreateAsync( - new File { Filename = "VBpMc.txt" }, PROJECT_ID)); - } - - [Fact] - public async Task CreateFile_With_OptionalParameters_Should_Succeed() - { - var (fileName, token) = await UploadFileAsync(); - - var filePayload = new File - { - Token = token, - Filename = fileName, - Description = RandomHelper.GenerateText(9), - ContentType = "text/plain", - }; - - var createdFile = await fixture.RedmineManager.CreateAsync(filePayload, PROJECT_ID); - Assert.Null(createdFile); - } - - [Fact] - public async Task CreateFile_With_Version_Should_Succeed() - { - var (fileName, token) = await UploadFileAsync(); - - var filePayload = new File - { - Token = token, - Filename = fileName, - Description = RandomHelper.GenerateText(9), - ContentType = "text/plain", - Version = 1.ToIdentifier(), - }; - - var createdFile = await fixture.RedmineManager.CreateAsync(filePayload, PROJECT_ID); - Assert.Null(createdFile); - } - - private async Task<(string,string)> UploadFileAsync() - { - var bytes = "Hello World!"u8.ToArray(); - var fileName = $"{RandomHelper.GenerateText(5)}.txt"; - var upload = await fixture.RedmineManager.UploadFileAsync(bytes, fileName); - - Assert.NotNull(upload); - Assert.NotNull(upload.Token); - - return (fileName, upload.Token); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/GroupTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/GroupTestsAsync.cs deleted file mode 100644 index 313a7b67..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/GroupTestsAsync.cs +++ /dev/null @@ -1,144 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; - -[Collection(Constants.RedmineTestContainerCollection)] -public class GroupTestsAsync(RedmineTestContainerFixture fixture) -{ - private async Task CreateTestGroupAsync() - { - var group = new Group - { - Name = $"Test Group {Guid.NewGuid()}" - }; - - return await fixture.RedmineManager.CreateAsync(group); - } - - [Fact] - public async Task GetAllGroups_Should_Succeed() - { - // Act - var groups = await fixture.RedmineManager.GetAsync(); - - // Assert - Assert.NotNull(groups); - } - - [Fact] - public async Task CreateGroup_Should_Succeed() - { - // Arrange - var group = new Group - { - Name = $"Test Group {Guid.NewGuid()}" - }; - - // Act - var createdGroup = await fixture.RedmineManager.CreateAsync(group); - - // Assert - Assert.NotNull(createdGroup); - Assert.True(createdGroup.Id > 0); - Assert.Equal(group.Name, createdGroup.Name); - } - - [Fact] - public async Task GetGroup_Should_Succeed() - { - // Arrange - var createdGroup = await CreateTestGroupAsync(); - Assert.NotNull(createdGroup); - - // Act - var retrievedGroup = await fixture.RedmineManager.GetAsync(createdGroup.Id.ToInvariantString()); - - // Assert - Assert.NotNull(retrievedGroup); - Assert.Equal(createdGroup.Id, retrievedGroup.Id); - Assert.Equal(createdGroup.Name, retrievedGroup.Name); - } - - [Fact] - public async Task UpdateGroup_Should_Succeed() - { - // Arrange - var createdGroup = await CreateTestGroupAsync(); - Assert.NotNull(createdGroup); - - var updatedName = $"Updated Test Group {Guid.NewGuid()}"; - createdGroup.Name = updatedName; - - // Act - await fixture.RedmineManager.UpdateAsync(createdGroup.Id.ToInvariantString(), createdGroup); - var retrievedGroup = await fixture.RedmineManager.GetAsync(createdGroup.Id.ToInvariantString()); - - // Assert - Assert.NotNull(retrievedGroup); - Assert.Equal(createdGroup.Id, retrievedGroup.Id); - Assert.Equal(updatedName, retrievedGroup.Name); - } - - [Fact] - public async Task DeleteGroup_Should_Succeed() - { - // Arrange - var createdGroup = await CreateTestGroupAsync(); - Assert.NotNull(createdGroup); - - var groupId = createdGroup.Id.ToInvariantString(); - - // Act - await fixture.RedmineManager.DeleteAsync(groupId); - - // Assert - await Assert.ThrowsAsync(async () => - await fixture.RedmineManager.GetAsync(groupId)); - } - - [Fact] - public async Task AddUserToGroup_Should_Succeed() - { - // Arrange - var group = await CreateTestGroupAsync(); - Assert.NotNull(group); - - // Assuming there's at least one user in the system (typically Admin with ID 1) - var userId = 1; - - // Act - await fixture.RedmineManager.AddUserToGroupAsync(group.Id, userId); - var updatedGroup = await fixture.RedmineManager.GetAsync(group.Id.ToString(), RequestOptions.Include("users")); - - // Assert - Assert.NotNull(updatedGroup); - Assert.NotNull(updatedGroup.Users); - Assert.Contains(updatedGroup.Users, u => u.Id == userId); - } - - [Fact] - public async Task RemoveUserFromGroup_Should_Succeed() - { - // Arrange - var group = await CreateTestGroupAsync(); - Assert.NotNull(group); - - // Assuming there's at least one user in the system (typically Admin with ID 1) - var userId = 1; - - // First add the user to the group - await fixture.RedmineManager.AddUserToGroupAsync(group.Id, userId); - - // Act - await fixture.RedmineManager.RemoveUserFromGroupAsync(group.Id, userId); - var updatedGroup = await fixture.RedmineManager.GetAsync(group.Id.ToString(), RequestOptions.Include("users")); - - // Assert - Assert.NotNull(updatedGroup); - // Assert.DoesNotContain(updatedGroup.Users ?? new List(), u => u.Id == userId); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueJournalTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueJournalTestsAsync.cs deleted file mode 100644 index 73dffec4..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueJournalTestsAsync.cs +++ /dev/null @@ -1,49 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; - -[Collection(Constants.RedmineTestContainerCollection)] -public class IssueJournalTestsAsync(RedmineTestContainerFixture fixture) -{ - [Fact] - public async Task GetIssueWithJournals_Should_Succeed() - { - // Arrange - // Create an issue - var issue = new Issue - { - Project = new IdentifiableName { Id = 1 }, - Tracker = new IdentifiableName { Id = 1 }, - Status = new IssueStatus { Id = 1 }, - Priority = new IdentifiableName { Id = 4 }, - Subject = $"Test issue for journals {Guid.NewGuid()}", - Description = "Test issue description" - }; - - var createdIssue = await fixture.RedmineManager.CreateAsync(issue); - Assert.NotNull(createdIssue); - - // Update the issue to create a journal entry - var updateIssue = new Issue - { - Notes = "This is a test note that should appear in journals", - Subject = $"Updated subject {Guid.NewGuid()}" - }; - - await fixture.RedmineManager.UpdateAsync(createdIssue.Id.ToString(), updateIssue); - - // Act - // Get the issue with journals - var retrievedIssue = - await fixture.RedmineManager.GetAsync(createdIssue.Id.ToString(), - RequestOptions.Include("journals")); - - // Assert - Assert.NotNull(retrievedIssue); - Assert.NotNull(retrievedIssue.Journals); - Assert.NotEmpty(retrievedIssue.Journals); - Assert.Contains(retrievedIssue.Journals, j => j.Notes?.Contains("test note") == true); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueRelationTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueRelationTestsAsync.cs deleted file mode 100644 index 1cf208cc..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueRelationTestsAsync.cs +++ /dev/null @@ -1,91 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; - -[Collection(Constants.RedmineTestContainerCollection)] -public class IssueRelationTestsAsync(RedmineTestContainerFixture fixture) -{ - private async Task<(Issue firstIssue, Issue secondIssue)> CreateTestIssuesAsync() - { - var issue1 = new Issue - { - Project = new IdentifiableName { Id = 1 }, - Tracker = new IdentifiableName { Id = 1 }, - Status = new IssueStatus { Id = 1 }, - Priority = new IdentifiableName { Id = 4 }, - Subject = $"Test issue 1 subject {Guid.NewGuid()}", - Description = "Test issue 1 description" - }; - - var issue2 = new Issue - { - Project = new IdentifiableName { Id = 1 }, - Tracker = new IdentifiableName { Id = 1 }, - Status = new IssueStatus { Id = 1 }, - Priority = new IdentifiableName { Id = 4 }, - Subject = $"Test issue 2 subject {Guid.NewGuid()}", - Description = "Test issue 2 description" - }; - - var createdIssue1 = await fixture.RedmineManager.CreateAsync(issue1); - var createdIssue2 = await fixture.RedmineManager.CreateAsync(issue2); - - return (createdIssue1, createdIssue2); - } - - private async Task CreateTestIssueRelationAsync() - { - var (issue1, issue2) = await CreateTestIssuesAsync(); - - var relation = new IssueRelation - { - IssueId = issue1.Id, - IssueToId = issue2.Id, - Type = IssueRelationType.Relates - }; - - return await fixture.RedmineManager.CreateAsync( relation, issue1.Id.ToString()); - } - - [Fact] - public async Task CreateIssueRelation_Should_Succeed() - { - // Arrange - var (issue1, issue2) = await CreateTestIssuesAsync(); - - var relation = new IssueRelation - { - IssueId = issue1.Id, - IssueToId = issue2.Id, - Type = IssueRelationType.Relates - }; - - // Act - var createdRelation = await fixture.RedmineManager.CreateAsync(relation, issue1.Id.ToString()); - - // Assert - Assert.NotNull(createdRelation); - Assert.True(createdRelation.Id > 0); - Assert.Equal(relation.IssueId, createdRelation.IssueId); - Assert.Equal(relation.IssueToId, createdRelation.IssueToId); - Assert.Equal(relation.Type, createdRelation.Type); - } - - [Fact] - public async Task DeleteIssueRelation_Should_Succeed() - { - // Arrange - var relation = await CreateTestIssueRelationAsync(); - Assert.NotNull(relation); - - // Act & Assert - await fixture.RedmineManager.DeleteAsync(relation.Id.ToString()); - - // Verify the relation no longer exists by checking the issue doesn't have it - var issue = await fixture.RedmineManager.GetAsync(relation.IssueId.ToString(), RequestOptions.Include("relations")); - - Assert.Null(issue.Relations?.FirstOrDefault(r => r.Id == relation.Id)); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs deleted file mode 100644 index b8f36de3..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/MembershipTestsAsync.cs +++ /dev/null @@ -1,180 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; - -[Collection(Constants.RedmineTestContainerCollection)] -public class MembershipTestsAsync(RedmineTestContainerFixture fixture) -{ - private const string PROJECT_ID = "1"; - - private async Task CreateTestMembershipAsync() - { - var roles = await fixture.RedmineManager.GetAsync(); - Assert.NotEmpty(roles); - - var user = new User - { - Login = RandomHelper.GenerateText(10), - FirstName = RandomHelper.GenerateText(8), - LastName = RandomHelper.GenerateText(9), - Email = $"{RandomHelper.GenerateText(5)}@example.com", - Password = "password123", - MustChangePassword = false, - Status = UserStatus.StatusActive - }; - - var createdUser = await fixture.RedmineManager.CreateAsync(user); - Assert.NotNull(createdUser); - - var membership = new ProjectMembership - { - User = new IdentifiableName { Id = createdUser.Id }, - Roles = [new MembershipRole { Id = roles[0].Id }] - }; - - return await fixture.RedmineManager.CreateAsync(membership, PROJECT_ID); - } - - [Fact] - public async Task GetProjectMemberships_Should_Succeed() - { - // Act - var memberships = await fixture.RedmineManager.GetProjectMembershipsAsync(PROJECT_ID); - - // Assert - Assert.NotNull(memberships); - } - - [Fact] - public async Task CreateMembership_Should_Succeed() - { - // Arrange - var roles = await fixture.RedmineManager.GetAsync(); - Assert.NotEmpty(roles); - - var user = new User - { - Login = RandomHelper.GenerateText(10), - FirstName = RandomHelper.GenerateText(8), - LastName = RandomHelper.GenerateText(9), - Email = $"{RandomHelper.GenerateText(5)}@example.com", - Password = "password123", - MustChangePassword = false, - Status = UserStatus.StatusActive - }; - - var createdUser = await fixture.RedmineManager.CreateAsync(user); - Assert.NotNull(createdUser); - - var membership = new ProjectMembership - { - User = new IdentifiableName { Id = createdUser.Id }, - Roles = [new MembershipRole { Id = roles[0].Id }] - }; - - // Act - var createdMembership = await fixture.RedmineManager.CreateAsync(membership, PROJECT_ID); - - // Assert - Assert.NotNull(createdMembership); - Assert.True(createdMembership.Id > 0); - Assert.Equal(membership.User.Id, createdMembership.User.Id); - Assert.NotEmpty(createdMembership.Roles); - } - - [Fact] - public async Task UpdateMembership_Should_Succeed() - { - // Arrange - var membership = await CreateTestMembershipAsync(); - Assert.NotNull(membership); - - var roles = await fixture.RedmineManager.GetAsync(); - Assert.NotEmpty(roles); - - // Change roles - var newRoleId = roles.FirstOrDefault(r => membership.Roles.All(mr => mr.Id != r.Id))?.Id ?? roles.First().Id; - membership.Roles = [new MembershipRole { Id = newRoleId }]; - - // Act - await fixture.RedmineManager.UpdateAsync(membership.Id.ToString(), membership); - - // Get the updated membership from project memberships - var updatedMemberships = await fixture.RedmineManager.GetProjectMembershipsAsync(PROJECT_ID); - var updatedMembership = updatedMemberships.Items.FirstOrDefault(m => m.Id == membership.Id); - - // Assert - Assert.NotNull(updatedMembership); - Assert.Contains(updatedMembership.Roles, r => r.Id == newRoleId); - } - - [Fact] - public async Task DeleteMembership_Should_Succeed() - { - // Arrange - var membership = await CreateTestMembershipAsync(); - Assert.NotNull(membership); - - var membershipId = membership.Id.ToString(); - - // Act - await fixture.RedmineManager.DeleteAsync(membershipId); - - // Get project memberships - var updatedMemberships = await fixture.RedmineManager.GetProjectMembershipsAsync(PROJECT_ID); - - // Assert - Assert.DoesNotContain(updatedMemberships.Items, m => m.Id == membership.Id); - } - - [Fact] - public async Task GetProjectMemberships_ShouldReturnMemberships() - { - // Test implementation - } - - [Fact] - public async Task GetProjectMembership_WithValidId_ShouldReturnMembership() - { - // Test implementation - } - - [Fact] - public async Task CreateProjectMembership_WithValidData_ShouldSucceed() - { - // Test implementation - } - - [Fact] - public async Task CreateProjectMembership_WithInvalidData_ShouldFail() - { - // Test implementation - } - - [Fact] - public async Task UpdateProjectMembership_WithValidData_ShouldSucceed() - { - // Test implementation - } - - [Fact] - public async Task UpdateProjectMembership_WithInvalidData_ShouldFail() - { - // Test implementation - } - - [Fact] - public async Task DeleteProjectMembership_WithValidId_ShouldSucceed() - { - // Test implementation - } - - [Fact] - public async Task DeleteProjectMembership_WithInvalidId_ShouldFail() - { - // Test implementation - } - -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/NewsAsyncTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/NewsAsyncTests.cs deleted file mode 100644 index ca392425..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/NewsAsyncTests.cs +++ /dev/null @@ -1,55 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; - -[Collection(Constants.RedmineTestContainerCollection)] -public class NewsTestsAsync(RedmineTestContainerFixture fixture) -{ - private const string PROJECT_ID = "1"; - - [Fact] - public async Task GetAllNews_Should_Succeed() - { - // Arrange - _ = await fixture.RedmineManager.AddProjectNewsAsync(PROJECT_ID, new News() - { - Title = RandomHelper.GenerateText(5), - Summary = RandomHelper.GenerateText(10), - Description = RandomHelper.GenerateText(20), - }); - - _ = await fixture.RedmineManager.AddProjectNewsAsync("2", new News() - { - Title = RandomHelper.GenerateText(5), - Summary = RandomHelper.GenerateText(10), - Description = RandomHelper.GenerateText(20), - }); - - - // Act - var news = await fixture.RedmineManager.GetAsync(); - - // Assert - Assert.NotNull(news); - } - - [Fact] - public async Task GetProjectNews_Should_Succeed() - { - // Arrange - var newsCreated = await fixture.RedmineManager.AddProjectNewsAsync(PROJECT_ID, new News() - { - Title = RandomHelper.GenerateText(5), - Summary = RandomHelper.GenerateText(10), - Description = RandomHelper.GenerateText(20), - }); - - // Act - var news = await fixture.RedmineManager.GetProjectNewsAsync(PROJECT_ID); - - // Assert - Assert.NotNull(news); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectInformationTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectInformationTestsAsync.cs deleted file mode 100644 index 7997d845..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectInformationTestsAsync.cs +++ /dev/null @@ -1,19 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Extensions; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; - -[Collection(Constants.RedmineTestContainerCollection)] -public class ProjectInformationTestsAsync(RedmineTestContainerFixture fixture) -{ - [Fact] - public async Task GetCurrentUserInfo_Should_Succeed() - { - // Act - var currentUser = await fixture.RedmineManager.GetCurrentUserAsync(); - - // Assert - Assert.NotNull(currentUser); - Assert.True(currentUser.Id > 0); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs deleted file mode 100644 index 4039c6c6..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryTests.cs +++ /dev/null @@ -1,114 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; - -[Collection(Constants.RedmineTestContainerCollection)] -public class TimeEntryTestsAsync(RedmineTestContainerFixture fixture) -{ - private async Task CreateTestTimeEntryAsync() - { - var project = await fixture.RedmineManager.GetAsync(1.ToInvariantString()); - var issueData = IssueTestHelper.CreateIssue(); - var issue = await fixture.RedmineManager.CreateAsync(issueData); - - var timeEntry = new TimeEntry - { - Project = project, - Issue = issue.ToIdentifiableName(), - SpentOn = DateTime.Now.Date, - Hours = 1.5m, - Activity = 8.ToIdentifier(), - Comments = $"Test time entry comments {Guid.NewGuid()}", - }; - return await fixture.RedmineManager.CreateAsync(timeEntry); - } - - [Fact] - public async Task CreateTimeEntry_Should_Succeed() - { - //Arrange - var issueData = IssueTestHelper.CreateIssue(); - var issue = await fixture.RedmineManager.CreateAsync(issueData); - var timeEntryData = new TimeEntry - { - Project = 1.ToIdentifier(), - Issue = issue.ToIdentifiableName(), - SpentOn = DateTime.Now.Date, - Hours = 1.5m, - Activity = 8.ToIdentifier(), - Comments = $"Initial create test comments {Guid.NewGuid()}", - }; - - //Act - var createdTimeEntry = await fixture.RedmineManager.CreateAsync(timeEntryData); - - //Assert - Assert.NotNull(createdTimeEntry); - Assert.True(createdTimeEntry.Id > 0); - Assert.Equal(timeEntryData.Hours, createdTimeEntry.Hours); - Assert.Equal(timeEntryData.Comments, createdTimeEntry.Comments); - Assert.Equal(timeEntryData.Project.Id, createdTimeEntry.Project.Id); - Assert.Equal(timeEntryData.Issue.Id, createdTimeEntry.Issue.Id); - Assert.Equal(timeEntryData.Activity.Id, createdTimeEntry.Activity.Id); - } - - [Fact] - public async Task GetTimeEntry_Should_Succeed() - { - //Arrange - var createdTimeEntry = await CreateTestTimeEntryAsync(); - Assert.NotNull(createdTimeEntry); - - //Act - var retrievedTimeEntry = await fixture.RedmineManager.GetAsync(createdTimeEntry.Id.ToInvariantString()); - - //Assert - Assert.NotNull(retrievedTimeEntry); - Assert.Equal(createdTimeEntry.Id, retrievedTimeEntry.Id); - Assert.Equal(createdTimeEntry.Hours, retrievedTimeEntry.Hours); - Assert.Equal(createdTimeEntry.Comments, retrievedTimeEntry.Comments); - } - - [Fact] - public async Task UpdateTimeEntry_Should_Succeed() - { - //Arrange - var createdTimeEntry = await CreateTestTimeEntryAsync(); - Assert.NotNull(createdTimeEntry); - - var updatedComments = $"Updated test time entry comments {Guid.NewGuid()}"; - var updatedHours = 2.5m; - createdTimeEntry.Comments = updatedComments; - createdTimeEntry.Hours = updatedHours; - - //Act - await fixture.RedmineManager.UpdateAsync(createdTimeEntry.Id.ToInvariantString(), createdTimeEntry); - var retrievedTimeEntry = await fixture.RedmineManager.GetAsync(createdTimeEntry.Id.ToInvariantString()); - - //Assert - Assert.NotNull(retrievedTimeEntry); - Assert.Equal(createdTimeEntry.Id, retrievedTimeEntry.Id); - Assert.Equal(updatedComments, retrievedTimeEntry.Comments); - Assert.Equal(updatedHours, retrievedTimeEntry.Hours); - } - - [Fact] - public async Task DeleteTimeEntry_Should_Succeed() - { - //Arrange - var createdTimeEntry = await CreateTestTimeEntryAsync(); - Assert.NotNull(createdTimeEntry); - - var timeEntryId = createdTimeEntry.Id.ToInvariantString(); - - //Act - await fixture.RedmineManager.DeleteAsync(timeEntryId); - - //Assert - await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(timeEntryId)); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/UserTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/UserTestsAsync.cs deleted file mode 100644 index d974a0c8..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/UserTestsAsync.cs +++ /dev/null @@ -1,112 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; - -[Collection(Constants.RedmineTestContainerCollection)] -public class UserTestsAsync(RedmineTestContainerFixture fixture) -{ - private async Task CreateTestUserAsync() - { - var user = new User - { - Login = RandomHelper.GenerateText(12), - FirstName = RandomHelper.GenerateText(8), - LastName = RandomHelper.GenerateText(10), - Email = $"{RandomHelper.GenerateText(5)}.{RandomHelper.GenerateText(4)}@gmail.com", - Password = "password123", - AuthenticationModeId = null, - MustChangePassword = false, - Status = UserStatus.StatusActive - }; - return await fixture.RedmineManager.CreateAsync(user); - } - - [Fact] - public async Task CreateUser_Should_Succeed() - { - //Arrange - var userData = new User - { - Login = RandomHelper.GenerateText(5), - FirstName = RandomHelper.GenerateText(5), - LastName = RandomHelper.GenerateText(5), - Password = "password123", - MailNotification = "only_my_events", - AuthenticationModeId = null, - MustChangePassword = false, - Status = UserStatus.StatusActive, - }; - - userData.Email = $"{userData.FirstName}.{userData.LastName}@gmail.com"; - - //Act - var createdUser = await fixture.RedmineManager.CreateAsync(userData); - - //Assert - Assert.NotNull(createdUser); - Assert.True(createdUser.Id > 0); - Assert.Equal(userData.Login, createdUser.Login); - Assert.Equal(userData.FirstName, createdUser.FirstName); - Assert.Equal(userData.LastName, createdUser.LastName); - Assert.Equal(userData.Email, createdUser.Email); - } - - [Fact] - public async Task GetUser_Should_Succeed() - { - - //Arrange - var createdUser = await CreateTestUserAsync(); - Assert.NotNull(createdUser); - - //Act - var retrievedUser = - await fixture.RedmineManager.GetAsync(createdUser.Id.ToInvariantString()); - - //Assert - Assert.NotNull(retrievedUser); - Assert.Equal(createdUser.Id, retrievedUser.Id); - Assert.Equal(createdUser.Login, retrievedUser.Login); - Assert.Equal(createdUser.FirstName, retrievedUser.FirstName); - } - - [Fact] - public async Task UpdateUser_Should_Succeed() - { - - //Arrange - var createdUser = await CreateTestUserAsync(); - Assert.NotNull(createdUser); - - var updatedFirstName = RandomHelper.GenerateText(10); - createdUser.FirstName = updatedFirstName; - - //Act - await fixture.RedmineManager.UpdateAsync(createdUser.Id.ToInvariantString(), createdUser); - var retrievedUser = - await fixture.RedmineManager.GetAsync(createdUser.Id.ToInvariantString()); - - //Assert - Assert.NotNull(retrievedUser); - Assert.Equal(createdUser.Id, retrievedUser.Id); - Assert.Equal(updatedFirstName, retrievedUser.FirstName); - } - - [Fact] - public async Task DeleteUser_Should_Succeed() - { - //Arrange - var createdUser = await CreateTestUserAsync(); - Assert.NotNull(createdUser); - var userId = createdUser.Id.ToInvariantString(); - - //Act - await fixture.RedmineManager.DeleteAsync(userId); - - //Assert - await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(userId)); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs deleted file mode 100644 index 4fa4b834..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/VersionTestsAsync.cs +++ /dev/null @@ -1,109 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; -using Version = Redmine.Net.Api.Types.Version; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; - -[Collection(Constants.RedmineTestContainerCollection)] -public class VersionTestsAsync(RedmineTestContainerFixture fixture) -{ - private const string PROJECT_ID = "1"; - - private async Task CreateTestVersionAsync() - { - var version = new Version - { - Name = RandomHelper.GenerateText(10), - Description = RandomHelper.GenerateText(15), - Status = VersionStatus.Open, - Sharing = VersionSharing.None, - DueDate = DateTime.Now.Date.AddDays(30) - }; - return await fixture.RedmineManager.CreateAsync(version, PROJECT_ID); - } - - [Fact] - public async Task CreateVersion_Should_Succeed() - { - //Arrange - var versionSuffix = RandomHelper.GenerateText(6); - var versionData = new Version - { - Name = $"Test Version Create {versionSuffix}", - Description = $"Initial create test description {Guid.NewGuid()}", - Status = VersionStatus.Open, - Sharing = VersionSharing.System, - DueDate = DateTime.Now.Date.AddDays(10) - }; - - //Act - var createdVersion = await fixture.RedmineManager.CreateAsync(versionData, PROJECT_ID); - - //Assert - Assert.NotNull(createdVersion); - Assert.True(createdVersion.Id > 0); - Assert.Equal(versionData.Name, createdVersion.Name); - Assert.Equal(versionData.Description, createdVersion.Description); - Assert.Equal(versionData.Status, createdVersion.Status); - Assert.Equal(PROJECT_ID, createdVersion.Project.Id.ToInvariantString()); - } - - [Fact] - public async Task GetVersion_Should_Succeed() - { - - //Arrange - var createdVersion = await CreateTestVersionAsync(); - Assert.NotNull(createdVersion); - - //Act - var retrievedVersion = await fixture.RedmineManager.GetAsync(createdVersion.Id.ToInvariantString()); - - //Assert - Assert.NotNull(retrievedVersion); - Assert.Equal(createdVersion.Id, retrievedVersion.Id); - Assert.Equal(createdVersion.Name, retrievedVersion.Name); - Assert.Equal(createdVersion.Description, retrievedVersion.Description); - } - - [Fact] - public async Task UpdateVersion_Should_Succeed() - { - //Arrange - var createdVersion = await CreateTestVersionAsync(); - Assert.NotNull(createdVersion); - - var updatedDescription = RandomHelper.GenerateText(20); - var updatedStatus = VersionStatus.Locked; - createdVersion.Description = updatedDescription; - createdVersion.Status = updatedStatus; - - //Act - await fixture.RedmineManager.UpdateAsync(createdVersion.Id.ToInvariantString(), createdVersion); - var retrievedVersion = await fixture.RedmineManager.GetAsync(createdVersion.Id.ToInvariantString()); - - //Assert - Assert.NotNull(retrievedVersion); - Assert.Equal(createdVersion.Id, retrievedVersion.Id); - Assert.Equal(updatedDescription, retrievedVersion.Description); - Assert.Equal(updatedStatus, retrievedVersion.Status); - } - - [Fact] - public async Task DeleteVersion_Should_Succeed() - { - //Arrange - var createdVersion = await CreateTestVersionAsync(); - Assert.NotNull(createdVersion); - var versionId = createdVersion.Id.ToInvariantString(); - - //Act - await fixture.RedmineManager.DeleteAsync(versionId); - - //Assert - await Assert.ThrowsAsync(async () => - await fixture.RedmineManager.GetAsync(versionId)); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs deleted file mode 100644 index 1325a656..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/WikiTestsAsync.cs +++ /dev/null @@ -1,171 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; - -[Collection(Constants.RedmineTestContainerCollection)] -public class WikiTestsAsync(RedmineTestContainerFixture fixture) -{ - private const string PROJECT_ID = "1"; - private const string WIKI_PAGE_TITLE = "TestWikiPage"; - - private async Task CreateOrUpdateTestWikiPageAsync() - { - var wikiPage = new WikiPage - { - Title = WIKI_PAGE_TITLE, - Text = $"Test wiki page content {Guid.NewGuid()}", - Comments = "Initial wiki page creation" - }; - - return await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, "wikiPageName", wikiPage); - } - - [Fact] - public async Task CreateOrUpdateWikiPage_Should_Succeed() - { - // Arrange - var wikiPage = new WikiPage - { - Title = $"TestWikiPage_{Guid.NewGuid()}".Replace("-", "").Substring(0, 20), - Text = "Test wiki page content", - Comments = "Initial wiki page creation" - }; - - // Act - var createdPage = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, "wikiPageName", wikiPage); - - // Assert - Assert.Null(createdPage); - } - - [Fact] - public async Task GetWikiPage_Should_Succeed() - { - // Arrange - var createdPage = await CreateOrUpdateTestWikiPageAsync(); - Assert.Null(createdPage); - - // Act - var retrievedPage = await fixture.RedmineManager.GetWikiPageAsync(PROJECT_ID, WIKI_PAGE_TITLE); - - // Assert - Assert.NotNull(retrievedPage); - Assert.Equal(createdPage.Title, retrievedPage.Title); - Assert.Equal(createdPage.Text, retrievedPage.Text); - } - - [Fact] - public async Task GetAllWikiPages_Should_Succeed() - { - // Arrange - await CreateOrUpdateTestWikiPageAsync(); - - // Act - var wikiPages = await fixture.RedmineManager.GetAllWikiPagesAsync(PROJECT_ID); - - // Assert - Assert.NotNull(wikiPages); - Assert.NotEmpty(wikiPages); - } - - [Fact] - public async Task DeleteWikiPage_Should_Succeed() - { - // Arrange - var wikiPageName = RandomHelper.GenerateText(7); - - var wikiPage = new WikiPage - { - Title = RandomHelper.GenerateText(5), - Text = "Test wiki page content for deletion", - Comments = "Initial wiki page creation for deletion test" - }; - - var createdPage = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, wikiPageName, wikiPage); - Assert.NotNull(createdPage); - - // Act - await fixture.RedmineManager.DeleteWikiPageAsync(PROJECT_ID, wikiPageName); - - // Assert - await Assert.ThrowsAsync(async () => - await fixture.RedmineManager.GetWikiPageAsync(PROJECT_ID, wikiPageName)); - } - - private async Task<(string pageTitle, string ProjectId, string PageTitle)> CreateTestWikiPageAsync( - string pageTitleSuffix = null, - string initialText = "Default initial text for wiki page.", - string initialComments = "Initial comments for wiki page.") - { - var pageTitle = RandomHelper.GenerateText(5); - var wikiPageData = new WikiPage - { - Title = RandomHelper.GenerateText(5), - Text = initialText, - Comments = initialComments, - Version = 0 - }; - - var createdPage = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, pageTitle, wikiPageData); - - Assert.Null(createdPage); - // Assert.Equal(pageTitle, createdPage.Title); - // Assert.True(createdPage.Id > 0, "Created WikiPage should have a valid ID."); - // Assert.Equal(initialText, createdPage.Text); - - return (pageTitle, PROJECT_ID, pageTitle); - } - - [Fact] - public async Task CreateWikiPage_Should_Succeed() - { - //Arrange - var pageTitle = RandomHelper.GenerateText("NewWikiPage"); - var text = "This is the content of a new wiki page."; - var comments = "Creation comment for new wiki page."; - var wikiPageData = new WikiPage { Text = text, Comments = comments }; - - //Act - var createdPage = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, pageTitle, wikiPageData); - - //Assert - Assert.NotNull(createdPage); - Assert.Equal(pageTitle, createdPage.Title); - Assert.Equal(text, createdPage.Text); - Assert.True(createdPage.Version >= 0); - - } - - [Fact] - public async Task UpdateWikiPage_Should_Succeed() - { - //Arrange - var pageTitle = RandomHelper.GenerateText(8); - var text = "This is the content of a new wiki page."; - var comments = "Creation comment for new wiki page."; - var wikiPageData = new WikiPage { Text = text, Comments = comments }; - var createdPage = await fixture.RedmineManager.CreateWikiPageAsync(PROJECT_ID, pageTitle, wikiPageData); - - var updatedText = $"Updated wiki text content {Guid.NewGuid():N}"; - var updatedComments = "These are updated comments for the wiki page update."; - - var wikiPageToUpdate = new WikiPage - { - Text = updatedText, - Comments = updatedComments, - Version = 1 - }; - - //Act - await fixture.RedmineManager.UpdateWikiPageAsync(PROJECT_ID, pageTitle, wikiPageToUpdate); - var retrievedPage = await fixture.RedmineManager.GetWikiPageAsync(1.ToInvariantString(), createdPage.Title, version: 1); - - //Assert - Assert.NotNull(retrievedPage); - Assert.Equal(updatedText, retrievedPage.Text); - Assert.Equal(updatedComments, retrievedPage.Comments); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Common/EmailNotificationType.cs b/tests/redmine-net-api.Integration.Tests/Tests/Common/EmailNotificationType.cs new file mode 100644 index 00000000..2c046dad --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Common/EmailNotificationType.cs @@ -0,0 +1,29 @@ +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; + +public sealed record EmailNotificationType +{ + public static readonly EmailNotificationType OnlyMyEvents = new EmailNotificationType(1, "only_my_events"); + public static readonly EmailNotificationType OnlyAssigned = new EmailNotificationType(2, "only_assigned"); + public static readonly EmailNotificationType OnlyOwner = new EmailNotificationType(3, "only_owner"); + public static readonly EmailNotificationType None = new EmailNotificationType(0, ""); + + public int Id { get; } + public string Name { get; } + + private EmailNotificationType(int id, string name) + { + Id = id; + Name = name; + } + + public static EmailNotificationType FromId(int id) + { + return id switch + { + 1 => OnlyMyEvents, + 2 => OnlyAssigned, + 3 => OnlyOwner, + _ => None + }; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Common/IssueTestHelper.cs b/tests/redmine-net-api.Integration.Tests/Tests/Common/IssueTestHelper.cs new file mode 100644 index 00000000..1be46ec3 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Common/IssueTestHelper.cs @@ -0,0 +1,82 @@ +using Redmine.Net.Api; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; + +internal static class IssueTestHelper +{ + internal static void AssertBasic(Issue expected, Issue actual) + { + Assert.NotNull(actual); + Assert.True(actual.Id > 0); + Assert.Equal(expected.Subject, actual.Subject); + Assert.Equal(expected.Description, actual.Description); + Assert.Equal(expected.Project.Id, actual.Project.Id); + Assert.Equal(expected.Tracker.Id, actual.Tracker.Id); + Assert.Equal(expected.Status.Id, actual.Status.Id); + Assert.Equal(expected.Priority.Id, actual.Priority.Id); + } + + internal static (Issue, Issue payload) CreateRandomIssue(RedmineManager redmineManager, int projectId = TestConstants.Projects.DefaultProjectId, + int trackerId = 1, + int priorityId = 2, + int statusId = 1, + string subject = null, + List customFields = null, + List watchers = null, + List uploads = null) + { + var issuePayload = TestEntityFactory.CreateRandomIssuePayload(projectId, trackerId, priorityId, statusId, + subject, customFields, watchers, uploads); + var issue = redmineManager.Create(issuePayload); + Assert.NotNull(issue); + return (issue, issuePayload); + } + + internal static async Task<(Issue, Issue payload)> CreateRandomIssueAsync(RedmineManager redmineManager, int projectId = TestConstants.Projects.DefaultProjectId, + int trackerId = 1, + int priorityId = 2, + int statusId = 1, + string subject = null, + List customFields = null, + List watchers = null, + List uploads = null) + { + var issuePayload = TestEntityFactory.CreateRandomIssuePayload(projectId, trackerId, priorityId, statusId, + subject, customFields, watchers, uploads); + var issue = await redmineManager.CreateAsync(issuePayload); + Assert.NotNull(issue); + return (issue, issuePayload); + } + + public static (Issue first, Issue second) CreateRandomTwoIssues(RedmineManager redmineManager) + { + return (Build(), Build()); + + Issue Build() => redmineManager.Create(TestEntityFactory.CreateRandomIssuePayload()); + } + + public static (IssueRelation issueRelation, Issue firstIssue, Issue secondIssue) CreateRandomIssueRelation(RedmineManager redmineManager, IssueRelationType issueRelationType = IssueRelationType.Relates) + { + var (i1, i2) = CreateRandomTwoIssues(redmineManager); + var rel = TestEntityFactory.CreateRandomIssueRelationPayload(i1.Id, i2.Id, issueRelationType); + var relation = redmineManager.Create(rel, i1.Id.ToString()); + return (relation, i1, i2); + } + + public static async Task<(Issue first, Issue second)> CreateRandomTwoIssuesAsync(RedmineManager redmineManager) + { + return (await BuildAsync(), await BuildAsync()); + + async Task BuildAsync() => await redmineManager.CreateAsync(TestEntityFactory.CreateRandomIssuePayload()); + } + + public static async Task<(IssueRelation issueRelation, Issue firstIssue, Issue secondIssue)> CreateRandomIssueRelationAsync(RedmineManager redmineManager, IssueRelationType issueRelationType = IssueRelationType.Relates) + { + var (i1, i2) = await CreateRandomTwoIssuesAsync(redmineManager); + var rel = TestEntityFactory.CreateRandomIssueRelationPayload(i1.Id, i2.Id, issueRelationType); + var relation = redmineManager.Create(rel, i1.Id.ToString()); + return (relation, i1, i2); + } + +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Common/TestConstants.cs b/tests/redmine-net-api.Integration.Tests/Tests/Common/TestConstants.cs new file mode 100644 index 00000000..bf16727b --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Common/TestConstants.cs @@ -0,0 +1,20 @@ +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; + +public static class TestConstants +{ + public static class Projects + { + public const int DefaultProjectId = 1; + public const string DefaultProjectIdentifier = "1"; + public static readonly IdentifiableName DefaultProject = DefaultProject.ToIdentifiableName(); + } + + public static class Users + { + public const string DefaultPassword = "password123"; + } + +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Common/TestEntityFactory.cs b/tests/redmine-net-api.Integration.Tests/Tests/Common/TestEntityFactory.cs new file mode 100644 index 00000000..bb721f70 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Common/TestEntityFactory.cs @@ -0,0 +1,161 @@ +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; + +public static class TestEntityFactory +{ + public static Issue CreateRandomIssuePayload( + int projectId = TestConstants.Projects.DefaultProjectId, + int trackerId = 1, + int priorityId = 2, + int statusId = 1, + string subject = null, + List customFields = null, + List watchers = null, + List uploads = null) + => new() + { + Project = projectId.ToIdentifier(), + Subject = subject ?? RandomHelper.GenerateText(9), + Description = RandomHelper.GenerateText(18), + Tracker = trackerId.ToIdentifier(), + Status = statusId.ToIssueStatusIdentifier(), + Priority = priorityId.ToIdentifier(), + CustomFields = customFields, + Watchers = watchers, + Uploads = uploads + }; + + public static User CreateRandomUserPayload(UserStatus status = UserStatus.StatusActive, int? authenticationModeId = null, + EmailNotificationType emailNotificationType = null) + { + var user = new Redmine.Net.Api.Types.User + { + Login = RandomHelper.GenerateText(12), + FirstName = RandomHelper.GenerateText(8), + LastName = RandomHelper.GenerateText(10), + Email = RandomHelper.GenerateEmail(), + Password = TestConstants.Users.DefaultPassword, + AuthenticationModeId = authenticationModeId, + MailNotification = emailNotificationType?.Name, + MustChangePassword = false, + Status = status, + }; + + return user; + } + + public static Group CreateRandomGroupPayload(string name = null, List userIds = null) + { + var group = new Redmine.Net.Api.Types.Group(name ?? RandomHelper.GenerateText(9)); + if (userIds == null || userIds.Count == 0) + { + return group; + } + foreach (var userId in userIds) + { + group.Users = [IdentifiableName.Create(userId)]; + } + return group; + } + + public static Group CreateRandomGroupPayload(string name = null, List userGroups = null) + { + var group = new Redmine.Net.Api.Types.Group(name ?? RandomHelper.GenerateText(9)); + if (userGroups == null || userGroups.Count == 0) + { + return group; + } + + group.Users = userGroups; + return group; + } + + public static (string pageName, WikiPage wikiPage) CreateRandomWikiPagePayload(string pageName = null, int version = 0, List uploads = null) + { + pageName = (pageName ?? RandomHelper.GenerateText(8)); + if (char.IsLower(pageName[0])) + { + pageName = char.ToUpper(pageName[0]) + pageName[1..]; + } + var wikiPage = new WikiPage + { + Text = RandomHelper.GenerateText(10), + Comments = RandomHelper.GenerateText(15), + Version = version, + Uploads = uploads, + }; + + return (pageName, wikiPage); + } + + public static Redmine.Net.Api.Types.Version CreateRandomVersionPayload(string name = null, + VersionStatus status = VersionStatus.Open, + VersionSharing sharing = VersionSharing.None, + int dueDateDays = 30, + string wikiPageName = null, + float? estimatedHours = null, + float? spentHours = null) + { + var version = new Redmine.Net.Api.Types.Version + { + Name = name ?? RandomHelper.GenerateText(10), + Description = RandomHelper.GenerateText(15), + Status = status, + Sharing = sharing, + DueDate = DateTime.Now.Date.AddDays(dueDateDays), + EstimatedHours = estimatedHours, + SpentHours = spentHours, + WikiPageTitle = wikiPageName, + }; + + return version; + } + + public static Redmine.Net.Api.Types.News CreateRandomNewsPayload(string title = null, List uploads = null) + { + return new Redmine.Net.Api.Types.News() + { + Title = title ?? RandomHelper.GenerateText(5), + Summary = RandomHelper.GenerateText(10), + Description = RandomHelper.GenerateText(20), + Uploads = uploads + }; + } + + public static IssueCustomField CreateRandomIssueCustomFieldWithMultipleValuesPayload() + { + return IssueCustomField.CreateMultiple(1, RandomHelper.GenerateText(8), + [RandomHelper.GenerateText(4), RandomHelper.GenerateText(4)]); + } + + public static IssueCustomField CreateRandomIssueCustomFieldWithSingleValuePayload() + { + return IssueCustomField.CreateSingle(1, RandomHelper.GenerateText(8), RandomHelper.GenerateText(4)); + } + + public static IssueRelation CreateRandomIssueRelationPayload(int issueId, int issueToId, IssueRelationType issueRelationType = IssueRelationType.Relates) + { + return new IssueRelation { IssueId = issueId, IssueToId = issueToId, Type = issueRelationType };; + } + + public static Redmine.Net.Api.Types.TimeEntry CreateRandomTimeEntryPayload(int projectId, int issueId, DateTime? spentOn = null, decimal hours = 1.5m, int? activityId = null) + { + var timeEntry = new Redmine.Net.Api.Types.TimeEntry + { + Project = projectId.ToIdentifier(), + Issue = issueId.ToIdentifier(), + SpentOn = spentOn ?? DateTime.Now.Date, + Hours = hours, + Comments = RandomHelper.GenerateText(10), + }; + + if (activityId != null) + { + timeEntry.Activity = activityId.Value.ToIdentifier(); + } + + return timeEntry; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/AttachmentTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Attachment/AttachmentTests.cs similarity index 53% rename from tests/redmine-net-api.Integration.Tests/Tests/Sync/AttachmentTests.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/Attachment/AttachmentTests.cs index 56110e14..d0b7e133 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Sync/AttachmentTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Attachment/AttachmentTests.cs @@ -1,34 +1,34 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Types; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api; +using Redmine.Net.Api.Http; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Attachment; [Collection(Constants.RedmineTestContainerCollection)] public class AttachmentTests(RedmineTestContainerFixture fixture) { [Fact] - public void UploadAndGetAttachment_Should_Succeed() + public void Attachment_UploadToIssue_Should_Succeed() { // Arrange var upload = FileTestHelper.UploadRandom500KbFile(fixture.RedmineManager); Assert.NotNull(upload); Assert.NotEmpty(upload.Token); - var issue = IssueTestHelper.CreateIssue(uploads: [upload]); - var createdIssue = fixture.RedmineManager.Create(issue); - Assert.NotNull(createdIssue); + var (issue, _) = IssueTestHelper.CreateRandomIssue(fixture.RedmineManager,uploads: [upload]); + Assert.NotNull(issue); // Act - var retrievedIssue = fixture.RedmineManager.Get( - createdIssue.Id.ToString(), - RequestOptions.Include("attachments")); + var retrievedIssue = fixture.RedmineManager.Get( + issue.Id.ToString(), + RequestOptions.Include(RedmineKeys.ATTACHMENTS)); var attachment = retrievedIssue.Attachments.FirstOrDefault(); Assert.NotNull(attachment); - var downloadedAttachment = fixture.RedmineManager.Get(attachment.Id.ToString()); + var downloadedAttachment = fixture.RedmineManager.Get(attachment.Id.ToString()); // Assert Assert.NotNull(downloadedAttachment); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Attachment/AttachmentTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Attachment/AttachmentTestsAsync.cs new file mode 100644 index 00000000..e5bc284b --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Attachment/AttachmentTestsAsync.cs @@ -0,0 +1,74 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api; +using Redmine.Net.Api.Http; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Attachment; + +[Collection(Constants.RedmineTestContainerCollection)] +public class AttachmentTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task Attachment_GetIssueWithAttachments_Should_Succeed() + { + // Arrange + var upload = await FileTestHelper.UploadRandom500KbFileAsync(fixture.RedmineManager); + var (issue, _) = await IssueTestHelper.CreateRandomIssueAsync(fixture.RedmineManager, uploads: [upload]); + + // Act + var retrievedIssue = await fixture.RedmineManager.GetAsync( + issue.Id.ToString(), + RequestOptions.Include(RedmineKeys.ATTACHMENTS)); + + // Assert + Assert.NotNull(retrievedIssue); + Assert.NotNull(retrievedIssue.Attachments); + Assert.NotEmpty(retrievedIssue.Attachments); + } + + [Fact] + public async Task Attachment_GetByIssueId_Should_Succeed() + { + // Arrange + var upload = await FileTestHelper.UploadRandom500KbFileAsync(fixture.RedmineManager); + var (issue, _) = await IssueTestHelper.CreateRandomIssueAsync(fixture.RedmineManager, uploads: [upload]); + + var retrievedIssue = await fixture.RedmineManager.GetAsync( + issue.Id.ToString(), + RequestOptions.Include(RedmineKeys.ATTACHMENTS)); + + var attachment = retrievedIssue.Attachments.FirstOrDefault(); + Assert.NotNull(attachment); + + // Act + var downloadedAttachment = await fixture.RedmineManager.GetAsync(attachment.Id.ToString()); + + // Assert + Assert.NotNull(downloadedAttachment); + Assert.Equal(attachment.Id, downloadedAttachment.Id); + Assert.Equal(attachment.FileName, downloadedAttachment.FileName); + } + + [Fact] + public async Task Attachment_Upload_MultipleFiles_Should_Succeed() + { + // Arrange & Act + var upload1 = await FileTestHelper.UploadRandom500KbFileAsync(fixture.RedmineManager); + Assert.NotNull(upload1); + Assert.NotEmpty(upload1.Token); + + var upload2 = await FileTestHelper.UploadRandom500KbFileAsync(fixture.RedmineManager); + Assert.NotNull(upload2); + Assert.NotEmpty(upload2.Token); + + // Assert + var (issue, _) = await IssueTestHelper.CreateRandomIssueAsync(fixture.RedmineManager, uploads: [upload1, upload2]); + + var retrievedIssue = await fixture.RedmineManager.GetAsync( + issue.Id.ToString(), + RequestOptions.Include(RedmineKeys.ATTACHMENTS)); + + Assert.Equal(2, retrievedIssue.Attachments.Count); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/CustomFieldTestsSync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/CustomField/CustomFieldTests.cs similarity index 58% rename from tests/redmine-net-api.Integration.Tests/Tests/Sync/CustomFieldTestsSync.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/CustomField/CustomFieldTests.cs index a4f1ebaf..9f64cdd4 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Sync/CustomFieldTestsSync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/CustomField/CustomFieldTests.cs @@ -1,7 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Types; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.CustomField; [Collection(Constants.RedmineTestContainerCollection)] public class CustomFieldTests(RedmineTestContainerFixture fixture) @@ -10,7 +10,7 @@ public class CustomFieldTests(RedmineTestContainerFixture fixture) public void GetAllCustomFields_Should_Return_Null() { // Act - var customFields = fixture.RedmineManager.Get(); + var customFields = fixture.RedmineManager.Get(); // Assert Assert.Null(customFields); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/CustomFieldAsyncTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/CustomField/CustomFieldTestsAsync.cs similarity index 69% rename from tests/redmine-net-api.Integration.Tests/Tests/Async/CustomFieldAsyncTests.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/CustomField/CustomFieldTestsAsync.cs index 47cf9a7e..684882b7 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/CustomFieldAsyncTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/CustomField/CustomFieldTestsAsync.cs @@ -1,7 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Types; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.CustomField; [Collection(Constants.RedmineTestContainerCollection)] public class CustomFieldTestsAsync(RedmineTestContainerFixture fixture) @@ -10,7 +10,7 @@ public class CustomFieldTestsAsync(RedmineTestContainerFixture fixture) public async Task GetAllCustomFields_Should_Return_Null() { // Act - var customFields = await fixture.RedmineManager.GetAsync(); + var customFields = await fixture.RedmineManager.GetAsync(); // Assert Assert.Null(customFields); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Enumeration/EnumerationTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Enumeration/EnumerationTests.cs new file mode 100644 index 00000000..5436dbce --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Enumeration/EnumerationTests.cs @@ -0,0 +1,18 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Enumeration; + +[Collection(Constants.RedmineTestContainerCollection)] +public class EnumerationTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public void GetDocumentCategories_Should_Succeed() => Assert.NotNull(fixture.RedmineManager.Get()); + + [Fact] + public void GetIssuePriorities_Should_Succeed() => Assert.NotNull(fixture.RedmineManager.Get()); + + [Fact] + public void GetTimeEntryActivities_Should_Succeed() => Assert.NotNull(fixture.RedmineManager.Get()); +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/EnumerationTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Enumeration/EnumerationTestsAsync.cs similarity index 86% rename from tests/redmine-net-api.Integration.Tests/Tests/Async/EnumerationTestsAsync.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/Enumeration/EnumerationTestsAsync.cs index 00448051..4731d5a0 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/EnumerationTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Enumeration/EnumerationTestsAsync.cs @@ -1,7 +1,8 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Enumeration; [Collection(Constants.RedmineTestContainerCollection)] public class EnumerationTestsAsync(RedmineTestContainerFixture fixture) diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTests.cs new file mode 100644 index 00000000..010677f9 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTests.cs @@ -0,0 +1,102 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api.Extensions; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.File; + +[Collection(Constants.RedmineTestContainerCollection)] +public class FileTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public void CreateFile_Should_Succeed() + { + var (_, token) = UploadFile(); + + var filePayload = new Redmine.Net.Api.Types.File { Token = token }; + + var createdFile = fixture.RedmineManager.Create(filePayload, TestConstants.Projects.DefaultProjectIdentifier); + Assert.Null(createdFile); // the API returns null on success when no extra fields were provided + + var files = fixture.RedmineManager.GetProjectFiles(TestConstants.Projects.DefaultProjectIdentifier); + + // Assert + Assert.NotNull(files); + Assert.NotEmpty(files.Items); + } + + [Fact] + public void CreateFile_Without_Token_Should_Fail() + { + Assert.ThrowsAny(() => + fixture.RedmineManager.Create(new Redmine.Net.Api.Types.File { Filename = "project_file.zip" }, TestConstants.Projects.DefaultProjectIdentifier)); + } + + [Fact] + public void CreateFile_With_OptionalParameters_Should_Succeed() + { + var (fileName, token) = UploadFile(); + + var filePayload = new Redmine.Net.Api.Types.File + { + Token = token, + Filename = fileName, + Description = RandomHelper.GenerateText(9), + ContentType = "text/plain", + }; + + _ = fixture.RedmineManager.Create(filePayload, TestConstants.Projects.DefaultProjectIdentifier); + + var files = fixture.RedmineManager.GetProjectFiles(TestConstants.Projects.DefaultProjectIdentifier); + + var file = files.Items.FirstOrDefault(x => x.Filename == fileName); + + Assert.NotNull(file); + Assert.True(file.Id > 0); + Assert.NotEmpty(file.Digest); + Assert.Equal(filePayload.Description, file.Description); + Assert.Equal(filePayload.ContentType, file.ContentType); + Assert.EndsWith($"/attachments/download/{file.Id}/{fileName}", file.ContentUrl); + Assert.Equal(filePayload.Version, file.Version); + } + + [Fact] + public void CreateFile_With_Version_Should_Succeed() + { + var (fileName, token) = UploadFile(); + + var filePayload = new Redmine.Net.Api.Types.File + { + Token = token, + Filename = fileName, + Description = RandomHelper.GenerateText(9), + ContentType = "text/plain", + Version = 1.ToIdentifier(), + }; + + _ = fixture.RedmineManager.Create(filePayload, TestConstants.Projects.DefaultProjectIdentifier); + + var files = fixture.RedmineManager.GetProjectFiles(TestConstants.Projects.DefaultProjectIdentifier); + var file = files.Items.FirstOrDefault(x => x.Filename == fileName); + + Assert.NotNull(file); + Assert.True(file.Id > 0); + Assert.NotEmpty(file.Digest); + Assert.Equal(filePayload.Description, file.Description); + Assert.Equal(filePayload.ContentType, file.ContentType); + Assert.EndsWith($"/attachments/download/{file.Id}/{fileName}", file.ContentUrl); + Assert.Equal(filePayload.Version.Id, file.Version.Id); + } + + private (string fileName, string token) UploadFile() + { + var bytes = "Hello World!"u8.ToArray(); + var fileName = $"{RandomHelper.GenerateText(5)}.txt"; + var upload = fixture.RedmineManager.UploadFile(bytes, fileName); + + Assert.NotNull(upload); + Assert.NotNull(upload.Token); + + return (fileName, upload.Token); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTestsAsync.cs new file mode 100644 index 00000000..5363e416 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTestsAsync.cs @@ -0,0 +1,120 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http; +using Redmine.Net.Api.Http.Extensions; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.File; + +[Collection(Constants.RedmineTestContainerCollection)] +public class FileTestsAsync(RedmineTestContainerFixture fixture) +{ + private const string PROJECT_ID = TestConstants.Projects.DefaultProjectIdentifier; + + [Fact] + public async Task CreateFile_Should_Succeed() + { + var (_, token) = await UploadFileAsync(); + + var filePayload = new Redmine.Net.Api.Types.File + { + Token = token, + }; + + var createdFile = await fixture.RedmineManager.CreateAsync(filePayload, PROJECT_ID); + Assert.Null(createdFile); + + var files = await fixture.RedmineManager.GetProjectFilesAsync(PROJECT_ID, + new RequestOptions(){ QueryString = RedmineKeys.LIMIT.WithInt(1)}); + + //Assert + Assert.NotNull(files); + Assert.NotEmpty(files.Items); + } + + [Fact] + public async Task CreateFile_Without_Token_Should_Fail() + { + await Assert.ThrowsAsync(() => fixture.RedmineManager.CreateAsync( + new Redmine.Net.Api.Types.File { Filename = "VBpMc.txt" }, PROJECT_ID)); + } + + [Fact] + public async Task CreateFile_With_OptionalParameters_Should_Succeed() + { + var (fileName, token) = await UploadFileAsync(); + + var filePayload = new Redmine.Net.Api.Types.File + { + Token = token, + Filename = fileName, + Description = RandomHelper.GenerateText(9), + ContentType = "text/plain", + }; + + _ = await fixture.RedmineManager.CreateAsync(filePayload, PROJECT_ID); + var files = await fixture.RedmineManager.GetProjectFilesAsync(PROJECT_ID); + var file = files.Items.FirstOrDefault(x => x.Filename == fileName); + + Assert.NotNull(file); + Assert.True(file.Id > 0); + Assert.NotEmpty(file.Digest); + Assert.Equal(filePayload.Description, file.Description); + Assert.Equal(filePayload.ContentType, file.ContentType); + Assert.EndsWith($"/attachments/download/{file.Id}/{fileName}", file.ContentUrl); + Assert.Equal(filePayload.Version, file.Version); + } + + [Fact] + public async Task CreateFile_With_Version_Should_Succeed() + { + var (fileName, token) = await UploadFileAsync(); + + var filePayload = new Redmine.Net.Api.Types.File + { + Token = token, + Filename = fileName, + Description = RandomHelper.GenerateText(9), + ContentType = "text/plain", + Version = 1.ToIdentifier(), + }; + + _ = await fixture.RedmineManager.CreateAsync(filePayload, PROJECT_ID); + var files = await fixture.RedmineManager.GetProjectFilesAsync(PROJECT_ID); + var file = files.Items.FirstOrDefault(x => x.Filename == fileName); + + Assert.NotNull(file); + Assert.True(file.Id > 0); + Assert.NotEmpty(file.Digest); + Assert.Equal(filePayload.Description, file.Description); + Assert.Equal(filePayload.ContentType, file.ContentType); + Assert.EndsWith($"/attachments/download/{file.Id}/{fileName}", file.ContentUrl); + Assert.Equal(filePayload.Version.Id, file.Version.Id); + } + + [Fact] + public async Task File_UploadLargeFile_Should_Succeed() + { + // Arrange & Act + var upload = await FileTestHelper.UploadRandom1MbFileAsync(fixture.RedmineManager); + + // Assert + Assert.NotNull(upload); + Assert.NotEmpty(upload.Token); + } + + private async Task<(string,string)> UploadFileAsync() + { + var bytes = "Hello World!"u8.ToArray(); + var fileName = $"{RandomHelper.GenerateText(5)}.txt"; + var upload = await fixture.RedmineManager.UploadFileAsync(bytes, fileName); + + Assert.NotNull(upload); + Assert.NotNull(upload.Token); + + return (fileName, upload.Token); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTests.cs new file mode 100644 index 00000000..d2a4c4d1 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTests.cs @@ -0,0 +1,111 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Group; + +[Collection(Constants.RedmineTestContainerCollection)] +public class GroupTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public void GetAllGroups_Should_Succeed() + { + var groups = fixture.RedmineManager.Get(); + + Assert.NotNull(groups); + } + + [Fact] + public void CreateGroup_Should_Succeed() + { + var groupPayload = TestEntityFactory.CreateRandomGroupPayload(userIds: null); + var group = fixture.RedmineManager.Create(groupPayload); + Assert.NotNull(group); + + Assert.NotNull(group); + Assert.True(group.Id > 0); + Assert.Equal(group.Name, group.Name); + } + + [Fact] + public void GetGroup_Should_Succeed() + { + var groupPayload = TestEntityFactory.CreateRandomGroupPayload(userIds: null); + var group = fixture.RedmineManager.Create(groupPayload); + Assert.NotNull(group); + + var retrievedGroup = fixture.RedmineManager.Get(group.Id.ToInvariantString()); + + Assert.NotNull(retrievedGroup); + Assert.Equal(group.Id, retrievedGroup.Id); + Assert.Equal(group.Name, retrievedGroup.Name); + } + + [Fact] + public void UpdateGroup_Should_Succeed() + { + var groupPayload = TestEntityFactory.CreateRandomGroupPayload(userIds: null); + var group = fixture.RedmineManager.Create(groupPayload); + Assert.NotNull(group); + + group.Name = RandomHelper.GenerateText(7); + + fixture.RedmineManager.Update(group.Id.ToInvariantString(), group); + var retrievedGroup = fixture.RedmineManager.Get(group.Id.ToInvariantString()); + + Assert.NotNull(retrievedGroup); + Assert.Equal(group.Id, retrievedGroup.Id); + Assert.Equal(group.Name, retrievedGroup.Name); + } + + [Fact] + public void DeleteGroup_Should_Succeed() + { + var groupPayload = TestEntityFactory.CreateRandomGroupPayload(userIds: null); + var group = fixture.RedmineManager.Create(groupPayload); + Assert.NotNull(group); + + var groupId = group.Id.ToInvariantString(); + + fixture.RedmineManager.Delete(groupId); + + Assert.Throws(() => + fixture.RedmineManager.Get(groupId)); + } + + [Fact] + public void AddUserToGroup_Should_Succeed() + { + var groupPayload = TestEntityFactory.CreateRandomGroupPayload(userIds: null); + var group = fixture.RedmineManager.Create(groupPayload); + Assert.NotNull(group); + + var userId = 1; + + fixture.RedmineManager.AddUserToGroup(group.Id, userId); + var updatedGroup = fixture.RedmineManager.Get(group.Id.ToString(), RequestOptions.Include(RedmineKeys.USERS)); + + Assert.NotNull(updatedGroup); + Assert.NotNull(updatedGroup.Users); + Assert.Contains(updatedGroup.Users, u => u.Id == userId); + } + + [Fact] + public void RemoveUserFromGroup_Should_Succeed() + { + var groupPayload = TestEntityFactory.CreateRandomGroupPayload(userIds: null); + var group = fixture.RedmineManager.Create(groupPayload); + Assert.NotNull(group); + + fixture.RedmineManager.AddUserToGroup(group.Id, userId: 1); + + fixture.RedmineManager.RemoveUserFromGroup(group.Id, userId: 1); + var updatedGroup = fixture.RedmineManager.Get(group.Id.ToString(), RequestOptions.Include(RedmineKeys.USERS)); + + Assert.NotNull(updatedGroup); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTestsAsync.cs new file mode 100644 index 00000000..d67a2e0c --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTestsAsync.cs @@ -0,0 +1,129 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Group; + +[Collection(Constants.RedmineTestContainerCollection)] +public class GroupTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task GetAllGroups_Should_Succeed() + { + // Act + var groups = await fixture.RedmineManager.GetAsync(); + + // Assert + Assert.NotNull(groups); + } + + [Fact] + public async Task CreateGroup_Should_Succeed() + { + // Arrange + var groupPayload = TestEntityFactory.CreateRandomGroupPayload(userIds: null); + + // Act + var group = await fixture.RedmineManager.CreateAsync(groupPayload); + + // Assert + Assert.NotNull(group); + Assert.True(group.Id > 0); + Assert.Equal(groupPayload.Name, group.Name); + } + + [Fact] + public async Task GetGroup_Should_Succeed() + { + // Arrange + var groupPayload = TestEntityFactory.CreateRandomGroupPayload(userIds: null); + var group = await fixture.RedmineManager.CreateAsync(groupPayload); + Assert.NotNull(group); + + // Act + var retrievedGroup = await fixture.RedmineManager.GetAsync(group.Id.ToInvariantString()); + + // Assert + Assert.NotNull(retrievedGroup); + Assert.Equal(group.Id, retrievedGroup.Id); + Assert.Equal(group.Name, retrievedGroup.Name); + } + + [Fact] + public async Task UpdateGroup_Should_Succeed() + { + // Arrange + var groupPayload = TestEntityFactory.CreateRandomGroupPayload(userIds: null); + var group = await fixture.RedmineManager.CreateAsync(groupPayload); + Assert.NotNull(group); + + group.Name = RandomHelper.GenerateText(7); + + // Act + await fixture.RedmineManager.UpdateAsync(group.Id.ToInvariantString(), group); + var retrievedGroup = await fixture.RedmineManager.GetAsync(group.Id.ToInvariantString()); + + // Assert + Assert.NotNull(retrievedGroup); + Assert.Equal(group.Id, retrievedGroup.Id); + Assert.Equal(group.Name, retrievedGroup.Name); + } + + [Fact] + public async Task DeleteGroup_Should_Succeed() + { + // Arrange + var groupPayload = TestEntityFactory.CreateRandomGroupPayload(userIds: null); + var group = await fixture.RedmineManager.CreateAsync(groupPayload); + Assert.NotNull(group); + + var groupId = group.Id.ToInvariantString(); + + // Act + await fixture.RedmineManager.DeleteAsync(groupId); + + // Assert + await Assert.ThrowsAsync(async () => + await fixture.RedmineManager.GetAsync(groupId)); + } + + [Fact] + public async Task AddUserToGroup_Should_Succeed() + { + // Arrange + var groupPayload = TestEntityFactory.CreateRandomGroupPayload(userIds: null); + var group = await fixture.RedmineManager.CreateAsync(groupPayload); + Assert.NotNull(group); + + // Act + await fixture.RedmineManager.AddUserToGroupAsync(group.Id, userId: 1); + var updatedGroup = await fixture.RedmineManager.GetAsync(group.Id.ToString(), RequestOptions.Include(RedmineKeys.USERS)); + + // Assert + Assert.NotNull(updatedGroup); + Assert.NotNull(updatedGroup.Users); + Assert.Contains(updatedGroup.Users, ug => ug.Id == 1); + } + + [Fact] + public async Task RemoveUserFromGroup_Should_Succeed() + { + // Arrange + var groupPayload = TestEntityFactory.CreateRandomGroupPayload(userIds: null); + var group = await fixture.RedmineManager.CreateAsync(groupPayload); + Assert.NotNull(group); + + await fixture.RedmineManager.AddUserToGroupAsync(group.Id, userId: 1); + + // Act + await fixture.RedmineManager.RemoveUserFromGroupAsync(group.Id, userId: 1); + var updatedGroup = await fixture.RedmineManager.GetAsync(group.Id.ToString(), RequestOptions.Include(RedmineKeys.USERS)); + + // Assert + Assert.NotNull(updatedGroup); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueAttachmentUploadTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueAttachmentUploadTests.cs similarity index 59% rename from tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueAttachmentUploadTests.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueAttachmentUploadTests.cs index 6e5129af..527a5135 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueAttachmentUploadTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueAttachmentUploadTests.cs @@ -1,9 +1,10 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Types; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api; +using Redmine.Net.Api.Http; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; [Collection(Constants.RedmineTestContainerCollection)] public class IssueAttachmentTests(RedmineTestContainerFixture fixture) @@ -11,30 +12,27 @@ public class IssueAttachmentTests(RedmineTestContainerFixture fixture) [Fact] public void UploadAttachmentAndAttachToIssue_Should_Succeed() { - // Arrange – create issue - var issue = IssueTestHelper.CreateIssue(); - var createdIssue = fixture.RedmineManager.Create(issue); - Assert.NotNull(createdIssue); - - // Upload a file + // Arrange + var (issue, _) = IssueTestHelper.CreateRandomIssue(fixture.RedmineManager); + var content = "Test attachment content"u8.ToArray(); var fileName = "test_attachment.txt"; var upload = fixture.RedmineManager.UploadFile(content, fileName); Assert.NotNull(upload); Assert.NotEmpty(upload.Token); - // Update issue with upload token - var updateIssue = new Issue + // Act + var updateIssue = new Redmine.Net.Api.Types.Issue { Subject = $"Test issue for attachment {RandomHelper.GenerateText(5)}", Uploads = [upload] }; - fixture.RedmineManager.Update(createdIssue.Id.ToString(), updateIssue); + fixture.RedmineManager.Update(issue.Id.ToString(), updateIssue); - // Act - var retrievedIssue = fixture.RedmineManager.Get( - createdIssue.Id.ToString(), - RequestOptions.Include("attachments")); + + var retrievedIssue = fixture.RedmineManager.Get( + issue.Id.ToString(), + RequestOptions.Include(RedmineKeys.ATTACHMENTS)); // Assert Assert.NotNull(retrievedIssue); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueAttachmentUploadTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueAttachmentUploadTestsAsync.cs similarity index 55% rename from tests/redmine-net-api.Integration.Tests/Tests/Async/IssueAttachmentUploadTestsAsync.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueAttachmentUploadTestsAsync.cs index f87b6780..be0dc85e 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueAttachmentUploadTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueAttachmentUploadTestsAsync.cs @@ -1,8 +1,11 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Net; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api; +using Redmine.Net.Api.Http; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; [Collection(Constants.RedmineTestContainerCollection)] public class IssueAttachmentTestsAsync(RedmineTestContainerFixture fixture) @@ -11,39 +14,26 @@ public class IssueAttachmentTestsAsync(RedmineTestContainerFixture fixture) public async Task UploadAttachmentAndAttachToIssue_Should_Succeed() { // Arrange - var issue = new Issue - { - Project = new IdentifiableName { Id = 1 }, - Tracker = new IdentifiableName { Id = 1 }, - Status = new IssueStatus() { Id = 1 }, - Priority = new IdentifiableName { Id = 4 }, - Subject = $"Test issue for attachment {Guid.NewGuid()}", - Description = "Test issue description" - }; + var (issue, _) = await IssueTestHelper.CreateRandomIssueAsync(fixture.RedmineManager); - var createdIssue = await fixture.RedmineManager.CreateAsync(issue); - Assert.NotNull(createdIssue); - - // Upload a file var fileContent = "Test attachment content"u8.ToArray(); var filename = "test_attachment.txt"; - var upload = await fixture.RedmineManager.UploadFileAsync(fileContent, filename); Assert.NotNull(upload); Assert.NotEmpty(upload.Token); // Prepare issue with attachment - var updateIssue = new Issue + var updateIssue = new Redmine.Net.Api.Types.Issue { Subject = $"Test issue for attachment {RandomHelper.GenerateText(5)}", Uploads = [upload] }; // Act - await fixture.RedmineManager.UpdateAsync(createdIssue.Id.ToString(), updateIssue); + await fixture.RedmineManager.UpdateAsync(issue.Id.ToString(), updateIssue); var retrievedIssue = - await fixture.RedmineManager.GetAsync(createdIssue.Id.ToString(), RequestOptions.Include("attachments")); + await fixture.RedmineManager.GetAsync(issue.Id.ToString(), RequestOptions.Include(RedmineKeys.ATTACHMENTS)); // Assert Assert.NotNull(retrievedIssue); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueTests.cs new file mode 100644 index 00000000..2c1fb974 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueTests.cs @@ -0,0 +1,132 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public void CreateIssue_Should_Succeed() + { + //Arrange + var (issue, _) = IssueTestHelper.CreateRandomIssue(fixture.RedmineManager); + + // Assert + Assert.NotNull(issue); + Assert.True(issue.Id > 0); + } + + [Fact] + public void CreateIssue_With_IssueCustomField_Should_Succeed() + { + //Arrange + var (issue, _) = IssueTestHelper.CreateRandomIssue(fixture.RedmineManager, customFields: + [ + TestEntityFactory.CreateRandomIssueCustomFieldWithSingleValuePayload() + ]); + + // Assert + Assert.NotNull(issue); + Assert.True(issue.Id > 0); + } + + [Fact] + public void GetIssue_Should_Succeed() + { + //Arrange + var (issue, issuePayload) = IssueTestHelper.CreateRandomIssue(fixture.RedmineManager); + + Assert.NotNull(issue); + Assert.True(issue.Id > 0); + + var issueId = issue.Id.ToInvariantString(); + + //Act + var retrievedIssue = fixture.RedmineManager.Get(issueId); + + //Assert + IssueTestHelper.AssertBasic(issuePayload, retrievedIssue); + } + + [Fact] + public void UpdateIssue_Should_Succeed() + { + //Arrange + var (issue, _) = IssueTestHelper.CreateRandomIssue(fixture.RedmineManager); + + issue.Subject = RandomHelper.GenerateText(9); + issue.Description = RandomHelper.GenerateText(18); + issue.Status = 2.ToIssueStatusIdentifier(); + issue.Notes = RandomHelper.GenerateText("Note"); + + var issueId = issue.Id.ToInvariantString(); + + //Act + fixture.RedmineManager.Update(issueId, issue); + var updatedIssue = fixture.RedmineManager.Get(issueId); + + //Assert + IssueTestHelper.AssertBasic(issue, updatedIssue); + Assert.Equal(issue.Subject, updatedIssue.Subject); + Assert.Equal(issue.Description, updatedIssue.Description); + Assert.Equal(issue.Status.Id, updatedIssue.Status.Id); + } + + [Fact] + public void DeleteIssue_Should_Succeed() + { + //Arrange + var (issue, _) = IssueTestHelper.CreateRandomIssue(fixture.RedmineManager); + + var issueId = issue.Id.ToInvariantString(); + + //Act + fixture.RedmineManager.Delete(issueId); + + //Assert + Assert.Throws(() => fixture.RedmineManager.Get(issueId)); + } + + [Fact] + public void GetIssue_With_Watchers_And_Relations_Should_Succeed() + { + var userPayload = TestEntityFactory.CreateRandomUserPayload(); + var createdUser = fixture.RedmineManager.Create(userPayload); + Assert.NotNull(createdUser); + + var userId = createdUser.Id; + + var (firstIssue, _) = IssueTestHelper.CreateRandomIssue(fixture.RedmineManager, customFields: + [ + IssueCustomField.CreateMultiple(1, RandomHelper.GenerateText(8), + [RandomHelper.GenerateText(4), RandomHelper.GenerateText(4)]) + ], watchers: + [new Watcher() { Id = 1 }, new Watcher() { Id = userId }]); + + var (secondIssue, _) = IssueTestHelper.CreateRandomIssue(fixture.RedmineManager, + customFields: [TestEntityFactory.CreateRandomIssueCustomFieldWithMultipleValuesPayload()], + watchers: [new Watcher() { Id = 1 }, new Watcher() { Id = userId }]); + + var issueRelation = new IssueRelation() + { + Type = IssueRelationType.Relates, + IssueToId = firstIssue.Id, + }; + _ = fixture.RedmineManager.Create(issueRelation, secondIssue.Id.ToInvariantString()); + + //Act + var retrievedIssue = fixture.RedmineManager.Get(secondIssue.Id.ToInvariantString(), + RequestOptions.Include($"{Include.Issue.Watchers},{Include.Issue.Relations}")); + + //Assert + IssueTestHelper.AssertBasic(secondIssue, retrievedIssue); + Assert.NotNull(retrievedIssue.Watchers); + Assert.NotNull(retrievedIssue.Relations); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueTestsAsync.cs similarity index 85% rename from tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueTestsAsync.cs index 5b078c05..1e39a2fc 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueTestsAsync.cs @@ -1,20 +1,22 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Net; +using Redmine.Net.Api.Http; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; [Collection(Constants.RedmineTestContainerCollection)] public class IssueTestsAsync(RedmineTestContainerFixture fixture) { - private static readonly IdentifiableName ProjectIdName = IdentifiableName.Create(1); + private static readonly IdentifiableName ProjectIdName = IdentifiableName.Create(1); - private async Task CreateTestIssueAsync(List customFields = null, + private async Task CreateTestIssueAsync(List customFields = null, List watchers = null) { - var issue = new Issue + var issue = new Redmine.Net.Api.Types.Issue { Project = ProjectIdName, Subject = RandomHelper.GenerateText(9), @@ -32,7 +34,7 @@ private async Task CreateTestIssueAsync(List customFiel public async Task CreateIssue_Should_Succeed() { //Arrange - var issueData = new Issue + var issueData = new Redmine.Net.Api.Types.Issue { Project = ProjectIdName, Subject = RandomHelper.GenerateText(9), @@ -51,7 +53,7 @@ public async Task CreateIssue_Should_Succeed() //Act var cr = await fixture.RedmineManager.CreateAsync(issueData); - var createdIssue = await fixture.RedmineManager.GetAsync(cr.Id.ToString()); + var createdIssue = await fixture.RedmineManager.GetAsync(cr.Id.ToString()); //Assert Assert.NotNull(createdIssue); @@ -77,7 +79,7 @@ public async Task GetIssue_Should_Succeed() var issueId = createdIssue.Id.ToInvariantString(); //Act - var retrievedIssue = await fixture.RedmineManager.GetAsync(issueId); + var retrievedIssue = await fixture.RedmineManager.GetAsync(issueId); //Assert Assert.NotNull(retrievedIssue); @@ -107,7 +109,7 @@ public async Task UpdateIssue_Should_Succeed() //Act await fixture.RedmineManager.UpdateAsync(issueId, createdIssue); - var retrievedIssue = await fixture.RedmineManager.GetAsync(issueId); + var retrievedIssue = await fixture.RedmineManager.GetAsync(issueId); //Assert Assert.NotNull(retrievedIssue); @@ -127,10 +129,10 @@ public async Task DeleteIssue_Should_Succeed() var issueId = createdIssue.Id.ToInvariantString(); //Act - await fixture.RedmineManager.DeleteAsync(issueId); + await fixture.RedmineManager.DeleteAsync(issueId); //Assert - await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(issueId)); + await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(issueId)); } [Fact] @@ -146,7 +148,7 @@ public async Task GetIssue_With_Watchers_And_Relations_Should_Succeed() Assert.NotNull(createdIssue); //Act - var retrievedIssue = await fixture.RedmineManager.GetAsync(createdIssue.Id.ToInvariantString(), + var retrievedIssue = await fixture.RedmineManager.GetAsync(createdIssue.Id.ToInvariantString(), RequestOptions.Include($"{Include.Issue.Watchers},{Include.Issue.Relations}")); //Assert diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueWatcherTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueWatcherTests.cs similarity index 52% rename from tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueWatcherTestsAsync.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueWatcherTests.cs index c493aa97..c46dc941 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueWatcherTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueWatcherTests.cs @@ -1,30 +1,26 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Types; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; [Collection(Constants.RedmineTestContainerCollection)] public class IssueWatcherTests(RedmineTestContainerFixture fixture) { - private Issue CreateTestIssue() - { - var issue = IssueTestHelper.CreateIssue(); - return fixture.RedmineManager.Create(issue); - } - [Fact] public void AddWatcher_Should_Succeed() { - var issue = CreateTestIssue(); - var userId = 1; // existing user + var (issue, _) = IssueTestHelper.CreateRandomIssue(fixture.RedmineManager); + const int userId = 1; fixture.RedmineManager.AddWatcherToIssue(issue.Id, userId); - var updated = fixture.RedmineManager.Get( + var updated = fixture.RedmineManager.Get( issue.Id.ToString(), - RequestOptions.Include("watchers")); + RequestOptions.Include(RedmineKeys.WATCHERS)); Assert.Contains(updated.Watchers, w => w.Id == userId); } @@ -32,15 +28,15 @@ public void AddWatcher_Should_Succeed() [Fact] public void RemoveWatcher_Should_Succeed() { - var issue = CreateTestIssue(); - var userId = 1; + var (issue, _) = IssueTestHelper.CreateRandomIssue(fixture.RedmineManager); + const int userId = 1; fixture.RedmineManager.AddWatcherToIssue(issue.Id, userId); fixture.RedmineManager.RemoveWatcherFromIssue(issue.Id, userId); - var updated = fixture.RedmineManager.Get( + var updated = fixture.RedmineManager.Get( issue.Id.ToString(), - RequestOptions.Include("watchers")); + RequestOptions.Include(RedmineKeys.WATCHERS)); Assert.DoesNotContain(updated.Watchers ?? [], w => w.Id == userId); } diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueWatcherTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueWatcherTestsAsync.cs similarity index 73% rename from tests/redmine-net-api.Integration.Tests/Tests/Async/IssueWatcherTestsAsync.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueWatcherTestsAsync.cs index 6da2a071..fb96377f 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueWatcherTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueWatcherTestsAsync.cs @@ -1,16 +1,18 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api; using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Net; +using Redmine.Net.Api.Http; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; [Collection(Constants.RedmineTestContainerCollection)] public class IssueWatcherTestsAsync(RedmineTestContainerFixture fixture) { - private async Task CreateTestIssueAsync() + private async Task CreateTestIssueAsync() { - var issue = new Issue + var issue = new Redmine.Net.Api.Types.Issue { Project = new IdentifiableName { Id = 1 }, Tracker = new IdentifiableName { Id = 1 }, @@ -30,14 +32,12 @@ public async Task AddWatcher_Should_Succeed() var issue = await CreateTestIssueAsync(); Assert.NotNull(issue); - // Assuming there's at least one user in the system (typically Admin with ID 1) - var userId = 1; + const int userId = 1; // Act await fixture.RedmineManager.AddWatcherToIssueAsync(issue.Id, userId); - // Get updated issue with watchers - var updatedIssue = await fixture.RedmineManager.GetAsync(issue.Id.ToString(), RequestOptions.Include("watchers")); + var updatedIssue = await fixture.RedmineManager.GetAsync(issue.Id.ToString(), RequestOptions.Include(RedmineKeys.WATCHERS)); // Assert Assert.NotNull(updatedIssue); @@ -52,17 +52,14 @@ public async Task RemoveWatcher_Should_Succeed() var issue = await CreateTestIssueAsync(); Assert.NotNull(issue); - // Assuming there's at least one user in the system (typically Admin with ID 1) - var userId = 1; + const int userId = 1; - // Add watcher first await fixture.RedmineManager.AddWatcherToIssueAsync(issue.Id, userId); // Act await fixture.RedmineManager.RemoveWatcherFromIssueAsync(issue.Id, userId); - // Get updated issue with watchers - var updatedIssue = await fixture.RedmineManager.GetAsync(issue.Id.ToString(), RequestOptions.Include("watchers")); + var updatedIssue = await fixture.RedmineManager.GetAsync(issue.Id.ToString(), RequestOptions.Include(RedmineKeys.WATCHERS)); // Assert Assert.NotNull(updatedIssue); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueCategoryTestsSync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueCategory/IssueCategoryTests.cs similarity index 93% rename from tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueCategoryTestsSync.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueCategory/IssueCategoryTests.cs index e2c98413..166cfc6f 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueCategoryTestsSync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueCategory/IssueCategoryTests.cs @@ -1,9 +1,10 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; [Collection(Constants.RedmineTestContainerCollection)] public class IssueCategoryTests(RedmineTestContainerFixture fixture) diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueCategoryTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueCategory/IssueCategoryTestsAsync.cs similarity index 95% rename from tests/redmine-net-api.Integration.Tests/Tests/Async/IssueCategoryTestsAsync.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueCategory/IssueCategoryTestsAsync.cs index 62b772cd..d96361b7 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueCategoryTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueCategory/IssueCategoryTestsAsync.cs @@ -1,9 +1,10 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; [Collection(Constants.RedmineTestContainerCollection)] public class IssueCategoryTestsAsync(RedmineTestContainerFixture fixture) diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTests.cs new file mode 100644 index 00000000..d2f72d88 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTests.cs @@ -0,0 +1,36 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api; +using Redmine.Net.Api.Http; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueRelationTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public void CreateIssueRelation_Should_Succeed() + { + var (relation, i1, i2) = IssueTestHelper.CreateRandomIssueRelation(fixture.RedmineManager); + + Assert.NotNull(relation); + Assert.True(relation.Id > 0); + Assert.Equal(i1.Id, relation.IssueId); + Assert.Equal(i2.Id, relation.IssueToId); + } + + [Fact] + public void DeleteIssueRelation_Should_Succeed() + { + var (rel, _, _) = IssueTestHelper.CreateRandomIssueRelation(fixture.RedmineManager); + fixture.RedmineManager.Delete(rel.Id.ToString()); + + var issue = fixture.RedmineManager.Get( + rel.IssueId.ToString(), + RequestOptions.Include(RedmineKeys.RELATIONS)); + + Assert.Null(issue.Relations?.FirstOrDefault(r => r.Id == rel.Id)); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTestsAsync.cs new file mode 100644 index 00000000..5adbd6d5 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTestsAsync.cs @@ -0,0 +1,51 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api; +using Redmine.Net.Api.Http; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; + +[Collection(Constants.RedmineTestContainerCollection)] +public class IssueRelationTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task CreateIssueRelation_Should_Succeed() + { + // Arrange + var (issue1, issue2) = await IssueTestHelper.CreateRandomTwoIssuesAsync(fixture.RedmineManager); + + var relation = new IssueRelation + { + IssueId = issue1.Id, + IssueToId = issue2.Id, + Type = IssueRelationType.Relates + }; + + // Act + var createdRelation = await fixture.RedmineManager.CreateAsync(relation, issue1.Id.ToString()); + + // Assert + Assert.NotNull(createdRelation); + Assert.True(createdRelation.Id > 0); + Assert.Equal(relation.IssueId, createdRelation.IssueId); + Assert.Equal(relation.IssueToId, createdRelation.IssueToId); + Assert.Equal(relation.Type, createdRelation.Type); + } + + [Fact] + public async Task DeleteIssueRelation_Should_Succeed() + { + // Arrange + var (relation, _, _) = await IssueTestHelper.CreateRandomIssueRelationAsync(fixture.RedmineManager); + Assert.NotNull(relation); + + // Act & Assert + await fixture.RedmineManager.DeleteAsync(relation.Id.ToString()); + + var issue = await fixture.RedmineManager.GetAsync(relation.IssueId.ToString(), RequestOptions.Include(RedmineKeys.RELATIONS)); + + Assert.Null(issue.Relations?.FirstOrDefault(r => r.Id == relation.Id)); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueStatusTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueStatus/IssueStatusTests.cs similarity index 75% rename from tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueStatusTests.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueStatus/IssueStatusTests.cs index 0f7ec5ea..94e099c1 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueStatusTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueStatus/IssueStatusTests.cs @@ -1,7 +1,8 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; [Collection(Constants.RedmineTestContainerCollection)] public class IssueStatusTests(RedmineTestContainerFixture fixture) diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueStatusAsyncTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueStatus/IssueStatusTestsAsync.cs similarity index 67% rename from tests/redmine-net-api.Integration.Tests/Tests/Async/IssueStatusAsyncTests.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueStatus/IssueStatusTestsAsync.cs index 75d1bdbf..5422befa 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/IssueStatusAsyncTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueStatus/IssueStatusTestsAsync.cs @@ -1,10 +1,11 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; [Collection(Constants.RedmineTestContainerCollection)] -public class IssueStatusTestsAsync(RedmineTestContainerFixture fixture) +public class IssueStatusAsyncTests(RedmineTestContainerFixture fixture) { [Fact] public async Task GetAllIssueStatuses_Should_Succeed() diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/JournalManagementTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Journal/JournalTests.cs similarity index 70% rename from tests/redmine-net-api.Integration.Tests/Tests/Sync/JournalManagementTests.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/Journal/JournalTests.cs index aa88df48..ed59ccae 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Sync/JournalManagementTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Journal/JournalTests.cs @@ -1,18 +1,18 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Types; +using Redmine.Net.Api.Http; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; [Collection(Constants.RedmineTestContainerCollection)] public class JournalTests(RedmineTestContainerFixture fixture) { - private Issue CreateTestIssue() + private Redmine.Net.Api.Types.Issue CreateRandomIssue() { - var issue = IssueTestHelper.CreateIssue(); + var issue = TestEntityFactory.CreateRandomIssuePayload(); return fixture.RedmineManager.Create(issue); } @@ -20,14 +20,14 @@ private Issue CreateTestIssue() public void Get_Issue_With_Journals_Should_Succeed() { // Arrange - var testIssue = CreateTestIssue(); + var testIssue = CreateRandomIssue(); Assert.NotNull(testIssue); testIssue.Notes = "This is a test note to create a journal entry."; fixture.RedmineManager.Update(testIssue.Id.ToInvariantString(), testIssue); // Act - var issueWithJournals = fixture.RedmineManager.Get( + var issueWithJournals = fixture.RedmineManager.Get( testIssue.Id.ToInvariantString(), RequestOptions.Include(RedmineKeys.JOURNALS)); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/JournalTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Journal/JournalTestsAsync.cs similarity index 64% rename from tests/redmine-net-api.Integration.Tests/Tests/Async/JournalTestsAsync.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/Journal/JournalTestsAsync.cs index 754118b5..608bf1a7 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/JournalTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Journal/JournalTestsAsync.cs @@ -1,33 +1,27 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Net; +using Redmine.Net.Api.Http; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; [Collection(Constants.RedmineTestContainerCollection)] public class JournalTestsAsync(RedmineTestContainerFixture fixture) { - private async Task CreateTestIssueAsync() + private async Task CreateRandomIssueAsync() { - var issue = new Issue - { - Project = IdentifiableName.Create(1), - Subject = RandomHelper.GenerateText(13), - Description = RandomHelper.GenerateText(19), - Tracker = 1.ToIdentifier(), - Status = 1.ToIssueStatusIdentifier(), - Priority = 2.ToIdentifier(), - }; - return await fixture.RedmineManager.CreateAsync(issue); + var issuePayload = TestEntityFactory.CreateRandomIssuePayload(); + return await fixture.RedmineManager.CreateAsync(issuePayload); } [Fact] public async Task Get_Issue_With_Journals_Should_Succeed() { //Arrange - var testIssue = await CreateTestIssueAsync(); + var testIssue = await CreateRandomIssueAsync(); Assert.NotNull(testIssue); var issueIdToTest = testIssue.Id.ToInvariantString(); @@ -36,7 +30,7 @@ public async Task Get_Issue_With_Journals_Should_Succeed() await fixture.RedmineManager.UpdateAsync(issueIdToTest, testIssue); //Act - var issueWithJournals = await fixture.RedmineManager.GetAsync( + var issueWithJournals = await fixture.RedmineManager.GetAsync( issueIdToTest, RequestOptions.Include(RedmineKeys.JOURNALS)); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTests.cs new file mode 100644 index 00000000..190d25b7 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTests.cs @@ -0,0 +1,32 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api.Extensions; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.News; + +[Collection(Constants.RedmineTestContainerCollection)] +public class NewsTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public void GetAllNews_Should_Succeed() + { + _ = fixture.RedmineManager.AddProjectNews(TestConstants.Projects.DefaultProjectIdentifier, TestEntityFactory.CreateRandomNewsPayload()); + + _ = fixture.RedmineManager.AddProjectNews("2", TestEntityFactory.CreateRandomNewsPayload()); + + var news = fixture.RedmineManager.Get(); + + Assert.NotNull(news); + } + + [Fact] + public void GetProjectNews_Should_Succeed() + { + _ = fixture.RedmineManager.AddProjectNews(TestConstants.Projects.DefaultProjectIdentifier, TestEntityFactory.CreateRandomNewsPayload()); + + var news = fixture.RedmineManager.GetProjectNews(TestConstants.Projects.DefaultProjectIdentifier); + + Assert.NotNull(news); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTestsAsync.cs new file mode 100644 index 00000000..88945ab2 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTestsAsync.cs @@ -0,0 +1,52 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api.Extensions; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.News; + +[Collection(Constants.RedmineTestContainerCollection)] +public class NewsTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task GetAllNews_Should_Succeed() + { + // Arrange + _ = await fixture.RedmineManager.AddProjectNewsAsync(TestConstants.Projects.DefaultProjectIdentifier, TestEntityFactory.CreateRandomNewsPayload()); + + _ = await fixture.RedmineManager.AddProjectNewsAsync("2", TestEntityFactory.CreateRandomNewsPayload()); + + // Act + var news = await fixture.RedmineManager.GetAsync(); + + // Assert + Assert.NotNull(news); + } + + [Fact] + public async Task GetProjectNews_Should_Succeed() + { + // Arrange + var newsCreated = await fixture.RedmineManager.AddProjectNewsAsync(TestConstants.Projects.DefaultProjectIdentifier, TestEntityFactory.CreateRandomNewsPayload()); + + // Act + var news = await fixture.RedmineManager.GetProjectNewsAsync(TestConstants.Projects.DefaultProjectIdentifier); + + // Assert + Assert.NotNull(news); + } + + [Fact] + public async Task News_AddWithUploads_Should_Succeed() + { + // Arrange + var newsPayload = TestEntityFactory.CreateRandomNewsPayload(); + var newsCreated = await fixture.RedmineManager.AddProjectNewsAsync(TestConstants.Projects.DefaultProjectIdentifier, newsPayload); + + // Act + var news = await fixture.RedmineManager.GetProjectNewsAsync(TestConstants.Projects.DefaultProjectIdentifier); + + // Assert + Assert.NotNull(news); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Project/ProjectTestsAsync.cs similarity index 76% rename from tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectTestsAsync.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/Project/ProjectTestsAsync.cs index 2909bbf0..aaec371b 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/ProjectTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Project/ProjectTestsAsync.cs @@ -1,18 +1,20 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Project; [Collection(Constants.RedmineTestContainerCollection)] public class ProjectTestsAsync(RedmineTestContainerFixture fixture) { - private async Task CreateEntityAsync(string subjectSuffix = null) + private async Task CreateEntityAsync(string subjectSuffix = null) { - var entity = new Project + var entity = new Redmine.Net.Api.Types.Project { - Identifier = RandomHelper.GenerateText(5), + Identifier = RandomHelper.GenerateText(5).ToLowerInvariant(), Name = "test-random", }; @@ -24,7 +26,7 @@ public async Task CreateProject_Should_Succeed() { //Arrange var projectName = RandomHelper.GenerateText(7); - var data = new Project + var data = new Redmine.Net.Api.Types.Project { Name = projectName, Identifier = projectName.ToLowerInvariant(), @@ -67,7 +69,7 @@ public async Task DeleteIssue_Should_Succeed() var id = createdEntity.Id.ToInvariantString(); //Act - await fixture.RedmineManager.DeleteAsync(id); + await fixture.RedmineManager.DeleteAsync(id); await Task.Delay(200); @@ -77,7 +79,7 @@ public async Task DeleteIssue_Should_Succeed() async Task TestCode() { - await fixture.RedmineManager.GetAsync(id); + await fixture.RedmineManager.GetAsync(id); } } } \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTests.cs new file mode 100644 index 00000000..c9cca3ba --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTests.cs @@ -0,0 +1,84 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.ProjectMembership; + +[Collection(Constants.RedmineTestContainerCollection)] +public class ProjectMembershipTests(RedmineTestContainerFixture fixture) +{ + private Redmine.Net.Api.Types.ProjectMembership CreateRandomProjectMembership() + { + var roles = fixture.RedmineManager.Get(); + Assert.NotEmpty(roles); + + var user = TestEntityFactory.CreateRandomUserPayload(); + var createdUser = fixture.RedmineManager.Create(user); + Assert.NotNull(createdUser); + + var membership = new Redmine.Net.Api.Types.ProjectMembership + { + User = new IdentifiableName { Id = createdUser.Id }, + Roles = [new MembershipRole { Id = roles[0].Id }] + }; + + return fixture.RedmineManager.Create(membership, TestConstants.Projects.DefaultProjectIdentifier); + } + + [Fact] + public void GetProjectMemberships_WithValidProjectId_ShouldReturnMemberships() + { + var memberships = fixture.RedmineManager.GetProjectMemberships(TestConstants.Projects.DefaultProjectIdentifier); + Assert.NotNull(memberships); + } + + [Fact] + public void CreateProjectMembership_WithValidData_ShouldSucceed() + { + var membership = CreateRandomProjectMembership(); + + Assert.NotNull(membership); + Assert.True(membership.Id > 0); + Assert.NotNull(membership.User); + Assert.NotEmpty(membership.Roles); + } + + [Fact] + public void UpdateProjectMembership_WithValidData_ShouldSucceed() + { + var membership = CreateRandomProjectMembership(); + Assert.NotNull(membership); + + var roles = fixture.RedmineManager.Get(); + Assert.NotEmpty(roles); + + var newRoleId = roles.First(r => membership.Roles.All(mr => mr.Id != r.Id)).Id; + membership.Roles = [new MembershipRole { Id = newRoleId }]; + + // Act + fixture.RedmineManager.Update(membership.Id.ToString(), membership); + + var updatedMembership = fixture.RedmineManager.Get(membership.Id.ToString()); + + // Assert + Assert.NotNull(updatedMembership); + Assert.Contains(updatedMembership.Roles, r => r.Id == newRoleId); + } + + [Fact] + public void DeleteProjectMembership_WithValidId_ShouldSucceed() + { + // Arrange + var membership = CreateRandomProjectMembership(); + Assert.NotNull(membership); + + // Act + fixture.RedmineManager.Delete(membership.Id.ToString()); + + // Assert + Assert.Throws(() => fixture.RedmineManager.Get(membership.Id.ToString())); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTestsAsync.cs new file mode 100644 index 00000000..ee17f90f --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTestsAsync.cs @@ -0,0 +1,123 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.ProjectMembership; + +[Collection(Constants.RedmineTestContainerCollection)] +public class ProjectMembershipTestsAsync(RedmineTestContainerFixture fixture) +{ + private async Task CreateRandomMembershipAsync() + { + var roles = await fixture.RedmineManager.GetAsync(); + Assert.NotEmpty(roles); + + var userPayload = TestEntityFactory.CreateRandomUserPayload(); + var user = await fixture.RedmineManager.CreateAsync(userPayload); + Assert.NotNull(user); + + var membership = new Redmine.Net.Api.Types.ProjectMembership + { + User = new IdentifiableName { Id = user.Id }, + Roles = [new MembershipRole { Id = roles[0].Id }] + }; + + return await fixture.RedmineManager.CreateAsync(membership, TestConstants.Projects.DefaultProjectIdentifier); + } + + [Fact] + public async Task GetProjectMemberships_WithValidProjectId_ShouldReturnMemberships() + { + // Act + var memberships = await fixture.RedmineManager.GetProjectMembershipsAsync(TestConstants.Projects.DefaultProjectIdentifier); + + // Assert + Assert.NotNull(memberships); + } + + [Fact] + public async Task CreateProjectMembership_WithValidData_ShouldSucceed() + { + // Arrange & Act + var projectMembership = await CreateRandomMembershipAsync(); + + // Assert + Assert.NotNull(projectMembership); + Assert.True(projectMembership.Id > 0); + Assert.NotNull(projectMembership.User); + Assert.NotEmpty(projectMembership.Roles); + } + + [Fact] + public async Task UpdateProjectMembership_WithValidData_ShouldSucceed() + { + // Arrange + var membership = await CreateRandomMembershipAsync(); + Assert.NotNull(membership); + + var roles = await fixture.RedmineManager.GetAsync(); + Assert.NotEmpty(roles); + + var newRoleId = roles.FirstOrDefault(r => membership.Roles.All(mr => mr.Id != r.Id))?.Id ?? roles.First().Id; + membership.Roles = [new MembershipRole { Id = newRoleId }]; + + // Act + await fixture.RedmineManager.UpdateAsync(membership.Id.ToString(), membership); + + var updatedMembership = await fixture.RedmineManager.GetAsync(membership.Id.ToString()); + + // Assert + Assert.NotNull(updatedMembership); + Assert.Contains(updatedMembership.Roles, r => r.Id == newRoleId); + } + + [Fact] + public async Task DeleteProjectMembership_WithValidId_ShouldSucceed() + { + // Arrange + var membership = await CreateRandomMembershipAsync(); + Assert.NotNull(membership); + + var membershipId = membership.Id.ToString(); + + // Act + await fixture.RedmineManager.DeleteAsync(membershipId); + + // Assert + await Assert.ThrowsAsync(() => fixture.RedmineManager.GetAsync(membershipId)); + } + + [Fact] + public async Task GetProjectMemberships_ShouldReturnMemberships() + { + // Test implementation + } + + [Fact] + public async Task GetProjectMembership_WithValidId_ShouldReturnMembership() + { + // Test implementation + } + + [Fact] + public async Task CreateProjectMembership_WithInvalidData_ShouldFail() + { + // Test implementation + } + + [Fact] + public async Task UpdateProjectMembership_WithInvalidData_ShouldFail() + { + // Test implementation + } + + [Fact] + public async Task DeleteProjectMembership_WithInvalidId_ShouldFail() + { + // Test implementation + } + +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Query/QueryTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Query/QueryTests.cs new file mode 100644 index 00000000..b4af0e84 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Query/QueryTests.cs @@ -0,0 +1,18 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Query; + +[Collection(Constants.RedmineTestContainerCollection)] +public class QueryTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public void GetAllQueries_Should_Succeed() + { + // Act + var queries = fixture.RedmineManager.Get(); + + // Assert + Assert.NotNull(queries); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/QueryTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Query/QueryTestsAsync.cs similarity index 58% rename from tests/redmine-net-api.Integration.Tests/Tests/Async/QueryTestsAsync.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/Query/QueryTestsAsync.cs index 0ee98155..c8bb6d16 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/QueryTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Query/QueryTestsAsync.cs @@ -1,7 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Types; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Query; [Collection(Constants.RedmineTestContainerCollection)] public class QueryTestsAsync(RedmineTestContainerFixture fixture) @@ -10,7 +10,7 @@ public class QueryTestsAsync(RedmineTestContainerFixture fixture) public async Task GetAllQueries_Should_Succeed() { // Act - var queries = await fixture.RedmineManager.GetAsync(); + var queries = await fixture.RedmineManager.GetAsync(); // Assert Assert.NotNull(queries); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Role/RoleTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Role/RoleTests.cs new file mode 100644 index 00000000..165c1c4f --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Role/RoleTests.cs @@ -0,0 +1,19 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Role; + +[Collection(Constants.RedmineTestContainerCollection)] +public class RoleTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public void Get_All_Roles_Should_Succeed() + { + //Act + var roles = fixture.RedmineManager.Get(); + + //Assert + Assert.NotNull(roles); + Assert.NotEmpty(roles); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/RoleTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Role/RoleTestsAsync.cs similarity index 76% rename from tests/redmine-net-api.Integration.Tests/Tests/Async/RoleTestsAsync.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/Role/RoleTestsAsync.cs index cc163d64..fb1dbd52 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/RoleTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Role/RoleTestsAsync.cs @@ -1,6 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Role; [Collection(Constants.RedmineTestContainerCollection)] public class RoleTestsAsync(RedmineTestContainerFixture fixture) diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Search/SearchTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Search/SearchTests.cs new file mode 100644 index 00000000..0f4fc789 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Search/SearchTests.cs @@ -0,0 +1,28 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api; +using Redmine.Net.Api.Extensions; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Search; + +[Collection(Constants.RedmineTestContainerCollection)] +public class SearchTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public void Search_Should_Succeed() + { + // Arrange + var searchBuilder = new SearchFilterBuilder + { + IncludeIssues = true, + IncludeWikiPages = true + }; + + // Act + var results = fixture.RedmineManager.Search("query_string",100, searchFilter:searchBuilder); + + // Assert + Assert.NotNull(results); + Assert.Null(results.Items); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/SearchTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Search/SearchTestsAsync.cs similarity index 83% rename from tests/redmine-net-api.Integration.Tests/Tests/Async/SearchTestsAsync.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/Search/SearchTestsAsync.cs index a05add93..ba9f151e 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/SearchTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Search/SearchTestsAsync.cs @@ -1,8 +1,9 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Extensions; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Search; [Collection(Constants.RedmineTestContainerCollection)] public class SearchTestsAsync(RedmineTestContainerFixture fixture) diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryActivityTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/TimeEntry/TimeEntryActivityTestsAsync.cs similarity index 78% rename from tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryActivityTests.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/TimeEntry/TimeEntryActivityTestsAsync.cs index 79260dcb..b2e9546b 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/TimeEntryActivityTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/TimeEntry/TimeEntryActivityTestsAsync.cs @@ -1,7 +1,8 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.TimeEntry; [Collection(Constants.RedmineTestContainerCollection)] public class TimeEntryActivityTestsAsync(RedmineTestContainerFixture fixture) diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/TimeEntry/TimeEntryTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/TimeEntry/TimeEntryTestsAsync.cs new file mode 100644 index 00000000..6a273b4d --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/TimeEntry/TimeEntryTestsAsync.cs @@ -0,0 +1,91 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.TimeEntry; + +[Collection(Constants.RedmineTestContainerCollection)] +public class TimeEntryTestsAsync(RedmineTestContainerFixture fixture) +{ + private async Task<(Redmine.Net.Api.Types.TimeEntry, Redmine.Net.Api.Types.TimeEntry payload)> CreateRandomTestTimeEntryAsync() + { + var (issue, _) = await IssueTestHelper.CreateRandomIssueAsync(fixture.RedmineManager); + + var timeEntry = TestEntityFactory.CreateRandomTimeEntryPayload(TestConstants.Projects.DefaultProjectId, issue.Id); + return (await fixture.RedmineManager.CreateAsync(timeEntry), timeEntry); + } + + [Fact] + public async Task CreateTimeEntry_Should_Succeed() + { + //Arrange & Act + var (timeEntry, timeEntryPayload) = await CreateRandomTestTimeEntryAsync(); + + //Assert + Assert.NotNull(timeEntry); + Assert.True(timeEntry.Id > 0); + Assert.Equal(timeEntryPayload.Hours, timeEntry.Hours); + Assert.Equal(timeEntryPayload.Comments, timeEntry.Comments); + Assert.Equal(timeEntryPayload.Project.Id, timeEntry.Project.Id); + Assert.Equal(timeEntryPayload.Issue.Id, timeEntry.Issue.Id); + Assert.Equal(timeEntryPayload.Activity.Id, timeEntry.Activity.Id); + } + + [Fact] + public async Task GetTimeEntry_Should_Succeed() + { + //Arrange + var (createdTimeEntry,_) = await CreateRandomTestTimeEntryAsync(); + Assert.NotNull(createdTimeEntry); + + //Act + var retrievedTimeEntry = await fixture.RedmineManager.GetAsync(createdTimeEntry.Id.ToInvariantString()); + + //Assert + Assert.NotNull(retrievedTimeEntry); + Assert.Equal(createdTimeEntry.Id, retrievedTimeEntry.Id); + Assert.Equal(createdTimeEntry.Hours, retrievedTimeEntry.Hours); + Assert.Equal(createdTimeEntry.Comments, retrievedTimeEntry.Comments); + } + + [Fact] + public async Task UpdateTimeEntry_Should_Succeed() + { + //Arrange + var (createdTimeEntry,_) = await CreateRandomTestTimeEntryAsync(); + Assert.NotNull(createdTimeEntry); + + var updatedComments = $"Updated test time entry comments {Guid.NewGuid()}"; + var updatedHours = 2.5m; + createdTimeEntry.Comments = updatedComments; + createdTimeEntry.Hours = updatedHours; + + //Act + await fixture.RedmineManager.UpdateAsync(createdTimeEntry.Id.ToInvariantString(), createdTimeEntry); + var retrievedTimeEntry = await fixture.RedmineManager.GetAsync(createdTimeEntry.Id.ToInvariantString()); + + //Assert + Assert.NotNull(retrievedTimeEntry); + Assert.Equal(createdTimeEntry.Id, retrievedTimeEntry.Id); + Assert.Equal(updatedComments, retrievedTimeEntry.Comments); + Assert.Equal(updatedHours, retrievedTimeEntry.Hours); + } + + [Fact] + public async Task DeleteTimeEntry_Should_Succeed() + { + //Arrange + var (createdTimeEntry,_) = await CreateRandomTestTimeEntryAsync(); + Assert.NotNull(createdTimeEntry); + + var timeEntryId = createdTimeEntry.Id.ToInvariantString(); + + //Act + await fixture.RedmineManager.DeleteAsync(timeEntryId); + + //Assert + await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(timeEntryId)); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/TrackerTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Tracker/TrackerTestsAsync.cs similarity index 61% rename from tests/redmine-net-api.Integration.Tests/Tests/Async/TrackerTestsAsync.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/Tracker/TrackerTestsAsync.cs index 0b549009..c09016c9 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/TrackerTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Tracker/TrackerTestsAsync.cs @@ -1,7 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Types; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Tracker; [Collection(Constants.RedmineTestContainerCollection)] public class TrackerTestsAsync(RedmineTestContainerFixture fixture) @@ -10,7 +10,7 @@ public class TrackerTestsAsync(RedmineTestContainerFixture fixture) public async Task Get_All_Trackers_Should_Succeed() { //Act - var trackers = await fixture.RedmineManager.GetAsync(); + var trackers = await fixture.RedmineManager.GetAsync(); //Assert Assert.NotNull(trackers); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Async/UploadTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/UploadTestsAsync.cs similarity index 86% rename from tests/redmine-net-api.Integration.Tests/Tests/Async/UploadTestsAsync.cs rename to tests/redmine-net-api.Integration.Tests/Tests/Entities/UploadTestsAsync.cs index 727464d1..4cd293cf 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Async/UploadTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/UploadTestsAsync.cs @@ -1,11 +1,13 @@ using System.Text; using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; using Redmine.Net.Api; using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Net; +using Redmine.Net.Api.Http; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Async; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities; [Collection(Constants.RedmineTestContainerCollection)] public class UploadTestsAsync(RedmineTestContainerFixture fixture) @@ -19,7 +21,7 @@ public async Task Upload_Attachment_To_Issue_Should_Succeed() Assert.NotNull(uploadFile); Assert.NotNull(uploadFile.Token); - var issue = await fixture.RedmineManager.CreateAsync(new Issue() + var issue = await fixture.RedmineManager.CreateAsync(new Redmine.Net.Api.Types.Issue() { Project = 1.ToIdentifier(), Subject = "Creating an issue with a uploaded file", @@ -38,7 +40,7 @@ public async Task Upload_Attachment_To_Issue_Should_Succeed() Assert.NotNull(issue); - var files = await fixture.RedmineManager.GetAsync(issue.Id.ToInvariantString(), RequestOptions.Include(RedmineKeys.ATTACHMENTS)); + var files = await fixture.RedmineManager.GetAsync(issue.Id.ToInvariantString(), RequestOptions.Include(RedmineKeys.ATTACHMENTS)); Assert.NotNull(files); Assert.Single(files.Attachments); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/User/UserTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/User/UserTestsAsync.cs new file mode 100644 index 00000000..833f7566 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/User/UserTestsAsync.cs @@ -0,0 +1,242 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http; +using Redmine.Net.Api.Http.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.User; + +[Collection(Constants.RedmineTestContainerCollection)] +public class UserTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task CreateUser_WithValidData_ShouldSucceed() + { + //Arrange + var userPayload = TestEntityFactory.CreateRandomUserPayload(emailNotificationType: EmailNotificationType.OnlyMyEvents); + + //Act + var createdUser = await fixture.RedmineManager.CreateAsync(userPayload); + + //Assert + Assert.NotNull(createdUser); + Assert.True(createdUser.Id > 0); + Assert.Equal(userPayload.Login, createdUser.Login); + Assert.Equal(userPayload.FirstName, createdUser.FirstName); + Assert.Equal(userPayload.LastName, createdUser.LastName); + Assert.Equal(userPayload.Email, createdUser.Email); + } + + [Fact] + public async Task GetUser_WithValidId_ShouldReturnUser() + { + //Arrange + var userPayload = TestEntityFactory.CreateRandomUserPayload(); + var user = await fixture.RedmineManager.CreateAsync(userPayload); + Assert.NotNull(user); + + //Act + var retrievedUser = await fixture.RedmineManager.GetAsync(user.Id.ToInvariantString()); + + //Assert + Assert.NotNull(retrievedUser); + Assert.Equal(user.Id, retrievedUser.Id); + Assert.Equal(user.Login, retrievedUser.Login); + Assert.Equal(user.FirstName, retrievedUser.FirstName); + } + + [Fact] + public async Task UpdateUser_WithValidData_ShouldSucceed() + { + //Arrange + var userPayload = TestEntityFactory.CreateRandomUserPayload(); + var user = await fixture.RedmineManager.CreateAsync(userPayload); + Assert.NotNull(user); + + user.FirstName = RandomHelper.GenerateText(10); + + //Act + await fixture.RedmineManager.UpdateAsync(user.Id.ToInvariantString(), user); + var retrievedUser = await fixture.RedmineManager.GetAsync(user.Id.ToInvariantString()); + + //Assert + Assert.NotNull(retrievedUser); + Assert.Equal(user.Id, retrievedUser.Id); + Assert.Equal(user.FirstName, retrievedUser.FirstName); + } + + [Fact] + public async Task DeleteUser_WithValidId_ShouldSucceed() + { + //Arrange + var userPayload = TestEntityFactory.CreateRandomUserPayload(); + var user = await fixture.RedmineManager.CreateAsync(userPayload); + Assert.NotNull(user); + + var userId = user.Id.ToInvariantString(); + + //Act + await fixture.RedmineManager.DeleteAsync(userId); + + //Assert + await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(userId)); + } + + [Fact] + public async Task GetCurrentUser_ShouldReturnUserDetails() + { + var currentUser = await fixture.RedmineManager.GetCurrentUserAsync(); + Assert.NotNull(currentUser); + } + + [Fact] + public async Task GetUsers_WithActiveStatus_ShouldReturnUsers() + { + var userPayload = TestEntityFactory.CreateRandomUserPayload(); + var user = await fixture.RedmineManager.CreateAsync(userPayload); + Assert.NotNull(user); + + var users = await fixture.RedmineManager.GetAsync(new RequestOptions() + { + QueryString = RedmineKeys.STATUS.WithItem(((int)UserStatus.StatusActive).ToString()) + }); + + Assert.NotNull(users); + Assert.True(users.Count > 0, "User count == 0"); + } + + [Fact] + public async Task GetUsers_WithLockedStatus_ShouldReturnUsers() + { + var userPayload = TestEntityFactory.CreateRandomUserPayload(status: UserStatus.StatusLocked); + var user = await fixture.RedmineManager.CreateAsync(userPayload); + Assert.NotNull(user); + + var users = await fixture.RedmineManager.GetAsync(new RequestOptions() + { + QueryString = RedmineKeys.STATUS.WithItem(((int)UserStatus.StatusLocked).ToString()) + }); + + Assert.NotNull(users); + Assert.True(users.Count >= 1, "User(Locked) count == 0"); + } + + [Fact] + public async Task GetUsers_WithRegisteredStatus_ShouldReturnUsers() + { + var userPayload = TestEntityFactory.CreateRandomUserPayload(status: UserStatus.StatusRegistered); + var user = await fixture.RedmineManager.CreateAsync(userPayload); + Assert.NotNull(user); + + var users = await fixture.RedmineManager.GetAsync(new RequestOptions() + { + QueryString = RedmineKeys.STATUS.WithInt((int)UserStatus.StatusRegistered) + }); + + Assert.NotNull(users); + Assert.True(users.Count >= 1, "User(Registered) count == 0"); + } + + [Fact] + public async Task GetUser_WithGroupsAndMemberships_ShouldIncludeRelatedData() + { + var roles = await fixture.RedmineManager.GetAsync(); + Assert.NotEmpty(roles); + + var userPayload = TestEntityFactory.CreateRandomUserPayload(); + var user = await fixture.RedmineManager.CreateAsync(userPayload); + Assert.NotNull(user); + + var membership = new Redmine.Net.Api.Types.ProjectMembership + { + User = new IdentifiableName { Id = user.Id }, + Roles = [new MembershipRole { Id = roles[0].Id }] + }; + + var groupPayload = new Redmine.Net.Api.Types.Group() + { + Name = RandomHelper.GenerateText(3), + Users = [IdentifiableName.Create(user.Id)] + }; + + var group = await fixture.RedmineManager.CreateAsync(groupPayload); + Assert.NotNull(group); + + // Act + var projectMembership = await fixture.RedmineManager.CreateAsync(membership, TestConstants.Projects.DefaultProjectIdentifier); + Assert.NotNull(projectMembership); + + user = await fixture.RedmineManager.GetAsync(user.Id.ToInvariantString(), + RequestOptions.Include($"{RedmineKeys.GROUPS},{RedmineKeys.MEMBERSHIPS}")); + + Assert.NotNull(user); + Assert.NotNull(user.Groups); + Assert.NotNull(user.Memberships); + + Assert.True(user.Groups.Count > 0, "Group count == 0"); + Assert.True(user.Memberships.Count > 0, "Membership count == 0"); + } + + [Fact] + public async Task GetUsers_ByGroupId_ShouldReturnFilteredUsers() + { + var userPayload = TestEntityFactory.CreateRandomUserPayload(); + var user = await fixture.RedmineManager.CreateAsync(userPayload); + Assert.NotNull(user); + + var groupPayload = TestEntityFactory.CreateRandomGroupPayload(userIds: [user.Id]); + var group = await fixture.RedmineManager.CreateAsync(groupPayload); + Assert.NotNull(group); + + var users = await fixture.RedmineManager.GetAsync(new RequestOptions() + { + QueryString = RedmineKeys.GROUP_ID.WithInt(group.Id) + }); + + Assert.NotNull(users); + Assert.True(users.Count > 0, "User count == 0"); + } + + [Fact] + public async Task AddUserToGroup_WithValidIds_ShouldSucceed() + { + var userPayload = TestEntityFactory.CreateRandomUserPayload(); + var user = await fixture.RedmineManager.CreateAsync(userPayload); + Assert.NotNull(user); + + var groupPayload = TestEntityFactory.CreateRandomGroupPayload(name: null, userIds: null); + var group = await fixture.RedmineManager.CreateAsync(groupPayload); + Assert.NotNull(group); + + await fixture.RedmineManager.AddUserToGroupAsync(group.Id, user.Id); + + user = fixture.RedmineManager.Get(user.Id.ToInvariantString(), RequestOptions.Include(RedmineKeys.GROUPS)); + + Assert.NotNull(user); + Assert.NotNull(user.Groups); + Assert.NotNull(user.Groups.FirstOrDefault(g => g.Id == group.Id)); + } + + [Fact] + public async Task RemoveUserFromGroup_WithValidIds_ShouldSucceed() + { + var userPayload = TestEntityFactory.CreateRandomUserPayload(); + var user = await fixture.RedmineManager.CreateAsync(userPayload); + Assert.NotNull(user); + + var groupPayload = TestEntityFactory.CreateRandomGroupPayload(userIds: [user.Id]); + var group = await fixture.RedmineManager.CreateAsync(groupPayload); + Assert.NotNull(group); + + await fixture.RedmineManager.RemoveUserFromGroupAsync(group.Id, user.Id); + + user = await fixture.RedmineManager.GetAsync(user.Id.ToInvariantString(), RequestOptions.Include(RedmineKeys.GROUPS)); + + Assert.NotNull(user); + Assert.True(user.Groups == null || user.Groups.FirstOrDefault(g => g.Id == group.Id) == null); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Version/VersionTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Version/VersionTestsAsync.cs new file mode 100644 index 00000000..0a325719 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Version/VersionTestsAsync.cs @@ -0,0 +1,86 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Version; + +[Collection(Constants.RedmineTestContainerCollection)] +public class VersionTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task CreateVersion_Should_Succeed() + { + // Arrange + var versionPayload = TestEntityFactory.CreateRandomVersionPayload(); + + // Act + var version = await fixture.RedmineManager.CreateAsync(versionPayload, TestConstants.Projects.DefaultProjectIdentifier); + + // Assert + Assert.NotNull(version); + Assert.True(version.Id > 0); + Assert.Equal(versionPayload.Name, version.Name); + Assert.Equal(versionPayload.Description, version.Description); + Assert.Equal(versionPayload.Status, version.Status); + Assert.Equal(TestConstants.Projects.DefaultProjectId, version.Project.Id); + } + + [Fact] + public async Task GetVersion_Should_Succeed() + { + // Arrange + var versionPayload = TestEntityFactory.CreateRandomVersionPayload(); + var version = await fixture.RedmineManager.CreateAsync(versionPayload, TestConstants.Projects.DefaultProjectIdentifier); + Assert.NotNull(version); + + // Act + var retrievedVersion = await fixture.RedmineManager.GetAsync(version.Id.ToInvariantString()); + + // Assert + Assert.NotNull(retrievedVersion); + Assert.Equal(version.Id, retrievedVersion.Id); + Assert.Equal(version.Name, retrievedVersion.Name); + Assert.Equal(version.Description, retrievedVersion.Description); + } + + [Fact] + public async Task UpdateVersion_Should_Succeed() + { + // Arrange + var versionPayload = TestEntityFactory.CreateRandomVersionPayload(); + var version = await fixture.RedmineManager.CreateAsync(versionPayload, TestConstants.Projects.DefaultProjectIdentifier); + Assert.NotNull(version); + + version.Description = RandomHelper.GenerateText(20); + version.Status = VersionStatus.Locked; + + // Act + await fixture.RedmineManager.UpdateAsync(version.Id.ToString(), version); + var retrievedVersion = await fixture.RedmineManager.GetAsync(version.Id.ToInvariantString()); + + // Assert + Assert.NotNull(retrievedVersion); + Assert.Equal(version.Id, retrievedVersion.Id); + Assert.Equal(version.Description, retrievedVersion.Description); + Assert.Equal(version.Status, retrievedVersion.Status); + } + + [Fact] + public async Task DeleteVersion_Should_Succeed() + { + // Arrange + var versionPayload = TestEntityFactory.CreateRandomVersionPayload(); + var version = await fixture.RedmineManager.CreateAsync(versionPayload, TestConstants.Projects.DefaultProjectIdentifier); + Assert.NotNull(version); + + // Act + await fixture.RedmineManager.DeleteAsync(version); + + // Assert + await Assert.ThrowsAsync(async () => + await fixture.RedmineManager.GetAsync(version)); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Wiki/WikiTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Wiki/WikiTestsAsync.cs new file mode 100644 index 00000000..d54a28a1 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Wiki/WikiTestsAsync.cs @@ -0,0 +1,206 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Wiki; + +[Collection(Constants.RedmineTestContainerCollection)] +public class WikiTestsAsync(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task CreateWikiPage_WithValidData_ShouldSucceed() + { + // Arrange + var (pageName, wikiPagePayload) = TestEntityFactory.CreateRandomWikiPagePayload(); + + // Act + var wikiPage = await fixture.RedmineManager.CreateWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, pageName, wikiPagePayload); + + // Assert + Assert.NotNull(wikiPage); + } + + [Fact] + public async Task GetWikiPage_WithValidTitle_ShouldReturnPage() + { + // Arrange + var (pageName, wikiPagePayload) = TestEntityFactory.CreateRandomWikiPagePayload(); + + // Act + var wikiPage = await fixture.RedmineManager.CreateWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, pageName, wikiPagePayload); + Assert.NotNull(wikiPage); + + var retrievedPage = await fixture.RedmineManager.GetWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, wikiPage.Title); + + // Assert + Assert.NotNull(retrievedPage); + Assert.Equal(pageName, retrievedPage.Title); + Assert.Equal(wikiPage.Text, retrievedPage.Text); + } + + [Fact] + public async Task GetAllWikiPages_ForValidProject_ShouldReturnPages() + { + // Arrange + var (firstPageName, firstWikiPagePayload) = TestEntityFactory.CreateRandomWikiPagePayload(); + var (secondPageName, secondWikiPagePayload) = TestEntityFactory.CreateRandomWikiPagePayload(); + + // Act + var wikiPage = await fixture.RedmineManager.CreateWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, firstPageName, firstWikiPagePayload); + Assert.NotNull(wikiPage); + + var wikiPage2 = await fixture.RedmineManager.CreateWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, secondPageName, secondWikiPagePayload); + Assert.NotNull(wikiPage2); + + // Act + var wikiPages = await fixture.RedmineManager.GetAllWikiPagesAsync(TestConstants.Projects.DefaultProjectIdentifier); + + // Assert + Assert.NotNull(wikiPages); + Assert.NotEmpty(wikiPages); + } + + [Fact] + public async Task DeleteWikiPage_WithValidTitle_ShouldSucceed() + { + // Arrange + var (pageName, wikiPagePayload) = TestEntityFactory.CreateRandomWikiPagePayload(); + + // Act + var wikiPage = await fixture.RedmineManager.CreateWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, pageName, wikiPagePayload); + Assert.NotNull(wikiPage); + + // Act + await fixture.RedmineManager.DeleteWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, wikiPage.Title); + + // Assert + await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, wikiPage.Title)); + } + + [Fact] + public async Task CreateWikiPage_Should_Succeed() + { + // Arrange + var (pageName, wikiPagePayload) = TestEntityFactory.CreateRandomWikiPagePayload(); + + // Act + var wikiPage = await fixture.RedmineManager.CreateWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, pageName, wikiPagePayload); + + // Assert + Assert.NotNull(wikiPage); + Assert.NotNull(wikiPage.Author); + Assert.NotNull(wikiPage.CreatedOn); + Assert.Equal(DateTime.Now, wikiPage.CreatedOn.Value, TimeSpan.FromSeconds(5)); + Assert.Equal(pageName, wikiPage.Title); + Assert.Equal(wikiPagePayload.Text, wikiPage.Text); + Assert.Equal(1, wikiPage.Version); + } + + [Fact] + public async Task UpdateWikiPage_WithValidData_ShouldSucceed() + { + // Arrange + var (pageName, wikiPagePayload) = TestEntityFactory.CreateRandomWikiPagePayload(); + + var wikiPage = await fixture.RedmineManager.CreateWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, pageName, wikiPagePayload); + Assert.NotNull(wikiPage); + + wikiPage.Text = "Updated wiki text content"; + wikiPage.Comments = "These are updated comments for the wiki page update."; + + // Act + await fixture.RedmineManager.UpdateWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, pageName, wikiPage); + + var retrievedPage = await fixture.RedmineManager.GetWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, wikiPage.Title); + + // Assert + Assert.NotNull(retrievedPage); + Assert.Equal(wikiPage.Text, retrievedPage.Text); + Assert.Equal(wikiPage.Comments, retrievedPage.Comments); + } + + [Fact] + public async Task GetWikiPage_WithNameAndAttachments_ShouldReturnCompleteData() + { + // Arrange + var fileUpload = await FileTestHelper.UploadRandom500KbFileAsync(fixture.RedmineManager); + Assert.NotNull(fileUpload); + Assert.NotEmpty(fileUpload.Token); + + fileUpload.ContentType = "text/plain"; + fileUpload.Description = RandomHelper.GenerateText(15); + fileUpload.FileName = "hello-world.txt"; + + var (pageName, wikiPagePayload) = TestEntityFactory.CreateRandomWikiPagePayload(pageName: RandomHelper.GenerateText(prefix: "Te$t"), uploads: [fileUpload]); + + var wikiPage = await fixture.RedmineManager.CreateWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, pageName, wikiPagePayload); + Assert.NotNull(wikiPage); + + // Act + var page = await fixture.RedmineManager.GetWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, pageName, RequestOptions.Include(RedmineKeys.ATTACHMENTS)); + + // Assert + Assert.NotNull(page); + Assert.Equal(pageName, page.Title); + Assert.NotNull(page.Comments); + Assert.NotNull(page.Author); + Assert.NotNull(page.CreatedOn); + Assert.Equal(DateTime.Now, page.CreatedOn.Value, TimeSpan.FromSeconds(5)); + + Assert.NotNull(page.Attachments); + Assert.NotEmpty(page.Attachments); + + var attachment = page.Attachments.FirstOrDefault(x => x.FileName == fileUpload.FileName); + Assert.NotNull(attachment); + Assert.Equal("text/plain", attachment.ContentType); + Assert.NotNull(attachment.Description); + Assert.Equal(attachment.FileName, attachment.FileName); + Assert.EndsWith($"/attachments/download/{attachment.Id}/{attachment.FileName}", attachment.ContentUrl); + Assert.True(attachment.FileSize > 0); + } + + [Fact] + public async Task GetWikiPage_WithOldVersion_ShouldReturnHistoricalData() + { + //Arrange + var (pageName, wikiPagePayload) = TestEntityFactory.CreateRandomWikiPagePayload(); + + var wikiPage = await fixture.RedmineManager.CreateWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, pageName, wikiPagePayload); + Assert.NotNull(wikiPage); + + wikiPage.Text = RandomHelper.GenerateText(8); + wikiPage.Comments = RandomHelper.GenerateText(9); + + // Act + await fixture.RedmineManager.UpdateWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, pageName, wikiPage); + + var oldPage = await fixture.RedmineManager.GetWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, wikiPage.Title, version: 1); + + // Assert + Assert.NotNull(oldPage); + Assert.Equal(wikiPagePayload.Text, oldPage.Text); + Assert.Equal(wikiPagePayload.Comments, oldPage.Comments); + Assert.Equal(1, oldPage.Version); + } + + [Fact] + public async Task GetWikiPage_WithSpecialChars_ShouldReturnPage() + { + //Arrange + var (pageName, wikiPagePayload) = TestEntityFactory.CreateRandomWikiPagePayload(pageName: "some-page-with-umlauts-and-other-special-chars-äöüÄÖÜß"); + + var wikiPage = await fixture.RedmineManager.CreateWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, pageName, wikiPagePayload); + Assert.Null(wikiPage); //it seems that Redmine returns 204 (No content) when the page name contains special characters + + // Act + var page = await fixture.RedmineManager.GetWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, pageName); + + // Assert + Assert.NotNull(page); + Assert.Equal(pageName, page.Title); + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.Async.cs b/tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.Async.cs index be6fc659..2849cd37 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.Async.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.Async.cs @@ -1,17 +1,18 @@ -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests; +using Redmine.Net.Api.Exceptions; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Progress; public partial class ProgressTests { [Fact] - public async Task DownloadFileAsync_ReportsProgress() + public async Task DownloadFileAsync_WithValidUrl_ShouldReportProgress() { // Arrange var progressTracker = new ProgressTracker(); // Act var result = await fixture.RedmineManager.DownloadFileAsync( - TEST_DOWNLOAD_URL, - null, + "",null, progressTracker, CancellationToken.None); @@ -23,7 +24,7 @@ public async Task DownloadFileAsync_ReportsProgress() } [Fact] - public async Task DownloadFileAsync_WithCancellation_StopsDownload() + public async Task DownloadFileAsync_WithCancellation_ShouldStopDownload() { // Arrange var progressTracker = new ProgressTracker(); @@ -40,10 +41,10 @@ public async Task DownloadFileAsync_WithCancellation_StopsDownload() }; // Act & Assert - await Assert.ThrowsAnyAsync(async () => + await Assert.ThrowsAnyAsync(async () => { await fixture.RedmineManager.DownloadFileAsync( - TEST_DOWNLOAD_URL, + "", null, progressTracker, cts.Token); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.cs index 1f0d2bcc..b9ed86a9 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Progress/ProgressTests.cs @@ -1,20 +1,19 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Progress; [Collection(Constants.RedmineTestContainerCollection)] public partial class ProgressTests(RedmineTestContainerFixture fixture) { - private const string TEST_DOWNLOAD_URL = "attachments/download/86/Manual_de_control_fiscal_versiune%20finala_RO_24_07_2023.pdf"; - [Fact] - public void DownloadFile_Sync_ReportsProgress() + public void DownloadFile_WithValidUrl_ShouldReportProgress() { // Arrange var progressTracker = new ProgressTracker(); // Act - var result = fixture.RedmineManager.DownloadFile(TEST_DOWNLOAD_URL, progressTracker); + var result = fixture.RedmineManager.DownloadFile("", progressTracker); // Assert Assert.NotNull(result); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/EnumerationTestsSync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/EnumerationTestsSync.cs deleted file mode 100644 index a3776452..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Sync/EnumerationTestsSync.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; - -[Collection(Constants.RedmineTestContainerCollection)] -public class EnumerationTests(RedmineTestContainerFixture fixture) -{ - [Fact] public void GetDocumentCategories_Should_Succeed() => Assert.NotNull(fixture.RedmineManager.Get()); - [Fact] public void GetIssuePriorities_Should_Succeed() => Assert.NotNull(fixture.RedmineManager.Get()); - [Fact] public void GetTimeEntryActivities_Should_Succeed() => Assert.NotNull(fixture.RedmineManager.Get()); -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/FileUploadTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/FileUploadTests.cs deleted file mode 100644 index d5745fc5..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Sync/FileUploadTests.cs +++ /dev/null @@ -1,82 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Extensions; -using File = Redmine.Net.Api.Types.File; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; - -[Collection(Constants.RedmineTestContainerCollection)] -public class FileTests(RedmineTestContainerFixture fixture) -{ - private const string PROJECT_ID = "1"; - - [Fact] - public void CreateFile_Should_Succeed() - { - var (_, token) = UploadFile(); - - var filePayload = new File { Token = token }; - - var createdFile = fixture.RedmineManager.Create(filePayload, PROJECT_ID); - Assert.Null(createdFile); // the API returns null on success when no extra fields were provided - - var files = fixture.RedmineManager.GetProjectFiles(PROJECT_ID); - - // Assert - Assert.NotNull(files); - Assert.NotEmpty(files.Items); - } - - [Fact] - public void CreateFile_Without_Token_Should_Fail() - { - Assert.ThrowsAny(() => - fixture.RedmineManager.Create(new File { Filename = "project_file.zip" }, PROJECT_ID)); - } - - [Fact] - public void CreateFile_With_OptionalParameters_Should_Succeed() - { - var (fileName, token) = UploadFile(); - - var filePayload = new File - { - Token = token, - Filename = fileName, - Description = RandomHelper.GenerateText(9), - ContentType = "text/plain", - }; - - var createdFile = fixture.RedmineManager.Create(filePayload, PROJECT_ID); - Assert.NotNull(createdFile); - } - - [Fact] - public void CreateFile_With_Version_Should_Succeed() - { - var (fileName, token) = UploadFile(); - - var filePayload = new File - { - Token = token, - Filename = fileName, - Description = RandomHelper.GenerateText(9), - ContentType = "text/plain", - Version = 1.ToIdentifier(), - }; - - var createdFile = fixture.RedmineManager.Create(filePayload, PROJECT_ID); - Assert.NotNull(createdFile); - } - - private (string fileName, string token) UploadFile() - { - var bytes = "Hello World!"u8.ToArray(); - var fileName = $"{RandomHelper.GenerateText(5)}.txt"; - var upload = fixture.RedmineManager.UploadFile(bytes, fileName); - - Assert.NotNull(upload); - Assert.NotNull(upload.Token); - - return (fileName, upload.Token); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/GroupManagementTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/GroupManagementTests.cs deleted file mode 100644 index dae479ed..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Sync/GroupManagementTests.cs +++ /dev/null @@ -1,118 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; - -[Collection(Constants.RedmineTestContainerCollection)] -public class GroupTests(RedmineTestContainerFixture fixture) -{ - private Group CreateTestGroup() - { - var group = new Group - { - Name = $"Test Group {Guid.NewGuid()}" - }; - - return fixture.RedmineManager.Create(group); - } - - [Fact] - public void GetAllGroups_Should_Succeed() - { - var groups = fixture.RedmineManager.Get(); - - Assert.NotNull(groups); - } - - [Fact] - public void CreateGroup_Should_Succeed() - { - var group = new Group { Name = $"Test Group {Guid.NewGuid()}" }; - - var createdGroup = fixture.RedmineManager.Create(group); - - Assert.NotNull(createdGroup); - Assert.True(createdGroup.Id > 0); - Assert.Equal(group.Name, createdGroup.Name); - } - - [Fact] - public void GetGroup_Should_Succeed() - { - var createdGroup = CreateTestGroup(); - Assert.NotNull(createdGroup); - - var retrievedGroup = fixture.RedmineManager.Get(createdGroup.Id.ToInvariantString()); - - Assert.NotNull(retrievedGroup); - Assert.Equal(createdGroup.Id, retrievedGroup.Id); - Assert.Equal(createdGroup.Name, retrievedGroup.Name); - } - - [Fact] - public void UpdateGroup_Should_Succeed() - { - var createdGroup = CreateTestGroup(); - Assert.NotNull(createdGroup); - - var updatedName = $"Updated Test Group {Guid.NewGuid()}"; - createdGroup.Name = updatedName; - - fixture.RedmineManager.Update(createdGroup.Id.ToInvariantString(), createdGroup); - var retrievedGroup = fixture.RedmineManager.Get(createdGroup.Id.ToInvariantString()); - - Assert.NotNull(retrievedGroup); - Assert.Equal(createdGroup.Id, retrievedGroup.Id); - Assert.Equal(updatedName, retrievedGroup.Name); - } - - [Fact] - public void DeleteGroup_Should_Succeed() - { - var createdGroup = CreateTestGroup(); - Assert.NotNull(createdGroup); - - var groupId = createdGroup.Id.ToInvariantString(); - - fixture.RedmineManager.Delete(groupId); - - Assert.Throws(() => - fixture.RedmineManager.Get(groupId)); - } - - [Fact] - public void AddUserToGroup_Should_Succeed() - { - var group = CreateTestGroup(); - Assert.NotNull(group); - - var userId = 1; // assuming Admin - - fixture.RedmineManager.AddUserToGroup(group.Id, userId); - var updatedGroup = fixture.RedmineManager.Get(group.Id.ToString(), RequestOptions.Include("users")); - - Assert.NotNull(updatedGroup); - Assert.NotNull(updatedGroup.Users); - Assert.Contains(updatedGroup.Users, u => u.Id == userId); - } - - [Fact] - public void RemoveUserFromGroup_Should_Succeed() - { - var group = CreateTestGroup(); - Assert.NotNull(group); - - var userId = 1; // assuming Admin - - fixture.RedmineManager.AddUserToGroup(group.Id, userId); - - fixture.RedmineManager.RemoveUserFromGroup(group.Id, userId); - var updatedGroup = fixture.RedmineManager.Get(group.Id.ToString(), RequestOptions.Include("users")); - - Assert.NotNull(updatedGroup); - // Assert.DoesNotContain(updatedGroup.Users ?? new List(), u => u.Id == userId); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueJournalTestsSync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueJournalTestsSync.cs deleted file mode 100644 index d0339d8e..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueJournalTestsSync.cs +++ /dev/null @@ -1,37 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; - -[Collection(Constants.RedmineTestContainerCollection)] -public class IssueJournalTests(RedmineTestContainerFixture fixture) -{ - [Fact] - public void GetIssueWithJournals_Should_Succeed() - { - // Arrange - var issue = IssueTestHelper.CreateIssue(); - var createdIssue = fixture.RedmineManager.Create(issue); - Assert.NotNull(createdIssue); - - // Add note to create the journal - var update = new Issue - { - Notes = "This is a test note that should appear in journals", - Subject = $"Updated subject {Guid.NewGuid()}" - }; - fixture.RedmineManager.Update(createdIssue.Id.ToString(), update); - - // Act - var retrievedIssue = fixture.RedmineManager.Get( - createdIssue.Id.ToString(), - RequestOptions.Include("journals")); - - // Assert - Assert.NotNull(retrievedIssue); - Assert.NotEmpty(retrievedIssue.Journals); - Assert.Contains(retrievedIssue.Journals, j => j.Notes?.Contains("test note") == true); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueRelationTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueRelationTests.cs deleted file mode 100644 index ab863135..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueRelationTests.cs +++ /dev/null @@ -1,58 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; - -[Collection(Constants.RedmineTestContainerCollection)] -public class IssueRelationTests(RedmineTestContainerFixture fixture) -{ - private (Issue first, Issue second) CreateTwoIssues() - { - Issue Build(string subject) => fixture.RedmineManager.Create(new Issue - { - Project = new IdentifiableName { Id = 1 }, - Tracker = new IdentifiableName { Id = 1 }, - Status = new IssueStatus { Id = 1 }, - Priority = new IdentifiableName { Id = 4 }, - Subject = subject, - Description = "desc" - }); - - return (Build($"Issue1 {Guid.NewGuid()}"), Build($"Issue2 {Guid.NewGuid()}")); - } - - private IssueRelation CreateRelation() - { - var (i1, i2) = CreateTwoIssues(); - var rel = new IssueRelation { IssueId = i1.Id, IssueToId = i2.Id, Type = IssueRelationType.Relates }; - return fixture.RedmineManager.Create(rel, i1.Id.ToString()); - } - - [Fact] - public void CreateIssueRelation_Should_Succeed() - { - var (i1, i2) = CreateTwoIssues(); - var rel = fixture.RedmineManager.Create( - new IssueRelation { IssueId = i1.Id, IssueToId = i2.Id, Type = IssueRelationType.Relates }, - i1.Id.ToString()); - - Assert.NotNull(rel); - Assert.True(rel.Id > 0); - Assert.Equal(i1.Id, rel.IssueId); - Assert.Equal(i2.Id, rel.IssueToId); - } - - [Fact] - public void DeleteIssueRelation_Should_Succeed() - { - var rel = CreateRelation(); - fixture.RedmineManager.Delete(rel.Id.ToString()); - - var issue = fixture.RedmineManager.Get( - rel.IssueId.ToString(), - RequestOptions.Include("relations")); - - Assert.Null(issue.Relations?.FirstOrDefault(r => r.Id == rel.Id)); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueTestsAsync.cs deleted file mode 100644 index 451b749d..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Sync/IssueTestsAsync.cs +++ /dev/null @@ -1,124 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; -using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; - -[Collection(Constants.RedmineTestContainerCollection)] -public class IssueTests(RedmineTestContainerFixture fixture) -{ - [Fact] - public void CreateIssue_Should_Succeed() - { - //Arrange - var issue = IssueTestHelper.CreateIssue(); - var createdIssue = fixture.RedmineManager.Create(issue); - - // Assert - Assert.NotNull(createdIssue); - Assert.True(createdIssue.Id > 0); - } - - [Fact] - public void CreateIssue_With_IssueCustomField_Should_Succeed() - { - //Arrange - var issue = IssueTestHelper.CreateIssue(customFields: - [ - IssueCustomField.CreateSingle(1, RandomHelper.GenerateText(8), RandomHelper.GenerateText(4)) - ]); - var createdIssue = fixture.RedmineManager.Create(issue); - // Assert - Assert.NotNull(createdIssue); - Assert.True(createdIssue.Id > 0); - } - - [Fact] - public void GetIssue_Should_Succeed() - { - //Arrange - var issue = IssueTestHelper.CreateIssue(); - var createdIssue = fixture.RedmineManager.Create(issue); - - Assert.NotNull(createdIssue); - Assert.True(createdIssue.Id > 0); - - var issueId = issue.Id.ToInvariantString(); - - //Act - var retrievedIssue = fixture.RedmineManager.Get(issueId); - - //Assert - IssueTestHelper.AssertBasic(issue, retrievedIssue); - } - - [Fact] - public void UpdateIssue_Should_Succeed() - { - //Arrange - var issue = IssueTestHelper.CreateIssue(); - Assert.NotNull(issue); - - var updatedSubject = RandomHelper.GenerateText(9); - var updatedDescription = RandomHelper.GenerateText(18); - var updatedStatusId = 2; - - issue.Subject = updatedSubject; - issue.Description = updatedDescription; - issue.Status = updatedStatusId.ToIssueStatusIdentifier(); - issue.Notes = RandomHelper.GenerateText("Note"); - - var issueId = issue.Id.ToInvariantString(); - - //Act - fixture.RedmineManager.Update(issueId, issue); - var retrievedIssue = fixture.RedmineManager.Get(issueId); - - //Assert - IssueTestHelper.AssertBasic(issue, retrievedIssue); - Assert.Equal(updatedSubject, retrievedIssue.Subject); - Assert.Equal(updatedDescription, retrievedIssue.Description); - Assert.Equal(updatedStatusId, retrievedIssue.Status.Id); - } - - [Fact] - public void DeleteIssue_Should_Succeed() - { - //Arrange - var issue = IssueTestHelper.CreateIssue(); - Assert.NotNull(issue); - - var issueId = issue.Id.ToInvariantString(); - - //Act - fixture.RedmineManager.Delete(issueId); - - //Assert - Assert.Throws(() => fixture.RedmineManager.Get(issueId)); - } - - [Fact] - public void GetIssue_With_Watchers_And_Relations_Should_Succeed() - { - var issue = IssueTestHelper.CreateIssue( - [ - IssueCustomField.CreateMultiple(1, RandomHelper.GenerateText(8), - [RandomHelper.GenerateText(4), RandomHelper.GenerateText(4)]) - ], - [new Watcher() { Id = 1 }, new Watcher() { Id = 2 }]); - - Assert.NotNull(issue); - - //Act - var retrievedIssue = fixture.RedmineManager.Get(issue.Id.ToInvariantString(), - RequestOptions.Include($"{Include.Issue.Watchers},{Include.Issue.Relations}")); - - //Assert - IssueTestHelper.AssertBasic(issue, retrievedIssue); - Assert.NotNull(retrievedIssue.Relations); - Assert.NotNull(retrievedIssue.Watchers); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/NewsTestsIntegration.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/NewsTestsIntegration.cs deleted file mode 100644 index 2823ce83..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Sync/NewsTestsIntegration.cs +++ /dev/null @@ -1,48 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; - -[Collection(Constants.RedmineTestContainerCollection)] -public class NewsTests(RedmineTestContainerFixture fixture) -{ - private const string PROJECT_ID = "1"; - - [Fact] - public void GetAllNews_Should_Succeed() - { - _ = fixture.RedmineManager.AddProjectNews(PROJECT_ID, new News - { - Title = RandomHelper.GenerateText(5), - Summary = RandomHelper.GenerateText(10), - Description = RandomHelper.GenerateText(20), - }); - - _ = fixture.RedmineManager.AddProjectNews("2", new News - { - Title = RandomHelper.GenerateText(5), - Summary = RandomHelper.GenerateText(10), - Description = RandomHelper.GenerateText(20), - }); - - var news = fixture.RedmineManager.Get(); - - Assert.NotNull(news); - } - - [Fact] - public void GetProjectNews_Should_Succeed() - { - _ = fixture.RedmineManager.AddProjectNews(PROJECT_ID, new News - { - Title = RandomHelper.GenerateText(5), - Summary = RandomHelper.GenerateText(10), - Description = RandomHelper.GenerateText(20), - }); - - var news = fixture.RedmineManager.GetProjectNews(PROJECT_ID); - - Assert.NotNull(news); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Sync/ProjectMembershipTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Sync/ProjectMembershipTests.cs deleted file mode 100644 index 419582ba..00000000 --- a/tests/redmine-net-api.Integration.Tests/Tests/Sync/ProjectMembershipTests.cs +++ /dev/null @@ -1,103 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Sync; - -[Collection(Constants.RedmineTestContainerCollection)] -public class MembershipTests(RedmineTestContainerFixture fixture) -{ - private const string PROJECT_ID = "1"; - - private ProjectMembership CreateTestMembership() - { - var roles = fixture.RedmineManager.Get(); - Assert.NotEmpty(roles); - - var user = new User - { - Login = RandomHelper.GenerateText(10), - FirstName = RandomHelper.GenerateText(8), - LastName = RandomHelper.GenerateText(9), - Email = $"{RandomHelper.GenerateText(5)}@example.com", - Password = "password123", - MustChangePassword = false, - Status = UserStatus.StatusActive - }; - var createdUser = fixture.RedmineManager.Create(user); - Assert.NotNull(createdUser); - - var membership = new ProjectMembership - { - User = new IdentifiableName { Id = createdUser.Id }, - Roles = [new MembershipRole { Id = roles[0].Id }] - }; - - return fixture.RedmineManager.Create(membership, PROJECT_ID); - } - - [Fact] - public void GetProjectMemberships_Should_Succeed() - { - var memberships = fixture.RedmineManager.GetProjectMemberships(PROJECT_ID); - Assert.NotNull(memberships); - } - - [Fact] - public void CreateMembership_Should_Succeed() - { - var roles = fixture.RedmineManager.Get(); - Assert.NotEmpty(roles); - - var user = new User - { - Login = RandomHelper.GenerateText(10), - FirstName = RandomHelper.GenerateText(8), - LastName = RandomHelper.GenerateText(9), - Email = $"{RandomHelper.GenerateText(5)}@example.com", - Password = "password123", - MustChangePassword = false, - Status = UserStatus.StatusActive - }; - var createdUser = fixture.RedmineManager.Create(user); - - var membership = new ProjectMembership - { - User = new IdentifiableName { Id = createdUser.Id }, - Roles = [new MembershipRole { Id = roles[0].Id }] - }; - var createdMembership = fixture.RedmineManager.Create(membership, PROJECT_ID); - - Assert.NotNull(createdMembership); - Assert.True(createdMembership.Id > 0); - Assert.Equal(membership.User.Id, createdMembership.User.Id); - Assert.NotEmpty(createdMembership.Roles); - } - - [Fact] - public void UpdateMembership_Should_Succeed() - { - var membership = CreateTestMembership(); - - var roles = fixture.RedmineManager.Get(); - var newRoleId = roles.First(r => membership.Roles.All(mr => mr.Id != r.Id)).Id; - membership.Roles = [new MembershipRole { Id = newRoleId }]; - - fixture.RedmineManager.Update(membership.Id.ToString(), membership); - - var updatedMemberships = fixture.RedmineManager.GetProjectMemberships(PROJECT_ID); - var updated = updatedMemberships.Items.First(m => m.Id == membership.Id); - - Assert.Contains(updated.Roles, r => r.Id == newRoleId); - } - - [Fact] - public void DeleteMembership_Should_Succeed() - { - var membership = CreateTestMembership(); - fixture.RedmineManager.Delete(membership.Id.ToString()); - - var afterDelete = fixture.RedmineManager.GetProjectMemberships(PROJECT_ID); - Assert.DoesNotContain(afterDelete.Items, m => m.Id == membership.Id); - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/appsettings.local.json b/tests/redmine-net-api.Integration.Tests/appsettings.local.json index 20d6ceb0..9c508d1e 100644 --- a/tests/redmine-net-api.Integration.Tests/appsettings.local.json +++ b/tests/redmine-net-api.Integration.Tests/appsettings.local.json @@ -4,7 +4,7 @@ "Url": "http://localhost:8089/", "AuthenticationMode": "ApiKey", "Authentication": { - "ApiKey": "026389abb8e5d5b31fe7864c4ed174e6f3c9783c" + "ApiKey": "61d6fa45ca2c570372b08b8c54b921e5fc39335a" } } } diff --git a/tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj b/tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj index 65bc9aba..9f80bcd1 100644 --- a/tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj +++ b/tests/redmine-net-api.Integration.Tests/redmine-net-api.Integration.Tests.csproj @@ -1,4 +1,4 @@ - + |net40|net45|net451|net452|net46|net461| From 4a249808b439c5c56ba434f5a6894a762d429236 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 17:07:00 +0300 Subject: [PATCH 586/601] ... --- src/redmine-net-api/Logging/RedmineLoggingOptions.cs | 2 +- src/redmine-net-api/Types/User.cs | 2 +- src/redmine-net-api/Types/UserStatus.cs | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/redmine-net-api/Logging/RedmineLoggingOptions.cs b/src/redmine-net-api/Logging/RedmineLoggingOptions.cs index 18af7ae0..d7b510d4 100644 --- a/src/redmine-net-api/Logging/RedmineLoggingOptions.cs +++ b/src/redmine-net-api/Logging/RedmineLoggingOptions.cs @@ -6,7 +6,7 @@ namespace Redmine.Net.Api.Logging; public sealed class RedmineLoggingOptions { /// - /// Gets or sets the minimum log level + /// Gets or sets the minimum log level. The default value is LogLevel.Information /// public LogLevel MinimumLevel { get; set; } = LogLevel.Information; diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index ffeb7fd1..0afc34ad 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -157,7 +157,7 @@ public sealed class User : Identifiable /// Gets or sets the user's mail_notification. /// /// - /// only_my_events, only_assigned, ... + /// only_my_events, only_assigned, only_owner /// public string MailNotification { get; set; } diff --git a/src/redmine-net-api/Types/UserStatus.cs b/src/redmine-net-api/Types/UserStatus.cs index 86542357..c14b6a38 100644 --- a/src/redmine-net-api/Types/UserStatus.cs +++ b/src/redmine-net-api/Types/UserStatus.cs @@ -21,10 +21,6 @@ namespace Redmine.Net.Api.Types /// public enum UserStatus { - /// - /// - /// - StatusAnonymous = 0, /// /// /// From 8851299804fb4ae171659779c6b06df549ef5843 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 17:46:48 +0300 Subject: [PATCH 587/601] Change collection type from IList to List --- src/redmine-net-api/Common/PagedResults.cs | 4 ++-- src/redmine-net-api/Extensions/ListExtensions.cs | 2 +- src/redmine-net-api/Types/CustomField.cs | 6 +++--- src/redmine-net-api/Types/Group.cs | 6 +++--- src/redmine-net-api/Types/Issue.cs | 16 ++++++++-------- src/redmine-net-api/Types/IssueCustomField.cs | 2 +- src/redmine-net-api/Types/Journal.cs | 2 +- src/redmine-net-api/Types/Membership.cs | 2 +- src/redmine-net-api/Types/Project.cs | 8 ++++---- src/redmine-net-api/Types/ProjectMembership.cs | 2 +- src/redmine-net-api/Types/Role.cs | 2 +- src/redmine-net-api/Types/TimeEntry.cs | 2 +- src/redmine-net-api/Types/Version.cs | 2 +- src/redmine-net-api/Types/WikiPage.cs | 4 ++-- .../Helpers/RandomHelper.cs | 2 +- 15 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/redmine-net-api/Common/PagedResults.cs b/src/redmine-net-api/Common/PagedResults.cs index 2aeb5f03..af1e82fd 100644 --- a/src/redmine-net-api/Common/PagedResults.cs +++ b/src/redmine-net-api/Common/PagedResults.cs @@ -30,7 +30,7 @@ public sealed class PagedResults where TOut: class /// /// /// - public PagedResults(IEnumerable items, int total, int offset, int pageSize) + public PagedResults(List items, int total, int offset, int pageSize) { Items = items; TotalItems = total; @@ -75,6 +75,6 @@ public PagedResults(IEnumerable items, int total, int offset, int pageSize /// /// /// - public IEnumerable Items { get; } + public List Items { get; } } } \ No newline at end of file diff --git a/src/redmine-net-api/Extensions/ListExtensions.cs b/src/redmine-net-api/Extensions/ListExtensions.cs index a8dce8c1..48ef0705 100755 --- a/src/redmine-net-api/Extensions/ListExtensions.cs +++ b/src/redmine-net-api/Extensions/ListExtensions.cs @@ -54,7 +54,7 @@ public static IList Clone(this IList listToClone, bool resetId) where T /// The list to be cloned. /// Specifies whether to reset the ID for each cloned item. /// A new list containing cloned copies of the elements from the original list. Returns null if the original list is null. - public static IList Clone(this List listToClone, bool resetId) where T : ICloneable + public static List Clone(this List listToClone, bool resetId) where T : ICloneable { if (listToClone == null) { diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index 9f6b2b3f..0c0ca47f 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -98,17 +98,17 @@ public sealed class CustomField : IdentifiableName, IEquatable /// /// /// - public IList PossibleValues { get; internal set; } + public List PossibleValues { get; internal set; } /// /// /// - public IList Trackers { get; internal set; } + public List Trackers { get; internal set; } /// /// /// - public IList Roles { get; internal set; } + public List Roles { get; internal set; } #endregion #region Implementation of IXmlSerializable diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 3a9fd9e1..8d3d01d1 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -55,19 +55,19 @@ public Group(string name) /// /// Represents the group's users. /// - public IList Users { get; set; } + public List Users { get; set; } /// /// Gets or sets the custom fields. /// /// The custom fields. - public IList CustomFields { get; internal set; } + public List CustomFields { get; internal set; } /// /// Gets or sets the custom fields. /// /// The custom fields. - public IList Memberships { get; internal set; } + public List Memberships { get; internal set; } #endregion #region Implementation of IXmlSerializable diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index e6720191..1298f214 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -137,7 +137,7 @@ public sealed class Issue : /// Gets or sets the custom fields. /// /// The custom fields. - public IList CustomFields { get; set; } + public List CustomFields { get; set; } /// /// Gets or sets the created on. @@ -212,7 +212,7 @@ public sealed class Issue : /// /// The journals. /// - public IList Journals { get; set; } + public List Journals { get; set; } /// /// Gets or sets the change sets. @@ -220,7 +220,7 @@ public sealed class Issue : /// /// The change sets. /// - public IList ChangeSets { get; set; } + public List ChangeSets { get; set; } /// /// Gets or sets the attachments. @@ -228,7 +228,7 @@ public sealed class Issue : /// /// The attachments. /// - public IList Attachments { get; set; } + public List Attachments { get; set; } /// /// Gets or sets the issue relations. @@ -236,7 +236,7 @@ public sealed class Issue : /// /// The issue relations. /// - public IList Relations { get; set; } + public List Relations { get; set; } /// /// Gets or sets the issue children. @@ -245,7 +245,7 @@ public sealed class Issue : /// The issue children. /// NOTE: Only Id, tracker and subject are filled. /// - public IList Children { get; set; } + public List Children { get; set; } /// /// Gets or sets the attachments. @@ -253,12 +253,12 @@ public sealed class Issue : /// /// The attachment. /// - public IList Uploads { get; set; } + public List Uploads { get; set; } /// /// /// - public IList Watchers { get; set; } + public List Watchers { get; set; } /// /// diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index a357cb57..0333e832 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -44,7 +44,7 @@ public sealed class IssueCustomField : /// Gets or sets the value. /// /// The value. - public IList Values { get; set; } + public List Values { get; set; } /// /// diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index f3f989e0..916967a1 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -83,7 +83,7 @@ public sealed class Journal : /// /// The details. /// - public IList Details { get; internal set; } + public List Details { get; internal set; } /// /// diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index 9496a1c5..d03fa95f 100644 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -53,7 +53,7 @@ public sealed class Membership : Identifiable /// Gets or sets the type. /// /// The type. - public IList Roles { get; internal set; } + public List Roles { get; internal set; } #endregion #region Implementation of IXmlSerialization diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 4ac93f9b..5ff1f11f 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -108,7 +108,7 @@ public sealed class Project : IdentifiableName, IEquatable /// The trackers. /// /// Available in Redmine starting with 2.6.0 version. - public IList Trackers { get; set; } + public List Trackers { get; set; } /// /// Gets or sets the enabled modules. @@ -117,7 +117,7 @@ public sealed class Project : IdentifiableName, IEquatable /// The enabled modules. /// /// Available in Redmine starting with 2.6.0 version. - public IList EnabledModules { get; set; } + public List EnabledModules { get; set; } /// /// @@ -136,13 +136,13 @@ public sealed class Project : IdentifiableName, IEquatable /// The issue categories. /// /// Available in Redmine starting with the 2.6.0 version. - public IList IssueCategories { get; internal set; } + public List IssueCategories { get; internal set; } /// /// Gets the time entry activities. /// /// Available in Redmine starting with the 3.4.0 version. - public IList TimeEntryActivities { get; internal set; } + public List TimeEntryActivities { get; internal set; } /// /// diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index 6e835b15..8528a7de 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -68,7 +68,7 @@ public sealed class ProjectMembership : Identifiable /// Gets or sets the type. /// /// The type. - public IList Roles { get; set; } + public List Roles { get; set; } #endregion #region Implementation of IXmlSerialization diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index 3d5903ba..62a3ec29 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -41,7 +41,7 @@ public sealed class Role : IdentifiableName, IEquatable /// /// The issue relations. /// - public IList Permissions { get; internal set; } + public List Permissions { get; internal set; } /// /// diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index b4fcb3ad..f3580a49 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -106,7 +106,7 @@ public string Comments /// Gets or sets the custom fields. /// /// The custom fields. - public IList CustomFields { get; set; } + public List CustomFields { get; set; } #endregion #region Implementation of IXmlSerialization diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 588c81f1..4d6f9ac0 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -98,7 +98,7 @@ public sealed class Version : IdentifiableName, IEquatable /// Gets the custom fields. /// /// The custom fields. - public IList CustomFields { get; internal set; } + public List CustomFields { get; internal set; } #endregion #region Implementation of IXmlSerializable diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index 75d64466..2b9f35e9 100644 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -85,7 +85,7 @@ public sealed class WikiPage : Identifiable /// /// The attachments. /// - public IList Attachments { get; set; } + public List Attachments { get; set; } /// /// Sets the uploads. @@ -94,7 +94,7 @@ public sealed class WikiPage : Identifiable /// The uploads. /// /// Availability starting with redmine version 3.3 - public IList Uploads { get; set; } + public List Uploads { get; set; } #endregion #region Implementation of IXmlSerializable diff --git a/tests/redmine-net-api.Integration.Tests/Helpers/RandomHelper.cs b/tests/redmine-net-api.Integration.Tests/Helpers/RandomHelper.cs index 822a7984..ff4923b5 100644 --- a/tests/redmine-net-api.Integration.Tests/Helpers/RandomHelper.cs +++ b/tests/redmine-net-api.Integration.Tests/Helpers/RandomHelper.cs @@ -202,7 +202,7 @@ public static string GenerateFullName(int firstNameLength = 6, int lastNameLengt } // Fisher-Yates shuffle algorithm - public static void Shuffle(this IList list) + public static void Shuffle(this List list) { var n = list.Count; var random = ThreadRandom.Value; From 67451e48d03b2d1a116ffdecd6e135732a74b1cf Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 17:46:58 +0300 Subject: [PATCH 588/601] Fix tests --- .../redmine-net-api.Tests/Tests/HostTests.cs | 1 - .../Tests/RedmineApiUrlsTests.cs | 390 +++++++----------- 2 files changed, 147 insertions(+), 244 deletions(-) diff --git a/tests/redmine-net-api.Tests/Tests/HostTests.cs b/tests/redmine-net-api.Tests/Tests/HostTests.cs index d2b64bfc..dd4459bb 100644 --- a/tests/redmine-net-api.Tests/Tests/HostTests.cs +++ b/tests/redmine-net-api.Tests/Tests/HostTests.cs @@ -13,7 +13,6 @@ public sealed class HostTests [InlineData(null)] [InlineData("")] [InlineData(" ")] - [InlineData("string.Empty")] [InlineData("localhost")] [InlineData("http://")] [InlineData("")] diff --git a/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs b/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs index 6096164c..8f030881 100644 --- a/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs +++ b/tests/redmine-net-api.Tests/Tests/RedmineApiUrlsTests.cs @@ -14,62 +14,33 @@ namespace Padi.DotNet.RedmineAPI.Tests.Tests; public class RedmineApiUrlsTests(RedmineApiUrlsFixture fixture) : IClassFixture { + private string GetUriWithFormat(string path) + { + return string.Format(path, fixture.Format); + } + [Fact] public void MyAccount_ReturnsCorrectUrl() { var result = fixture.Sut.MyAccount(); - Assert.Equal("my/account.json", result); - } - - [Theory] - [MemberData(nameof(ProjectOperationsData))] - public void ProjectOperations_ReturnsCorrectUrl(string projectId, Func operation, string expected) - { - var result = operation(projectId); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat("my/account.{0}"), result); } [Theory] - [MemberData(nameof(WikiOperationsData))] - public void WikiOperations_ReturnsCorrectUrl(string projectId, string pageName, Func operation, string expected) - { - var result = operation(projectId, pageName); - Assert.Equal(expected, result); - } - - [Theory] - [InlineData("123", "456", "issues/123/watchers/456.json")] + [InlineData("123", "456", "issues/123/watchers/456.{0}")] public void IssueWatcherRemove_WithValidIds_ReturnsCorrectUrl(string issueId, string userId, string expected) { var result = fixture.Sut.IssueWatcherRemove(issueId, userId); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Theory] - [InlineData(null, "456")] - [InlineData("123", null)] - [InlineData("", "456")] - [InlineData("123", "")] - public void IssueWatcherRemove_WithInvalidIds_ThrowsRedmineException(string issueId, string userId) - { - Assert.Throws(() => fixture.Sut.IssueWatcherRemove(issueId, userId)); - } - - [Theory] - [MemberData(nameof(AttachmentOperationsData))] - public void AttachmentOperations_WithValidInput_ReturnsCorrectUrl(string input, Func operation, string expected) - { - var result = operation(input); - Assert.Equal(expected, result); - } - - [Theory] - [InlineData("test.txt", "uploads.json?filename=test.txt")] - [InlineData("file with spaces.pdf", "uploads.json?filename=file%20with%20spaces.pdf")] + [InlineData("test.txt", "uploads.{0}?filename=test.txt")] + [InlineData("file with spaces.pdf", "uploads.{0}?filename=file%20with%20spaces.pdf")] public void UploadFragment_WithFileName_ReturnsCorrectlyEncodedUrl(string fileName, string expected) { var result = fixture.Sut.UploadFragment(fileName); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Theory] @@ -77,9 +48,9 @@ public void UploadFragment_WithFileName_ReturnsCorrectlyEncodedUrl(string fileNa [InlineData("project1", "issue_categories")] public void ProjectParentFragment_ForDifferentTypes_ReturnsCorrectUrl(string projectId, string fragment) { - var expected = $"projects/{projectId}/{fragment}.json"; + var expected = $"projects/{projectId}/{fragment}.{{0}}"; var result = fixture.Sut.ProjectParentFragment(projectId, fragment); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Theory] @@ -87,9 +58,9 @@ public void ProjectParentFragment_ForDifferentTypes_ReturnsCorrectUrl(string pro [InlineData("issue1", "watchers")] public void IssueParentFragment_ForDifferentTypes_ReturnsCorrectUrl(string issueId, string fragment) { - var expected = $"issues/{issueId}/{fragment}.json"; + var expected = $"issues/{issueId}/{fragment}.{{0}}"; var result = fixture.Sut.IssueParentFragment(issueId, fragment); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Theory] @@ -97,7 +68,7 @@ public void IssueParentFragment_ForDifferentTypes_ReturnsCorrectUrl(string issue public void GetFragment_ForAllTypes_ReturnsCorrectUrl(Type type, string id, string expected) { var result = fixture.Sut.GetFragment(type, id); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Theory] @@ -105,7 +76,7 @@ public void GetFragment_ForAllTypes_ReturnsCorrectUrl(Type type, string id, stri public void CreateEntity_ForAllTypes_ReturnsCorrectUrl(Type type, string ownerId, string expected) { var result = fixture.Sut.CreateEntityFragment(type, ownerId); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Theory] @@ -113,7 +84,7 @@ public void CreateEntity_ForAllTypes_ReturnsCorrectUrl(Type type, string ownerId public void GetList_ForAllTypes_ReturnsCorrectUrl(Type type, string ownerId, string expected) { var result = fixture.Sut.GetListFragment(type, ownerId); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Theory] @@ -137,7 +108,7 @@ public void GetListFragment_WithIssueIdInRequestOptions_ReturnsCorrectUrl(Type t }; var result = fixture.Sut.GetListFragment(type, requestOptions); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Theory] @@ -153,7 +124,7 @@ public void GetListFragment_WithProjectIdInRequestOptions_ReturnsCorrectUrl(Type }; var result = fixture.Sut.GetListFragment(type, requestOptions); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Theory] @@ -170,7 +141,7 @@ public void GetListFragment_WithBothIds_PrioritizesProjectId(Type type, string p }; var result = fixture.Sut.GetListFragment(type, requestOptions); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Theory] @@ -178,7 +149,7 @@ public void GetListFragment_WithBothIds_PrioritizesProjectId(Type type, string p public void GetListFragment_WithNoIds_ReturnsDefaultUrl(Type type, string expected) { var result = fixture.Sut.GetListFragment(type, new RequestOptions()); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Theory] @@ -186,7 +157,7 @@ public void GetListFragment_WithNoIds_ReturnsDefaultUrl(Type type, string expect public void GetListFragment_ForAllTypes_ReturnsCorrectUrl(Type type, string parentId, string expected) { var result = fixture.Sut.GetListFragment(type, parentId); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Theory] @@ -194,7 +165,7 @@ public void GetListFragment_ForAllTypes_ReturnsCorrectUrl(Type type, string pare public void GetListFragment_WithEmptyOptions_ReturnsCorrectUrl(Type type, RequestOptions requestOptions, string expected) { var result = fixture.Sut.GetListFragment(type, requestOptions); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Theory] @@ -202,7 +173,7 @@ public void GetListFragment_WithEmptyOptions_ReturnsCorrectUrl(Type type, Reques public void GetListFragment_WithNullOptions_ReturnsCorrectUrl(Type type, string parentId, string expected) { var result = fixture.Sut.GetListFragment(type, parentId); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Theory] @@ -210,7 +181,7 @@ public void GetListFragment_WithNullOptions_ReturnsCorrectUrl(Type type, string public void GetListFragment_WithNullRequestOptions_ReturnsDefaultUrl(Type type, string expected) { var result = fixture.Sut.GetListFragment(type, (RequestOptions)null); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Theory] @@ -223,7 +194,7 @@ public void GetListFragment_WithEmptyQueryString_ReturnsDefaultUrl(Type type, st }; var result = fixture.Sut.GetListFragment(type, requestOptions); - Assert.Equal(expected, result); + Assert.Equal(GetUriWithFormat(expected), result); } [Fact] @@ -240,7 +211,7 @@ public void GetListFragment_WithCustomQueryParameters_DoesNotAffectUrl() }; var result = fixture.Sut.GetListFragment(requestOptions); - Assert.Equal("issues.json", result); + Assert.Equal(GetUriWithFormat("issues.{0}"), result); } [Theory] @@ -260,13 +231,13 @@ public static TheoryData GetListWithBothIdsTestDat typeof(Version), "project1", "issue1", - "projects/project1/versions.json" + "projects/project1/versions.{0}" }, { typeof(IssueCategory), "project2", "issue2", - "projects/project2/issue_categories.json" + "projects/project2/issue_categories.{0}" } }; } @@ -275,28 +246,28 @@ public class RedmineTypeTestData : TheoryData { public RedmineTypeTestData() { - Add(null, "issues.json"); - Add(null,"projects.json"); - Add(null,"users.json"); - Add(null,"time_entries.json"); - Add(null,"custom_fields.json"); - Add(null,"groups.json"); - Add(null,"news.json"); - Add(null,"queries.json"); - Add(null,"roles.json"); - Add(null,"issue_statuses.json"); - Add(null,"trackers.json"); - Add(null,"enumerations/issue_priorities.json"); - Add(null,"enumerations/time_entry_activities.json"); - Add("1","projects/1/versions.json"); - Add("1","projects/1/issue_categories.json"); - Add("1","projects/1/memberships.json"); - Add("1","issues/1/relations.json"); - Add(null,"attachments.json"); - Add(null,"custom_fields.json"); - Add(null,"journals.json"); - Add(null,"search.json"); - Add(null,"watchers.json"); + Add(null, "issues.{0}"); + Add(null,"projects.{0}"); + Add(null,"users.{0}"); + Add(null,"time_entries.{0}"); + Add(null,"custom_fields.{0}"); + Add(null,"groups.{0}"); + Add(null,"news.{0}"); + Add(null,"queries.{0}"); + Add(null,"roles.{0}"); + Add(null,"issue_statuses.{0}"); + Add(null,"trackers.{0}"); + Add(null,"enumerations/issue_priorities.{0}"); + Add(null,"enumerations/time_entry_activities.{0}"); + Add("1","projects/1/versions.{0}"); + Add("1","projects/1/issue_categories.{0}"); + Add("1","projects/1/memberships.{0}"); + Add("1","issues/1/relations.{0}"); + Add(null,"attachments.{0}"); + Add(null,"custom_fields.{0}"); + Add(null,"journals.{0}"); + Add(null,"search.{0}"); + Add(null,"watchers.{0}"); } private void Add(string parentId, string expected) where T : class, new() @@ -309,28 +280,28 @@ public static TheoryData GetFragmentTestData() { return new TheoryData { - { typeof(Attachment), "1", "attachments/1.json" }, - { typeof(CustomField), "2", "custom_fields/2.json" }, - { typeof(Group), "3", "groups/3.json" }, - { typeof(Issue), "4", "issues/4.json" }, - { typeof(IssueCategory), "5", "issue_categories/5.json" }, - { typeof(IssueCustomField), "6", "custom_fields/6.json" }, - { typeof(IssuePriority), "7", "enumerations/issue_priorities/7.json" }, - { typeof(IssueRelation), "8", "relations/8.json" }, - { typeof(IssueStatus), "9", "issue_statuses/9.json" }, - { typeof(Journal), "10", "journals/10.json" }, - { typeof(News), "11", "news/11.json" }, - { typeof(Project), "12", "projects/12.json" }, - { typeof(ProjectMembership), "13", "memberships/13.json" }, - { typeof(Query), "14", "queries/14.json" }, - { typeof(Role), "15", "roles/15.json" }, - { typeof(Search), "16", "search/16.json" }, - { typeof(TimeEntry), "17", "time_entries/17.json" }, - { typeof(TimeEntryActivity), "18", "enumerations/time_entry_activities/18.json" }, - { typeof(Tracker), "19", "trackers/19.json" }, - { typeof(User), "20", "users/20.json" }, - { typeof(Version), "21", "versions/21.json" }, - { typeof(Watcher), "22", "watchers/22.json" } + { typeof(Attachment), "1", "attachments/1.{0}" }, + { typeof(CustomField), "2", "custom_fields/2.{0}" }, + { typeof(Group), "3", "groups/3.{0}" }, + { typeof(Issue), "4", "issues/4.{0}" }, + { typeof(IssueCategory), "5", "issue_categories/5.{0}" }, + { typeof(IssueCustomField), "6", "custom_fields/6.{0}" }, + { typeof(IssuePriority), "7", "enumerations/issue_priorities/7.{0}" }, + { typeof(IssueRelation), "8", "relations/8.{0}" }, + { typeof(IssueStatus), "9", "issue_statuses/9.{0}" }, + { typeof(Journal), "10", "journals/10.{0}" }, + { typeof(News), "11", "news/11.{0}" }, + { typeof(Project), "12", "projects/12.{0}" }, + { typeof(ProjectMembership), "13", "memberships/13.{0}" }, + { typeof(Query), "14", "queries/14.{0}" }, + { typeof(Role), "15", "roles/15.{0}" }, + { typeof(Search), "16", "search/16.{0}" }, + { typeof(TimeEntry), "17", "time_entries/17.{0}" }, + { typeof(TimeEntryActivity), "18", "enumerations/time_entry_activities/18.{0}" }, + { typeof(Tracker), "19", "trackers/19.{0}" }, + { typeof(User), "20", "users/20.{0}" }, + { typeof(Version), "21", "versions/21.{0}" }, + { typeof(Watcher), "22", "watchers/22.{0}" } }; } @@ -338,29 +309,29 @@ public static TheoryData CreateEntityTestData() { return new TheoryData { - { typeof(Version), "project1", "projects/project1/versions.json" }, - { typeof(IssueCategory), "project1", "projects/project1/issue_categories.json" }, - { typeof(ProjectMembership), "project1", "projects/project1/memberships.json" }, + { typeof(Version), "project1", "projects/project1/versions.{0}" }, + { typeof(IssueCategory), "project1", "projects/project1/issue_categories.{0}" }, + { typeof(ProjectMembership), "project1", "projects/project1/memberships.{0}" }, - { typeof(IssueRelation), "issue1", "issues/issue1/relations.json" }, + { typeof(IssueRelation), "issue1", "issues/issue1/relations.{0}" }, - { typeof(File), "project1", "projects/project1/files.json" }, - { typeof(Upload), null, "uploads.json" }, - { typeof(Attachment), "issue1", "/attachments/issues/issue1.json" }, + { typeof(File), "project1", "projects/project1/files.{0}" }, + { typeof(Upload), null, "uploads.{0}" }, + { typeof(Attachment), "issue1", "/attachments/issues/issue1.{0}" }, - { typeof(Issue), null, "issues.json" }, - { typeof(Project), null, "projects.json" }, - { typeof(User), null, "users.json" }, - { typeof(TimeEntry), null, "time_entries.json" }, - { typeof(News), null, "news.json" }, - { typeof(Query), null, "queries.json" }, - { typeof(Role), null, "roles.json" }, - { typeof(Group), null, "groups.json" }, - { typeof(CustomField), null, "custom_fields.json" }, - { typeof(IssueStatus), null, "issue_statuses.json" }, - { typeof(Tracker), null, "trackers.json" }, - { typeof(IssuePriority), null, "enumerations/issue_priorities.json" }, - { typeof(TimeEntryActivity), null, "enumerations/time_entry_activities.json" } + { typeof(Issue), null, "issues.{0}" }, + { typeof(Project), null, "projects.{0}" }, + { typeof(User), null, "users.{0}" }, + { typeof(TimeEntry), null, "time_entries.{0}" }, + { typeof(News), null, "news.{0}" }, + { typeof(Query), null, "queries.{0}" }, + { typeof(Role), null, "roles.{0}" }, + { typeof(Group), null, "groups.{0}" }, + { typeof(CustomField), null, "custom_fields.{0}" }, + { typeof(IssueStatus), null, "issue_statuses.{0}" }, + { typeof(Tracker), null, "trackers.{0}" }, + { typeof(IssuePriority), null, "enumerations/issue_priorities.{0}" }, + { typeof(TimeEntryActivity), null, "enumerations/time_entry_activities.{0}" } }; } @@ -382,28 +353,28 @@ public static TheoryData GetListEntityRequestOptio }; return new TheoryData { - { typeof(Version), rqWithProjectId, "projects/project1/versions.json" }, - { typeof(IssueCategory), rqWithProjectId, "projects/project1/issue_categories.json" }, - { typeof(ProjectMembership), rqWithProjectId, "projects/project1/memberships.json" }, + { typeof(Version), rqWithProjectId, "projects/project1/versions.{0}" }, + { typeof(IssueCategory), rqWithProjectId, "projects/project1/issue_categories.{0}" }, + { typeof(ProjectMembership), rqWithProjectId, "projects/project1/memberships.{0}" }, - { typeof(IssueRelation), rqWithPIssueId, "issues/issue1/relations.json" }, + { typeof(IssueRelation), rqWithPIssueId, "issues/issue1/relations.{0}" }, - { typeof(File), rqWithProjectId, "projects/project1/files.json" }, - { typeof(Attachment), rqWithPIssueId, "attachments.json" }, + { typeof(File), rqWithProjectId, "projects/project1/files.{0}" }, + { typeof(Attachment), rqWithPIssueId, "attachments.{0}" }, - { typeof(Issue), null, "issues.json" }, - { typeof(Project), null, "projects.json" }, - { typeof(User), null, "users.json" }, - { typeof(TimeEntry), null, "time_entries.json" }, - { typeof(News), null, "news.json" }, - { typeof(Query), null, "queries.json" }, - { typeof(Role), null, "roles.json" }, - { typeof(Group), null, "groups.json" }, - { typeof(CustomField), null, "custom_fields.json" }, - { typeof(IssueStatus), null, "issue_statuses.json" }, - { typeof(Tracker), null, "trackers.json" }, - { typeof(IssuePriority), null, "enumerations/issue_priorities.json" }, - { typeof(TimeEntryActivity), null, "enumerations/time_entry_activities.json" } + { typeof(Issue), null, "issues.{0}" }, + { typeof(Project), null, "projects.{0}" }, + { typeof(User), null, "users.{0}" }, + { typeof(TimeEntry), null, "time_entries.{0}" }, + { typeof(News), null, "news.{0}" }, + { typeof(Query), null, "queries.{0}" }, + { typeof(Role), null, "roles.{0}" }, + { typeof(Group), null, "groups.{0}" }, + { typeof(CustomField), null, "custom_fields.{0}" }, + { typeof(IssueStatus), null, "issue_statuses.{0}" }, + { typeof(Tracker), null, "trackers.{0}" }, + { typeof(IssuePriority), null, "enumerations/issue_priorities.{0}" }, + { typeof(TimeEntryActivity), null, "enumerations/time_entry_activities.{0}" } }; } @@ -411,27 +382,27 @@ public static TheoryData GetListTestData() { return new TheoryData { - { typeof(Version), "project1", "projects/project1/versions.json" }, - { typeof(IssueCategory), "project1", "projects/project1/issue_categories.json" }, - { typeof(ProjectMembership), "project1", "projects/project1/memberships.json" }, + { typeof(Version), "project1", "projects/project1/versions.{0}" }, + { typeof(IssueCategory), "project1", "projects/project1/issue_categories.{0}" }, + { typeof(ProjectMembership), "project1", "projects/project1/memberships.{0}" }, - { typeof(IssueRelation), "issue1", "issues/issue1/relations.json" }, + { typeof(IssueRelation), "issue1", "issues/issue1/relations.{0}" }, - { typeof(File), "project1", "projects/project1/files.json" }, + { typeof(File), "project1", "projects/project1/files.{0}" }, - { typeof(Issue), null, "issues.json" }, - { typeof(Project), null, "projects.json" }, - { typeof(User), null, "users.json" }, - { typeof(TimeEntry), null, "time_entries.json" }, - { typeof(News), null, "news.json" }, - { typeof(Query), null, "queries.json" }, - { typeof(Role), null, "roles.json" }, - { typeof(Group), null, "groups.json" }, - { typeof(CustomField), null, "custom_fields.json" }, - { typeof(IssueStatus), null, "issue_statuses.json" }, - { typeof(Tracker), null, "trackers.json" }, - { typeof(IssuePriority), null, "enumerations/issue_priorities.json" }, - { typeof(TimeEntryActivity), null, "enumerations/time_entry_activities.json" } + { typeof(Issue), null, "issues.{0}" }, + { typeof(Project), null, "projects.{0}" }, + { typeof(User), null, "users.{0}" }, + { typeof(TimeEntry), null, "time_entries.{0}" }, + { typeof(News), null, "news.{0}" }, + { typeof(Query), null, "queries.{0}" }, + { typeof(Role), null, "roles.{0}" }, + { typeof(Group), null, "groups.{0}" }, + { typeof(CustomField), null, "custom_fields.{0}" }, + { typeof(IssueStatus), null, "issue_statuses.{0}" }, + { typeof(Tracker), null, "trackers.{0}" }, + { typeof(IssuePriority), null, "enumerations/issue_priorities.{0}" }, + { typeof(TimeEntryActivity), null, "enumerations/time_entry_activities.{0}" } }; } @@ -439,7 +410,7 @@ public static TheoryData GetListWithIssueIdTestData() { return new TheoryData { - { typeof(IssueRelation), "issue1", "issues/issue1/relations.json" }, + { typeof(IssueRelation), "issue1", "issues/issue1/relations.{0}" }, }; } @@ -447,10 +418,10 @@ public static TheoryData GetListWithProjectIdTestData() { return new TheoryData { - { typeof(Version), "1", "projects/1/versions.json" }, - { typeof(IssueCategory), "1", "projects/1/issue_categories.json" }, - { typeof(ProjectMembership), "1", "projects/1/memberships.json" }, - { typeof(File), "1", "projects/1/files.json" }, + { typeof(Version), "1", "projects/1/versions.{0}" }, + { typeof(IssueCategory), "1", "projects/1/issue_categories.{0}" }, + { typeof(ProjectMembership), "1", "projects/1/memberships.{0}" }, + { typeof(File), "1", "projects/1/files.{0}" }, }; } @@ -458,9 +429,9 @@ public static TheoryData GetListWithNullRequestOptionsTestData() { return new TheoryData { - { typeof(Issue), "issues.json" }, - { typeof(Project), "projects.json" }, - { typeof(User), "users.json" } + { typeof(Issue), "issues.{0}" }, + { typeof(Project), "projects.{0}" }, + { typeof(User), "users.{0}" } }; } @@ -468,9 +439,9 @@ public static TheoryData GetListWithEmptyQueryStringTestData() { return new TheoryData { - { typeof(Issue), "issues.json" }, - { typeof(Project), "projects.json" }, - { typeof(User), "users.json" } + { typeof(Issue), "issues.{0}" }, + { typeof(Project), "projects.{0}" }, + { typeof(User), "users.{0}" } }; } @@ -489,11 +460,11 @@ public static TheoryData GetListWithNoIdsTestData() { return new TheoryData { - { typeof(Issue), "issues.json" }, - { typeof(Project), "projects.json" }, - { typeof(User), "users.json" }, - { typeof(TimeEntry), "time_entries.json" }, - { typeof(CustomField), "custom_fields.json" } + { typeof(Issue), "issues.{0}" }, + { typeof(Project), "projects.{0}" }, + { typeof(User), "users.{0}" }, + { typeof(TimeEntry), "time_entries.{0}" }, + { typeof(CustomField), "custom_fields.{0}" } }; } @@ -505,71 +476,4 @@ public static TheoryData InvalidTypeTestData() typeof(int) ]; } - - public static TheoryData, string> AttachmentOperationsData() - { - var fixture = new RedmineApiUrlsFixture(); - return new TheoryData, string> - { - { - "123", - id => fixture.Sut.AttachmentUpdate(id), - "attachments/issues/123.json" - }, - { - "456", - id => fixture.Sut.IssueWatcherAdd(id), - "issues/456/watchers.json" - } - }; - } - - public static TheoryData, string> ProjectOperationsData() - { - var fixture = new RedmineApiUrlsFixture(); - return new TheoryData, string> - { - { - "test-project", - id => fixture.Sut.ProjectClose(id), - "projects/test-project/close.json" - }, - { - "test-project", - id => fixture.Sut.ProjectReopen(id), - "projects/test-project/reopen.json" - }, - { - "test-project", - id => fixture.Sut.ProjectArchive(id), - "projects/test-project/archive.json" - }, - { - "test-project", - id => fixture.Sut.ProjectUnarchive(id), - "projects/test-project/unarchive.json" - } - }; - } - - public static TheoryData, string> WikiOperationsData() - { - var fixture = new RedmineApiUrlsFixture(); - return new TheoryData, string> - { - { - "project1", - "page1", - (id, page) => fixture.Sut.ProjectWikiPage(id, page), - "projects/project1/wiki/page1.json" - }, - { - "project1", - "page1", - (id, page) => fixture.Sut.ProjectWikiPageCreate(id, page), - "projects/project1/wiki/page1.json" - } - }; - } - } \ No newline at end of file From e23721f6b02048e7950cf1f7c284a4dd497dab11 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 18:26:07 +0300 Subject: [PATCH 589/601] Remove unused namespaces --- src/redmine-net-api/Extensions/EnumExtensions.cs | 1 - .../Http/Clients/WebClient/InternalRedmineApiWebClient.cs | 1 - .../Http/Clients/WebClient/RedmineWebClientOptions.cs | 1 - src/redmine-net-api/Http/Clients/WebClient/WebClientProvider.cs | 2 -- .../Http/Extensions/NameValueCollectionExtensions.cs | 1 - src/redmine-net-api/Http/IRedmineApiClient.cs | 2 -- src/redmine-net-api/Http/IRedmineApiClientOptions.cs | 1 - src/redmine-net-api/Http/RedmineApiClient.cs | 2 -- src/redmine-net-api/Http/RedmineApiClientOptions.cs | 1 - src/redmine-net-api/SearchFilterBuilder.cs | 1 - src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs | 1 - src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs | 2 -- src/redmine-net-api/Types/Attachment.cs | 1 - src/redmine-net-api/Types/Attachments.cs | 2 -- src/redmine-net-api/Types/ChangeSet.cs | 2 -- src/redmine-net-api/Types/CustomFieldPossibleValue.cs | 1 - src/redmine-net-api/Types/CustomFieldValue.cs | 1 - src/redmine-net-api/Types/Detail.cs | 1 - src/redmine-net-api/Types/Error.cs | 1 - src/redmine-net-api/Types/File.cs | 1 - src/redmine-net-api/Types/Group.cs | 1 - src/redmine-net-api/Types/GroupUser.cs | 1 - src/redmine-net-api/Types/Identifiable.cs | 1 - src/redmine-net-api/Types/IdentifiableName.cs | 1 - src/redmine-net-api/Types/Issue.cs | 1 - src/redmine-net-api/Types/IssueCategory.cs | 1 - src/redmine-net-api/Types/IssueRelation.cs | 1 - src/redmine-net-api/Types/MembershipRole.cs | 1 - src/redmine-net-api/Types/MyAccount.cs | 1 - src/redmine-net-api/Types/News.cs | 1 - src/redmine-net-api/Types/Permission.cs | 1 - src/redmine-net-api/Types/Project.cs | 1 - src/redmine-net-api/Types/ProjectMembership.cs | 1 - src/redmine-net-api/Types/ProjectTracker.cs | 1 - src/redmine-net-api/Types/Search.cs | 1 - src/redmine-net-api/Types/TimeEntry.cs | 1 - src/redmine-net-api/Types/TrackerCoreField.cs | 1 - src/redmine-net-api/Types/Upload.cs | 2 -- src/redmine-net-api/Types/Version.cs | 1 - src/redmine-net-api/Types/Watcher.cs | 1 - src/redmine-net-api/Types/WikiPage.cs | 1 - 41 files changed, 48 deletions(-) diff --git a/src/redmine-net-api/Extensions/EnumExtensions.cs b/src/redmine-net-api/Extensions/EnumExtensions.cs index 60b6499e..848fdc2e 100644 --- a/src/redmine-net-api/Extensions/EnumExtensions.cs +++ b/src/redmine-net-api/Extensions/EnumExtensions.cs @@ -1,4 +1,3 @@ -using System; using Redmine.Net.Api.Authentication; using Redmine.Net.Api.Types; diff --git a/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs index f08e3474..775b7bed 100644 --- a/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs +++ b/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs @@ -17,7 +17,6 @@ limitations under the License. using System; using System.Collections.Specialized; using System.Globalization; -using System.IO; using System.Net; using System.Text; using Redmine.Net.Api.Authentication; diff --git a/src/redmine-net-api/Http/Clients/WebClient/RedmineWebClientOptions.cs b/src/redmine-net-api/Http/Clients/WebClient/RedmineWebClientOptions.cs index 013d5a82..65291f8e 100644 --- a/src/redmine-net-api/Http/Clients/WebClient/RedmineWebClientOptions.cs +++ b/src/redmine-net-api/Http/Clients/WebClient/RedmineWebClientOptions.cs @@ -18,7 +18,6 @@ limitations under the License. #if (NET45_OR_GREATER || NET) using System.Net.Security; #endif -using System.Security.Cryptography.X509Certificates; namespace Redmine.Net.Api.Http.Clients.WebClient; /// diff --git a/src/redmine-net-api/Http/Clients/WebClient/WebClientProvider.cs b/src/redmine-net-api/Http/Clients/WebClient/WebClientProvider.cs index ff8c664b..10af757d 100644 --- a/src/redmine-net-api/Http/Clients/WebClient/WebClientProvider.cs +++ b/src/redmine-net-api/Http/Clients/WebClient/WebClientProvider.cs @@ -1,5 +1,3 @@ -using System; -using System.Net; using System.Text; using Redmine.Net.Api.Options; diff --git a/src/redmine-net-api/Http/Extensions/NameValueCollectionExtensions.cs b/src/redmine-net-api/Http/Extensions/NameValueCollectionExtensions.cs index 3cf95a1d..5199775f 100644 --- a/src/redmine-net-api/Http/Extensions/NameValueCollectionExtensions.cs +++ b/src/redmine-net-api/Http/Extensions/NameValueCollectionExtensions.cs @@ -14,7 +14,6 @@ You may obtain a copy of the License at limitations under the License. */ -using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Globalization; diff --git a/src/redmine-net-api/Http/IRedmineApiClient.cs b/src/redmine-net-api/Http/IRedmineApiClient.cs index 203d9599..ed3b23c9 100644 --- a/src/redmine-net-api/Http/IRedmineApiClient.cs +++ b/src/redmine-net-api/Http/IRedmineApiClient.cs @@ -20,8 +20,6 @@ limitations under the License. using System.Threading; using System.Threading.Tasks; #endif -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Net.Internal; namespace Redmine.Net.Api.Http; /// diff --git a/src/redmine-net-api/Http/IRedmineApiClientOptions.cs b/src/redmine-net-api/Http/IRedmineApiClientOptions.cs index 44089261..df00aaef 100644 --- a/src/redmine-net-api/Http/IRedmineApiClientOptions.cs +++ b/src/redmine-net-api/Http/IRedmineApiClientOptions.cs @@ -18,7 +18,6 @@ limitations under the License. using System.Collections.Generic; using System.Net; using System.Net.Cache; -using System.Net.Security; using System.Security.Cryptography.X509Certificates; namespace Redmine.Net.Api.Http diff --git a/src/redmine-net-api/Http/RedmineApiClient.cs b/src/redmine-net-api/Http/RedmineApiClient.cs index c105e59e..0f2889e4 100644 --- a/src/redmine-net-api/Http/RedmineApiClient.cs +++ b/src/redmine-net-api/Http/RedmineApiClient.cs @@ -2,8 +2,6 @@ using Redmine.Net.Api.Authentication; using Redmine.Net.Api.Http.Constants; using Redmine.Net.Api.Http.Messages; -using Redmine.Net.Api.Net; -using Redmine.Net.Api.Net.Internal; using Redmine.Net.Api.Options; using Redmine.Net.Api.Serialization; diff --git a/src/redmine-net-api/Http/RedmineApiClientOptions.cs b/src/redmine-net-api/Http/RedmineApiClientOptions.cs index 1cf7f6cc..7aa7f4e0 100644 --- a/src/redmine-net-api/Http/RedmineApiClientOptions.cs +++ b/src/redmine-net-api/Http/RedmineApiClientOptions.cs @@ -5,7 +5,6 @@ #if NET || NET471_OR_GREATER using System.Net.Http; #endif -using System.Net.Security; using System.Security.Cryptography.X509Certificates; namespace Redmine.Net.Api.Http; diff --git a/src/redmine-net-api/SearchFilterBuilder.cs b/src/redmine-net-api/SearchFilterBuilder.cs index 9b2b8c9c..8f376aa6 100644 --- a/src/redmine-net-api/SearchFilterBuilder.cs +++ b/src/redmine-net-api/SearchFilterBuilder.cs @@ -16,7 +16,6 @@ limitations under the License. using System; using System.Collections.Specialized; -using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Http.Extensions; namespace Redmine.Net.Api diff --git a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs index cd078537..bbc2c488 100644 --- a/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Json/JsonRedmineSerializer.cs @@ -21,7 +21,6 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Common; using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Serialization.Json.Extensions; namespace Redmine.Net.Api.Serialization.Json diff --git a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs index e86111df..266c14b0 100644 --- a/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs +++ b/src/redmine-net-api/Serialization/Xml/XmlRedmineSerializer.cs @@ -20,8 +20,6 @@ limitations under the License. using System.Xml.Serialization; using Redmine.Net.Api.Common; using Redmine.Net.Api.Exceptions; -using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Internals; using Redmine.Net.Api.Serialization.Xml.Extensions; namespace Redmine.Net.Api.Serialization.Xml diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index 56afc0c5..a57f4dfa 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -21,7 +21,6 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Json.Extensions; using Redmine.Net.Api.Serialization.Xml.Extensions; diff --git a/src/redmine-net-api/Types/Attachments.cs b/src/redmine-net-api/Types/Attachments.cs index c475d531..15b5e68f 100644 --- a/src/redmine-net-api/Types/Attachments.cs +++ b/src/redmine-net-api/Types/Attachments.cs @@ -15,10 +15,8 @@ limitations under the License. */ using System.Collections.Generic; -using System.Globalization; using Newtonsoft.Json; using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs index adfff4fb..1ea9e906 100644 --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -21,9 +21,7 @@ limitations under the License. using System.Xml.Schema; using System.Xml.Serialization; using Newtonsoft.Json; -using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Xml.Extensions; diff --git a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs index 56edabd7..2e3f6318 100644 --- a/src/redmine-net-api/Types/CustomFieldPossibleValue.cs +++ b/src/redmine-net-api/Types/CustomFieldPossibleValue.cs @@ -21,7 +21,6 @@ limitations under the License. using System.Xml.Serialization; using Newtonsoft.Json; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index 1dacf6b8..c7f4995e 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -21,7 +21,6 @@ limitations under the License. using System.Xml.Serialization; using Newtonsoft.Json; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs index 4f69af20..3a3f89ba 100644 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -21,7 +21,6 @@ limitations under the License. using System.Xml.Serialization; using Newtonsoft.Json; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types diff --git a/src/redmine-net-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs index f8632707..45b82e26 100644 --- a/src/redmine-net-api/Types/Error.cs +++ b/src/redmine-net-api/Types/Error.cs @@ -21,7 +21,6 @@ limitations under the License. using System.Xml.Serialization; using Newtonsoft.Json; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types diff --git a/src/redmine-net-api/Types/File.cs b/src/redmine-net-api/Types/File.cs index 491f41d9..5b9efe39 100644 --- a/src/redmine-net-api/Types/File.cs +++ b/src/redmine-net-api/Types/File.cs @@ -23,7 +23,6 @@ limitations under the License. using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Json.Extensions; using Redmine.Net.Api.Serialization.Xml.Extensions; diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 8d3d01d1..8209e3b3 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -23,7 +23,6 @@ limitations under the License. using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Json.Extensions; using Redmine.Net.Api.Serialization.Xml.Extensions; diff --git a/src/redmine-net-api/Types/GroupUser.cs b/src/redmine-net-api/Types/GroupUser.cs index 4264f82d..0151058b 100644 --- a/src/redmine-net-api/Types/GroupUser.cs +++ b/src/redmine-net-api/Types/GroupUser.cs @@ -15,7 +15,6 @@ limitations under the License. */ using System.Diagnostics; -using System.Globalization; using System.Xml.Serialization; using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs index 42d789a7..7b48caf8 100644 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -22,7 +22,6 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index f320426f..ad0ac001 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -16,7 +16,6 @@ limitations under the License. using System; using System.Diagnostics; -using System.Globalization; using System.Xml; using Newtonsoft.Json; using Redmine.Net.Api.Extensions; diff --git a/src/redmine-net-api/Types/Issue.cs b/src/redmine-net-api/Types/Issue.cs index 1298f214..4cfbc308 100644 --- a/src/redmine-net-api/Types/Issue.cs +++ b/src/redmine-net-api/Types/Issue.cs @@ -24,7 +24,6 @@ limitations under the License. using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Json.Extensions; using Redmine.Net.Api.Serialization.Xml.Extensions; diff --git a/src/redmine-net-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs index 1dbc3ca5..b66c575f 100644 --- a/src/redmine-net-api/Types/IssueCategory.cs +++ b/src/redmine-net-api/Types/IssueCategory.cs @@ -20,7 +20,6 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Json.Extensions; using Redmine.Net.Api.Serialization.Xml.Extensions; diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index 62ddfeea..c790cabc 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -22,7 +22,6 @@ limitations under the License. using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Json.Extensions; using Redmine.Net.Api.Serialization.Xml.Extensions; diff --git a/src/redmine-net-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs index fcfab110..36a3aefd 100644 --- a/src/redmine-net-api/Types/MembershipRole.cs +++ b/src/redmine-net-api/Types/MembershipRole.cs @@ -16,7 +16,6 @@ limitations under the License. using System; using System.Diagnostics; -using System.Globalization; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; diff --git a/src/redmine-net-api/Types/MyAccount.cs b/src/redmine-net-api/Types/MyAccount.cs index 570c5d67..d325c04f 100644 --- a/src/redmine-net-api/Types/MyAccount.cs +++ b/src/redmine-net-api/Types/MyAccount.cs @@ -22,7 +22,6 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Json.Extensions; using Redmine.Net.Api.Serialization.Xml.Extensions; diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index 6e830f72..22415dc0 100644 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -22,7 +22,6 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Json.Extensions; using Redmine.Net.Api.Serialization.Xml.Extensions; diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index 7612ecef..69e14eea 100644 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -21,7 +21,6 @@ limitations under the License. using System.Xml.Serialization; using Newtonsoft.Json; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 5ff1f11f..39d9a325 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -23,7 +23,6 @@ limitations under the License. using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Json.Extensions; using Redmine.Net.Api.Serialization.Xml.Extensions; diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index 8528a7de..42ef7e5a 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -21,7 +21,6 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Json.Extensions; using Redmine.Net.Api.Serialization.Xml.Extensions; diff --git a/src/redmine-net-api/Types/ProjectTracker.cs b/src/redmine-net-api/Types/ProjectTracker.cs index e5fc918d..a3c93011 100644 --- a/src/redmine-net-api/Types/ProjectTracker.cs +++ b/src/redmine-net-api/Types/ProjectTracker.cs @@ -15,7 +15,6 @@ limitations under the License. */ using System.Diagnostics; -using System.Globalization; using System.Xml.Serialization; using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; diff --git a/src/redmine-net-api/Types/Search.cs b/src/redmine-net-api/Types/Search.cs index 0dec7001..37792323 100644 --- a/src/redmine-net-api/Types/Search.cs +++ b/src/redmine-net-api/Types/Search.cs @@ -22,7 +22,6 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Json.Extensions; using Redmine.Net.Api.Serialization.Xml.Extensions; diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index f3580a49..f02cebbf 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -23,7 +23,6 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Json.Extensions; using Redmine.Net.Api.Serialization.Xml.Extensions; diff --git a/src/redmine-net-api/Types/TrackerCoreField.cs b/src/redmine-net-api/Types/TrackerCoreField.cs index ec9e9360..aad3d8c1 100644 --- a/src/redmine-net-api/Types/TrackerCoreField.cs +++ b/src/redmine-net-api/Types/TrackerCoreField.cs @@ -5,7 +5,6 @@ using System.Xml.Serialization; using Newtonsoft.Json; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; namespace Redmine.Net.Api.Types diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index e2815836..d5efeb7e 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -20,9 +20,7 @@ limitations under the License. using System.Xml.Schema; using System.Xml.Serialization; using Newtonsoft.Json; -using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Json.Extensions; diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 4d6f9ac0..4c8c9152 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -22,7 +22,6 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Json.Extensions; using Redmine.Net.Api.Serialization.Xml.Extensions; diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index a90913c2..20d3409e 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -16,7 +16,6 @@ limitations under the License. using System; using System.Diagnostics; -using System.Globalization; using System.Xml.Serialization; using Redmine.Net.Api.Common; using Redmine.Net.Api.Extensions; diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index 2b9f35e9..566cf58f 100644 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -22,7 +22,6 @@ limitations under the License. using Newtonsoft.Json; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Internals; -using Redmine.Net.Api.Serialization; using Redmine.Net.Api.Serialization.Json; using Redmine.Net.Api.Serialization.Json.Extensions; using Redmine.Net.Api.Serialization.Xml.Extensions; From 2aa07abcf34d740bad120cdaca11cc5eb0ed4da5 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 28 May 2025 18:37:02 +0300 Subject: [PATCH 590/601] Remove redundant uncheck context --- src/redmine-net-api/IRedmineManager.cs | 2 +- src/redmine-net-api/Types/Attachment.cs | 23 ++++----- src/redmine-net-api/Types/ChangeSet.cs | 15 +++--- src/redmine-net-api/Types/CustomField.cs | 37 +++++++------- src/redmine-net-api/Types/CustomFieldValue.cs | 9 ++-- src/redmine-net-api/Types/Detail.cs | 15 +++--- src/redmine-net-api/Types/DocumentCategory.cs | 11 ++-- src/redmine-net-api/Types/Error.cs | 9 ++-- src/redmine-net-api/Types/Group.cs | 13 ++--- src/redmine-net-api/Types/Identifiable.cs | 9 ++-- src/redmine-net-api/Types/IdentifiableName.cs | 9 ++-- .../Types/IssueAllowedStatus.cs | 9 ++-- src/redmine-net-api/Types/IssueCategory.cs | 13 ++--- src/redmine-net-api/Types/IssueChild.cs | 11 ++-- src/redmine-net-api/Types/IssueCustomField.cs | 11 ++-- src/redmine-net-api/Types/IssuePriority.cs | 11 ++-- src/redmine-net-api/Types/IssueRelation.cs | 15 +++--- src/redmine-net-api/Types/Journal.cs | 21 ++++---- src/redmine-net-api/Types/Membership.cs | 15 +++--- src/redmine-net-api/Types/MembershipRole.cs | 9 ++-- src/redmine-net-api/Types/MyAccount.cs | 27 +++++----- .../Types/MyAccountCustomField.cs | 9 ++-- src/redmine-net-api/Types/News.cs | 27 +++++----- src/redmine-net-api/Types/NewsComment.cs | 13 ++--- src/redmine-net-api/Types/Permission.cs | 9 ++-- src/redmine-net-api/Types/Project.cs | 43 ++++++++-------- .../Types/ProjectMembership.cs | 15 +++--- src/redmine-net-api/Types/Query.cs | 11 ++-- src/redmine-net-api/Types/Role.cs | 17 +++---- src/redmine-net-api/Types/Search.cs | 19 +++---- src/redmine-net-api/Types/TimeEntry.cs | 27 +++++----- .../Types/TimeEntryActivity.cs | 11 ++-- src/redmine-net-api/Types/Tracker.cs | 13 ++--- src/redmine-net-api/Types/TrackerCoreField.cs | 9 ++-- src/redmine-net-api/Types/Upload.cs | 15 +++--- src/redmine-net-api/Types/User.cs | 51 +++++++++---------- src/redmine-net-api/Types/Version.cs | 29 +++++------ src/redmine-net-api/Types/Watcher.cs | 9 ++-- src/redmine-net-api/Types/WikiPage.cs | 23 ++++----- 39 files changed, 265 insertions(+), 379 deletions(-) diff --git a/src/redmine-net-api/IRedmineManager.cs b/src/redmine-net-api/IRedmineManager.cs index e7f487dc..e4830a43 100644 --- a/src/redmine-net-api/IRedmineManager.cs +++ b/src/redmine-net-api/IRedmineManager.cs @@ -26,7 +26,7 @@ namespace Redmine.Net.Api; /// /// /// -public partial interface IRedmineManager +public interface IRedmineManager { /// /// diff --git a/src/redmine-net-api/Types/Attachment.cs b/src/redmine-net-api/Types/Attachment.cs index a57f4dfa..dc36465c 100644 --- a/src/redmine-net-api/Types/Attachment.cs +++ b/src/redmine-net-api/Types/Attachment.cs @@ -219,19 +219,16 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(FileName, hashCode); - hashCode = HashCodeHelper.GetHashCode(FileSize, hashCode); - hashCode = HashCodeHelper.GetHashCode(ContentType, hashCode); - hashCode = HashCodeHelper.GetHashCode(Description, hashCode); - hashCode = HashCodeHelper.GetHashCode(ContentUrl, hashCode); - hashCode = HashCodeHelper.GetHashCode(ThumbnailUrl, hashCode); - hashCode = HashCodeHelper.GetHashCode(Author, hashCode); - hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(FileName, hashCode); + hashCode = HashCodeHelper.GetHashCode(FileSize, hashCode); + hashCode = HashCodeHelper.GetHashCode(ContentType, hashCode); + hashCode = HashCodeHelper.GetHashCode(Description, hashCode); + hashCode = HashCodeHelper.GetHashCode(ContentUrl, hashCode); + hashCode = HashCodeHelper.GetHashCode(ThumbnailUrl, hashCode); + hashCode = HashCodeHelper.GetHashCode(Author, hashCode); + hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/ChangeSet.cs b/src/redmine-net-api/Types/ChangeSet.cs index 1ea9e906..45e4ff1e 100644 --- a/src/redmine-net-api/Types/ChangeSet.cs +++ b/src/redmine-net-api/Types/ChangeSet.cs @@ -194,15 +194,12 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = 17; - hashCode = HashCodeHelper.GetHashCode(Revision, hashCode); - hashCode = HashCodeHelper.GetHashCode(User, hashCode); - hashCode = HashCodeHelper.GetHashCode(Comments, hashCode); - hashCode = HashCodeHelper.GetHashCode(CommittedOn, hashCode); - return hashCode; - } + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Revision, hashCode); + hashCode = HashCodeHelper.GetHashCode(User, hashCode); + hashCode = HashCodeHelper.GetHashCode(Comments, hashCode); + hashCode = HashCodeHelper.GetHashCode(CommittedOn, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/CustomField.cs b/src/redmine-net-api/Types/CustomField.cs index 0c0ca47f..6aeea0e8 100644 --- a/src/redmine-net-api/Types/CustomField.cs +++ b/src/redmine-net-api/Types/CustomField.cs @@ -246,26 +246,23 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(CustomizedType, hashCode); - hashCode = HashCodeHelper.GetHashCode(Description, hashCode); - hashCode = HashCodeHelper.GetHashCode(FieldFormat, hashCode); - hashCode = HashCodeHelper.GetHashCode(Regexp, hashCode); - hashCode = HashCodeHelper.GetHashCode(MinLength, hashCode); - hashCode = HashCodeHelper.GetHashCode(MaxLength, hashCode); - hashCode = HashCodeHelper.GetHashCode(IsRequired, hashCode); - hashCode = HashCodeHelper.GetHashCode(IsFilter, hashCode); - hashCode = HashCodeHelper.GetHashCode(Searchable, hashCode); - hashCode = HashCodeHelper.GetHashCode(Multiple, hashCode); - hashCode = HashCodeHelper.GetHashCode(DefaultValue, hashCode); - hashCode = HashCodeHelper.GetHashCode(Visible, hashCode); - hashCode = HashCodeHelper.GetHashCode(PossibleValues, hashCode); - hashCode = HashCodeHelper.GetHashCode(Trackers, hashCode); - hashCode = HashCodeHelper.GetHashCode(Roles, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(CustomizedType, hashCode); + hashCode = HashCodeHelper.GetHashCode(Description, hashCode); + hashCode = HashCodeHelper.GetHashCode(FieldFormat, hashCode); + hashCode = HashCodeHelper.GetHashCode(Regexp, hashCode); + hashCode = HashCodeHelper.GetHashCode(MinLength, hashCode); + hashCode = HashCodeHelper.GetHashCode(MaxLength, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsRequired, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsFilter, hashCode); + hashCode = HashCodeHelper.GetHashCode(Searchable, hashCode); + hashCode = HashCodeHelper.GetHashCode(Multiple, hashCode); + hashCode = HashCodeHelper.GetHashCode(DefaultValue, hashCode); + hashCode = HashCodeHelper.GetHashCode(Visible, hashCode); + hashCode = HashCodeHelper.GetHashCode(PossibleValues, hashCode); + hashCode = HashCodeHelper.GetHashCode(Trackers, hashCode); + hashCode = HashCodeHelper.GetHashCode(Roles, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/CustomFieldValue.cs b/src/redmine-net-api/Types/CustomFieldValue.cs index c7f4995e..eb2b20af 100644 --- a/src/redmine-net-api/Types/CustomFieldValue.cs +++ b/src/redmine-net-api/Types/CustomFieldValue.cs @@ -168,12 +168,9 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = 17; - hashCode = HashCodeHelper.GetHashCode(Info, hashCode); - return hashCode; - } + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Info, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/Detail.cs b/src/redmine-net-api/Types/Detail.cs index 3a3f89ba..45a1217c 100644 --- a/src/redmine-net-api/Types/Detail.cs +++ b/src/redmine-net-api/Types/Detail.cs @@ -212,16 +212,13 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = 17; - hashCode = HashCodeHelper.GetHashCode(Property, hashCode); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); - hashCode = HashCodeHelper.GetHashCode(OldValue, hashCode); - hashCode = HashCodeHelper.GetHashCode(NewValue, hashCode); + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Property, hashCode); + hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + hashCode = HashCodeHelper.GetHashCode(OldValue, hashCode); + hashCode = HashCodeHelper.GetHashCode(NewValue, hashCode); - return hashCode; - } + return hashCode; } /// diff --git a/src/redmine-net-api/Types/DocumentCategory.cs b/src/redmine-net-api/Types/DocumentCategory.cs index c8935cce..d43637ac 100644 --- a/src/redmine-net-api/Types/DocumentCategory.cs +++ b/src/redmine-net-api/Types/DocumentCategory.cs @@ -156,13 +156,10 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(IsDefault, hashCode); - hashCode = HashCodeHelper.GetHashCode(IsActive, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(IsDefault, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsActive, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/Error.cs b/src/redmine-net-api/Types/Error.cs index 45b82e26..2c6db1c8 100644 --- a/src/redmine-net-api/Types/Error.cs +++ b/src/redmine-net-api/Types/Error.cs @@ -141,12 +141,9 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = 17; - hashCode = HashCodeHelper.GetHashCode(Info, hashCode); - return hashCode; - } + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Info, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/Group.cs b/src/redmine-net-api/Types/Group.cs index 8209e3b3..09152356 100644 --- a/src/redmine-net-api/Types/Group.cs +++ b/src/redmine-net-api/Types/Group.cs @@ -192,14 +192,11 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Users, hashCode); - hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); - hashCode = HashCodeHelper.GetHashCode(Memberships, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Users, hashCode); + hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); + hashCode = HashCodeHelper.GetHashCode(Memberships, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/Identifiable.cs b/src/redmine-net-api/Types/Identifiable.cs index 7b48caf8..2aa8a686 100644 --- a/src/redmine-net-api/Types/Identifiable.cs +++ b/src/redmine-net-api/Types/Identifiable.cs @@ -121,12 +121,9 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = 17; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - return hashCode; - } + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/IdentifiableName.cs b/src/redmine-net-api/Types/IdentifiableName.cs index ad0ac001..04d87997 100644 --- a/src/redmine-net-api/Types/IdentifiableName.cs +++ b/src/redmine-net-api/Types/IdentifiableName.cs @@ -202,12 +202,9 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/IssueAllowedStatus.cs b/src/redmine-net-api/Types/IssueAllowedStatus.cs index 1fa60dba..14ecdb72 100644 --- a/src/redmine-net-api/Types/IssueAllowedStatus.cs +++ b/src/redmine-net-api/Types/IssueAllowedStatus.cs @@ -101,12 +101,9 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(IsClosed, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(IsClosed, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/IssueCategory.cs b/src/redmine-net-api/Types/IssueCategory.cs index b66c575f..f31a64ed 100644 --- a/src/redmine-net-api/Types/IssueCategory.cs +++ b/src/redmine-net-api/Types/IssueCategory.cs @@ -174,14 +174,11 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Project, hashCode); - hashCode = HashCodeHelper.GetHashCode(AssignTo, hashCode); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Project, hashCode); + hashCode = HashCodeHelper.GetHashCode(AssignTo, hashCode); + hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/IssueChild.cs b/src/redmine-net-api/Types/IssueChild.cs index a6e9adfe..fa903468 100644 --- a/src/redmine-net-api/Types/IssueChild.cs +++ b/src/redmine-net-api/Types/IssueChild.cs @@ -139,13 +139,10 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Tracker, hashCode); - hashCode = HashCodeHelper.GetHashCode(Subject, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Tracker, hashCode); + hashCode = HashCodeHelper.GetHashCode(Subject, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/IssueCustomField.cs b/src/redmine-net-api/Types/IssueCustomField.cs index 0333e832..e9923f79 100644 --- a/src/redmine-net-api/Types/IssueCustomField.cs +++ b/src/redmine-net-api/Types/IssueCustomField.cs @@ -241,13 +241,10 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Values, hashCode); - hashCode = HashCodeHelper.GetHashCode(Multiple, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Values, hashCode); + hashCode = HashCodeHelper.GetHashCode(Multiple, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/IssuePriority.cs b/src/redmine-net-api/Types/IssuePriority.cs index 51ac6dc3..914ffacd 100644 --- a/src/redmine-net-api/Types/IssuePriority.cs +++ b/src/redmine-net-api/Types/IssuePriority.cs @@ -140,13 +140,10 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(IsDefault, hashCode); - hashCode = HashCodeHelper.GetHashCode(IsActive, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(IsDefault, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsActive, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/IssueRelation.cs b/src/redmine-net-api/Types/IssueRelation.cs index c790cabc..9abbe720 100644 --- a/src/redmine-net-api/Types/IssueRelation.cs +++ b/src/redmine-net-api/Types/IssueRelation.cs @@ -248,15 +248,12 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(IssueId, hashCode); - hashCode = HashCodeHelper.GetHashCode(IssueToId, hashCode); - hashCode = HashCodeHelper.GetHashCode(Type, hashCode); - hashCode = HashCodeHelper.GetHashCode(Delay, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(IssueId, hashCode); + hashCode = HashCodeHelper.GetHashCode(IssueToId, hashCode); + hashCode = HashCodeHelper.GetHashCode(Type, hashCode); + hashCode = HashCodeHelper.GetHashCode(Delay, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/Journal.cs b/src/redmine-net-api/Types/Journal.cs index 916967a1..d461aac3 100644 --- a/src/redmine-net-api/Types/Journal.cs +++ b/src/redmine-net-api/Types/Journal.cs @@ -212,18 +212,15 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(User, hashCode); - hashCode = HashCodeHelper.GetHashCode(Notes, hashCode); - hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(Details, hashCode); - hashCode = HashCodeHelper.GetHashCode(PrivateNotes, hashCode); - hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(UpdatedBy, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(User, hashCode); + hashCode = HashCodeHelper.GetHashCode(Notes, hashCode); + hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(Details, hashCode); + hashCode = HashCodeHelper.GetHashCode(PrivateNotes, hashCode); + hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(UpdatedBy, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/Membership.cs b/src/redmine-net-api/Types/Membership.cs index d03fa95f..d6831787 100644 --- a/src/redmine-net-api/Types/Membership.cs +++ b/src/redmine-net-api/Types/Membership.cs @@ -150,15 +150,12 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Group, hashCode); - hashCode = HashCodeHelper.GetHashCode(Project, hashCode); - hashCode = HashCodeHelper.GetHashCode(User, hashCode); - hashCode = HashCodeHelper.GetHashCode(Roles, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Group, hashCode); + hashCode = HashCodeHelper.GetHashCode(Project, hashCode); + hashCode = HashCodeHelper.GetHashCode(User, hashCode); + hashCode = HashCodeHelper.GetHashCode(Roles, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/MembershipRole.cs b/src/redmine-net-api/Types/MembershipRole.cs index 36a3aefd..7e150a9f 100644 --- a/src/redmine-net-api/Types/MembershipRole.cs +++ b/src/redmine-net-api/Types/MembershipRole.cs @@ -139,12 +139,9 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Inherited, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Inherited, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/MyAccount.cs b/src/redmine-net-api/Types/MyAccount.cs index d325c04f..754e03f0 100644 --- a/src/redmine-net-api/Types/MyAccount.cs +++ b/src/redmine-net-api/Types/MyAccount.cs @@ -214,21 +214,18 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = 17; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(Login, hashCode); - hashCode = HashCodeHelper.GetHashCode(FirstName, hashCode); - hashCode = HashCodeHelper.GetHashCode(LastName, hashCode); - hashCode = HashCodeHelper.GetHashCode(ApiKey, hashCode); - hashCode = HashCodeHelper.GetHashCode(Email, hashCode); - hashCode = HashCodeHelper.GetHashCode(IsAdmin, hashCode); - hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(LastLoginOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); - return hashCode; - } + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + hashCode = HashCodeHelper.GetHashCode(Login, hashCode); + hashCode = HashCodeHelper.GetHashCode(FirstName, hashCode); + hashCode = HashCodeHelper.GetHashCode(LastName, hashCode); + hashCode = HashCodeHelper.GetHashCode(ApiKey, hashCode); + hashCode = HashCodeHelper.GetHashCode(Email, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsAdmin, hashCode); + hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(LastLoginOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/MyAccountCustomField.cs b/src/redmine-net-api/Types/MyAccountCustomField.cs index 3015296a..4abf9723 100644 --- a/src/redmine-net-api/Types/MyAccountCustomField.cs +++ b/src/redmine-net-api/Types/MyAccountCustomField.cs @@ -135,12 +135,9 @@ public bool Equals(MyAccountCustomField other) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Value, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Value, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/News.cs b/src/redmine-net-api/Types/News.cs index 22415dc0..b31e519c 100644 --- a/src/redmine-net-api/Types/News.cs +++ b/src/redmine-net-api/Types/News.cs @@ -237,21 +237,18 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = 17; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(Project, hashCode); - hashCode = HashCodeHelper.GetHashCode(Author, hashCode); - hashCode = HashCodeHelper.GetHashCode(Title, hashCode); - hashCode = HashCodeHelper.GetHashCode(Summary, hashCode); - hashCode = HashCodeHelper.GetHashCode(Description, hashCode); - hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(Comments, hashCode); - hashCode = HashCodeHelper.GetHashCode(Attachments, hashCode); - hashCode = HashCodeHelper.GetHashCode(Uploads, hashCode); - return hashCode; - } + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + hashCode = HashCodeHelper.GetHashCode(Project, hashCode); + hashCode = HashCodeHelper.GetHashCode(Author, hashCode); + hashCode = HashCodeHelper.GetHashCode(Title, hashCode); + hashCode = HashCodeHelper.GetHashCode(Summary, hashCode); + hashCode = HashCodeHelper.GetHashCode(Description, hashCode); + hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(Comments, hashCode); + hashCode = HashCodeHelper.GetHashCode(Attachments, hashCode); + hashCode = HashCodeHelper.GetHashCode(Uploads, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/NewsComment.cs b/src/redmine-net-api/Types/NewsComment.cs index b80953e4..aaee7ae9 100644 --- a/src/redmine-net-api/Types/NewsComment.cs +++ b/src/redmine-net-api/Types/NewsComment.cs @@ -125,15 +125,12 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = 17; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(Author, hashCode); - hashCode = HashCodeHelper.GetHashCode(Content, hashCode); + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + hashCode = HashCodeHelper.GetHashCode(Author, hashCode); + hashCode = HashCodeHelper.GetHashCode(Content, hashCode); - return hashCode; - } + return hashCode; } /// diff --git a/src/redmine-net-api/Types/Permission.cs b/src/redmine-net-api/Types/Permission.cs index 69e14eea..bf411f5e 100644 --- a/src/redmine-net-api/Types/Permission.cs +++ b/src/redmine-net-api/Types/Permission.cs @@ -120,12 +120,9 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = 17; - hashCode = HashCodeHelper.GetHashCode(Info, hashCode); - return hashCode; - } + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Info, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/Project.cs b/src/redmine-net-api/Types/Project.cs index 39d9a325..c993461a 100644 --- a/src/redmine-net-api/Types/Project.cs +++ b/src/redmine-net-api/Types/Project.cs @@ -352,29 +352,26 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Identifier, hashCode); - hashCode = HashCodeHelper.GetHashCode(Description, hashCode); - hashCode = HashCodeHelper.GetHashCode(Parent, hashCode); - hashCode = HashCodeHelper.GetHashCode(HomePage, hashCode); - hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(Status, hashCode); - hashCode = HashCodeHelper.GetHashCode(IsPublic, hashCode); - hashCode = HashCodeHelper.GetHashCode(InheritMembers, hashCode); - hashCode = HashCodeHelper.GetHashCode(Trackers, hashCode); - hashCode = HashCodeHelper.GetHashCode(IssueCustomFields, hashCode); - hashCode = HashCodeHelper.GetHashCode(CustomFieldValues, hashCode); - hashCode = HashCodeHelper.GetHashCode(IssueCategories, hashCode); - hashCode = HashCodeHelper.GetHashCode(EnabledModules, hashCode); - hashCode = HashCodeHelper.GetHashCode(TimeEntryActivities, hashCode); - hashCode = HashCodeHelper.GetHashCode(DefaultAssignee, hashCode); - hashCode = HashCodeHelper.GetHashCode(DefaultVersion, hashCode); - - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Identifier, hashCode); + hashCode = HashCodeHelper.GetHashCode(Description, hashCode); + hashCode = HashCodeHelper.GetHashCode(Parent, hashCode); + hashCode = HashCodeHelper.GetHashCode(HomePage, hashCode); + hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(Status, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsPublic, hashCode); + hashCode = HashCodeHelper.GetHashCode(InheritMembers, hashCode); + hashCode = HashCodeHelper.GetHashCode(Trackers, hashCode); + hashCode = HashCodeHelper.GetHashCode(IssueCustomFields, hashCode); + hashCode = HashCodeHelper.GetHashCode(CustomFieldValues, hashCode); + hashCode = HashCodeHelper.GetHashCode(IssueCategories, hashCode); + hashCode = HashCodeHelper.GetHashCode(EnabledModules, hashCode); + hashCode = HashCodeHelper.GetHashCode(TimeEntryActivities, hashCode); + hashCode = HashCodeHelper.GetHashCode(DefaultAssignee, hashCode); + hashCode = HashCodeHelper.GetHashCode(DefaultVersion, hashCode); + + return hashCode; } /// diff --git a/src/redmine-net-api/Types/ProjectMembership.cs b/src/redmine-net-api/Types/ProjectMembership.cs index 42ef7e5a..64b6fb0d 100644 --- a/src/redmine-net-api/Types/ProjectMembership.cs +++ b/src/redmine-net-api/Types/ProjectMembership.cs @@ -197,15 +197,12 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Project, hashCode); - hashCode = HashCodeHelper.GetHashCode(User, hashCode); - hashCode = HashCodeHelper.GetHashCode(Group, hashCode); - hashCode = HashCodeHelper.GetHashCode(Roles, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Project, hashCode); + hashCode = HashCodeHelper.GetHashCode(User, hashCode); + hashCode = HashCodeHelper.GetHashCode(Group, hashCode); + hashCode = HashCodeHelper.GetHashCode(Roles, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/Query.cs b/src/redmine-net-api/Types/Query.cs index d77f821d..97ade4da 100644 --- a/src/redmine-net-api/Types/Query.cs +++ b/src/redmine-net-api/Types/Query.cs @@ -141,13 +141,10 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(IsPublic, hashCode); - hashCode = HashCodeHelper.GetHashCode(ProjectId, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(IsPublic, hashCode); + hashCode = HashCodeHelper.GetHashCode(ProjectId, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/Role.cs b/src/redmine-net-api/Types/Role.cs index 62a3ec29..33052455 100644 --- a/src/redmine-net-api/Types/Role.cs +++ b/src/redmine-net-api/Types/Role.cs @@ -168,16 +168,13 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(IsAssignable, hashCode); - hashCode = HashCodeHelper.GetHashCode(IssuesVisibility, hashCode); - hashCode = HashCodeHelper.GetHashCode(TimeEntriesVisibility, hashCode); - hashCode = HashCodeHelper.GetHashCode(UsersVisibility, hashCode); - hashCode = HashCodeHelper.GetHashCode(Permissions, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(IsAssignable, hashCode); + hashCode = HashCodeHelper.GetHashCode(IssuesVisibility, hashCode); + hashCode = HashCodeHelper.GetHashCode(TimeEntriesVisibility, hashCode); + hashCode = HashCodeHelper.GetHashCode(UsersVisibility, hashCode); + hashCode = HashCodeHelper.GetHashCode(Permissions, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/Search.cs b/src/redmine-net-api/Types/Search.cs index 37792323..e24cd5cf 100644 --- a/src/redmine-net-api/Types/Search.cs +++ b/src/redmine-net-api/Types/Search.cs @@ -148,17 +148,14 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = 397; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(Title, hashCode); - hashCode = HashCodeHelper.GetHashCode(Type, hashCode); - hashCode = HashCodeHelper.GetHashCode(Url, hashCode); - hashCode = HashCodeHelper.GetHashCode(Description, hashCode); - hashCode = HashCodeHelper.GetHashCode(DateTime, hashCode); - return hashCode; - } + var hashCode = 397; + hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + hashCode = HashCodeHelper.GetHashCode(Title, hashCode); + hashCode = HashCodeHelper.GetHashCode(Type, hashCode); + hashCode = HashCodeHelper.GetHashCode(Url, hashCode); + hashCode = HashCodeHelper.GetHashCode(Description, hashCode); + hashCode = HashCodeHelper.GetHashCode(DateTime, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/TimeEntry.cs b/src/redmine-net-api/Types/TimeEntry.cs index f02cebbf..ac98d3d7 100644 --- a/src/redmine-net-api/Types/TimeEntry.cs +++ b/src/redmine-net-api/Types/TimeEntry.cs @@ -261,21 +261,18 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Issue, hashCode); - hashCode = HashCodeHelper.GetHashCode(Project, hashCode); - hashCode = HashCodeHelper.GetHashCode(SpentOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(Hours, hashCode); - hashCode = HashCodeHelper.GetHashCode(Activity, hashCode); - hashCode = HashCodeHelper.GetHashCode(User, hashCode); - hashCode = HashCodeHelper.GetHashCode(Comments, hashCode); - hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Issue, hashCode); + hashCode = HashCodeHelper.GetHashCode(Project, hashCode); + hashCode = HashCodeHelper.GetHashCode(SpentOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(Hours, hashCode); + hashCode = HashCodeHelper.GetHashCode(Activity, hashCode); + hashCode = HashCodeHelper.GetHashCode(User, hashCode); + hashCode = HashCodeHelper.GetHashCode(Comments, hashCode); + hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/TimeEntryActivity.cs b/src/redmine-net-api/Types/TimeEntryActivity.cs index 2e25bc03..0e9a2d46 100644 --- a/src/redmine-net-api/Types/TimeEntryActivity.cs +++ b/src/redmine-net-api/Types/TimeEntryActivity.cs @@ -156,13 +156,10 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(IsDefault, hashCode); - hashCode = HashCodeHelper.GetHashCode(IsActive, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(IsDefault, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsActive, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/Tracker.cs b/src/redmine-net-api/Types/Tracker.cs index 7f77249f..ff9576a6 100644 --- a/src/redmine-net-api/Types/Tracker.cs +++ b/src/redmine-net-api/Types/Tracker.cs @@ -148,14 +148,11 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - int hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(DefaultStatus, hashCode); - hashCode = HashCodeHelper.GetHashCode(Description, hashCode); - hashCode = HashCodeHelper.GetHashCode(EnabledStandardFields, hashCode); - return hashCode; - } + int hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(DefaultStatus, hashCode); + hashCode = HashCodeHelper.GetHashCode(Description, hashCode); + hashCode = HashCodeHelper.GetHashCode(EnabledStandardFields, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/TrackerCoreField.cs b/src/redmine-net-api/Types/TrackerCoreField.cs index aad3d8c1..f46b1cb5 100644 --- a/src/redmine-net-api/Types/TrackerCoreField.cs +++ b/src/redmine-net-api/Types/TrackerCoreField.cs @@ -127,12 +127,9 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = 17; - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); - return hashCode; - } + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/Upload.cs b/src/redmine-net-api/Types/Upload.cs index d5efeb7e..657572dc 100644 --- a/src/redmine-net-api/Types/Upload.cs +++ b/src/redmine-net-api/Types/Upload.cs @@ -195,15 +195,12 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = 17; - hashCode = HashCodeHelper.GetHashCode(Token, hashCode); - hashCode = HashCodeHelper.GetHashCode(FileName, hashCode); - hashCode = HashCodeHelper.GetHashCode(Description, hashCode); - hashCode = HashCodeHelper.GetHashCode(ContentType, hashCode); - return hashCode; - } + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Token, hashCode); + hashCode = HashCodeHelper.GetHashCode(FileName, hashCode); + hashCode = HashCodeHelper.GetHashCode(Description, hashCode); + hashCode = HashCodeHelper.GetHashCode(ContentType, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/User.cs b/src/redmine-net-api/Types/User.cs index 0afc34ad..06b0b46c 100644 --- a/src/redmine-net-api/Types/User.cs +++ b/src/redmine-net-api/Types/User.cs @@ -386,33 +386,30 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = 17; - hashCode = HashCodeHelper.GetHashCode(Id, hashCode); - hashCode = HashCodeHelper.GetHashCode(AvatarUrl, hashCode); - hashCode = HashCodeHelper.GetHashCode(Login, hashCode); - hashCode = HashCodeHelper.GetHashCode(FirstName, hashCode); - hashCode = HashCodeHelper.GetHashCode(LastName, hashCode); - hashCode = HashCodeHelper.GetHashCode(Email, hashCode); - hashCode = HashCodeHelper.GetHashCode(MailNotification, hashCode); - hashCode = HashCodeHelper.GetHashCode(ApiKey, hashCode); - hashCode = HashCodeHelper.GetHashCode(TwoFactorAuthenticationScheme, hashCode); - hashCode = HashCodeHelper.GetHashCode(AuthenticationModeId, hashCode); - hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(LastLoginOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(Status, hashCode); - hashCode = HashCodeHelper.GetHashCode(MustChangePassword, hashCode); - hashCode = HashCodeHelper.GetHashCode(IsAdmin, hashCode); - hashCode = HashCodeHelper.GetHashCode(PasswordChangedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); - hashCode = HashCodeHelper.GetHashCode(Memberships, hashCode); - hashCode = HashCodeHelper.GetHashCode(Groups, hashCode); - hashCode = HashCodeHelper.GetHashCode(GeneratePassword, hashCode); - hashCode = HashCodeHelper.GetHashCode(SendInformation, hashCode); - return hashCode; - } + var hashCode = 17; + hashCode = HashCodeHelper.GetHashCode(Id, hashCode); + hashCode = HashCodeHelper.GetHashCode(AvatarUrl, hashCode); + hashCode = HashCodeHelper.GetHashCode(Login, hashCode); + hashCode = HashCodeHelper.GetHashCode(FirstName, hashCode); + hashCode = HashCodeHelper.GetHashCode(LastName, hashCode); + hashCode = HashCodeHelper.GetHashCode(Email, hashCode); + hashCode = HashCodeHelper.GetHashCode(MailNotification, hashCode); + hashCode = HashCodeHelper.GetHashCode(ApiKey, hashCode); + hashCode = HashCodeHelper.GetHashCode(TwoFactorAuthenticationScheme, hashCode); + hashCode = HashCodeHelper.GetHashCode(AuthenticationModeId, hashCode); + hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(LastLoginOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(Status, hashCode); + hashCode = HashCodeHelper.GetHashCode(MustChangePassword, hashCode); + hashCode = HashCodeHelper.GetHashCode(IsAdmin, hashCode); + hashCode = HashCodeHelper.GetHashCode(PasswordChangedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); + hashCode = HashCodeHelper.GetHashCode(Memberships, hashCode); + hashCode = HashCodeHelper.GetHashCode(Groups, hashCode); + hashCode = HashCodeHelper.GetHashCode(GeneratePassword, hashCode); + hashCode = HashCodeHelper.GetHashCode(SendInformation, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/Version.cs b/src/redmine-net-api/Types/Version.cs index 4c8c9152..abe37fe7 100644 --- a/src/redmine-net-api/Types/Version.cs +++ b/src/redmine-net-api/Types/Version.cs @@ -279,22 +279,19 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Project, hashCode); - hashCode = HashCodeHelper.GetHashCode(Description, hashCode); - hashCode = HashCodeHelper.GetHashCode(Status, hashCode); - hashCode = HashCodeHelper.GetHashCode(DueDate, hashCode); - hashCode = HashCodeHelper.GetHashCode(Sharing, hashCode); - hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); - hashCode = HashCodeHelper.GetHashCode(WikiPageTitle, hashCode); - hashCode = HashCodeHelper.GetHashCode(EstimatedHours, hashCode); - hashCode = HashCodeHelper.GetHashCode(SpentHours, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Project, hashCode); + hashCode = HashCodeHelper.GetHashCode(Description, hashCode); + hashCode = HashCodeHelper.GetHashCode(Status, hashCode); + hashCode = HashCodeHelper.GetHashCode(DueDate, hashCode); + hashCode = HashCodeHelper.GetHashCode(Sharing, hashCode); + hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(CustomFields, hashCode); + hashCode = HashCodeHelper.GetHashCode(WikiPageTitle, hashCode); + hashCode = HashCodeHelper.GetHashCode(EstimatedHours, hashCode); + hashCode = HashCodeHelper.GetHashCode(SpentHours, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/Watcher.cs b/src/redmine-net-api/Types/Watcher.cs index 20d3409e..57607455 100644 --- a/src/redmine-net-api/Types/Watcher.cs +++ b/src/redmine-net-api/Types/Watcher.cs @@ -95,12 +95,9 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Name, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Name, hashCode); + return hashCode; } /// diff --git a/src/redmine-net-api/Types/WikiPage.cs b/src/redmine-net-api/Types/WikiPage.cs index 566cf58f..b81461bd 100644 --- a/src/redmine-net-api/Types/WikiPage.cs +++ b/src/redmine-net-api/Types/WikiPage.cs @@ -247,19 +247,16 @@ public override bool Equals(object obj) /// public override int GetHashCode() { - unchecked - { - var hashCode = base.GetHashCode(); - hashCode = HashCodeHelper.GetHashCode(Title, hashCode); - hashCode = HashCodeHelper.GetHashCode(Text, hashCode); - hashCode = HashCodeHelper.GetHashCode(Comments, hashCode); - hashCode = HashCodeHelper.GetHashCode(Version, hashCode); - hashCode = HashCodeHelper.GetHashCode(Author, hashCode); - hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); - hashCode = HashCodeHelper.GetHashCode(Attachments, hashCode); - return hashCode; - } + var hashCode = base.GetHashCode(); + hashCode = HashCodeHelper.GetHashCode(Title, hashCode); + hashCode = HashCodeHelper.GetHashCode(Text, hashCode); + hashCode = HashCodeHelper.GetHashCode(Comments, hashCode); + hashCode = HashCodeHelper.GetHashCode(Version, hashCode); + hashCode = HashCodeHelper.GetHashCode(Author, hashCode); + hashCode = HashCodeHelper.GetHashCode(CreatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(UpdatedOn, hashCode); + hashCode = HashCodeHelper.GetHashCode(Attachments, hashCode); + return hashCode; } /// From 54c3be1cfc20f17f18a02d739ff67515e35966ea Mon Sep 17 00:00:00 2001 From: Padi Date: Thu, 29 May 2025 11:01:23 +0300 Subject: [PATCH 591/601] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 4cf48cb0..9a2add82 100755 --- a/README.md +++ b/README.md @@ -93,6 +93,11 @@ Detailed API reference, guides, and tutorials are available in the [GitHub Wiki] See the [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines. +## 💬 Join on Slack + +Want to talk about Redmine integration, features, or contribute ideas? +Join Slack channel here: [dotnet-redmine](https://join.slack.com/t/dotnet-redmine/shared_invite/zt-36cvwm98j-10Sw3w4LITk1N6eqKKHWRw) + ## 🤝 Contributors From deb774d2a4b3cf0acb20954c9ccdcfdecdbffb86 Mon Sep 17 00:00:00 2001 From: Padi Date: Mon, 2 Jun 2025 13:17:42 +0300 Subject: [PATCH 592/601] Error handling improvements --- .../Exceptions/ConflictException.cs | 88 -------- .../Exceptions/ForbiddenException.cs | 89 -------- .../InternalServerErrorException.cs | 89 -------- .../NameResolutionFailureException.cs | 88 -------- .../Exceptions/NotAcceptableException.cs | 88 -------- .../Exceptions/NotFoundException.cs | 89 -------- .../Exceptions/RedmineApiException.cs | 207 ++++++++++++++---- .../Exceptions/RedmineException.cs | 72 +++--- .../Exceptions/RedmineForbiddenException.cs | 82 +++++++ .../RedmineNotAcceptableException.cs | 56 +++++ .../Exceptions/RedmineNotFoundException.cs | 80 +++++++ .../RedmineOperationCanceledException.cs | 85 +++++++ .../RedmineSerializationException.cs | 56 +++-- .../Exceptions/RedmineTimeoutException.cs | 83 ++++--- .../RedmineUnauthorizedException.cs | 79 +++++++ .../RedmineUnprocessableEntityException.cs | 63 ++++++ .../Exceptions/UnauthorizedException.cs | 92 -------- .../InternalRedmineApiHttpClient.Async.cs | 37 ++-- .../InternalRedmineApiWebClient.Async.cs | 31 ++- .../WebClient/InternalRedmineApiWebClient.cs | 186 +++++----------- .../Clients/WebClient/WebClientExtensions.cs | 8 + .../Http/Constants/HttpConstants.cs | 2 + .../Http/Helpers/RedmineExceptionHelper.cs | 99 +++------ 23 files changed, 852 insertions(+), 997 deletions(-) delete mode 100644 src/redmine-net-api/Exceptions/ConflictException.cs delete mode 100644 src/redmine-net-api/Exceptions/ForbiddenException.cs delete mode 100644 src/redmine-net-api/Exceptions/InternalServerErrorException.cs delete mode 100644 src/redmine-net-api/Exceptions/NameResolutionFailureException.cs delete mode 100644 src/redmine-net-api/Exceptions/NotAcceptableException.cs delete mode 100644 src/redmine-net-api/Exceptions/NotFoundException.cs create mode 100644 src/redmine-net-api/Exceptions/RedmineForbiddenException.cs create mode 100644 src/redmine-net-api/Exceptions/RedmineNotAcceptableException.cs create mode 100644 src/redmine-net-api/Exceptions/RedmineNotFoundException.cs create mode 100644 src/redmine-net-api/Exceptions/RedmineOperationCanceledException.cs create mode 100644 src/redmine-net-api/Exceptions/RedmineUnauthorizedException.cs create mode 100644 src/redmine-net-api/Exceptions/RedmineUnprocessableEntityException.cs delete mode 100644 src/redmine-net-api/Exceptions/UnauthorizedException.cs diff --git a/src/redmine-net-api/Exceptions/ConflictException.cs b/src/redmine-net-api/Exceptions/ConflictException.cs deleted file mode 100644 index 183baf56..00000000 --- a/src/redmine-net-api/Exceptions/ConflictException.cs +++ /dev/null @@ -1,88 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Globalization; -using System.Runtime.Serialization; - -namespace Redmine.Net.Api.Exceptions -{ - /// - /// - /// - [Serializable] - public sealed class ConflictException : RedmineException - { - /// - /// Initializes a new instance of the class. - /// - public ConflictException() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - public ConflictException(string message) - : base(message) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - public ConflictException(string format, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args)) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - public ConflictException(string message, Exception innerException) - : base(message, innerException) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - /// - public ConflictException(string format, Exception innerException, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) - { - } - -#if !(NET8_0_OR_GREATER) - /// - /// - /// - /// - /// - private ConflictException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) - { - - } -#endif - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/ForbiddenException.cs b/src/redmine-net-api/Exceptions/ForbiddenException.cs deleted file mode 100644 index e5e4d8ca..00000000 --- a/src/redmine-net-api/Exceptions/ForbiddenException.cs +++ /dev/null @@ -1,89 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Globalization; -using System.Runtime.Serialization; - -namespace Redmine.Net.Api.Exceptions -{ - /// - /// - /// - [Serializable] - public sealed class ForbiddenException : RedmineException - { - /// - /// Initializes a new instance of the class. - /// - public ForbiddenException() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - public ForbiddenException(string message) - : base(message) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - public ForbiddenException(string format, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args)) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - public ForbiddenException(string message, Exception innerException) - : base(message, innerException) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - /// - public ForbiddenException(string format, Exception innerException, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) - { - } - -#if !(NET8_0_OR_GREATER) - /// - /// - /// - /// - /// - /// - private ForbiddenException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) - { - - } -#endif - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/InternalServerErrorException.cs b/src/redmine-net-api/Exceptions/InternalServerErrorException.cs deleted file mode 100644 index 5d12673c..00000000 --- a/src/redmine-net-api/Exceptions/InternalServerErrorException.cs +++ /dev/null @@ -1,89 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Globalization; -using System.Runtime.Serialization; - -namespace Redmine.Net.Api.Exceptions -{ - /// - /// - /// - [Serializable] - public sealed class InternalServerErrorException : RedmineException - { - /// - /// Initializes a new instance of the class. - /// - public InternalServerErrorException() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - public InternalServerErrorException(string message) - : base(message) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - public InternalServerErrorException(string format, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args)) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - public InternalServerErrorException(string message, Exception innerException) - : base(message, innerException) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - /// - public InternalServerErrorException(string format, Exception innerException, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) - { - } - -#if !(NET8_0_OR_GREATER) - /// - /// - /// - /// - /// - /// - private InternalServerErrorException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) - { - - } -#endif - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs b/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs deleted file mode 100644 index da0350d0..00000000 --- a/src/redmine-net-api/Exceptions/NameResolutionFailureException.cs +++ /dev/null @@ -1,88 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Globalization; -using System.Runtime.Serialization; - -namespace Redmine.Net.Api.Exceptions -{ - /// - /// - /// - [Serializable] - public sealed class NameResolutionFailureException : RedmineException - { - /// - /// Initializes a new instance of the class. - /// - public NameResolutionFailureException() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - public NameResolutionFailureException(string message) - : base(message) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - public NameResolutionFailureException(string format, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args)) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - public NameResolutionFailureException(string message, Exception innerException) - : base(message, innerException) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - /// - public NameResolutionFailureException(string format, Exception innerException, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) - { - } - -#if !(NET8_0_OR_GREATER) - /// - /// - /// - /// - /// - private NameResolutionFailureException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) - { - - } -#endif - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/NotAcceptableException.cs b/src/redmine-net-api/Exceptions/NotAcceptableException.cs deleted file mode 100644 index bbae9b9c..00000000 --- a/src/redmine-net-api/Exceptions/NotAcceptableException.cs +++ /dev/null @@ -1,88 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Globalization; -using System.Runtime.Serialization; - -namespace Redmine.Net.Api.Exceptions -{ - /// - /// - /// - [Serializable] - public sealed class NotAcceptableException : RedmineException - { - /// - /// Initializes a new instance of the class. - /// - public NotAcceptableException() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - public NotAcceptableException(string message) - : base(message) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - public NotAcceptableException(string format, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args)) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - public NotAcceptableException(string message, Exception innerException) - : base(message, innerException) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - /// - public NotAcceptableException(string format, Exception innerException, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) - { - } - -#if !(NET8_0_OR_GREATER) - /// - /// - /// - /// - /// - private NotAcceptableException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) - { - - } -#endif - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/NotFoundException.cs b/src/redmine-net-api/Exceptions/NotFoundException.cs deleted file mode 100644 index d6c593dc..00000000 --- a/src/redmine-net-api/Exceptions/NotFoundException.cs +++ /dev/null @@ -1,89 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Globalization; -using System.Runtime.Serialization; - -namespace Redmine.Net.Api.Exceptions -{ - /// - /// Thrown in case the objects requested for could not be found. - /// - /// - [Serializable] - public sealed class NotFoundException : RedmineException - { - /// - /// Initializes a new instance of the class. - /// - public NotFoundException() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - public NotFoundException(string message) - : base(message) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - public NotFoundException(string format, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args)) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - public NotFoundException(string message, Exception innerException) - : base(message, innerException) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - /// - public NotFoundException(string format, Exception innerException, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) - { - } - -#if !(NET8_0_OR_GREATER) - /// - /// - /// - /// - /// - private NotFoundException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) - { - - } -#endif - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/RedmineApiException.cs b/src/redmine-net-api/Exceptions/RedmineApiException.cs index a858e304..fbe168ed 100644 --- a/src/redmine-net-api/Exceptions/RedmineApiException.cs +++ b/src/redmine-net-api/Exceptions/RedmineApiException.cs @@ -1,5 +1,11 @@ using System; +using System.Net; +#if NET40_OR_GREATER || NET +using System.Net.Http; +#endif +using System.Net.Sockets; using System.Runtime.Serialization; +using Redmine.Net.Api.Http.Constants; namespace Redmine.Net.Api.Exceptions { @@ -7,81 +13,196 @@ namespace Redmine.Net.Api.Exceptions /// /// [Serializable] - public sealed class RedmineApiException : RedmineException + public class RedmineApiException : RedmineException { /// - /// + /// Gets the error code parameter. /// - public RedmineApiException() - : this(errorCode: null, false) { } - + /// The error code associated with the exception. + public override string ErrorCode => "REDMINE-API-002"; + + /// + /// Gets a value indicating whether gets exception is Transient and operation can be retried. + /// + /// Value indicating whether the exception is transient or not. + public bool IsTransient { get; protected set; } + /// /// /// - /// - public RedmineApiException(string message) - : this(message, errorCode: null, false) { } - + public string Url { get; protected set; } + /// /// /// - /// - /// - public RedmineApiException(string message, Exception innerException) - : this(message, innerException, errorCode: null, false) { } - + public int? HttpStatusCode { get; protected set; } + /// /// /// - /// - /// - public RedmineApiException(string errorCode, bool isTransient) - : this(string.Empty, errorCode, isTransient) { } - + public RedmineApiException() + { + } + /// /// /// /// - /// - /// - public RedmineApiException(string message, string errorCode, bool isTransient) - : this(message, null, errorCode, isTransient) { } - + public RedmineApiException(string message) : base(message) + { + } + /// /// /// /// - /// - /// - /// - public RedmineApiException(string message, Exception inner, string errorCode, bool isTransient) - : base(message, inner) + /// + public RedmineApiException(string message, Exception innerException) : base(message, innerException) { - this.ErrorCode = errorCode ?? "UNKNOWN"; - this.IsTransient = isTransient; + var transientErrorResult = IsTransientError(InnerException); + IsTransient = transientErrorResult.IsTransient; + HttpStatusCode = transientErrorResult.StatusCode; } - + /// - /// Gets the error code parameter. + /// /// - /// The error code associated with the exception. - public string ErrorCode { get; } + /// + /// + /// + /// + public RedmineApiException(string message, string url, int? httpStatusCode = null, + Exception innerException = null) + : base(message, innerException) + { + Url = url; + var transientErrorResult = IsTransientError(InnerException); + IsTransient = transientErrorResult.IsTransient; + HttpStatusCode = httpStatusCode ?? transientErrorResult.StatusCode; + } /// - /// Gets a value indicating whether gets exception is Transient and operation can be retried. + /// /// - /// Value indicating whether the exception is transient or not. - public bool IsTransient { get; } - - #if !(NET8_0_OR_GREATER) + /// + /// + /// + /// + public RedmineApiException(string message, Uri requestUri, int? httpStatusCode = null, Exception innerException = null) + : base(message, innerException) + { + Url = requestUri?.ToString(); + var transientErrorResult = IsTransientError(InnerException); + IsTransient = transientErrorResult.IsTransient; + HttpStatusCode = httpStatusCode ?? transientErrorResult.StatusCode; + } + +#if !(NET8_0_OR_GREATER) /// + protected RedmineApiException(SerializationInfo info, StreamingContext context) : base(info, context) + { + Url = info.GetString(nameof(Url)); + HttpStatusCode = info.GetInt32(nameof(HttpStatusCode)); + } + + /// + /// + /// + /// + /// public override void GetObjectData(SerializationInfo info, StreamingContext context) { base.GetObjectData(info, context); + info.AddValue(nameof(Url), Url); + info.AddValue(nameof(HttpStatusCode), HttpStatusCode); + } +#endif + + internal struct TransientErrorResult(bool isTransient, int? statusCode) + { + public bool IsTransient = isTransient; + public int? StatusCode = statusCode; + } + + internal static TransientErrorResult IsTransientError(Exception exception) + { + return exception switch + { + null => new TransientErrorResult(false, null), + WebException webEx => HandleWebException(webEx), +#if NET40_OR_GREATER || NET + HttpRequestException httpRequestEx => HandleHttpRequestException(httpRequestEx), +#endif + _ => new TransientErrorResult(false, null) + }; + } + + private static TransientErrorResult HandleWebException(WebException webEx) + { + switch (webEx.Status) + { + case WebExceptionStatus.ProtocolError when webEx.Response is HttpWebResponse response: + var statusCode = (int)response.StatusCode; + return new TransientErrorResult(IsTransientStatusCode(statusCode), statusCode); + + case WebExceptionStatus.Timeout: + return new TransientErrorResult(true, HttpConstants.StatusCodes.RequestTimeout); + + case WebExceptionStatus.NameResolutionFailure: + case WebExceptionStatus.ConnectFailure: + return new TransientErrorResult(true, HttpConstants.StatusCodes.ServiceUnavailable); + + default: + return new TransientErrorResult(false, null); + } + } + + private static bool IsTransientStatusCode(int statusCode) + { + return statusCode == HttpConstants.StatusCodes.TooManyRequests || + statusCode == HttpConstants.StatusCodes.InternalServerError || + statusCode == HttpConstants.StatusCodes.BadGateway || + statusCode == HttpConstants.StatusCodes.ServiceUnavailable || + statusCode == HttpConstants.StatusCodes.GatewayTimeout; + } + +#if NET40_OR_GREATER || NET + private static TransientErrorResult HandleHttpRequestException( + HttpRequestException httpRequestEx) + { + if (httpRequestEx.InnerException is WebException innerWebEx) + { + return HandleWebException(innerWebEx); + } + + if (httpRequestEx.InnerException is SocketException socketEx) + { + switch (socketEx.SocketErrorCode) + { + case SocketError.HostNotFound: + case SocketError.HostUnreachable: + case SocketError.NetworkUnreachable: + case SocketError.ConnectionRefused: + return new TransientErrorResult(true, HttpConstants.StatusCodes.ServiceUnavailable); + + case SocketError.TimedOut: + return new TransientErrorResult(true, HttpConstants.StatusCodes.RequestTimeout); + + default: + return new TransientErrorResult(false, null); + } + } + +#if NET + if (httpRequestEx.StatusCode.HasValue) + { + var statusCode = (int)httpRequestEx.StatusCode.Value; + return new TransientErrorResult(IsTransientStatusCode(statusCode), statusCode); + } +#endif - info.AddValue(nameof(this.ErrorCode), this.ErrorCode); - info.AddValue(nameof(this.IsTransient), this.IsTransient); + return new TransientErrorResult(false, null); } - #endif +#endif } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/RedmineException.cs b/src/redmine-net-api/Exceptions/RedmineException.cs index ee2cc07a..95bff717 100644 --- a/src/redmine-net-api/Exceptions/RedmineException.cs +++ b/src/redmine-net-api/Exceptions/RedmineException.cs @@ -15,8 +15,8 @@ limitations under the License. */ using System; +using System.Collections.Generic; using System.Diagnostics; -using System.Globalization; using System.Runtime.Serialization; namespace Redmine.Net.Api.Exceptions @@ -30,63 +30,53 @@ namespace Redmine.Net.Api.Exceptions public class RedmineException : Exception { /// - /// Initializes a new instance of the class. + /// /// - public RedmineException() - { - } + public virtual string ErrorCode => "REDMINE-GEN-001"; /// - /// Initializes a new instance of the class. + /// /// - /// The message that describes the error. - public RedmineException(string message) - : base(message) - { - } + public Dictionary ErrorDetails { get; private set; } /// - /// Initializes a new instance of the class. + /// /// - /// The format. - /// The arguments. - public RedmineException(string format, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args)) - { - } - + public RedmineException() { } /// - /// Initializes a new instance of the class. + /// /// - /// The error message that explains the reason for the exception. - /// The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - public RedmineException(string message, Exception innerException) - : base(message, innerException) - { - } - + /// + public RedmineException(string message) : base(message) { } /// - /// Initializes a new instance of the class. + /// /// - /// The format. - /// The inner exception. - /// The arguments. - public RedmineException(string format, Exception innerException, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) - { - } - - #if !(NET8_0_OR_GREATER) + /// + /// + public RedmineException(string message, Exception innerException) : base(message, innerException) { } + +#if !(NET8_0_OR_GREATER) + /// + /// + /// + /// + /// + protected RedmineException(SerializationInfo info, StreamingContext context) : base(info, context) { } +#endif + /// /// /// - /// - /// - protected RedmineException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) + /// + /// + /// + public RedmineException AddErrorDetail(string key, string value) { + ErrorDetails ??= new Dictionary(); + ErrorDetails[key] = value; + return this; } - #endif private string DebuggerDisplay => $"[{Message}]"; } diff --git a/src/redmine-net-api/Exceptions/RedmineForbiddenException.cs b/src/redmine-net-api/Exceptions/RedmineForbiddenException.cs new file mode 100644 index 00000000..33e3d53d --- /dev/null +++ b/src/redmine-net-api/Exceptions/RedmineForbiddenException.cs @@ -0,0 +1,82 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using Redmine.Net.Api.Http.Constants; + +namespace Redmine.Net.Api.Exceptions +{ + + /// + /// Represents an exception thrown when a Redmine API request is forbidden (HTTP 403). + /// + [Serializable] + public sealed class RedmineForbiddenException : RedmineApiException + { + /// + /// Gets the error code for this exception. + /// + public override string ErrorCode => "REDMINE-FORBIDDEN-005"; + + /// + /// Initializes a new instance of the class. + /// + public RedmineForbiddenException() + : base("Access to the Redmine API resource is forbidden.", (string)null, HttpConstants.StatusCodes.Forbidden, null) + { + } + + /// + /// Initializes a new instance of the class with a specified error message. + /// + /// The error message that explains the reason for the exception. + /// Thrown when is null. + public RedmineForbiddenException(string message) + : base(message, (string)null, HttpConstants.StatusCodes.Forbidden, null) + { } + + /// + /// Initializes a new instance of the class with a specified error message and URL. + /// + /// The error message that explains the reason for the exception. + /// The URL of the Redmine API resource that caused the exception. + /// Thrown when is null. + public RedmineForbiddenException(string message, string url) + : base(message, url, HttpConstants.StatusCodes.Forbidden, null) + { } + + /// + /// Initializes a new instance of the class with a specified error message and inner exception. + /// + /// The error message that explains the reason for the exception. + /// The exception that is the cause of the current exception. + /// Thrown when or is null. + public RedmineForbiddenException(string message, Exception innerException) + : base(message, (string)null, HttpConstants.StatusCodes.Forbidden, innerException) + { } + + /// + /// Initializes a new instance of the class with a specified error message, URL, and inner exception. + /// + /// The error message that explains the reason for the exception. + /// The URL of the Redmine API resource that caused the exception. + /// The exception that is the cause of the current exception. + /// Thrown when or is null. + public RedmineForbiddenException(string message, string url, Exception innerException) + : base(message, url, HttpConstants.StatusCodes.Forbidden, innerException) + { } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/RedmineNotAcceptableException.cs b/src/redmine-net-api/Exceptions/RedmineNotAcceptableException.cs new file mode 100644 index 00000000..8fa39cc3 --- /dev/null +++ b/src/redmine-net-api/Exceptions/RedmineNotAcceptableException.cs @@ -0,0 +1,56 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; + +namespace Redmine.Net.Api.Exceptions +{ + /// + /// + /// + [Serializable] + public sealed class RedmineNotAcceptableException : RedmineApiException + { + /// + public override string ErrorCode => "REDMINE-NOT-ACCEPTABLE-010"; + + /// + /// Initializes a new instance of the class. + /// + public RedmineNotAcceptableException() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// + public RedmineNotAcceptableException(string message) + : base(message) + { + } + + /// + /// Initializes a new instance of the class. + /// + /// + /// + public RedmineNotAcceptableException(string message, Exception innerException) + : base(message, innerException) + { + } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/RedmineNotFoundException.cs b/src/redmine-net-api/Exceptions/RedmineNotFoundException.cs new file mode 100644 index 00000000..b6a6e7bc --- /dev/null +++ b/src/redmine-net-api/Exceptions/RedmineNotFoundException.cs @@ -0,0 +1,80 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using Redmine.Net.Api.Http.Constants; + +namespace Redmine.Net.Api.Exceptions +{ + /// + /// Thrown in case the objects requested for could not be found. + /// + /// + [Serializable] + public sealed class RedmineNotFoundException : RedmineApiException + { + /// + public override string ErrorCode => "REDMINE-NOTFOUND-006"; + + /// + /// Initializes a new instance of the class. + /// + public RedmineNotFoundException() + : base("The requested Redmine API resource was not found.", (string)null, HttpConstants.StatusCodes.NotFound, null) + { + } + + /// + /// Initializes a new instance of the class with a specified error message. + /// + /// The error message that explains the reason for the exception. + /// Thrown when is null. + public RedmineNotFoundException(string message) + : base(message, (string)null, HttpConstants.StatusCodes.NotFound, null) + { } + + /// + /// Initializes a new instance of the class with a specified error message and URL. + /// + /// The error message that explains the reason for the exception. + /// The URL of the Redmine API resource that was not found. + /// Thrown when is null. + public RedmineNotFoundException(string message, string url) + : base(message, url, HttpConstants.StatusCodes.NotFound, null) + { } + + /// + /// Initializes a new instance of the class with a specified error message and inner exception. + /// + /// The error message that explains the reason for the exception. + /// The exception that is the cause of the current exception. + /// Thrown when or is null. + public RedmineNotFoundException(string message, Exception innerException) + : base(message, (string)null, HttpConstants.StatusCodes.NotFound, innerException) + { } + + /// + /// Initializes a new instance of the class with a specified error message, URL, and inner exception. + /// + /// The error message that explains the reason for the exception. + /// The URL of the Redmine API resource that was not found. + /// The exception that is the cause of the current exception. + /// Thrown when or is null. + public RedmineNotFoundException(string message, string url, Exception innerException) + : base(message, url, HttpConstants.StatusCodes.NotFound, innerException) + { } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/RedmineOperationCanceledException.cs b/src/redmine-net-api/Exceptions/RedmineOperationCanceledException.cs new file mode 100644 index 00000000..f3dcc39e --- /dev/null +++ b/src/redmine-net-api/Exceptions/RedmineOperationCanceledException.cs @@ -0,0 +1,85 @@ +using System; +using Redmine.Net.Api.Http.Constants; + +namespace Redmine.Net.Api.Exceptions; + +/// +/// Represents an exception thrown when a Redmine API operation is canceled, typically due to a CancellationToken. +/// +[Serializable] +public sealed class RedmineOperationCanceledException : RedmineException +{ + /// + /// Gets the error code for this exception. + /// + public override string ErrorCode => "REDMINE-CANCEL-003"; + + /// + /// Gets the URL of the Redmine API resource associated with the canceled operation, if applicable. + /// + public string Url { get; private set; } + + /// + /// Initializes a new instance of the class. + /// + public RedmineOperationCanceledException() + : base("The Redmine API operation was canceled.") + { } + + /// + /// Initializes a new instance of the class with a specified error message. + /// + /// The error message that explains the reason for the exception. + /// Thrown when is null. + public RedmineOperationCanceledException(string message) + : base(message) + { } + + /// + /// Initializes a new instance of the class with a specified error message and URL. + /// + /// The error message that explains the reason for the exception. + /// The URL of the Redmine API resource associated with the canceled operation. + /// Thrown when or is null. + public RedmineOperationCanceledException(string message, string url) + : base(message) + { + Url = url; + } + + /// + /// Initializes a new instance of the class with a specified error message and inner exception. + /// + /// The error message that explains the reason for the exception. + /// The exception that is the cause of the current exception. + /// Thrown when or is null. + public RedmineOperationCanceledException(string message, Exception innerException) + : base(message, innerException) + { } + + /// + /// Initializes a new instance of the class with a specified error message, URL, and inner exception. + /// + /// The error message that explains the reason for the exception. + /// The URL of the Redmine API resource associated with the canceled operation. + /// The exception that is the cause of the current exception, or null if none. + /// Thrown when or is null. + public RedmineOperationCanceledException(string message, string url, Exception innerException) + : base(message, innerException) + { + Url = url; + } + + /// + /// Initializes a new instance of the class with a specified error message, URL, and inner exception. + /// + /// The error message that explains the reason for the exception. + /// The URL of the Redmine API resource associated with the canceled operation. + /// The exception that is the cause of the current exception, or null if none. + /// Thrown when or is null. + public RedmineOperationCanceledException(string message, Uri url, Exception innerException) + : base(message, innerException) + { + Url = url?.ToString(); + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/RedmineSerializationException.cs b/src/redmine-net-api/Exceptions/RedmineSerializationException.cs index 0f6b779f..e864ef40 100644 --- a/src/redmine-net-api/Exceptions/RedmineSerializationException.cs +++ b/src/redmine-net-api/Exceptions/RedmineSerializationException.cs @@ -3,14 +3,24 @@ namespace Redmine.Net.Api.Exceptions; /// -/// Represents an error that occurs during JSON serialization or deserialization. +/// Represents an exception thrown when a serialization or deserialization error occurs in the Redmine API client. /// -public class RedmineSerializationException : RedmineException +[Serializable] +public sealed class RedmineSerializationException : RedmineException { + /// + public override string ErrorCode => "REDMINE-SERIALIZATION-008"; + + /// + /// Gets the name of the parameter that caused the serialization or deserialization error, if applicable. + /// + public string ParamName { get; private set; } + /// /// Initializes a new instance of the class. /// public RedmineSerializationException() + : base("A serialization or deserialization error occurred in the Redmine API client.") { } @@ -18,31 +28,43 @@ public RedmineSerializationException() /// Initializes a new instance of the class with a specified error message. /// /// The error message that explains the reason for the exception. - public RedmineSerializationException(string message) : base(message) - { - } - + /// Thrown when is null. + public RedmineSerializationException(string message) + : base(message) + { } + /// - /// Initializes a new instance of the class with a specified error message. + /// Initializes a new instance of the class with a specified error message and parameter name. /// /// The error message that explains the reason for the exception. - /// /// The name of the parameter that caused the exception. - public RedmineSerializationException(string message, string paramName) : base(message) + /// The name of the parameter that caused the serialization or deserialization error. + /// Thrown when or is null. + public RedmineSerializationException(string message, string paramName) + : base(message) { - ParamName = paramName; + ParamName = paramName ?? throw new ArgumentNullException(nameof(paramName)); } /// - /// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. + /// Initializes a new instance of the class with a specified error message and inner exception. /// /// The error message that explains the reason for the exception. - /// The exception that is the cause of the current exception, or a null reference if no inner exception is specified. - public RedmineSerializationException(string message, Exception innerException) : base(message, innerException) - { - } + /// The exception that is the cause of the current exception. + /// Thrown when or is null. + public RedmineSerializationException(string message, Exception innerException) + : base(message, innerException) + { } /// - /// Gets the name of the parameter that caused the current exception. + /// Initializes a new instance of the class with a specified error message, parameter name, and inner exception. /// - public string ParamName { get; } + /// The error message that explains the reason for the exception. + /// The name of the parameter that caused the serialization or deserialization error. + /// The exception that is the cause of the current exception. + /// Thrown when , , or is null. + public RedmineSerializationException(string message, string paramName, Exception innerException) + : base(message, innerException) + { + ParamName = paramName ?? throw new ArgumentNullException(nameof(paramName)); + } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs b/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs index 31ec968f..038a44df 100644 --- a/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs +++ b/src/redmine-net-api/Exceptions/RedmineTimeoutException.cs @@ -15,77 +15,76 @@ limitations under the License. */ using System; -using System.Globalization; -using System.Runtime.Serialization; +using Redmine.Net.Api.Http.Constants; namespace Redmine.Net.Api.Exceptions { /// + /// Represents an exception thrown when a Redmine API request times out (HTTP 408). /// - /// [Serializable] - public sealed class RedmineTimeoutException : RedmineException + public sealed class RedmineTimeoutException : RedmineApiException { + /// + public override string ErrorCode => "REDMINE-TIMEOUT-004"; + /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// public RedmineTimeoutException() + : base("The Redmine API request timed out.", (string)null, HttpConstants.StatusCodes.RequestTimeout, null) { } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class with a specified error message. /// - /// The message that describes the error. + /// The error message that explains the reason for the exception. + /// Thrown when is null. public RedmineTimeoutException(string message) - : base(message) - { - } + : base(message, (string)null, HttpConstants.StatusCodes.RequestTimeout, null) + { } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class with a specified error message and URL. /// - /// The format. - /// The arguments. - public RedmineTimeoutException(string format, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args)) - { - } + /// The error message that explains the reason for the exception. + /// The URL of the Redmine API resource that timed out. + /// Thrown when or is null. + public RedmineTimeoutException(string message, string url) + : base(message, url, HttpConstants.StatusCodes.RequestTimeout, null) + { } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class with a specified error message and inner exception. /// /// The error message that explains the reason for the exception. - /// - /// The exception that is the cause of the current exception, or a null reference (Nothing in - /// Visual Basic) if no inner exception is specified. - /// + /// The exception that is the cause of the current exception. + /// Thrown when or is null. public RedmineTimeoutException(string message, Exception innerException) - : base(message, innerException) - { - } + : base(message, (string)null, HttpConstants.StatusCodes.RequestTimeout, innerException) + { } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class with a specified error message, URL, and inner exception. /// - /// The format. - /// The inner exception. - /// The arguments. - public RedmineTimeoutException(string format, Exception innerException, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) - { - } + /// The error message that explains the reason for the exception. + /// The URL of the Redmine API resource that timed out. + /// The exception that is the cause of the current exception, or null if none. + /// Thrown when or is null. + public RedmineTimeoutException(string message, string url, Exception innerException) + : base(message, url, HttpConstants.StatusCodes.RequestTimeout, innerException) + { } -#if !(NET8_0_OR_GREATER) /// - /// + /// Initializes a new instance of the class with a specified error message, URL, and inner exception. /// - /// - /// - private RedmineTimeoutException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) - { - - } -#endif + /// The error message that explains the reason for the exception. + /// The URL of the Redmine API resource that timed out. + /// The exception that is the cause of the current exception, or null if none. + /// Thrown when or is null. + public RedmineTimeoutException(string message, Uri url, Exception innerException) + : base(message, url?.ToString(), HttpConstants.StatusCodes.RequestTimeout, innerException) + { } } } \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/RedmineUnauthorizedException.cs b/src/redmine-net-api/Exceptions/RedmineUnauthorizedException.cs new file mode 100644 index 00000000..824d7727 --- /dev/null +++ b/src/redmine-net-api/Exceptions/RedmineUnauthorizedException.cs @@ -0,0 +1,79 @@ +/* + Copyright 2011 - 2025 Adrian Popescu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +using System; +using Redmine.Net.Api.Http.Constants; + +namespace Redmine.Net.Api.Exceptions +{ + /// + /// Represents an exception thrown when a Redmine API request is unauthorized (HTTP 401). + /// + [Serializable] + public sealed class RedmineUnauthorizedException : RedmineApiException + { + /// + public override string ErrorCode => "REDMINE-UNAUTHORIZED-007"; + + /// + /// Initializes a new instance of the class. + /// + public RedmineUnauthorizedException() + : base("The Redmine API request is unauthorized.", (string)null, HttpConstants.StatusCodes.Unauthorized, null) + { + } + + /// + /// Initializes a new instance of the class with a specified error message. + /// + /// The error message that explains the reason for the exception. + /// Thrown when is null. + public RedmineUnauthorizedException(string message) + : base(message, (string)null, HttpConstants.StatusCodes.Unauthorized, null) + { } + + /// + /// Initializes a new instance of the class with a specified error message and URL. + /// + /// The error message that explains the reason for the exception. + /// The URL of the Redmine API resource that caused the unauthorized access. + /// Thrown when is null. + public RedmineUnauthorizedException(string message, string url) + : base(message, url, HttpConstants.StatusCodes.Unauthorized, null) + { } + + /// + /// Initializes a new instance of the class with a specified error message and inner exception. + /// + /// The error message that explains the reason for the exception. + /// The exception that is the cause of the current exception. + /// Thrown when or is null. + public RedmineUnauthorizedException(string message, Exception innerException) + : base(message, (string)null, HttpConstants.StatusCodes.Unauthorized, innerException) + { } + + /// + /// Initializes a new instance of the class with a specified error message, URL, and inner exception. + /// + /// The error message that explains the reason for the exception. + /// The URL of the Redmine API resource that caused the unauthorized access. + /// The exception that is the cause of the current exception. + /// Thrown when or is null. + public RedmineUnauthorizedException(string message, string url, Exception innerException) + : base(message, url, HttpConstants.StatusCodes.Unauthorized, innerException) + { } + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/RedmineUnprocessableEntityException.cs b/src/redmine-net-api/Exceptions/RedmineUnprocessableEntityException.cs new file mode 100644 index 00000000..c37dd063 --- /dev/null +++ b/src/redmine-net-api/Exceptions/RedmineUnprocessableEntityException.cs @@ -0,0 +1,63 @@ +using System; +using Redmine.Net.Api.Http.Constants; + +namespace Redmine.Net.Api.Exceptions; + +/// +/// Represents an exception thrown when a Redmine API request cannot be processed due to semantic errors (HTTP 422). +/// +[Serializable] +public class RedmineUnprocessableEntityException : RedmineApiException +{ + /// + /// Gets the error code for this exception. + /// + public override string ErrorCode => "REDMINE-UNPROCESSABLE-009"; + + /// + /// Initializes a new instance of the class. + /// + public RedmineUnprocessableEntityException() + : base("The Redmine API request cannot be processed due to invalid data.", (string)null, HttpConstants.StatusCodes.UnprocessableEntity, null) + { } + + /// + /// Initializes a new instance of the class with a specified error message. + /// + /// The error message that explains the reason for the exception. + /// Thrown when is null. + public RedmineUnprocessableEntityException(string message) + : base(message, (string)null, HttpConstants.StatusCodes.UnprocessableEntity, null) + { } + + /// + /// Initializes a new instance of the class with a specified error message and URL. + /// + /// The error message that explains the reason for the exception. + /// The URL of the Redmine API resource that caused the error. + /// Thrown when is null. + public RedmineUnprocessableEntityException(string message, string url) + : base(message, url, HttpConstants.StatusCodes.UnprocessableEntity, null) + { } + + /// + /// Initializes a new instance of the class with a specified error message and inner exception. + /// + /// The error message that explains the reason for the exception. + /// The exception that is the cause of the current exception. + /// Thrown when or is null. + public RedmineUnprocessableEntityException(string message, Exception innerException) + : base(message, (string)null, HttpConstants.StatusCodes.UnprocessableEntity, innerException) + { } + + /// + /// Initializes a new instance of the class with a specified error message, URL, and inner exception. + /// + /// The error message that explains the reason for the exception. + /// The URL of the Redmine API resource that caused the error. + /// The exception that is the cause of the current exception. + /// Thrown when or is null. + public RedmineUnprocessableEntityException(string message, string url, Exception innerException) + : base(message, url, HttpConstants.StatusCodes.UnprocessableEntity, innerException) + { } +} \ No newline at end of file diff --git a/src/redmine-net-api/Exceptions/UnauthorizedException.cs b/src/redmine-net-api/Exceptions/UnauthorizedException.cs deleted file mode 100644 index 214f7b84..00000000 --- a/src/redmine-net-api/Exceptions/UnauthorizedException.cs +++ /dev/null @@ -1,92 +0,0 @@ -/* - Copyright 2011 - 2025 Adrian Popescu - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -using System; -using System.Globalization; -using System.Runtime.Serialization; - -namespace Redmine.Net.Api.Exceptions -{ - /// - /// Thrown in case something went wrong while trying to login. - /// - /// - [Serializable] - public sealed class UnauthorizedException : RedmineException - { - /// - /// Initializes a new instance of the class. - /// - public UnauthorizedException() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The message that describes the error. - public UnauthorizedException(string message) - : base(message) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The format. - /// The arguments. - public UnauthorizedException(string format, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args)) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The error message that explains the reason for the exception. - /// - /// The exception that is the cause of the current exception, or a null reference (Nothing in - /// Visual Basic) if no inner exception is specified. - /// - public UnauthorizedException(string message, Exception innerException) - : base(message, innerException) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The format. - /// The inner exception. - /// The arguments. - public UnauthorizedException(string format, Exception innerException, params object[] args) - : base(string.Format(CultureInfo.InvariantCulture,format, args), innerException) - { - } -#if !(NET8_0_OR_GREATER) - /// - /// - /// - /// - /// - /// - private UnauthorizedException(SerializationInfo serializationInfo, StreamingContext streamingContext):base(serializationInfo, streamingContext) - { - - } -#endif - } -} \ No newline at end of file diff --git a/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.Async.cs b/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.Async.cs index 77186037..25beece1 100644 --- a/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.Async.cs +++ b/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.Async.cs @@ -16,11 +16,14 @@ limitations under the License. */ using System; +using System.IO; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Extensions; +using Redmine.Net.Api.Http.Constants; using Redmine.Net.Api.Http.Helpers; using Redmine.Net.Api.Http.Messages; @@ -32,10 +35,9 @@ protected override async Task HandleRequestAsync(string addr object content = null, IProgress progress = null, CancellationToken cancellationToken = default) { var httpMethod = GetHttpMethod(verb); - using (var requestMessage = CreateRequestMessage(address, httpMethod, requestOptions, content as HttpContent)) - { - return await SendAsync(requestMessage, progress: progress, cancellationToken: cancellationToken).ConfigureAwait(false); - } + using var requestMessage = CreateRequestMessage(address, httpMethod, requestOptions, content as HttpContent); + var response = await SendAsync(requestMessage, progress: progress, cancellationToken: cancellationToken).ConfigureAwait(false); + return response; } private async Task SendAsync(HttpRequestMessage requestMessage, IProgress progress = null, CancellationToken cancellationToken = default) @@ -73,36 +75,45 @@ private async Task SendAsync(HttpRequestMessage requestMessa using (var stream = await httpResponseMessage.Content.ReadAsStreamAsync(cancellationToken) .ConfigureAwait(false)) { - RedmineExceptionHelper.MapStatusCodeToException(statusCode, stream, null, Serializer); + var url = requestMessage.RequestUri?.ToString(); + var message = httpResponseMessage.ReasonPhrase; + + throw statusCode switch + { + HttpConstants.StatusCodes.NotFound => new RedmineNotFoundException(message, url), + HttpConstants.StatusCodes.Unauthorized => new RedmineUnauthorizedException(message, url), + HttpConstants.StatusCodes.Forbidden => new RedmineForbiddenException(message, url), + HttpConstants.StatusCodes.UnprocessableEntity => RedmineExceptionHelper.CreateUnprocessableEntityException(url, stream, null, Serializer), + HttpConstants.StatusCodes.NotAcceptable => new RedmineNotAcceptableException(message), + _ => new RedmineApiException(message, url, statusCode), + }; } } } catch (OperationCanceledException ex) when (cancellationToken.IsCancellationRequested) { - throw new RedmineApiException("Token has been cancelled", ex); + throw new RedmineOperationCanceledException(ex.Message, requestMessage.RequestUri, ex); } catch (OperationCanceledException ex) when (ex.InnerException is TimeoutException tex) { - throw new RedmineApiException("Operation has timed out", ex); + throw new RedmineTimeoutException(tex.Message, requestMessage.RequestUri, tex); } catch (TaskCanceledException tcex) when (cancellationToken.IsCancellationRequested) { - throw new RedmineApiException("Operation ahs been cancelled by user", tcex); + throw new RedmineOperationCanceledException(tcex.Message, requestMessage.RequestUri, tcex); } catch (TaskCanceledException tce) { - throw new RedmineApiException(tce.Message, tce); + throw new RedmineTimeoutException(tce.Message, requestMessage.RequestUri, tce); } catch (HttpRequestException ex) { - throw new RedmineApiException(ex.Message, ex); + throw new RedmineApiException(ex.Message, requestMessage.RequestUri, HttpConstants.StatusCodes.Unknown, ex); } catch (Exception ex) when (ex is not RedmineException) { - throw new RedmineApiException(ex.Message, ex); + throw new RedmineApiException(ex.Message, requestMessage.RequestUri, HttpConstants.StatusCodes.Unknown, ex); } - - return null; } private static async Task DownloadWithProgressAsync(HttpContent httpContent, IProgress progress = null, CancellationToken cancellationToken = default) diff --git a/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.Async.cs b/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.Async.cs index a2678963..525e6014 100644 --- a/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.Async.cs +++ b/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.Async.cs @@ -84,26 +84,33 @@ private async Task SendAsync(RedmineApiRequest requestMessag payload = EmptyBytes; } - response = await webClient.UploadDataTaskAsync(requestMessage.RequestUri, requestMessage.Method, payload) + response = await webClient + .UploadDataTaskAsync(requestMessage.RequestUri, requestMessage.Method, payload) .ConfigureAwait(false); } - + responseHeaders = webClient.ResponseHeaders; - if (webClient is InternalWebClient iwc) - { - statusCode = iwc.StatusCode; - } + statusCode = webClient.GetStatusCode(); } catch (WebException ex) when (ex.Status == WebExceptionStatus.RequestCanceled) { - if (cancellationToken.IsCancellationRequested) - { - throw new RedmineApiException("The operation was canceled by the user.", ex); - } + throw new RedmineOperationCanceledException(ex.Message, requestMessage.RequestUri, ex); + } + catch (WebException ex) when (ex.Status == WebExceptionStatus.Timeout) + { + throw new RedmineTimeoutException(ex.Message, requestMessage.RequestUri, ex); + } + catch (WebException webException)when (webException.Status == WebExceptionStatus.ProtocolError) + { + HandleResponseException(webException, requestMessage.RequestUri, Serializer); + } + catch (OperationCanceledException ex) + { + throw new RedmineOperationCanceledException(ex.Message, requestMessage.RequestUri, ex); } - catch (WebException webException) + catch (Exception ex) { - HandleWebException(webException, Serializer); + throw new RedmineApiException(ex.Message, requestMessage.RequestUri, null, ex); } finally { diff --git a/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs index 775b7bed..59fbae62 100644 --- a/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs +++ b/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs @@ -16,17 +16,13 @@ limitations under the License. using System; using System.Collections.Specialized; -using System.Globalization; using System.Net; using System.Text; -using Redmine.Net.Api.Authentication; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Http.Constants; -using Redmine.Net.Api.Http.Extensions; using Redmine.Net.Api.Http.Helpers; using Redmine.Net.Api.Http.Messages; -using Redmine.Net.Api.Logging; using Redmine.Net.Api.Options; using Redmine.Net.Api.Serialization; @@ -63,29 +59,14 @@ protected override object CreateContentFromBytes(byte[] data) protected override RedmineApiResponse HandleRequest(string address, string verb, RequestOptions requestOptions = null, object content = null, IProgress progress = null) { - var requestMessage = CreateRequestMessage(address, verb, requestOptions, content as RedmineApiRequestContent); + var requestMessage = CreateRequestMessage(address, verb, Serializer, requestOptions, content as RedmineApiRequestContent); - if (Options.LoggingOptions?.IncludeHttpDetails == true) - { - Options.Logger.Debug($"Request HTTP {verb} {address}"); - - if (requestOptions?.QueryString != null) - { - Options.Logger.Debug($"Query parameters: {requestOptions.QueryString.ToQueryString()}"); - } - } - var responseMessage = Send(requestMessage, progress); - if (Options.LoggingOptions?.IncludeHttpDetails == true) - { - Options.Logger.Debug($"Response status: {responseMessage.StatusCode}"); - } - return responseMessage; } - private static RedmineApiRequest CreateRequestMessage(string address, string verb, RequestOptions requestOptions = null, RedmineApiRequestContent content = null) + private static RedmineApiRequest CreateRequestMessage(string address, string verb, IRedmineSerializer serializer, RequestOptions requestOptions = null, RedmineApiRequestContent content = null) { var req = new RedmineApiRequest() { @@ -117,13 +98,18 @@ private RedmineApiResponse Send(RedmineApiRequest requestMessage, IProgress try { webClient = _webClientFunc(); - - SetWebClientHeaders(webClient, requestMessage); + + if (requestMessage.QueryString != null) + { + webClient.QueryString = requestMessage.QueryString; + } + + webClient.ApplyHeaders(requestMessage, Credentials); if (IsGetOrDownload(requestMessage.Method)) { - response = requestMessage.Method == HttpConstants.HttpVerbs.DOWNLOAD - ? DownloadWithProgress(requestMessage.RequestUri, webClient, progress) + response = requestMessage.Method == HttpConstants.HttpVerbs.DOWNLOAD + ? webClient.DownloadWithProgress(requestMessage.RequestUri, progress) : webClient.DownloadData(requestMessage.RequestUri); } else @@ -143,14 +129,30 @@ private RedmineApiResponse Send(RedmineApiRequest requestMessage, IProgress } responseHeaders = webClient.ResponseHeaders; - if (webClient is InternalWebClient iwc) + statusCode = webClient.GetStatusCode(); + } + catch (WebException webException) when (webException.Status == WebExceptionStatus.ProtocolError) + { + HandleResponseException(webException, requestMessage.RequestUri, Serializer); + } + catch (WebException webException) + { + if (webException.Status == WebExceptionStatus.RequestCanceled) + { + throw new RedmineOperationCanceledException(webException.Message, requestMessage.RequestUri, webException.InnerException); + } + + if (webException.Status == WebExceptionStatus.Timeout) { - statusCode = iwc.StatusCode; + throw new RedmineTimeoutException(webException.Message, requestMessage.RequestUri, webException.InnerException); } + + var errStatusCode = GetExceptionStatusCode(webException); + throw new RedmineApiException(webException.Message, requestMessage.RequestUri, errStatusCode, webException.InnerException); } - catch (WebException webException) + catch (Exception ex) { - HandleWebException(webException, Serializer); + throw new RedmineApiException(ex.Message, requestMessage.RequestUri, HttpConstants.StatusCodes.Unknown, ex.InnerException); } finally { @@ -164,118 +166,36 @@ private RedmineApiResponse Send(RedmineApiRequest requestMessage, IProgress StatusCode = statusCode ?? HttpStatusCode.OK, }; } - - private void SetWebClientHeaders(System.Net.WebClient webClient, RedmineApiRequest requestMessage) + + private static void HandleResponseException(WebException exception, string url, IRedmineSerializer serializer) { - if (requestMessage.QueryString != null) - { - webClient.QueryString = requestMessage.QueryString; - } - - switch (Credentials) - { - case RedmineApiKeyAuthentication: - webClient.Headers.Add(RedmineConstants.API_KEY_AUTHORIZATION_HEADER_KEY,Credentials.Token); - break; - case RedmineBasicAuthentication: - webClient.Headers.Add(RedmineConstants.AUTHORIZATION_HEADER_KEY, Credentials.Token); - break; - } - - if (!requestMessage.ImpersonateUser.IsNullOrWhiteSpace()) - { - webClient.Headers.Add(RedmineConstants.IMPERSONATE_HEADER_KEY, requestMessage.ImpersonateUser); - } - } - - private static byte[] DownloadWithProgress(string url, System.Net.WebClient webClient, IProgress progress) - { - var contentLength = GetContentLength(webClient); - byte[] data; - if (contentLength > 0) - { - using (var respStream = webClient.OpenRead(url)) - { - data = new byte[contentLength]; - var buffer = new byte[4096]; - int bytesRead; - var totalBytesRead = 0; + var innerException = exception.InnerException ?? exception; - while ((bytesRead = respStream.Read(buffer, 0, buffer.Length)) > 0) - { - Buffer.BlockCopy(buffer, 0, data, totalBytesRead, bytesRead); - totalBytesRead += bytesRead; - - ReportProgress(progress, contentLength, totalBytesRead); - } - } - } - else + if (exception.Response == null) { - data = webClient.DownloadData(url); - progress?.Report(100); + throw new RedmineApiException(exception.Message, url, null, innerException); } - return data; - } - - private static int GetContentLength(System.Net.WebClient webClient) - { - var total = -1; - if (webClient.ResponseHeaders == null) - { - return total; - } - - var contentLengthAsString = webClient.ResponseHeaders[HttpRequestHeader.ContentLength]; - total = Convert.ToInt32(contentLengthAsString, CultureInfo.InvariantCulture); - - return total; + var statusCode = GetExceptionStatusCode(exception); + + using var responseStream = exception.Response.GetResponseStream(); + throw statusCode switch + { + HttpConstants.StatusCodes.NotFound => new RedmineNotFoundException(exception.Message, url, innerException), + HttpConstants.StatusCodes.Unauthorized => new RedmineUnauthorizedException(exception.Message, url, innerException), + HttpConstants.StatusCodes.Forbidden => new RedmineForbiddenException(exception.Message, url, innerException), + HttpConstants.StatusCodes.UnprocessableEntity => RedmineExceptionHelper.CreateUnprocessableEntityException(url, responseStream, innerException, serializer), + HttpConstants.StatusCodes.NotAcceptable => new RedmineNotAcceptableException(exception.Message, innerException), + _ => new RedmineApiException(exception.Message, url, statusCode, innerException), + }; } - /// - /// Handles the web exception. - /// - /// The exception. - /// - /// Timeout! - /// Bad domain name! - /// - /// - /// - /// - /// The page that you are trying to update is staled! - /// - /// - public static void HandleWebException(WebException exception, IRedmineSerializer serializer) + private static int? GetExceptionStatusCode(WebException webException) { - if (exception == null) - { - return; - } - - var innerException = exception.InnerException ?? exception; - - switch (exception.Status) - { - case WebExceptionStatus.Timeout: - throw new RedmineTimeoutException(nameof(WebExceptionStatus.Timeout), innerException); - case WebExceptionStatus.NameResolutionFailure: - throw new NameResolutionFailureException("Bad domain name.", innerException); - case WebExceptionStatus.ProtocolError: - if (exception.Response != null) - { - var statusCode = exception.Response is HttpWebResponse httpResponse - ? (int)httpResponse.StatusCode - : (int)HttpStatusCode.InternalServerError; - - using var responseStream = exception.Response.GetResponseStream(); - RedmineExceptionHelper.MapStatusCodeToException(statusCode, responseStream, innerException, serializer); - } - - break; - } - throw new RedmineException(exception.Message, innerException); + var statusCode = webException.Response is HttpWebResponse httpResponse + ? (int)httpResponse.StatusCode + : HttpConstants.StatusCodes.Unknown; + return statusCode; } } } diff --git a/src/redmine-net-api/Http/Clients/WebClient/WebClientExtensions.cs b/src/redmine-net-api/Http/Clients/WebClient/WebClientExtensions.cs index ceb2a2cc..f959c4e9 100644 --- a/src/redmine-net-api/Http/Clients/WebClient/WebClientExtensions.cs +++ b/src/redmine-net-api/Http/Clients/WebClient/WebClientExtensions.cs @@ -28,5 +28,13 @@ public static void ApplyHeaders(this System.Net.WebClient client, RequestOptions { client.Headers.Add(header.Key, header.Value); } + internal static HttpStatusCode? GetStatusCode(this System.Net.WebClient webClient) + { + if (webClient is InternalWebClient iwc) + { + return iwc.StatusCode; + } + + return null; } } \ No newline at end of file diff --git a/src/redmine-net-api/Http/Constants/HttpConstants.cs b/src/redmine-net-api/Http/Constants/HttpConstants.cs index d1666c4b..77ad1f4c 100644 --- a/src/redmine-net-api/Http/Constants/HttpConstants.cs +++ b/src/redmine-net-api/Http/Constants/HttpConstants.cs @@ -18,10 +18,12 @@ internal static class StatusCodes public const int Conflict = 409; public const int UnprocessableEntity = 422; public const int TooManyRequests = 429; + public const int ClientCloseRequest = 499; public const int InternalServerError = 500; public const int BadGateway = 502; public const int ServiceUnavailable = 503; public const int GatewayTimeout = 504; + public const int Unknown = 999; } /// diff --git a/src/redmine-net-api/Http/Helpers/RedmineExceptionHelper.cs b/src/redmine-net-api/Http/Helpers/RedmineExceptionHelper.cs index 4e0aa252..2d51e16e 100644 --- a/src/redmine-net-api/Http/Helpers/RedmineExceptionHelper.cs +++ b/src/redmine-net-api/Http/Helpers/RedmineExceptionHelper.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.IO; -using System.Net; using System.Text; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; @@ -16,60 +15,39 @@ namespace Redmine.Net.Api.Http.Helpers; /// internal static class RedmineExceptionHelper { - /// - /// Maps an HTTP status code to an appropriate Redmine exception. - /// - /// The HTTP status code. - /// The response stream containing error details. - /// The inner exception, if any. - /// The serializer to use for deserializing error messages. - /// A specific Redmine exception based on the status code. - internal static void MapStatusCodeToException(int statusCode, Stream responseStream, Exception inner, IRedmineSerializer serializer) - { - switch (statusCode) - { - case HttpConstants.StatusCodes.NotFound: - throw new NotFoundException(HttpConstants.ErrorMessages.NotFound, inner); - - case HttpConstants.StatusCodes.Unauthorized: - throw new UnauthorizedException(HttpConstants.ErrorMessages.Unauthorized, inner); - - case HttpConstants.StatusCodes.Forbidden: - throw new ForbiddenException(HttpConstants.ErrorMessages.Forbidden, inner); - - case HttpConstants.StatusCodes.Conflict: - throw new ConflictException(HttpConstants.ErrorMessages.Conflict, inner); - - case HttpConstants.StatusCodes.UnprocessableEntity: - throw CreateUnprocessableEntityException(responseStream, inner, serializer); - - case HttpConstants.StatusCodes.NotAcceptable: - throw new NotAcceptableException(HttpConstants.ErrorMessages.NotAcceptable, inner); - - case HttpConstants.StatusCodes.InternalServerError: - throw new InternalServerErrorException(HttpConstants.ErrorMessages.InternalServerError, inner); - - default: - throw new RedmineException($"HTTP {statusCode} – {(HttpStatusCode)statusCode}", inner); - } - } - /// /// Creates an exception for a 422 Unprocessable Entity response. /// + /// /// The response stream containing error details. /// The inner exception, if any. /// The serializer to use for deserializing error messages. - /// A RedmineException with details about the validation errors. - private static RedmineException CreateUnprocessableEntityException(Stream responseStream, Exception inner, IRedmineSerializer serializer) + /// A RedmineApiException with details about the validation errors. + internal static RedmineApiException CreateUnprocessableEntityException(string uri, Stream responseStream, Exception inner, IRedmineSerializer serializer) { var errors = GetRedmineErrors(responseStream, serializer); if (errors is null) { - return new RedmineException(HttpConstants.ErrorMessages.UnprocessableEntity, inner); + return new RedmineUnprocessableEntityException(HttpConstants.ErrorMessages.UnprocessableEntity ,uri, inner); } + var message = BuildUnprocessableContentMessage(errors); + + return new RedmineUnprocessableEntityException(message, url: uri, inner); + } + + internal static RedmineApiException CreateUnprocessableEntityException(string url, string content, IRedmineSerializer serializer) + { + var paged = serializer.DeserializeToPagedResults(content); + + var message = BuildUnprocessableContentMessage(paged.Items); + + return new RedmineApiException(message: message, url: url, httpStatusCode: HttpConstants.StatusCodes.UnprocessableEntity, innerException: null); + } + + internal static string BuildUnprocessableContentMessage(List errors) + { var sb = new StringBuilder(); foreach (var error in errors) { @@ -82,7 +60,7 @@ private static RedmineException CreateUnprocessableEntityException(Stream respon sb.Length -= 1; } - return new RedmineException($"Unprocessable Content: {sb}", inner); + return sb.ToString(); } /// @@ -100,40 +78,15 @@ private static List GetRedmineErrors(Stream responseStream, IRedmineSeria using (responseStream) { - try - { - using var reader = new StreamReader(responseStream); - var content = reader.ReadToEnd(); - return GetRedmineErrors(content, serializer); - } - catch(Exception ex) + using var reader = new StreamReader(responseStream); + var content = reader.ReadToEnd(); + if (content.IsNullOrWhiteSpace()) { - throw new RedmineApiException(ex.Message, ex); + return null; } - } - } - - /// - /// Gets the Redmine errors from response content. - /// - /// The response content as a string. - /// The serializer to use for deserializing error messages. - /// A list of error objects or null if unable to parse errors. - private static List GetRedmineErrors(string content, IRedmineSerializer serializer) - { - if (content.IsNullOrWhiteSpace()) - { - return null; - } - try - { var paged = serializer.DeserializeToPagedResults(content); - return (List)paged.Items; - } - catch(Exception ex) - { - throw new RedmineException(ex.Message, ex); + return paged.Items; } } } From 8ceac85d228f2ade5adc97786a464ee931e4babd Mon Sep 17 00:00:00 2001 From: Padi Date: Mon, 2 Jun 2025 13:18:11 +0300 Subject: [PATCH 593/601] Remove unused list extensions --- .../Extensions/ListExtensions.cs | 52 ------------------- 1 file changed, 52 deletions(-) diff --git a/src/redmine-net-api/Extensions/ListExtensions.cs b/src/redmine-net-api/Extensions/ListExtensions.cs index 48ef0705..1064b3f4 100755 --- a/src/redmine-net-api/Extensions/ListExtensions.cs +++ b/src/redmine-net-api/Extensions/ListExtensions.cs @@ -23,30 +23,6 @@ namespace Redmine.Net.Api.Extensions /// public static class ListExtensions { - /// - /// Creates a deep clone of the specified list. - /// - /// The type of elements in the list. Must implement . - /// The list to be cloned. - /// Specifies whether to reset the ID for each cloned item. - /// A new list containing cloned copies of the elements from the original list. Returns null if the original list is null. - public static IList Clone(this IList listToClone, bool resetId) where T : ICloneable - { - if (listToClone == null) - { - return null; - } - - var clonedList = new List(listToClone.Count); - - foreach (var item in listToClone) - { - clonedList.Add(item.Clone(resetId)); - } - - return clonedList; - } - /// /// Creates a deep clone of the specified list. /// @@ -70,34 +46,6 @@ public static List Clone(this List listToClone, bool resetId) where T : return clonedList; } - /// - /// Compares two lists for equality by checking if they contain the same elements in the same order. - /// - /// The type of elements in the lists. Must be a reference type. - /// The first list to be compared. - /// The second list to be compared. - /// True if both lists contain the same elements in the same order; otherwise, false. Returns false if either list is null. - public static bool Equals(this IList list, IList listToCompare) where T : class - { - if (list == null || listToCompare == null) - { - return false; - } - - if (list.Count != listToCompare.Count) - { - return false; - } - - var index = 0; - while (index < list.Count && list[index].Equals(listToCompare[index])) - { - index++; - } - - return index == list.Count; - } - /// /// Compares two lists for equality based on their elements. /// From 99a46b63fac1ae9d6f977812129e5b4541606f53 Mon Sep 17 00:00:00 2001 From: Padi Date: Mon, 2 Jun 2025 13:18:41 +0300 Subject: [PATCH 594/601] Exceptions --- .../Extensions/IdentifiableNameExtensions.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs b/src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs index beed972a..b461a8e4 100644 --- a/src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs +++ b/src/redmine-net-api/Extensions/IdentifiableNameExtensions.cs @@ -1,6 +1,8 @@ +using System; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Types; - +using Version = Redmine.Net.Api.Types.Version; + namespace Redmine.Net.Api.Extensions { /// @@ -57,7 +59,7 @@ public static IdentifiableName ToIdentifier(this int val) { if (val <= 0) { - throw new RedmineException(nameof(val), "Value must be greater than zero"); + throw new ArgumentException("Value must be greater than zero", nameof(val)); } return new IdentifiableName(val, null); @@ -73,7 +75,7 @@ public static IssueStatus ToIssueStatusIdentifier(this int val) { if (val <= 0) { - throw new RedmineException(nameof(val), "Value must be greater than zero"); + throw new ArgumentException("Value must be greater than zero", nameof(val)); } return new IssueStatus(val, null); From f9412d1911d0dd67fac717248592d56771cf61d8 Mon Sep 17 00:00:00 2001 From: Padi Date: Mon, 2 Jun 2025 13:19:46 +0300 Subject: [PATCH 595/601] Add accept, UserAgent & Headers --- .../Http/Messages/RedmineApiRequest.cs | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/src/redmine-net-api/Http/Messages/RedmineApiRequest.cs b/src/redmine-net-api/Http/Messages/RedmineApiRequest.cs index ad42592d..bce2a22f 100644 --- a/src/redmine-net-api/Http/Messages/RedmineApiRequest.cs +++ b/src/redmine-net-api/Http/Messages/RedmineApiRequest.cs @@ -14,6 +14,7 @@ You may obtain a copy of the License at limitations under the License. */ +using System.Collections.Generic; using System.Collections.Specialized; using Redmine.Net.Api.Http.Clients.WebClient; using Redmine.Net.Api.Http.Constants; @@ -22,11 +23,46 @@ namespace Redmine.Net.Api.Http.Messages; internal sealed class RedmineApiRequest { + /// + /// + /// public RedmineApiRequestContent Content { get; set; } + + /// + /// + /// public string Method { get; set; } = HttpConstants.HttpVerbs.GET; + + /// + /// + /// public string RequestUri { get; set; } + + /// + /// + /// public NameValueCollection QueryString { get; set; } + /// + /// + /// public string ImpersonateUser { get; set; } + /// + /// + /// public string ContentType { get; set; } + + /// + /// + /// + public string Accept { get; set; } + /// + /// + /// + public string UserAgent { get; set; } + + /// + /// + /// + public Dictionary Headers { get; set; } } \ No newline at end of file From 66420ae8cbf87fd786c4a8eead5e77f8f70ada76 Mon Sep 17 00:00:00 2001 From: Padi Date: Mon, 2 Jun 2025 13:21:54 +0300 Subject: [PATCH 596/601] Apply the new headers --- .../InternalRedmineApiHttpClient.Async.cs | 2 +- .../InternalRedmineApiHttpClient.cs | 36 ++++++-- .../InternalRedmineApiWebClient.Async.cs | 26 ++++-- .../WebClient/InternalRedmineApiWebClient.cs | 19 ++++ .../Clients/WebClient/WebClientExtensions.cs | 88 +++++++++++++++++-- .../Http/Helpers/ClientHelper.cs | 16 ++++ .../Http/Helpers/RedmineHttpMethodHelper.cs | 2 +- src/redmine-net-api/Http/RedmineApiClient.cs | 45 +++++----- 8 files changed, 180 insertions(+), 54 deletions(-) create mode 100644 src/redmine-net-api/Http/Helpers/ClientHelper.cs diff --git a/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.Async.cs b/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.Async.cs index 25beece1..6f2f7e10 100644 --- a/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.Async.cs +++ b/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.Async.cs @@ -139,7 +139,7 @@ private static async Task DownloadWithProgressAsync(HttpContent httpCont var progressPercentage = (int)(totalBytesRead * 100 / contentLength); progress?.Report(progressPercentage); - ReportProgress(progress, contentLength, totalBytesRead); + ClientHelper.ReportProgress(progress, contentLength, totalBytesRead); } } } diff --git a/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.cs b/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.cs index a68897d6..c785145c 100644 --- a/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.cs +++ b/src/redmine-net-api/Http/Clients/HttpClient/InternalRedmineApiHttpClient.cs @@ -31,7 +31,6 @@ namespace Redmine.Net.Api.Http.Clients.HttpClient; internal sealed partial class InternalRedmineApiHttpClient : RedmineApiClient { private static readonly HttpMethod PatchMethod = new HttpMethod("PATCH"); - private static readonly HttpMethod DownloadMethod = new HttpMethod("DOWNLOAD"); private static readonly Encoding DefaultEncoding = Encoding.UTF8; private readonly System.Net.Http.HttpClient _httpClient; @@ -68,19 +67,14 @@ protected override RedmineApiResponse HandleRequest(string address, string verb, var httpMethod = GetHttpMethod(verb); using (var requestMessage = CreateRequestMessage(address, httpMethod, requestOptions, content as HttpContent)) { - // LogRequest(verb, address, requestOptions); - var response = Send(requestMessage, progress); - - // LogResponse(response.StatusCode); - return response; } } private RedmineApiResponse Send(HttpRequestMessage requestMessage, IProgress progress = null) { - return TaskExtensions.Synchronize(()=>SendAsync(requestMessage, progress)); + return TaskExtensions.Synchronize(() => SendAsync(requestMessage, progress)); } private HttpRequestMessage CreateRequestMessage(string address, HttpMethod method, @@ -136,11 +130,35 @@ private HttpRequestMessage CreateRequestMessage(string address, HttpMethod metho { httpRequest.Headers.Add(RedmineConstants.IMPERSONATE_HEADER_KEY, requestOptions.ImpersonateUser); } + + if (!requestOptions.Accept.IsNullOrWhiteSpace()) + { + httpRequest.Headers.Accept.ParseAdd(requestOptions.Accept); + } + + if (!requestOptions.UserAgent.IsNullOrWhiteSpace()) + { + httpRequest.Headers.UserAgent.ParseAdd(requestOptions.UserAgent); + } + + if (requestOptions.Headers != null) + { + foreach (var header in requestOptions.Headers) + { + httpRequest.Headers.TryAddWithoutValidation(header.Key, header.Value); + } + } } - if (content != null) + if (content == null) + { + return httpRequest; + } + + httpRequest.Content = content; + if (requestOptions?.ContentType != null) { - httpRequest.Content = content ; + content.Headers.ContentType = new MediaTypeHeaderValue(requestOptions.ContentType); } return httpRequest; diff --git a/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.Async.cs b/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.Async.cs index 525e6014..94277181 100644 --- a/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.Async.cs +++ b/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.Async.cs @@ -34,7 +34,13 @@ internal sealed partial class InternalRedmineApiWebClient protected override async Task HandleRequestAsync(string address, string verb, RequestOptions requestOptions = null, object content = null, IProgress progress = null, CancellationToken cancellationToken = default) { - return await SendAsync(CreateRequestMessage(address, verb, requestOptions, content as RedmineApiRequestContent), progress, cancellationToken: cancellationToken).ConfigureAwait(false); + LogRequest(verb, address, requestOptions); + + var response = await SendAsync(CreateRequestMessage(address, verb, Serializer, requestOptions, content as RedmineApiRequestContent), progress, cancellationToken: cancellationToken).ConfigureAwait(false); + + LogResponse((int)response.StatusCode); + + return response; } private async Task SendAsync(RedmineApiRequest requestMessage, IProgress progress = null, CancellationToken cancellationToken = default) @@ -44,7 +50,7 @@ private async Task SendAsync(RedmineApiRequest requestMessag HttpStatusCode? statusCode = null; NameValueCollection responseHeaders = null; CancellationTokenRegistration cancellationTokenRegistration = default; - + try { webClient = _webClientFunc(); @@ -53,20 +59,22 @@ private async Task SendAsync(RedmineApiRequest requestMessag static state => ((System.Net.WebClient)state).CancelAsync(), webClient ); - + cancellationToken.ThrowIfCancellationRequested(); if (progress != null) { - webClient.DownloadProgressChanged += (_, e) => - { - progress.Report(e.ProgressPercentage); - }; + webClient.DownloadProgressChanged += (_, e) => { progress.Report(e.ProgressPercentage); }; + } + + if (requestMessage.QueryString != null) + { + webClient.QueryString = requestMessage.QueryString; } - SetWebClientHeaders(webClient, requestMessage); + webClient.ApplyHeaders(requestMessage, Credentials); - if(IsGetOrDownload(requestMessage.Method)) + if (IsGetOrDownload(requestMessage.Method)) { response = await webClient.DownloadDataTaskAsync(requestMessage.RequestUri) .ConfigureAwait(false); diff --git a/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs b/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs index 59fbae62..b4eb7a7b 100644 --- a/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs +++ b/src/redmine-net-api/Http/Clients/WebClient/InternalRedmineApiWebClient.cs @@ -78,11 +78,30 @@ private static RedmineApiRequest CreateRequestMessage(string address, string ver { req.QueryString = requestOptions.QueryString; req.ImpersonateUser = requestOptions.ImpersonateUser; + if (!requestOptions.Accept.IsNullOrWhiteSpace()) + { + req.Accept = requestOptions.Accept; + } + + if (requestOptions.Headers != null) + { + req.Headers = requestOptions.Headers; + } + + if (!requestOptions.UserAgent.IsNullOrWhiteSpace()) + { + req.UserAgent = requestOptions.UserAgent; + } } if (content != null) { req.Content = content; + req.ContentType = content.ContentType; + } + else + { + req.ContentType = serializer.ContentType; } return req; diff --git a/src/redmine-net-api/Http/Clients/WebClient/WebClientExtensions.cs b/src/redmine-net-api/Http/Clients/WebClient/WebClientExtensions.cs index f959c4e9..3a831655 100644 --- a/src/redmine-net-api/Http/Clients/WebClient/WebClientExtensions.cs +++ b/src/redmine-net-api/Http/Clients/WebClient/WebClientExtensions.cs @@ -1,33 +1,103 @@ +using System; +using System.Globalization; +using System.Net; +using Redmine.Net.Api.Authentication; using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Serialization; +using Redmine.Net.Api.Http.Helpers; +using Redmine.Net.Api.Http.Messages; namespace Redmine.Net.Api.Http.Clients.WebClient; internal static class WebClientExtensions { - public static void ApplyHeaders(this System.Net.WebClient client, RequestOptions options, IRedmineSerializer serializer) + public static void ApplyHeaders(this System.Net.WebClient client, RedmineApiRequest request, IRedmineAuthentication authentication) { - client.Headers.Add(RedmineConstants.CONTENT_TYPE_HEADER_KEY, options.ContentType ?? serializer.ContentType); + switch (authentication) + { + case RedmineApiKeyAuthentication: + client.Headers.Add(RedmineConstants.API_KEY_AUTHORIZATION_HEADER_KEY, authentication.Token); + break; + case RedmineBasicAuthentication: + client.Headers.Add(RedmineConstants.AUTHORIZATION_HEADER_KEY, authentication.Token); + break; + } + + client.Headers.Add(RedmineConstants.CONTENT_TYPE_HEADER_KEY, request.ContentType); - if (!options.UserAgent.IsNullOrWhiteSpace()) + if (!request.UserAgent.IsNullOrWhiteSpace()) { - client.Headers.Add(RedmineConstants.USER_AGENT_HEADER_KEY, options.UserAgent); + client.Headers.Add(RedmineConstants.USER_AGENT_HEADER_KEY, request.UserAgent); } - if (!options.ImpersonateUser.IsNullOrWhiteSpace()) + if (!request.ImpersonateUser.IsNullOrWhiteSpace()) { - client.Headers.Add(RedmineConstants.IMPERSONATE_HEADER_KEY, options.ImpersonateUser); + client.Headers.Add(RedmineConstants.IMPERSONATE_HEADER_KEY, request.ImpersonateUser); } - if (options.Headers is not { Count: > 0 }) + if (request.Headers is not { Count: > 0 }) { return; } - foreach (var header in options.Headers) + foreach (var header in request.Headers) { client.Headers.Add(header.Key, header.Value); } + + if (!request.Accept.IsNullOrWhiteSpace()) + { + client.Headers.Add(HttpRequestHeader.Accept, request.Accept); + } + } + + internal static byte[] DownloadWithProgress(this System.Net.WebClient webClient, string url, IProgress progress) + { + var contentLength = GetContentLength(webClient); + byte[] data; + if (contentLength > 0) + { + using (var respStream = webClient.OpenRead(url)) + { + data = new byte[contentLength]; + var buffer = new byte[4096]; + int bytesRead; + var totalBytesRead = 0; + + while ((bytesRead = respStream.Read(buffer, 0, buffer.Length)) > 0) + { + Buffer.BlockCopy(buffer, 0, data, totalBytesRead, bytesRead); + totalBytesRead += bytesRead; + + ClientHelper.ReportProgress(progress, contentLength, totalBytesRead); + } + } + } + else + { + data = webClient.DownloadData(url); + progress?.Report(100); + } + + return data; + } + + internal static long GetContentLength(this System.Net.WebClient webClient) + { + var total = -1L; + if (webClient.ResponseHeaders == null) + { + return total; + } + + var contentLengthAsString = webClient.ResponseHeaders[HttpRequestHeader.ContentLength]; + if (!string.IsNullOrEmpty(contentLengthAsString)) + { + total = Convert.ToInt64(contentLengthAsString, CultureInfo.InvariantCulture); + } + + return total; + } + internal static HttpStatusCode? GetStatusCode(this System.Net.WebClient webClient) { if (webClient is InternalWebClient iwc) diff --git a/src/redmine-net-api/Http/Helpers/ClientHelper.cs b/src/redmine-net-api/Http/Helpers/ClientHelper.cs new file mode 100644 index 00000000..6ffbef3b --- /dev/null +++ b/src/redmine-net-api/Http/Helpers/ClientHelper.cs @@ -0,0 +1,16 @@ +using System; + +namespace Redmine.Net.Api.Http.Helpers; + +internal static class ClientHelper +{ + internal static void ReportProgress(IProgressprogress, long total, long bytesRead) + { + if (progress == null || total <= 0) + { + return; + } + var percent = (int)(bytesRead * 100L / total); + progress.Report(percent); + } +} \ No newline at end of file diff --git a/src/redmine-net-api/Http/Helpers/RedmineHttpMethodHelper.cs b/src/redmine-net-api/Http/Helpers/RedmineHttpMethodHelper.cs index c3fc7e10..6adee604 100644 --- a/src/redmine-net-api/Http/Helpers/RedmineHttpMethodHelper.cs +++ b/src/redmine-net-api/Http/Helpers/RedmineHttpMethodHelper.cs @@ -47,7 +47,7 @@ public static bool IsGetOrDownload(string method) /// /// The HTTP response status code. /// True if the status code represents a transient error; otherwise, false. - private static bool IsTransientError(int statusCode) + internal static bool IsTransientError(int statusCode) { return statusCode switch { diff --git a/src/redmine-net-api/Http/RedmineApiClient.cs b/src/redmine-net-api/Http/RedmineApiClient.cs index 0f2889e4..93b56aef 100644 --- a/src/redmine-net-api/Http/RedmineApiClient.cs +++ b/src/redmine-net-api/Http/RedmineApiClient.cs @@ -1,7 +1,11 @@ using System; +using System.Net; using Redmine.Net.Api.Authentication; +using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Http.Constants; +using Redmine.Net.Api.Http.Extensions; using Redmine.Net.Api.Http.Messages; +using Redmine.Net.Api.Logging; using Redmine.Net.Api.Options; using Redmine.Net.Api.Serialization; @@ -77,35 +81,26 @@ protected static bool IsGetOrDownload(string method) return method is HttpConstants.HttpVerbs.GET or HttpConstants.HttpVerbs.DOWNLOAD; } - protected static void ReportProgress(IProgressprogress, long total, long bytesRead) + protected void LogRequest(string verb, string address, RequestOptions requestOptions) { - if (progress == null || total <= 0) + if (Options.LoggingOptions?.IncludeHttpDetails != true) { return; } - var percent = (int)(bytesRead * 100L / total); - progress.Report(percent); + + Options.Logger.Info($"Request HTTP {verb} {address}"); + + if (requestOptions?.QueryString != null) + { + Options.Logger.Info($"Query parameters: {requestOptions.QueryString.ToQueryString()}"); + } } - // protected void LogRequest(string verb, string address, RequestOptions requestOptions) - // { - // if (_options.LoggingOptions?.IncludeHttpDetails == true) - // { - // _options.Logger.Debug($"Request HTTP {verb} {address}"); - // - // if (requestOptions?.QueryString != null) - // { - // _options.Logger.Debug($"Query parameters: {requestOptions.QueryString.ToQueryString()}"); - // } - // } - // } - // - // protected void LogResponse(HttpStatusCode statusCode) - // { - // if (_options.LoggingOptions?.IncludeHttpDetails == true) - // { - // _options.Logger.Debug($"Response status: {statusCode}"); - // } - // } - + protected void LogResponse(int statusCode) + { + if (Options.LoggingOptions?.IncludeHttpDetails == true) + { + Options.Logger.Info($"Response status: {statusCode.ToInvariantString()}"); + } + } } \ No newline at end of file From 22ee383d2a0880e9e1f1fb8edeebbc4ce7582b0b Mon Sep 17 00:00:00 2001 From: Padi Date: Mon, 2 Jun 2025 13:24:59 +0300 Subject: [PATCH 597/601] Move config to appsettings --- .../RedmineTestContainerCollection.cs | 0 .../Fixtures/RedmineTestContainerFixture.cs | 148 +++++++++--------- .../Infrastructure/ClientType.cs | 7 + .../Infrastructure/ConfigurationHelper.cs | 1 + .../Options/AuthenticationMode.cs | 8 + .../Options/AuthenticationOptions.cs | 8 + .../Options/BasicAuthenticationOptions.cs | 7 + .../Infrastructure/Options/PostgresOptions.cs | 10 ++ .../Infrastructure/Options/RedmineOptions.cs | 15 ++ .../Options/TestContainerOptions.cs | 10 ++ .../Infrastructure/RedmineConfiguration.cs | 3 + .../Infrastructure/RedmineOptions.cs | 35 ----- .../Infrastructure/SerializationType.cs | 7 + .../Infrastructure/TestContainerMode.cs | 13 ++ .../Tests/Common/TestConstants.cs | 2 +- .../appsettings.json | 28 +++- .../appsettings.local.json | 10 +- 17 files changed, 194 insertions(+), 118 deletions(-) rename tests/redmine-net-api.Integration.Tests/{Fixtures => Collections}/RedmineTestContainerCollection.cs (100%) create mode 100644 tests/redmine-net-api.Integration.Tests/Infrastructure/ClientType.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Infrastructure/Options/AuthenticationMode.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Infrastructure/Options/AuthenticationOptions.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Infrastructure/Options/BasicAuthenticationOptions.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Infrastructure/Options/PostgresOptions.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Infrastructure/Options/RedmineOptions.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Infrastructure/Options/TestContainerOptions.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineConfiguration.cs delete mode 100644 tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineOptions.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Infrastructure/SerializationType.cs create mode 100644 tests/redmine-net-api.Integration.Tests/Infrastructure/TestContainerMode.cs diff --git a/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerCollection.cs b/tests/redmine-net-api.Integration.Tests/Collections/RedmineTestContainerCollection.cs similarity index 100% rename from tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerCollection.cs rename to tests/redmine-net-api.Integration.Tests/Collections/RedmineTestContainerCollection.cs diff --git a/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs b/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs index a840849b..06fc5750 100644 --- a/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs +++ b/tests/redmine-net-api.Integration.Tests/Fixtures/RedmineTestContainerFixture.cs @@ -4,6 +4,7 @@ using DotNet.Testcontainers.Networks; using Npgsql; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure.Options; using Redmine.Net.Api; using Redmine.Net.Api.Options; using Testcontainers.PostgreSql; @@ -13,19 +14,11 @@ namespace Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; public class RedmineTestContainerFixture : IAsyncLifetime { - private const int RedminePort = 3000; - private const int PostgresPort = 5432; - private const string PostgresImage = "postgres:17.4-alpine"; - private const string RedmineImage = "redmine:6.0.5-alpine"; - private const string PostgresDb = "postgres"; - private const string PostgresUser = "postgres"; - private const string PostgresPassword = "postgres"; - private const string RedmineSqlFilePath = "TestData/init-redmine.sql"; - - private readonly string RedmineNetworkAlias = Guid.NewGuid().ToString(); + private readonly RedmineConfiguration _configuration; + private readonly string _redmineNetworkAlias = Guid.NewGuid().ToString(); private readonly ITestOutputHelper _output; - private readonly TestContainerOptions _redmineOptions; + private readonly TestContainerOptions _testContainerOptions; private INetwork Network { get; set; } private PostgreSqlContainer PostgresContainer { get; set; } @@ -35,9 +28,10 @@ public class RedmineTestContainerFixture : IAsyncLifetime public RedmineTestContainerFixture() { - _redmineOptions = ConfigurationHelper.GetConfiguration(); + //_configuration = configuration; + _testContainerOptions = ConfigurationHelper.GetConfiguration(); - if (_redmineOptions.Mode != TestContainerMode.UseExisting) + if (_testContainerOptions.Mode != TestContainerMode.UseExisting) { BuildContainers(); } @@ -60,52 +54,50 @@ private void BuildContainers() .Build(); var postgresBuilder = new PostgreSqlBuilder() - .WithImage(PostgresImage) + .WithImage(_testContainerOptions.Postgres.Image) .WithNetwork(Network) - .WithNetworkAliases(RedmineNetworkAlias) - .WithPortBinding(PostgresPort, assignRandomHostPort: true) + .WithNetworkAliases(_redmineNetworkAlias) .WithEnvironment(new Dictionary { - { "POSTGRES_DB", PostgresDb }, - { "POSTGRES_USER", PostgresUser }, - { "POSTGRES_PASSWORD", PostgresPassword }, + { "POSTGRES_DB", _testContainerOptions.Postgres.Database }, + { "POSTGRES_USER", _testContainerOptions.Postgres.User }, + { "POSTGRES_PASSWORD", _testContainerOptions.Postgres.Password }, }) - .WithWaitStrategy(Wait.ForUnixContainer().UntilPortIsAvailable(PostgresPort)); + .WithWaitStrategy(Wait.ForUnixContainer().UntilPortIsAvailable(_testContainerOptions.Postgres.Port)); - if (_redmineOptions.Mode == TestContainerMode.CreateNewWithRandomPorts) + if (_testContainerOptions.Mode == TestContainerMode.CreateNewWithRandomPorts) { - postgresBuilder.WithPortBinding(PostgresPort, assignRandomHostPort: true); + postgresBuilder.WithPortBinding(_testContainerOptions.Postgres.Port, assignRandomHostPort: true); } else { - postgresBuilder.WithPortBinding(PostgresPort, PostgresPort); + postgresBuilder.WithPortBinding(_testContainerOptions.Postgres.Port, _testContainerOptions.Postgres.Port); } PostgresContainer = postgresBuilder.Build(); var redmineBuilder = new ContainerBuilder() - .WithImage(RedmineImage) + .WithImage(_testContainerOptions.Redmine.Image) .WithNetwork(Network) - .WithPortBinding(RedminePort, assignRandomHostPort: true) .WithEnvironment(new Dictionary { - { "REDMINE_DB_POSTGRES", RedmineNetworkAlias }, - { "REDMINE_DB_PORT", PostgresPort.ToString() }, - { "REDMINE_DB_DATABASE", PostgresDb }, - { "REDMINE_DB_USERNAME", PostgresUser }, - { "REDMINE_DB_PASSWORD", PostgresPassword }, + { "REDMINE_DB_POSTGRES", _redmineNetworkAlias }, + { "REDMINE_DB_PORT", _testContainerOptions.Redmine.Port.ToString() }, + { "REDMINE_DB_DATABASE", _testContainerOptions.Postgres.Database }, + { "REDMINE_DB_USERNAME", _testContainerOptions.Postgres.User }, + { "REDMINE_DB_PASSWORD", _testContainerOptions.Postgres.Password }, }) .DependsOn(PostgresContainer) .WithWaitStrategy(Wait.ForUnixContainer() - .UntilHttpRequestIsSucceeded(request => request.ForPort(RedminePort).ForPath("/"))); + .UntilHttpRequestIsSucceeded(request => request.ForPort((ushort)_testContainerOptions.Redmine.Port).ForPath("/"))); - if (_redmineOptions.Mode == TestContainerMode.CreateNewWithRandomPorts) + if (_testContainerOptions.Mode == TestContainerMode.CreateNewWithRandomPorts) { - redmineBuilder.WithPortBinding(RedminePort, assignRandomHostPort: true); + redmineBuilder.WithPortBinding(_testContainerOptions.Redmine.Port, assignRandomHostPort: true); } else { - redmineBuilder.WithPortBinding(RedminePort, RedminePort); + redmineBuilder.WithPortBinding(_testContainerOptions.Redmine.Port, _testContainerOptions.Redmine.Port); } RedmineContainer = redmineBuilder.Build(); @@ -115,22 +107,22 @@ public async Task InitializeAsync() { var rmgBuilder = new RedmineManagerOptionsBuilder(); - switch (_redmineOptions.AuthenticationMode) + switch (_testContainerOptions.Redmine.AuthenticationMode) { case AuthenticationMode.ApiKey: - var apiKey = _redmineOptions.Authentication.ApiKey; + var apiKey = _testContainerOptions.Redmine.Authentication.ApiKey; rmgBuilder.WithApiKeyAuthentication(apiKey); break; case AuthenticationMode.Basic: - var username = _redmineOptions.Authentication.Basic.Username; - var password = _redmineOptions.Authentication.Basic.Password; + var username = _testContainerOptions.Redmine.Authentication.Basic.Username; + var password = _testContainerOptions.Redmine.Authentication.Basic.Password; rmgBuilder.WithBasicAuthentication(username, password); break; } - if (_redmineOptions.Mode == TestContainerMode.UseExisting) + if (_testContainerOptions.Mode == TestContainerMode.UseExisting) { - RedmineHost = _redmineOptions.Url; + RedmineHost = _testContainerOptions.Redmine.Url; } else { @@ -142,32 +134,60 @@ public async Task InitializeAsync() await SeedTestDataAsync(PostgresContainer, CancellationToken.None); - RedmineHost = $"http://{RedmineContainer.Hostname}:{RedmineContainer.GetMappedPublicPort(RedminePort)}"; + RedmineHost = $"http://{RedmineContainer.Hostname}:{RedmineContainer.GetMappedPublicPort(_testContainerOptions.Redmine.Port)}"; + } + + rmgBuilder.WithHost(RedmineHost); + + if (_configuration != null) + { + switch (_configuration.Client) + { + case ClientType.Http: + rmgBuilder.UseHttpClient(); + break; + case ClientType.Web: + rmgBuilder.UseWebClient(); + break; + } + + switch (_configuration.Serialization) + { + case SerializationType.Xml: + rmgBuilder.WithXmlSerialization(); + break; + case SerializationType.Json: + rmgBuilder.WithJsonSerialization(); + break; + } + } + else + { + rmgBuilder + .UseHttpClient() + // .UseWebClient() + .WithXmlSerialization(); } - rmgBuilder - .WithHost(RedmineHost) - .UseHttpClient() - //.UseWebClient() - .WithXmlSerialization(); - RedmineManager = new RedmineManager(rmgBuilder); } public async Task DisposeAsync() { var exceptions = new List(); - - if (_redmineOptions.Mode != TestContainerMode.UseExisting) + + if (_testContainerOptions.Mode == TestContainerMode.UseExisting) { - await SafeDisposeAsync(() => RedmineContainer.StopAsync()); - await SafeDisposeAsync(() => PostgresContainer.StopAsync()); - await SafeDisposeAsync(() => Network.DisposeAsync().AsTask()); + return; + } + + await SafeDisposeAsync(() => RedmineContainer.StopAsync()); + await SafeDisposeAsync(() => PostgresContainer.StopAsync()); + await SafeDisposeAsync(() => Network.DisposeAsync().AsTask()); - if (exceptions.Count > 0) - { - throw new AggregateException(exceptions); - } + if (exceptions.Count > 0) + { + throw new AggregateException(exceptions); } return; @@ -207,23 +227,11 @@ private async Task SeedTestDataAsync(PostgreSqlContainer container, Cancellation await Task.Delay(dbRetryDelay, ct); } } - var sql = await System.IO.File.ReadAllTextAsync(RedmineSqlFilePath, ct); + var sql = await System.IO.File.ReadAllTextAsync(_testContainerOptions.Redmine.SqlFilePath, ct); var res = await container.ExecScriptAsync(sql, ct); if (!string.IsNullOrWhiteSpace(res.Stderr)) { _output.WriteLine(res.Stderr); } } -} - -/// -/// Enum defining how containers should be managed -/// -public enum TestContainerMode -{ - /// Use existing running containers at specified URL - UseExisting, - - /// Create new containers with random ports (CI-friendly) - CreateNewWithRandomPorts -} +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/ClientType.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/ClientType.cs new file mode 100644 index 00000000..62dff405 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/ClientType.cs @@ -0,0 +1,7 @@ +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; + +public enum ClientType +{ + Http, + Web +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/ConfigurationHelper.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/ConfigurationHelper.cs index 19a92aa9..8d1214f3 100644 --- a/tests/redmine-net-api.Integration.Tests/Infrastructure/ConfigurationHelper.cs +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/ConfigurationHelper.cs @@ -1,4 +1,5 @@ using Microsoft.Extensions.Configuration; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure.Options; namespace Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure { diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/AuthenticationMode.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/AuthenticationMode.cs new file mode 100644 index 00000000..45b5d786 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/AuthenticationMode.cs @@ -0,0 +1,8 @@ +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure.Options; + +public enum AuthenticationMode +{ + None, + ApiKey, + Basic +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/AuthenticationOptions.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/AuthenticationOptions.cs new file mode 100644 index 00000000..bed34dff --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/AuthenticationOptions.cs @@ -0,0 +1,8 @@ +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure.Options; + +public sealed class AuthenticationOptions +{ + public string ApiKey { get; set; } + + public BasicAuthenticationOptions Basic { get; set; } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/BasicAuthenticationOptions.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/BasicAuthenticationOptions.cs new file mode 100644 index 00000000..9aa9f28a --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/BasicAuthenticationOptions.cs @@ -0,0 +1,7 @@ +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure.Options; + +public sealed class BasicAuthenticationOptions +{ + public string Username { get; set; } + public string Password { get; set; } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/PostgresOptions.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/PostgresOptions.cs new file mode 100644 index 00000000..77093b4c --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/PostgresOptions.cs @@ -0,0 +1,10 @@ +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure.Options; + +public sealed class PostgresOptions +{ + public int Port { get; set; } + public string Image { get; set; } = string.Empty; + public string Database { get; set; } = string.Empty; + public string User { get; set; } = string.Empty; + public string Password { get; set; } = string.Empty; +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/RedmineOptions.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/RedmineOptions.cs new file mode 100644 index 00000000..8e7cb6b2 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/RedmineOptions.cs @@ -0,0 +1,15 @@ +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure.Options +{ + public sealed class RedmineOptions + { + public string Url { get; set; } + + public AuthenticationMode AuthenticationMode { get; set; } + + public AuthenticationOptions Authentication { get; set; } + + public int Port { get; set; } + public string Image { get; set; } = string.Empty; + public string SqlFilePath { get; set; } = string.Empty; + } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/TestContainerOptions.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/TestContainerOptions.cs new file mode 100644 index 00000000..c26821c6 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/Options/TestContainerOptions.cs @@ -0,0 +1,10 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure.Options; + +public sealed class TestContainerOptions +{ + public RedmineOptions Redmine { get; set; } + public PostgresOptions Postgres { get; set; } + public TestContainerMode Mode { get; set; } +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineConfiguration.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineConfiguration.cs new file mode 100644 index 00000000..4a82568a --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineConfiguration.cs @@ -0,0 +1,3 @@ +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; + +public record RedmineConfiguration(SerializationType Serialization, ClientType Client); \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineOptions.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineOptions.cs deleted file mode 100644 index 2c5f5d09..00000000 --- a/tests/redmine-net-api.Integration.Tests/Infrastructure/RedmineOptions.cs +++ /dev/null @@ -1,35 +0,0 @@ -using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; - -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure -{ - public sealed class TestContainerOptions - { - public string Url { get; set; } - - public AuthenticationMode AuthenticationMode { get; set; } - - public Authentication Authentication { get; set; } - - public TestContainerMode Mode { get; set; } - } - - public sealed class Authentication - { - public string ApiKey { get; set; } - - public BasicAuthentication Basic { get; set; } - } - - public sealed class BasicAuthentication - { - public string Username { get; set; } - public string Password { get; set; } - } - - public enum AuthenticationMode - { - None, - ApiKey, - Basic - } -} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/SerializationType.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/SerializationType.cs new file mode 100644 index 00000000..8ba1ed61 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/SerializationType.cs @@ -0,0 +1,7 @@ +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; + +public enum SerializationType +{ + Xml, + Json +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Infrastructure/TestContainerMode.cs b/tests/redmine-net-api.Integration.Tests/Infrastructure/TestContainerMode.cs new file mode 100644 index 00000000..03a2443a --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Infrastructure/TestContainerMode.cs @@ -0,0 +1,13 @@ +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; + +/// +/// Enum defining how containers should be managed +/// +public enum TestContainerMode +{ + /// Use existing running containers at specified URL + UseExisting, + + /// Create new containers with random ports (CI-friendly) + CreateNewWithRandomPorts +} \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Common/TestConstants.cs b/tests/redmine-net-api.Integration.Tests/Tests/Common/TestConstants.cs index bf16727b..12c4f636 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Common/TestConstants.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Common/TestConstants.cs @@ -1,7 +1,7 @@ using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; public static class TestConstants { diff --git a/tests/redmine-net-api.Integration.Tests/appsettings.json b/tests/redmine-net-api.Integration.Tests/appsettings.json index 0c75cfe4..585ef671 100644 --- a/tests/redmine-net-api.Integration.Tests/appsettings.json +++ b/tests/redmine-net-api.Integration.Tests/appsettings.json @@ -1,14 +1,26 @@ { "TestContainer": { "Mode": "CreateNewWithRandomPorts", - "Url": "$Url", - "AuthenticationMode": "ApiKey", - "Authentication": { - "Basic":{ - "Username": "$Username", - "Password": "$Password" - }, - "ApiKey": "$ApiKey" + "Redmine":{ + "Url": "$Url", + "Port": 3000, + "Image": "redmine:6.0.5-alpine", + "SqlFilePath": "TestData/init-redmine.sql", + "AuthenticationMode": "ApiKey", + "Authentication": { + "Basic":{ + "Username": "$Username", + "Password": "$Password" + }, + "ApiKey": "$ApiKey" + } + }, + "Postgres": { + "Port": 5432, + "Image": "postgres:17.4-alpine", + "Database": "postgres", + "User": "postgres", + "Password": "postgres" } } } diff --git a/tests/redmine-net-api.Integration.Tests/appsettings.local.json b/tests/redmine-net-api.Integration.Tests/appsettings.local.json index 9c508d1e..65fce933 100644 --- a/tests/redmine-net-api.Integration.Tests/appsettings.local.json +++ b/tests/redmine-net-api.Integration.Tests/appsettings.local.json @@ -1,10 +1,12 @@ { "TestContainer": { "Mode": "UseExisting", - "Url": "http://localhost:8089/", - "AuthenticationMode": "ApiKey", - "Authentication": { - "ApiKey": "61d6fa45ca2c570372b08b8c54b921e5fc39335a" + "Redmine":{ + "Url": "http://localhost:8089/", + "AuthenticationMode": "ApiKey", + "Authentication": { + "ApiKey": "61d6fa45ca2c570372b08b8c54b921e5fc39335a" + } } } } From db659bd6d07e84af606af1d69f4c249e21e931ad Mon Sep 17 00:00:00 2001 From: Padi Date: Mon, 2 Jun 2025 13:25:59 +0300 Subject: [PATCH 598/601] [IntegrationTests] Add & improve --- .../Tests/Common/EmailNotificationType.cs | 2 +- .../Tests/Common/IssueTestHelper.cs | 2 +- .../Tests/Common/TestEntityFactory.cs | 3 +- .../Entities/Attachment/AttachmentTests.cs | 1 + .../Attachment/AttachmentTestsAsync.cs | 1 + .../Tests/Entities/File/FileTests.cs | 3 +- .../Tests/Entities/File/FileTestsAsync.cs | 16 +++- .../Tests/Entities/Group/GroupTests.cs | 9 +-- .../Tests/Entities/Group/GroupTestsAsync.cs | 3 +- .../Issue/IssueAttachmentUploadTests.cs | 1 + .../Issue/IssueAttachmentUploadTestsAsync.cs | 2 +- .../Tests/Entities/Issue/IssueTests.cs | 5 +- .../Tests/Entities/Issue/IssueTestsAsync.cs | 2 +- .../Tests/Entities/Issue/IssueWatcherTests.cs | 2 +- .../Entities/Issue/IssueWatcherTestsAsync.cs | 2 +- .../IssueCategory/IssueCategoryTests.cs | 31 +++++--- .../IssueCategory/IssueCategoryTestsAsync.cs | 59 ++++++++------- .../IssueRelation/IssueRelationTests.cs | 7 +- .../IssueRelation/IssueRelationTestsAsync.cs | 8 +- .../Entities/IssueStatus/IssueStatusTests.cs | 5 +- .../IssueStatus/IssueStatusTestsAsync.cs | 5 +- .../Tests/Entities/Journal/JournalTests.cs | 4 +- .../Entities/Journal/JournalTestsAsync.cs | 5 +- .../Tests/Entities/News/NewsTests.cs | 4 +- .../Tests/Entities/News/NewsTestsAsync.cs | 4 +- .../Entities/Project/ProjectTestsAsync.cs | 2 +- .../ProjectMembershipTests.cs | 4 +- .../ProjectMembershipTestsAsync.cs | 4 +- .../Entities/TimeEntry/TimeEntryTestsAsync.cs | 6 +- .../Tests/Entities/User/UserTestsAsync.cs | 3 +- .../Entities/Version/VersionTestsAsync.cs | 3 +- .../Tests/Entities/Wiki/WikiTestsAsync.cs | 3 +- .../Tests/RedmineApiWebClientTests.cs | 75 +++++++++++++++++++ 33 files changed, 195 insertions(+), 91 deletions(-) create mode 100644 tests/redmine-net-api.Integration.Tests/Tests/RedmineApiWebClientTests.cs diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Common/EmailNotificationType.cs b/tests/redmine-net-api.Integration.Tests/Tests/Common/EmailNotificationType.cs index 2c046dad..e77fef76 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Common/EmailNotificationType.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Common/EmailNotificationType.cs @@ -1,4 +1,4 @@ -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; public sealed record EmailNotificationType { diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Common/IssueTestHelper.cs b/tests/redmine-net-api.Integration.Tests/Tests/Common/IssueTestHelper.cs index 1be46ec3..fe1fa744 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Common/IssueTestHelper.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Common/IssueTestHelper.cs @@ -1,7 +1,7 @@ using Redmine.Net.Api; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; internal static class IssueTestHelper { diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Common/TestEntityFactory.cs b/tests/redmine-net-api.Integration.Tests/Tests/Common/TestEntityFactory.cs index bb721f70..0ff28752 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Common/TestEntityFactory.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Common/TestEntityFactory.cs @@ -1,7 +1,8 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; public static class TestEntityFactory { diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Attachment/AttachmentTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Attachment/AttachmentTests.cs index d0b7e133..567e586e 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Attachment/AttachmentTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Attachment/AttachmentTests.cs @@ -1,6 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api; using Redmine.Net.Api.Http; diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Attachment/AttachmentTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Attachment/AttachmentTestsAsync.cs index e5bc284b..d9335df4 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Attachment/AttachmentTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Attachment/AttachmentTestsAsync.cs @@ -1,6 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api; using Redmine.Net.Api.Http; diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTests.cs index 010677f9..00bba896 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTests.cs @@ -1,6 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api.Extensions; namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.File; @@ -71,7 +72,6 @@ public void CreateFile_With_Version_Should_Succeed() Filename = fileName, Description = RandomHelper.GenerateText(9), ContentType = "text/plain", - Version = 1.ToIdentifier(), }; _ = fixture.RedmineManager.Create(filePayload, TestConstants.Projects.DefaultProjectIdentifier); @@ -85,7 +85,6 @@ public void CreateFile_With_Version_Should_Succeed() Assert.Equal(filePayload.Description, file.Description); Assert.Equal(filePayload.ContentType, file.ContentType); Assert.EndsWith($"/attachments/download/{file.Id}/{fileName}", file.ContentUrl); - Assert.Equal(filePayload.Version.Id, file.Version.Id); } private (string fileName, string token) UploadFile() diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTestsAsync.cs index 5363e416..2d38d3d9 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/File/FileTestsAsync.cs @@ -1,6 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; @@ -38,13 +39,14 @@ public async Task CreateFile_Should_Succeed() [Fact] public async Task CreateFile_Without_Token_Should_Fail() { - await Assert.ThrowsAsync(() => fixture.RedmineManager.CreateAsync( + await Assert.ThrowsAsync(() => fixture.RedmineManager.CreateAsync( new Redmine.Net.Api.Types.File { Filename = "VBpMc.txt" }, PROJECT_ID)); } [Fact] public async Task CreateFile_With_OptionalParameters_Should_Succeed() { + // Arrange var (fileName, token) = await UploadFileAsync(); var filePayload = new Redmine.Net.Api.Types.File @@ -55,6 +57,7 @@ public async Task CreateFile_With_OptionalParameters_Should_Succeed() ContentType = "text/plain", }; + // Act _ = await fixture.RedmineManager.CreateAsync(filePayload, PROJECT_ID); var files = await fixture.RedmineManager.GetProjectFilesAsync(PROJECT_ID); var file = files.Items.FirstOrDefault(x => x.Filename == fileName); @@ -71,6 +74,11 @@ public async Task CreateFile_With_OptionalParameters_Should_Succeed() [Fact] public async Task CreateFile_With_Version_Should_Succeed() { + // Arrange + var versionPayload = TestEntityFactory.CreateRandomVersionPayload(); + var version = await fixture.RedmineManager.CreateAsync(versionPayload, TestConstants.Projects.DefaultProjectIdentifier); + Assert.NotNull(version); + var (fileName, token) = await UploadFileAsync(); var filePayload = new Redmine.Net.Api.Types.File @@ -79,13 +87,15 @@ public async Task CreateFile_With_Version_Should_Succeed() Filename = fileName, Description = RandomHelper.GenerateText(9), ContentType = "text/plain", - Version = 1.ToIdentifier(), + Version = version }; + // Act _ = await fixture.RedmineManager.CreateAsync(filePayload, PROJECT_ID); var files = await fixture.RedmineManager.GetProjectFilesAsync(PROJECT_ID); var file = files.Items.FirstOrDefault(x => x.Filename == fileName); - + + // Assert Assert.NotNull(file); Assert.True(file.Id > 0); Assert.NotEmpty(file.Digest); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTests.cs index d2a4c4d1..6354553e 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTests.cs @@ -1,6 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; @@ -73,7 +74,7 @@ public void DeleteGroup_Should_Succeed() fixture.RedmineManager.Delete(groupId); - Assert.Throws(() => + Assert.Throws(() => fixture.RedmineManager.Get(groupId)); } @@ -84,14 +85,12 @@ public void AddUserToGroup_Should_Succeed() var group = fixture.RedmineManager.Create(groupPayload); Assert.NotNull(group); - var userId = 1; - - fixture.RedmineManager.AddUserToGroup(group.Id, userId); + fixture.RedmineManager.AddUserToGroup(group.Id, userId: 1); var updatedGroup = fixture.RedmineManager.Get(group.Id.ToString(), RequestOptions.Include(RedmineKeys.USERS)); Assert.NotNull(updatedGroup); Assert.NotNull(updatedGroup.Users); - Assert.Contains(updatedGroup.Users, u => u.Id == userId); + Assert.Contains(updatedGroup.Users, u => u.Id == 1); } [Fact] diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTestsAsync.cs index d67a2e0c..3471cd4d 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Group/GroupTestsAsync.cs @@ -1,6 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; @@ -87,7 +88,7 @@ public async Task DeleteGroup_Should_Succeed() await fixture.RedmineManager.DeleteAsync(groupId); // Assert - await Assert.ThrowsAsync(async () => + await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(groupId)); } diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueAttachmentUploadTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueAttachmentUploadTests.cs index 527a5135..e74b62da 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueAttachmentUploadTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueAttachmentUploadTests.cs @@ -1,6 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api; using Redmine.Net.Api.Http; diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueAttachmentUploadTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueAttachmentUploadTestsAsync.cs index be0dc85e..342400a0 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueAttachmentUploadTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueAttachmentUploadTestsAsync.cs @@ -1,9 +1,9 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api; using Redmine.Net.Api.Http; -using Redmine.Net.Api.Types; namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueTests.cs index 2c1fb974..27e3033e 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueTests.cs @@ -1,6 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Http; @@ -90,7 +91,7 @@ public void DeleteIssue_Should_Succeed() fixture.RedmineManager.Delete(issueId); //Assert - Assert.Throws(() => fixture.RedmineManager.Get(issueId)); + Assert.Throws(() => fixture.RedmineManager.Get(issueId)); } [Fact] @@ -113,7 +114,7 @@ public void GetIssue_With_Watchers_And_Relations_Should_Succeed() customFields: [TestEntityFactory.CreateRandomIssueCustomFieldWithMultipleValuesPayload()], watchers: [new Watcher() { Id = 1 }, new Watcher() { Id = userId }]); - var issueRelation = new IssueRelation() + var issueRelation = new Redmine.Net.Api.Types.IssueRelation() { Type = IssueRelationType.Relates, IssueToId = firstIssue.Id, diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueTestsAsync.cs index 1e39a2fc..9118390c 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueTestsAsync.cs @@ -132,7 +132,7 @@ public async Task DeleteIssue_Should_Succeed() await fixture.RedmineManager.DeleteAsync(issueId); //Assert - await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(issueId)); + await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(issueId)); } [Fact] diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueWatcherTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueWatcherTests.cs index c46dc941..fb62e53c 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueWatcherTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueWatcherTests.cs @@ -1,6 +1,6 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Http; diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueWatcherTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueWatcherTestsAsync.cs index fb96377f..b9d5c567 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueWatcherTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Issue/IssueWatcherTestsAsync.cs @@ -16,7 +16,7 @@ public class IssueWatcherTestsAsync(RedmineTestContainerFixture fixture) { Project = new IdentifiableName { Id = 1 }, Tracker = new IdentifiableName { Id = 1 }, - Status = new IssueStatus { Id = 1 }, + Status = new Redmine.Net.Api.Types.IssueStatus { Id = 1 }, Priority = new IdentifiableName { Id = 4 }, Subject = $"Test issue subject {Guid.NewGuid()}", Description = "Test issue description" diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueCategory/IssueCategoryTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueCategory/IssueCategoryTests.cs index 166cfc6f..78744ae5 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueCategory/IssueCategoryTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueCategory/IssueCategoryTests.cs @@ -1,31 +1,40 @@ +using System.Collections.Specialized; using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; +using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; +using Redmine.Net.Api.Http; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.IssueCategory; [Collection(Constants.RedmineTestContainerCollection)] public class IssueCategoryTests(RedmineTestContainerFixture fixture) { - private const string PROJECT_ID = "1"; + private const string PROJECT_ID = TestConstants.Projects.DefaultProjectIdentifier; - private IssueCategory CreateCategory() + private Redmine.Net.Api.Types.IssueCategory CreateCategory() { return fixture.RedmineManager.Create( - new IssueCategory { Name = $"Test Category {Guid.NewGuid()}" }, + new Redmine.Net.Api.Types.IssueCategory { Name = $"Test Category {Guid.NewGuid()}" }, PROJECT_ID); } [Fact] public void GetProjectIssueCategories_Should_Succeed() => - Assert.NotNull(fixture.RedmineManager.Get(PROJECT_ID)); + Assert.NotNull(fixture.RedmineManager.Get(new RequestOptions() + { + QueryString = new NameValueCollection() + { + {RedmineKeys.PROJECT_ID, PROJECT_ID} + } + })); [Fact] public void CreateIssueCategory_Should_Succeed() { - var cat = new IssueCategory { Name = $"Cat {Guid.NewGuid()}" }; + var cat = new Redmine.Net.Api.Types.IssueCategory { Name = $"Cat {Guid.NewGuid()}" }; var created = fixture.RedmineManager.Create(cat, PROJECT_ID); Assert.True(created.Id > 0); @@ -36,7 +45,7 @@ public void CreateIssueCategory_Should_Succeed() public void GetIssueCategory_Should_Succeed() { var created = CreateCategory(); - var retrieved = fixture.RedmineManager.Get(created.Id.ToInvariantString()); + var retrieved = fixture.RedmineManager.Get(created.Id.ToInvariantString()); Assert.Equal(created.Id, retrieved.Id); Assert.Equal(created.Name, retrieved.Name); @@ -49,7 +58,7 @@ public void UpdateIssueCategory_Should_Succeed() created.Name = $"Updated {Guid.NewGuid()}"; fixture.RedmineManager.Update(created.Id.ToInvariantString(), created); - var retrieved = fixture.RedmineManager.Get(created.Id.ToInvariantString()); + var retrieved = fixture.RedmineManager.Get(created.Id.ToInvariantString()); Assert.Equal(created.Name, retrieved.Name); } @@ -60,8 +69,8 @@ public void DeleteIssueCategory_Should_Succeed() var created = CreateCategory(); var id = created.Id.ToInvariantString(); - fixture.RedmineManager.Delete(id); + fixture.RedmineManager.Delete(id); - Assert.Throws(() => fixture.RedmineManager.Get(id)); + Assert.Throws(() => fixture.RedmineManager.Get(id)); } } \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueCategory/IssueCategoryTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueCategory/IssueCategoryTestsAsync.cs index d96361b7..1b0601c1 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueCategory/IssueCategoryTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueCategory/IssueCategoryTestsAsync.cs @@ -1,21 +1,25 @@ +using System.Collections.Specialized; using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; +using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; -using Redmine.Net.Api.Types; +using Redmine.Net.Api.Http; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.IssueCategory; [Collection(Constants.RedmineTestContainerCollection)] public class IssueCategoryTestsAsync(RedmineTestContainerFixture fixture) { - private const string PROJECT_ID = "1"; + private const string PROJECT_ID = TestConstants.Projects.DefaultProjectIdentifier; - private async Task CreateTestIssueCategoryAsync() + private async Task CreateRandomIssueCategoryAsync() { - var category = new IssueCategory + var category = new Redmine.Net.Api.Types.IssueCategory { - Name = $"Test Category {Guid.NewGuid()}" + Name = RandomHelper.GenerateText(5) }; return await fixture.RedmineManager.CreateAsync(category, PROJECT_ID); @@ -24,8 +28,18 @@ private async Task CreateTestIssueCategoryAsync() [Fact] public async Task GetProjectIssueCategories_Should_Succeed() { + // Arrange + var category = await CreateRandomIssueCategoryAsync(); + Assert.NotNull(category); + // Act - var categories = await fixture.RedmineManager.GetAsync(PROJECT_ID); + var categories = await fixture.RedmineManager.GetAsync(new RequestOptions() + { + QueryString = new NameValueCollection() + { + {RedmineKeys.PROJECT_ID, PROJECT_ID} + } + }); // Assert Assert.NotNull(categories); @@ -34,30 +48,23 @@ public async Task GetProjectIssueCategories_Should_Succeed() [Fact] public async Task CreateIssueCategory_Should_Succeed() { - // Arrange - var category = new IssueCategory - { - Name = $"Test Category {Guid.NewGuid()}" - }; - - // Act - var createdCategory = await fixture.RedmineManager.CreateAsync(category, PROJECT_ID); + // Arrange & Act + var category = await CreateRandomIssueCategoryAsync(); // Assert - Assert.NotNull(createdCategory); - Assert.True(createdCategory.Id > 0); - Assert.Equal(category.Name, createdCategory.Name); + Assert.NotNull(category); + Assert.True(category.Id > 0); } [Fact] public async Task GetIssueCategory_Should_Succeed() { // Arrange - var createdCategory = await CreateTestIssueCategoryAsync(); + var createdCategory = await CreateRandomIssueCategoryAsync(); Assert.NotNull(createdCategory); // Act - var retrievedCategory = await fixture.RedmineManager.GetAsync(createdCategory.Id.ToInvariantString()); + var retrievedCategory = await fixture.RedmineManager.GetAsync(createdCategory.Id.ToInvariantString()); // Assert Assert.NotNull(retrievedCategory); @@ -69,7 +76,7 @@ public async Task GetIssueCategory_Should_Succeed() public async Task UpdateIssueCategory_Should_Succeed() { // Arrange - var createdCategory = await CreateTestIssueCategoryAsync(); + var createdCategory = await CreateRandomIssueCategoryAsync(); Assert.NotNull(createdCategory); var updatedName = $"Updated Test Category {Guid.NewGuid()}"; @@ -77,7 +84,7 @@ public async Task UpdateIssueCategory_Should_Succeed() // Act await fixture.RedmineManager.UpdateAsync(createdCategory.Id.ToInvariantString(), createdCategory); - var retrievedCategory = await fixture.RedmineManager.GetAsync(createdCategory.Id.ToInvariantString()); + var retrievedCategory = await fixture.RedmineManager.GetAsync(createdCategory.Id.ToInvariantString()); // Assert Assert.NotNull(retrievedCategory); @@ -89,16 +96,16 @@ public async Task UpdateIssueCategory_Should_Succeed() public async Task DeleteIssueCategory_Should_Succeed() { // Arrange - var createdCategory = await CreateTestIssueCategoryAsync(); + var createdCategory = await CreateRandomIssueCategoryAsync(); Assert.NotNull(createdCategory); var categoryId = createdCategory.Id.ToInvariantString(); // Act - await fixture.RedmineManager.DeleteAsync(categoryId); + await fixture.RedmineManager.DeleteAsync(categoryId); // Assert - await Assert.ThrowsAsync(async () => - await fixture.RedmineManager.GetAsync(categoryId)); + await Assert.ThrowsAsync(async () => + await fixture.RedmineManager.GetAsync(categoryId)); } } \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTests.cs index d2f72d88..11efdfce 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTests.cs @@ -1,11 +1,10 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api; using Redmine.Net.Api.Http; -using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.IssueRelation; [Collection(Constants.RedmineTestContainerCollection)] public class IssueRelationTests(RedmineTestContainerFixture fixture) @@ -25,7 +24,7 @@ public void CreateIssueRelation_Should_Succeed() public void DeleteIssueRelation_Should_Succeed() { var (rel, _, _) = IssueTestHelper.CreateRandomIssueRelation(fixture.RedmineManager); - fixture.RedmineManager.Delete(rel.Id.ToString()); + fixture.RedmineManager.Delete(rel.Id.ToString()); var issue = fixture.RedmineManager.Get( rel.IssueId.ToString(), diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTestsAsync.cs index 5adbd6d5..ac1b5839 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueRelation/IssueRelationTestsAsync.cs @@ -1,11 +1,11 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api; using Redmine.Net.Api.Http; using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.IssueRelation; [Collection(Constants.RedmineTestContainerCollection)] public class IssueRelationTestsAsync(RedmineTestContainerFixture fixture) @@ -16,7 +16,7 @@ public async Task CreateIssueRelation_Should_Succeed() // Arrange var (issue1, issue2) = await IssueTestHelper.CreateRandomTwoIssuesAsync(fixture.RedmineManager); - var relation = new IssueRelation + var relation = new Redmine.Net.Api.Types.IssueRelation { IssueId = issue1.Id, IssueToId = issue2.Id, @@ -42,7 +42,7 @@ public async Task DeleteIssueRelation_Should_Succeed() Assert.NotNull(relation); // Act & Assert - await fixture.RedmineManager.DeleteAsync(relation.Id.ToString()); + await fixture.RedmineManager.DeleteAsync(relation.Id.ToString()); var issue = await fixture.RedmineManager.GetAsync(relation.IssueId.ToString(), RequestOptions.Include(RedmineKeys.RELATIONS)); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueStatus/IssueStatusTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueStatus/IssueStatusTests.cs index 94e099c1..b18abf13 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueStatus/IssueStatusTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueStatus/IssueStatusTests.cs @@ -1,8 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; -using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.IssueStatus; [Collection(Constants.RedmineTestContainerCollection)] public class IssueStatusTests(RedmineTestContainerFixture fixture) @@ -10,7 +9,7 @@ public class IssueStatusTests(RedmineTestContainerFixture fixture) [Fact] public void GetAllIssueStatuses_Should_Succeed() { - var statuses = fixture.RedmineManager.Get(); + var statuses = fixture.RedmineManager.Get(); Assert.NotNull(statuses); Assert.NotEmpty(statuses); } diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueStatus/IssueStatusTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueStatus/IssueStatusTestsAsync.cs index 5422befa..a1c7bd5c 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueStatus/IssueStatusTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/IssueStatus/IssueStatusTestsAsync.cs @@ -1,8 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; -using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.IssueStatus; [Collection(Constants.RedmineTestContainerCollection)] public class IssueStatusAsyncTests(RedmineTestContainerFixture fixture) @@ -11,7 +10,7 @@ public class IssueStatusAsyncTests(RedmineTestContainerFixture fixture) public async Task GetAllIssueStatuses_Should_Succeed() { // Act - var statuses = await fixture.RedmineManager.GetAsync(); + var statuses = await fixture.RedmineManager.GetAsync(); // Assert Assert.NotNull(statuses); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Journal/JournalTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Journal/JournalTests.cs index ed59ccae..b3923d8e 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Journal/JournalTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Journal/JournalTests.cs @@ -1,11 +1,11 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Http; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Journal; [Collection(Constants.RedmineTestContainerCollection)] public class JournalTests(RedmineTestContainerFixture fixture) diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Journal/JournalTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Journal/JournalTestsAsync.cs index 608bf1a7..b208a84d 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Journal/JournalTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Journal/JournalTestsAsync.cs @@ -1,12 +1,11 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Http; -using Redmine.Net.Api.Types; -namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Issue; +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.Journal; [Collection(Constants.RedmineTestContainerCollection)] public class JournalTestsAsync(RedmineTestContainerFixture fixture) diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTests.cs index 190d25b7..fc8f2050 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTests.cs @@ -1,6 +1,6 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api.Extensions; namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.News; @@ -13,7 +13,7 @@ public void GetAllNews_Should_Succeed() { _ = fixture.RedmineManager.AddProjectNews(TestConstants.Projects.DefaultProjectIdentifier, TestEntityFactory.CreateRandomNewsPayload()); - _ = fixture.RedmineManager.AddProjectNews("2", TestEntityFactory.CreateRandomNewsPayload()); + _ = fixture.RedmineManager.AddProjectNews(TestConstants.Projects.DefaultProjectIdentifier, TestEntityFactory.CreateRandomNewsPayload()); var news = fixture.RedmineManager.Get(); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTestsAsync.cs index 88945ab2..8002e556 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/News/NewsTestsAsync.cs @@ -1,6 +1,6 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api.Extensions; namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Entities.News; @@ -14,7 +14,7 @@ public async Task GetAllNews_Should_Succeed() // Arrange _ = await fixture.RedmineManager.AddProjectNewsAsync(TestConstants.Projects.DefaultProjectIdentifier, TestEntityFactory.CreateRandomNewsPayload()); - _ = await fixture.RedmineManager.AddProjectNewsAsync("2", TestEntityFactory.CreateRandomNewsPayload()); + _ = await fixture.RedmineManager.AddProjectNewsAsync(TestConstants.Projects.DefaultProjectIdentifier, TestEntityFactory.CreateRandomNewsPayload()); // Act var news = await fixture.RedmineManager.GetAsync(); diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Project/ProjectTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Project/ProjectTestsAsync.cs index aaec371b..fd3d4137 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Project/ProjectTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Project/ProjectTestsAsync.cs @@ -74,7 +74,7 @@ public async Task DeleteIssue_Should_Succeed() await Task.Delay(200); //Assert - await Assert.ThrowsAsync(TestCode); + await Assert.ThrowsAsync(TestCode); return; async Task TestCode() diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTests.cs index c9cca3ba..2b2b2f52 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTests.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTests.cs @@ -1,6 +1,6 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; @@ -79,6 +79,6 @@ public void DeleteProjectMembership_WithValidId_ShouldSucceed() fixture.RedmineManager.Delete(membership.Id.ToString()); // Assert - Assert.Throws(() => fixture.RedmineManager.Get(membership.Id.ToString())); + Assert.Throws(() => fixture.RedmineManager.Get(membership.Id.ToString())); } } \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTestsAsync.cs index ee17f90f..e8c36536 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/ProjectMembership/ProjectMembershipTestsAsync.cs @@ -1,6 +1,6 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; @@ -87,7 +87,7 @@ public async Task DeleteProjectMembership_WithValidId_ShouldSucceed() await fixture.RedmineManager.DeleteAsync(membershipId); // Assert - await Assert.ThrowsAsync(() => fixture.RedmineManager.GetAsync(membershipId)); + await Assert.ThrowsAsync(() => fixture.RedmineManager.GetAsync(membershipId)); } [Fact] diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/TimeEntry/TimeEntryTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/TimeEntry/TimeEntryTestsAsync.cs index 6a273b4d..db3719e1 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/TimeEntry/TimeEntryTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/TimeEntry/TimeEntryTestsAsync.cs @@ -1,6 +1,6 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; -using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; @@ -13,7 +13,7 @@ public class TimeEntryTestsAsync(RedmineTestContainerFixture fixture) { var (issue, _) = await IssueTestHelper.CreateRandomIssueAsync(fixture.RedmineManager); - var timeEntry = TestEntityFactory.CreateRandomTimeEntryPayload(TestConstants.Projects.DefaultProjectId, issue.Id); + var timeEntry = TestEntityFactory.CreateRandomTimeEntryPayload(TestConstants.Projects.DefaultProjectId, issue.Id, activityId: 8); return (await fixture.RedmineManager.CreateAsync(timeEntry), timeEntry); } @@ -86,6 +86,6 @@ public async Task DeleteTimeEntry_Should_Succeed() await fixture.RedmineManager.DeleteAsync(timeEntryId); //Assert - await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(timeEntryId)); + await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(timeEntryId)); } } \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/User/UserTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/User/UserTestsAsync.cs index 833f7566..cd63378b 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/User/UserTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/User/UserTestsAsync.cs @@ -1,6 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; @@ -83,7 +84,7 @@ public async Task DeleteUser_WithValidId_ShouldSucceed() await fixture.RedmineManager.DeleteAsync(userId); //Assert - await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(userId)); + await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(userId)); } [Fact] diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Version/VersionTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Version/VersionTestsAsync.cs index 0a325719..e292bf4d 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Version/VersionTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Version/VersionTestsAsync.cs @@ -1,6 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; using Redmine.Net.Api.Types; @@ -80,7 +81,7 @@ public async Task DeleteVersion_Should_Succeed() await fixture.RedmineManager.DeleteAsync(version); // Assert - await Assert.ThrowsAsync(async () => + await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetAsync(version)); } } \ No newline at end of file diff --git a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Wiki/WikiTestsAsync.cs b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Wiki/WikiTestsAsync.cs index d54a28a1..c5033eb3 100644 --- a/tests/redmine-net-api.Integration.Tests/Tests/Entities/Wiki/WikiTestsAsync.cs +++ b/tests/redmine-net-api.Integration.Tests/Tests/Entities/Wiki/WikiTestsAsync.cs @@ -1,6 +1,7 @@ using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; using Padi.DotNet.RedmineAPI.Integration.Tests.Helpers; using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Padi.DotNet.RedmineAPI.Integration.Tests.Tests.Common; using Redmine.Net.Api; using Redmine.Net.Api.Exceptions; using Redmine.Net.Api.Extensions; @@ -78,7 +79,7 @@ public async Task DeleteWikiPage_WithValidTitle_ShouldSucceed() await fixture.RedmineManager.DeleteWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, wikiPage.Title); // Assert - await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, wikiPage.Title)); + await Assert.ThrowsAsync(async () => await fixture.RedmineManager.GetWikiPageAsync(TestConstants.Projects.DefaultProjectIdentifier, wikiPage.Title)); } [Fact] diff --git a/tests/redmine-net-api.Integration.Tests/Tests/RedmineApiWebClientTests.cs b/tests/redmine-net-api.Integration.Tests/Tests/RedmineApiWebClientTests.cs new file mode 100644 index 00000000..ebed01e9 --- /dev/null +++ b/tests/redmine-net-api.Integration.Tests/Tests/RedmineApiWebClientTests.cs @@ -0,0 +1,75 @@ +using Padi.DotNet.RedmineAPI.Integration.Tests.Fixtures; +using Padi.DotNet.RedmineAPI.Integration.Tests.Infrastructure; +using Redmine.Net.Api.Exceptions; +using Redmine.Net.Api.Types; + +namespace Padi.DotNet.RedmineAPI.Integration.Tests.Tests; + +[Collection(Constants.RedmineTestContainerCollection)] +public class RedmineApiWebClientTests(RedmineTestContainerFixture fixture) +{ + [Fact] + public async Task SendAsync_WhenRequestCanceled_ThrowsRedmineOperationCanceledException() + { + using var cts = new CancellationTokenSource(); + // Arrange + cts.CancelAfter(TimeSpan.FromMilliseconds(100)); + + // Act & Assert + _ = await Assert.ThrowsAsync(async () => + await fixture.RedmineManager.GetAsync(cancellationToken: cts.Token)); + } + + [Fact] + public async Task SendAsync_WhenWebExceptionOccurs_ThrowsRedmineApiException() + { + // Act & Assert + var exception = await Assert.ThrowsAnyAsync(async () => + await fixture.RedmineManager.GetAsync("xyz")); + + Assert.NotNull(exception.InnerException); + } + + [Fact] + public async Task SendAsync_WhenOperationCanceled_ThrowsRedmineOperationCanceledException() + { + using var cts = new CancellationTokenSource(); + // Arrange + await cts.CancelAsync(); + + // Act & Assert + _ = await Assert.ThrowsAsync(async () => + await fixture.RedmineManager.GetAsync(cancellationToken: cts.Token)); + } + + [Fact] + public async Task SendAsync_WhenOperationTimedOut_ThrowsRedmineOperationCanceledException() + { + // Arrange + using var timeoutCts = new CancellationTokenSource(TimeSpan.FromMilliseconds(1)); + + // Act & Assert + _ = await Assert.ThrowsAsync(async () => + await fixture.RedmineManager.GetAsync(cancellationToken: timeoutCts.Token)); + } + + [Fact] + public async Task SendAsync_WhenTaskCanceled_ThrowsRedmineOperationCanceledException() + { + using var cts = new CancellationTokenSource(); + // Arrange + cts.CancelAfter(TimeSpan.FromMilliseconds(50)); + + // Act & Assert + _ = await Assert.ThrowsAsync(async () => + await fixture.RedmineManager.GetAsync(cancellationToken: cts.Token)); + } + + [Fact] + public async Task SendAsync_WhenGeneralException_ThrowsRedmineException() + { + // Act & Assert + _ = await Assert.ThrowsAsync(async () => + await fixture.RedmineManager.CreateAsync(null)); + } +} \ No newline at end of file From caaefe444c02ceb355cf56476f179de1ca9fb816 Mon Sep 17 00:00:00 2001 From: Padi Date: Mon, 2 Jun 2025 13:26:41 +0300 Subject: [PATCH 599/601] [New] ParameterValidator --- .../Internals/ParameterValidator.cs | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/redmine-net-api/Internals/ParameterValidator.cs diff --git a/src/redmine-net-api/Internals/ParameterValidator.cs b/src/redmine-net-api/Internals/ParameterValidator.cs new file mode 100644 index 00000000..55a4f944 --- /dev/null +++ b/src/redmine-net-api/Internals/ParameterValidator.cs @@ -0,0 +1,34 @@ +using System; + +namespace Redmine.Net.Api.Internals; + +/// +/// +/// +internal static class ParameterValidator +{ + public static void ValidateNotNull(T parameter, string parameterName) + where T : class + { + if (parameter is null) + { + throw new ArgumentNullException(parameterName); + } + } + + public static void ValidateNotNullOrEmpty(string parameter, string parameterName) + { + if (string.IsNullOrEmpty(parameter)) + { + throw new ArgumentException("Value cannot be null or empty", parameterName); + } + } + + public static void ValidateId(int id, string parameterName) + { + if (id <= 0) + { + throw new ArgumentException("Id must be greater than 0", parameterName); + } + } +} \ No newline at end of file From 9faded78f909cabf988ed6b876a25c498afdf251 Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 17 Sep 2025 13:39:11 +0300 Subject: [PATCH 600/601] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 39 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 28 ++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..87bc8a46 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,39 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: 'type: bug' +assignees: zapadi + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Call the Redmine API endpoint '...' +2. Call the client method: `...` +3. Inspect the returned response/data +4. Notice the incorrect behavior or error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Sample Code / Request** +If applicable, add a minimal code snippet or HTTP request that reproduces the issue. + +**API Response / Error** +If applicable, paste the response body, error message, or stack trace. + +**Environment (please complete the following information):** +- Library version: [e.g. 4.50.0] +- .NET runtime: [e.g. .NET 8.0, .NET Framework 4.8] +- Redmine version: [e.g. 5.1.2] +- OS: [e.g. Windows 11, Ubuntu 22.04] + +**Screenshots** +If applicable, add screenshots to help explain the problem. + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..87bd1b13 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,28 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: "[Feature]" +labels: 'type: enhancement, type: feature' +assignees: zapadi + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. +Ex: "Add support for calling the `...` endpoint so that I can [...]" + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. +Ex: "Right now I make a raw HTTP request using `HttpClient`, but it would be better if the client library exposed [...]" + +**Proposed API / Usage Example (if applicable)** +If relevant, provide a code snippet, method signature, or example API request/response. +```csharp +var issue = await client.Issues.GetByIdAsync(123, includeChildren: true); +``` + +**Additional context** +Add any other context or screenshots about the feature request here. From e23b2d2cdb9730f3374c3fb0f0e4c38a9523b4ea Mon Sep 17 00:00:00 2001 From: Padi Date: Wed, 17 Sep 2025 13:50:24 +0300 Subject: [PATCH 601/601] Update PULL_REQUEST_TEMPLATE.md --- PULL_REQUEST_TEMPLATE.md | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md index 83503568..a3f3ba2e 100644 --- a/PULL_REQUEST_TEMPLATE.md +++ b/PULL_REQUEST_TEMPLATE.md @@ -2,8 +2,32 @@ We welcome contributions! Here's how you can help: -1. Fork the repository -2. Create a new branch (git checkout -b feature/my-feature) -3. Make your changes and commit (git commit -m 'Add some feature') -4. Push to your fork (git push origin feature/my-feature) -5. Open a Pull Request +## Description + + +## Related Issues + +- Closes #ISSUE_ID +- Fixes #ISSUE_ID + +## Type of Change + +- [ ] 🐛 Bug fix (non-breaking change which fixes an issue) +- [ ] ✨ New feature (non-breaking change which adds functionality) +- [ ] 💥 Breaking change (fix or feature that would cause existing functionality to change) +- [ ] 🧹 Code cleanup / refactor +- [ ] 📖 Documentation update + +## Checklist + +- [ ] I have tested my changes locally against a Redmine instance. +- [ ] I have added/updated unit tests if applicable. +- [ ] I have updated documentation (README / XML comments / wiki). +- [ ] I followed the project’s coding style. +- [ ] New and existing tests pass with my changes. + +## API Changes (if applicable) + +```csharp +// Example of a new/updated method signature +Task GetByIdAsync(int id, bool includeChildren = false);

v=k&?AsK?-n9vl2!JbNy#>x*zpUyi%_8l3n(=C8+TeG|^< z+i+3ejVt;AT-T4{mTuv$ei|o!i2cvww0;HW^c%RS-^CUE5w7b#Zs{*@SAUHYKgRwa za9aP0bNVk_*U5+J(bM9to)IU0iaoR8w4NL1^a8l37sVAl7}xa>+|tX3%+K+jTqR`m zo*|>p!(BZQCw_@LBpzW0Jq^z38E{e0iYt09T-Wo5{IBtSZ;_D4;r`ztG4N8`Fa0k?jS`SAab=KhE~oQAtN?C=gw{2BcrPV0~H;D6%p zqdvz)9P(3eMSqX$`WM{Nf8wrAJWBt+@$57>t!KbFJu5Eixo}0#kL!97+|pUx)l1<- zV&K%>mcwbiGS2BWa8a*|D>{$sdK28zTi~wV7W0R}Q~P(sX}v4X={<2#kHi%{8rStf zxTO!r6L9!l-!ZuB{6w4>5U+JgnCsKSJQe3>v4*Q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2+~$I<3Ilsxer8gSptEPl=<{d0lrZ=u6>(6Pfg zPM!V{Hp=tlp2DuQ@E~mXbJd)rAr_35GV71V4zW3C|9DK)gS=sPYiU6gWr<7IwHbQ5 zVDLVz-GLlJJ>Nhdkf5w^&cuEIirZguo4{Dwth9w!QU8!jv-9I2mWh=V-PzO2TEjDHpMi=8d{Ug7st0Z5i+i@3Uh2?0jeMSX zF1-x@(csosR{yW!)}IW3gG>W#eOV2FucHfS_GAAlboq_BzjgWlC|I**{ewL*X$HH- zJ}{piZuy`f{PrnlX(1Ql;ZhrYLc7HiYgQ}en7AzuodQ*+CONJ2doMF^(lRI2K(^l4 zUVCH_(x05OZ6=rC* z;BTSc-*jmFvK3Iz&|s|UJOvfX^2T_0Pp!h{-g7tZEU>AV= zGy!PK0|@X91{H#V*>2j^Ll{rk`t|X0pVjL!o9>2T!7BDfhG$KTPh^6jaKl z<8MCkT7O1RyQsWT;n~wOc}Csj9Iv9O(%y8(2TQEaBQN@enyNK;E&T8%A^`aeO=&Vq z=KFa>R^Hwx2kl-rNIRYr(^1k{yBDpCNU@=Bk8Zssa#inUjPSzLi)e9zvP|V$_Pb+Y zhEsvs+x1)(@%+8}8C-#%j7Nf=YKbarU9xx(@gm@D>pfiD7M!hMbFMJz zWcRW5T+@~N?W|M6_wEkQz2LS}IAxbJ2^$_9@nT=*MPlG8a1VA4yUAcxf4V9J(wtg0 zI2%>$B+F_>px-9zfLTsRfAvJ!JoyZw3n6;dX%GF2=9?4B%TI>tHuaX1z#A zO4t#_@Tl-B=h0<32`W{TS7%BzQ4^u&Fn~C;X#yAnme>jqn*d@1K+L1s`fIxv%$x$m zz;yqA Date: Tue, 19 Nov 2019 15:28:19 +0200 Subject: [PATCH 061/601] Add Resharper logo --- logo-resharper.gif | Bin 0 -> 1143 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 logo-resharper.gif diff --git a/logo-resharper.gif b/logo-resharper.gif new file mode 100644 index 0000000000000000000000000000000000000000..739dcb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PLnEc4B(b&`X(*lpTM=9jf3w_G(+tDcQ@6_cn)XgdAvQ Date: Tue, 19 Nov 2019 15:28:47 +0200 Subject: [PATCH 062/601] Add solution folder with yml files --- redmine-net-api.sln | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/redmine-net-api.sln b/redmine-net-api.sln index 8f0cd011..6a6da6ee 100644 --- a/redmine-net-api.sln +++ b/redmine-net-api.sln @@ -12,6 +12,10 @@ EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "redmine-net-api.Tests", "tests\redmine-net-api.Tests\redmine-net-api.Tests.csproj", "{900EF0B3-0233-45DA-811F-4C59483E8452}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionFolder", "SolutionFolder", "{E8C35EC2-DD90-46E8-9B63-84EFD5F2FDE3}" +ProjectSection(SolutionItems) = preProject + appveyor.yml = appveyor.yml + docker-compose.yml = docker-compose.yml +EndProjectSection EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution From 8591c42ed47cff25fc362e860a7a8fc99dde09e3 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 19 Nov 2019 15:37:01 +0200 Subject: [PATCH 063/601] Update docker-compose --- docker-compose.yml | 63 +++++++++++++++++++++++++++++++++------------- 1 file changed, 45 insertions(+), 18 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1d017917..78e1e2f4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,30 +1,57 @@ -version: '2' +version: '3.7' services: redmine: ports: - '8089:3000' image: 'redmine:4.0.4' - container_name: 'redmine-web-404' + container_name: 'redmine-web' depends_on: - - postgres - links: - - postgres - restart: always - environment: - POSTGRES_PORT_5432_TCP: 5432 - POSTGRES_ENV_POSTGRES_USER: redmine - POSTGRES_ENV_POSTGRES_PASSWORD: redmine-pswd + - db-postgres + # healthcheck: + # test: ["CMD", "curl", "-f", "http://localhost:8089/"] + # interval: 1m30s + # timeout: 10s + # retries: 3 + # start_period: 40s + restart: unless-stopped + environment: + REDMINE_DB_POSTGRES: db-postgres + REDMINE_DB_PORT: 5432 + REDMINE_DB_DATABASE: redmine + REDMINE_DB_USERNAME: redmine-usr + REDMINE_DB_PASSWORD: redmine-pswd + networks: + - redmine-network + stop_grace_period: 30s volumes: - - ~/docker-vols/redmine/files/:/usr/src/redmine/files/ - postgres: + - redmine-data:/usr/src/redmine/files + + db-postgres: environment: - POSTGRES_USER: redmine + POSTGRES_DB: redmine + POSTGRES_USER: redmine-usr POSTGRES_PASSWORD: redmine-pswd - container_name: 'redmine-db-111' + container_name: 'redmine-db' image: 'postgres:11.1' - #restart: always - ports: + healthcheck: + test: ["CMD-SHELL", "pg_isready -U postgres"] + interval: 20s + timeout: 20s + retries: 5 + restart: unless-stopped + ports: - '5432:5432' - volumes: - - ~/docker-vols/redmine/postgres:/var/lib/postgresql/data \ No newline at end of file + volumes: + - postgres-data:/var/lib/postgresql/data + networks: + - redmine-network + stop_grace_period: 30s + +volumes: + postgres-data: + redmine-data: + +networks: + redmine-network: + driver: bridge \ No newline at end of file From 0c2a08e1904d9830a5ad5dbfdde4cb0687b7e3ed Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 19 Nov 2019 17:20:19 +0200 Subject: [PATCH 064/601] Add Package property group --- src/redmine-net-api/redmine-net-api.csproj | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 762bbb62..d8d6ca9e 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -25,6 +25,37 @@ + + + 1.0.0.0 + Adrian Popescu + + Redmine Api is a .NET rest client for Redmine. + + padi + Copyright © Adrian Popescu. All rights Reserved + + 1.0.0.0 + 1.0.0 + redmine-net-api + https://github.com/zapadi/redmine-net-api/blob/master/logo.png + https://github.com/zapadi/redmine-net-api/blob/master/LICENSE + https://github.com/zapadi/redmine-net-api + true + Changed to new csproj format. + Redmine; REST; API; Client; .NET; Adrian Popescu; + 1.0.0 + Redmine .NET API Client + + git + https://github.com/zapadi/redmine-net-api + + 1.0.0 + 2.0.0 + $(VersionSuffix) + + + NET20;NETFULL From 7e6c7bd46ef36ff731af3b663eb717f18ff82a48 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Tue, 19 Nov 2019 17:41:53 +0200 Subject: [PATCH 065/601] Remove csproj Platform tag --- src/redmine-net-api/redmine-net-api.csproj | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index d8d6ca9e..3e25add6 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -14,8 +14,6 @@ TRACE - x64 or x86 - Debug;Release PackageReference From 727c531329f5850a692a7ad74554b958d98e72d3 Mon Sep 17 00:00:00 2001 From: Adrian Popescu Date: Wed, 20 Nov 2019 18:22:48 +0200 Subject: [PATCH 066/601] Remove TargetFramework --- src/redmine-net-api/redmine-net-api.csproj | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/redmine-net-api/redmine-net-api.csproj b/src/redmine-net-api/redmine-net-api.csproj index 3e25add6..30f8bea1 100644 --- a/src/redmine-net-api/redmine-net-api.csproj +++ b/src/redmine-net-api/redmine-net-api.csproj @@ -2,39 +2,35 @@ - net48 + net20;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48; - false - Redmine.Net.Api redmine-net-api - true - TRACE - Debug;Release - PackageReference - AnyCPU;x64 - - 1.0.0.0 + Adrian Popescu Redmine Api is a .NET rest client for Redmine. - padi - Copyright © Adrian Popescu. All rights Reserved + p.adi + + Adrian Popescu, 2011-2020 1.0.0.0 + 1.0.0 + + en-US redmine-net-api https://github.com/zapadi/redmine-net-api/blob/master/logo.png https://github.com/zapadi/redmine-net-api/blob/master/LICENSE @@ -43,11 +39,15 @@ Changed to new csproj format. Redmine; REST; API; Client; .NET; Adrian Popescu; 1.0.0 + Redmine .NET API Client git + https://github.com/zapadi/redmine-net-api +