Commit Graph

212 Commits

Author SHA1 Message Date
xeniac 5ad628f33a Changed PlayerDanScore to only list non-legacy hanchans 2017-11-20 07:47:47 +01:00
xeniac 92470514c4 Changed PlayerDanScore to only list non-legacy hanchans 2017-11-20 07:47:47 +01:00
xeniac 36272c60d6 fixed import of MIN_HANCHANS_FOR_LADDER that moved to settings 2017-11-20 07:42:44 +01:00
xeniac d33e5fc8c6 fixed import of MIN_HANCHANS_FOR_LADDER that moved to settings 2017-11-20 07:42:44 +01:00
xeniac c428f6ed1f Updated docstrings for new since and until kwargs 2017-11-20 07:41:04 +01:00
xeniac bb110da5a2 Updated docstrings for new since and until kwargs 2017-11-20 07:41:04 +01:00
xeniac 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
xeniac 35a51091bf 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
xeniac 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
xeniac c0c48f950a 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
xeniac 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
xeniac d9e0d5596c 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
xeniac fa6a81c710 FIXED: DateTimeField Hanchan.start received a naive datetime 2017-11-13 22:59:13 +01:00
xeniac a3c02ae73a FIXED: DateTimeField Hanchan.start received a naive datetime 2017-11-13 22:59:13 +01:00
xeniac 53ff0f1adb Moved configuration to settings 2017-11-13 21:02:12 +01:00
xeniac e6f2528a0e Moved configuration to settings 2017-11-13 21:02:12 +01:00
xeniac 3f26ad3617 Code cleanup some small changes in the formatting. 2017-11-07 06:52:55 +01:00
xeniac 638ec96c25 Code cleanup some small changes in the formatting. 2017-11-07 06:52:55 +01:00
xeniac fd8c8510c8 Code cleanup some small changes in the formatting. 2017-11-07 06:48:14 +01:00
xeniac 34d327f183 Code cleanup some small changes in the formatting. 2017-11-07 06:48:14 +01:00
xeniac f571f44995 Fixed: SplitDateTime Widgets always complains about the date/time format. 2017-11-05 21:58:12 +01:00
xeniac 002eb40ea5 Fixed: SplitDateTime Widgets always complains about the date/time format. 2017-11-05 21:58:12 +01:00
xeniac 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
xeniac d97c9db539 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
xeniac 7c08ead392 Sitemaps for page that should be public viewable 2017-11-03 07:16:47 +01:00
xeniac 7ef69849a4 Sitemaps for page that should be public viewable 2017-11-03 07:16:47 +01:00
xeniac d5b67ffe0c export_ranking now exports KyuDanRankings and SeasonRankings. 2017-11-03 07:15:28 +01:00
xeniac 8719c2377a export_ranking now exports KyuDanRankings and SeasonRankings. 2017-11-03 07:15:28 +01:00
xeniac 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
xeniac abeb86d48f 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
xeniac ec8761b868 TODO ergänzt mit meldungen von coala.io
scripte nach bin/ verschoben
2017-09-08 07:51:07 +02:00
xeniac 42a6ebedf9 TODO ergänzt mit meldungen von coala.io
scripte nach bin/ verschoben
2017-09-08 07:51:07 +02:00
xeniac 6e2240ed5f Another Step in the Quest to clean up the code base. 2017-09-08 07:19:50 +02:00
xeniac b3ab9798b5 Another Step in the Quest to clean up the code base. 2017-09-08 07:19:50 +02:00
xeniac 8f4bdec701 Removed manual references on the CKEditor, they will be injected by
django-ckeditor
2017-06-26 17:12:57 +02:00
xeniac ce218080b2 Removed manual references on the CKEditor, they will be injected by
django-ckeditor
2017-06-26 17:12:57 +02:00
xeniac 7a54e55931 Coala .coafile hinzugefügt für einfache überwachung der Codestandards. 2017-06-09 17:19:44 +02:00
xeniac 63e099b7c5 Coala .coafile hinzugefügt für einfache überwachung der Codestandards. 2017-06-09 17:19:44 +02:00
xeniac 3e9689c04a Eine Menge Aufräumarbeiten.
* Eine Testsuite um Mahrjong Ranking Berechnungen zu testen
* Erste Arbeiten um die Workarounds aus dem "utils" Paket los zu werden.
* Vieles am Code umformatiert für PEP8 conformität
2017-06-07 13:25:30 +02:00
xeniac a26a91c360 Eine Menge Aufräumarbeiten.
* Eine Testsuite um Mahrjong Ranking Berechnungen zu testen
* Erste Arbeiten um die Workarounds aus dem "utils" Paket los zu werden.
* Vieles am Code umformatiert für PEP8 conformität
2017-06-07 13:25:30 +02:00
xeniac 690ebec3b0 Abhängikeiten aktualisiert.
Social Auth Module haben den Eigentümer verändert,die Paketnamen wurden angepasst
Abhängigkeiten für Python 3 kompatible Module aktualisiert
Versionseinschränkungen für Django Update entfernt.
2017-05-10 10:21:38 +02:00
xeniac cf0bbb4c8f Abhängikeiten aktualisiert.
Social Auth Module haben den Eigentümer verändert,die Paketnamen wurden angepasst
Abhängigkeiten für Python 3 kompatible Module aktualisiert
Versionseinschränkungen für Django Update entfernt.
2017-05-10 10:21:38 +02:00
xeniac 400aa95005 Anpassungen des Codes an Django 1.11 mit Python 3
Grapelli wurde entfernt, das neue Django Admin ist hübsch genug.
2017-05-10 10:15:39 +02:00
xeniac 321531c160 Anpassungen des Codes an Django 1.11 mit Python 3
Grapelli wurde entfernt, das neue Django Admin ist hübsch genug.
2017-05-10 10:15:39 +02:00
xeniac 636c76fd78 Neues Kommando: update-ranking
Aktualisiert alle Kyu-/Dan Rankings mit einem einfachen Befehl in der Shell.

random-ranking wurde gelöscht, es wird nicht mehr verwendet.
2017-05-10 10:13:23 +02:00
xeniac 5437b7b8de Neues Kommando: update-ranking
Aktualisiert alle Kyu-/Dan Rankings mit einem einfachen Befehl in der Shell.

random-ranking wurde gelöscht, es wird nicht mehr verwendet.
2017-05-10 10:13:23 +02:00
xeniac 5882bb213d Adapted Code for Django 1.11 and Python 3,
updated the CKEditor
2017-05-10 10:10:11 +02:00
xeniac 10bdaaa98c Adapted Code for Django 1.11 and Python 3,
updated the CKEditor
2017-05-10 10:10:11 +02:00
xeniac 60bc7fcf7b Auswahl wird auf aktivierte Accounts mit aktiver Mitgliedschaft beschränkt. 2017-03-13 09:33:27 +01:00
xeniac 9b4ab374c6 Auswahl wird auf aktivierte Accounts mit aktiver Mitgliedschaft beschränkt. 2017-03-13 09:33:27 +01:00