Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

[pull] main from forem:main#212

Merged
pull[bot] merged 6 commits intoerickirt:mainfrom
forem:main
Nov 20, 2025
Merged

[pull] main from forem:main#212
pull[bot] merged 6 commits intoerickirt:mainfrom
forem:main

Conversation

@pull
Copy link

@pull pull bot commented Nov 20, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

benhalpern and others added 6 commits November 20, 2025 11:43
* Allow org members to invite via username

* Clean up tests

* Adjust tests

* Clean up some code

* Fix tests

* Fix users

* Fix org count:
* Adjust rate limiting for inviting to org

* Adjust test
* "Fix: Prevent blank comments with only markdown tags

- Add validation to check if comment has readable content after markdown processing
- Reject comments that only contain markdown formatting symbols (e.g., ** **, _ _, ~~ ~~)
- Add error message: 'cannot be empty. Please enter some text before submitting.'
- Add comprehensive test coverage for various markdown-only scenarios

Fixes #22572"

* Enhance comment validation to allow image-only submissions

- Update body_has_content method to permit comments containing only images.
- Modify error message for empty comments in French and Portuguese locales.
- Add test case for valid image-only comments.

This improves user experience by allowing image-only comments while maintaining content validation.

* Apply suggestion from @benhalpern

* Refine comment validation to enhance media content handling

- Update body_has_content method to clarify the allowance of media-only comments.
- Remove hr tag from media tags as it does not represent meaningful content.
- Ensure proper stripping of HTML tags and unescaping of entities for accurate text content validation.

This change improves the clarity and functionality of comment validation while maintaining user experience.

---------

Co-authored-by: Ben Halpern <[email protected]>
@pull pull bot locked and limited conversation to collaborators Nov 20, 2025
@pull pull bot added the ⤵️ pull label Nov 20, 2025
@pull pull bot merged commit 21fbdc8 into erickirt:main Nov 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants