lyx0
8f685cb3e2
serve files downloaded by ()meme command directly instead of relying on external router
2024-01-17 19:56:33 +01:00
lyx0
2802c4e07a
fix youtube downloads not showing correct extension
2024-01-16 19:51:36 +01:00
lyx0
241d227bff
check which gofile server to upload to
2024-01-16 16:42:33 +01:00
lyx0
343c8a1a68
add docker-compose.yml to .gitignore
2024-01-08 22:14:50 +01:00
lyx0
b0da759278
remove docker-compose.yml. add example.docker-compose instead
2024-01-08 22:14:12 +01:00
lyx0
4ff1deec02
change domain
2024-01-08 16:25:54 +01:00
lyx0
026918354d
fix permission denied error because of wrong download file path
2024-01-02 14:00:47 +01:00
lyx0
942e5a6eee
fix conv command erroring out with permissions denied
2023-12-27 13:12:13 +01:00
lyx0
eda759a437
Rather use log.Errorw instead of log.Fatalw if logger fails to sync
2023-12-26 18:10:44 +01:00
lyx0
cabb0d2783
seperate uid lookup for replys and for internal usage
2023-12-20 02:18:57 +01:00
lyx0
20b598ee3b
use go templates for the web pages
2023-12-20 02:08:14 +01:00
lyx0
ae4237e0e8
use go templates for the web pages
2023-12-20 02:06:05 +01:00
lyx0
7ce0212c80
change default directory to some made up directory so its harder to leak private stuff
2023-12-20 00:03:35 +01:00
lyx0
186c3d7b21
add rebuild to Makefile.
...
rebuild builds a new docker image with docker compose, afterwards docker compose down and then docker compose up -d
2023-12-19 23:18:58 +01:00
lyx0
f8e157fe91
fix docker permission denied
2023-12-19 23:16:53 +01:00
lyx0
4422e49ea0
add meme command.
...
meme command takes in a video url, then downloads the video with yt-dlp and moves it to the folder that docker maps to public/uploads and replies with a url to it
2023-12-19 22:53:42 +01:00
lyx0
5c70be6d94
add conv command.
...
conv downloads a video with yt-dlp, then converts it to mp4 using ffmpeg and uploads it to yaf.li
2023-12-19 22:30:22 +01:00
lyx0
03004d40e6
don't check banphrase for commands stored in the database
2023-12-19 19:37:26 +01:00
lyx0
a28af0449d
change timers command to link to the timer page instead of creating a new paste
2023-12-18 00:11:24 +01:00
lyx0
a8e3a5f372
remove stray comma
2023-12-18 00:07:10 +01:00
lyx0
1ea990e98e
refactor commands. Remove category, rename help to description
2023-12-18 00:04:27 +01:00
lyx0
47e5c74615
fix timer edit function. add additional entrys to command help text
2023-12-17 23:15:21 +01:00
lyx0
c4a05a2619
change the command prefix based on the environment.
...
if running in the `prod` environment continue using the `()` prefix. otherwise in `dev` environment use !! as the prefix so we don't interfere with database calls to the production database because it was the same commands in both environments.
2023-12-17 22:53:23 +01:00
lyx0
98962a98b7
improve command help texts
...
instead of a simple map[string]string, helpText is now a map[string]command where the command struct has `Alias`, `Description`, `Level`, `Usage` fields.
2023-12-17 22:46:18 +01:00
lyx0
d521ace38e
clear up the ()uid reply.
...
previously '()uid forsen' would reply with only the twitch user id: '22484632'. now it replies with 'forsen=22484632'
2023-12-17 22:12:48 +01:00
lyx0
865e8eb94e
add built in commands help text to channel commands list
2023-12-17 21:01:14 +01:00
lyx0
08d57ba9d9
add route for showing all channel timer
2023-12-17 20:11:02 +01:00
lyx0
3678bffd5b
fix error showing up when an invalid channel was provided
2023-12-17 19:49:24 +01:00
lyx0
70e8081045
switch to httprouter. add /commands/:channel route to display commands for a channel
2023-12-17 19:07:05 +01:00
lyx0
8e13bb4102
add command that lists all commands for the channel it was sent in
2023-12-17 18:48:46 +01:00
lyx0
2ce6c8f0d9
cleanup predb
2023-12-17 17:46:41 +01:00
lyx0
146c04be0c
fix predb sorting
2023-12-17 17:38:00 +01:00
lyx0
15956b235b
move wolframalpha code to internal/commands
2023-12-17 17:23:42 +01:00
lyx0
64fb0255f1
add wolframalpha command
2023-12-17 17:17:55 +01:00
lyx0
33f91a6333
escape query string for predb
2023-12-13 23:20:05 +01:00
lyx0
3642ef8a30
generate a uuid as filename for yaf text uploads
2023-12-13 22:46:06 +01:00
lyx0
d0cb43d1f3
add predb command.
...
predb commmand either fetches the latest or fetches specific information about releases
2023-12-13 22:40:48 +01:00
lyx0
d760c0bcb7
move various functions out of onConnect function so they don't trigger again on each reconnect
2023-12-13 12:53:04 +01:00
lyx0
b3bc8048cd
fix status page crashes because of multiple registrations for /status
2023-12-13 12:01:44 +01:00
lyx0
1cb83bd396
move migrations into own folders
2023-12-11 01:32:00 +01:00
lyx0
b0f05530a1
make database commands channel sensitive
2023-12-10 23:50:59 +01:00
lyx0
78a0163928
add enviroment, commit and commit link to status page
2023-12-10 21:04:59 +01:00
lyx0
3491d88251
fix status page
2023-12-10 20:15:23 +01:00
lyx0
4592b3b52f
add more information to status page
2023-12-10 20:13:06 +01:00
lyx0
9747dbc50b
tidy
2023-12-10 19:14:08 +01:00
lyx0
344466a5cc
add super basic uptime endpoint to ping
2023-12-10 19:08:54 +01:00
lyx0
05d49e9577
add debug command for environment. add docker up/down to Makefile
2023-12-08 19:23:31 +01:00
lyx0
f67b267933
add migrations for dev
2023-12-07 19:47:57 +01:00
lyx0
0ac448a9ba
move environment to run in into .env file
2023-12-07 17:49:32 +01:00
lyx0
8b87b89e5d
add commmands
2023-12-04 03:16:35 +01:00