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