24 Commits

Author SHA1 Message Date
04c8130da8 Merge pull request 'Deploy Django5 stuff on production' (#93) from stage into production
All checks were successful
Run tests / Execute tox to run the test suite (push) Successful in 4m42s
Reviewed-on: #93
2025-04-11 11:23:23 +02:00
d43584ef03 Merge pull request 'Test django 5 and Python 3.13' (#92) from master into stage
All checks were successful
Deploy into stage environment / Deploy into stage environment (push) Successful in 5s
Run tests / Execute tox to run the test suite (push) Successful in 4m51s
Reviewed-on: #92
2025-04-11 10:36:26 +02:00
f3db0424be Merge pull request 'New Stuff' (#90) from stage into production
All checks were successful
Run tests / Execute tox to run the test suite (push) Successful in 3m38s
Reviewed-on: #90
2024-09-19 15:51:14 +02:00
3fd8dfa9eb Merge pull request 'Test new stuff' (#89) from master into stage
All checks were successful
Deploy into stage environment / Deploy into stage environment (push) Successful in 4s
Run tests / Execute tox to run the test suite (push) Successful in 3m38s
Reviewed-on: #89
2024-09-19 15:49:23 +02:00
26bd7ccdb6 Merge pull request 'Release new stuff from stage' (#87) from stage into production
All checks were successful
Run tests / Execute tox to run the test suite (push) Successful in 3m24s
Reviewed-on: #87
2024-09-16 15:05:17 +02:00
bdbb4622c1 Merge pull request 'Test new stuff from master' (#86) from master into stage
All checks were successful
Deploy into stage environment / Deploy into stage environment (push) Successful in 3s
Run tests / Execute tox to run the test suite (push) Successful in 3m24s
Reviewed-on: #86
2024-09-16 15:03:35 +02:00
ad87130f64 Merge pull request 'stage' (#85) from stage into production
All checks were successful
Run tests / Execute tox to run the test suite (push) Successful in 3m42s
Reviewed-on: #85
2024-09-16 09:50:11 +02:00
3c2730f571 Merge pull request 'dav_registration: made the new JSON-View export a dict instead of a list' (#84) from master into stage
All checks were successful
Deploy into stage environment / Deploy into stage environment (push) Successful in 4s
Run tests / Execute tox to run the test suite (push) Successful in 3m39s
Reviewed-on: #84
2024-09-16 09:48:56 +02:00
5474b9d9db Merge pull request 'stage' (#83) from stage into production
All checks were successful
Run tests / Execute tox to run the test suite (push) Successful in 3m36s
Reviewed-on: #83
2024-09-16 08:58:34 +02:00
a95269cdb0 Merge pull request 'Update the production branch' (#82) from master into production
All checks were successful
Run tests / Execute tox to run the test suite (push) Successful in 3m29s
Reviewed-on: #82
2024-09-16 08:50:38 +02:00
47f06c52db Merge pull request 'master' (#81) from master into stage
All checks were successful
Deploy into stage environment / Deploy into stage environment (push) Successful in 4s
Run tests / Execute tox to run the test suite (push) Successful in 3m50s
Reviewed-on: #81
2024-09-12 15:29:19 +02:00
59a79720e3 Merge pull request 'Test master stuff on stage' (#79) from master into stage
All checks were successful
Deploy into stage environment / Deploy into stage environment (push) Successful in 4s
Run tests / Execute tox to run the test suite (push) Successful in 3m21s
Reviewed-on: #79
2024-09-12 08:55:38 +02:00
5016ec5d0e Merge pull request 'Test new stuff from master on stage' (#77) from master into stage
All checks were successful
Deploy into stage environment / Deploy into stage environment (push) Successful in 3s
Run tests / Execute tox to run the test suite (push) Successful in 3m21s
Reviewed-on: #77
2024-09-10 16:19:29 +02:00
0e0d302f0c Merge branch 'master' into stage
All checks were successful
Deploy into stage environment / Deploy into stage environment (push) Successful in 3s
Run tests / Execute tox to run the test suite (push) Successful in 3m23s
2024-09-10 15:03:54 +02:00
fab87ffa21 Merge pull request 'test newest stuff from master on stage' (#75) from master into stage
All checks were successful
Deploy into stage environment / Deploy into stage environment (push) Successful in 3s
Run tests / Execute tox to run the test suite (push) Successful in 3m9s
Reviewed-on: #75
2024-09-10 09:42:52 +02:00
e4da2738e0 Merge pull request 'deploy latest stuff on stage' (#73) from master into stage
All checks were successful
Deploy into stage environment / Deploy into stage environment (push) Successful in 3s
Run tests / Execute tox to run the test suite (push) Successful in 2m21s
Reviewed-on: #73
2024-08-02 15:59:09 +02:00
65ace70981 Merge pull request 'Fix #61' (#68) from master into production
All checks were successful
buildbot/django-dav-events--test Build done.
Reviewed-on: #68
2023-05-08 15:37:47 +02:00
ca6ca88b34 Merge pull request 'Fixed typo in "Schwierigkeitsniveau"' (#67) from master into production
All checks were successful
buildbot/django-dav-events--test Build done.
Reviewed-on: #67
2023-05-08 13:53:50 +02:00
c10d447802 Merge pull request 'Update production branch with latest stuff' (#66) from master into production
All checks were successful
buildbot/django-dav-events--test Build done.
Reviewed-on: #66
2023-05-08 12:48:23 +02:00
cb3c9a0e98 Merge pull request 'Merge Makefile into production for CI/CD stuff' (#58) from master into production
Reviewed-on: #58
2023-02-17 14:09:15 +01:00
c9572d631f Merge pull request 'update production branch' (#57) from master into production
All checks were successful
buildbot/tox Build done.
Reviewed-on: #57
2023-02-15 19:48:19 +01:00
6e67e2767b Merge pull request 'merge new master stuff into production' (#47) from master into production
All checks were successful
buildbot/tox Build done.
Reviewed-on: #47
2021-01-27 12:13:21 +01:00
b603f852a3 Merge pull request 'Update production branch to master' (#45) from master into production
All checks were successful
buildbot/tox Build done.
Reviewed-on: #45
2021-01-27 11:55:47 +01:00
cb364e5745 Merge pull request 'Production environment is updated.' (#43) from master into production
All checks were successful
buildbot/tox Build done.
Reviewed-on: #43
2021-01-07 14:42:48 +01:00
6 changed files with 2 additions and 40 deletions

View File

@@ -76,7 +76,6 @@ LEVEL_CHOICES = ChoiceSet([
('beginner', _(u'Anfänger')),
('advanced', _(u'Fortgeschrittene')),
('family', _(u'Familien')),
('senior', _(u'Senioren'))
])
MEALS_CHOICES = ChoiceSet([

View File

@@ -56,10 +56,6 @@ class AbstractParticipant(models.Model):
privacy_policy_accepted = models.BooleanField(default=False,
verbose_name=_('Einwilligung zur Datenspeicherung'))
participation_conditions_accepted = models.BooleanField(default=False,
verbose_name=_('Einwilligung der Teilnahmebedingungen'))
paid = models.BooleanField('Teilnehmerbeitrag bezahlt', default=False)
purge_at = models.DateTimeField()

View File

@@ -51,7 +51,7 @@ class RegistrationForm(forms.ModelForm):
' Das finden wir gut,'
' aber bitte melde dich besser mal per E-Mail bei uns.'),
params={'max_age': max_age},
code='too_old',
code='to_old',
)
return val
@@ -79,16 +79,6 @@ class RegistrationForm(forms.ModelForm):
)
return val
def clean_participation_conditions_accepted(self):
val = self.cleaned_data.get('participation_conditions_accepted')
if not val:
raise forms.ValidationError(
ugettext('Um an dieser Veranstaltung teilnehmen zu können,'
' musst du die Teilnahmebedingungen akzeptieren.'),
code='participation_conditions_not_accepted',
)
return val
def clean(self):
super().clean()
dav_member = self.cleaned_data.get('dav_member')

View File

@@ -84,8 +84,6 @@ class Registration(models.Model):
verbose_name=_('Einwilligung zur Datenspeicherung'))
purge_at = models.DateTimeField(_('Zeitpunkt der Datenlöschung'))
participation_conditions_accepted = models.BooleanField(default=False, verbose_name=_('Einwilligung der Teilnahmebedingungen'))
answered_obsolete = models.BooleanField(default=False, verbose_name=_('Durch Tourleitung beantwortet'))
def approx_age(self):

View File

@@ -9,7 +9,6 @@
<button id="btn-filter-All" type="button" class="btn btn-xs btn-green">Alle Touren</button>
<button id="btn-filter-B" type="button" class="btn btn-xs btn-sport-B btn-white">Bergsteigen</button>
<button id="btn-filter-family" type="button" class="btn btn-xs btn-level-family btn-white">Familien</button>
<button id="btn-filter-senior" type="button" class="btn btn-xs btn-level-senior btn-white">Senioren</button>
<button id="btn-filter-K" type="button" class="btn btn-xs btn-sport-K btn-white">Klettern</button>
<button id="btn-filter-M" type="button" class="btn btn-xs btn-sport-M btn-white">Mountainbike</button>
<button id="btn-filter-S" type="button" class="btn btn-xs btn-sport-S btn-white">Ski</button>
@@ -128,7 +127,7 @@
<script type="text/javascript">
function filter_table(table, filter) {
const sport_choices = ["B", "K", "M", "S", "W"];
const level_choices = ["beginner", "advanced", "family", "senior"];
const level_choices = ["beginner", "advanced", "family"];
var choices = sport_choices.concat(level_choices);
var filter_cleaned = [];
var filter_expr;
@@ -201,9 +200,6 @@
$("#btn-filter-family").on("click", function() {
toggle_filter(table, filter, "family");
} );
$("#btn-filter-senior").on("click", function() {
toggle_filter(table, filter, "senior");
} );
$("#searchfield").on( "keyup change", function() {
table.column(0).search( this.value ).draw();
} );

View File

@@ -182,23 +182,6 @@
Der/die Tourenleiter/in wird dir also persönlich per E-Mail zu- oder absagen.
</small></p>
</div>
{% if form.participation_conditions_accepted.errors %}
<div class="has-error">
{% endif %}
<div class="checkbox">
<label>
<input type="checkbox" name="participation_conditions_accepted" {% if form.participation_conditions_accepted.value %}checked="checked"{% endif %}>
{% trans 'Ich habe den oben erläuterten Teilnahmevorbehalt und die <a href="https://www.alpenverein-karlsruhe.de/programm/teilnahmebedingungen" target="_blank" rel="noreferrer noopener">Teilnahmebedingungen</a> gelesen und akzeptiert.' %}
</label>
</div>
{% if form.participation_conditions_accepted.errors %}
<div class="help-block">
{% for error in form.participation_conditions_accepted.errors %}
<p>{{ error }}</p>
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
<div class="row">&nbsp;</div>