Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. May 29, 2020
  2. May 28, 2020
  3. May 26, 2020
    • Cam Saul's avatar
      Fix DockerHub build & better Pulse render error logging (#12543) · c66ef98d
      Cam Saul authored
      * Change font registration to run on first Pulse PNG render rather than at launch.
          * This will improve startup times slightly :rocket:. 
          * This was causing DockerHub builds for `metabase-head` to fail 
      because the stage 1 "builder" image did not have `ttf-dejavu` and `fontconfig` installed (the builder was running in to #12223).
           * This will resolve issues discussed in #12223 where Metabase fails to launch when running on a "headless" JVM Docker image (i.e., one without AWT libraries) or when we run into the infamous font issues. We still won't be able to render Pulses, but Metabase without Pulses is slightly preferable to no Metabase at all
      *  Improved error messages & logging when Pulse rendering fails. Unfortunately, if the AWT classes are unavailable/broken in the JVM there is no way we can render Pulses given our current reliance on it. The best we can do is explain the situation and point people in the right direction. The new error message explains the situation and points people to #7986 for more details and workarounds.  As such, I am going to close #7986 because we cannot fix the underlying issue itself so the best we do is handle it better.
      *  Refactor tests in `metabase.api.pulse-test`
      *  Add tests for `GET /api/pulse/preview_card/:id`
      *  Include entire Exception chain in 500 responses
      *  Fix font registration logic not cleaning up `InputStream`s when done with them, wasting memory
      *  Minor Dockerfile tweaks
      c66ef98d
  4. May 14, 2020
    • Cam Saul's avatar
      Fix DockerHub build & better Pulse render error logging (#12543) · ffd0b0ea
      Cam Saul authored
      * Change font registration to run on first Pulse PNG render rather than at launch.
          * This will improve startup times slightly :rocket:. 
          * This was causing DockerHub builds for `metabase-head` to fail 
      because the stage 1 "builder" image did not have `ttf-dejavu` and `fontconfig` installed (the builder was running in to #12223).
           * This will resolve issues discussed in #12223 where Metabase fails to launch when running on a "headless" JVM Docker image (i.e., one without AWT libraries) or when we run into the infamous font issues. We still won't be able to render Pulses, but Metabase without Pulses is slightly preferable to no Metabase at all
      *  Improved error messages & logging when Pulse rendering fails. Unfortunately, if the AWT classes are unavailable/broken in the JVM there is no way we can render Pulses given our current reliance on it. The best we can do is explain the situation and point people in the right direction. The new error message explains the situation and points people to #7986 for more details and workarounds.  As such, I am going to close #7986 because we cannot fix the underlying issue itself so the best we do is handle it better.
      *  Refactor tests in `metabase.api.pulse-test`
      *  Add tests for `GET /api/pulse/preview_card/:id`
      *  Include entire Exception chain in 500 responses
      *  Fix font registration logic not cleaning up `InputStream`s when done with them, wasting memory
      *  Minor Dockerfile tweaks
      Unverified
      ffd0b0ea
    • Cam Saul's avatar
  5. Apr 21, 2020
  6. Apr 10, 2020
  7. Apr 02, 2020
  8. Mar 31, 2020
  9. Mar 27, 2020
  10. Mar 25, 2020
  11. Mar 11, 2020
  12. Mar 06, 2020
  13. Feb 27, 2020
  14. Feb 25, 2020
  15. Feb 05, 2020
  16. Feb 04, 2020
  17. Jan 15, 2020
  18. Jan 13, 2020
  19. Jan 06, 2020
  20. Dec 19, 2019
  21. Dec 16, 2019
  22. Dec 03, 2019
  23. Nov 19, 2019
  24. Nov 13, 2019
  25. Nov 07, 2019
  26. Oct 09, 2019
  27. Oct 07, 2019
  28. Oct 01, 2019
  29. Sep 20, 2019
  30. Sep 13, 2019
  31. Sep 11, 2019
  32. Sep 05, 2019
Loading