Commit Graph

77 Commits

Author SHA1 Message Date
Oliver Booth 5a97cfd00e
ci: add workflow_dispatch trigger 2023-08-28 01:42:23 +01:00
Oliver Booth a7d9a20dbd
ci: update docker workflow 2023-08-28 01:38:41 +01:00
Oliver Booth 93d7944f3f
chore: bump to 1.3.2 2023-08-28 01:35:33 +01:00
Oliver Booth 8132469590
fix: revert 6bd4f1ef59 2023-08-28 01:35:01 +01:00
Oliver Booth cb57157272
ci: don't skip build for dotnet test 2023-08-28 01:18:09 +01:00
Oliver Booth c7491cbcee
chore: drop Microsoft.NET.Test.Sdk to 17.5.0 2023-08-28 01:09:34 +01:00
Oliver Booth d28028ee7e
test: collect coverage 2023-08-28 01:09:17 +01:00
Oliver Booth b5bc7c2a85
chore: use runtime as base, don't set UseAppHost=false 2023-08-28 01:02:03 +01:00
Oliver Booth 2e207ee733
chore: don't expose 80 or 443 2023-08-28 00:55:37 +01:00
Oliver Booth 8b7d181ab4
style: remove blank line 2023-08-28 00:55:26 +01:00
Oliver Booth 06c8eb8bb3
chore: add docker-compose to sln 2023-08-28 00:49:13 +01:00
Oliver Booth 6bd4f1ef59
chore: copy from relative csproj path 2023-08-28 00:48:45 +01:00
Oliver Booth 1f57ecca06
Merge branch 'release/1.3.1' into main 2023-08-27 21:45:29 +01:00
Oliver Booth 80cb8e8cfb
chore: bump to 1.3.1 2023-08-27 21:45:12 +01:00
Oliver Booth 2cb98e85c7
feat: render relative timestamps the way Discord does it 2023-08-27 21:44:56 +01:00
Oliver Booth f3d035d67b
feat: add support for custom discord emotes 2023-08-27 21:27:41 +01:00
Oliver Booth 67a5f9777a
fix: add support for unicode emojis 2023-08-27 21:24:28 +01:00
Oliver Booth 1644b701ba
refactor: remove optional default for format 2023-08-27 21:23:46 +01:00
Oliver Booth b8a8167cbd
fix(tests): fix missing arg to RelayedMessage ctor 2023-08-27 17:06:36 +01:00
Oliver Booth f4b5ff34e2
Merge branch 'release/1.3.0' into main 2023-08-27 17:04:04 +01:00
Oliver Booth feee8970ca
feat: add support for app command responses 2023-08-27 17:02:50 +01:00
Oliver Booth 3882d77fbe
style: clean up reply branch 2023-08-27 17:02:30 +01:00
Oliver Booth 1491f7fd86
style: surround bot names with [ ] 2023-08-27 17:00:30 +01:00
Oliver Booth 6193e5ddf7
style: remove redundant space before UTC 2023-08-27 16:50:44 +01:00
Oliver Booth a49b065ee2
fix: fix support for Discord timestamps 2023-08-27 16:50:33 +01:00
Oliver Booth eef18ec1d3
feat: add support for Discord message replies 2023-08-27 16:50:17 +01:00
Oliver Booth 02287d4995
feat: add support for Discord's formatting 2023-08-27 15:12:14 +01:00
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