Commit Graph

57 Commits

Author SHA1 Message Date
Lili (Tlapka) f1a57c16e4 style corrections 2024-02-10 13:38:26 +01:00
Lili (Tlapka) 7da002eb00 remove unused imports, variables 2024-02-10 13:33:09 +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) 0b84e06c52 hide inactive milestones/counters, change fn name
function is is_redeem_active
2023-03-27 13:34:13 +02: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) 49053ee4f4 add completeness to milestones 2023-03-20 13:23:20 +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) 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) 189ffcc1a8 add error check to is_stream_live() 2023-03-13 14:59:20 +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) 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) 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) 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) efd773e2e8 fix typo that broke check_counter_exists 2023-01-04 13:53:46 +01:00
Lili (Tlapka) 7625d9b959 check if counter exists before incrementing
nonexistant counter prints warning + recommends running refresh-counters
2023-01-04 13:22:47 +01:00
Lili (Tlapka) 3282072b42 split long line
was over 100 characters
2023-01-03 13:38:15 +01:00
Lili (Tlapka) b34524334c rewrite error message
make it clear that read_all_users_with_username reads multiple values
2023-01-03 13:34:06 +01:00
Lili (Tlapka) 8e461c5076 remove redundant list conversion
unique_users is only used to iterate over and set is an iterable
so i do not need to convert it to list
2023-01-03 13:32:07 +01:00
trwnh 65b68f886e
Fix: Change POST to GET for certain API calls
I'm not sure why Owncast responds to a POST when it should be a GET, but this is probably not reliable behaviour
2022-11-30 11:29:00 -06:00
Lili (Tlapka) af36ddff75 change error logger to error 2022-11-25 15:11:42 +01:00
Lili (Tlapka) 444601dab8 version 1.0.0a2: change prints to logger
errors are warning, debug is for spam.
2022-11-24 16:06:01 +01:00
Lili (Tlapka) 5e5e81114f style fixes 2022-11-22 11:33:05 +01:00
Lili (Tlapka) 5d3a4c3825 remove unused imports
hopefully theyre unused lol
2022-11-22 11:23:21 +01:00
Lili (Tlapka) ee1eb66567 remove CLI db stuff from owncast helpers
was moved to db.py
2022-11-07 17:30:20 +01:00
Lili (Tlapka) 41d9fc4657 fix duplicate name purging,
add name addition to account creation
2022-11-03 15:58:33 +01:00
Lili (Tlapka) 95acd70b85 prepare remove duplicate usernames function
(NOT TESTED)
2022-10-25 18:58:04 +02:00
Lili (Tlapka) 75bc9f161d fully fixed redeem clear 2022-10-25 18:37:59 +02:00
Lili (Tlapka) 932ac9ff71 fix counters not resetting hopefully 2022-10-25 18:34:48 +02:00
Lili (Tlapka) 2cf2050dac dashboard wrong points workaround
dashboard now shows the points of every user with same username
2022-10-20 16:10:28 +02:00
Lili (Tlapka) f9ff27c055 bugfix 2022-10-18 14:10:52 +02:00
Lili (Tlapka) 6a4c8b759a fix None type error 2022-10-18 14:09:35 +02:00
Lili (Tlapka) c12bcd68c2 show user's points on dashboard 2022-10-18 14:04:15 +02:00
Lili (Tlapka) d8230da013 more style fixes everywhere else 2022-10-17 18:47:30 +02:00
Lili (Tlapka) 3c5a09b2de update dashboard + dashboard helpers
also untested
2022-10-12 15:48:57 +02:00
Lili (Tlapka) 1faee35169 indent fixes + new helpers + updated helpers 2022-10-12 15:30:12 +02:00
Lili (Tlapka) 9ce16bb35e bugfix: only give points to unique users
no longer gives people extra points for having more tabs open
2022-09-30 12:01:33 +02:00
Lili (Tlapka) 1d6bd82ce0 fix db import for cmd argument 2022-09-26 16:51:22 +02:00
Lili (Tlapka) 4adac38871 add clear-queue CLI command 2022-09-26 11:10:48 +02:00
Lili (Tlapka) 4c3d2cc734 improvement: no points giving when stream is off 2022-09-14 14:05:10 +02:00
Lili (Tlapka) 4fa7f2287b fix name change query, add forced name refresh 2022-09-09 12:41:13 +02:00