Commit Graph

93 Commits

Author SHA1 Message Date
9f0126be54 Dirty check club member must be at least 16 years old. 2018-05-03 16:23:39 +02:00
0f71bb5360 First draft of a disclaimer (german) 2018-05-03 10:32:27 +02:00
3e64f4d757 You can only fill in your personal data if you apply for a full membership. 2018-05-03 10:12:23 +02:00
121167f1fe Added a admin action to cleanup personal data from inactive members. 2018-05-03 09:45:06 +02:00
ac9b3e06c0 Don't display full name anywhere. 2018-05-01 20:27:57 +02:00
9fdf725702 Don't display members real name anywhere! 2018-05-01 20:27:22 +02:00
2f5f834bba Track without cookies. 2018-04-30 11:37:32 +02:00
722c155c17 Personal data is only needed for a club membership. 2018-04-30 11:12:20 +02:00
3b162fc59c All personal data can only seen by yourself. 2018-04-30 10:16:04 +02:00
e9e997e38d Merge branch 'master' into css3_redesign
# Conflicts:
#	requirements/base.txt
#	src/content/locale/de/LC_MESSAGES/django.mo
#	src/content/locale/de/LC_MESSAGES/django.po
#	src/events/locale/de/LC_MESSAGES/django.mo
#	src/events/locale/de/LC_MESSAGES/django.po
#	src/kasu/locale/de/LC_MESSAGES/django.po
#	src/mahjong_ranking/locale/de/LC_MESSAGES/django.mo
#	src/mahjong_ranking/locale/de/LC_MESSAGES/django.po
#	src/maistar_ranking/locale/de/LC_MESSAGES/django.po
#	src/membership/locale/de/LC_MESSAGES/django.mo
#	src/membership/locale/de/LC_MESSAGES/django.po
#	src/utils/locale/de/LC_MESSAGES/django.po
2018-04-30 08:29:14 +02:00
aa85d3fd94 requirements changed to django<2.0 for compatibility reasons. 2018-04-28 11:11:12 +02:00
432673a967 Updated all translations 2018-04-27 10:34:37 +02:00
877715f613 Event gallery shows most recent albums first.
Doubled the shown events in the gallery to 24 per page.
2018-04-27 10:20:29 +02:00
1d2fb44250 Fixed typo Player List (Spieler Liste) is now
Players list (Spielerliste)
2018-04-27 10:12:39 +02:00
3af8e64f1f Added the full address to the next/upcoming event in the redbox. 2018-04-27 10:11:19 +02:00
8ddbe03ff8 adapted cleanup script to new file locations and parameters. 2018-04-27 10:10:02 +02:00
0a793b7954 Fixed: Changed the environ to ORIGINAL_RECIPIENT 2018-01-17 16:19:48 +01:00
4b0a5c9c82 * Throw 404 instead of a 503 in Event Mixins if the related event does
not exist.
* Changes in the KyuDanRanking View to be more stable if we get bogus
kwargs.
2018-01-10 02:02:35 +01:00
6796b58d4c Merge remote-tracking branch 'origin/master' into riichi_2018
# Conflicts:
#	src/events/mixins.py
#	src/kasu/settings.py
#	src/mahjong_ranking/management/commands/export_ranking.py
#	src/mahjong_ranking/management/commands/resetdanranking.py
#	src/mahjong_ranking/management/commands/update_ranking.py
#	src/mahjong_ranking/managers.py
#	src/mahjong_ranking/models.py
#	src/mahjong_ranking/views.py
2018-01-04 08:39:49 +01:00
0b2e040fc9 * Kommentare wenn Dan/Kyu Punktabzüge verringert werden um nicht unter
0 zu fallen.
* Neue Middleware die REMOTE_IP aus dem X-Forward-For Header setzt.
  Damit funktioniert das Kommentarsystem nun auch hinter nginx.
2017-12-29 10:03:08 +01:00
fdbf819092 XLSX Export vereinheitlicht.
Spieler Hanchanlisten können nun als XLSX exportiert werden.
Anpassungen in den Einstellungen für die parametisierten Kyu/Dan Berechnung.
2017-12-26 21:45:39 +01:00
9f6fffa4f4 Noch mehr Einstellungen für Kasu Ranking, um es an das neue Dan System anpassen zu können. 2017-12-22 10:54:11 +01:00
b7fab97715 Diverse Umbauarbeiten für das neue Ranking. 2017-12-22 10:51:20 +01:00
c030a31e2b Pinned Django on < 2.0 for better compatibility.
Mainlined traslation code for better DRY workflow.
Fixed the EventDetail Mixin.
2017-12-07 22:54:18 +01:00
ade2a568f7 added on_delete in models an migrations for django 2.0
compatibility.
2017-12-07 22:08:47 +01:00
c5781246fe Added a setting where the exported excel files should be stored.
Added a option to send the exported excel as mail attachment.
2017-12-07 09:40:35 +01:00
4bd017ec4f Fixed queryset so that EventDetailView will work too. 2017-11-24 19:48:21 +01:00
52ec7d42b7 Fixed Hanchan count and filter from last merge. 2017-11-24 19:47:28 +01:00
d62f549a30 Squashed commit of the following:
commit bb5081a78b
Author: Xeniac <xeniac@posteo.at>
Date:   Thu Nov 23 22:02:40 2017 +0100

    Added a setting where the exported excel files should be stored.
    Added a option to send the exported excel as mail attachment.

