manage list update (remove too old lines)
[brisk.git] / TODO.txt
index a06d080..11edaaf 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
@@ -1,6 +1,125 @@
-======== 
-  TODO
-========
+ TODO |
+------+
+Moderation features:
+  * First and incremental list population
+  * Ban per nick/sessione/IP & calculation
+
+  * Richiesta di verifica
+  * Silent cancer behaviour management
+
+DONE  * Manage list update (remove too old lines)
+DONE  * Select row
+DONE  * Filtra per tavolo e/o room
+DONE  * BUG: after disable/enable moderation filters stop to work
+DONE  * Lista righe di chat
+
+   - moderation
+     . turn off moderation when moder win is closed or if window creation fails
+     . turn off moder when logout
+     . enable moderation for certified users only
+     . create a mockup of the moder win
+     . create js to manage moderation
+
+  FEATURES |
+ ----------+
+
+   - improved S
+     . db update (add components, maybe single string)
+     . filter in index.php
+     . filter in index_wr.php
+
+   - prefs API:
+     . prefs_assign(content): assign json content as output var
+     . prefs_apply(prefs_new): apply new content to g_prefs and system
+     . prefs_load(content): load json content and apply to g_prefs and system
+
+     . prefs_update: update preferences temporarly
+     . prefs_save: save to the server the new prefs
+
+   - preferences (listen into preferences)
+        // js var, volatile server, (db server || cookie)
+        temporary: js var, volatile server
+        permanent: js var, volatile server, (db server || cookie)
+
+     . data from db OR, if missing, from cookies
+
+     . update values
+     . database change
+     . MANAGE NOT AUTH USERS
+
+   - preferences (with "modifiable S")
+     . Mod. S: new flag into database
+     . graph infrastructure
+     . new box to edit color
+
+  MAJOR |
+ -------+
+   - BUG: some connection to the named socket fails
+   - Not simultaneous more then one stream
+
+
+  MINOR |
+ -------+
+   WIP - try to be more antivirus-friendly
+   - multiple rows between games
+   - packetize and automatize php-ancillary and apache module
+   - DISABLED_TO_FIX: DNS access (perform blocking dns requests, must be fixed)
+
+
+  DONE |
+ ------+
+   DONE - temporarly server hung not reflected on user timeouts
+   DONE - timeouted users are still be able to sit down (only the first at the table is banned)
+   DONE - page still opened after the server restart
+   DONE - log_legal address fix
+   DONE - manage too fast reload in xynt-streaming
+   DONE - add xhr as transport layer and manage different streams better
+   TEST - BUG: pari + 72 non fa 4x ma attualmente fa 3x, da correggere
+   TEST - BUG: lurker are logged out (and remain a pending socket opened (look the spush log)
+   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" 
+          in the first tentative, the second works
+   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
+
+   DONE/FROZEN - problem with getpeer (HOSTADDR)
+
+   DONE - slow cards distribution
+   DONE - substr to mb_substr
+   DONE - parametrizations:
+          . parametrization of $DOCUMENT_ROOT  var in brisk-spush.phh file
+          . parametrization of SITE_PREFIX(_LEN) define
+          . move the name of the named socket into the configuration file
+   DONE - manage and test cross forwarder between table and room
+   DONE - setcookie (for tables only and persist prefs)
+   DONE - images flickering on slow windows: try to poll stream every 300 ms (seems to be download problem)
+   DONE - database connection fails after a while, check close and try PGSQL_CONNECT_FORCE_NEW.
+   DONE - unneeded garbage_time.expired access
+   DONE - BUG: fast loop on stream index_rd_ifra page (js watchdog start without timeout corrupt counts)
+   DONE - BUG: logout failed (fixed with a garbage_collector wrapper at sac-a-push level
+   DONE - 404 wrong page management (remove directories redirections (es. brisk/))
+   DONE - configuration file management
+   DONE - app level keep-alive
+   DONE - index_wr other issues
+   DONE - from room to table
+   DONE - from table to room
+   DONE - chunked
+   DONE - bug: read from a not resource handle (already closed because a new socket substitute it)
+   DONE - partial write for normal page management
+   DONE - index_rd_ifra: last_clean issue
+   DONE - fwrite failed error management (select, buffer where store unsent data, and fwrite check and retry)
+   DONE - bug: after restart index_rd.php receive from prev clients a lot of req
+   DONE - index_wr.php::chat
+   DONE - index_wr.php::exit
+   DONE - index_rd.php porting
+   DONE - generic var management from internet
+   DONE - index.php auth part
+   ABRT - index_wr.php::reload - reload is js-only function
+   ABRT - keepalive management - not interesting for our purposes
 
  BRISK4 (mammuth)
  ======
  DONE - move the garbage timeout on file
  DONE - in index_rd load all data only when required
  - briskin5 alignment
+   DONE . extern del garb_timeout
+   DONE . user_load parameters verify
+   DONE . Bin5::load_data and Bin5::save_data refactoring with
+          data split
+   . move many function into "Bin5 class"
+ - garbaging of .step files
 
  DB: - initial usage
      DONE - configurabilità file o db
@@ -316,8 +441,8 @@ sparir
    DONE - standup centrati
    DONE - current player - in info
    DONE - HELP butt con ABOUT, REGOLE, VERSIONE
-   DONE - wellcome lines in the chats (room and table)
-   DONE - wellcome lines in the chats (room and table)
+   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 - to pass explicit config file to INSTALL.sh
    DONE - flag to create a config file