nephila / djangocms-blog

django CMS blog application - Support for multilingual posts, placeholders, social network meta tags and configurable apphooks
https://djangocms-blog.readthedocs.io
BSD 3-Clause "New" or "Revised" License
403 stars 190 forks source link

Add new setting: disable unicode in slugs. #727

Closed yakky closed 1 year ago

yakky commented 1 year ago

Description

Default is still allow_unicode=True, add "BLOG_UNICODE_SLUGS" setting.

References

Fix #707

Fix #708

Checklist

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (ad80132) 94.25% compared to head (b5345e4) 94.26%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #727 +/- ## ======================================== Coverage 94.25% 94.26% ======================================== Files 26 26 Lines 1810 1813 +3 Branches 260 260 ======================================== + Hits 1706 1709 +3 Misses 52 52 Partials 52 52 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `94.26% <100.00%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nephila#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/nephila/djangocms-blog/pull/727?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nephila) | Coverage Δ | | |---|---|---| | [djangocms\_blog/models.py](https://codecov.io/gh/nephila/djangocms-blog/pull/727?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nephila#diff-ZGphbmdvY21zX2Jsb2cvbW9kZWxzLnB5) | `98.00% <ø> (ø)` | | | [djangocms\_blog/fields.py](https://codecov.io/gh/nephila/djangocms-blog/pull/727?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nephila#diff-ZGphbmdvY21zX2Jsb2cvZmllbGRzLnB5) | `100.00% <100.00%> (ø)` | | | [djangocms\_blog/settings.py](https://codecov.io/gh/nephila/djangocms-blog/pull/727?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nephila#diff-ZGphbmdvY21zX2Jsb2cvc2V0dGluZ3MucHk=) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nephila). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nephila)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

github-actions[bot] commented 1 year ago

Coverage Status

Coverage: 97.132% (+0.1%) from 96.998% when pulling a3e149b85628850c6768d469bc24cbb775c2cdb0 on feature/issue-707 into 8b83fad4bed874c558b7be645ae8d7ab16171ae3 on develop.

github-actions[bot] commented 1 year ago

Coverage Status

Coverage: 97.001% (+0.003%) from 96.998% when pulling a3e149b85628850c6768d469bc24cbb775c2cdb0 on feature/issue-707 into 8b83fad4bed874c558b7be645ae8d7ab16171ae3 on develop.

github-actions[bot] commented 1 year ago

Coverage Status

Coverage: 97.001% (+0.003%) from 96.998% when pulling a3e149b85628850c6768d469bc24cbb775c2cdb0 on feature/issue-707 into 8b83fad4bed874c558b7be645ae8d7ab16171ae3 on develop.

github-actions[bot] commented 1 year ago

Coverage Status

Coverage: 97.001% (+0.003%) from 96.998% when pulling a3e149b85628850c6768d469bc24cbb775c2cdb0 on feature/issue-707 into 8b83fad4bed874c558b7be645ae8d7ab16171ae3 on develop.

github-actions[bot] commented 1 year ago

Coverage Status

Coverage: 97.132% (+0.3%) from 96.801% when pulling b5345e490ae35b1ab04a267bb5aa864953b89e35 on feature/issue-707 into ad801329831b16f208d0e885c97d857e0378f22e on develop.

github-actions[bot] commented 1 year ago

Coverage Status

Coverage: 97.132% (+0.3%) from 96.801% when pulling b5345e490ae35b1ab04a267bb5aa864953b89e35 on feature/issue-707 into ad801329831b16f208d0e885c97d857e0378f22e on develop.

github-actions[bot] commented 1 year ago

Coverage Status

Coverage: 97.001% (+0.2%) from 96.801% when pulling b5345e490ae35b1ab04a267bb5aa864953b89e35 on feature/issue-707 into ad801329831b16f208d0e885c97d857e0378f22e on develop.

github-actions[bot] commented 1 year ago

Coverage Status

Coverage: 97.001% (+0.2%) from 96.801% when pulling b5345e490ae35b1ab04a267bb5aa864953b89e35 on feature/issue-707 into ad801329831b16f208d0e885c97d857e0378f22e on develop.