Commit Graph

180 Commits

Author SHA1 Message Date
Lili (Lin) Pavelů 99bdcc16cc
Merge pull request #7 from trwnh/patch-2
Fix: Remove strict "is True" check
2022-12-05 11:22:58 +01:00
Lili (Lin) Pavelů 89c9d5945a
Merge pull request #6 from trwnh/patch-1
Refactor: reduce nesting
2022-12-05 11:22:45 +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
trwnh fe57550de2
Fix: Remove strict "is True" check
`is True` checks that the value points to the same memory. To check for truthiness, use `== True` or simply `if condition`
2022-11-30 11:00:30 -06:00
trwnh 420d954568
Refactor: reduce nesting
We can reduce cyclomatic complexity (how far we indented) by checking for a negative condition and exiting early, instead of checking for a positive condition and continuing
2022-11-30 10:45:52 -06:00
Lili (Tlapka) 5838f15b1c Merge branch 'master' of git.kawen.site:Lili/tlapbot 2022-11-29 11:01:52 +01:00
Lili (Tlapka) 2c405d5a85 1.0.0 real for real (hopefully) 2022-11-29 11:01:31 +01:00
Lili (Tlapka) b5c3a3c930 add example of running log level debug w/ gunicorn 2022-11-25 16:35:39 +01:00
Lili (Tlapka) af36ddff75 change error logger to error 2022-11-25 15:11:42 +01:00
Lili (Tlapka) 291675810c update README.md with logging info 2022-11-25 15:02:27 +01:00
Lili (Tlapka) 22b4ee68d9 add gunicorn logging, GUNICORN to config.py 2022-11-24 16:56:23 +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) 528ffa05d8 change version to alpha 1 of 1.0.0 2022-11-22 12:34:51 +01:00
Lili (Tlapka) e82ecb0784 Merge branch 'master' of git.kawen.site:Lili/tlapbot 2022-11-22 12:24:15 +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) 5556f394e9 remove unnecessary gitignored file 2022-11-22 11:19:32 +01:00
Lili (Tlapka) f26b57fea6 add setting of flask app variable to install 2022-11-21 14:45:01 +01:00
Lili (Tlapka) 6d8d4136ea readme edits (simplify dashboard description) 2022-11-21 13:38:16 +01:00
Lili (Tlapka) 3b5ccfccca add help tab paragraph to readme 2022-11-18 13:10:19 +01:00
Lili (Tlapka) 0162487e7b readme editing (small fixes wrt instance folder) 2022-11-18 13:03:20 +01:00
Lili (Tlapka) 19b25724fd image caption format fix 2022-11-17 14:39:07 +01:00
Lili (Tlapka) b9396cf885 add dashboard picture to readme 2022-11-17 14:38:23 +01:00
Lili (Tlapka) 38669f382e add CLI commands to readme 2022-11-17 14:22:37 +01:00
Lili (Tlapka) 8d3570e219 readme update: add dashboard to features, wording 2022-11-17 14:01:53 +01:00
Lili (Tlapka) aa88783688 readme edits 2022-11-15 15:58:33 +01:00
Lili (Tlapka) 074b37fc47 add redeems to README.md 2022-11-15 15:56:39 +01:00
Lili (Tlapka) cf6202af3f readme update + add note about reverse proxy
remove redundant install method, simplify wording
2022-11-15 14:56:24 +01:00
Lili (Tlapka) 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
Lin (Lili) Pavelů 0182d323d2
Merge pull request #3 from SleepyLili/improved-help
Improved help function
2022-11-14 12:31:04 +01:00
Lili (Tlapka) 10b14cf04d remove alpha status
time to merge to main branch
2022-11-14 12:29:02 +01:00
Lili (Tlapka) 7ecd5f7471 add version number for stream 2022-11-10 16:09:17 +01:00
Lili (Tlapka) 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 (Tlapka) e33ab1f74b more text to explain redeems 2022-11-09 14:54:00 +01:00
Lili (Tlapka) 5ab2e0d8d2 wording update for better clarity 2022-11-09 14:40:27 +01:00
Lili (Tlapka) 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 (Tlapka) 73194a0fc8 add new functionality to config, info to redeems 2022-11-07 17:31:01 +01:00
Lili (Tlapka) e4850ab89f move help to own file, rewrite it
for speed and for better info
2022-11-07 17:30:40 +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) 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 (Tlapka) 7b9dbc805c add new and moved CLI commands to init 2022-11-07 16:45:29 +01:00
Lili (Tlapka) 657854eb5d move clear-queue to db, add refresh-counters to db 2022-11-07 16:42:45 +01:00
Lili (Tlapka) 2c3109901c make app silently fail when config is missing
since default was already loaded
2022-11-07 16:29:02 +01:00
Lin (Lili) Pavelů e3cc9286af
Merge pull request #2 from SleepyLili/configurable-redeems
configurable redeems
2022-11-07 12:59:07 +01:00
Lili (Tlapka) 60e61728b8 make version number not be an alpha 2022-11-07 12:57:43 +01:00
Lili (Tlapka) 1c295dde29 fix duplicate removal on name change for auth user 2022-11-07 12:56:11 +01:00
Lili (Tlapka) 62ddd19834 bump version number for live instance 2022-11-03 16:14:31 +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) 6ec8a31100 add duplicate name removal to webhook catcher 2022-10-25 19:00:43 +02:00
Lili (Tlapka) 95acd70b85 prepare remove duplicate usernames function
(NOT TESTED)
2022-10-25 18:58:04 +02:00