Commit Graph
140 Commits
Author SHA1 Message Date
Stevan Freeborn c27889afa8 Merge pull request 'chore: change docker build context to repo root' (#2) from stevanfreeborn/chore/change-docker-image-build-process into main 2026-06-28 20:17:57 +00:00
Stevan Freeborn cdcb9f9f75 chore: downgrade upload artifact 2026-06-28 15:15:26 -05:00
Stevan Freeborn 67a627c5d0 chore: fix pull request workflow to make sure generator is present in path 2026-06-28 15:08:29 -05:00
Stevan Freeborn 45f7c128e6 chore: migrate the docker build context to the root of the repository 2026-06-28 14:55:11 -05:00
Stevan Freeborn 73b136064a Merge pull request 'chore: migrate workflows to gitea' (#1) from stevanfreeborn/chore/migrate-to-gitea into main 2026-05-22 17:43:24 +00:00
Stevan Freeborn 12678e0466 chore: move workflow to gitea 2026-05-22 12:40:07 -05:00
Stevan Freeborn 9ebdf3fe2c Merge pull request #16 from StevanFreeborn/stevanfreeborn/fix/address-reconnection-failing
fix: address reconnection logic not working
2026-05-05 21:35:49 -05:00
Stevan Freeborn 4241258825 fix: handle overflowing int max value and reset socket on failure 2026-05-05 21:32:48 -05:00
Stevan Freeborn b2a023f9c0 chore: house keeping 2026-05-05 21:30:52 -05:00
Stevan Freeborn 29d862dd0d chore: set envs on correct service 2026-03-24 07:29:58 -05:00
Stevan Freeborn bedbb48b30 chore: update login action in workflow [skip ci] 2026-03-24 07:12:32 -05:00
Stevan Freeborn 1b9bb53762 chore: fix analyzer issues when building containers 2026-03-24 07:07:38 -05:00
Stevan Freeborn 250195c6d2 fix: ignore analyzer rule when catching exception 2026-03-24 06:50:15 -05:00
Stevan Freeborn 9b3855e024 Merge pull request #15 from StevanFreeborn/stevanfreeborn/feat/give-bot-words
feat: allow bot to respond to tagged messages
2026-03-24 06:43:59 -05:00
Stevan Freeborn e9d726fc17 chore: disable analyzer rule 2026-03-24 06:42:40 -05:00
Stevan Freeborn 01a6abc972 chore: run dotnet format 2026-03-24 06:40:23 -05:00
Stevan Freeborn b31f638d27 feat: allow bot to respond to tagged message in a thread 2026-03-24 06:37:10 -05:00
Stevan Freeborn 4b1fa0a39b chore: update deploy related things with gemini specifics 2026-03-24 06:36:49 -05:00
Stevan Freeborn 7f73d110f1 chore: add todo 2026-03-14 07:17:24 -05:00
Stevan Freeborn 73933f26c0 feat: limit output token 2026-03-14 07:17:18 -05:00
Stevan Freeborn 6b386c04fd feat: on giving bot a voice 2026-03-14 07:13:35 -05:00
Stevan Freeborn 29b96eaae3 feat: wip on allow bot to respond to tagged messages 2026-03-13 07:40:29 -05:00
Stevan Freeborn e0716e8bdd Merge pull request #14 from StevanFreeborn/stevanfreeborn/feat/13-upgrade-to-dotnet-10
build: upgrade to .NET 10 and update dependencies
2026-01-11 18:54:14 -06:00
Stevan Freeborn cd805bdecb ci: update workflows and environments to .NET 10
- Update GitHub Actions to latest versions (checkout@v6, setup-dotnet@v5, upload-artifact@v6)
- Update CI/CD workflows to use .NET 10.0.x SDK
- Bump base and runtime images to .NET 10.0 in Dockerfiles
- Update README documentation and prerequisites to reflect .NET 10 migration
2026-01-11 18:52:19 -06:00
Stevan Freeborn a6a6cf49c7 build: upgrade to .NET 10 and update dependencies
- Bump TargetFramework to net10.0 in Directory.Build.props
- Update Microsoft.Extensions and OpenTelemetry packages to latest versions
- Update test SDK and xunit runner
- Refactor TestWebSocketServer to use HostBuilder and ConfigureWebHost
  to respond to deprecation notice
- Pin FluentAssertions version to [7.2.0]
- Remove redundant Microsoft.Extensions.Http reference in StevesBot.Webhook
2026-01-11 18:43:51 -06:00
Stevan Freeborn e6e8b6be2d Merge pull request #12 from StevanFreeborn/stevanfreeborn/fix/11-avoid-duplicate-stream-notifications
feat(youtube): multiple stream notifications
2026-01-11 10:36:30 -06:00
Stevan Freeborn 7826e835ef feat(youtube): multiple stream notifications
Refactors the notification storage to support multiple stream IDs
using a ConcurrentDictionary. This ensures that the bot can track and
ignore duplicate notifications for multiple streams within a
rolling 24-hour window, rather than only tracking the single most
recent stream.

- Updated ILastPostedStreamStore to include RemoveValuesOlderThan24Hours.
- Switched LastPostedStreamStore to use ConcurrentDictionary with UTC timestamps.
- Injected TimeProvider to enable deterministic testing of time-based expiration.
- Added automatic cache pruning in NotificationHandler on every request.
- Renamed Unit/LastPostedStreamStore.cs to Unit/LastPostedStreamStoreTests.cs and expanded test coverage.
2026-01-11 10:32:57 -06:00
Stevan Freeborn 07660a0440 Merge pull request #10 from StevanFreeborn/stevanfreeborn/fix/8-add-retry-logic
fix: make initial connection more resilient with retry logic
2025-09-11 14:47:18 -05:00
Stevan Freeborn e427c5936f chore: run dotnet format 2025-09-11 10:39:44 -05:00
Stevan Freeborn 96ba7e5fe7 fix: implement retry logic for establishing initial websocket connection with an expontential backoff 2025-09-10 16:44:46 -05:00
Stevan Freeborn 46d4cdf313 feat: WIP on retry logic 2025-09-09 15:12:59 -05:00
Stevan Freeborn e48c6da3f1 Merge pull request #7 from StevanFreeborn/stevanfreeborn/fix/remove-string-builder
fix: remove unnecessary string builder
2025-06-16 19:55:14 -07:00
Stevan Freeborn b6914f8414 fix: remove unnecessary string builder 2025-06-16 21:46:51 -05:00
Stevan Freeborn f08772d4fd Merge pull request #6 from StevanFreeborn/stevanfreeborn/chore/modify-logging
chore: log warning instead of error and log additional details if web socket exception occurred
2025-06-16 09:03:15 -07:00
Stevan Freeborn ad3cda2b77 chore: log warning instead of error and log additional details if web socket exception occurred 2025-06-16 11:01:59 -05:00
Stevan Freeborn fc73614c7c Merge pull request #5 from StevanFreeborn/stevanfreeborn/fix/remove-double-quotes-from-message-format-when-present
fix: remove double quotes from start and end of message format"
2025-06-15 09:18:28 -07:00
Stevan Freeborn 168d080e04 fix: trim double quotes from message format and cleanup usings in tests 2025-06-15 11:17:13 -05:00
Stevan Freeborn e82b16454e chore: update workflow 2025-06-12 00:12:07 -05:00
Stevan Freeborn 666deb1c53 Merge pull request #4 from StevanFreeborn/stevanfreeborn/fix/infinite-loop-when-checking-to-renew-subscription
fix: stop requeuing immediately inside loop that just continually dequeues item
2025-06-05 23:19:26 -05:00
Stevan Freeborn 1afaa2bd42 fix: stop requeuing immediately inside loop that just continually dequeues item 2025-06-05 23:17:47 -05:00
Stevan Freeborn 5ec185ca84 chore: put containers in same network as seq container 2025-06-04 19:38:51 -05:00
Stevan Freeborn 6da43d1277 chore: put compose file back 2025-06-04 18:49:12 -05:00
Stevan Freeborn 0a3963f47f chore: try modifying workflow 2025-06-04 18:44:03 -05:00
Stevan Freeborn 7c4eca240a fix: modify program.cs 2025-06-04 18:35:05 -05:00
Stevan Freeborn 4889402568 chore: write variables to file properly 2025-06-04 18:14:07 -05:00
Stevan Freeborn 885895e993 chore: fix compose env variables 2025-06-04 18:10:46 -05:00
Stevan Freeborn 2007c62bcd chore: strip leading directory path from source 2025-06-04 18:04:44 -05:00
Stevan Freeborn 721d4e2769 Merge pull request #3 from StevanFreeborn/stevanfreeborn/feat/add-stream-notification
feat: add stream notification
2025-06-04 17:58:06 -05:00
Stevan Freeborn 770995f22e chore: fix bad file rename 2025-06-04 15:48:54 -05:00
Stevan Freeborn 9d8f5269b8 chore: rename file 2025-06-04 15:43:11 -05:00