This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Jun 21, 2022
-
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
Nick Fitzpatrick authored
-
Aleksandr Lesnenko authored
-
Mahatthana (Kelvin) Nomsawadi authored
* Prevent SSO users from changing their user info * Show user name and email under the avatar in profile settings * Add E2E tests * Improve redability * Fix test failure from merging other PR * Clean up user form usage * Extract getFullName to common util
-
- Jun 20, 2022
-
-
Dalton authored
* Add title to NumberInputWidget * make it a label
-
Aleksandr Lesnenko authored
-
Nemanja Glumac authored
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
metamben authored
Fix compilation of temporal arithmetic for BigQuery and Mongo 5+ * Mongo 4 doesn't support $dateAdd so the generated filters result in an exception. * Support adding field to interval too (time intervals were not allowed in the first place of an addition) * Support temporal arithmetic with more than two operands for Mongo
-
adam-james authored
* Audit Queries fall back to email when first/last names are nil The audit page displays user information, and one column is "Name". Since we now allow nil first/last names, this value can return as a single space character. Instead, I've changed `common/user-full-name` to fall back to returning the user's email address if they have no first/last name values. Additionally: - since names can be nil, I've added sort by email to some of the queries for the audit page - display names have been changed from "Name" to "Member" in several queries to better fit the fallback to email * Add a test to check that audit pages have proper name fallback * Try to get test passing in CI * Make query work in MySQL by coalescing 'null' to empty string
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
Nemanja Glumac authored
* Fix flake in repro for 16386 * Fix flake in repro for 22730
-
Dalton authored
-
Dalton authored
-
Nemanja Glumac authored
* Fix flakes in repro for 22227 * Remove redundant intercepts * Use `cy.button` selector * Remove ALL redundant intercepts
-
Nemanja Glumac authored
-
Nemanja Glumac authored
-
Nemanja Glumac authored
This reverts commit 8bf35e53.
-
Nemanja Glumac authored
* Do not run backend tests on unrelated changes * Set explicit frontend test paths Co-authored-by:
flamber <1447303+flamber@users.noreply.github.com> Co-authored-by:
flamber <1447303+flamber@users.noreply.github.com>
-
Nemanja Glumac authored
-
- Jun 18, 2022
-
-
Cam Saul authored
* Disallow `(str ...)` forms for `defsetting` description * Fix a handful of `(str (deferred-tru ...))` forms * Fix some cases of `(ex-info (deferred-tr* ...))` * Appease clj-kondo * Remove unused reference
-
- Jun 17, 2022
-
-
Natalie authored
-
Aleksandr Lesnenko authored
* override product voice * review
-
Ariya Hidayat authored
-
Natalie authored
-
Natalie authored
-
Aleksandr Lesnenko authored
-
Nemanja Glumac authored
-
Mahatthana (Kelvin) Nomsawadi authored
* Remove unused file * Fix user name not showing in admin audit * Fix receiving wrong prop name * Fix collection UI broken when showing editor's long email
-
Ariya Hidayat authored
-
- Jun 16, 2022
-
-
Cal Herries authored
* Remove extra whitespace in defendpoint * [ci nocache] Co-authored-by:
Luis Paolini <paoliniluis@gmail.com>
-
dpsutton authored
MBQL goes through a different path. This is only for native queries. Also the diff is huge. Ignoring whitespace shows a very modest diff: ```diff "month" {:unit-range month-range :to-period t/months} + "quarter" {:unit-range relative-quarter-range + :to-period (comp t/months (partial * 3))} "year" {:unit-range year-range :to-period t/years}}) ... "past2months~" {:end "2016-06-30", :start "2016-04-01"} "past13months" {:end "2016-05-31", :start "2015-05-01"} + "past2quarters" {:end "2016-03-31", :start "2015-10-01"} + "past2quarters~" {:end "2016-06-30", :start "2015-10-01"} "past1years" {:end "2015-12-31", :start "2015-01-01"} "past1years~" {:end "2016-12-31", :start "2015-01-01"} ``` Helpful Testing Strategies -------------------------- Sample DB ========= `select id, created_at from orders where {{created_at}}` and set a field filter of type "Date Filter" Custom Table ============ Create a table that has entries in the middle of each quarter. ```sql esting=# create table quarters (id serial primary key not null, description text, t timestamptz); CREATE TABLE testing=# insert into quarters (description, t) values ('Q1 2022', '2022-02-01'), ('Q2 2022', '2022-05-01'), ('Q3 2022', '2022-08-01'), ('Q4 2022', '2022-11-01'); INSERT 0 4 testing=# select * from quarters; id | description | t ----+-------------+------------------------ 1 | Q1 2022 | 2022-02-01 00:00:00-06 2 | Q2 2022 | 2022-05-01 00:00:00-05 3 | Q3 2022 | 2022-08-01 00:00:00-05 4 | Q4 2022 | 2022-11-01 00:00:00-05 (4 rows) ``` Before this change ------------------ > Cannot invoke "clojure.lang.IFn.invoke(Object)" because "to_period" is null (note, if you cannot reproduce this its because you haven't gotten https://github.com/metabase/metabase/pull/23346 in your local version which ensured errors always appear as errors on the frontend. java 11 has no message for NPE so the Frontend missed it was an error and displayed no results as if the query had succeeded) This was the case for the following scenarios: - "last1quarters" - "last1quarters~" - "thisquarter" - "next1quarters" - "next1quarters~" where the ~ means to include the current quarter. After this change ----------------- Running the queries against the custom table I made (current time is Jun 15, Q2) - "last1quarters": "Q1 2022" "February 1, 2022, 6:00 AM" - "last1quarters~": "Q1 2022" "February 1, 2022, 6:00 AM" | "Q2 2022" "May 1, 2022, 5:00 AM" - "thisquarter": "Q2 2022" "May 1, 2022, 5:00 AM" - "next1quarters" "Q3 2022" "August 1, 2022, 5:00 AM" - "next1quarters~": "Q2 2022" "May 1, 2022, 5:00 AM" | "Q3 2022" "August 1, 2022, 5:00 AM" And of course added tests into the matrix for the date parsing.
-
jkeys089 authored
* improved support for Google Cloud SQL * upgrade `postgres-socket-factory` and add license overrides * fix license check Co-authored-by:
Cam Saul <1455846+camsaul@users.noreply.github.com>
-
Braden Shepherdson authored
-
Dalton authored
* First pass at NumberWidget * Share styled components * Remove TokenField prop for now * Second pass * Add to ParameterValueWidget * Add placeholder text * Rename to NumberInputWidget * Only use new widget for field filter parameters for now * Fix placeholder * Fix button text * Fix placeholder text * Add unit tests * Fix type
-
Dalton authored
Fix unit tests Update name to match dashboard util fn name
-
Dalton authored
* refactor dashboard utils Fix e2e test * rmv unused arg
-