Hi,
It seems liek you are using this version <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/releases/tag/v1.9.1.1">https://github.com/aspnetzero/aspnet-ze ... g/v1.9.1.1</a>. I have downloaded this release and tried to send a notification (just entered .../Account/TestNotification to browser) and it seems like it's working.
So, it's not related to Abp 0.8.4.
There are two things comes to my mind,
1 ) is there any other code after app.MapSignalR(); in your Startup.cs's configure method ? 2) Is there any other tab/browser window opened with the same account. Because for your version (Abp 0.8.4), the notification will be sent to only last opened browser window/tab.
Hi,
There is no reason actually, we will implement it as you suggested. Please follow <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/issues/235">https://github.com/aspnetboilerplate/mo ... issues/235</a>
Hi,
Can you share code for your custom manager ? So we can try to create same scenario.
Thanks.
Hi,
Can you change this definition in accoun controller
user.Logins = new List<UserLogin>
{
new UserLogin
{
LoginProvider = externalLoginInfo.Login.LoginProvider,
ProviderKey = externalLoginInfo.Login.ProviderKey
}
};
to
user.Logins = new List<UserLogin>
{
new UserLogin
{
LoginProvider = externalLoginInfo.Login.LoginProvider,
ProviderKey = externalLoginInfo.Login.ProviderKey,
TenantId = tenant.Id
}
};
we forgot to set tenantId when defining UserLogins. This will be fixed on the next release as well.
Hi,
Can you try to change your route config like this.
routes.MapRoute(
name: "Default",
url: "",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional },
namespaces: new[] { "**********.Web.Controllers" }
);
routes.MapRoute(
name: "URL",
url: "{name}",
defaults: new { controller = "ShortLink", action = "Index", name = UrlParameter.Optional },
namespaces: new[] { "**********.Web.Controllers" }
);
routes.MapRoute(
name: "Basic",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Home", id = UrlParameter.Optional },
namespaces: new[] { "**********.Web.Controllers" }
);
Then in your ShortLinkController controller, redirect like this,
return Redirect("Application/Index#/users");
I hope this helps.
Hi,
AbpPermissions table contains TenantId field. It will be filled for tenants, it's only null for host.
TenantId field is checked by dynamic filters, you dont have to worry about it. If you want to saerch users by their permisison, it's a bit complicated query, we have done it in the latest release of AspNet Zero (v1.11.0).
You need to join your query with RolePermissionSetting, UserPermissionSetting and UserRole. Then you need to check respectively if a permission is granted to user in UserPermissionSetting, RolePermissionSetting or by default.
I hope this helps you. As I said it's a bit compicated.
Hi,
Have you solved your problem ? It might be related to azure security settings. Maybe you need to allow access of smpt ports on your azure server.
Hi,
I didn't use this plugin before but as I checked from metronic sample page, you should use these css files.
public const string Ion_RangeSlider = "~/libs/ion-rangeslider/css/ion.rangeSlider.css"; public const string Ion_RangeSlider_Nice = "~/libs/ion-rangeslider/css/ion.rangeSlider.skinNice.css";
You can change "ion.rangeSlider.skinNice.css" to any other css file like skinFlat or skinModern but ion.rangeSlider.css must be used.
Then, in the modal dialog you just need to inject $timeout
'$scope', '$uibModalInstance', '$timeout', .....,
function ($scope, $uibModalInstance, $timeout, ...) {
Then, in the init function, run your ion slider code like this,
$timeout(function () {
$("#range_id").ionRangeSlider();
}, 0);
Since you are running jquery code in angular, you just need to wait a little to catch the dom object.
I hope this helps,
Hi,
Defininig the menu item in MpaNavigationProvider should be enough. Can you share your definition ?
Hi,
You can use IocManager.Instance.Resolve<>() in your case. Initial project template injects AbpSession like this,
public abstract class MyCompanyWebViewPageBase<TModel> : AbpWebViewPage<TModel>
{
public IAbpSession AbpSession { get; private set; }
protected MyCompanyWebViewPageBase()
{
AbpSession = IocManager.Instance.Resolve<IAbpSession>();
LocalizationSourceName = ChatTesterConsts.LocalizationSourceName;
}
}