[Commit revision 98cd9cf]
Author: Nao
Date: Wed, 19 Mar 2014 15:55:46 +0100
Stats: 3 files changed; +7 (insertions), -16 (deletions)
[Commit revision 4e06a33]
Author: Nao
Date: Wed, 19 Mar 2014 15:59:59 +0100
Stats: 1 file changed; +0 (insertion), -3 (deletions)
[Commit revision e6872cb]
Author: Nao
Date: Wed, 19 Mar 2014 17:54:01 +0100
Stats: 4 files changed; +8 (insertions), -24 (deletions)
[Commit revision d5e9c81]
Author: Nao
Date: Wed, 19 Mar 2014 17:56:19 +0100
Stats: 1 file changed; +3 (insertions), -8 (deletions)
[Commit revision 1910c57]
Author: Nao
Date: Wed, 19 Mar 2014 19:22:53 +0100
Stats: 2 files changed; +18 (insertions), -13 (deletions)
[Commit revision 1015ede]
Author: Nao
Date: Wed, 19 Mar 2014 19:33:55 +0100
Stats: 3 files changed; +36 (insertions), -42 (deletions)
[Commit revision 667669a]
Author: Nao
Date: Wed, 19 Mar 2014 19:37:13 +0100
Stats: 1 file changed; +71 (insertions), -75 (deletions)
Author: Nao
Date: Wed, 19 Mar 2014 15:55:46 +0100
Stats: 3 files changed; +7 (insertions), -16 (deletions)
- Moved $action_no_log to loadSettings, and removed extra_actions and nolog_actions variables. There are a couple of hooks where you can modify $action_list and $action_no_log, so I see no reason to have these features, apart from a very relative performance advantage. (index.php, Load.php)
- Capitalization. (Install.english.php)
[Commit revision 4e06a33]
Author: Nao
Date: Wed, 19 Mar 2014 15:59:59 +0100
Stats: 1 file changed; +0 (insertion), -3 (deletions)
- $cachedir is always set, no need to unset it first. And that security problem was solved in PHP 5.1.4 anyway, which is not even supported by Wedge. (index.php)
[Commit revision e6872cb]
Author: Nao
Date: Wed, 19 Mar 2014 17:54:01 +0100
Stats: 4 files changed; +8 (insertions), -24 (deletions)
- Moved random seed generator to loadSettings, since it used to be called only twice, and systematically after loadSettings. (SSI.php, index.php, Load.php, Subs.php)
[Commit revision d5e9c81]
Author: Nao
Date: Wed, 19 Mar 2014 17:56:19 +0100
Stats: 1 file changed; +3 (insertions), -8 (deletions)
- Minor code tweaks, mainly to match SSI with index.php. (SSI.php)
[Commit revision 1910c57]
Author: Nao
Date: Wed, 19 Mar 2014 19:22:53 +0100
Stats: 2 files changed; +18 (insertions), -13 (deletions)
- Moved scheduled task launcher to loadSettings. I'm not 100% sure it'll stay there though, as I had to add a SSI test before running it... Not very clean. For now, I'm just trying to shrink the index down to the bare minimum. (Load.php)
[Commit revision 1015ede]
Author: Nao
Date: Wed, 19 Mar 2014 19:33:55 +0100
Stats: 3 files changed; +36 (insertions), -42 (deletions)
- Moved all security headers to loadSettings. This one's interesting: there was a duplicate X-Frame-Options header being generated by both QueryString and index.php, which is a bad idea generally. (index.php, Load.php, QueryString.php)
- Moved AJAX definition to loadSettings, while I was at it. (Load.php, QueryString.php)
- Important security note: SSI will no longer go through the X-Frame-Options header, but it's for the best. It's up to the parent script to determine what headers they want to send, generally.
[Commit revision 667669a]
Author: Nao
Date: Wed, 19 Mar 2014 19:37:13 +0100
Stats: 1 file changed; +71 (insertions), -75 (deletions)
- And the biggest one: removed the wedge_main() function, and moved all of its straightforward code to the main code. The code that determines the action name is now executed from its own function, determine_action(), which helps readability. An awful lot, if you ask me. (index.php)