Skip to content
Snippets Groups Projects
  1. Oct 30, 2018
  2. Sep 22, 2018
  3. Jul 27, 2018
  4. Jun 11, 2018
  5. May 18, 2018
    • Andreas Gohr's avatar
      reset config directory for every test · 1c0be3eb
      Andreas Gohr authored
      Our test suite did not reset the config directory for each test class as
      it does for the data directory. In addition it copied all files from the
      main config directory over. Both may create an unpredictable state for
      tests.
      
      This streamlines the initialization.
      1c0be3eb
  6. May 16, 2018
  7. May 07, 2018
  8. Apr 27, 2018
    • Michael Große's avatar
      feat: improve search as a primary means to create new pages · 42690e4d
      Michael Große authored
      Specifically, this pull request checks if the current query is already a
      valid pageid and then return that as suggested pageid.
      
      Also, tests are added for this method.
      
      Fixes #2355
      
      PS: We may want to somehow better educate/nudge users to use the better
      way of creating pages by creating links on existing pages.
      Unverified
      42690e4d
  9. Apr 15, 2018
    • Michael Hamann's avatar
      Prevent HTML and JS injection in section names · ada0d779
      Michael Hamann authored
      Before this change, HTML and some JS code (as far as it was not escaped
      by json_encode) could be injected into the output as the closing pattern
      that is checked by the regex is not escaped in JSON (see test case).
      ada0d779
  10. Apr 13, 2018
    • Andreas Gohr's avatar
      relax geshi options a bit more · 54f741e8
      Andreas Gohr authored
      Quotes are now optional, the options are spearated by space
      54f741e8
    • Andreas Gohr's avatar
      make testing of inaccessible methods easier · 210ff133
      Andreas Gohr authored
      While it's generally frowned upon testing privates, it can often be
      useful and the easier way to write tests. Eg you want to test something
      complicated method that is important, but you do not want to expose it
      directly to other classes...
      
      This new method uses reflection to make access to such methods possible
      from within tests without the need for intermediate classes.
      210ff133
  11. Apr 12, 2018
  12. Mar 21, 2018
    • Michael Große's avatar
      feat: add a simple unparser for parsed search queries · 44156e11
      Michael Große authored
      To allow creating links with manipulated versions of the current search
      query an unparser is necessary. However, the current output of ft_queryParser
      makes some advanced features hard to detect. Therefore the new
      ft_queryUnparser_simple cannot handle negated phrases and `OR` searches.
      
      It should still cover 98% of search queries.
      Unverified
      44156e11
  13. Mar 06, 2018
  14. Feb 15, 2018
    • LarsDW223's avatar
      Refactored section edit · ec57f119
      LarsDW223 authored
      The data for the section edit button is now passed as an assoziative array which is
      encoded in the '#<!-- EDIT(.*) -->#' placeholder as an JSON array.
      ec57f119
  15. Dec 26, 2017
  16. Oct 26, 2017
  17. Sep 20, 2017
  18. Sep 11, 2017
  19. Sep 02, 2017
  20. Aug 29, 2017
  21. Aug 27, 2017
  22. Aug 25, 2017
  23. Aug 03, 2017
  24. Jul 28, 2017
  25. Jul 23, 2017
Loading