An error occurred fetching the project authors.
  1. 25 Apr, 2019 1 commit
    • Francisco Javier López's avatar
      Added list_pages method to avoid loading all wiki pages content · dde69bfb
      Francisco Javier López authored
      Inside a wiki, when we show the sidebar or browse to the `pages`,
      all page contents are retrieved from Gitaly and that is a waste
      of resources, since no content from that pages are going to be
      showed.
      
      This MR introduces the method `ProjectWiki#list_pages`,
      which uses new wiki_list_pages RPC call to retrieve
      pages without content
      
      Also in the `WikisController` we're using the method to show
      pages in the sidebar and also on the `pages` page.
      dde69bfb
  2. 04 Apr, 2019 1 commit
  3. 27 Mar, 2019 1 commit
  4. 17 Oct, 2018 1 commit
  5. 26 Sep, 2018 1 commit
    • gfyoung's avatar
      Enable even more frozen string in app/controllers · 12ee2753
      gfyoung authored
      Enables frozen string for some vestigial files as
      well as the following:
      
      * app/controllers/projects/**/*.rb
      * app/controllers/sherlock/**/*.rb
      * app/controllers/snippets/**/*.rb
      * app/controllers/users/**/*.rb
      
      Partially addresses #47424.
      12ee2753
  6. 31 Jul, 2018 1 commit
  7. 24 Jul, 2018 1 commit
    • Stan Hu's avatar
      Use limit parameter to retrieve Wikis from Gitaly · c8ff6b7c
      Stan Hu authored
      Without this parameter, every load of a Wiki page will load all the Wiki pages
      in the repository for the sidebar. This is a significant performance penalty
      that can significant slow the display of all Wiki pages.
      
      Relates to #40101
      c8ff6b7c
  8. 09 Jul, 2018 2 commits
  9. 25 Jun, 2018 1 commit
  10. 29 May, 2018 1 commit
  11. 18 Apr, 2018 1 commit
  12. 26 Mar, 2018 2 commits
  13. 22 Mar, 2018 1 commit
    • Joshua Sooter's avatar
      Added support for custom wiki sidebar using _sidebar.md in the wiki root. If... · 4333fbf2
      Joshua Sooter authored
      Added support for custom wiki sidebar using _sidebar.md in the wiki root. If _sidebar.md exists it will be parsed and rendered otherwise the default sidebar file list  will display
      
      deleted _sidebar_custom.html.haml and modified _sidebar.html.haml to check for sidebar_page and render it or the default wiki page list. Also removed white space.
      
      fix indent in show.html.haml
      
      restore newline at end of ile
      
      Add a newline at the end of changelogs/custom_wiki_sidebar.yml
      4333fbf2
  14. 05 Feb, 2018 1 commit
  15. 22 Jan, 2018 1 commit
  16. 17 Nov, 2017 1 commit
  17. 16 Nov, 2017 1 commit
  18. 11 Oct, 2017 1 commit
  19. 03 Oct, 2017 1 commit
  20. 05 Jul, 2017 1 commit
  21. 06 Jun, 2017 1 commit
  22. 04 May, 2017 1 commit
    • Rares Sfirlogea's avatar
      Display slash commands outcome when previewing Markdown · 45e4c665
      Rares Sfirlogea authored
      Remove slash commands from Markdown preview and display their outcome next to
      the text field.
      Introduce new "explanation" block to our slash commands DSL.
      Introduce optional "parse_params" block to slash commands DSL that allows to
      process a parameter before it is passed to "explanation" or "command" blocks.
      Pass path for previewing Markdown as "data" attribute instead of setting
      a variable on "window".
      45e4c665
  23. 26 Apr, 2017 1 commit
  24. 26 Mar, 2017 1 commit
  25. 20 Mar, 2017 1 commit
  26. 13 Mar, 2017 1 commit
  27. 08 Mar, 2017 1 commit
  28. 14 Feb, 2017 1 commit
  29. 07 Feb, 2017 1 commit
  30. 31 Dec, 2016 2 commits
  31. 30 Nov, 2016 1 commit
  32. 11 Aug, 2016 1 commit
  33. 01 Jul, 2016 1 commit
  34. 16 Jun, 2016 2 commits
  35. 14 Jun, 2016 1 commit
    • Sean McGivern's avatar
      Forbid scripting for wiki files · 1cda245c
      Sean McGivern authored
      Wiki files (not pages - files in the repo) are just sent to the browser
      with whatever content-type the mime_types gem assigns to them based on
      their extension. As this is from the same domain as the GitLab
      application, this is an XSS vulnerability.
      
      Set a CSP forbidding all sources for scripting, CSS, XHR, etc. on these
      files.
      1cda245c
  36. 09 Jun, 2016 1 commit
    • Timothy Andrew's avatar
      Hook up the updated `WikiLinkFilter` to the wiki controllers. · e6b1d166
      Timothy Andrew authored
      - Need to pass in a `page_slug` to the filter, so it can rewrite based
        on the current page (all links are rewritten to the level of the app root).
      - The earlier `markdown_preview` endpoint was at the level of the wiki.
        We need to know the current page (for rewriting, as above), so this
        commit moves the endpoint to the level of a wiki page.
      - Fix all tests
      e6b1d166