From 5a6a4a8c0826287ffd895b6b30dc42803b98e3e4 Mon Sep 17 00:00:00 2001 From: Mirko Da Corte Date: Sun, 12 Feb 2023 15:47:06 +0100 Subject: [PATCH] add license headers --- EthernaVideoImporter.sln | 1 + EthernaVideoImporter.sln.licenseheader | 47 +++++++++++++++++++ .../Dtos/MetadataImageInput.cs | 16 ++++++- .../Dtos/MetadataManifestInsertInput.cs | 16 ++++++- .../Dtos/MetadataPersonalDataDto.cs | 16 ++++++- .../Dtos/MetadataUploadMode.cs | 16 ++++++- .../Models/VideoData.cs | 16 ++++++- .../Models/VideoDataMinimalInfo.cs | 16 ++++++- .../Models/VideoDataResolution.cs | 16 ++++++- src/EthernaVideoImporter.Core/Runner.cs | 16 ++++++- .../SSO/SignServices.cs | 16 ++++++- .../SSO/SystemBrowser.cs | 16 ++++++- .../Services/CleanerVideoService.cs | 16 ++++++- .../Services/EthernaUserClientsAdapter.cs | 16 ++++++- .../Services/ICleanerVideoService.cs | 16 ++++++- .../Services/IEthernaService.cs | 16 ++++++- .../Services/ILinkReporterService.cs | 16 ++++++- .../Services/IVideoDownloaderService.cs | 16 ++++++- .../Services/IVideoParseServices.cs | 16 ++++++- .../Services/IVideoUploaderService.cs | 16 ++++++- .../Services/LinkReporterService.cs | 16 ++++++- .../Services/VideoDownloaderService.cs | 16 ++++++- .../Services/VideoUploaderService.cs | 16 ++++++- .../Utilities/CommonConst.cs | 16 ++++++- .../Utilities/JsonUtility.cs | 16 ++++++- src/EthernaVideoImporter.Devcon/Program.cs | 16 ++++++- .../Properties/AssemblyInfo.cs | 2 +- .../Services/DevconLinkReporterService.cs | 16 ++++++- .../Services/MdVideoParserService.cs | 16 ++++++- src/EthernaVideoImporter/Program.cs | 16 ++++++- .../Properties/AssemblyInfo.cs | 2 +- .../YouTubeChannelVideoParserServices.cs | 16 ++++++- 32 files changed, 470 insertions(+), 30 deletions(-) create mode 100644 EthernaVideoImporter.sln.licenseheader diff --git a/EthernaVideoImporter.sln b/EthernaVideoImporter.sln index 5c60530..832ea93 100644 --- a/EthernaVideoImporter.sln +++ b/EthernaVideoImporter.sln @@ -8,6 +8,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6647EBF4-A8E7-4987-9A43-CF6F9DA1A3AF}" ProjectSection(SolutionItems) = preProject .editorconfig = .editorconfig + EthernaVideoImporter.sln.licenseheader = EthernaVideoImporter.sln.licenseheader README.md = README.md EndProjectSection EndProject diff --git a/EthernaVideoImporter.sln.licenseheader b/EthernaVideoImporter.sln.licenseheader new file mode 100644 index 0000000..8a2ffd4 --- /dev/null +++ b/EthernaVideoImporter.sln.licenseheader @@ -0,0 +1,47 @@ +extensions: designer.cs generated.cs +extensions: .cs .cpp .h +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +extensions: .cshtml +@* Copyright 2022-present Etherna Sagl + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *@ + +extensions: .xml .config .xsd + diff --git a/src/EthernaVideoImporter.Core/Dtos/MetadataImageInput.cs b/src/EthernaVideoImporter.Core/Dtos/MetadataImageInput.cs index 2202902..44cfec1 100644 --- a/src/EthernaVideoImporter.Core/Dtos/MetadataImageInput.cs +++ b/src/EthernaVideoImporter.Core/Dtos/MetadataImageInput.cs @@ -1,4 +1,18 @@ -using System.Collections.Generic; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Dtos { diff --git a/src/EthernaVideoImporter.Core/Dtos/MetadataManifestInsertInput.cs b/src/EthernaVideoImporter.Core/Dtos/MetadataManifestInsertInput.cs index c66eae5..59dd1ac 100644 --- a/src/EthernaVideoImporter.Core/Dtos/MetadataManifestInsertInput.cs +++ b/src/EthernaVideoImporter.Core/Dtos/MetadataManifestInsertInput.cs @@ -1,4 +1,18 @@ -using Etherna.ServicesClient.Clients.Index; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.ServicesClient.Clients.Index; using System.Collections.Generic; namespace Etherna.VideoImporter.Core.Dtos diff --git a/src/EthernaVideoImporter.Core/Dtos/MetadataPersonalDataDto.cs b/src/EthernaVideoImporter.Core/Dtos/MetadataPersonalDataDto.cs index f750238..5529aab 100644 --- a/src/EthernaVideoImporter.Core/Dtos/MetadataPersonalDataDto.cs +++ b/src/EthernaVideoImporter.Core/Dtos/MetadataPersonalDataDto.cs @@ -1,4 +1,18 @@ -namespace Etherna.VideoImporter.Core.Dtos +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Dtos { public class MetadataPersonalDataDto { diff --git a/src/EthernaVideoImporter.Core/Dtos/MetadataUploadMode.cs b/src/EthernaVideoImporter.Core/Dtos/MetadataUploadMode.cs index 1a8e8ee..24b0b90 100644 --- a/src/EthernaVideoImporter.Core/Dtos/MetadataUploadMode.cs +++ b/src/EthernaVideoImporter.Core/Dtos/MetadataUploadMode.cs @@ -1,4 +1,18 @@ -namespace Etherna.VideoImporter.Core.Dtos +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Dtos { public enum MetadataUploadMode { diff --git a/src/EthernaVideoImporter.Core/Models/VideoData.cs b/src/EthernaVideoImporter.Core/Models/VideoData.cs index b53066f..8d0465f 100644 --- a/src/EthernaVideoImporter.Core/Models/VideoData.cs +++ b/src/EthernaVideoImporter.Core/Models/VideoData.cs @@ -1,4 +1,18 @@ -using Etherna.VideoImporter.Core.Utilities; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Utilities; using System; using System.Collections.Generic; using System.Linq; diff --git a/src/EthernaVideoImporter.Core/Models/VideoDataMinimalInfo.cs b/src/EthernaVideoImporter.Core/Models/VideoDataMinimalInfo.cs index a59971b..3030389 100644 --- a/src/EthernaVideoImporter.Core/Models/VideoDataMinimalInfo.cs +++ b/src/EthernaVideoImporter.Core/Models/VideoDataMinimalInfo.cs @@ -1,4 +1,18 @@ -namespace Etherna.VideoImporter.Core.Models +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Models { public sealed class VideoDataMinimalInfo { diff --git a/src/EthernaVideoImporter.Core/Models/VideoDataResolution.cs b/src/EthernaVideoImporter.Core/Models/VideoDataResolution.cs index e177c69..7092a9e 100644 --- a/src/EthernaVideoImporter.Core/Models/VideoDataResolution.cs +++ b/src/EthernaVideoImporter.Core/Models/VideoDataResolution.cs @@ -1,4 +1,18 @@ -using System; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Models { diff --git a/src/EthernaVideoImporter.Core/Runner.cs b/src/EthernaVideoImporter.Core/Runner.cs index 5488b01..a18c63e 100644 --- a/src/EthernaVideoImporter.Core/Runner.cs +++ b/src/EthernaVideoImporter.Core/Runner.cs @@ -1,4 +1,18 @@ -using Etherna.VideoImporter.Core.Dtos; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Dtos; using Etherna.VideoImporter.Core.Models; using Etherna.VideoImporter.Core.Services; using Etherna.VideoImporter.Core.Utilities; diff --git a/src/EthernaVideoImporter.Core/SSO/SignServices.cs b/src/EthernaVideoImporter.Core/SSO/SignServices.cs index f45345a..f528ef6 100644 --- a/src/EthernaVideoImporter.Core/SSO/SignServices.cs +++ b/src/EthernaVideoImporter.Core/SSO/SignServices.cs @@ -1,4 +1,18 @@ -using Etherna.VideoImporter.Core.Utilities; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Utilities; using IdentityModel.OidcClient; using System.Net.Http; using System.Threading.Tasks; diff --git a/src/EthernaVideoImporter.Core/SSO/SystemBrowser.cs b/src/EthernaVideoImporter.Core/SSO/SystemBrowser.cs index 7fe961e..445379e 100644 --- a/src/EthernaVideoImporter.Core/SSO/SystemBrowser.cs +++ b/src/EthernaVideoImporter.Core/SSO/SystemBrowser.cs @@ -1,4 +1,18 @@ -using IdentityModel.OidcClient.Browser; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 IdentityModel.OidcClient.Browser; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; diff --git a/src/EthernaVideoImporter.Core/Services/CleanerVideoService.cs b/src/EthernaVideoImporter.Core/Services/CleanerVideoService.cs index 8ec4a7d..3e08e67 100644 --- a/src/EthernaVideoImporter.Core/Services/CleanerVideoService.cs +++ b/src/EthernaVideoImporter.Core/Services/CleanerVideoService.cs @@ -1,4 +1,18 @@ -using Etherna.VideoImporter.Core.Dtos; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Dtos; using Etherna.VideoImporter.Core.Models; using Etherna.VideoImporter.Core.Utilities; using System; diff --git a/src/EthernaVideoImporter.Core/Services/EthernaUserClientsAdapter.cs b/src/EthernaVideoImporter.Core/Services/EthernaUserClientsAdapter.cs index 5f56c4c..e2022c5 100644 --- a/src/EthernaVideoImporter.Core/Services/EthernaUserClientsAdapter.cs +++ b/src/EthernaVideoImporter.Core/Services/EthernaUserClientsAdapter.cs @@ -1,4 +1,18 @@ -using Etherna.ServicesClient; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.ServicesClient; using Etherna.ServicesClient.Clients.Index; using Etherna.VideoImporter.Core.Models; using System; diff --git a/src/EthernaVideoImporter.Core/Services/ICleanerVideoService.cs b/src/EthernaVideoImporter.Core/Services/ICleanerVideoService.cs index 589fcd5..4583510 100644 --- a/src/EthernaVideoImporter.Core/Services/ICleanerVideoService.cs +++ b/src/EthernaVideoImporter.Core/Services/ICleanerVideoService.cs @@ -1,4 +1,18 @@ -using Etherna.VideoImporter.Core.Models; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Models; using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/EthernaVideoImporter.Core/Services/IEthernaService.cs b/src/EthernaVideoImporter.Core/Services/IEthernaService.cs index d52bad1..a511cb0 100644 --- a/src/EthernaVideoImporter.Core/Services/IEthernaService.cs +++ b/src/EthernaVideoImporter.Core/Services/IEthernaService.cs @@ -1,4 +1,18 @@ -using Etherna.ServicesClient.Clients.Index; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.ServicesClient.Clients.Index; using Etherna.VideoImporter.Core.Models; using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/EthernaVideoImporter.Core/Services/ILinkReporterService.cs b/src/EthernaVideoImporter.Core/Services/ILinkReporterService.cs index 038c545..69d5ce1 100644 --- a/src/EthernaVideoImporter.Core/Services/ILinkReporterService.cs +++ b/src/EthernaVideoImporter.Core/Services/ILinkReporterService.cs @@ -1,4 +1,18 @@ -using System.Threading.Tasks; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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.Tasks; namespace Etherna.VideoImporter.Core.Services { diff --git a/src/EthernaVideoImporter.Core/Services/IVideoDownloaderService.cs b/src/EthernaVideoImporter.Core/Services/IVideoDownloaderService.cs index 37c8f00..554da84 100644 --- a/src/EthernaVideoImporter.Core/Services/IVideoDownloaderService.cs +++ b/src/EthernaVideoImporter.Core/Services/IVideoDownloaderService.cs @@ -1,4 +1,18 @@ -using Etherna.VideoImporter.Core.Models; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Models; using System.Threading.Tasks; namespace Etherna.VideoImporter.Core.Services diff --git a/src/EthernaVideoImporter.Core/Services/IVideoParseServices.cs b/src/EthernaVideoImporter.Core/Services/IVideoParseServices.cs index 4005de8..06d4c88 100644 --- a/src/EthernaVideoImporter.Core/Services/IVideoParseServices.cs +++ b/src/EthernaVideoImporter.Core/Services/IVideoParseServices.cs @@ -1,4 +1,18 @@ -using Etherna.VideoImporter.Core.Models; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Models; using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/EthernaVideoImporter.Core/Services/IVideoUploaderService.cs b/src/EthernaVideoImporter.Core/Services/IVideoUploaderService.cs index 5feed6c..729676c 100644 --- a/src/EthernaVideoImporter.Core/Services/IVideoUploaderService.cs +++ b/src/EthernaVideoImporter.Core/Services/IVideoUploaderService.cs @@ -1,4 +1,18 @@ -using Etherna.ServicesClient.Clients.Index; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.ServicesClient.Clients.Index; using Etherna.VideoImporter.Core.Models; using System.Threading.Tasks; diff --git a/src/EthernaVideoImporter.Core/Services/LinkReporterService.cs b/src/EthernaVideoImporter.Core/Services/LinkReporterService.cs index 62a3747..959a3e9 100644 --- a/src/EthernaVideoImporter.Core/Services/LinkReporterService.cs +++ b/src/EthernaVideoImporter.Core/Services/LinkReporterService.cs @@ -1,4 +1,18 @@ -using System.Threading.Tasks; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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.Tasks; namespace Etherna.VideoImporter.Core.Services { diff --git a/src/EthernaVideoImporter.Core/Services/VideoDownloaderService.cs b/src/EthernaVideoImporter.Core/Services/VideoDownloaderService.cs index a50696b..9790cab 100644 --- a/src/EthernaVideoImporter.Core/Services/VideoDownloaderService.cs +++ b/src/EthernaVideoImporter.Core/Services/VideoDownloaderService.cs @@ -1,4 +1,18 @@ -using Etherna.VideoImporter.Core.Models; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Models; using System; using System.Collections.Generic; using System.IO; diff --git a/src/EthernaVideoImporter.Core/Services/VideoUploaderService.cs b/src/EthernaVideoImporter.Core/Services/VideoUploaderService.cs index 02cd067..617311a 100644 --- a/src/EthernaVideoImporter.Core/Services/VideoUploaderService.cs +++ b/src/EthernaVideoImporter.Core/Services/VideoUploaderService.cs @@ -1,4 +1,18 @@ -using Etherna.BeeNet; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.BeeNet; using Etherna.BeeNet.InputModels; using Etherna.ServicesClient.Clients.Index; using Etherna.VideoImporter.Core.Dtos; diff --git a/src/EthernaVideoImporter.Core/Utilities/CommonConst.cs b/src/EthernaVideoImporter.Core/Utilities/CommonConst.cs index a60c9aa..140985a 100644 --- a/src/EthernaVideoImporter.Core/Utilities/CommonConst.cs +++ b/src/EthernaVideoImporter.Core/Utilities/CommonConst.cs @@ -1,4 +1,18 @@ -using Etherna.BeeNet.Clients.DebugApi; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.BeeNet.Clients.DebugApi; using Etherna.BeeNet.Clients.GatewayApi; namespace Etherna.VideoImporter.Core.Utilities diff --git a/src/EthernaVideoImporter.Core/Utilities/JsonUtility.cs b/src/EthernaVideoImporter.Core/Utilities/JsonUtility.cs index c5da34e..869f6f2 100644 --- a/src/EthernaVideoImporter.Core/Utilities/JsonUtility.cs +++ b/src/EthernaVideoImporter.Core/Utilities/JsonUtility.cs @@ -1,4 +1,18 @@ -using System.Text.Json; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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.Text.Json; using System.Text.Json.Serialization; namespace Etherna.VideoImporter.Core.Utilities diff --git a/src/EthernaVideoImporter.Devcon/Program.cs b/src/EthernaVideoImporter.Devcon/Program.cs index 4e16363..a4b1635 100644 --- a/src/EthernaVideoImporter.Devcon/Program.cs +++ b/src/EthernaVideoImporter.Devcon/Program.cs @@ -1,4 +1,18 @@ -using Etherna.BeeNet; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.BeeNet; using Etherna.ServicesClient; using Etherna.VideoImporter.Core; using Etherna.VideoImporter.Core.Services; diff --git a/src/EthernaVideoImporter.Devcon/Properties/AssemblyInfo.cs b/src/EthernaVideoImporter.Devcon/Properties/AssemblyInfo.cs index 9a314b2..5f080ca 100644 --- a/src/EthernaVideoImporter.Devcon/Properties/AssemblyInfo.cs +++ b/src/EthernaVideoImporter.Devcon/Properties/AssemblyInfo.cs @@ -1,4 +1,4 @@ -// Copyright 2021-present Etherna Sagl +// Copyright 2022-present Etherna Sagl // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/EthernaVideoImporter.Devcon/Services/DevconLinkReporterService.cs b/src/EthernaVideoImporter.Devcon/Services/DevconLinkReporterService.cs index 2e66203..4153699 100644 --- a/src/EthernaVideoImporter.Devcon/Services/DevconLinkReporterService.cs +++ b/src/EthernaVideoImporter.Devcon/Services/DevconLinkReporterService.cs @@ -1,4 +1,18 @@ -using Etherna.VideoImporter.Core.Services; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Services; using System; using System.Collections.Generic; using System.IO; diff --git a/src/EthernaVideoImporter.Devcon/Services/MdVideoParserService.cs b/src/EthernaVideoImporter.Devcon/Services/MdVideoParserService.cs index 35325df..610da2a 100644 --- a/src/EthernaVideoImporter.Devcon/Services/MdVideoParserService.cs +++ b/src/EthernaVideoImporter.Devcon/Services/MdVideoParserService.cs @@ -1,4 +1,18 @@ -using Etherna.VideoImporter.Core.Models; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Models; using Etherna.VideoImporter.Core.Services; using System; using System.Collections.Generic; diff --git a/src/EthernaVideoImporter/Program.cs b/src/EthernaVideoImporter/Program.cs index b64ab67..7633ff4 100644 --- a/src/EthernaVideoImporter/Program.cs +++ b/src/EthernaVideoImporter/Program.cs @@ -1,4 +1,18 @@ -using Etherna.BeeNet; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.BeeNet; using Etherna.ServicesClient; using Etherna.VideoImporter.Core; using Etherna.VideoImporter.Core.Services; diff --git a/src/EthernaVideoImporter/Properties/AssemblyInfo.cs b/src/EthernaVideoImporter/Properties/AssemblyInfo.cs index 9a314b2..5f080ca 100644 --- a/src/EthernaVideoImporter/Properties/AssemblyInfo.cs +++ b/src/EthernaVideoImporter/Properties/AssemblyInfo.cs @@ -1,4 +1,4 @@ -// Copyright 2021-present Etherna Sagl +// Copyright 2022-present Etherna Sagl // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/EthernaVideoImporter/Services/YouTubeChannelVideoParserServices.cs b/src/EthernaVideoImporter/Services/YouTubeChannelVideoParserServices.cs index 37111de..8bbcd61 100644 --- a/src/EthernaVideoImporter/Services/YouTubeChannelVideoParserServices.cs +++ b/src/EthernaVideoImporter/Services/YouTubeChannelVideoParserServices.cs @@ -1,4 +1,18 @@ -using Etherna.VideoImporter.Core.Models; +// Copyright 2022-present Etherna Sagl +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 Etherna.VideoImporter.Core.Models; using Etherna.VideoImporter.Core.Services; using System.Collections.Generic; using System.Threading.Tasks;