- Oct 14, 2021
-
-
Stein Magne Bjorklund authored
- Make sure Utils::queryFile called from Utils also pass in loadspk settings since global call is removed. - Improve ServiceModule guards. Make sure it correctly returns false early.
-
- Oct 05, 2021
-
-
Stein Magne Bjorklund authored
Loads, alter and use Endoint lobals. Makes the execution graph and result unpredicable and untestable.
-
- Sep 30, 2021
-
-
Stein Magne Bjorklund authored
- Stop it from throwing warnings and notices all over the place.
-
Stein Magne Bjorklund authored
Make class testable and predicable.
-
- Sep 29, 2021
-
-
Stein Magne Bjorklund authored
Protect against server/endpoint not responding.
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
- Improved error handling if curl is not able to contact end points. Server/network down. - Make sure we do not update cache with no result.
-
- Sep 28, 2021
-
-
Stein Magne Bjorklund authored
Flush out hidden error from old code. Less silent fails.
-
Stein Magne Bjorklund authored
Method already does too much and keeps updating global variables.
-
- Sep 27, 2021
-
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
HTTPStatus::send406 never returns
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
- Method still have too many responsibilities.
-
- Sep 24, 2021
-
-
Stein Magne Bjorklund authored
- No idea why this was done.
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
- Logger littering the code is not needed.
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
Not called outside Utils, lets make sure it stays that way.
-
Stein Magne Bjorklund authored
- Also dropped some debug statements that makes the code even harder to read. - Folded som if/else statements to elseif.
-
Stein Magne Bjorklund authored
- Create unexpected behaviors and bug
-
- Sep 23, 2021
-
-
Stein Magne Bjorklund authored
Lower code complexity.
-
Stein Magne Bjorklund authored
- Fail early if code try to create object passing in illegal types and values.
-
- Sep 22, 2021
-
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
Mostly a proof of concept that classes now can be loaded in isolation and tested.
-
Stein Magne Bjorklund authored
- Allow tests to load application only with the default settings without having dependencies and/or side effects from installation specific settings.inc.php. This also allows us to make sure that settings.inc.php only contains settings that are specific for the installation and not settings that really belong in default.
-
- Sep 21, 2021
-
-
Stein Magne Bjorklund authored
-
Stein Magne Bjorklund authored
- Make match method testable.
-
Stein Magne Bjorklund authored
- During boostrap a few local variables are generated. To allow us to stop using globals we need to update the config objects before attempting to load any modules.
-
Stein Magne Bjorklund authored
- Class is immutable and this returns a new object with the new configuration. This allows us during bootstrap to change this before passing it to loadspkr modules.
-
Stein Magne Bjorklund authored
- Make class use of config more predicable by stop using global conf. - Make the class vital methods more testable.
-
Stein Magne Bjorklund authored
- Allow us to inject a configuration to class and enable us to test it before refactoring.
-