Skip to content

feat: add comprehensive event emission audit and UTF-8 string validation - #867

Merged
ReinaMaze merged 1 commit into
HubDApp:mainfrom
Priscy-bells:feature/event-audit-string-validation-cooldowns
Sep 30, 2026
Merged

ReinaMaze merged 1 commit into
HubDApp:mainfrom
Priscy-bells:feature/event-audit-string-validation-cooldowns

Conversation

@Priscy-bells

Copy link
Copy Markdown

close #160
close #696
close #695

- Created EVENT_EMISSION_AUDIT.md documenting all state changes and events
- Added missing events: ProjectMediaAddedEvent, ProjectMediaRemovedEvent, ProjectRegionSetEvent, ProjectRegionHierarchySetEvent, ProjectCategoryMigratedEvent, SecurityContactUpdatedEvent, SecurityContactProofSubmittedEvent, ProjectSunsetScheduledEvent, ProjectTransferInitiatedEvent, ProjectTransferCancelledEvent
- Integrated event publishing into project_registry.rs for all operations
- Added UTF-8 validation with control character rejection to all string input fields (project name, slug, description, category, tags, social links, website URLs, license, security contact, language code)
- Uses validate_utf8_string for single-line fields and validate_multiline_utf8 for description field

Issue HubDApp#725: Event emission audit and string validation
@drips-wave

drips-wave Bot commented Sep 30, 2026

Copy link
Copy Markdown

@Priscy-bells Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ReinaMaze
ReinaMaze merged commit 50d30bb into HubDApp:main Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Event Emission Completeness and Correctness Audit String Encoding and Validation Consistency Add Rate Limits for Spam-Prone Actions

2 participants