Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Sep 21, 2015
  2. Sep 13, 2015
    • Allen Gilliland's avatar
      create an `:mb-run-mode` config property which defaults to "prod" and add... · f9f5bbab
      Allen Gilliland authored
      create an `:mb-run-mode` config property which defaults to "prod" and add couple predicate functions in our config ns for checking `is-prod?` and `is-test?`.  then update our event listener startup calls and wrap them with `(when (config/is-prod?) ...)` so that we only start them up when we intend to run the app for real.  lastly, update our environment for our expectations unit tests so that :mb-run-mode is "test" and thus our event processing listeners are not started for unit tests.
      f9f5bbab
    • Allen Gilliland's avatar
      quick tweak to revision code to avoid protocol implementations on classes as... · aa631ef3
      Allen Gilliland authored
      quick tweak to revision code to avoid protocol implementations on classes as basic as java.lang.Object so that functions like `satisfies?` can be useful.  this simply removes the base implementation of IRevisioned from java.lang.Object and instead defines a couple default implementations of the protocol functions which entities can reuse.  also, we remove the base implementation of `serialize-instance` because that just feels dangerous and we want to encourage each entity to provide its own version of that function.
      aa631ef3
  3. Sep 12, 2015
  4. Sep 11, 2015
Loading