diff --git a/unjo.Core/Attributes/GenerateIdAttribute.cs b/zero.Core/Attributes/GenerateIdAttribute.cs similarity index 93% rename from unjo.Core/Attributes/GenerateIdAttribute.cs rename to zero.Core/Attributes/GenerateIdAttribute.cs index a1fd6586..1f771ff5 100644 --- a/unjo.Core/Attributes/GenerateIdAttribute.cs +++ b/zero.Core/Attributes/GenerateIdAttribute.cs @@ -1,6 +1,6 @@ using System; -namespace unjo.Core.Attributes +namespace zero.Core.Attributes { /// /// Automatically generate ID with the specified length and insert it into this property on entity save diff --git a/unjo.Core/Attributes/MapAppIdAttribute.cs b/zero.Core/Attributes/MapAppIdAttribute.cs similarity index 91% rename from unjo.Core/Attributes/MapAppIdAttribute.cs rename to zero.Core/Attributes/MapAppIdAttribute.cs index f31e14d8..8576eb7b 100644 --- a/unjo.Core/Attributes/MapAppIdAttribute.cs +++ b/zero.Core/Attributes/MapAppIdAttribute.cs @@ -1,6 +1,6 @@ using System; -namespace unjo.Core.Attributes +namespace zero.Core.Attributes { /// /// This attribute automatically inserts the current application id into this property (has to be a string) on entity save diff --git a/unjo.Core/Attributes/OperationCancelledExceptionFilterAttribute.cs b/zero.Core/Attributes/OperationCancelledExceptionFilterAttribute.cs similarity index 96% rename from unjo.Core/Attributes/OperationCancelledExceptionFilterAttribute.cs rename to zero.Core/Attributes/OperationCancelledExceptionFilterAttribute.cs index ad351ae2..202e6d31 100644 --- a/unjo.Core/Attributes/OperationCancelledExceptionFilterAttribute.cs +++ b/zero.Core/Attributes/OperationCancelledExceptionFilterAttribute.cs @@ -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 { diff --git a/unjo.Core/Configuration.cs b/zero.Core/Configuration.cs similarity index 97% rename from unjo.Core/Configuration.cs rename to zero.Core/Configuration.cs index c7200f81..91e575bd 100644 --- a/unjo.Core/Configuration.cs +++ b/zero.Core/Configuration.cs @@ -1,4 +1,4 @@ -namespace unjo.Core +namespace zero.Core { public class BackofficeConfiguration : IBackofficeConfiguration { diff --git a/unjo.Core/Constants.cs b/zero.Core/Constants.cs similarity index 94% rename from unjo.Core/Constants.cs rename to zero.Core/Constants.cs index fe7a7864..45872961 100644 --- a/unjo.Core/Constants.cs +++ b/zero.Core/Constants.cs @@ -1,4 +1,4 @@ -namespace unjo.Core +namespace zero.Core { public static class Constants { diff --git a/unjo.Core/Entities/Applications/Application.cs b/zero.Core/Entities/Applications/Application.cs similarity index 84% rename from unjo.Core/Entities/Applications/Application.cs rename to zero.Core/Entities/Applications/Application.cs index 1ac15aa8..1cc42350 100644 --- a/unjo.Core/Entities/Applications/Application.cs +++ b/zero.Core/Entities/Applications/Application.cs @@ -1,7 +1,7 @@ -namespace unjo.Core.Entities +namespace zero.Core.Entities { /// - /// 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 /// public class Application : DatabaseEntity { diff --git a/unjo.Core/Entities/BackofficeUser/BackofficeUser.cs b/zero.Core/Entities/BackofficeUser/BackofficeUser.cs similarity index 99% rename from unjo.Core/Entities/BackofficeUser/BackofficeUser.cs rename to zero.Core/Entities/BackofficeUser/BackofficeUser.cs index 56d34dbf..8892c41e 100644 --- a/unjo.Core/Entities/BackofficeUser/BackofficeUser.cs +++ b/zero.Core/Entities/BackofficeUser/BackofficeUser.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace unjo.Core.Entities +namespace zero.Core.Entities { public class BackofficeUser : DatabaseEntity, IBackofficeUser { diff --git a/unjo.Core/Entities/BackofficeUser/BackofficeUserClaim.cs b/zero.Core/Entities/BackofficeUser/BackofficeUserClaim.cs similarity index 97% rename from unjo.Core/Entities/BackofficeUser/BackofficeUserClaim.cs rename to zero.Core/Entities/BackofficeUser/BackofficeUserClaim.cs index cd084772..b6c193fa 100644 --- a/unjo.Core/Entities/BackofficeUser/BackofficeUserClaim.cs +++ b/zero.Core/Entities/BackofficeUser/BackofficeUserClaim.cs @@ -1,6 +1,6 @@ using System.Security.Claims; -namespace unjo.Core.Entities +namespace zero.Core.Entities { public class BackofficeUserClaim : IBackofficeUserClaim { diff --git a/unjo.Core/Entities/BackofficeUser/BackofficeUserRole.cs b/zero.Core/Entities/BackofficeUser/BackofficeUserRole.cs similarity index 96% rename from unjo.Core/Entities/BackofficeUser/BackofficeUserRole.cs rename to zero.Core/Entities/BackofficeUser/BackofficeUserRole.cs index 8931ec31..f86512ae 100644 --- a/unjo.Core/Entities/BackofficeUser/BackofficeUserRole.cs +++ b/zero.Core/Entities/BackofficeUser/BackofficeUserRole.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace unjo.Core.Entities +namespace zero.Core.Entities { public class BackofficeUserRole : DatabaseEntity, IBackofficeUserRole { diff --git a/unjo.Core/Entities/DatabaseEntity.cs b/zero.Core/Entities/DatabaseEntity.cs similarity index 95% rename from unjo.Core/Entities/DatabaseEntity.cs rename to zero.Core/Entities/DatabaseEntity.cs index 80403907..460aabe8 100644 --- a/unjo.Core/Entities/DatabaseEntity.cs +++ b/zero.Core/Entities/DatabaseEntity.cs @@ -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 diff --git a/unjo.Core/Entities/Media/Media.cs b/zero.Core/Entities/Media/Media.cs similarity index 96% rename from unjo.Core/Entities/Media/Media.cs rename to zero.Core/Entities/Media/Media.cs index a74b29f1..2cee69d7 100644 --- a/unjo.Core/Entities/Media/Media.cs +++ b/zero.Core/Entities/Media/Media.cs @@ -1,6 +1,6 @@ using System; -namespace unjo.Core.Entities +namespace zero.Core.Entities { /// /// A media file (can contain an image or other media like videos and documents) diff --git a/unjo.Core/Entities/Media/MediaFocalPoint.cs b/zero.Core/Entities/Media/MediaFocalPoint.cs similarity index 88% rename from unjo.Core/Entities/Media/MediaFocalPoint.cs rename to zero.Core/Entities/Media/MediaFocalPoint.cs index cb4ca469..2142594f 100644 --- a/unjo.Core/Entities/Media/MediaFocalPoint.cs +++ b/zero.Core/Entities/Media/MediaFocalPoint.cs @@ -1,4 +1,4 @@ -namespace unjo.Core.Entities +namespace zero.Core.Entities { /// /// The focal point sets the point of interest in an image with x/y coordinates from 0-1 diff --git a/unjo.Core/Entities/Pages/Page.cs b/zero.Core/Entities/Pages/Page.cs similarity index 87% rename from unjo.Core/Entities/Pages/Page.cs rename to zero.Core/Entities/Pages/Page.cs index 2ba03335..997e26e5 100644 --- a/unjo.Core/Entities/Pages/Page.cs +++ b/zero.Core/Entities/Pages/Page.cs @@ -1,4 +1,4 @@ -namespace unjo.Core.Entities +namespace zero.Core.Entities { /// /// A page can consist of unlimited properties and be rendered as you wish diff --git a/unjo.Core/Entities/Sections/IChildSection.cs b/zero.Core/Entities/Sections/IChildSection.cs similarity index 93% rename from unjo.Core/Entities/Sections/IChildSection.cs rename to zero.Core/Entities/Sections/IChildSection.cs index 50b44a33..83406e74 100644 --- a/unjo.Core/Entities/Sections/IChildSection.cs +++ b/zero.Core/Entities/Sections/IChildSection.cs @@ -1,4 +1,4 @@ -namespace unjo.Core.Entities +namespace zero.Core.Entities { /// /// A child section is a sub-navigation item of a section diff --git a/unjo.Core/Entities/Sections/ISection.cs b/zero.Core/Entities/Sections/ISection.cs similarity index 95% rename from unjo.Core/Entities/Sections/ISection.cs rename to zero.Core/Entities/Sections/ISection.cs index a597ec7b..1b0947f2 100644 --- a/unjo.Core/Entities/Sections/ISection.cs +++ b/zero.Core/Entities/Sections/ISection.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace unjo.Core.Entities +namespace zero.Core.Entities { /// /// A section is a main part of the backoffice application diff --git a/unjo.Core/Extensions/StringExtensions.cs b/zero.Core/Extensions/StringExtensions.cs similarity index 98% rename from unjo.Core/Extensions/StringExtensions.cs rename to zero.Core/Extensions/StringExtensions.cs index 6fe11b71..ea535749 100644 --- a/unjo.Core/Extensions/StringExtensions.cs +++ b/zero.Core/Extensions/StringExtensions.cs @@ -1,7 +1,7 @@ using System; using System.Globalization; -namespace unjo.Core.Extensions +namespace zero.Core.Extensions { public static class StringExtensions { diff --git a/unjo.Core/unjo.Core.csproj b/zero.Core/zero.Core.csproj similarity index 100% rename from unjo.Core/unjo.Core.csproj rename to zero.Core/zero.Core.csproj diff --git a/unjo.Web/App/app.vue b/zero.Web/App/app.vue similarity index 100% rename from unjo.Web/App/app.vue rename to zero.Web/App/app.vue diff --git a/unjo.Web/Controllers/BackofficeController.cs b/zero.Web/Controllers/BackofficeController.cs similarity index 86% rename from unjo.Web/Controllers/BackofficeController.cs rename to zero.Web/Controllers/BackofficeController.cs index f3cc9206..b575ed36 100644 --- a/unjo.Web/Controllers/BackofficeController.cs +++ b/zero.Web/Controllers/BackofficeController.cs @@ -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 { diff --git a/unjo.Web/Controllers/IndexController.cs b/zero.Web/Controllers/IndexController.cs similarity index 88% rename from unjo.Web/Controllers/IndexController.cs rename to zero.Web/Controllers/IndexController.cs index a00a2ebf..aefb0192 100644 --- a/unjo.Web/Controllers/IndexController.cs +++ b/zero.Web/Controllers/IndexController.cs @@ -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 diff --git a/unjo.Web/Index.cshtml b/zero.Web/Index.cshtml similarity index 96% rename from unjo.Web/Index.cshtml rename to zero.Web/Index.cshtml index d48df025..4ea026bd 100644 --- a/unjo.Web/Index.cshtml +++ b/zero.Web/Index.cshtml @@ -15,7 +15,7 @@ - unjo + zero
diff --git a/unjo.Web/Program.cs b/zero.Web/Program.cs similarity index 98% rename from unjo.Web/Program.cs rename to zero.Web/Program.cs index 4eb93bbb..80a70a62 100644 --- a/unjo.Web/Program.cs +++ b/zero.Web/Program.cs @@ -5,7 +5,7 @@ using Microsoft.Extensions.Logging; using System; using System.Diagnostics; -namespace unjo.Web +namespace zero.Web { public class Program { diff --git a/unjo.Web/Properties/launchSettings.json b/zero.Web/Properties/launchSettings.json similarity index 97% rename from unjo.Web/Properties/launchSettings.json rename to zero.Web/Properties/launchSettings.json index 2546c65e..4820067a 100644 --- a/unjo.Web/Properties/launchSettings.json +++ b/zero.Web/Properties/launchSettings.json @@ -14,7 +14,7 @@ "ASPNETCORE_ENVIRONMENT": "Development" } }, - "unjo": { + "zero": { "commandName": "Project", "applicationUrl": "http://localhost:2300", "environmentVariables": { diff --git a/unjo.Web/Sections/DashboardSection.cs b/zero.Web/Sections/DashboardSection.cs similarity index 87% rename from unjo.Web/Sections/DashboardSection.cs rename to zero.Web/Sections/DashboardSection.cs index 9f2b5e68..643101b6 100644 --- a/unjo.Web/Sections/DashboardSection.cs +++ b/zero.Web/Sections/DashboardSection.cs @@ -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 { /// /// The dashboard aggregates data from all sections diff --git a/unjo.Web/Sections/ListsSection.cs b/zero.Web/Sections/ListsSection.cs similarity index 85% rename from unjo.Web/Sections/ListsSection.cs rename to zero.Web/Sections/ListsSection.cs index 1f8353b5..a6160a12 100644 --- a/unjo.Web/Sections/ListsSection.cs +++ b/zero.Web/Sections/ListsSection.cs @@ -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 { /// /// Global list entities diff --git a/unjo.Web/Sections/MediaSection.cs b/zero.Web/Sections/MediaSection.cs similarity index 86% rename from unjo.Web/Sections/MediaSection.cs rename to zero.Web/Sections/MediaSection.cs index 47edaa5c..37c08b97 100644 --- a/unjo.Web/Sections/MediaSection.cs +++ b/zero.Web/Sections/MediaSection.cs @@ -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 { /// /// Media items (images, videos, documents) grouped in folders diff --git a/unjo.Web/Sections/PagesSection.cs b/zero.Web/Sections/PagesSection.cs similarity index 86% rename from unjo.Web/Sections/PagesSection.cs rename to zero.Web/Sections/PagesSection.cs index efde1514..7413213c 100644 --- a/unjo.Web/Sections/PagesSection.cs +++ b/zero.Web/Sections/PagesSection.cs @@ -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 { /// /// Manage the page tree in this section diff --git a/unjo.Web/Sections/SettingsSection.cs b/zero.Web/Sections/SettingsSection.cs similarity index 86% rename from unjo.Web/Sections/SettingsSection.cs rename to zero.Web/Sections/SettingsSection.cs index 04a36cde..6a71ff9f 100644 --- a/unjo.Web/Sections/SettingsSection.cs +++ b/zero.Web/Sections/SettingsSection.cs @@ -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 { /// /// Website and backoffice settings diff --git a/unjo.Web/Startup.cs b/zero.Web/Startup.cs similarity index 98% rename from unjo.Web/Startup.cs rename to zero.Web/Startup.cs index de7f8dc3..7c9d4bb1 100644 --- a/unjo.Web/Startup.cs +++ b/zero.Web/Startup.cs @@ -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(appConfig); - // add unjo core + // add zero core //services.AddCore(appConfig, env); // add cookie-based authentication diff --git a/unjo.Web/app.js b/zero.Web/app.js similarity index 78% rename from unjo.Web/app.js rename to zero.Web/app.js index fac6aa99..29def006 100644 --- a/unjo.Web/app.js +++ b/zero.Web/app.js @@ -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' diff --git a/unjo.Web/appSettings.Development.json b/zero.Web/appSettings.Development.json similarity index 90% rename from unjo.Web/appSettings.Development.json rename to zero.Web/appSettings.Development.json index 18eb7c4d..5544be19 100644 --- a/unjo.Web/appSettings.Development.json +++ b/zero.Web/appSettings.Development.json @@ -1,7 +1,7 @@ { "Raven": { "Url": "http://127.0.0.1:9800", - "Database": "unjo" + "Database": "zero" }, "Logging": { diff --git a/unjo.Web/appSettings.json b/zero.Web/appSettings.json similarity index 93% rename from unjo.Web/appSettings.json rename to zero.Web/appSettings.json index 993f1c3c..c2914d30 100644 --- a/unjo.Web/appSettings.json +++ b/zero.Web/appSettings.json @@ -7,7 +7,7 @@ "Raven": { "Url": "http://127.0.0.1:9800", - "Database": "unjo" + "Database": "zero" }, "Logging": { diff --git a/unjo.Web/config.js b/zero.Web/config.js similarity index 100% rename from unjo.Web/config.js rename to zero.Web/config.js diff --git a/unjo.Web/package.json b/zero.Web/package.json similarity index 96% rename from unjo.Web/package.json rename to zero.Web/package.json index 374e346b..992d42a4 100644 --- a/unjo.Web/package.json +++ b/zero.Web/package.json @@ -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", diff --git a/unjo.Web/router.js b/zero.Web/router.js similarity index 100% rename from unjo.Web/router.js rename to zero.Web/router.js diff --git a/unjo.Web/web.config b/zero.Web/web.config similarity index 100% rename from unjo.Web/web.config rename to zero.Web/web.config diff --git a/unjo.Web/web.release.config b/zero.Web/web.release.config similarity index 100% rename from unjo.Web/web.release.config rename to zero.Web/web.release.config diff --git a/unjo.Web/webpack.config.js b/zero.Web/webpack.config.js similarity index 96% rename from unjo.Web/webpack.config.js rename to zero.Web/webpack.config.js index 8db32b11..f7382991 100644 --- a/unjo.Web/webpack.config.js +++ b/zero.Web/webpack.config.js @@ -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 } }, diff --git a/unjo.Web/webpack.prod.js b/zero.Web/webpack.prod.js similarity index 100% rename from unjo.Web/webpack.prod.js rename to zero.Web/webpack.prod.js diff --git a/unjo.Web/wipe.js b/zero.Web/wipe.js similarity index 100% rename from unjo.Web/wipe.js rename to zero.Web/wipe.js diff --git a/unjo.Web/unjo.Web.csproj b/zero.Web/zero.Web.csproj similarity index 96% rename from unjo.Web/unjo.Web.csproj rename to zero.Web/zero.Web.csproj index ac4d5181..9b08e439 100644 --- a/unjo.Web/unjo.Web.csproj +++ b/zero.Web/zero.Web.csproj @@ -37,7 +37,7 @@ - + diff --git a/unjo.sln b/zero.sln similarity index 83% rename from unjo.sln rename to zero.sln index 8c3095f0..cf67e8a1 100644 --- a/unjo.sln +++ b/zero.sln @@ -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