Commit Graph
100 Commits
Author SHA1 Message Date
lili d7fdc1e183 functioning polls 2025-12-12 20:01:09 +01:00
lili bd6f94a976 poll handler fixes: better split, early return 2025-12-10 20:29:07 +01:00
lili 32596ab4e5 add poll db commands to init, fix db poll commands 2025-12-10 19:44:03 +01:00
lili 6f4c6b33f2 argument fix (teardown passes arguments to the function) 2025-12-10 19:01:15 +01:00
lili ecdd399e27 sql fix 2025-12-10 19:01:01 +01:00
lili 3bbfc140ef import fix 2025-12-10 19:00:45 +01:00
lili b8fb30a2ae add TODO 2025-03-10 21:08:05 +01:00
lili 70285958d1 WIP: add polls 2025-03-10 21:06:40 +01:00
lili 9592e2daf0 move defaults to defaults folder 2025-03-10 19:52:55 +01:00
lili d0ff884dec split redeems.py into a folder 2025-03-10 19:36:15 +01:00
lili 56cb94e1a0 remove the complete column from milestones table 2025-03-07 23:11:42 +01:00
lili 4e363876e7 add None points handling to redeems_handler 2024-10-06 15:23:48 +02:00
lili 20e3d6d4b2 add types to dashboard 2024-10-06 15:23:38 +02:00
lili b3cbe42450 add types to owncast_webhooks 2024-10-06 15:23:30 +02:00
lili 68c585405d expand types and comments in helpers 2024-10-06 15:23:18 +02:00
lili e8d8c265a7 add types to db 2024-10-06 15:23:02 +02:00
lili a274ddb89f add types to init 2024-10-06 15:22:34 +02:00
lili 22fcea8a96 add types to requests 2024-10-06 15:22:25 +02:00
lili 0d5d82a23b fix type alias, remove unused functions 2024-10-06 15:21:57 +02:00
lili 50403381e0 fix is_redeem_from_config_active type hints 2024-10-06 11:18:43 +02:00
lili 6758829634 typo fix 2024-10-06 11:08:50 +02:00
lili 9f89a2a892 rename tlapbot types :( 2024-10-06 11:08:17 +02:00
lili c8d2865383 redeems.py type signatures, add_to_redeem_queue improvement, redeem alias
need to test slight change
2024-10-06 11:03:56 +02:00
lili 09de99234c add type signature to handle_redeem 2024-10-06 11:02:05 +02:00
lili fe75fb7acc type signature for send_help 2024-10-05 22:09:13 +02:00
lili 477151f423 typo fix 2024-10-05 22:08:47 +02:00
lili c22af69b2a type signatures in owncast_helpers
+ typo fix
2024-10-05 22:08:19 +02:00
lili afd0a0d0a3 another readme update
because im nervous
2024-03-10 18:04:19 +01:00
lili 2a6aa58ced readme updates -- better description of what tlapbot does
some small fixes
2024-02-26 17:36:06 +01:00
lili 2284fb3a00 1.2.2 release 2024-02-11 20:17:17 +01:00
lili 3fe454d35c promote to alpha 2 2024-02-10 15:00:35 +01:00
lili f1a57c16e4 style corrections 2024-02-10 13:38:26 +01:00
lili 7da002eb00 remove unused imports, variables 2024-02-10 13:33:09 +01:00
lili 5e7810eb9f another list_redeems fix
dont use list_redeems
2024-02-10 12:21:29 +01:00
lili 61d318f418 fix and improve LIST_REDEEMS 2024-02-10 11:57:57 +01:00
lili ba30c96c01 warning improvement 2024-02-10 11:49:09 +01:00
lili 6d3a4671cc fix dictionary iteration in redeems 2024-02-10 11:31:51 +01:00
lili 384ca03e23 rewrite space warning 2024-02-06 20:16:54 +01:00
lili 7722bdf608 add redeem name warning to init 2024-02-06 20:15:58 +01:00
lili 7dfc8faae7 add warning about spaces 2024-02-06 20:12:12 +01:00
lili 8e4d21c02f clarify positivity of integer 2024-02-06 19:11:53 +01:00
lili 571aa47aab make zero points not redeemable 2024-02-06 19:10:37 +01:00
lili 433564bddf only one debug log for terminal needed 2024-02-06 19:06:00 +01:00
lili 1abab80da4 promote to 1.2.2a1 2024-02-06 18:21:38 +01:00
lili 894ff175a6 remove redundant line ends 2024-02-06 18:18:15 +01:00
lili 6641121ca3 add <br>s to help message construction 2024-02-04 18:09:47 +01:00
lili 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 e5e88bf520 Merge branch 'master' of github.com:SleepyLili/tlapbot into develop 2024-02-04 11:28:51 +01:00
lili b4a6c4e41c html/jinja formatting improvements
thanks chat
2024-02-03 18:47:42 +01:00
lili 8c19088640 readme: reword milestone "goal" and "price"
should hopefully suggest more clearly that milestones need goal
and everything else needs price
also changed the example to list goal first
2023-07-13 12:44:15 +02:00
lili 5316f7e205 improve default_redeems
list milestone "goal" first in the redeems dictionary
2023-07-13 12:42:46 +02:00
lili 31426fd851 promote to 1.2.1 2023-07-10 11:16:44 +02:00
lili 8d5a3cda42 update readme for 1.2.1 2023-07-10 11:13:31 +02:00
lili e237e7f885 declare alpha version 1.2.1a1 2023-07-03 12:56:03 +02:00
lili 80037593a9 fix redeem handler for redeems with no price
milestone needs to be handled first
2023-07-03 12:27:45 +02:00
lili d484a0a363 fix reset_milestone 2023-07-03 12:18:29 +02:00
lili 348e674f74 make price tab in dashboard blank for milestones 2023-07-03 11:02:09 +02:00
lili ca9aa6d79d add reset and hard-reset command to init 2023-07-03 10:46:35 +02:00
lili ae42a052de add true/false fail checks to click commands
previously click would print stuff like "X done succesfully" after error
now it'll be more clear that a failure has occured
2023-06-26 13:40:26 +02:00
lili d1416d3706 add reset-milestone and hard-reset-milestone
commands to click
2023-06-26 13:28:34 +02:00
lili f66b125ac3 remove unused start_milestone function 2023-06-26 13:12:28 +02:00
lili 6f6fc10d0f remove minimum bid for #15 2023-06-20 14:39:19 +02:00
lili bf68f518da add error handling and response check to requests 2023-06-20 13:41:22 +02:00
lili 8e74da1f26 release time? 2023-03-28 14:51:53 +02:00
lili b08371838f fix redeeming inactive redeem 2023-03-28 13:05:35 +02:00
lili 739438f28b move active category check
from __init__.py to being done runtime in functions
2023-03-28 13:02:50 +02:00
lili d372ed6e6b bugfix: check_apply_milestone was []ing None 2023-03-27 16:38:05 +02:00
lili 1b02624dea bugfix: milestone_complete was trying to [] None 2023-03-27 16:30:39 +02:00
lili 265a6cc9b4 fix check for more than have, add error chat 2023-03-27 16:30:24 +02:00
lili 021737ad16 check if user has all the points they're sending 2023-03-27 14:24:35 +02:00
lili 6c2eb41ec3 update initial setup with counters/milestones 2023-03-27 14:21:31 +02:00
lili c68a3924fc simplify refresh_counters 2023-03-27 14:19:26 +02:00
lili 6e500c962d fix import 2023-03-27 13:34:31 +02:00
lili 0b84e06c52 hide inactive milestones/counters, change fn name
function is is_redeem_active
2023-03-27 13:34:13 +02:00
lili b985a58b8f update beta version -- release candidate? 2023-03-27 11:00:42 +02:00
lili 19f8e28780 fix typo in readme 2023-03-26 14:08:26 +02:00
lili 99e014b2d1 fix the instance folder references in readme 2023-03-26 14:06:40 +02:00
lili 5f0aa468c7 readme updates: correct instance folder location
also add a disclaimer about redeems.py
2023-03-26 13:31:00 +02:00
lili 1937c5d660 add negative bid protection to add_to_milestone 2023-03-26 13:11:31 +02:00
lili 3858a14f1a add goal changing to refresh_milestones() 2023-03-26 12:22:54 +02:00
lili ea1fc6e051 add example milestone to README.md 2023-03-22 14:53:48 +01:00
lili 0176b6e84c fix minimum bid bug 2023-03-21 12:32:19 +01:00
lili 7b31dbcb31 move redeem types summary after dashboard images 2023-03-21 12:16:36 +01:00
lili 6248a2c546 update readme images to nice ones 2023-03-21 12:09:39 +01:00
lili 44eb0be6e2 fix typos in default_redeems.py 2023-03-21 11:47:32 +01:00
lili abbc099661 add new default milestone
update wording on "price" to mention milestone minimum bid
2023-03-21 11:46:28 +01:00
lili 7a37f8afcf change reference to tlapbot dashboard in init py 2023-03-21 11:40:55 +01:00
lili f8a174b94f readme update
passive mode, milestone goals, goal in redeems dict
also changed wording on init-db function
also removed the in-development line for being confusing
2023-03-21 10:03:26 +01:00
lili b8e465e50c rename owncast_redeem_dashboard->tlapbot_dashboard 2023-03-20 17:41:56 +01:00
lili 26c94a65a9 update version to beta 1 for tomorrow's stream 2023-03-20 17:29:16 +01:00
lili 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 7235340a39 split out requests to owncast_requests.py 2023-03-20 17:16:17 +01:00
lili d6297c537f fix completeness function 2023-03-20 17:10:33 +01:00
lili e1ef0c4619 add needed imports 2023-03-20 14:28:50 +01:00
lili 49053ee4f4 add completeness to milestones 2023-03-20 13:23:20 +01:00
lili 9d910e58ce bump version for stream 2023-03-16 16:29:03 +01:00
lili 583aeedf64 fix typo 2023-03-15 14:21:15 +01:00
lili 423f12ed34 fix milestone deletion 2023-03-15 14:19:38 +01:00
lili 7e408c1b74 remove number of donated points from message
it's not always true.
2023-03-15 14:11:34 +01:00
lili cf8376eebc add refresh-milestones to cli. fix cli errors 2023-03-15 14:11:11 +01:00