-
Notifications
You must be signed in to change notification settings - Fork 1
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
Refactor/refactor validation for emailAdress and website #122
Refactor/refactor validation for emailAdress and website #122
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
The tests look good to me, but I'm not really into the topic of regexes. Maybe somebody else can have a look, too.
packages/content/src/attributes/types/strings/AbstractEMailAddress.ts
Outdated
Show resolved
Hide resolved
…ilAdress-and-Website
…ilAdress-and-Website
packages/content/src/attributes/types/strings/AbstractEMailAddress.ts
Outdated
Show resolved
Hide resolved
…idation-for-AbstractEmailAdress-and-Website
* Refactor/refactor validation for emailAdress and website (#122) * refactor: email validation * fix: Email-Validation and add a test for it * fix: Website Validation and add a test for it * feat: change regexp from Url * chore: version bump * refactor: test for website * refactor: changed wording of the test * refactor: Tests for Email and Website * refactor: change string in regexp * refactor: test for Website and AbstractURL * refactor: name and AbstractURL without escape * refactor: Change Tests and RegExp * chore: version bump * feat: make regexp more readable * fix: changed an error * fix: error and last changes * feat: last changes * chore: version bump * fix: delete unnecessary file --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * Chore(deps): bump the update-npm-dependencies group with 4 updates (#157) * Feature/Add more deletionStatus (#150) * feat: add deletionStatus DeletionRequestSent and DeletionRequestRejected * fix: remove deletionInfo from GetRepositoryAttributesRequestQuery * feat: add deleteAttributeRequestItem to RequestItemDerivations * test: deletionInfo is set * fix: set deletionInfo * feat: set DeletionRequestRejected * chore: version bump * fix: make test more precise * refactor: renamse RequestIntegration.test.ts * feat: check for deletionStatus of predecessors * feat: only set deletionInfo after Request is sent, also set deletionInfo for predecessors * feat: undo renaming * fix: stabilize test * fix: stabilize all tests * fix: npm audit * feat: integrate comments * feat: integrate all comments * refactor: give more descriptive names * chore: version bump --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * Fix/import https proxy package only when needed (#158) --------- Co-authored-by: Ruth Di Giacomo <150357721+RuthDiG@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Milena Czierlinski <146972016+Milena-Czierlinski@users.noreply.github.com> Co-authored-by: Sebastian Mahr <sebbi08@users.noreply.github.com>
The emailAdress- Validation and the validation of the url had to be refactored and it should be possible to use German umlauts.