GithubHelp home page GithubHelp logo

blogifierdotnet / blogifier.spa Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 10.0 27.24 MB

Multi-user Blog Application built with Angular front-end and ASP.NET Core REST APIs

License: MIT License

C# 17.97% PowerShell 1.74% HTML 31.26% JavaScript 8.81% CSS 40.21%

blogifier.spa's People

Contributors

rxtur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

blogifier.spa's Issues

Post Description is same as the Post Title. Can't we change it?

The post.description returns the same value as that of post.title at this point of time. Is there a configuration to change it? Maybe the first 200 characters or 50 words from the post can be set as the description.

Is there any setting/config for this available? Or, is that something to be implemented?

An unhandled exception has occurred - Importing Feed

I do not see the code that actually imports the feed. But see Error 500 when I try to import a file exported from BlogEngine.Net blog.

Here is the content of the log file

2020-09-02 17:10:30.009 +05:30 [Error] Email sevice is not configured
2020-09-02 17:11:42.695 +05:30 [Error] Email sevice is not configured
2020-09-02 17:16:24.642 +05:30 [Error] An unhandled exception has occurred while executing the request.
System.Xml.XmlException: Unknown Rss Feed
   at Microsoft.SyndicationFeed.Rss.RssFeedReader.InitRead()
   at Microsoft.SyndicationFeed.Rss.RssFeedReader.Read()
   at Blogifier.Core.Services.ImportService.ImportFeed(StreamReader reader)
   at Blogifier.Core.Services.ImportService.Import(IFormFile file, String usr, String webRoot)
   at Core.Api.SettingsController.ImportFeed(IFormFile file) in C:\Users\kgoswami4\Source\Repos\Blogifier.SPA\src\Blogifier.API\SettingsController.cs:line 120
   at lambda_method(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
2020-09-02 17:20:46.404 +05:30 [Error] An unhandled exception has occurred while executing the request.
System.Xml.XmlException: Unknown Rss Feed
   at Microsoft.SyndicationFeed.Rss.RssFeedReader.InitRead()
   at Microsoft.SyndicationFeed.Rss.RssFeedReader.Read()
   at Blogifier.Core.Services.ImportService.ImportFeed(StreamReader reader)
   at Blogifier.Core.Services.ImportService.Import(IFormFile file, String usr, String webRoot)
   at Core.Api.SettingsController.ImportFeed(IFormFile file) in C:\Users\kgoswami4\Source\Repos\Blogifier.SPA\src\Blogifier.API\SettingsController.cs:line 120
   at lambda_method(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Image link issues in admin

Hi,

I see broken images in various parts of admin.

I.e. on attempt to change the avatar of a profile. (let's say admin)
File manager pops up, the listed images are not shown correctly.

When I inspect and check the image source, I see following:
domain/domain/wwwroot/data/admin/2020/5/myimage

the correct image location is:
domain/data/admin/2020/5/myimage

Similar problems occur in cover image update of the post entries.

Is there a global configuration that I overlooked to configure or is it an issue at Filemanager js file?

Thanks
Gokhan

Standard user - profile update

Hi,

Bio update (only text, or text + avatar update) gives 401 error when tried with normal user.
Same functionality works for admin user.

Best regards
Gokhan

ClientApp Missing?

In the startup I see it registering the SPA app path as ClientApp. I don't see this path in source anywhere.

Where can I find this?

Themes from the single user version

Hi,

When can we expect the nice improvements on single user version to SPA?

New themes and admin improvements are very good on single user version.
Thanks

Cheers
Gokhan

How to switch to MS SQL Server database

{
"Blogifier": {
"DbProvider": "MS SQL Server",
"ConnString": "Data Source=localhost;Initial Catalog=BlogDb;Persist Security Info=True;User ID=sa;Password=sa",

"Avatar": "lib/img/avatar.jpg",
"DemoMode": false,
"ImageExtensions": "png,jpg,jpeg,gif,bmp,tiff",
"ImportTypes": "zip,7z,xml,pdf,doc,docx,xls,xlsx,mp3,avi",
"SeedData": false,

"SendGridApiKey": "YOUR-SENDGRID-API-KEY",
"SendGridEmailFrom": "[email protected]",
"SendGridEmailFromName": "Blog admin",

"GithubRepoUrl": "https://api.github.com/repos/blogifierdotnet/Blogifier/releases/latest"

}
}
I've tried to change it to this, it's useless. It's a direct error

引发的异常:“System.ArgumentException”(位于 Microsoft.Data.Sqlite.dll 中)
引发的异常:“System.ArgumentException”(位于 Microsoft.Data.Sqlite.dll 中)
引发的异常:“System.ArgumentException”(位于 System.Data.Common.dll 中)
引发的异常:“System.ArgumentException”(位于 System.Data.Common.dll 中)
“iisexpress.exe”(CoreCLR: clrhost): 已加载“C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.4\System.Diagnostics.StackTrace.dll”。
“iisexpress.exe”(CoreCLR: clrhost): 已加载“C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.4\System.Reflection.Metadata.dll”。
Microsoft.EntityFrameworkCore.Query: Error: An exception occurred while iterating over the results of a query for context type 'Blogifier.Core.Data.AppDbContext'.
System.ArgumentException: Keyword not supported: 'initial catalog'.
at Microsoft.Data.Sqlite.SqliteConnectionStringBuilder.GetIndex(String keyword)
at Microsoft.Data.Sqlite.SqliteConnectionStringBuilder.set_Item(String keyword, Object value)
at System.Data.Common.DbConnectionStringBuilder.set_ConnectionString(String value)
at Microsoft.Data.Sqlite.SqliteConnectionStringBuilder..ctor(String connectionString)
at Microsoft.Data.Sqlite.SqliteConnection.set_ConnectionString(String value)
at Microsoft.Data.Sqlite.SqliteConnection..ctor(String connectionString)
at Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.SqliteRelationalConnection.CreateDbConnection()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.get_DbConnection()
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.CreateCommand(RelationalCommandParameterObject parameterObject, Guid commandId, DbCommandMethod commandMethod)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable1.Enumerator.InitializeReader(DbContext _, Boolean result) at Microsoft.EntityFrameworkCore.Storage.Internal.NoopExecutionStrategy.Execute[TState,TResult](TState state, Func3 operation, Func3 verifySucceeded) at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable1.Enumerator.MoveNext()

System.ArgumentException: Keyword not supported: 'initial catalog'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.