-
Notifications
You must be signed in to change notification settings - Fork 36
Scoreboard score and event concact emails fixed #430
Conversation
As in request from Alessandro Bogliolo: "The e-mail address displayed in the page of each event is the one which was WARNING: 595ef3e only avoid that creator personal e-mail is copied in event contact |
This example shows how to use the django shell in order to blank all the fields:
A check on the email adress can be performed before erasing the
|
Thanks @michelesr! For the contact_person mess, the idea of that code was to prefill that field with the value of the current user's email, if any and let the user decide if she wanted to change it. I looked around the code and I think I found a way to properly initialize and prefill that field ( Thanks for the shell hints on how to clear this field. I think I will keep the current emails there, though, as I suspect usually people leave these two the same and if we clear them, many events will be left without any public contact. I know when this was introduced, so I can check who's affected by this. Probably the best we could do is let these users know after we've fixed the bug and if they want, they can change the field. |
As for the scoreboard--definitely only events from the current year should be picked. I think we should make this dynamic, though, and not hardcoded. The second problem I have with this change is that I'm not convinced we should drop the density-based sorting as it is not fair to smaller countries which organize lots of events to try and compete against other much bigger countries. I will write Alessandro about that. |
I'll render the date check dynamic and repush... :-) |
It would be nice, thanks. Would you also leave the density sorting back? I will first express my concerns to Alessandro and if he and Annika insist on that, we can always easily remove it. |
The old commit was d861c1c |
As in the request from Alessandro Bogliolo: "There is a pending task opened by Annika (EU Commission): having a scoreboard based on the number of events (rather than on the density) filtered in order to consider only the events with start date in 2015: http://events.codeweek.eu/scoreboard/ " @mitio: the scoring formula hasn't changed
Nice! Can you remove the aed177d commit? I have fixed that manually in my local copy. After that, I will be able to merge this. |
Done |
Awesome! |
Scoreboard score and event concact emails fixed
Scoreboard is now related to 2015+ event count instead of 2014+ event density.
As in the request from Alessandro Bogliolo:
"There is a pending task opened by Annika (EU Commission): having a
scoreboard based on the number of events (rather than on the density) filtered
in order to consider only the events with start date in 2015:
http://events.codeweek.eu/scoreboard/ "