I'm in thr process of upgrading my application up to version 1.0.0.0 at the moment. But I'm a bit puzzled now, because the folder structure from 0.11.0.0 has completly changed. simple things like CustomDtoMapper.cs does not exist anymore? but the Mapper.CreateMap is throwing an error...
I want to upgrade step by step, now to 0.11.0.0, then to v0.11.0.2,... and so on.
any advise?
Hi, since a couple of days it is impossible to login with facebook on our site. After some debugging, it seems that this line is the problem:
var loginInfo = await AuthenticationManager.GetExternalLoginInfoAsync();
The user is sucessfully redirected to facebook login first, after logging in, it returns to our site. But somehow "loginInfo" is null. When trying the same with Twitter, loginInfo is not null, and the login works.
tried adding this to ChallengeResult.cs: context.RequestContext.HttpContext.Response.SuppressFormsAuthenticationRedirect = true;
but doesn't help.
the big problem now is that a lot of our users have been registrered through Facebook in the past, but are now unable to login... What else can I do?
Installed version: Abp.Zero 0.10.1 Microsoft.Owin 3.0.1
Hi,
since working with aspnetzero I have not touched any configuration about Log4Net. But there are no log files in the Logs folder. What do I have to do?
I have added this line in the main HomeController:
Logger.Debug("HomeController - Test: " + Clock.Now.ToString());
but still no log files are generated.
I'm trying to copy the behaviour from MPA into my own frontend (built with Foundation Layout).
I'm struggling with the jTable. What am I missing if this works:
var s1 = abp.localization.localize('Actions');
but this gives error:
title: app.localize('Actions') => app is not defined
Hi,
Since we are offering livestreaming on our site, we would like to prevent viewers to login with the same user credentials at the same time. Is there a simple solution in your architecture to do this?
Idealy it would be something like this:
User A - Login with his credentials User B - Login with User A credentials at the same time => redirect to login page with message "Allready Logged in"
Hi guys, I want to have a textbox with autocomplete. In a previous project, this worked and showed a dropdown under the textbox with all possible values.
So I added this now to MPA CreateOrEditModel:
<div class="form-group form-md-line-input form-md-floating-label ui-widget">
<input id="Tags" class="ui-autocomplete-input form-control@(Model.Article.Tags.IsNullOrEmpty() ? "" : " edited")"
type="text" name="Tags" autocomplete="off"
value="@Model.Article.Tags">
<label>@L("Tags")</label>
</div>
<script type="text/javascript">
$(function () {
function split(val) {
return val.split(/;\s*/);
}
function extractLast(term) {
return split(term).pop();
}
$("#Tags")
// don't navigate away from the field on tab when selecting an item
.bind("keydown", function (event) {
if (event.keyCode === $.ui.keyCode.TAB &&
$(this).data("ui-autocomplete").menu.active) {
event.preventDefault();
}
})
.autocomplete({
source: function (request, response) {
$.ajax({
url: "/mpa/articles/AutocompleteTagSuggestions", type: "POST", dataType: "json",
data: { term: request.term },
success: function (data) {
response($.map(data.result, function (item) {
return { label: item, value: item, id: item };
}));
}
})
},
search: function () {
// custom minLength
var term = extractLast(this.value);
if (term.length < 2) {
return false;
}
},
focus: function () {
// prevent value inserted on focus
return false;
},
select: function (event, ui) {
debugger;
var terms = split(this.value);
// remove the current input
terms.pop();
// add the selected item
terms.push(ui.item.value);
// add placeholder to get the comma-and-space at the end
terms.push("");
this.value = terms.join("; ");
return false;
}
});
});
</script>
The ajax calls are working perfect but the dropdown with the results is not showing. This must be a CSS or jQuery UI thing maybe ABP is blocking or overriding? Any ideas?
Hi,
I'm trying to use CKEditor for a textarea field inside a Modal form. Everything is working fine, but when I try to add an image to the ckeditor field, a new popup is created to edit the image properties, but the fields are not editable. I have been searching a lot, but cant come up with a good solution. Can you guys help me with this?
I just updated the User entity with some custom profile fields. I have done this before without problems. Add-Migration, Update-Database and after that start the Migrator to update the tenant databases.
But now suddenly when using the Migrator I get an error saying there are still Pending Changes. But there aren't. The host database contains the new fields.
What am I missing here?
Very strange thing is happening. I can save the mail settings in the Host application, no problems. When I click on "send test mail" I get the message "Test e-mail sent succesfully"... but the mail never arrives.
even stranger, when I edit the mail settings with values that should never work (wrong user, pw, or smtp host), I still get the message "Test e-mail sent succesfully"... On the localhost smtp server (mailEnable) I cant see any mails coming from ABP.
any suggestions?
Hi,
I created a separate tenant with a database. Now I want to query records from that separate db into the frontend, while not logged in. Is there a way to add the tenantId to the custom repositories? Or how can this be done?
I want to be able to add the tenantid and it should automatically get the records from the relevant db.