Rewrite cleanup, TODO: rename images to _images
[mirrors/Kyberia-bloodline.git] / doc / TODO
index 28e49bfb5435b18db03c6bebceeceda66a5012b3..0866ad2e0bd52ac18f44cd95cbdfe3f700a6c707 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -1,25 +1,58 @@
-- fix uploading of files
-- fix ALL sql injections
-- keep fixing XSS
-- documentantion/instalation guide (see README)
-- remove absolute paths from all source files (!) (over 50)
-- remove hard-coded kyberia.sk from:
-  ( ./inc/eventz/configure_email.inc )
-  ( ./inc/eventz/delete.inc )
-  ( ./inc/smarty/node_methodz/modifier.replaceLocalURLs.php )
-  ( ./inc/replaceLocalURLs.inc )
-  ( ./nodes.php )
-  ( ./cron/rssparse.php )
-  ( ./scripts/contentregexp.php ) (obsolete?)
+- When adding node, content is escaped twice(?)
+
+- Registration process -> Add welcome texts & move them to one file/node
+  Temporary requests node does not exists.
+  Nodes are created with bad vector
+  (during registration we should generate GnuPG keypair 
+   to user_gpg_prv and user_gpg_pub fields in table users) (harvie)
+
+- Fix uploading user images
+
+- User mail -> can't delete the mails...
+  Anyway move whole mail handling out of nodes.php (?)
+
+- SQL injections (many fixed, but some should be still there)
+
+- remove absolute paths from all source files (!)
+
+- remove hard-coded hostname from:
+  ( registration mails )
+  ( scripts in "scripts" directory (system paths))
+
+- Fix https vs http problem (url) 
 
 - Suspected security holes:
   ( cron/process-img.sh )
-  ( sms_payment.php  => yes, sqli but is it really used? )
-  ( inc/eventz/upload_data_node.php => Shell injections in .zip hanling, .jpg handling,
-    "strange" filenames like .htacess (to allow listing of folder)
+  ( ./inc/eventz/spamuj_ubik.inc )
+  ( ./inc/eventz/upload_own_template.inc ) (is even needed?)
 
+- Remove/fix not working eventz
+  ( ./inc/eventz/addClass.inc  )
+  ( ./inc/eventz/addEvent.inc )
+  ( ./inc/eventz/addAjax.inc )
+  ( ./inc/eventz/addPlugin.inc )
+  ( ./inc/eventz/kyberia.inc ) (wtf)
 - Refactor directory structure
-  ( Whole <Directory "/var/www/kyberia-wwwroot> section from apache should go to .htaccess )
 
 - Deprecated PHP features
   ( Deprecated: Assigning the return value of new by reference is deprecated in /srv/kyberia/wwwroot/nodes.php on line 163 Deprecated: Assigning the return value of new by reference is deprecated in /srv/kyberia/wwwroot/nodes.php on line 184 Deprecated: Assigning the return value of new by reference is deprecated in /srv/kyberia/wwwroot/nodes.php on line 196 Deprecated: Assigning the return value of new by reference is deprecated in /srv/kyberia/wwwroot/nodes.php on line 208 Deprecated: Assigning the return value of new by reference is deprecated in /srv/kyberia/wwwroot/nodes.php on line 220 Deprecated: Assigning the return value of new by reference is deprecated in /srv/kyberia/wwwroot/nodes.php on line 242 )
+
+- keep fixing XSS
+
+- Test & scale logarithmic threading
+
+- Remove templates from git (they should be only in sql)
+
+- Clean code => fix uninitialized variables
+
+- documentation/installation guide (see README)
+
+- 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)
+  (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 rewrited 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...)
This page took 0.120382 seconds and 4 git commands to generate.