adding notification
This commit is contained in:
@@ -93,15 +93,15 @@ class Command(BaseCommand):
|
|||||||
lines = traceback.format_exception(exc_type, exc_value, exc_traceback)
|
lines = traceback.format_exception(exc_type, exc_value, exc_traceback)
|
||||||
dologging('processemail.log', ''.join('!! ' + line for line in lines))
|
dologging('processemail.log', ''.join('!! ' + line for line in lines))
|
||||||
|
|
||||||
rowers = Rower.objects.filter(rp3_auto_import=True)
|
#rowers = Rower.objects.filter(rp3_auto_import=True)
|
||||||
for r in rowers: # pragma: no cover
|
#for r in rowers: # pragma: no cover
|
||||||
try:
|
# try:
|
||||||
rp3_integration = RP3Integration(r.user)
|
# rp3_integration = RP3Integration(r.user)
|
||||||
_ = rp3_integration.get_workouts()
|
# _ = rp3_integration.get_workouts()
|
||||||
except: # pragma: no cover
|
# except: # pragma: no cover
|
||||||
exc_type, exc_value, exc_traceback = sys.exc_info()
|
# exc_type, exc_value, exc_traceback = sys.exc_info()
|
||||||
lines = traceback.format_exception(exc_type, exc_value, exc_traceback)
|
# lines = traceback.format_exception(exc_type, exc_value, exc_traceback)
|
||||||
dologging('processemail.log', ''.join('!! ' + line for line in lines))
|
# dologging('processemail.log', ''.join('!! ' + line for line in lines))
|
||||||
|
|
||||||
rowers = Rower.objects.filter(nk_auto_import=True)
|
rowers = Rower.objects.filter(nk_auto_import=True)
|
||||||
for r in rowers: # pragma: no cover
|
for r in rowers: # pragma: no cover
|
||||||
|
|||||||
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
@@ -220,6 +220,12 @@
|
|||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<li class="grid_4">
|
||||||
|
<p class="message">
|
||||||
|
Rowsandall functionality will be transferred to <a href="https://intervals.icu/">Intervals.icu</a> during 2026.
|
||||||
|
For more details, read <a href="https://analytics.rowsandall.com/2025/12/07/the-last-year-rowsandall-will-disappear-what-now/">this announcement</a>.
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
{% if user.rower.planexpires and user.rower|notfree and user.rower.paymenttype == 'single'%}
|
{% if user.rower.planexpires and user.rower|notfree and user.rower.paymenttype == 'single'%}
|
||||||
{% if user.rower.planexpires|is_future_date %}
|
{% if user.rower.planexpires|is_future_date %}
|
||||||
{% if user.rower.planexpires|date_dif|ddays < 4 %}
|
{% if user.rower.planexpires|date_dif|ddays < 4 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user