Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix messaging-related issues, webhooks, folia-related beacon exception, add BannerControlSessionEndedEvent #884

Merged
merged 4 commits into from
Aug 2, 2023

Conversation

ewof
Copy link
Contributor

@ewof ewof commented Jul 30, 2023

  • show help if args length is 0 (would throw exception before)

  • fix besieged town name not getting sent to ingame translatable on siege remove

  • fix session end webhook notification
    before if a session ended and it had battles there'd be an exception and no webhook notification but now it works
    image

  • return from send notification if not active

  • strip formatting from event messages properly

  • fix beacon exceptions on folia

  • add BannerControlSessionEndedEvent

Description:


New Nodes/Commands/ConfigOptions:


Relevant Issue ticket:


  • I have tested this pull request for defects on a server.

By making this pull request, I represent that I have the right to waive copyright and related rights to my contribution, and agree that all copyright and related rights in my contributions are waived, and I acknowledge that the TownyAdvanced organization has the copyright to use and modify my contribution under the SiegeWar License for perpetuity.

ewof added 2 commits July 29, 2023 21:57
fix besieged town name not getting sent to ingame translatable on siege remove
fix session end webhook notification
return from send notification if not active
strip formatting from event messages properly
strip formatting for endMessage properly
BannerControlSessionEndedEvent
@Goosius1 Goosius1 self-requested a review July 30, 2023 10:13
@Goosius1 Goosius1 added the bug Something isn't working label Jul 30, 2023
@Goosius1 Goosius1 added this to the 2.8.1 milestone Jul 30, 2023
Copy link
Collaborator

@Goosius1 Goosius1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review complete. Just 2 comments.

@Goosius1
Copy link
Collaborator

Goosius1 commented Aug 1, 2023

Re-review complete. Just 1 comment

@LlmDl LlmDl changed the title Misc. fixes Fix messaging-related issues, webhooks, folia-related beacon exception, add BannerControlSessionEndedEvent Aug 1, 2023
@LlmDl
Copy link
Member

LlmDl commented Aug 1, 2023

In the future this sort of PR should be broken up into groups:

  • Fix messages
  • Fix Webhooks
  • Fix Folia-beacon exception
  • Add new events

This will make the final release page easier to digest as PR titles can be more descriptive.

@Goosius1 Goosius1 merged commit 4dbdd2a into TownyAdvanced:master Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants