Commit Graph

41 Commits

Author SHA1 Message Date
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
Lili (Tlapka) 876d020a69 db clear and pretty redeem queue helpers added 2022-09-09 12:34:31 +02:00
Lili (Tlapka) 20c2d2536e beginning work on redeem dashboard
for now it's just a static site
2022-09-07 16:44:59 +02:00
Lili (Tlapka) 0bca3d65a8 add base support for display name changes 2022-09-06 18:20:44 +02:00
Lili (Tlapka) c4fc1de95c configurable points per X seconds implementation 2022-09-05 13:20:20 +02:00
Lili (Tlapka) c0f1d33818 add use_points 2022-08-24 15:55:46 +02:00
Lili (Tlapka) c5f31946d3 moving code out into helper functions 2022-08-24 15:35:16 +02:00
Lili (Tlapka) 63b4c73cda change filenames to snake_case as well 2022-08-24 13:47:55 +02:00