« first day (18 days earlier)      last day (311 days later) » 

aki
8:20 AM
@g3rv4 hi! may i ask you if it is happening the same thing on es? missing strings ja.stackoverflow.com/admin/users es.stackoverflow.com/admin/users
(of course i cannot see the es admin page but)
Users with Flagged Posts (all time) / Users with Flagged Posts (last 30 days)
these strings are missing?
 
 
4 hours later…
12:35 PM
@aki yes, those strings are missing everywhere. They're not localized (which means, they can't be translated). My guess is that as it is an admin page, the devs decided it wasn't necessary. If you think it is (and you get Nic's or Juan's approval) I'd be happy to localize them (so that you can translate them in traducir)
 
 
5 hours later…
5:28 PM
We should add someway to add a method to test for admin things when you are not an admin! I will make a ticket about it when I have some kind of solution...
@g3rv4 :p
 
@gbianchi how's that? this is an admin page on SO
I don't think there's a world where we'd give non-admins access to admin routes ;)
 
@g3rv4 not that.. I'm making the new views, but can't see every option because my user is not admin :p it's a develop problem :p
 
oh, on Traducir?
just change the value on the database ;)
manually
 
and If I change my user to admin, when I log out and login again.. that value is lost :p
 
hmm, really
that's probably what we should fix
 
5:32 PM
You don't have that problem :p LOL
 
it shouldn't unmod you
 
@g3rv4 yes.. Because it's asking oauth about myself.. I don't think the problem is there.. but let me scavenge a little more...
 
it should be a fix on the account code
if it's 1, leave it as 1
I thought it was already doing it
 
@g3rv4 yep.. on the query.. but on the controller no...
await _userService.UpsertUserAsync(new User
{
Id = currentUser.UserId,
DisplayName = currentUser.DisplayName,
IsModerator = currentUser.UserType == "moderator",
CreationDate = DateTime.UtcNow,
LastSeenDate = DateTime.UtcNow
});
but currentUser is from the oauth token...
 
it's here... I should be doing the same for IsModerator
as it's doing for IsReviewer
feel free to create an issue or a PR ;)
 
5:36 PM
@g3rv4 the problem is before that...
 
hmm... in prod, we need to unmod people
 
@g3rv4 AHHH I get it...
@g3rv4 yes.. that's ok.. The problem is doing that on develop.. let me think about it.. is not a real problem.. just a develop problem...
 
it is a real problem though ;)
 
You like to have a #debug inside the code?
 
not really... I'd rather use ASPNETCORE_ENVIRONMENT
 
5:39 PM
@g3rv4 ok.. let me check that.. and see what I can find..
 
:thumbsup:
 
In the mean time, if you have a second, there is a guy uploading NSFW images to some post on SOesp :p
 
WTF, I'm on a meeting... should be out in ~20 mins
 
@g3rv4 don't worry.. lois just came in.. forget it...
 

« first day (18 days earlier)      last day (311 days later) »