Skip to content

Commit

Permalink
Merge pull request #142 from RaythaHQ/release-v1.1.2
Browse files Browse the repository at this point in the history
Release v1.1.2
  • Loading branch information
apexdodge committed Aug 26, 2023
2 parents 2942448 + 44b3d2e commit 91bfa21
Show file tree
Hide file tree
Showing 29 changed files with 564 additions and 126 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name : 'Build and Run Tests'

on:
push:
branches:
- 'main'
- 'dev'

jobs:
build_tests:
runs-on : ubuntu-latest
strategy:
matrix:
dotnet-version: ['6.0.x']

steps:
- uses: actions/checkout@v3
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build
- name: Test with the dotnet CLI
run: dotnet test
16 changes: 8 additions & 8 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
// For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md.
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/Raytha.Web/bin/Debug/net6.0/Raytha.Web.dll",
"args": [],
"cwd": "${workspaceFolder}/Raytha.Web",
"program": "${workspaceFolder}/src/Raytha.Web/bin/Debug/net6.0/Raytha.Web.dll",
"args": ["--configuration", "Debug without JS"],
"cwd": "${workspaceFolder}/src/Raytha.Web",
"stopAtEntry": false,
// Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
// "serverReadyAction": {
// "action": "openExternally",
// "pattern": "\\bNow listening on:\\s+(https?://\\S+)"
// },
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
Expand Down
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

8 changes: 0 additions & 8 deletions .vscode/solution-explorer/class.cs-template

This file was deleted.

3 changes: 0 additions & 3 deletions .vscode/solution-explorer/class.ts-template

This file was deleted.

9 changes: 0 additions & 9 deletions .vscode/solution-explorer/class.vb-template

This file was deleted.

3 changes: 0 additions & 3 deletions .vscode/solution-explorer/default.ts-template

This file was deleted.

8 changes: 0 additions & 8 deletions .vscode/solution-explorer/enum.cs-template

This file was deleted.

8 changes: 0 additions & 8 deletions .vscode/solution-explorer/interface.cs-template

This file was deleted.

3 changes: 0 additions & 3 deletions .vscode/solution-explorer/interface.ts-template

This file was deleted.

46 changes: 0 additions & 46 deletions .vscode/solution-explorer/template-list.json

This file was deleted.

17 changes: 0 additions & 17 deletions .vscode/solution-explorer/template-parameters.js

This file was deleted.

9 changes: 4 additions & 5 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "process",
"args": [
"build",
"${workspaceFolder}/Raytha.Web/Raytha.Web.csproj",
"${workspaceFolder}/Raytha.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand All @@ -19,7 +19,7 @@
"type": "process",
"args": [
"publish",
"${workspaceFolder}/Raytha.Web/Raytha.Web.csproj",
"${workspaceFolder}/Raytha.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand All @@ -32,9 +32,8 @@
"args": [
"watch",
"run",
"${workspaceFolder}/Raytha.Web/Raytha.Web.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
"--project",
"${workspaceFolder}/Raytha.sln"
],
"problemMatcher": "$msCompile"
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Raytha](https://raytha.com)

[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)
[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/) ![Dev Build](https://github.com/raythahq/raytha/actions/workflows/tests.yml/badge.svg?branch=dev)

![rsz_color_logo_with_background](https://user-images.githubusercontent.com/777005/210120197-61101dee-91c7-4628-8fb4-c0d701843704.png)

Expand Down
2 changes: 2 additions & 0 deletions docfx_project/apitoc/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
name: CreateContentItem
- uid: Raytha.Application.ContentItems.Commands.BeginExportContentItemsToCsv.Command
name: BeginExportContentItemsToCsv
- uid: Raytha.Application.ContentItems.Commands.BeginImportContentItemsFromCsv.Command
name: BeginImportContentItemsFromCsv
- uid: Raytha.Application.ContentItems.Commands.DeleteAlreadyDeletedContentItem.Command
name: DeleteAlreadyDeletedContentItem
- uid: Raytha.Application.ContentItems.Commands.DeleteContentItem.Command
Expand Down
16 changes: 16 additions & 0 deletions src/Raytha.Application/Common/Interfaces/ICSVService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CsvHelper;
using System.Collections;
using System.Xml;

namespace Raytha.Application.Common.Interfaces
{
public interface ICSVService
{
public List<Dictionary<string,object>> ReadCSV<T>(Stream file);
}
}
1 change: 1 addition & 0 deletions src/Raytha.Application/ConfigureServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public static IServiceCollection AddApplicationServices(this IServiceCollection
services.AddTransient(typeof(IPipelineBehavior<,>), typeof(ValidationBehaviour<,>));
services.AddTransient(typeof(IPipelineBehavior<,>), typeof(AuditBehavior<,>));
services.AddScoped<BeginExportContentItemsToCsv.BackgroundTask>();
services.AddScoped<BeginImportContentItemsFromCsv.BackgroundTask>();
services.AddScoped<FieldValueConverter>();
return services;
}
Expand Down
Loading

0 comments on commit 91bfa21

Please sign in to comment.