• Stefy Lanza (nextime / spora )'s avatar
    Manual disable/enable provider button (persistent across reboot) + cooldown recovery · 1d726a93
    Stefy Lanza (nextime / spora ) authored
    Adds a per-provider Disable/Enable button to the rotations page for both admin
    and users, exposing a manual disable that — unlike the failure cooldown — never
    auto-expires and persists across reboots.
    
    - providers/base.py: manual_disable()/manual_enable()/is_manually_disabled();
      manual disable takes precedence in is_rate_limited(); manual_enable() also
      clears any cooldown and resets the failure budget. Source of truth is the
      database (mirrored to cache as a fast path) so state survives restarts and
      cache flushes. Also: when a failure cooldown elapses, the provider is
      reactivated with a fresh failure budget instead of a hair-trigger.
    - database.py: dedicated provider_manual_disabled table (+migration) and
      get/set/clear helpers, user-scoped so a user's toggle never affects others.
    - dashboard: manual-disable / manual-enable / bulk manual-status endpoints; the
      rotations pages render and toggle the button state.
    
    Bump to 0.99.73.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    1d726a93
Name
Last commit
Last update
..
af.json Loading commit data...
ar.json Loading commit data...
bel.json Loading commit data...
bn.json Loading commit data...
cs.json Loading commit data...
da.json Loading commit data...
de.json Loading commit data...
el.json Loading commit data...
en.json Loading commit data...
eo.json Loading commit data...
es.json Loading commit data...
fa.json Loading commit data...
fi.json Loading commit data...
fr.json Loading commit data...
he.json Loading commit data...
hi.json Loading commit data...
hu.json Loading commit data...
id.json Loading commit data...
it.json Loading commit data...
ja.json Loading commit data...
ko.json Loading commit data...
ms.json Loading commit data...
nb.json Loading commit data...
new.json Loading commit data...
nl.json Loading commit data...
pl.json Loading commit data...
pt.json Loading commit data...
qya.json Loading commit data...
ro.json Loading commit data...
ru.json Loading commit data...
sk.json Loading commit data...
sv.json Loading commit data...
th.json Loading commit data...
tlh.json Loading commit data...
tr.json Loading commit data...
translate_xh.py Loading commit data...
uk.json Loading commit data...
vi.json Loading commit data...
vul.json Loading commit data...
xh.json Loading commit data...
zh.json Loading commit data...
zu.json Loading commit data...