lastest modifies
[brisk.git] / TODO.txt
index 128598c..b6b4f08 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
  TODO |
 ------+
 
+  Prefs as fieldify:
+  - save works
+  - supporter prefs work
+  - rename prefsf to prefs and cleanup
+
+  BUGS |
+ ------+
+   - usermgmt: add user delete (with mail)
+   DONE - constraint on username (no more than 2 consecutive digits)
+   - manage isolation consistently
+
   FEATURES |
  ----------+
+   * Users Network construction
+     - minisplash at end of the match
+     - differentiate table authorization
+   * add new kind of isolation for apprentice
+
+   * Double click on chat to open preferences
+
+   * APPRENTICE
+     Phase2
+     DONE - match counters (part 2)
+       DONE . migration script for old users
+     - guarantee for apprentice
+
+
+
+  BUGS |
+ ------+
+   DONE - Not sequence of 3 same chars
+   DONE   . check server side with test
+   DONE - Global vars checker
+   DONE - 10002 message when already clicked
+   DONE - trim spaces in apprentice form
+   DONE - Remove books from chat
+   DONE - usermgmt: add email
+
+
+  FEATURES |
+ ----------+
+   * inherited info
+   * Users Network construction
+     DONE - sql
+     DONE - dbase API
+     DONE - add apprentices tables
+     DONE - remove entry when set unknown
+     DONE - enhance info interface
+       DONE . SQL to show current evaluation
+       DONE . disable parts of interface
+       DONE . add title to items
+       DONE . fix SELECT
+     <release>
+     - minisplash at end of the match
+     - differentiate table authorization
+   * add new kind of isolation for apprentice
+
+   * Double click on chat to open preferences
+
+   * APPRENTICE
+     Phase2
+     DONE - match counters (part 2)
+       DONE . migration script for old users
+     - guarantee for apprentice
+
+
+
+---------
+   - APPRENTICE
+     Phase2
+     DONE - match counters (part 2)
+       DONE . migration script for old users
+
+   - APPRENTICE
+     Phase1
+     DONE - correggere minuta giornaliera
+     DONE - aggiungere mask per autogar
+     DONE - correggere email per apprentice
+     DONE - verificare la variabile per tout IP ban apprentice
+     DONE - chat ban for apprentice
+
+     DONE - ip check and time limit
+       DONE . sql
+         DONE . temporary table limitation
+       DONE . message
+     DONE - usermgmt extension
+     DONE - add close button
+     DONE - add apprentice icon
+     DONE - match counters (part 1)
+       DONE . sql for match counters
+     DONE - new info system
+       DONE - click management
+       DONE - show user info (RO)
+         DONE - require command/info
+         DONE - fix fiverank table
+         DONE - fix bug with bitwise
+         DONE - fix layout of tables
+     DONE - aggiungere books.png
+
+    - MENTORS
+     - listen all
+
+   - BUDDY LIST
+     - white list
+     - black list
+     - delegate
+
+   - DEANONYMIZER
+      . study how to move login delta injection
+
+   - CERTIFICATIONS
+      DONE . Guarantes for certified-only (buttons choice managed)
+      DONE . Tables for certified-only
+      . Term Of Use
+      . Placing for certified-only
+
+   - IP CLASSES BAN
+      DONE . BAN and BLACK lists added
+      DONE . update method to SIGHUP manager
+      DONE . create constructor refactored
+
+   - PLACEMENT-NORMALIZATION
+      DONE . Normalize previous points
+      DONE . Denormalize "Info" view
+      DONE . Denormalize explained matches
+      DONE . Check placement
+      DONE . Distinguish between inherited mult and local mult
+
    - AUTO-MAINTENANCE
-     . Terms Of Service acceptance
+     DONE . Terms Of Service acceptance
+       DONE . print date of hard switch
        DONE . TOS version
        DONE . user TOS acceptance (db field)
        DONE . show TOS ([show me later, yes, no]/[yes, no])
        DONE . manage accept
        DONE . manage refuse
        DONE . show current TOS
