Private
Public Access
1
0

adding notification

This commit is contained in:
2025-12-08 18:34:24 +01:00
parent b1e279bba9
commit a346671161
3 changed files with 15 additions and 9 deletions

View File

@@ -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

Binary file not shown.

View File

@@ -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 %}