Commit Graph

148 Commits

Author SHA1 Message Date
Lili (Tlapka) 021737ad16 check if user has all the points they're sending 2023-03-27 14:24:35 +02:00
Lili (Tlapka) c68a3924fc simplify refresh_counters 2023-03-27 14:19:26 +02:00
Lili (Tlapka) 6e500c962d fix import 2023-03-27 13:34:31 +02:00
Lili (Tlapka) 0b84e06c52 hide inactive milestones/counters, change fn name
function is is_redeem_active
2023-03-27 13:34:13 +02:00
Lili (Tlapka) 1937c5d660 add negative bid protection to add_to_milestone 2023-03-26 13:11:31 +02:00
Lili (Tlapka) 3858a14f1a add goal changing to refresh_milestones() 2023-03-26 12:22:54 +02:00
Lili (Tlapka) 0176b6e84c fix minimum bid bug 2023-03-21 12:32:19 +01:00
Lili (Tlapka) 44eb0be6e2 fix typos in default_redeems.py 2023-03-21 11:47:32 +01:00
Lili (Tlapka) abbc099661 add new default milestone
update wording on "price" to mention milestone minimum bid
2023-03-21 11:46:28 +01:00
Lili (Tlapka) 7a37f8afcf change reference to tlapbot dashboard in init py 2023-03-21 11:40:55 +01:00
Lili (Tlapka) b8e465e50c rename owncast_redeem_dashboard->tlapbot_dashboard 2023-03-20 17:41:56 +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) d6297c537f fix completeness function 2023-03-20 17:10:33 +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) 423f12ed34 fix milestone deletion 2023-03-15 14:19:38 +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) cf8376eebc add refresh-milestones to cli. fix cli errors 2023-03-15 14:11:11 +01:00
Lili (Tlapka) c203ce132f add refresh milestones command 2023-03-15 13:37:21 +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) 9019f98031 prettier milestone, redeem queue tab 2023-03-14 16:43:26 +01:00
Lili (Tlapka) e8b9ca3cda Remove extra line from milestone explanation 2023-03-14 16:31:28 +01:00
Lili (Tlapka) 9323b58ed6 FIXED milestones dashboard 2023-03-14 16:28:45 +01:00
Lili (Tlapka) cb574618a6 working milestones prototype in dashboard 2023-03-14 16:26:04 +01:00
Lili (Tlapka) 68b8588c76 dashboard milestones stub 2023-03-14 15:42:14 +01:00
Lili (Tlapka) 2732967e26 fix error catching in add_to_milestone 2023-03-14 15:14:52 +01:00
Lili (Tlapka) 07c701de71 milestone stub + helpers name change
lets hope milestones work
2023-03-14 14:15:18 +01:00
Lili (Tlapka) 90615ce7c6 add colspan to "recent redeems"
no longer makes an extra line
2023-03-13 15:29:34 +01:00
Lili (Tlapka) 82d9088c18 first version of passive mode
seems to work fine
2023-03-13 15:22:40 +01:00
Lili (Tlapka) 189ffcc1a8 add error check to is_stream_live() 2023-03-13 14:59:20 +01:00
Lili (Tlapka) c047ec94ac add auto-refresh to dashboard + fix bug
selected "tab"/"button" is now properly highlighted
dashboard refreshes every 30 seconds
2023-01-16 13:30:43 +01:00
Lili (Tlapka) 0c678d8988 add a safeguard for empty list categories redeems
remove warnings in readme about it as well
2023-01-16 13:30:15 +01:00
Lili (Tlapka) dc68887c82 change redeem categories to list format 2023-01-13 18:51:44 +01:00
Lili (Tlapka) f3d088d6fb change types to categories
to avoid confusion with actual types of redeems like list
2023-01-13 12:57:43 +01:00
Lili (Tlapka) ae792192e8 add a category example to default redeems 2023-01-13 11:04:30 +01:00
Lili (Tlapka) ef2f6910e6 add a refresh+clear command 2023-01-13 11:04:01 +01:00
Lili (Tlapka) 10c4f6f514 split long line 2023-01-12 14:40:05 +01:00
Lili (Tlapka) 27812b9480 add first implementation of redeem categories 2023-01-12 14:23:32 +01:00
Lili (Tlapka) 2138650f91 reorganize helpers file 2023-01-12 13:20:28 +01:00
Lili (Tlapka) d3763d51c3 fix regex to be non-greedy 2023-01-11 10:25:48 +01:00
Lili (Tlapka) 6283a8f948 split long line in db.py 2023-01-09 15:21:20 +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) 85c4df9250 add an error message to points read too 2023-01-05 14:32:53 +01:00
Lili (Tlapka) 543dc3e5b9 change logger logs to f-strings
I read on a webpage the way it used to be would work
but the webpage lied and I got not all arguments converted error
2023-01-05 14:26:18 +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
Lili (Tlapka) c978b27799 remove unnecessary import 2023-01-05 11:01:54 +01:00
Lili (Tlapka) efd773e2e8 fix typo that broke check_counter_exists 2023-01-04 13:53:46 +01:00