Skip to content
Snippets Groups Projects
  1. Jul 08, 2022
  2. Jun 24, 2022
  3. Mar 08, 2022
  4. Jan 08, 2022
  5. Jan 04, 2022
  6. Jan 03, 2022
  7. Dec 21, 2021
  8. Jun 13, 2021
  9. Apr 21, 2021
  10. Apr 13, 2021
  11. Mar 25, 2021
  12. Mar 16, 2021
  13. Feb 24, 2021
  14. Feb 14, 2021
  15. Feb 09, 2021
  16. Dec 17, 2020
  17. Oct 24, 2020
  18. Oct 20, 2020
    • Bernd Stellwag's avatar
      Refactor `results/` PHP code (#369) · fb7575b6
      Bernd Stellwag authored
      * put code to insert and query data from database into separate file
      
      * simplify obfuscation salt file handling
      
      * use new DB interaction functions in telemetry.php
      
      * use new DB interaction functions in stats.php
      
      and fix indentation levels
      
      * format telemetry settings file
      
      * use new function for interacting with DB in index.php
      
      * move drawing of the image into function and try to comment each section with what it does
      
      * reorder lines for parts of the image to align with the order they appear on the image
      
      * bugfix: display obfuscated and deobfuscated id in stats if id obfuscation is enabled
      
      * improve error handling
      
      * add missing PHPDocs to functions
      
      * imageftbbox returns an array on success and false on failure so to check if the font is usable, check if we got an array
      
      * fix dsn for postgres
      
      * fix limit sql statement for postgresql
      
      * remove obsolete require statement
      
      * use require instead of require_once since the settings file might need to be loaded multiple times
      
      because it just contains plain variables which will just get loaded into the current scope
      
      * move require statements to the top of the file
      
      * make sure files are readable before requiring them
      
      * add constant to refer to the telemetry settings file and check if it is readable before loading it
      
      * return null if no speedtest result was found for the given id and show according message to the user instead of just exiting
      
      * use existing constant instead of string for telemetry settings file name
      
      * uniformly use single quotes instead of double quotes as most code places already used single quotes
      
      * somehow some tabs sneaked in, replace them to uniformly use spaces
      
      * mysql now uses pdo, too, reflect that in the requirements documentation
      
      * pass username and password as constructor parameters instead of via DSN
      fb7575b6
    • dosse91's avatar
  19. Oct 11, 2020
  20. Oct 10, 2020
  21. Sep 27, 2020
  22. Sep 17, 2020
  23. Sep 07, 2020
  24. Jun 11, 2020
  25. May 04, 2020
  26. Mar 12, 2020
  27. Mar 09, 2020
  28. Mar 02, 2020
  29. Feb 17, 2020
  30. Dec 13, 2019
  31. Oct 12, 2019
  32. Oct 07, 2019
  33. Oct 01, 2019
Loading