rename to zero
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace unjo.Core.Attributes
|
||||
namespace zero.Core.Attributes
|
||||
{
|
||||
/// <summary>
|
||||
/// Automatically generate ID with the specified length and insert it into this property on entity save
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace unjo.Core.Attributes
|
||||
namespace zero.Core.Attributes
|
||||
{
|
||||
/// <summary>
|
||||
/// This attribute automatically inserts the current application id into this property (has to be a string) on entity save
|
||||
+1
-1
@@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Mvc.Filters;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System;
|
||||
|
||||
namespace unjo.Core.Attributes
|
||||
namespace zero.Core.Attributes
|
||||
{
|
||||
public class OperationCancelledExceptionFilterAttribute : ExceptionFilterAttribute
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace unjo.Core
|
||||
namespace zero.Core
|
||||
{
|
||||
public class BackofficeConfiguration : IBackofficeConfiguration
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace unjo.Core
|
||||
namespace zero.Core
|
||||
{
|
||||
public static class Constants
|
||||
{
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
namespace unjo.Core.Entities
|
||||
namespace zero.Core.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// An application is a website. Unjo can host multiple websites at once which share common assets
|
||||
/// An application is a website. zero can host multiple websites at once which share common assets
|
||||
/// </summary>
|
||||
public class Application : DatabaseEntity
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace unjo.Core.Entities
|
||||
namespace zero.Core.Entities
|
||||
{
|
||||
public class BackofficeUser : DatabaseEntity, IBackofficeUser
|
||||
{
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
using System.Security.Claims;
|
||||
|
||||
namespace unjo.Core.Entities
|
||||
namespace zero.Core.Entities
|
||||
{
|
||||
public class BackofficeUserClaim : IBackofficeUserClaim
|
||||
{
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace unjo.Core.Entities
|
||||
namespace zero.Core.Entities
|
||||
{
|
||||
public class BackofficeUserRole : DatabaseEntity, IBackofficeUserRole
|
||||
{
|
||||
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using unjo.Core.Attributes;
|
||||
using zero.Core.Attributes;
|
||||
|
||||
namespace unjo.Core.Entities
|
||||
namespace zero.Core.Entities
|
||||
{
|
||||
[DebuggerDisplay("Id = {Id,nq}, Name = {Name}")]
|
||||
public abstract class DatabaseEntity : IDatabaseEntity
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace unjo.Core.Entities
|
||||
namespace zero.Core.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// A media file (can contain an image or other media like videos and documents)
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace unjo.Core.Entities
|
||||
namespace zero.Core.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// The focal point sets the point of interest in an image with x/y coordinates from 0-1
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace unjo.Core.Entities
|
||||
namespace zero.Core.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// A page can consist of unlimited properties and be rendered as you wish
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace unjo.Core.Entities
|
||||
namespace zero.Core.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// A child section is a sub-navigation item of a section
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace unjo.Core.Entities
|
||||
namespace zero.Core.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// A section is a main part of the backoffice application
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
|
||||
namespace unjo.Core.Extensions
|
||||
namespace zero.Core.Extensions
|
||||
{
|
||||
public static class StringExtensions
|
||||
{
|
||||
+1
-1
@@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace unjo.Web.Controllers
|
||||
namespace zero.Web.Controllers
|
||||
{
|
||||
public abstract class BackofficeController : Controller
|
||||
{
|
||||
@@ -1,7 +1,7 @@
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace unjo.Web.Controllers
|
||||
namespace zero.Web.Controllers
|
||||
{
|
||||
[AllowAnonymous]
|
||||
public class IndexController : BackofficeController
|
||||
@@ -15,7 +15,7 @@
|
||||
<environment exclude="Development">
|
||||
<link href="~/Assets/app.css" rel="stylesheet" asp-append-version="true" />
|
||||
</environment>
|
||||
<title>unjo</title>
|
||||
<title>zero</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
@@ -5,7 +5,7 @@ using Microsoft.Extensions.Logging;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace unjo.Web
|
||||
namespace zero.Web
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
@@ -14,7 +14,7 @@
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
"unjo": {
|
||||
"zero": {
|
||||
"commandName": "Project",
|
||||
"applicationUrl": "http://localhost:2300",
|
||||
"environmentVariables": {
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using unjo.Core;
|
||||
using unjo.Core.Entities;
|
||||
using zero.Core;
|
||||
using zero.Core.Entities;
|
||||
|
||||
namespace unjo.Web.Sections
|
||||
namespace zero.Web.Sections
|
||||
{
|
||||
/// <summary>
|
||||
/// The dashboard aggregates data from all sections
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using unjo.Core;
|
||||
using unjo.Core.Entities;
|
||||
using zero.Core;
|
||||
using zero.Core.Entities;
|
||||
|
||||
namespace unjo.Web.Sections
|
||||
namespace zero.Web.Sections
|
||||
{
|
||||
/// <summary>
|
||||
/// Global list entities
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using unjo.Core;
|
||||
using unjo.Core.Entities;
|
||||
using zero.Core;
|
||||
using zero.Core.Entities;
|
||||
|
||||
namespace unjo.Web.Sections
|
||||
namespace zero.Web.Sections
|
||||
{
|
||||
/// <summary>
|
||||
/// Media items (images, videos, documents) grouped in folders
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using unjo.Core;
|
||||
using unjo.Core.Entities;
|
||||
using zero.Core;
|
||||
using zero.Core.Entities;
|
||||
|
||||
namespace unjo.Web.Sections
|
||||
namespace zero.Web.Sections
|
||||
{
|
||||
/// <summary>
|
||||
/// Manage the page tree in this section
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using unjo.Core;
|
||||
using unjo.Core.Entities;
|
||||
using zero.Core;
|
||||
using zero.Core.Entities;
|
||||
|
||||
namespace unjo.Web.Sections
|
||||
namespace zero.Web.Sections
|
||||
{
|
||||
/// <summary>
|
||||
/// Website and backoffice settings
|
||||
@@ -11,9 +11,9 @@ using Newtonsoft.Json.Converters;
|
||||
using Newtonsoft.Json.Serialization;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using unjo.Core;
|
||||
using zero.Core;
|
||||
|
||||
namespace unjo.Web
|
||||
namespace zero.Web
|
||||
{
|
||||
public class Startup
|
||||
{
|
||||
@@ -48,7 +48,7 @@ namespace unjo.Web
|
||||
ConfigurationBinder.Bind(config, appConfig);
|
||||
services.AddSingleton<IBackofficeConfiguration>(appConfig);
|
||||
|
||||
// add unjo core
|
||||
// add zero core
|
||||
//services.AddCore(appConfig, env);
|
||||
|
||||
// add cookie-based authentication
|
||||
@@ -1,5 +1,5 @@
|
||||
import Vue from 'vue';
|
||||
import App from 'unjo/app.vue';
|
||||
import App from 'zero/app.vue';
|
||||
//import 'filter/generic.js'
|
||||
//import 'directive/filedrop.js'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"Raven": {
|
||||
"Url": "http://127.0.0.1:9800",
|
||||
"Database": "unjo"
|
||||
"Database": "zero"
|
||||
},
|
||||
|
||||
"Logging": {
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
"Raven": {
|
||||
"Url": "http://127.0.0.1:9800",
|
||||
"Database": "unjo"
|
||||
"Database": "zero"
|
||||
},
|
||||
|
||||
"Logging": {
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"name": "unjo.web",
|
||||
"name": "zero.web",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"bin": {
|
||||
"unjo.web": "app.js"
|
||||
"zero.web": "app.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.19.2",
|
||||
@@ -23,7 +23,7 @@ module.exports = {
|
||||
extensions: ['.js', '.vue', '.json'],
|
||||
alias: {
|
||||
'vue$': 'vue/dist/vue.esm.js',
|
||||
'unjo': path.join(__dirname, 'App'),
|
||||
'zero': path.join(__dirname, 'App'),
|
||||
'@': __dirname
|
||||
}
|
||||
},
|
||||
@@ -37,7 +37,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\unjo.Core\unjo.Core.csproj" />
|
||||
<ProjectReference Include="..\zero.Core\zero.Core.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
+2
-2
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29709.97
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "unjo.Web", "unjo.Web\unjo.Web.csproj", "{8C14E4B1-8C00-4B4B-869B-4D2084ABE1F3}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "zero.Web", "zero.Web\zero.Web.csproj", "{8C14E4B1-8C00-4B4B-869B-4D2084ABE1F3}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "unjo.Core", "unjo.Core\unjo.Core.csproj", "{7BFF3DDE-F910-4CE1-9B94-846059CE80DA}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "zero.Core", "zero.Core\zero.Core.csproj", "{7BFF3DDE-F910-4CE1-9B94-846059CE80DA}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Reference in New Issue
Block a user