Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Apr 22, 2024
  2. Apr 19, 2024
  3. Apr 17, 2024
  4. Mar 22, 2024
  5. Mar 07, 2024
  6. Feb 14, 2024
  7. Feb 06, 2024
  8. Jan 12, 2024
  9. Jan 11, 2024
  10. Jan 05, 2024
  11. Jan 04, 2024
  12. Jan 03, 2024
  13. Dec 28, 2023
    • Noah Moss's avatar
      Try again to fix failing perms tests by making testing macro more robust (#37141) · f9d653bb
      Noah Moss authored
      * Adds a new `metabase.permissions.test-util` namespace
      * Adds a new `with-restored-perms!` macro which ensures that permissions are reset after the test body runs
      * Updates `with-all-user-data-perms` to use `with-restored-perms!` under the hood, and renames it to `with-all-user-data-perms!`
      
      This is my attempt to fix the state issues with permission tests in a more robust way. Generally, the `permissions` and `sandboxes` tables aren't too large, so it shouldn't be a ton of overhead to just fully reset these tables after a test runs—and certainly doesn't compare with the time lost to debugging state issues between perms tests. (I actually saw this test namespace run one second _faster_ with these changes, in a very unscientific test.)
      
      I'm planning on adding more utils to the `metabase.permissions.test-util` namespace to make perms tests easier to write. But want to keep this PR focused on the change that will (hopefully) fix the tests failing on master.
      Unverified
      f9d653bb
  14. Dec 22, 2023
  15. Dec 13, 2023
  16. Dec 08, 2023
  17. Dec 06, 2023
  18. Nov 17, 2023
    • bryan's avatar
      audit-log only when hosted or has-feature: audit (#35724) · b4b5cb1c
      bryan authored
      * audit-log only when hosted or has-feature: audit
      
      * lint fix
      
      * check for the right feature name, and test better
      
      * fix metabase.api.setting-test
      
      * fix a bunch of tests
      
      * fix a couple more tests
      
      * bit of cleanup
      
      * lint fixes
      
      * fix testing function
      
      * fix whitespace
      
      * linter fix
      
      * fix so many tests
      
      * fix the rest of the tests, IIUC
      
      * fix the last test
      
      * lint fix
      
      * remove outdated tests (from the merge conflict)
      
      * disable-other-sso-types needs to _reset_ premium features.
      
      - patches in the audit-app feature by default.
      
      * Just need to re-add :audit-app as a premium feature
      
      * try improving disable-other-sso-types
      Unverified
      b4b5cb1c
  19. Nov 14, 2023
  20. Nov 08, 2023
  21. Oct 12, 2023
  22. Sep 22, 2023
  23. Aug 24, 2023
  24. Aug 03, 2023
  25. Aug 01, 2023
  26. Jul 13, 2023
  27. Jun 13, 2023
  28. Jun 12, 2023
  29. Jun 02, 2023
  30. May 04, 2023
  31. Apr 28, 2023
  32. Mar 23, 2023
  33. Mar 21, 2023
  34. Mar 17, 2023
  35. Mar 14, 2023
  36. Dec 29, 2022
  37. Dec 14, 2022
    • Noah Moss's avatar
      Hide auth config pages from setting managers (#27187) · 90320851
      Noah Moss authored
      * make auth settings adminOnly on FE
      
      * WIP backend changes
      
      * Update relevant settings
      
      * address lint warning
      
      * new tests, and a bunch of reorganization
      
      * remove broken EE settings test, and fix validation in google & ldap endpoints
      
      * fix cypress tests
      
      * add clarifying table to setting docs
      Unverified
      90320851
Loading