Aktivity „Navneet@aol.com.au“

https://github.com/NavneetProject/abp-commercial-docs

Hi liangshiwei,

Thanks for your suggestion, Admin side is now working properly. . However public side, I am still getting errors: .

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Volo.Docs.GitHub.Projects.ProjectGithubExtensions.GetGitHubInnerUrl(Project project, String languageCode, String documentName)
   at Volo.Docs.GitHub.Documents.GithubDocumentSource.GetLastKnownSignificantUpdateTime(Project project, String documentName, String languageCode, String version, Nullable`1 lastKnownSignificantUpdateTime, Boolean isNavigationDocument, Boolean isParameterDocument, IReadOnlyList`1 commits, DateTime documentCreationTime)
   at Volo.Docs.GitHub.Documents.GithubDocumentSource.GetDocumentAsync(Project project, String documentName, String languageCode, String version, Nullable`1 lastKnownSignificantUpdateTime)
   at Volo.Docs.Documents.DocumentAppService.GetDocumentAsync(String documentName, Project project, String languageCode, String version, Document oldDocument)
   at Volo.Docs.Documents.DocumentAppService.GetDocumentWithDetailsDtoAsync(Project project, String documentName, String languageCode, String version)
   at Volo.Docs.Documents.DocumentAppService.GetDefaultAsync(GetDefaultDocumentInput input)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)
   at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Volo.Docs.Pages.Documents.Project.IndexModel.GetSpecificDocumentOrDefaultAsync(String languageCode)
   at Volo.Docs.Pages.Documents.Project.IndexModel.SetDocumentAsync()
   at Volo.Docs.Pages.Documents.Project.IndexModel.SetPageAsync()
   at Volo.Docs.Pages.Documents.Project.IndexModel.OnGetAsync()
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.GenericTaskHandlerMethod.Convert[T](Object taskAsObject)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.GenericTaskHandlerMethod.Execute(Object receiver, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeHandlerMethodAsync()
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeNextPageFilterAsync()
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Rethrow(PageHandlerExecutedContext context)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeInnerFilterAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ExceptionContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_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|20_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.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 Volo.Abp.AspNetCore.Uow.AbpUnitOfWorkMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Volo.Abp.AspNetCore.Serilog.AbpSerilogMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Volo.Abp.AspNetCore.Auditing.AbpAuditingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Volo.Abp.AspNetCore.Auditing.AbpAuditingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)

Regards, Navneet

Thanks Hinairusu for your suggestions . . . Hi Liangshiwei, can you please suggest how to fix volo.docs, I have attached screenshots in previous post

Regards Navneet

Hi,

Sorry again,

The rich text editor convert my reply and make it wrong.

Please try this: https://gist.github.com/realLiangshiwei/7ffd48434a102097ca9168016a8a5359

We are getting close to fix, however there is still icon missing from list, please see below:


For Point 2, It is already referred in the project, please see screenshot:

You also need to install admin.application , admin.application.contract, admin.httpapi etc... packages.

after adding volo docs admin modules, I can now add documents and pull from GitHub, however I am getting below errors: . . . In UI header and value is mapped incorrectly, however in database everything looks correct: .

. . Maybe because of above, I am getting error while browsing: . . . Regards, Navneet

Hi,

For point 1, it has created another issue, please see below screenshot:

Please update the Default.cshtml

@using Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX.Themes.LeptonX.Components.SideMenu.MainMenu 
@using Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX.Themes.LeptonX.Components.Common.MobileGeneralSettings 
@using Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX.Themes.LeptonX.Components.SideMenu.MobileNavbar 
@using Volo.Abp.LeptonX.Shared.Localization 
@using Microsoft.Extensions.Localization 
@using Volo.Abp.Users 
 
@model MobileNavbarViewModel 
@inject ICurrentUser CurrentUser 
@inject IStringLocalizer<LeptonXResource> L 
 
<div class="lpx-mobile-navbar-container"> 
  <div class="lpx-mobile-navbar"> 
  	<ul class="lpx-mobile-nav-tabs"> 
 
  		@foreach (var viewModel in Model.SelectedMenuItems) 
  		{ 
  			var url = string.IsNullOrEmpty(viewModel.MenuItem.Url) ? "#" : Url.IsLocalUrl(viewModel.MenuItem.Url) ? Url.Content(viewModel.MenuItem.Url.EnsureStartsWith('~')) : viewModel.MenuItem.Url; 
 
  			<li class="lpx-mobile-nav-tab"> 
  				<a id="@viewModel.MenuItem.ElementId" href="@url" target="@viewModel.MenuItem.Target" class="lpx-mobile-nav-item @viewModel.MenuItem.CssClass"> 
  					<i class="menu-item-icon @viewModel.MenuItem.Icon" aria-hidden="true"></i> 
  					<span class="mobile-item-text"> @viewModel.MenuItem.DisplayName </span> 
  				</a> 
  			</li> 
  		} 
 
  		<li class="lpx-mobile-nav-tab menu-toggle"> 
  			<a href="javascript:void(0)" class="lpx-mobile-hamburger" data-lpx-mobile-menu-toggle="routes"> 
  				<span class="hamburger-icon" aria-hidden="true"> 
  					<span class="icon-part"></span> 
  					<span class="icon-part"></span> 
  					<span class="icon-part"></span> 
  					<span class="icon-part"></span> 
  					<span class="icon-part"></span> 
  					<span class="icon-part"></span> 
  				</span> 
  			</a> 
  		</li> 
 
  		<li class="lpx-mobile-nav-tab"> 
  			<a class="lpx-mobile-nav-item" data-lpx-mobile-menu-toggle="settings"> 
  				<i class="menu-item-icon bi bi-gear-wide-connected" aria-hidden="true"></i> 
  				<span class="mobile-item-text">Settings</span> 
  			</a> 
  		</li> 
  		<li class="lpx-mobile-nav-tab"> 
  			@if (CurrentUser.IsAuthenticated) 
  			{ 
  			  <a class="lpx-mobile-nav-item" data-lpx-mobile-menu-toggle="user"> 
  			  <div class="lpx-avatar"> 
  				   <img class="lpx-avatar-img" src="@Model.ProfileImageUrl" alt="admin avatar"> 
  				</div> 
 
  			    <span class="mobile-item-text">@CurrentUser.UserName</span> 
  			  </a> 
  			} 
  			else 
  			{ 
  			  <a href="~/account/login" class="lpx-mobile-nav-item"> 
  			    <i class="menu-item-icon bi bi-person-fill" aria-hidden="true"></i> 
  			    <span class="mobile-item-text">@L["Login"]</span> 
  			  </a> 
  			} 
  		</li> 
  	</ul> 
  </div> 
 
  <div class="lpx-mobile-menu hidden"> 
  	<div class="lpx-logo-container"> 
  		<a href="/"> 
  			<div class="lpx-brand-logo"></div> 
  		</a> 
  	</div> 
  	<ul class="lpx-nav-menu d-none" data-lpx-mobile-menu="routes"> 
  		@await Component.InvokeAsync(typeof(MainMenuViewComponent)) 
  	</ul> 
 
  	<ul class="lpx-nav-menu d-none" data-lpx-mobile-menu="settings"> 
  		@await Component.InvokeAsync(typeof(MobileGeneralSettingsViewComponent)) 
  	</ul> 
 
  	<ul class="lpx-nav-menu d-none" data-lpx-mobile-menu="user"> 
  		<div class="d-flex ps-3 pe-3"> 
  			<div class="lpx-avatar me-2"> 
  				<a class="lpx-mobile-nav-item"><img class="lpx-avatar-img" src="@Model.ProfileImageUrl" alt=""></a> 
  			</div> 
 
  			<div class="d-flex flex-column" style="line-height: normal"> 
  				<span class="fs-12">@L["Welcome"] <span class="color-active-text"> @CurrentUser.UserName </span> </span> 
  				<span class="color-active-text">@CurrentUser.Name @CurrentUser.SurName</span> 
  				<span class="fs-12">@CurrentUser.Email</span> 
  			</div> 
  		</div> 
 
  		@if (Model.UserMenu != null) 
  		{ 
  			foreach (var menuItem in Model.UserMenu.Items) 
  			{ 
  				var url = string.IsNullOrEmpty(menuItem.Url) ? "#" : Url.IsLocalUrl(menuItem.Url) ? Url.Content(menuItem.Url.EnsureStartsWith('~')) : menuItem.Url; 
 
  				<li class="outer-menu-item"> 
  					<a class="lpx-menu-item-link lpx-menu-item @menuItem.CssClass" href="@url" target="@menuItem.Target" id="@menuItem.ElementId"> 
  						<span class="lpx-menu-item-icon"><i class="lpx-icon bi @menuItem.Icon" aria-hidden="true"></i></span> 
 
  						<span class="lpx-menu-item-text hidden-in-hover-trigger">@menuItem.DisplayName</span> 
  					</a> 
  				</li> 
  			} 
  		} 
  	</ul> 
  </div> 
</div> 

For Point 2, It is already referred in the project, please see screenshot:

You also need to install admin.application , admin.application.contract, admin.httpapi etc... packages.

The swagger UI missing some resources, does 7.0.3 has bugs?, please see attached screenshots:

You can move the DocsWebModule to the WebPublic project.

Hi,

Your suggested html didn't fix the issue (Please note, I didn't find any difference in HTML you sent me earlier and Yesterday, both looks same), I am using LeptonX version 2.0.5 and ABP pro 7.0.3

Thanks liangshiwei,

For point 1, it has created another issue, please see below screenshot:

For Point 2, It is already referred in the project, please see screenshot:

The swagger UI missing some resources, does 7.0.3 has bugs?, please see attached screenshots:

Am I doing something incorrect while creating projects via ABP Suite?

Regards, Navneet

HI Liangshiwei,

I have sent you email with download link

Regards, Navneet

Hi liangshiwei,

I will send you a sample project with issue I am facing

Regards, Navneet

I am in love with ABP

Currently, tenants can't configure their own payment gateway configurations by default, all the configurations are made in appsettings.json, so tenants can't use different payment accounts (different stripe, payu accaounts etc.), so there is no meaning adding new productId by tenants. So, converting that permission for host only is a better approach over this condition. We'll make some overhauls on this in the next version.

Thanks for your quick response, I was about to commit tenant level payment function to my client.

Does the payment module has any built in Subscription feature, where I can save subscription details in host DB and call payment api gateway to process payment each month, I know that as per documentation, only stripe support recurring and subscription payment, but I want to manage subscription on my application so that my application can use all payment gateway.

Also, I have noticed that Volo.Docs also should be host only as tenant has access to host documents

Regards, Navneet

Zobrazených 41 až 50 z 53 záznamov
Made with ❤️ on ABP v8.2.0-preview Updated on marca 25, 2024, 15:11