classifiche descritte
[brisk.git] / TODO.txt
1 ======== 
2   TODO
3 ========
4
5
6  BRISK3 (trusty)
7  ======
8
9   numero di tavoli auth-only nel .brisk-install
10   finire multilingua (briskin5/index_wr.php e altri se ce ne sono)
11   coniglio
12   only auth strictly
13
14 Dunque, 
15
16 - come vengono aggiornate le classifiche: ogni giorno alle 23:58
17
18 - cosa cambia tra le tre coppie di classifiche: 
19   ci sono le classifiche dell' ultima settimana, quelle dell' ultimo mese,  e quelle dell' ultimo trimestre,
20   per ognuno di questi lassi di tempo poi c'e' la classifica di chi ha giocato piu' di TOT partite o meno di TOT partite, con TOT che cambia a seconda del lasso di tempo.
21
22 - come vengono calcolate le classifiche: per ogni utente vengono presi tutti i punti fatti ai tavoli con lucchetto nel lasso di tempo preso in considerazione (ultima settimana, ultimo mese o ultimo trimestre), sommati e divisi per il numero di partite fatte in quello stesso lasso di tempo per normalizzare i valori; poi siccome la gente quando vede 0.18734 sbarella ho deciso di moltiplicare il tutto per 100.
23
24 Un esempio per chiarire:
25
26   l'utente 'pippo' che è nuovo gioca 4 partite nell'ultima settimana con i seguenti punteggi:
27     -2, 1, 2, 1
28   lo score viene { [ (-2) + (1) + (2) + (1) ] / 4 }  * 100 = 50.0
29   
30   a parita' di score tra utenti va più in alto chi ha giocato più partite.
31
32 Se dopo quelle 4 partite 'pippo' non ne giochera' più, passata una settimana dall'ultima giocata 
33 sparirà dalla classifica settimanale e rimarrà in quelle mensili e trimestrali.
34
35
36   
37
38
39
40
41  BUG
42  ---
43  
44   DONE - paste da demauroparavia
45   DONE - recupero partita per re-login con password
46   DONE - problema "|" nei nomi (manca enhance degli script lato server)
47   - problema col treno se mouse sopra mentre stringe (verif)
48   
49  MINOR
50  -----
51
52  NORMAL
53  ------
54
55   - win test
56   WIP - /listen 
57     DONE - skin della textarea
58     DONE - set cookie 
59     DONE - init client (read from cookie) - ALWAYS BY SERVER
60     DONE - init server
61     DONE - after cookie check auth-only when no-auth case
62     DONE - aggiungi info accanto a "Chat"
63   DONE - /mesgtoadm
64   DONE - img dei comandi
65
66   DONE - form per garantire utenti (accoda in un file nel formato corretto)
67   DONE -   process request
68   DONE -   show form
69   DONE -   close butt
70   DONE -   submit form
71   DONE -   process form js side 
72   DONE -   process form
73   DONE -   documentazione in help
74
75   DONE - user status
76
77   DONE - aggiornare help
78   DONE -   overflow management
79   DONE -   for status
80   -   for password
81
82   DONE - reload home
83   - notify for long pages
84
85   - buddy list
86   - silenziastolti vari (fino al buddy import)
87   - restrict challenge per IP
88   - restricted charset for login
89   - watchdog
90
91   - db (minimal)
92     - db admin page
93     - user db admin
94     - use db 
95     - admin db
96
97     - studiare un anti-dos
98   - login modify
99  DONE  - db (fake)
100  DONE  - display auth
101     - manage preferences 
102
103  minor
104  -----
105    - auth after login
106
107 ----- done ------
108
109  BUG
110  ---
111   DONE   righe troncate
112   DONE - questione "a monte" che:
113   DONE   - lascia fuori il bottone
114   DONE   - scrive &agrave e compagnia
115   DONE - refresh act_table when unauthorized
116   DONE - problema ghost autenticato (ne prendi il posto ovunque sia)
117
118  MINOR
119  -----
120   DONE - refactoring of the owner name (auth attr for owner name)
121   DONE   - room
122   DONE     - at chat input line 
123   DONE     - in the chat output line
124   DONE     - deauth management
125   DONE - table
126   DONE   - at chat input line
127   DONE   - in the chat output line
128   DONE   - for user area of other users
129   DONE   - deauth management
130   DONE - alart to one user
131
132
133  NORMAL
134  ------
135   DONE - strong ban: "expire time|IP|session|(nick if authenticated)"
136   DONE   - login: se auth      -  verifica solo gli expire per quel nick
137   DONE   -        se non auth  -  verifica gli expire per IP e sessione
138   DONE   - riscrivere messaggi
139
140   DONE - login 
141   DONE   - se pass:
142   DONE     - richiede per l' utente un token (tutta la parte backend va un minimo studiata)
143   DONE     - lo legge, ci hasha la password
144   DONE     - invia la pass al server hashata
145   DONE   - se non pass:
146   DONE     - check del login e return corretto
147   DONE     - oggetto in shm single table con ( "ip", "login", timestamp ) e suo management
148   DONE     - rename ghost if logged
149   DONE     - onunload_cb e onbeforeunload_cb !!! 
150   DONE   - da change attrs a change class (input field)
151   DONE     - colore del bg per arrivare ad essere omogeneo
152   DONE     - cambiare path e file di config
153   DONE   - login with or without pass
154   DONE   - registered nick notice (METTERE IL MSG NELLA PAG DI LOGIN)
155   DONE     - segnalare tavoli solo per auth
156   DONE     - rename restriction at auth table
157   DONE     - change nick (strcasecmp)
158   DONE   - refact js tables to handle flags
159   DONE - room javascript refactoring
160
161   DONE - work background
162   DONE - reserved tables
163
164
165  BRISK2 (spawn)
166  ======
167
168    
169    URGENT - tables spawn
170             DONE - link with photos
171             DONE - top banner in Etc file
172             DONE - spawn of a table
173             DONE - data to cookies (removed table_idx from xhr calls also)
174             DONE - set subst to shutdowner/shutdowned
175             DONE - return to index.php
176             DONE - game's token
177             DONE - recover of corrupted table data
178             DONE - closure of a table
179             DONE - flush of the table
180             DONE - security checks for right scope access
181             DONE - garbage collector management
182             DONE -    recursive garbage - howto ?
183             DONE - stat & subst in browser
184             DONE - laccwr setting and exit if all players are unactive for some time
185             DONE - the list of test case
186             DONE - shm dimension
187             DONE - remove unused parts
188             DONE - move images
189             DONE - optimizations
190             DONE - cambiare titolo al tavolo
191             DONE - shutdowning lock tables
192             DONE - topbanner
193             DONE - public announcements
194             DONE - 10 sec to exit from table
195
196             FAR - inheritances
197    
198    TRAIN  -  DONE - add again in reload   
199              DONE - wag_set refact
200              DONE - filtra char speciali per title
201              DONE - chatt_send refact 
202              DONE - elenco dei giocatori
203              DONE - documentazione online
204              DONE - timeout management     
205              LATER - border color a muzzo
206        
207    NORM   - testament
208    NORM   - public announcements
209    NORM   - 10 sec to exit from table
210    NORM   - moving label for tables click
211
212 ----------------- join -----------------
213    NORM   - map
214
215    NORM   - restart preload img
216    NORM   - tools dir with a main and some pages where check briscola tools.
217    NORM   - watchdog
218
219    NORM   - chat vecchie in reload (forse)
220
221  MIDDLE TODO
222  ===========
223
224    - user assistant (with button to enable disable)
225    - documentation
226
227
228  FAR TODO
229  ========
230    NORM - internationalization
231    NORM - img -> div + css
232    
233  WEB
234  ===
235
236    - link to stable/unstable
237
238 -------------------------------------------------------------------
239  DONE
240  ====
241
242    ABORTED - asta: highlight buttons (css hover) - change pointer when over
243    DONE - step proxy
244    DONE - special chars in js
245    DONE - ban temporaneo dai tavoli
246    DONE - flash player to play sound
247    DONEBUG - (aum. il timeout) - carte giocate che restano girate
248          Sembra non migliorare di molto la cosa, gestita la cache
249          correttamente, sono apposto.
250
251    DONE - one player reject a game, to less points (<= 2)
252    DONE - help page
253    DONE - test di download per la cache
254    DONE - se passano tutti tranne l'ultimo l'asta va al penultimo.
255           Corretto il codice, occorre verificare se questo
256           ingenera qualche problema.
257    DONE - raddoppiato il numero di righe nella chat
258    DONE - corretto bug del /nick
259    DONE - carosello pubblicità altout
260    DONE - smammamorti
261    DONE - unload of the stream
262    DONE - standup centrati
263    DONE - current player - in info
264    DONE - HELP butt con ABOUT, REGOLE, VERSIONE
265    DONE - wellcome lines in the chats (room and table)
266    DONE - wellcome lines in the chats (room and table)
267    DONE - nomi in primo piano se vai sul quadrato   
268    DONE - to pass explicit config file to INSTALL.sh
269    DONE - flag to create a config file
270    ABRT - bottoni => immagini
271    DONE - aggiungere bottone al login
272    DONE - nomi in primo piano se vai sul quadrato   
273    DONE - installer to set cookie path
274    DONE - change name
275    DONE - automatic and manual logout
276    DONE - cache problems solved via .htaccess
277    DONE - all players out of the auction
278    DONE - time to send cards
279    DONE - hide cards before sends at a new game
280    DONE - well recognization of the browser and O.S.
281    DONE - login consistency !!!!
282    DONE - functionalization of garbage
283    DONE - call garbage function into login
284    DONE - game
285    DONE - manage the reload from scratch of the table page
286    DONE - table reset
287    DONE - sendcard => card_send(idx, ....)
288    DONE - show table for game
289    DONE - points calculation
290    DONE - make-up of the chooser
291    DONE - where place the briscola on the table
292    DONE - users info
293    DONE - show current auction position
294    DONE - table with internal management of the transition between pages.
295    DONE - server side page abort management  
296    DONE - cookie problem with Ajax
297    DONE - spostare il tasto "esco"
298    DONE - to pass explicit config file to INSTALL.sh 
299    DONE - 8 tables
300    DONE - safety out management
301    DONE - info enhancement and related button (how win the last game and
302           with how much points ?)
303
304  WEB
305    DONE - homepage
306    DONE - screenshots
307
308 DOC
309    CHAPTERS
310       HTTP Streaming
311       Local serializer
312       Database on shmem
313       Page abort (reload on http streaming case)
314       Chat
315       Cookies management
316       CSS tricks
317
318 CHECK ON NEW SERVERS
319 .htaccess AllowOverwrite mode for Cache-Control directive
320
321
322
323
324 */
325