Comments (3)
In gitlab by @edno on Aug 12, 2016, 09:54
Il faut aussi supprimer tout les caracteres non alphabetiques, et convertir les accents (solution ici).
Second point, actuellement la regle est min 3 caracteres pour le prenom et le nom, mais je vais reduire a 1 caractere (alpha). Je pense donc construire le login selon la regle suivante:
A- 3 premiers caracteres du prenom converti (converti = regles precedentes)
B- 3 premiers caracteres du nom converti
C- Si A < 3 alors prendre les 3+(3-A) carateres du nom converti
D- Si B < 3 alors prendre les 3+(3-B) carateres du prenom converti
E- Prendre 4+(3-C+3-D) chiffres pour completer
Exemples:
Sy Dupond
A = sy
B = dup
C = dupo
D = sy
E = sydupo5464Sy Ma
A = sy
B = ma
C = ma
D = sy
E = syma54649
from kleis.
In gitlab by @edno on Aug 12, 2016, 19:00
Status changed to closed by commit 005f389
from kleis.
In gitlab by @edno on Aug 12, 2016, 19:06
Le code JS pour la generation du compte et mot de passe est maintenant dans un fichier dedié kleis.js qui expose 2 objets:
- KleisAccount
- KleisPassword
from kleis.
Related Issues (20)
- Upgrade to Codeception 2.2.9
- Autocompletion for search fields
- Trigger CLI commands from GUI
- Preview/download exported files from GUI
- Import CSV data HOT 1
- Task scheduler
- Keep up with packages update HOT 1
- Review composer dev dependencies
- Default filtered group while creating account
- PhantomJS runner
- Update test dependencies HOT 5
- Update app dependencies
- PhantomJS dev suspended HOT 1
- Bower deprecated, consider Yarn and Webpack or Parcel
- SquidGuard update command HOT 1
- Export commands should accept output file as parameter HOT 2
- Remove magic numbers
- Refactor page object for Administator page
- Console export command should have same behavior HOT 1
- HTML character code displayed instead of character
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 kleis.