Commit Graph

26136 Commits

Author SHA1 Message Date
Conor Webb 7d256d235a
Enum columns unexpectedly breaking fix (#13756)
* Added enum to SQL_MISC_TYPE_MAP to correctly map to FieldType.OPTIONS

* improve enum values extraction for multiple single-select support

* Tests to ensure enums are typed correctly MySQL and Postgres

* Fixed linting issue

* Ran prettier
2024-05-23 14:31:11 +00:00
Adria Navarro cf43530e1c
Merge branch 'master' into BUDI-8279/time-constrains 2024-05-23 15:33:50 +02:00
Adria Navarro 43acea931a Ensure iso time config still work 2024-05-23 15:23:02 +02:00
Adria Navarro b8400294d5 Add extra tests 2024-05-23 14:59:51 +02:00
Adria Navarro d1ef9067dc Allow range crossing midnight 2024-05-23 14:59:51 +02:00
Adria Navarro 5b80e4fb6e Add more tests 2024-05-23 14:59:51 +02:00
Adria Navarro d58c144dce Add extra tests 2024-05-23 14:59:51 +02:00
Adria Navarro fb06254964 Extra tests 2024-05-23 14:59:51 +02:00
Adria Navarro bed18615b5 Add basic tests 2024-05-23 14:59:51 +02:00
Adria Navarro e169454490 Move utils to backend-core 2024-05-23 14:59:51 +02:00
Adria Navarro 402426a5f3 Validate time only field constrains 2024-05-23 14:59:51 +02:00
Adria Navarro ac92aaeab3 Extract HH:mm 2024-05-23 14:59:51 +02:00
Adria Navarro 9b3f467a52 Time-date only on constraint settings 2024-05-23 14:59:51 +02:00
Adria Navarro c7a4179c40
Merge branch 'master' into BUDI-8279/prevent-changing-date-or-time-only-when-fetched 2024-05-23 13:00:27 +02:00
Adria Navarro 2626c1a721 Send right time 2024-05-23 11:39:45 +02:00
Adria Navarro f6146c4974 Validate time only fields 2024-05-23 11:39:45 +02:00
Adria Navarro 028afd9cca Fix checks 2024-05-23 11:34:58 +02:00
Adria Navarro b3bea1e839 Block timeOnly changes in the api 2024-05-23 10:40:33 +02:00
Adria Navarro 2cc329994a Don't allow chaning time only to datetime 2024-05-23 10:40:33 +02:00
Sam Rose a9e2e151fc
Merge branch 'delete-sql-spec-ts-2' of github.com:budibase/budibase into delete-sql-spec-ts-2 2024-05-22 16:58:04 +01:00
Sam Rose 6e9305432f
Merge branch 'master' into delete-sql-spec-ts-2 2024-05-22 16:57:43 +01:00
Sam Rose 46e310018e
Fix tests. 2024-05-22 16:57:27 +01:00
Adria Navarro 5bda559aa3
Merge branch 'master' into BUDI-7221/date-only-type-in-mysql 2024-05-22 15:56:11 +02:00
Sam Rose 36f1b2b02b
Merge branch 'master' of github.com:budibase/budibase into delete-sql-spec-ts-2 2024-05-22 14:03:37 +01:00
Sam Rose 7aade03ed2
Merge branch 'delete-sql-spec-ts-2' of github.com:budibase/budibase into delete-sql-spec-ts-2 2024-05-22 14:02:16 +01:00
Sam Rose b6e3e7659c
Remove extraneous comment. 2024-05-22 14:01:59 +01:00
Adria Navarro 4e67e05ad1 Save date only as date 2024-05-22 14:35:19 +02:00
Adria Navarro eac426f3c0 Return date only as dates 2024-05-22 12:04:55 +02:00
Andrew Kingston 3cf3dd3afa Small tweak to JS bindings 2024-05-22 10:45:03 +01:00
Sam Rose e53dddfdf0
Merge branch 'master' into delete-sql-spec-ts-2 2024-05-22 10:35:16 +01:00
Andrew Kingston 41ab3685be Remove log 2024-05-22 10:16:19 +01:00
Andrew Kingston 96aa83d454 Change how empty JS values are handled to avoid weird lockup 2024-05-22 10:15:09 +01:00
Andrew Kingston 1a47365d39 Don't save empty JS expressions as JS 2024-05-22 10:04:54 +01:00
Andrew Kingston 7a6863763a Allow opening app nav links in new tabs 2024-05-22 09:53:44 +01:00
Andrew Kingston 279d65e258
Merge branch 'master' into cheeks-fixes 2024-05-22 09:35:51 +01:00
Andrew Kingston c89a7a261f Ensure in-app navigation via navigate to action automatically prefixes URLs with slashes 2024-05-22 09:35:27 +01:00
Adria Navarro 8bcc3d2a7a
Merge branch 'master' into budi-8195/unable-to-load-grid-when-using-external-postgres 2024-05-22 10:23:41 +02:00
Andrew Kingston c726dfbedb Add link in navigation when duplicating screens 2024-05-22 09:22:06 +01:00
Adria Navarro a920161e92 Fix tests 2024-05-21 22:02:47 +02:00
Adria Navarro c5e185761e
Merge branch 'master' into budi-8195/unable-to-load-grid-when-using-external-postgres 2024-05-21 21:46:16 +02:00
mike12345567 a5c5e2ffcd Fixing issue discovered by test with 1: syntax being required for relationship based filters. 2024-05-21 18:39:46 +01:00
Andrew Kingston bf79601af8
Merge branch 'master' into prefill-cards 2024-05-21 17:39:43 +01:00
Sam Rose 0561ca6e1b
Remove date leniency. 2024-05-21 17:39:33 +01:00
Sam Rose 7f7ed9f0cb
Move more tests out of sql.spec.ts. 2024-05-21 17:38:38 +01:00
Andrew Kingston 35c52203ce Add tests for enriching empty card block settings 2024-05-21 17:29:32 +01:00
Adria Navarro f14e6d014c
Merge branch 'master' into budi-8195/unable-to-load-grid-when-using-external-postgres 2024-05-21 16:55:00 +02:00
Sam Rose 99debcbc34
Merge branch 'master' into optimise-aliasing 2024-05-21 15:53:28 +01:00
Adria Navarro d93a9e2c4f Fix value from null 2024-05-21 16:52:40 +02:00
Sam Rose 7bbb920aa7
Optimise the `reverse` method in sqlAlias.ts. 2024-05-21 15:49:48 +01:00
Adria Navarro 7ebdb0fbcc
Merge branch 'master' into budi-8195/unable-to-load-grid-when-using-external-postgres 2024-05-21 16:37:44 +02:00