Commit Graph
100 Commits
Author SHA1 Message Date
xeniac 1bdce47375 Default to new and empty Page Elements instead of None.
Fixes an issue when we try to acces Page.title in the template.
2018-12-29 18:11:11 +01:00
xeniac bb7d4c8a08 fix for django-extra-views 0.12.0 Updated class EventSeriesForm to use factory_kwargs. 2018-12-19 18:06:15 +01:00
xeniac a3ac722acf * Bugfix import the _() translation in mixins. 2018-06-08 09:05:45 +02:00
xeniac 1313d96e8f * fixed 404 errors in the gallery. 2018-06-07 14:18:18 +02:00
xeniac f2836baae5 * removed gender, address and phone number from the forms.
* birthday, first and last name fields will be set to None if you uncheck membership.
2018-05-16 12:40:34 +02:00
xeniac d67719cc17 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	.gitignore
#	src/membership/forms.py
#	src/membership/templates/membership/membership_form.html
#	src/membership/templates/membership/register_form.html
2018-05-16 12:03:10 +02:00
xeniac 12773463a6 * removed gender, address and phone number from the forms.
* birthday, first and last name fields will be set to None if you uncheck membership.
2018-05-16 11:59:08 +02:00
xeniac a8536fc776 Catch an KyuDanRanking.DoesNotExist exception if the user has never played a game of mahjongg by now. 2018-05-08 12:31:46 +02:00
xeniac ba4620705f Catch an KyuDanRanking.DoesNotExist exception if the user has never played a game of mahjongg by now. 2018-05-08 12:31:46 +02:00
xeniac 4db5c09387 Merge branch 'dsgvo' 2018-05-08 12:15:12 +02:00
xeniac 40d2120d7e Merge branch 'dsgvo' 2018-05-08 12:15:12 +02:00
xeniac 0768641184 removed unneeded import 2018-05-08 12:12:15 +02:00
xeniac f7e9585932 removed unneeded import 2018-05-08 12:12:15 +02:00
xeniac fae5f30cfa User must confirm that he have read and understood the privacy plicity. This policity and the stautes are now linked in the help_text. 2018-05-08 12:09:56 +02:00
xeniac 99ceb54db1 User must confirm that he have read and understood the privacy plicity. This policity and the stautes are now linked in the help_text. 2018-05-08 12:09:56 +02:00
xeniac e95ad8bf0a User must confirm that he have read and understood the privacy plicity. This policity and the stautes are now linked in the help_text. 2018-05-08 12:07:39 +02:00
xeniac f841c1736e User must confirm that he have read and understood the privacy plicity. This policity and the stautes are now linked in the help_text. 2018-05-08 12:07:39 +02:00
xeniac 4b68f62929 removed social auth methods for login 2018-05-07 23:37:48 +02:00
xeniac 436a77d036 removed social auth methods for login 2018-05-07 23:37:48 +02:00
xeniac fc8daaaf25 removed <p> Tags to guarantee vaild HTML output. 2018-05-04 12:59:38 +02:00
xeniac a10b2706c3 removed <p> Tags to guarantee vaild HTML output. 2018-05-04 12:59:38 +02:00
xeniac c3d213934e Added a themed an customizeable logged out message page. 2018-05-04 12:53:23 +02:00
xeniac afc471d27f Added a themed an customizeable logged out message page. 2018-05-04 12:53:23 +02:00
xeniac baa9660b7c fixed: load all toplevel pages from the db, but only show active pages in the top menu. 2018-05-04 11:57:19 +02:00
xeniac 1d18356c8c fixed: load all toplevel pages from the db, but only show active pages in the top menu. 2018-05-04 11:57:19 +02:00
xeniac 3dcd1aeffa Changed membership forms, text can now be changed via admin tool. 2018-05-04 11:34:57 +02:00
xeniac 5a32dbf0af Changed membership forms, text can now be changed via admin tool. 2018-05-04 11:34:57 +02:00
xeniac 5affdb0f5c Better age check 2018-05-03 16:35:40 +02:00
xeniac 65b8208987 Better age check 2018-05-03 16:35:40 +02:00
xeniac 9f0126be54 Dirty check club member must be at least 16 years old. 2018-05-03 16:23:39 +02:00
xeniac 4f61b1e73b Dirty check club member must be at least 16 years old. 2018-05-03 16:23:39 +02:00
xeniac 0f71bb5360 First draft of a disclaimer (german) 2018-05-03 10:32:27 +02:00
xeniac df4d8c83a6 First draft of a disclaimer (german) 2018-05-03 10:32:27 +02:00
xeniac 3e64f4d757 You can only fill in your personal data if you apply for a full membership. 2018-05-03 10:12:23 +02:00
xeniac f2533273e9 You can only fill in your personal data if you apply for a full membership. 2018-05-03 10:12:23 +02:00
xeniac 121167f1fe Added a admin action to cleanup personal data from inactive members. 2018-05-03 09:45:06 +02:00
xeniac 595341a53b Added a admin action to cleanup personal data from inactive members. 2018-05-03 09:45:06 +02:00
xeniac ac9b3e06c0 Don't display full name anywhere. 2018-05-01 20:27:57 +02:00
xeniac af46768e7d Don't display full name anywhere. 2018-05-01 20:27:57 +02:00
xeniac 9fdf725702 Don't display members real name anywhere! 2018-05-01 20:27:22 +02:00
xeniac 10bb990539 Don't display members real name anywhere! 2018-05-01 20:27:22 +02:00
xeniac 2f5f834bba Track without cookies. 2018-04-30 11:37:32 +02:00
xeniac 90cefd8739 Track without cookies. 2018-04-30 11:37:32 +02:00
xeniac 722c155c17 Personal data is only needed for a club membership. 2018-04-30 11:12:20 +02:00
xeniac a4c4f96c06 Personal data is only needed for a club membership. 2018-04-30 11:12:20 +02:00
xeniac 3b162fc59c All personal data can only seen by yourself. 2018-04-30 10:16:04 +02:00
xeniac 19bbb5a226 All personal data can only seen by yourself. 2018-04-30 10:16:04 +02:00
xeniac 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
xeniac 3a3c8ec0c5 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
xeniac aa85d3fd94 requirements changed to django<2.0 for compatibility reasons. 2018-04-28 11:11:12 +02:00
xeniac 4aab611026 requirements changed to django<2.0 for compatibility reasons. 2018-04-28 11:11:12 +02:00
xeniac 432673a967 Updated all translations 2018-04-27 10:34:37 +02:00
xeniac d5995bc612 Updated all translations 2018-04-27 10:34:37 +02:00
xeniac 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
xeniac 3ef947f128 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
xeniac 1d2fb44250 Fixed typo Player List (Spieler Liste) is now
Players list (Spielerliste)
2018-04-27 10:12:39 +02:00
xeniac 28f7292c9d Fixed typo Player List (Spieler Liste) is now
Players list (Spielerliste)
2018-04-27 10:12:39 +02:00
xeniac 3af8e64f1f Added the full address to the next/upcoming event in the redbox. 2018-04-27 10:11:19 +02:00
xeniac 7b631230da Added the full address to the next/upcoming event in the redbox. 2018-04-27 10:11:19 +02:00
xeniac 8ddbe03ff8 adapted cleanup script to new file locations and parameters. 2018-04-27 10:10:02 +02:00
xeniac 6804319c28 adapted cleanup script to new file locations and parameters. 2018-04-27 10:10:02 +02:00
xeniac 0a793b7954 Fixed: Changed the environ to ORIGINAL_RECIPIENT 2018-01-17 16:19:48 +01:00
xeniac a2df81d62e Fixed: Changed the environ to ORIGINAL_RECIPIENT 2018-01-17 16:19:48 +01:00
xeniac 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
xeniac afd163298c * 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
xeniac 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
xeniac cce6ac6014 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
xeniac 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
xeniac 192721452e * 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
xeniac 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
xeniac 10c27784ee 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
xeniac 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
xeniac 8ab99ec039 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
xeniac b7fab97715 Diverse Umbauarbeiten für das neue Ranking. 2017-12-22 10:51:20 +01:00
xeniac 1fdf88c6d2 Diverse Umbauarbeiten für das neue Ranking. 2017-12-22 10:51:20 +01:00
xeniac 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
xeniac b20b988e5d 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
xeniac ade2a568f7 added on_delete in models an migrations for django 2.0
compatibility.
2017-12-07 22:08:47 +01:00
xeniac cf0e5e778c added on_delete in models an migrations for django 2.0
compatibility.
2017-12-07 22:08:47 +01:00
xeniac 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
xeniac c7b714c41b 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
xeniac 4bd017ec4f Fixed queryset so that EventDetailView will work too. 2017-11-24 19:48:21 +01:00
xeniac f51155cfac Fixed queryset so that EventDetailView will work too. 2017-11-24 19:48:21 +01:00
xeniac 52ec7d42b7 Fixed Hanchan count and filter from last merge. 2017-11-24 19:47:28 +01:00
xeniac 1315bc4225 Fixed Hanchan count and filter from last merge. 2017-11-24 19:47:28 +01:00
xeniac 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
xeniac 97749bfd2e 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
xeniac 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
xeniac 84880281c6 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
xeniac 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
xeniac cffbd30d7e 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
xeniac 6de1ecb102 add a latest method to query the latest x events 2017-11-23 14:15:36 +01:00
xeniac 3a611ca9da add a latest method to query the latest x events 2017-11-23 14:15:36 +01:00
xeniac bf12060c3b add a latest method to query the latest x events 2017-11-23 14:15:12 +01:00
xeniac 68c484afc9 add a latest method to query the latest x events 2017-11-23 14:15:12 +01:00
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