blogifierdotnet / blogifier.spa Goto Github PK
View Code? Open in Web Editor NEWMulti-user Blog Application built with Angular front-end and ASP.NET Core REST APIs
License: MIT License
Multi-user Blog Application built with Angular front-end and ASP.NET Core REST APIs
License: MIT License
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?
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)
I am trying to find instructions to be able to enable comments on the blog.
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
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
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?
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
{
"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, Func
3 operation, Func3 verifySucceeded) at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable
1.Enumerator.MoveNext()
System.ArgumentException: Keyword not supported: 'initial catalog'.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.