OHH UI Bootstrap got his new nuget package to fix the problems!!
thx i didnt check back if they had released the nuget ...
i got the same problem with AngularJS 1.4
They changed the way the animation work in 1.4 and it broke UI Bootstrap. so i rollbacked AngularJS to 1.3 !
So if you check your HTML parsed you will see that modal-open class is still in the body tag... I tried to hack it and remove it by myself and it still didnt work... so that's why i rollbacked AngularJS
I'm deploying to Azure for my webApp and it's pretty straight forward and still no problem with the publish !
i didn't know about the ISmtpEmailSender injection! It will save some lines of code in a lot of place :) thx
for the Seed i just posted where i add those to the DB because i always do the verification if it exist or not!
Like this
if (!_context.Settings.Any(x => x.Name == EmailSettingNames.Smtp.Host)
{
_context.Settings.Add(new Abp.Configuration.Setting
{
Name = EmailSettingNames.Smtp.Host,
Value = "smtp.gmail.com"
});
}
i don't know if it can be better !
I must agree on somepart I'm a begginner afterall i will get my first year as a Programmer soon (missing 1 month) A real app showing some underground part could be helpfull amd could make more user looking toward ABP.
It has been hard to understand at the beggining and still it's pretty hard on some point, but he's doing a great job from where i started ABP until today ;) ( sometime i'm hard against it .... but this guys is doing so much work on top of his job...)
When i started ABP there was no Forum, it was harder to understand thing but now with the forum you ask question to other to know how to do what you need. Sometime it's not related to ABP directly but a simple question can make a clear path where to search!
And we are always asking for more... he can't do everything for everyone!
its my 2cents :) I wish you the best of luck to learn ABP, its a pretty good ASP.Net Framework!
I will give how i did it! It's not the best way of doing it but it use some built-in part of ABP
First i added some Setting in the database with Seed (preferably do it manually in production with a script) my site is still in progress so i keep it there to rebuild it anywhere pretty fast.
// Seed
_context.Settings.Add(new Abp.Configuration.Setting
{
Name = EmailSettingNames.Smtp.Host,
Value = "smtp.gmail.com"
});
_context.Settings.Add(new Abp.Configuration.Setting
{
Name = EmailSettingNames.Smtp.Port,
Value = "587"
});
_context.Settings.Add(new Abp.Configuration.Setting
{
Name = EmailSettingNames.Smtp.UserName,
Value = "YOUR EMAIL"
});
_context.Settings.Add(new Abp.Configuration.Setting
{
Name = EmailSettingNames.Smtp.Password,
Value = "YOUR PASSWORD"
});
_context.Settings.Add(new Abp.Configuration.Setting
{
Name = EmailSettingNames.Smtp.EnableSsl,
Value = "true"
});
_context.Settings.Add(new Abp.Configuration.Setting
{
Name = EmailSettingNames.Smtp.UseDefaultCredentials,
Value = "false"
});
then i use that code in ApplicationService :
private readonly ISmtpEmailSenderConfiguration _smtpConfig;
public SendGeneratedCode(ISmtpEmailSenderConfiguration smtpConfig)
{
_smtpConfig = smtpConfig;
}
public void Execute(GenerateCodeMessage msg)
{
var smtpClient = new SmtpEmailSender(_smtpConfig).BuildClient();
var from = new MailAddress(_smtpConfig.UserName);
smtpClient.Send(new MailMessage(from, new MailAddress("EMAIL TO"))
{
Subject = "SUBJECT",
Body = "CONTENT",
IsBodyHtml = true
});
}
i hope it will help you a little bit :)
I got some probleme with my Google account that it say someone unsafe tried to use my account, but i activated an option to tell that it can be used by unsafe application, but i doesnt remember exactly what was the name of the paramater. And the email sent is usually in the Garbage of my outlook until i tell outlook that it is a safe email source....
Ok thx
i was asking before implementing the IUserTokenProvider or if i want to do a custom reset token
<cite>daws: </cite>
I understand your message; but I think it is a little bit aggressive.
I must admit i was angry :( and that's why i said "sorry for being angry! "
i'm sorry for being aggressive :S dont take it personnaly seriously :) you are doing a great job and the framework is awesome ;)
I understand that may be there are other more important feature to fix or to develop
<cite>hikalkan: </cite>
But, I think that it is not true to sign-in/sign-out in web api layer. Because logging in to a system is related to web and it should be done in mvc project.
Serious? we must be a lot of people that are wrong.... a single research on AngularJS and WebAPI Authentication and you will see ton of posts...
There is 2 more post on the forum asking for the same thing... #179 <-- This one point out here and an other post #91 <-- the other post
Why not listening to people that need the Bearer Token? We are all wrong ?
I will do it by myself but... many people will ask for this feature with time ...
ABP is still pretty young and already 3 Threads for the same question and still no valid answer other than i will show you how to use MVC that is not what we are asking for... my MVC Login / Logout / Register / ForgotPassword is working pretty well but now we need to switch it to WebAPI Layer.
sorry for being angry! I doesn't want to be mean... but I wanna point out that we are a lot of people that require this functionnality
I'm still waiting for answer!