Commit Graph
100 Commits
Author SHA1 Message Date
lili 2d0976f441 readme update: change example domain to .example 2023-01-18 10:54:23 +01:00
lili c6542515aa readme update: add more about categories 2023-01-18 10:53:35 +01:00
lili ddaa111c84 promote build to beta 1
all features are about done, let's goooooooooooooooooooo
2023-01-16 13:31:52 +01:00
lili 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 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 dc68887c82 change redeem categories to list format 2023-01-13 18:51:44 +01:00
lili 02bf3223c4 draft of updated readme
currently it says that categories are a list but they are not.
i hope to make them a list before release lol
2023-01-13 15:12:56 +01:00
lili f3d088d6fb change types to categories
to avoid confusion with actual types of redeems like list
2023-01-13 12:57:43 +01:00
lili ae792192e8 add a category example to default redeems 2023-01-13 11:04:30 +01:00
lili ef2f6910e6 add a refresh+clear command 2023-01-13 11:04:01 +01:00
lili 625d37209c promote build to alpha 2 2023-01-12 14:40:19 +01:00
lili 10c4f6f514 split long line 2023-01-12 14:40:05 +01:00
lili 27812b9480 add first implementation of redeem categories 2023-01-12 14:23:32 +01:00
lili 2138650f91 reorganize helpers file 2023-01-12 13:20:28 +01:00
lili d3763d51c3 fix regex to be non-greedy 2023-01-11 10:25:48 +01:00
lili 05f28b71bd promote develop build to 1.1.0a1
very early alpha, still missing 2 things from the checklist
2023-01-10 12:23:59 +01:00
lili 6283a8f948 split long line in db.py 2023-01-09 15:21:20 +01:00
lili 537fa01aef split long lines in redeems_handler.py 2023-01-09 15:17:45 +01:00
lili 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 85c4df9250 add an error message to points read too 2023-01-05 14:32:53 +01:00
lili 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 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 c978b27799 remove unnecessary import 2023-01-05 11:01:54 +01:00
lili efd773e2e8 fix typo that broke check_counter_exists 2023-01-04 13:53:46 +01:00
lili 7625d9b959 check if counter exists before incrementing
nonexistant counter prints warning + recommends running refresh-counters
2023-01-04 13:22:47 +01:00
lili f1dfb79f2c remove prefix comment 2023-01-04 12:41:12 +01:00
lili 6a3e74cdec add prefix sanity check to init
tlapbot will throw runtime error if prefix isn't a single character
longer prefixes would break the bot bc of how redeems_handler.py works
2023-01-04 12:38:58 +01:00
lili 92a2a77c80 add customized prefix to dashboard 2023-01-04 12:37:56 +01:00
lili 3caaed4b35 add customizable prefix 2023-01-04 12:37:45 +01:00
lili a5463c09ee simplify dashboard file
removed redundant assignments to variables
2023-01-04 12:30:38 +01:00
lili 3282072b42 split long line
was over 100 characters
2023-01-03 13:38:15 +01:00
lili 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 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
lili e65ffae8ce promote 1.0.1alpha to 1.0.1 2022-12-07 11:14:33 +01:00
lili c6d94f9d5f version 1.0.1alpha for my next stream 2022-12-05 16:06:39 +01:00
lili bafa1eca16 fix behavior with 2 commands + new user crashes
issue #5
crash i discovered when testing (users joining when bot is resetting)
2022-12-05 11:36:25 +01:00
lili 5838f15b1c Merge branch 'master' of git.kawen.site:Lili/tlapbot 2022-11-29 11:01:52 +01:00
lili 2c405d5a85 1.0.0 real for real (hopefully) 2022-11-29 11:01:31 +01:00
lili b5c3a3c930 add example of running log level debug w/ gunicorn 2022-11-25 16:35:39 +01:00
lili af36ddff75 change error logger to error 2022-11-25 15:11:42 +01:00
lili 291675810c update README.md with logging info 2022-11-25 15:02:27 +01:00
lili 22b4ee68d9 add gunicorn logging, GUNICORN to config.py 2022-11-24 16:56:23 +01:00
lili 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 528ffa05d8 change version to alpha 1 of 1.0.0 2022-11-22 12:34:51 +01:00
lili e82ecb0784 Merge branch 'master' of git.kawen.site:Lili/tlapbot 2022-11-22 12:24:15 +01:00
lili 5e5e81114f style fixes 2022-11-22 11:33:05 +01:00
lili 5d3a4c3825 remove unused imports
hopefully theyre unused lol
2022-11-22 11:23:21 +01:00
lili 5556f394e9 remove unnecessary gitignored file 2022-11-22 11:19:32 +01:00
lili f26b57fea6 add setting of flask app variable to install 2022-11-21 14:45:01 +01:00
lili 6d8d4136ea readme edits (simplify dashboard description) 2022-11-21 13:38:16 +01:00
lili 3b5ccfccca add help tab paragraph to readme 2022-11-18 13:10:19 +01:00
lili 0162487e7b readme editing (small fixes wrt instance folder) 2022-11-18 13:03:20 +01:00
lili 19b25724fd image caption format fix 2022-11-17 14:39:07 +01:00
lili b9396cf885 add dashboard picture to readme 2022-11-17 14:38:23 +01:00
lili 38669f382e add CLI commands to readme 2022-11-17 14:22:37 +01:00
lili 8d3570e219 readme update: add dashboard to features, wording 2022-11-17 14:01:53 +01:00
lili aa88783688 readme edits 2022-11-15 15:58:33 +01:00
lili 074b37fc47 add redeems to README.md 2022-11-15 15:56:39 +01:00
lili cf6202af3f readme update + add note about reverse proxy
remove redundant install method, simplify wording
2022-11-15 14:56:24 +01:00
lili 07959e03ce README.md update: wording, prod install+running
also prepared headings for the config.py and redeems.py explainer
2022-11-14 14:46:44 +01:00
lili 10b14cf04d remove alpha status
time to merge to main branch
2022-11-14 12:29:02 +01:00
lili 7ecd5f7471 add version number for stream 2022-11-10 16:09:17 +01:00
lili 6f96019257 Add a basic description of tlapbot to !help.
Change default to not list redeems, and instead redirect to dashboard
2022-11-09 15:14:10 +01:00
lili e33ab1f74b more text to explain redeems 2022-11-09 14:54:00 +01:00
lili 5ab2e0d8d2 wording update for better clarity 2022-11-09 14:40:27 +01:00
lili f0b918aa2c add tabs to dashboard
tab with recent redeems and counters
then tab with redeems info
recent redeems open by default
2022-11-09 14:35:45 +01:00
lili 73194a0fc8 add new functionality to config, info to redeems 2022-11-07 17:31:01 +01:00
lili e4850ab89f move help to own file, rewrite it
for speed and for better info
2022-11-07 17:30:40 +01:00
lili ee1eb66567 remove CLI db stuff from owncast helpers
was moved to db.py
2022-11-07 17:30:20 +01:00
lili 72800a6311 add list of current redeems to dashboard
is currently ugly, needs to be made prettier
2022-11-07 17:30:00 +01:00
lili 7b9dbc805c add new and moved CLI commands to init 2022-11-07 16:45:29 +01:00
lili 657854eb5d move clear-queue to db, add refresh-counters to db 2022-11-07 16:42:45 +01:00
lili 2c3109901c make app silently fail when config is missing
since default was already loaded
2022-11-07 16:29:02 +01:00
lili 60e61728b8 make version number not be an alpha 2022-11-07 12:57:43 +01:00
lili 1c295dde29 fix duplicate removal on name change for auth user 2022-11-07 12:56:11 +01:00
lili 62ddd19834 bump version number for live instance 2022-11-03 16:14:31 +01:00
lili 41d9fc4657 fix duplicate name purging,
add name addition to account creation
2022-11-03 15:58:33 +01:00
lili 6ec8a31100 add duplicate name removal to webhook catcher 2022-10-25 19:00:43 +02:00
lili 95acd70b85 prepare remove duplicate usernames function
(NOT TESTED)
2022-10-25 18:58:04 +02:00
lili 75bc9f161d fully fixed redeem clear 2022-10-25 18:37:59 +02:00
lili 932ac9ff71 fix counters not resetting hopefully 2022-10-25 18:34:48 +02:00
lili a667f746f3 fix taking away points when no note with note rdm 2022-10-25 18:31:36 +02:00
lili 15dfd3ccae bump version for stream 2022-10-20 16:24:49 +02:00
lili 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 f0077c56dc fix default redeems 2022-10-18 15:39:04 +02:00
lili 5561621be2 bump version number for today's stream
(for real this time)
2022-10-18 15:24:55 +02:00
lili a62c718aa1 add a default redeems file 2022-10-18 14:44:46 +02:00
lili bf49aa16cd make help send all redeems
(the help function needs a rewrite)
2022-10-18 14:40:16 +02:00
lili f9ff27c055 bugfix 2022-10-18 14:10:52 +02:00
lili 6a4c8b759a fix None type error 2022-10-18 14:09:35 +02:00
lili c12bcd68c2 show user's points on dashboard 2022-10-18 14:04:15 +02:00
lili ecb794b8fa bump version for tuesday stream 2022-10-17 18:55:53 +02:00
lili d8230da013 more style fixes everywhere else 2022-10-17 18:47:30 +02:00
lili 06114022da code style fixes 2022-10-17 18:37:49 +02:00
lili f391a7bd12 create points table if not exists 2022-10-13 14:24:36 +02:00
lili f916d46d55 change schema to drop counters and NOT drop points 2022-10-13 14:23:31 +02:00
lili 5c6b070a7a redeems dashboard improvement 2022-10-13 14:09:12 +02:00
lili 796febb91f dashboard fixes 2022-10-13 13:53:42 +02:00
lili dda415f87a init-db typo fixes 2022-10-13 13:29:38 +02:00
lili 3c5a09b2de update dashboard + dashboard helpers
also untested
2022-10-12 15:48:57 +02:00