Comments (5)
On/Off switch may be introduced to enable uses to use diacritics in usernames, however non-alphanumericals will not fly. Markdown parser needs to be able to differ user names from links, e-mail addresses or Markdown syntax
from misago.
Freedom is very important thing, however it shall not be set by default... It is not so important, so as long as you'll leave in the planning stage and try it for 1.x versions that will be great!
from misago.
Here's how it's implemented:
There is setting in settings_base.py, UNICODE_USERNAMES, that defaults to True. Ergo, its defautly possible to register user by name "RafałPitoń", but if you run forum that will have users from all over the world, you may want to restrict names to something anyone with QWERTY keyboard can type, so copypaste that entry from settings_base.py to your deployment's settings.py, and change it value to False, making it impossible to use usernames with diacritics.
from misago.
This seems to be broken again. misago/users/validators.py:validate_username_content only allows [0-9a-z].
from misago.
This is by design. Keeping usernames like that keeps mentions implementation simple, saves us from having to open monoglyphs can of worms, and keeps usernames typeable by international audience.
from misago.
Related Issues (20)
- Rename `datetime_on` fields to `datetime_at`
- Gather all admin logic in `misago.admin` app
- Delete `AnonymousUser` from Misago
- Replace ranks with groups on users lists
- Replace ranks with groups on user profiles
- Remove the `chunk_queryset` utility
- Unify admin category level indicators
- Remove `AdminTestCase` and `SuperUserTestCase`
- Combine all middlewares in `misago.middleware`
- Add `color` to `Group`
- Set color on category label using the algorithm
- Test new parser against posts from misago-project.org forums
- Populate `metadata["posts"]["objs"]` in parser
- Add description and meta description to `Group`
- Build search index using new parser
- Move categories lists to new permissions system
- Categories behavior tweaks
- Format code with new black
- `render_ast_to_plaintext` includes linebreaks
- New menu abstraction
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from misago.