35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
--- VERY HIGH PRIORITY
|
|
fait en sorte de pouvoir upload un avatar (Servir un cdn en local via fichier upload sur le serveur dans un dossier à côté de la codebase)
|
|
|
|
cdn comme sa
|
|
|
|
http<remote>/cdn/<avatar>/<id of the account>.<extension>
|
|
|
|
pouvoir gérer dans le code proprement les routes cdn . FU (futur usage/futurproof)
|
|
http<?s>://<root host>/cdn/<x>/<key>.<fileTypeAllowed>
|
|
|
|
Extension authorisé ONLY:
|
|
jpg/jpeg/webp/png
|
|
|
|
BLACKLISTE SYSTÈMATHIQUEMENT LE RESTE.
|
|
Pas que un detect typeFile avec l'extension.
|
|
Logique propre de détection du fichier *magic byte, looking bytes, etc*
|
|
|
|
Changer l 'avatar à plusieurs règles:
|
|
Rate-limit per change / per account de:
|
|
5 fois maximum en 2 heures
|
|
(window time: 2 hours, max count 5)
|
|
file length maxi: 5MB
|
|
|
|
SYSTEM DE CHANGEMENT DE MDP:
|
|
Donc avoir une upload box, propre, adapative etc
|
|
|
|
---- MEDIUM PRIORITY
|
|
ADAPTATION MOBILE:
|
|
GÉRER LES MODALS, LES BOXES, LES BOARDING, LES CHAT BOXES AUSSI POUR PETIT ÉCRAN, ADAPTER LEUR WEBVIEW PORTAGE, DIALOG BOX, CONFIRMATON, TRAY CHANNELS SIDE LIST...
|
|
DRAG AND SNAP LIKE PHONES, SCROLLING FOR OPENGING/EXITING ETC..
|
|
|
|
--- LOW PRIORITY
|
|
Système de service mails aussi pour les comptes (optionel) pour recovery passwords, dans le page de login:
|
|
- Recover password with emails. smtp server,
|