commit 854fd38740
Author: Xeniac <xeniac@posteo.at>
Date:   Thu Nov 23 22:01:38 2017 +0100

    Fixed: enumerate the Seasonrankings starting with 1
    Fixed: Logging error when a value changed from/to None

commit 6de1ecb102
Author: Christian Berg <xeniac@posteo.at>
Date:   Thu Nov 23 14:15:36 2017 +0100

    add a latest method to query the latest x events

commit bf12060c3b
Author: Christian Berg <xeniac@posteo.at>
Date:   Thu Nov 23 14:15:12 2017 +0100

    add a latest method to query the latest x events

commit 5ad628f33a
Author: Christian Berg <xeniac@posteo.at>
Date:   Mon Nov 20 07:47:47 2017 +0100

    Changed PlayerDanScore to only list non-legacy hanchans

commit 36272c60d6
Author: Christian Berg <xeniac@posteo.at>
Date:   Mon Nov 20 07:42:44 2017 +0100

    fixed import of MIN_HANCHANS_FOR_LADDER that moved to settings

commit c428f6ed1f
Author: Christian Berg <xeniac@posteo.at>
Date:   Mon Nov 20 07:41:04 2017 +0100

    Updated docstrings for new since and until kwargs

commit 9276e97c36
Author: Christian Berg <xeniac@posteo.at>
Date:   Mon Nov 20 07:33:54 2017 +0100

    added a since parameter to the hanchan queries to return only hanchans since the give date and time

commit fd244f10e8
Author: Christian Berg <xeniac@posteo.at>
Date:   Sun Nov 19 16:55:10 2017 +0100

    new command: resetdanranking YYYY-MM-DD, sets every dan player to 1st dan with zero dan_points at the given date.

commit 0a45cf1fd8
Author: Christian Berg <xeniac@posteo.at>
Date:   Sun Nov 19 16:14:59 2017 +0100

    added new fields to KyuDanRanking that allow to pick up the calculation from the last state of the KyuDanRanking.
    last_hanchan_date: it contains the start of the latest hanchan content for this players ranking.
    wins_in_row: to save the currents wins in a row

    Added option to calcuclate rankings until a given datetime.
2017-11-23 22:26:22 +01:00
bb5081a78b Added a setting where the exported excel files should be stored.
Added a option to send the exported excel as mail attachment.
2017-11-23 22:02:40 +01:00
854fd38740 Fixed: enumerate the Seasonrankings starting with 1
Fixed: Logging error when a value changed from/to None
2017-11-23 22:01:38 +01:00
6de1ecb102 add a latest method to query the latest x events 2017-11-23 14:15:36 +01:00
bf12060c3b add a latest method to query the latest x events 2017-11-23 14:15:12 +01:00
5ad628f33a Changed PlayerDanScore to only list non-legacy hanchans 2017-11-20 07:47:47 +01:00
36272c60d6 fixed import of MIN_HANCHANS_FOR_LADDER that moved to settings 2017-11-20 07:42:44 +01:00
c428f6ed1f Updated docstrings for new since and until kwargs 2017-11-20 07:41:04 +01:00
9276e97c36 added a since parameter to the hanchan queries to return only hanchans since the give date and time 2017-11-20 07:33:54 +01:00
fd244f10e8 new command: resetdanranking YYYY-MM-DD, sets every dan player to 1st dan with zero dan_points at the given date. 2017-11-19 16:55:10 +01:00
0a45cf1fd8 added new fields to KyuDanRanking that allow to pick up the calculation from the last state of the KyuDanRanking.
last_hanchan_date: it contains the start of the latest hanchan content for this players ranking.
wins_in_row: to save the currents wins in a row

Added option to calcuclate rankings until a given datetime.
2017-11-19 16:14:59 +01:00
fa6a81c710 FIXED: DateTimeField Hanchan.start received a naive datetime 2017-11-13 22:59:13 +01:00
53ff0f1adb Moved configuration to settings 2017-11-13 21:02:12 +01:00
3f26ad3617 Code cleanup some small changes in the formatting. 2017-11-07 06:52:55 +01:00
fd8c8510c8 Code cleanup some small changes in the formatting. 2017-11-07 06:48:14 +01:00
f571f44995 Fixed: SplitDateTime Widgets always complains about the date/time format. 2017-11-05 21:58:12 +01:00
50b520caae Fixed Typer Error "can't compare datetime.datetime to datetime.date".
Add a datetime to the hanchan queue instead of an date.
2017-11-05 10:22:39 +01:00
7c08ead392 Sitemaps for page that should be public viewable 2017-11-03 07:16:47 +01:00
d5b67ffe0c export_ranking now exports KyuDanRankings and SeasonRankings. 2017-11-03 07:15:28 +01:00
f3d44b743b recalculating only the new hanchans shoud do the trick now.
the racalc cronjob reports erronous partly recalculations now.
A lot of code cleanups
2017-11-01 09:53:52 +01:00
ec8761b868 TODO ergänzt mit meldungen von coala.io
scripte nach bin/ verschoben
2017-09-08 07:51:07 +02:00
6e2240ed5f Another Step in the Quest to clean up the code base. 2017-09-08 07:19:50 +02:00