Registration form update
[mirrors/Kyberia-bloodline.git] / doc / TODO
1 - Registration process -> Add welcome texts & move them to one file/node
2 Temporary requests node does not exists.
3 Nodes are created with bad vector
4 (during registration we should generate GnuPG keypair
5 to user_gpg_prv and user_gpg_pub fields in table users) (harvie)
6
7
8 - User mail -> can't delete the mails...
9 Anyway move whole mail handling out of nodes.php (?)
10
11 - SQL injections (many fixed, but some should be still there)
12
13 - remove absolute paths from all source files (!)
14 - convert to some more inteligent path system... eg.:
15 define('SYSTEM_ROOT', '/srv/kyberia/');
16 define('SYSTEM_WWWROOT', SYSTEM_ROOT.'/wwwroot/');
17 define('SYSTEM_URL', '/'); //or https://dev.kyberia.cz/
18 define('SYSTEM_DATA', '_data/');
19 define('SYSTEM_IMAGES', '_images/');
20 because right now we can't determine both: filesystem path and URL of the same directory. this SUX!
21 - when we will be doing this we should make kyberia compatible with "./" PHP open base dir.
22 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 (especialy when it cannot do this - it can be good security improvement).
23
24 - remove hard-coded hostname from:
25 ( registration mails )
26 ( scripts in "scripts" directory (system paths))
27
28 - Fix https vs http problem (url)
29
30 - Uploading user images works, but resizing?
31
32 - Suspected security holes:
33 ( cron/process-img.sh )
34 ( ./inc/eventz/spamuj_ubik.inc )
35 ( ./inc/eventz/upload_own_template.inc ) (is even needed?)
36
37 - Remove/fix not working eventz
38 ( ./inc/eventz/addClass.inc )
39 ( ./inc/eventz/addEvent.inc )
40 ( ./inc/eventz/addAjax.inc )
41 ( ./inc/eventz/addPlugin.inc )
42 ( ./inc/eventz/kyberia.inc ) (wtf)
43
44 - Refactor directory structure
45
46 - Deprecated PHP features
47 ( 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 )
48
49 - keep fixing XSS
50
51 - Test & scale logarithmic threading
52
53 - Remove templates from git (they should be only in sql)
54
55 - Clean code => fix uninitialized variables
56
57 - documentation/installation guide (see README)
58
59 - Make PATH_INFO not changing contents of $_GET[] (it should affect some other variable instead - requires complex rewrite)
60 - Switch completely to Base36 (Templates, Links, don't change $_GET[], queries should convert between base10 in db and base36 in kyberia automatically, etc...)
61
62 - (IMHO we should use SHA1 or stronger algorithm instead of MD5 for storing passwords)
63 (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)
64
65 - 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 "-")
66 (Rename images to _images - and fix hardcoded stuff...)
67
68 - Fix /(id|k)/*/download
69 (ERROR: Empty file to download.)
70 (I think this should be implemented as template (and smarty method for download). template can be ID down in base36 = 638807 in base10)
This page took 0.339338 seconds and 5 git commands to generate.