This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Mar 17, 2022
-
-
Diogo Mendes authored
-
Dalton authored
* Add tippy/popper replacement for PopoverWithTrigger * Refactor and fix types * Move PopoverWithTrigger components to own folder * Add tests * rename children prop to popoverContent * Fix direct ParameterTargetWidget.jsx reference
-
Nemanja Glumac authored
* Add a guard that reduces flakiness of binning tests
-
Noah Moss authored
-
Nemanja Glumac authored
-
Gustavo Saiani authored
-
Nemanja Glumac authored
-
Nemanja Glumac authored
-
Nemanja Glumac authored
* Increase timeout for QA DB sync * Delete DB after the snapshot was taken This is a hack that seems to prevent race conditions when one DB's sync interferes with the subsequent DB's sync.
-
Diogo Mendes authored
-
Bryan Maass authored
* Get slack users and conversations simulatenously - instead of waiting for the channels, and then getting the users * Add cache+timeout capability to conversations-list * extend async approach to users-list - return timeout+cache warning - adds tests * updating docstrings + adding more tests * Add cache clear and seed slack token settings on-change - add dox for :on-change for defsettings - fixing tests * Fixing tests - cannot pass a declared (not def'd) value - some cleanup * remove unused function * remove need for slack-configured from timeout fns - update some docstrings * pre-populate slack caches - on app init * introduce blocking (and cache resetting) endpoint - this one does not timeout, meant to be called when a user hits a button like: "Refetch my slack channels" * removes -timeout versions of users/channels fn - the endpoint now returns the cached slack data - removes tests * fixes routing layer * remove trailing whitespace * add missing docstring * move the cached slack data into a setting * add missing docstring * fix typo * update form-input-test * refresh cache in test * remove un-needed anonymous fn wrapping * refresh slack cache when user sets new valid token * refresh the cache when reading from it - the more its used the more up to date it will be * code review responses + removes 2-arity refresh-cache! - clear out cache when slack connection is broken or unset - add to docstring for slack settings route - wrap init refresh-cache! with a future - re-spell parallel * do not block when returning cached slack data * rename cache defsetting * Addressing code review issues - Adds scheduled updates to the slack users and channels cache every 4 hours - Removes `form_input_refresh` route - Automatically refreshes cache when `form_input` route is hit, if 10 minutes have passed since the last cache fix - Removes cache refresh on app startup - Stores only user names, and channel names in the cache, not maps with irrelevant data - Clears out some noisy linter warnings via `#_:clj-kondo/ignore` * Adds slack task RefreshCache jobs - Sets up startup-triggered and cron-triggered (every 4 hours at a random minute) slack channel/username cache refreshing * Implements 2 jobs to update slack users/channels - one on startup, one every 4 hours - improve docstrings * ns linter fixes * more ns linter fixes * refactor files-channel to look in the cache - instead of making a tricky api call - fixing tests * update files-channel-test to test the cache * fixup integrations.slack ns decl * fixup test integrations.slack ns decl * fix outdated mock of slack/files-channel * fix a few more tests * fix api slack-test * adds locking to refresh-channels-and-usernames! * re-order requires
-
- Mar 16, 2022
-
-
Ariya Hidayat authored
-
Cam Saul authored
* Use Service Accounts for Google Analytics auth going forward * Update GA dox * Dox tweak * Fix e2e test * Remove dead googleanalytics form code Co-authored-by:
Dalton Johnson <daltojohnso@users.noreply.github.com>
-
Cam Saul authored
* Fix `[:relative-datetime :current]` inside `:between` filter clause * Update shared/test/metabase/mbql/util_test.cljc * Update shared/test/metabase/mbql/util_test.cljc
-
Alexander Lesnenko authored
* download permission * update specs * remove console log * fix types * lint
-
Nemanja Glumac authored
* Upgrade Cypress testing library to the latest version * Fix collection permissions failing tests * Fix custom-column failing tests * Fix `joins` failing test * Fix visual notebook failing tests * Fix models failing tests * Fix `questions` failing tests * Fix native ee failing test * Fix onboarding failing tests * Remove `@types/testing-library__cypress` https://github.com/testing-library/cypress-testing-library/commit/058daff38a6cee84d588c5b295247deeb02c474f
-
Gustavo Saiani authored
-
Cam Saul authored
* Change u/profile from println to log/info * Change most test printlns to log/info * Make u/profile message a fn rather than a delay * Apparently clj-http errors aren't wrapped in :object anymore * Add running commentary * Log the amount of time it took to find and run tests * Sort namespaces * Update test Co-authored-by:
Diogo Mendes <diogo@metabase.com>
-
Dalton authored
* added status option for rendering widget icon * mimicked default form behavior using the fetch API * recreated default html form submit and download * added GET request functionality to download form * cleanup * making requested changes * onClose, fileName cleanup, blob(), GC link remove Co-authored-by:
Paul Wilson <54870992+wilsonpg@users.noreply.github.com>
-
Diogo Mendes authored
-
Dalton authored
-
Nemanja Glumac authored
-
Nemanja Glumac authored
-
Luis Paolini authored
* Try making the encryption clearer Got the question a few times, so I thought we had to make it more explicit * Update docs/operations-guide/encrypting-database-details-at-rest.md Co-authored-by:
Jeff Bruemmer <jeff@metabase.com> Co-authored-by:
Jeff Bruemmer <jeff@metabase.com>
-
Nemanja Glumac authored
-
Alexander Lesnenko authored
* permission based routing * review
-
- Mar 15, 2022
-
-
Ariya Hidayat authored
Due to Cypress upgrade, we observed failing and/or flakey E2E tests. Rather than disabling this completely, let's narrow down to a few good tests for now while robustifying the rest of them.
-
Cam Saul authored
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
Noah Moss authored
-
Gustavo Saiani authored
-
Noah Moss authored
-
- Mar 14, 2022
-
-
Cam Saul authored
Upgrade Liquibase to latest version; remove final Java source file and need for `clojure -X:deps prep` (#20611) * Upgrade Liquibase to latest version * Try adjusting log * Fix checksums for the TWO migrations with ID = 32 * FINALLY get Liquibase to use Log4j2 * Set Liquibase ConsoleUIService OutputStream to null OutputStream * Manually define a package for our H2 proxy class so Java 8 works * Fix package-name determination code * Update migrations file spec * `databasechangelog` shouldn't be upper-case * Lower-case quartz table names * More MySQL fixes
* Properties for all the Quartz tables * Formatting tweaks [ci skip] * Revert a few more busted changes * Fix more busted changes * Bump Liquibase version to 4.8.0 to fix MySQL defaultValueBoolean bug * OMG I think I finally fixed MySQL * Remove Java source file and prep-deps code * Remove two more references to bin/prep.sh * Minor cleanup * Revert unneeded changes * Fix busted indentation * Don't search inside java/ anymore since it's G-O-N-E * Appease the namespace linter * Update src/metabase/db/liquibase/h2.clj -
Noah Moss authored
-
Gustavo Saiani authored
-
frannietrempe authored
thanks @qnkhuat for pointing these out!
-
Alexander Polyankin authored
-
adam-james authored
This lets the Frontend get a list of timelines with the events included, useful in case of having an unsaved question where timelines should still be showable. > left comments but seems workable I'm going to merge this to let FE continue events implementation. I will discuss the above concerns in Slack, and we can make adjustments as needed.
-
Nemanja Glumac authored
* Use appropriate query selector * Wait for the table metadata to load * Ensure popover contents loaded before we attempt to scroll
-