-       . WIP disable user reason integer field and remove SUSPEND state (db, php)
-       . checkbox for anonimous users with message when not checked
-       . opt - button on when arrived to the bottom of the TOS
-       . opt - download TOS
-       . min - check TOS version between config file and TOS file
-     . show guaranteer
-
-     . email validation
-
-     . account expiration
-
-
-   WIP - CONTINUE FEATURE
-     . replace explicit strings with multilanguage array
-
+       DONE . disable user reason integer field and remove SUSPEND state (db, php)
+       DONE . fix tos layout
+       DONE . opt - download TOS
+       . opt - checkbox for anonimous users with message when not checked
+       . opt - button enabled when arrived to the bottom of the TOS only
+       . opt - check TOS version between config file and TOS file
+     DONE . show guarantee (/guar <login> command)
+       DONE . multi-language
+       DONE . command documentation
+       DONE . manage disagreeding users investigation
+       DONE . self guaranteed
+     . DONE New Users Guarantee Procedure
+       . DONE Change guarantee workflow
+       . DONE Db update
+
+         UserA                 UserB                      Admin
+-------------------------------------------------------------------------
+      guarante UserB
+           |
+           v
+      Save on mail
+         table,
+      email to UserB
+    (Disabled, MAILED)
+-------------------------------------------------------------------------
+                           Receive email
+                           to check address
+                                 |
+                                 v
+                           Click on link
+                                 |
+                                 v
+                           Check on mail
+                               table,
+                           update user status,
+                           delete mail rec
+                          (Disabled, TOBECHK)
+-------------------------------------------------------------------------
+                                                       admin panel
+                                                       accept user
+                                                            |
+                                                            v
+                                                     send email with
+                                                     password,
+                                                     update user status
+                                                      (Normal, NONE)
+-------------------------------------------------------------------------
+                           Receive email
+                           with password
+-------------------------------------------------------------------------
+
+     DONE . More user info in the list
+     DONE . Manage date to display when a user was required
+     . Email-address expiration check
+     . Account expiration
+
+
+   DONE - CONTINUE FEATURE
+     DONE . replace explicit strings with multilanguage array
+     DONE . add a php downloader with filtering on allowed requests
      DONE . save points every game
      DONE . modify points calculation to include order and mazzo
      DONE . exclude not standard types from statistics
          DONE . daily reports (1 for each active tournament)
          DONE . monthly stats (for normal match only)
-
      DONE . show current match ID when created
      DONE . add info about continue to the info page
      DONE . add command to continue
-       DONE . check consistency of the request
+         DONE . check consistency of the request
      DONE . rearrange users and game status to continue the selected match
-
      DONE . investigate user reordering ??
 
    - WEBSOCKET TRANSPORT
    DONE - save/restore database
    DONE - into the room local step remains -1
    DONE - centralize all '<script ...' incapsulation to allow multiple transport system.
-   DONE - BUG: access with password from 2 diff browsers the second go in strange "page not found" 
+   DONE - BUG: access with password from 2 diff browsers the second go in strange "page not found"
           in the first tentative, the second works
