-/*
+========
+ TODO
+========
- TESTING
- =======
- BUG - (aum. il timeout) - carte giocate che restano girate
- Sembra non migliorare di molto la cosa, gestita la cache
- correttamente, dovrebbe essere apposto.
+ BRISK3 (trusty)
+ ======
- TODO
- ====
+ BUG
+ ---
+
+ - paste da demauroparavia
+ DONE - recupero partita per re-login con password
+ DONE - problema "|" nei nomi (manca enhance degli script lato server)
+ - problema col treno se mouse sopra mentre stringe (verif)
+
+ MINOR
+ -----
+
+ NORMAL
+ ------
+
+ - win test
+ WIP - /listen
+ DONE - skin della textarea
+ DONE - set cookie
+ DONE - init client (read from cookie) - ALWAYS BY SERVER
+ DONE - init server
+ DONE - after cookie check auth-only when no-auth case
+ DONE - aggiungi info accanto a "Chat"
+ DONE - /mesgtoadm
+ DONE - img dei comandi
+
+ DONE - form per garantire utenti (accoda in un file nel formato corretto)
+ DONE - process request
+ DONE - show form
+ DONE - close butt
+ DONE - submit form
+ DONE - process form js side
+ DONE - process form
+ DONE - documentazione in help
+
+ DONE - user status
+
+ DONE - aggiornare help
+ DONE - overflow management
+ DONE - for status
+ - for password
+
+ - reload home
+ - notify for long pages
+
+ - buddy list
+ - silenziastolti vari (fino al buddy import)
+ - restrict challenge per IP
+ - restricted charset for login
+ - watchdog
+
+ - db (minimal)
+ - db admin page
+ - user db admin
+ - use db
+ - admin db
+
+ - studiare un anti-dos
+ - login modify
+ DONE - db (fake)
+ DONE - display auth
+ - manage preferences
+
+ minor
+ -----
+ - auth after login
+
+----- done ------
- URGENT!- ban temporaneo dai tavoli
+ BUG
+ ---
+ DONE righe troncate
+ DONE - questione "a monte" che:
+ DONE - lascia fuori il bottone
+ DONE - scrive à e compagnia
+ DONE - refresh act_table when unauthorized
+ DONE - problema ghost autenticato (ne prendi il posto ovunque sia)
+
+ MINOR
+ -----
+ DONE - refactoring of the owner name (auth attr for owner name)
+ DONE - room
+ DONE - at chat input line
+ DONE - in the chat output line
+ DONE - deauth management
+ DONE - table
+ DONE - at chat input line
+ DONE - in the chat output line
+ DONE - for user area of other users
+ DONE - deauth management
+ DONE - alart to one user
+
+
+ NORMAL
+ ------
+ DONE - strong ban: "expire time|IP|session|(nick if authenticated)"
+ DONE - login: se auth - verifica solo gli expire per quel nick
+ DONE - se non auth - verifica gli expire per IP e sessione
+ DONE - riscrivere messaggi
+
+ DONE - login
+ DONE - se pass:
+ DONE - richiede per l' utente un token (tutta la parte backend va un minimo studiata)
+ DONE - lo legge, ci hasha la password
+ DONE - invia la pass al server hashata
+ DONE - se non pass:
+ DONE - check del login e return corretto
+ DONE - oggetto in shm single table con ( "ip", "login", timestamp ) e suo management
+ DONE - rename ghost if logged
+ DONE - onunload_cb e onbeforeunload_cb !!!
+ DONE - da change attrs a change class (input field)
+ DONE - colore del bg per arrivare ad essere omogeneo
+ DONE - cambiare path e file di config
+ DONE - login with or without pass
+ DONE - registered nick notice (METTERE IL MSG NELLA PAG DI LOGIN)
+ DONE - segnalare tavoli solo per auth
+ DONE - rename restriction at auth table
+ DONE - change nick (strcasecmp)
+ DONE - refact js tables to handle flags
+ DONE - room javascript refactoring
+
+ DONE - work background
+ DONE - reserved tables
+
+
+ BRISK2 (spawn)
+ ======
+
+
+ URGENT - tables spawn
+ DONE - link with photos
+ DONE - top banner in Etc file
+ DONE - spawn of a table
+ DONE - data to cookies (removed table_idx from xhr calls also)
+ DONE - set subst to shutdowner/shutdowned
+ DONE - return to index.php
+ DONE - game's token
+ DONE - recover of corrupted table data
+ DONE - closure of a table
+ DONE - flush of the table
+ DONE - security checks for right scope access
+ DONE - garbage collector management
+ DONE - recursive garbage - howto ?
+ DONE - stat & subst in browser
+ DONE - laccwr setting and exit if all players are unactive for some time
+ DONE - the list of test case
+ DONE - shm dimension
+ DONE - remove unused parts
+ DONE - move images
+ DONE - optimizations
+ DONE - cambiare titolo al tavolo
+ DONE - shutdowning lock tables
+ DONE - topbanner
+ DONE - public announcements
+ DONE - 10 sec to exit from table
+
+ FAR - inheritances
- URGENT - flash player to play sound
+ TRAIN - DONE - add again in reload
+ DONE - wag_set refact
+ DONE - filtra char speciali per title
+ DONE - chatt_send refact
+ DONE - elenco dei giocatori
+ DONE - documentazione online
+ DONE - timeout management
+ LATER - border color a muzzo
+
+ NORM - testament
+ NORM - public announcements
+ NORM - 10 sec to exit from table
+ NORM - moving label for tables click
- URGENT - restart preload img
- URGENT - watchdog
+----------------- join -----------------
+ NORM - map
- NORM - pubblic announcement
- NORM - chat vecchie in reload
- NORM - one player reject a game (to less points (<2)
+ NORM - restart preload img
NORM - tools dir with a main and some pages where check briscola tools.
- NORM - bottoni => immagini
- NORM - (master concept) card selection
- NORM - show changelog
+ NORM - watchdog
- MIN - cambiare titolo al tavolo
+ NORM - chat vecchie in reload (forse)
MIDDLE TODO
===========
- URGENT - split server-side data
- user assistant (with button to enable disable)
- - asta: highlight buttons (css hover)
- documentation
- TO REVIEW - special chars in js
FAR TODO
========
DONE
====
+ ABORTED - asta: highlight buttons (css hover) - change pointer when over
+ DONE - step proxy
+ DONE - special chars in js
+ DONE - ban temporaneo dai tavoli
+ DONE - flash player to play sound
+ DONEBUG - (aum. il timeout) - carte giocate che restano girate
+ Sembra non migliorare di molto la cosa, gestita la cache
+ correttamente, sono apposto.
+
+ DONE - one player reject a game, to less points (<= 2)
DONE - help page
DONE - test di download per la cache
DONE - se passano tutti tranne l'ultimo l'asta va al penultimo.