1. 26 Nov, 2018 3 commits
  2. 04 Oct, 2018 1 commit
  3. 14 Aug, 2018 4 commits
  4. 30 Jul, 2018 1 commit
  5. 30 May, 2018 1 commit
    • Marek Vavruša's avatar
      daemon: allow per-request variables in Lua · 14de9110
      Marek Vavruša authored
      The handlers in Lua can now store per-request variables that are automatically
      GC'd when the request is finished. This is useful for stateful modules,
      such as DNS64 that uses internal option flags for state tracking.
      
      The layers can now get a variable table like so:
      
      ```
      local vars = kres.request_t(r):vars()
      vars.hello = true
      ```
      
      The variables are persisted between different layers for each request.
      14de9110
  6. 11 May, 2018 1 commit
  7. 12 Apr, 2018 1 commit
  8. 04 Apr, 2018 1 commit
  9. 23 Jan, 2018 2 commits
  10. 04 Dec, 2017 1 commit
    • Vitezslav Kriz's avatar
      hints: server stop when root hints load failed · 69ea2043
      Vitezslav Kriz authored
      If user provides custom hints file with config option hints.root_file('file')
      resovler fail with error. Before it just silently pass and may fail
      when loading defaults file, which leads to confusing error message.
      69ea2043
  11. 28 Nov, 2017 2 commits
    • Marek Vavruša's avatar
      fixed issues with newer luacheck · 6c0b9868
      Marek Vavruša authored
      6c0b9868
    • Marek Vavruša's avatar
      tests/config: added a TAP-based test environment for modules/configs · f41676d2
      Marek Vavruša authored
      I moved the test files to module directories because it allows
      vendoring of whole modules including tests etc.
      
      The test environment provides convenience functions and produces
      test output in TAP format. Ideally all tests should use a common
      format, so that CI can parse it provide better test output on PRs.
      It seems like Gitlab CI doesn't support anything yet, but there
      are two sort-of standards supported in CI tools - TAP and JUnit.
      I chose TAP because it's easier to read for humans, cmocka supports it,
      and it should be easier to adapt Deckard. There are also tools to
      convert TAP into JUnit XML file.
      
      Also added more tests for global functions and variables, and the
      test tool now also tracks coverage (if `luacov` is installed).
      f41676d2
  12. 13 Oct, 2017 1 commit
  13. 29 Sep, 2017 1 commit
  14. 21 Sep, 2017 2 commits
  15. 11 Sep, 2017 1 commit
    • Vladimír Čunát's avatar
      roothints: various changes · 8fa8f214
      Vladimír Čunát authored
      - expose the function as hints.root_file
      - use the same filename as Debian
      - remove the unneeded script
      - docs and some nitpicks
      8fa8f214
  16. 02 Aug, 2017 1 commit
  17. 01 Aug, 2017 2 commits
  18. 17 Jul, 2017 3 commits
  19. 14 Jul, 2017 2 commits
  20. 15 Jun, 2017 4 commits
  21. 13 Jun, 2017 1 commit
    • Vitezslav Kriz's avatar
      hints: reverse lookup keep name ordering from host file · 852adde1
      Vitezslav Kriz authored
      If one line contains multiple names for the address, the first
      name should be the canonical one (i.e. used for reverse lookups).
      In the current implementation wins top level domain according to
      domain tree.
      
      This change saves PTR records to separate tree. Names are
      oredered according to order in host file.
      852adde1
  22. 29 Mar, 2017 1 commit
  23. 28 Feb, 2017 1 commit
  24. 10 Feb, 2017 1 commit
  25. 26 Jan, 2017 1 commit