This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
feat: allow Hangul(korean character) in creating and renaming vfolder #59
Open
lizable
wants to merge
13
commits into
main
Choose a base branch
from
feature/allow-vfolder-name-contains-hangul
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
2ae8e3f
feat: allow hangul(korean character) in creating and renaming vfolder
lizable e9e803c
modify: valid range of regex from Korean-Only to unicode level
lizable 9a7c805
fix: typo error anr regex check using trafaret lib
lizable b925e3c
Merge branch 'master' into feature/allow-vfolder-name-contains-hangul
lizable fbd72e2
fix: typo error
lizable 71c25a1
fix: typo error and detailed regex for input validation
lizable 33e6a5f
update: test_validator.py by latest naming rules
lizable 0a76a62
fix: unknown method to valid method in regexp class of trafaret
lizable a25da81
fix: remove redundant whitespace
lizable 72efe42
fix: indentation error in comment
lizable 86b6cc6
fix: simplified regex
lizable 231a86b
fix: test_validators file following updated regx in the validator file
lizable 8dd2be7
add: history fragment for the change
lizable File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix regex to accept `unicode` mode and add parameter `ascii_only` to enable toggle mode in the validation check. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It additionally allows whitespaces compared to the previous version.
Please make it to stand out in the news fragment, and reflect that change in the test cases as well.
Also the code has "ascii_only" argument but the fragment says "unicode" mode -- please make them consistent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's update as follows:
Update the conditions for
Slug
for existing use cases:[\w\-.]
(no whitespace allowed!)..
,...
, ... in any positionAdd a new validator
DirectoryNameComponent
for vfolder name validation:[\w\s\-.]
(whitespace allowed!)..
,...
, ... in any position