-   DONE - BUG: access with password from 2 diff browsers place the first in a strict loop (the 
+   DONE - BUG: access with password from 2 diff browsers place the first in a strict loop (the
           problem was a call to a static parent method instead of the overrided child method,
           substitute self:: with the dynamically get class::)
    DONE - garbage management
      - sistema di inserimento nuovi utenti (riversatore da form di inserimento)
 
      STEP 2
-     - aggiornare le funz di gestione db in modo che prevedano anche il flag SUSPEND
-     - modifica password   
-     - ripristino password 
+     - modifica password
+     - ripristino password
 
      STEP 3
-     - comunicazioni di aggiornamento (stato salvato sul server) 
+     - comunicazioni di aggiornamento (stato salvato sul server)
 
  DONE - var $G_base aggiunta per gestire include in include da path differenti
 
     TEST - ricalcolo delle persone in piedi quando si cambia modalità
     DONE - se si e' in isolation non si può cambiare nick perdendo l' auth
     DONE - non leggere le chat di quelli non autenticati (in isolation)
-    DONE - regole per passare alla modalita' (in piedi o ai tavoli autenticati) 
-    DONE - treni non auth da nascondere 
+    DONE - regole per passare alla modalita' (in piedi o ai tavoli autenticati)
+    DONE - treni non auth da nascondere
     DONE - verso gli altri ??: uguale a prima
 
   finire multilingua (briskin5/index_wr.php e altri se ce ne sono)
   only auth strictly
   placing limits to config file
 
-Dunque, 
+Dunque,
 
 - come vengono aggiornate le classifiche: ogni giorno alle 23:58
 
-- cosa cambia tra le tre coppie di classifiche: 
+- cosa cambia tra le tre coppie di classifiche:
   ci sono le classifiche dell' ultima settimana, quelle dell' ultimo mese,  e quelle dell' ultimo trimestre,
   per ognuno di questi lassi di tempo poi c'è la classifica di chi ha giocato più di TOT partite o meno di TOT partite, con TOT che cambia a seconda del lasso di tempo.
 
@@ -245,26 +414,26 @@ Un esempio per chiarire:
   l'utente 'pippo' che è nuovo gioca 4 partite nell'ultima settimana con i seguenti punteggi:
     -2, 1, 2, 1
   lo score viene { [ (-2) + (1) + (2) + (1) ] / 4 }  * 100 = 50.0
-  
+
   a parità di score tra utenti va più in alto chi ha giocato più partite.
 
-Se dopo quelle 4 partite 'pippo' non ne giocherà più, passata una settimana dall'ultima giocata 
+Se dopo quelle 4 partite 'pippo' non ne giocherà più, passata una settimana dall'ultima giocata
 sparirà dalla classifica settimanale e rimarrà in quelle mensili e trimestrali.
 
 
-  
+
 
 
 
 
  BUG
  ---
+
   DONE - 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
  -----
 
@@ -272,9 +441,9 @@ sparir
  ------
 
   - win test
-  WIP - /listen 
+  WIP - /listen
     DONE - skin della textarea
-    DONE - set cookie 
+    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
@@ -287,7 +456,7 @@ sparir
   DONE -   show form
   DONE -   close butt
   DONE -   submit form
-  DONE -   process form js side 
+  DONE -   process form js side
   DONE -   process form
   DONE -   documentazione in help
 
@@ -310,14 +479,14 @@ sparir
   - db (minimal)
     - db admin page
     - user db admin
-    - use db 
+    - use db
     - admin db
 
     - studiare un anti-dos
   - login modify
  DONE  - db (fake)
  DONE  - display auth
-    - manage preferences 
+    - manage preferences
 
  minor
  -----
@@ -338,7 +507,7 @@ sparir
  -----
   DONE - refactoring of the owner name (auth attr for owner name)
   DONE   - room
-  DONE     - at chat input line 
+  DONE     - at chat input line
   DONE     - in the chat output line
   DONE     - deauth management
   DONE - table
@@ -356,7 +525,7 @@ sparir
   DONE   -        se non auth  -  verifica gli expire per IP e sessione
   DONE   - riscrivere messaggi
 
-  DONE - login 
+  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
@@ -365,7 +534,7 @@ sparir
   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     - 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
@@ -384,7 +553,7 @@ sparir
  BRISK2 (spawn)
  ======
 
-   
+
    URGENT - tables spawn
             DONE - link with photos
             DONE - top banner in Etc file
@@ -413,16 +582,16 @@ sparir
             DONE - 10 sec to exit from table
 
            FAR - inheritances
-   
-   TRAIN  -  DONE - add again in reload   
+
+   TRAIN  -  DONE - add again in reload
              DONE - wag_set refact
              DONE - filtra char speciali per title
-             DONE - chatt_send refact 
+             DONE - chatt_send refact
              DONE - elenco dei giocatori
              DONE - documentazione online
-             DONE - timeout management     
+             DONE - timeout management
              LATER - border color a muzzo
-       
+
    NORM   - testament
    NORM   - public announcements
    NORM   - 10 sec to exit from table
@@ -448,7 +617,7 @@ sparir
  ========
    NORM - internationalization
    NORM - img -> div + css
-   
+
  WEB
  ===
 
@@ -483,12 +652,12 @@ sparir
    DONE - HELP butt con ABOUT, REGOLE, VERSIONE
    DONE - welcome lines in the chats (room and table)
    DONE - welcome lines in the chats (room and table)
-   DONE - nomi in primo piano se vai sul quadrato   
+   DONE - nomi in primo piano se vai sul quadrato
    DONE - to pass explicit config file to INSTALL.sh
    DONE - flag to create a config file
    ABRT - bottoni => immagini
    DONE - aggiungere bottone al login
-   DONE - nomi in primo piano se vai sul quadrato   
+   DONE - nomi in primo piano se vai sul quadrato
    DONE - installer to set cookie path
    DONE - change name
    DONE - automatic and manual logout
@@ -511,10 +680,10 @@ sparir
    DONE - users info
    DONE - show current auction position
    DONE - table with internal management of the transition between pages.
-   DONE - server side page abort management  
+   DONE - server side page abort management
    DONE - cookie problem with Ajax
    DONE - spostare il tasto "esco"
-   DONE - to pass explicit config file to INSTALL.sh 
+   DONE - to pass explicit config file to INSTALL.sh
    DONE - 8 tables
    DONE - safety out management
    DONE - info enhancement and related button (how win the last game and