1. 16 Mar, 2017 1 commit
    • noplanman's avatar
      Use Redbean as DBAL (#118) · 7abdd377
      noplanman authored
      * Add doctrine/dbal to the mix.
      
      * Change main pages to use new DB connection with doctrine DBAL.
      Rename some variables to improve readability.
      
      * Use function arguments instead of array.
      
      * Use doctrine DBAL for db scripts.
      
      * Use DBAL for pull.php.
      
      * Use DBAL for go.php.
      
      * Use DBAL for rate.php.
      
      * Use DBAL for podstat.php.
      
      * Use DBAL for api.php and api-more.php.
      
      * Convert all pod fields to string.
      
      * Move from Doctrine DBAL to RedBeans.
      
      * Add temporary fix for boolean property in pull.php
      
      * Add dedicated migration script for adding id column as unique primary key.
      7abdd377
  2. 18 Feb, 2017 1 commit
  3. 11 Feb, 2017 1 commit
  4. 10 Feb, 2017 1 commit
  5. 15 Jan, 2017 3 commits
    • noplanman's avatar
      Better forms and email sending (#73) · cac6bdd0
      noplanman authored
      * Improve HTML form output.
      Better email message sending.
      Various code fixes and simplifications.
      
      * Make email sending more logical.
      Fix wrong email field.
      
      * Move email headers up.
      Better email formatting when a new rating has been added.
      cac6bdd0
    • noplanman's avatar
      Remove unnecessary pg_free_result and pg_close calls. (#76) · 41f234fd
      noplanman authored
      ah, never knew you did not Have to have them!
      41f234fd
    • noplanman's avatar
      Some simplifications (#72) · 24e8cc15
      noplanman authored
      * Simplify arithmetics for $score.
      Use PHP7 random_int method for improved random int generation.
      
      * Simplify uptimerobot API calls by removing JSON callback.
      
      * Simplify user and admin ratings.
      
      * Smaller fixes and command simplifications.
      24e8cc15
  6. 14 Jan, 2017 4 commits
  7. 13 Jan, 2017 1 commit
  8. 12 Jan, 2017 10 commits
  9. 30 Dec, 2016 1 commit
  10. 23 Dec, 2016 1 commit
  11. 22 Dec, 2016 2 commits
  12. 21 Dec, 2016 4 commits
  13. 20 Dec, 2016 1 commit
  14. 16 Dec, 2016 1 commit
  15. 15 Dec, 2016 1 commit
  16. 14 Dec, 2016 1 commit
  17. 27 Nov, 2016 1 commit
  18. 17 Jan, 2016 1 commit
    • Marcel Müller's avatar
      Fix XSS in all messages using the pod's name. · 26e27e6b
      Marcel Müller authored
      This commit fixes a Persistent XSS. The problem was that at no point the output
      was sanitized, allowing each pod to control the column 'name' in the database.
      Since this can be set to anything one wants it can be malicious.
      Using htmlentities(name, ENT_QUOTES) should be sufficient to ward this off.
      26e27e6b
  19. 21 Dec, 2015 1 commit
  20. 19 Dec, 2015 1 commit
  21. 18 Dec, 2015 2 commits