Test2
[mirrors/Kyberia-bloodline.git] / doc / TODO
index 95ccf36ac55f8cca2f51948a718051ceebd0a51a..dd56e34a04ac002ab7df9265f3b324088986b57a 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -1,16 +1,24 @@
-- User mail is not working
- (seems to be fixed, but we still can't delete the mails...)
-  Anyway move whole mail handling out of nodes.php (?)
+- remove hard-coded constants (everywhere):
 
-- Registration process is not working
-  (rewrite sending of reg. mails) (TEST)
-  (during registration we should generate GnuPG keypair to user_gpg_prv and user_gpg_pub fields in table users)
+- Registration process -> Add welcome texts & move them to one file/node
+  +(during registration we should generate GnuPG keypair 
+  to user_gpg_prv and user_gpg_pub fields in table users) (harvie)
 
-- SQL injections (many fixed, but some should be still there)
+- User mail -> can't delete the mails...
+  Anyway move whole mail handling out of nodes.php (?)
 
-- remove absolute paths from all source files (!)
+- SQL injections (many fixed, but some are still there)
 
-- User images (icons) seems to be broken somehow
+- remove absolute paths from all source files (!)
+- convert to some more inteligent path system... eg.:
+       define('SYSTEM_ROOT',           '/srv/kyberia/');
+       define('SYSTEM_WWWROOT',        SYSTEM_ROOT.'/wwwroot/');
+       define('SYSTEM_URL',            '/'); //or https://dev.kyberia.cz/
+       define('SYSTEM_DATA',           '_data/');
+       define('SYSTEM_IMAGES',         '_images/');
+  because right now we can't determine both: filesystem path and URL of the same directory. this SUX!
+- when we will be doing this we should make kyberia compatible with "./" PHP open base dir.
+  i think that it's really nice philosophy when PHP script is never accessing files that are not in the same directory (or it's subdirectory) as the script itself (especially when it cannot do this - it can be good security improvement).
 
 - remove hard-coded hostname from:
   ( registration mails )
 
 - Fix https vs http problem (url) 
 
+- Uploading user images works, but resizing? 
+
 - Suspected security holes:
-  ( cron/process-img.sh )
+  ( ./inc/smarty/node_methodz/function.fetch.php) (read local files?)
   ( ./inc/eventz/spamuj_ubik.inc )
   ( ./inc/eventz/upload_own_template.inc ) (is even needed?)
 
 
 - keep fixing XSS
 
-- Test & scale logarithmic threading
+- Fix defaukt template (big tables)
 
-- some templates are fixed only in .tpl, not in sql database
-  => synchronize .tpl vs SQL templates (permanently)
+- Remove templates from git (they should be only in sql)
 
 - Clean code => fix uninitialized variables
 
 - Make PATH_INFO not changing contents of $_GET[] (it should affect some other variable instead - requires complex rewrite)
 - Switch completely to Base36 (Templates, Links, don't change $_GET[], queries should convert between base10 in db and base36 in kyberia automatically, etc...)
 
-- (IMHO we should use SHA1 or stronger algorithm instead of MD5 for storing passwords)
-  (We really need this... I've cracked Hromi's password in few seconds (even when it was relatively secure))
-  (I've implemented this partially. We can now login using various hash algorithms, it's backward compatible, but we still need to edit registration/password changing to use SHA1 when updating passwords in DB)
+- Rename all files&directories that should not be rewritten to PATH_INFO to start with "_" (and if they should be also ignored by git they should start with "-")
+  (Rename images to _images - and fix hardcoded stuff...)
+
+- Fix /(id|k)/*/download
+  (ERROR: Empty file to download.)
+  (I think this should be implemented as template (and smarty method for download). template can be ID down in base36 = 638807 in base10)
+
+- Cleanup DB
+  (Make script for deleting nodes in recycle bin)
+  (Some actions (like loging, etc...) may be implemented using SQL triggers)
+  (Mark all nodes that should become part of distribution of kyberia software)
+  (Delete unused tables)
+  (Replace duplicit tables with VIEWs)
+
+- put "setParent" everywhere
+
+- set_synapse_weigth not working sometimes (synapse from 904 to 332 for example)
+  Also weight is always shown as "1" (add {$synapse.weight}
This page took 0.155302 seconds and 4 git commands to generate.