forked from metabase/metabase
-
Notifications
You must be signed in to change notification settings - Fork 0
update metabase #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
luizbob
wants to merge
10,000
commits into
Send4BR:staging
Choose a base branch
from
metabase:master
base: staging
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
update metabase #10
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Implement Tenant Groups - normal users cannot be added to a tenant group - tenant users cannot be added to a normal group - tenant groups cannot receive write access to any collection - tenant groups cannot receive any access to the audit collection - tenant groups cannot receive any application permissions * Add a setting to turn tenants off and on When the setting is turned on: - create the All External Users group, with `magic_group_type=all-exsternal-users` and `is_tenant_group=true` When the setting is turned off: - make sure there are no remaining tenants or tenant users - delete the All External Users group * Remove the need for memoized `tenant?` functions * Fix tests * allowe using with-temp with perms group membership * fix more tests * remove unnecessary bindings * Put setting behind a feature flag * Don't read setting from env closes adm-648 closes adm-657 closes adm-649
* Split up config into categories * Break out clauses into groups * Add duplicate name check * Allow setting shared options * Add category to mbql clause config * Rename groups * Use enum for category * Build examples using helper functions * Build ExpressionParts directly in helper-text * Flatten examples * Wrap example in function * Enable late-binding for args * Unwrap example * Remove get name and get description wrappers * Remove getHelpDocsUrl helper * Simplify example fn * Add missing export * Remove getFunctionByStructure * Simplify help text helpers * Rename structure to displayName * Make args required * Manually type clause definition type * Merge HELPER_TEXT_STRINGS into config * Move help text helpers to separate file * Use data from MBQL_CLAUSES instead of HELPER_TEXT_STRINGS * Allow defining stuff in config * Move help text into config * Remove fallback to HELPER_TEXT_STRINGS * Remove helper-text-strings * Allow more stuff to be optional * Build clause in getClauseDefinition * Avoid self-referential types * Use getClauseDefinition in completer * Handle new args definition * Handle null instead of undefined * Enforce type on all argument definitions * Enforce name on all argument definitions * Get clause defns * Fix types * Simplify tests * Remove unnecessary guard * Avoid creating unnecessary functions * Move defineClauses to separate module * Remove any in config * Rename helper-text-strings test to help-text
Resolves PRG-27 by removing the option to create Metric from the main "New" menu.
Resolves PRG-29 by removing the "Collection" entry from the main "New" menu.
* Update translation sources 2025-04-29 * Update translations --------- Co-authored-by: github-actions <[email protected]>
* adding watermark for dynamic viz * starting to put together e2e tests for watermarks * adding unit test * adding loki tests * adding more e2e tests * changing test id * adding e2e tests on chart interactivity * fixing type error
* add build-args to uberjar job * better sha
* fix: failing kondos on master * fixup! remove all external references to permissions group membership * fixup! missing export
* Update Appearance Settings * unit test additions + updates * update e2e tests * test updates * unit test fix * fix lint errors * obey the linter * add test coverage * add more tests * support env var override ui * remove dead code * nicer routing * useDisclosure * stabilize test
* Move SimpleDataPicker to a new directory preparing for new components * Use the embedding data picker from a new folder This requires turning the component into a plugin, which we'll do in the next commit. * Move plugin property to a more appropriate place * Implement embedding multi-stage data picker as an EE plugin * Add DataSourceSelectorProps * Remove reference to query builder data picker * Fix failing unit tests * Move embedding data picker components to a proper location
* Use Mantine dropdown for snippet menu * Fix search icon in snippet header too * Remove default ICON_SIZE * Fix MIN_SNIPPETS_FOR_SEARCH * Add createSnippet helper * Add repro for #57441 * Add test for snippet search * Move snippet helper to api * Use actual ref for input * Simplify header search rendering * Use SidebarHeader for snippet sidebar * Use Flex for most components * Simplify padding * Use class component for archived snippets * Use class for header button * Use direct properties * Rely less on custom css * Fix header padding * Fix e2e tests * Remove unused eslint-disable * Add type annotation Co-authored-by: Kamil Mielnik <[email protected]> --------- Co-authored-by: Kamil Mielnik <[email protected]>
…components (#57303) * convert UnsubscribeUserModal and UnsubscribeUserForm components * convert UserActivationModal to TS * convert UserPasswordResetModal to TS * convert UserSuccessModal to TS * convert PeopleList and PeopleListingApp components to TS * convert PeopleListRow to TS * convert use-people-query to TS * fix deprecated usages of google_auth and ldap_auth with sso_source field * fix lint * convert GroupsListing, GroupsListingApp, and AddRow components to TS * convert lib/groups, AdminContentTable, and AddMemberRow to TS * convert GroupDetailApp and GroupDetail to TS * fix import * convert GroupSummary to TS, make adjustments to other converted files to make types happy * remove people/components/SearchInput and convert usage to mantine component to avoid TS migration * remove styled component usage from people and groups pages and components * adjustment to people listing app
* migrate hacked fields * Format and join subq work differently * Add engine filtering to migration * Update migr * Comment
* Remove hack * Update test
* Remove unused `:model/TablePrivileges` * Remove another stray reference
We don't support the `zh` (Traditional Chinese) locale anymore – only `zh-CN` (Simplified Chinese), and `zh-HK` (Hong Kong), and `zh-TW` (Taiwan). Here's a [Slack discussion](https://metaboat.slack.com/archives/C6UBFU9GW/p1741983889165599). So let's remove `zh` from the list of supported translations. For some reason the list wasn't sorted alphabetically by language name - this PR fixes that too.
* auth-provider => auth-provider.core * enterprise/auth-provider * `metabase.events.core` * Move `sql-parsing-enabled` Setting into `query-analysis` (DEV-449) * `metabase.events.core` (DEV-455) * `metabase-enterprise.stats` => `metabase-enterprise.analytics.stats` (DEV-475) * `enterprise/stale` cleanup (DEV-474) * `enterprise/airgap` => `enterprise/premium-features` * Appease Kondo * Remove unused
* mark setup tests flaky * add flake --------- Co-authored-by: Sloan Sparger <[email protected]>
* fixups, fix default for collapsed rows setting * add condense_duplicate_totals test for pivot csv exports * tweak order of checks
* unlimit pivot exports * fixups, fix default for collapsed rows setting * address import issue * simple unit test * simplify test a bit --------- Co-authored-by: Tyler Plude <[email protected]>
…leware (#57981) * Fix the sorting of custom column from a saved card in a new question * Remove the expression_name that is not actually used. * Use col.name instead of expression_name in sanatizeResultData * Remove additional :expression_name references in tests * Remove comment that was attached to now-removed :expression_name * Remove expression_name from static-viz components * Remove expression_name from instance_analytics export * Add comment to now-deprecated expression_name field in DatasetColumn * Add e2e test for sorting on nested custom column --------- Co-authored-by: Lifeng Lv <[email protected]>
…57955) * docstring typo fixes * [SEM-8] Exclude all numeric values from Category semantic type consideration * add unit test for SEM-8 * more typo fixes * adjust existing tests for new sync behavior * extend category classifier restriction to any non-text(-like) * unit test for bolean classification * further adjust existing tests for new sync behavior * missed one test * Fix e2e test by filtering * fix e2e test by setting field semantic-type before hand * don't classify int/bool values to category by name either * rename tests * extend tests * style * remove unused var --------- Co-authored-by: Romeo Van Snick <[email protected]>
Fixes BOT-125
…58179) * [Backend modularization] Move `util/password_check` into `session` * PR feedback
* [Backend modularization] `metabase.util.ssh` => `metabase.driver.sql-jdbc.connection.ssh-tunnel` * Update changelog
Inspect dependency changes here: Co-authored-by: Metabase bot <[email protected]> Co-authored-by: Cam Saul <[email protected]>
Inspect dependency changes here: Co-authored-by: Metabase bot <[email protected]>
Inspect dependency changes here: https://github.com/tonsky/clj-reload/blob/0.9.6/CHANGELOG.md Co-authored-by: Metabase bot <[email protected]>
* remove unused var * use mantine radius Co-authored-by: Ryan Laurie <[email protected]> --------- Co-authored-by: Ryan Laurie <[email protected]>
Inspect dependency changes here: Co-authored-by: Metabase bot <[email protected]>
Inspect dependency changes here: https://github.com/clojure/tools.build/blob/v0.10.9/CHANGELOG.md Co-authored-by: Metabase bot <[email protected]> Co-authored-by: Cam Saul <[email protected]>
Inspect dependency changes here: Co-authored-by: Metabase bot <[email protected]>
Inspect dependency changes here: https://github.com/clj-commons/rewrite-clj/blob/v1.2.50/CHANGELOG.adoc Co-authored-by: Metabase bot <[email protected]>
Inspect dependency changes here: https://github.com/seancorfield/honeysql/blob/v2.7.1310/CHANGELOG.md Co-authored-by: Metabase bot <[email protected]> Co-authored-by: Cam Saul <[email protected]>
Inspect dependency changes here: https://github.com/djblue/portal/blob/0.59.1/CHANGELOG.md Co-authored-by: Metabase bot <[email protected]> Co-authored-by: Cam Saul <[email protected]>
* Bump org.eclipse.jetty/jetty-server from 12.0.20 to 12.0.21 Inspect dependency changes here: * Update deps.edn --------- Co-authored-by: Metabase bot <[email protected]> Co-authored-by: Cam Saul <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Before submitting the PR, please make sure you do the following
Tests
yarn lint && yarn test
)clojure -X:dev:test
(unless it's a tiny documentation change).