Commit Graph

100 Commits

Author SHA1 Message Date
Oliver Booth 47d5323597
fix: ignore contentless and attachmentless messages 2023-08-27 00:22:39 +01:00
Oliver Booth 9edd4b81ce
style: move message validation to own method 2023-08-27 00:19:43 +01:00
Oliver Booth 64fd5d45bf
perf: don't escape markdown with regex 2023-08-27 00:19:02 +01:00
Oliver Booth 70708e3eef
feat: strip markdown from Discord-sent messages 2023-08-26 22:39:03 +01:00
Oliver Booth cb3c08ffe3
feat: suppress repeated event from same user 2023-08-26 21:46:58 +01:00
Oliver Booth a5484365e4
feat: log user from avatar events 2023-08-26 21:41:41 +01:00
Oliver Booth 03ced40ad6
style: remove unused ns import 2023-08-26 21:38:36 +01:00
Oliver Booth 2d3ce57317
feat: print discord.net and vp# versions on startup 2023-08-26 21:38:15 +01:00
Oliver Booth aaacb3027b
refactor: display user id, not session id, in /who command 2023-08-26 21:37:30 +01:00
Oliver Booth 25d725e1b3
feat: add /info command (resolves #2) 2023-08-26 21:31:29 +01:00
Oliver Booth e293b9b67c
style: decrease avatar event embed size (resolves #1) 2023-08-26 21:23:04 +01:00
Oliver Booth ce0a49350b
feat: honour Discord nickname, if one is set 2023-08-26 21:22:40 +01:00
Oliver Booth 43f0465363
chore: bump to 1.3.0 2023-08-26 20:58:07 +01:00
Oliver Booth e64ebdd579
chore(ci): update actions/checkout@v3 2023-08-26 18:04:01 +01:00
Oliver Booth 3ec583bd63
chore: rollForward to latestMajor 2023-08-26 18:02:42 +01:00
Oliver Booth 512c002ed4
chore: add global.json to sln 2023-08-26 18:02:31 +01:00
Oliver Booth fb341d1db7
[ci skip] ci: remove nuget source add
This change also formats the yml files
2023-08-26 18:02:23 +01:00
Oliver Booth 17c89c1474
chore(tests): update dependencies
- Microsoft.NET.Test.Sdk 17.7.1
- NUnit3TestAdapter 4.5.0
- coverlet.collector 6.0.0
2023-08-26 17:49:37 +01:00
Oliver Booth b122c739e8
Merge branch 'feature/tests' into main 2023-08-26 17:47:29 +01:00
Oliver Booth 2925de0329
tests: add preliminary relay tests 2023-08-26 17:47:11 +01:00
Oliver Booth 742322236a
tests: add boilerplate test project 2023-08-26 17:06:36 +01:00
Oliver Booth 073d704ce6
refactor: separate interfaces from project ready for unit testing 2023-08-26 17:06:12 +01:00
Oliver Booth ade948ccab
chore: bump to 1.2.1 2023-08-26 16:40:56 +01:00
Oliver Booth 0deb14e137
Merge branch 'hotfix/ignore_nonrelay' into main 2023-08-26 16:40:44 +01:00
Oliver Booth 7f44a79fb5
fix!: only listen for messages in relay channel 2023-08-26 16:40:33 +01:00
Oliver Booth de51d0d818
fix: create default config if not specified 2023-08-26 16:32:12 +01:00
Oliver Booth 0b01b9e097
fix: use correct project path in Dockerfile 2023-08-26 16:26:55 +01:00
Oliver Booth 2f9f418487
fix: include vpsdk when creating container image
Picked from 8c85369c4c
2023-08-26 16:20:25 +01:00
Oliver Booth da87db85b3
[ci skip] fix(ci): fix docker-release path 2023-08-26 14:46:39 +01:00
Oliver Booth 0e527b8e05
Merge branch 'release/1.2.0' into main 2023-08-26 14:44:05 +01:00
Oliver Booth 9752fc879b
fix: fix attachment links (trim final content) 2023-08-26 14:43:51 +01:00
Oliver Booth 16a0e3dd85
docs: add a more fleshed-out README 2023-08-26 14:41:05 +01:00
Oliver Booth 9272894e99
docs: add MIT license 2023-08-26 14:20:29 +01:00
Oliver Booth 90a2501965
docs: add contrib guidelines 2023-08-26 14:20:22 +01:00
Oliver Booth a6584594c9
fix: rename property to match config section 2023-08-26 14:16:24 +01:00
Oliver Booth 2d917bd3af
refactor: separate connection services and message services
This change also fixes long messages from Discord breaking the bot in VP, and allows customisation of console message style.
2023-08-26 14:11:43 +01:00
Oliver Booth 7d5eb0f2b2
refactor: move avatar events to AvatarService 2023-08-26 13:30:01 +01:00
Oliver Booth d442e4e9b3
refactor: clean up config reads
Configuration models are now defined and generated by the ConfigurationService which makes reading config a much cleaner process.
2023-08-26 13:21:01 +01:00
Oliver Booth 7a6ae083da
feat: announce avatar events 2023-08-26 13:03:42 +01:00
Oliver Booth 69edcfe3f5
refactor!: rename to VPLink 2023-08-26 12:50:06 +01:00
Oliver Booth 90684abe85
style: remove UTF8 BOM 2023-08-26 12:45:49 +01:00
Oliver Booth bb03b68c17
feat: replace !who with /who slash command 2023-08-26 12:45:30 +01:00
Oliver Booth a1086a834c
chore: bump to 1.2.0 2023-08-26 12:34:54 +01:00
Oliver Booth 690a6873bb
Merge branch 'release/1.1.0' into main 2023-08-22 15:11:56 +01:00
Oliver Booth f9558c90a7
chore: bump to 1.1.0 2023-08-22 15:11:50 +01:00
Oliver Booth f69ef4c188
Merge branch 'release/1.1.0' into main 2023-08-22 15:11:31 +01:00
Oliver Booth 1937b55fef
feat: add !who command 2023-08-22 15:11:19 +01:00
Oliver Booth d956c94aa0
style: use bold name in Discord relay 2023-08-22 15:07:49 +01:00
Oliver Booth 2ea18aee96
fix(ci): fix Dockerfile context 2023-08-22 15:03:41 +01:00
Oliver Booth 5d3a5a173d
feat: initial commit 2023-08-22 14:57:18 +01:00