Commit Graph

120 Commits

Author SHA1 Message Date
mike12345567 186aeeec2d Adding the ability to store environment variables to context, to make them more easily available/re-usable, as well as exposing them to queries. 2023-01-13 19:53:46 +00:00
mike12345567 da2b921156 Replacing some require statements with imports. 2023-01-11 19:07:01 +00:00
mike12345567 a7bcfe387c Adding in basic implementation of variable usage, getting from pro and enriching through new datasource SDK. 2023-01-11 17:57:51 +00:00
melohagan 033094cf30
SQL server relationship fix for tables in schema (#9103)
* Add schema to LEFT JOIN

* lint
2022-12-19 18:12:05 +00:00
mike12345567 47d782ad28 Final fix for #8882 - adding text to show the error - as well as fixing an issue with many to many updating correctly. 2022-12-02 17:28:37 +00:00
mike12345567 6f6d000cb8 Finally removing all usages of backend-core/ type imports from server, including some further typescript conversions. 2022-11-22 19:49:59 +00:00
Dean ad13bbb25c Renamed the 'Scanned Code' field type to 'Barcode/QR'. The component is also now listed as 'Barcode/QR Scanner'. Minor fix to include longform text columns in the table csv import list 2022-10-07 11:00:25 +01:00
Dean 4b5fa6a093 Review feedback changes. Changed 'Code' labelling to 'Scanned Code' 2022-10-06 13:02:17 +01:00
Dean 5836c2b3c4 Initial commit of QR Reader field 2022-10-05 09:28:07 +01:00
Michael Drury 87197b61af
Merge pull request #7574 from Budibase/bug/sev4/delete-formula-column
Exclude formula columns from Sql drop column
2022-09-13 11:27:59 +02:00
Mel O'Hagan 52947e4417 Exclude formula columns from Sql drop column 2022-09-01 17:21:42 +01:00
mike12345567 3388008f0b Adding custom datasources to UI. 2022-08-15 18:38:09 +01:00
mike12345567 2904b1a5db Merge branch 'develop' of github.com:Budibase/budibase into feature/multiselect-filters 2022-08-15 12:24:41 +01:00
mike12345567 2fbf39947a Merge branch 'master' of github.com:Budibase/budibase into develop 2022-08-11 16:28:46 +01:00
mike12345567 b920f8cb05 Replacing all plural TS enumerations with singular - this involves a major rename of the DocumentTypes. 2022-08-11 13:50:05 +01:00
mike12345567 5dce4fc16a Moving all datasource types around - this is needed to make the SDK/Document types more accesible for the development datasource plugins. 2022-08-11 11:48:58 +01:00
mike12345567 df074c6004 Fixing test cases. 2022-08-03 18:20:07 +01:00
mike12345567 5eeb2ea600 Updating the filter system to allow adding multiple filter properties of the same name at once, as well as enabling the use of the allOr property from within the UI - resolves an old issue #2585. 2022-08-02 18:34:58 +01:00
Mel O'Hagan 432a8eb1b7 Has any support SQL Server 2022-07-28 09:20:00 +01:00
Mel O'Hagan 600794de66 SQL Server containsAny unit test 2022-07-27 16:40:07 +01:00
Mel O'Hagan 9369498d38 Has any of filter Postgres 2022-07-27 16:37:29 +01:00
Mel O'Hagan 804d1ef8f6 Has any of MySQL filter 2022-07-27 13:19:47 +01:00
Mel O'Hagan d9823faac6 Not Contains for SQL Server 2022-07-27 11:56:57 +01:00
Mel O'Hagan 54643cff58 Not Contains Postgres filter 2022-07-27 11:49:45 +01:00
Mel O'Hagan 8d7fe78028 Not Contains filter for MySQL 2022-07-27 11:40:46 +01:00
Mel O'Hagan 4135c4ce59 Fix unit tests 2022-07-26 16:58:01 +01:00
Mel O'Hagan 91f906877f Has all of SQLServer 2022-07-26 16:45:05 +01:00
Mel O'Hagan 3d263f3927 MySQL has all of 2022-07-26 16:16:46 +01:00
Mel O'Hagan f436c50b5b Postgres has all of 2022-07-26 15:59:49 +01:00
Mel O'Hagan 6b81d3d727 Handle numeric types Postgres 2022-07-19 18:34:30 +01:00
Mel O'Hagan cd0bac74e2 Prettier 2022-07-19 18:04:27 +01:00
Mel O'Hagan e5dc38845b Added contains support for datasource pluses 2022-07-19 17:25:41 +01:00
Mel O'Hagan 65aab29ee6 Don't try to check externalType of related tables 2022-07-05 16:59:32 +01:00
Mel O'Hagan 688a46f75e Added Knex.Raw to return type 2022-06-23 13:09:22 +01:00
Mel O'Hagan 1d6f780c72 Refactor - simplify regex and use enum 2022-06-23 09:41:43 +01:00
Mel O'Hagan 0fb46ca465 Only cast money as numeric for Postgres 2022-06-22 16:13:02 +01:00
Mel O'Hagan bc72b63579 Use raw sql to get money type as numeric 2022-06-22 15:58:15 +01:00
Andrew Kingston f2e3b2efa8 Apply timezones patch from existing ignore-timezones branch 2022-06-07 08:31:00 +01:00
mike12345567 13ec670295 Fix for #5669 comment, when using SQL tables with spaces in names, we use a raw knex function for like to achieve lower case searching, this needs to handle spaces in columns and delimiting. 2022-05-04 16:13:54 +01:00
Rory Powell 0ee41ea10c Merge branch 'master' into merge-master 2022-03-25 13:10:37 +00:00
mike12345567 d52f6dea05 Adding the ability to expand the max number of rows retrieved by SQL queries (say for table exports). 2022-03-21 17:44:43 +00:00
Andrew Kingston bf29fa43b4 Merge branch 'develop' of github.com:Budibase/budibase into fix/date-filtering 2022-03-15 11:44:04 +00:00
Michael Drury 05836272dd Adding a mechanism to concat strings in queries, there was a problem when char const strings were wrapping bindings, this should find instances of that and replace with a datasource specific method of concating the constant with the variable. 2022-03-11 00:19:26 +00:00
Andrew Kingston 7a1b362515 Update date filtering to only use a between statement when 2 dates are provided 2022-03-10 10:18:03 +00:00
mike12345567 1357c53ff8 Fixing issue #4811 - when renaming SQL columns use an actual rename alteration rather than dropping the column. 2022-03-07 16:31:35 +00:00
mike12345567 0f1b7b18d5 Making sure that tables are created within the correct schema for MS-SQL. 2022-03-04 15:50:19 +00:00
mike12345567 a7e3389790 Adding the ability to support schemas in MS-SQL. 2022-03-04 15:12:07 +00:00
Michael Drury 94041ced55 Changing how SQL vars are generated so that when new SQL implementations are added they must implement a generation mechanism. 2022-03-02 22:45:10 +00:00
mike12345567 407aa2d49b Fix for #4431 - converting SQL joins back to left joins, syntax specifying join type as string is old which doesn't work in latest versions of knex. 2022-02-11 17:28:57 +00:00
mike12345567 b9de2c1897 Fix for #3928 - error invalid use of FETCH was based on a lack of sorting on MS-SQL platforms, this enforces a sort of some type no matter what. 2022-02-04 16:17:36 +00:00