Lili (Tlapka)
f1a57c16e4
style corrections
2024-02-10 13:38:26 +01:00
Lili (Tlapka)
8e4d21c02f
clarify positivity of integer
2024-02-06 19:11:53 +01:00
Lili (Tlapka)
571aa47aab
make zero points not redeemable
2024-02-06 19:10:37 +01:00
Lili (Tlapka)
7ffb1a15b0
change webhook to use rawBody instead of body when reading msg
...
remove_emoji function is now unused, as shortcodes get scrubbed in rawBody now
2024-02-04 18:09:36 +01:00
Lili (Tlapka)
80037593a9
fix redeem handler for redeems with no price
...
milestone needs to be handled first
2023-07-03 12:27:45 +02:00
Lili (Tlapka)
6f6fc10d0f
remove minimum bid for #15
2023-06-20 14:39:19 +02:00
Lili (Tlapka)
b08371838f
fix redeeming inactive redeem
2023-03-28 13:05:35 +02:00
Lili (Tlapka)
739438f28b
move active category check
...
from __init__.py to being done runtime in functions
2023-03-28 13:02:50 +02:00
Lili (Tlapka)
265a6cc9b4
fix check for more than have, add error chat
2023-03-27 16:30:24 +02:00
Lili (Tlapka)
021737ad16
check if user has all the points they're sending
2023-03-27 14:24:35 +02:00
Lili (Tlapka)
0176b6e84c
fix minimum bid bug
2023-03-21 12:32:19 +01:00
Lili (Tlapka)
10e84d4aab
split redeem operations into redeems.py
...
owncast_helpers.py is now smaller and only contains smaller, generic fns
so no direct redeem manipulations, but reading points, users, etc.
2023-03-20 17:28:54 +01:00
Lili (Tlapka)
7235340a39
split out requests to owncast_requests.py
2023-03-20 17:16:17 +01:00
Lili (Tlapka)
e1ef0c4619
add needed imports
2023-03-20 14:28:50 +01:00
Lili (Tlapka)
49053ee4f4
add completeness to milestones
2023-03-20 13:23:20 +01:00
Lili (Tlapka)
583aeedf64
fix typo
2023-03-15 14:21:15 +01:00
Lili (Tlapka)
7e408c1b74
remove number of donated points from message
...
it's not always true.
2023-03-15 14:11:34 +01:00
Lili (Tlapka)
22501c80c0
milestone upgrade
...
subtract pts, rename count to progress, send a chat message on success
2023-03-15 13:13:14 +01:00
Lili (Tlapka)
cb574618a6
working milestones prototype in dashboard
2023-03-14 16:26:04 +01:00
Lili (Tlapka)
07c701de71
milestone stub + helpers name change
...
lets hope milestones work
2023-03-14 14:15:18 +01:00
Lili (Tlapka)
537fa01aef
split long lines in redeems_handler.py
2023-01-09 15:17:45 +01:00
Lili (Tlapka)
25589ff69e
add emoji html junk removing function
...
emoji in redeem notes now show up as their shortcodes
2023-01-09 15:08:33 +01:00
Lili (Tlapka)
b666211142
better handling of errors in redeems situations
...
short circuit execution that doesnt take away points + better message
2023-01-05 11:27:10 +01:00
trwnh
420d954568
Refactor: reduce nesting
...
We can reduce cyclomatic complexity (how far we indented) by checking for a negative condition and exiting early, instead of checking for a positive condition and continuing
2022-11-30 10:45:52 -06:00
Lili (Tlapka)
a667f746f3
fix taking away points when no note with note rdm
2022-10-25 18:31:36 +02:00
Lili (Tlapka)
06114022da
code style fixes
2022-10-17 18:37:49 +02:00
Lili (Tlapka)
5c6b070a7a
redeems dashboard improvement
2022-10-13 14:09:12 +02:00
Lili (Tlapka)
dda415f87a
init-db typo fixes
2022-10-13 13:29:38 +02:00
Lili (Tlapka)
ede1cca8da
code skeleton fixes
2022-10-12 15:35:36 +02:00
Lili (Tlapka)
099525f9ff
base customizable redeems code skeletons
...
UNTESTED but i think i got it all
2022-10-12 15:31:34 +02:00
Lili (Tlapka)
062e1c113e
prepare skeletons for configurable redeems
...
move redeem handling code to redeem handler
2022-10-10 15:14:57 +02:00