Skip to content
Snippets Groups Projects
  1. Mar 19, 2020
  2. Jan 06, 2020
  3. Nov 12, 2019
  4. Nov 05, 2019
  5. Oct 24, 2019
  6. Oct 22, 2019
  7. Oct 18, 2019
  8. Oct 07, 2019
  9. Aug 28, 2019
  10. Aug 07, 2019
    • Stan Hu's avatar
      Add support for Content-Security-Policy · 5fbbd3dd
      Stan Hu authored and Ash McKenzie's avatar Ash McKenzie committed
      A nonce-based Content-Security-Policy thwarts XSS attacks by allowing
      inline JavaScript to execute if the script nonce matches the header
      value. Rails 5.2 supports nonce-based Content-Security-Policy headers,
      so provide configuration to enable this and make it work.
      
      To support this, we need to change all `:javascript` HAML filters to the
      following form:
      
      ```
      = javascript_tag nonce: true do
        :plain
          ...
      ```
      
      We use `%script` throughout our HAML to store JSON and other text, but
      since this doesn't execute, browsers don't appear to block this content
      from being used and require the nonce value to be present.
      Unverified
      5fbbd3dd
  11. Jul 30, 2019
  12. Jun 25, 2019
  13. Jun 15, 2019
  14. May 11, 2019
  15. Feb 22, 2019
  16. Feb 15, 2019
    • Simon Knox's avatar
      Only load selected syntax highlight CSS · 5996fd14
      Simon Knox authored
      Compile highlight CSS separately
      Move highlight-specific mixins out of mixins.scss
      Rename solarized themes to match theme name as this was a smaller
      change than changing all instances to snake_case
      5996fd14
  17. Jan 24, 2019
  18. Dec 08, 2018
  19. Jul 26, 2018
  20. Jun 05, 2018
    • Alexis Reigel's avatar
      create favicon overlay on the client · 9e14f437
      Alexis Reigel authored
      the initial reason for this change was that graphicsmagick does not
      support writing to ico files. this fact lead to a chain of changes:
      
      1. use png instead of ico (browser support is good enough)
      2. render the overlays on the client using the canvas API. this way we
         only need to store the original favion and generate the overlay versions
         dynamically.
         this change also enables (next step) to simplify the handling of the
         stock favicons as well, as we don't need to generate all the versions
         upfront.
      Unverified
      9e14f437
    • Alexis Reigel's avatar
      Unverified
      5202c3f0
  21. May 01, 2018
  22. Mar 01, 2018
  23. Feb 02, 2018
  24. Jan 24, 2018
  25. Oct 18, 2017
    • Bob Van Landuyt's avatar
      Build the locale path with an `_` instead of a `-` · 939469cd
      Bob Van Landuyt authored
      The locale code is turned into an asset path with an underscore
      instead of a dash.
      
      The language codes are transformed by `I18n.locale` into a code with a
      dash. But the resources for translating are always stored in a path
      using a `_` separating the language and the region code.
      939469cd
  26. Oct 06, 2017
  27. Oct 04, 2017
  28. Sep 25, 2017
  29. Sep 08, 2017
  30. Sep 06, 2017
  31. Aug 04, 2017
  32. Jul 18, 2017
  33. Jul 06, 2017
  34. Jun 29, 2017
  35. Jun 28, 2017
Loading