Skip to content

Commit

Permalink
add license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm360 committed Feb 12, 2023
1 parent 8a3e3f9 commit 5a6a4a8
Show file tree
Hide file tree
Showing 32 changed files with 470 additions and 30 deletions.
1 change: 1 addition & 0 deletions EthernaVideoImporter.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
47 changes: 47 additions & 0 deletions EthernaVideoImporter.sln.licenseheader
Original file line number Diff line number Diff line change
@@ -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
<!-- 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.
-->
16 changes: 15 additions & 1 deletion src/EthernaVideoImporter.Core/Dtos/MetadataImageInput.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 15 additions & 1 deletion src/EthernaVideoImporter.Core/Dtos/MetadataPersonalDataDto.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
16 changes: 15 additions & 1 deletion src/EthernaVideoImporter.Core/Dtos/MetadataUploadMode.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
16 changes: 15 additions & 1 deletion src/EthernaVideoImporter.Core/Models/VideoData.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
16 changes: 15 additions & 1 deletion src/EthernaVideoImporter.Core/Models/VideoDataMinimalInfo.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
16 changes: 15 additions & 1 deletion src/EthernaVideoImporter.Core/Models/VideoDataResolution.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
16 changes: 15 additions & 1 deletion src/EthernaVideoImporter.Core/Runner.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
16 changes: 15 additions & 1 deletion src/EthernaVideoImporter.Core/SSO/SignServices.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
16 changes: 15 additions & 1 deletion src/EthernaVideoImporter.Core/SSO/SystemBrowser.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
16 changes: 15 additions & 1 deletion src/EthernaVideoImporter.Core/Services/CleanerVideoService.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
16 changes: 15 additions & 1 deletion src/EthernaVideoImporter.Core/Services/ICleanerVideoService.cs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
16 changes: 15 additions & 1 deletion src/EthernaVideoImporter.Core/Services/IEthernaService.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
16 changes: 15 additions & 1 deletion src/EthernaVideoImporter.Core/Services/ILinkReporterService.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 15 additions & 1 deletion src/EthernaVideoImporter.Core/Services/IVideoParseServices.cs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
Loading

0 comments on commit 5a6a4a8

Please sign in to comment.