1
0
Fork 0
mirror of synced 2024-10-02 18:16:29 +13:00
Commit graph

315 commits

Author SHA1 Message Date
mike12345567
1f6644fc07 Fixing issue with datasource deletion not navigating if was on data source plus table and fixing #3523 where relationships would cause sorting to breaking postgres/oracle. 2021-11-24 18:20:52 +00:00
mike12345567
05a8b47db9 Fix for issue #3327 - may not solve issue with mariaDB but works for MySQL. 2021-11-24 17:03:34 +00:00
Rory Powell
b631c8c624 Add returning 2021-11-23 13:27:38 +00:00
Rory Powell
3793c1784a Update locks, ignore oracle imports on m1 2021-11-22 15:26:31 +00:00
Rory Powell
2edb24fa86 Use global sql type map, update base integration type defs 2021-11-22 11:38:17 +00:00
Rory Powell
85ef7838af Merge branch 'develop' into oracle-datasource 2021-11-22 11:07:11 +00:00
Rory Powell
c36df3ad18 Merge branch 'oracle-datasource' into oracle-datatasource-plus 2021-11-22 10:50:34 +00:00
Rory Powell
56d8b29962 Merge branch 'develop' into oracle-datasource 2021-11-22 10:47:48 +00:00
mike12345567
854cfd243d Fix for #2420 - don't allow columns which are considered invalid/not allowed. 2021-11-18 18:33:35 +00:00
Rory Powell
cb3495c831 Boolean support and linting 2021-11-18 13:35:22 +00:00
Rory Powell
1be2d006db Tests 2021-11-18 12:05:30 +00:00
Rory Powell
681cb1bbbc Detect auto columns 2021-11-18 10:49:53 +00:00
Rory Powell
1d53581f17 Datatypes working 2021-11-17 16:41:00 +00:00
Rory Powell
a2ea5e730f First pass end-to-end working 2021-11-17 14:34:16 +00:00
Michael Drury
361589d18a
Merge pull request #3338 from Budibase/feature/query-rbac-timeouts
Query RBAC, query and automation threading/timeouts
2021-11-17 11:39:09 +00:00
mike12345567
0cf612029e Linting and updating csv parser test case to match new functionality. 2021-11-12 19:39:12 +00:00
mike12345567
86eec3bb52 Some UI work, as well as moving SQL to using a proper bulk insert method and fixing an issue found with csv parsing and removing of invalid columns. 2021-11-12 19:24:56 +00:00
mike12345567
2dee1d6cff Fixing issues dsicovered by automation test cases, as well as disabling threading for test scenarios. 2021-11-11 16:20:30 +00:00
mike12345567
f5e2e2baca Fixing an issue with filtering by dates in SQL, where the lucene dates provided don't convert cleanly to JS dates. 2021-11-11 15:36:21 +00:00
mike12345567
ad68b895e1 Merge branch 'develop' of github.com:Budibase/budibase into feature/query-rbac-timeouts 2021-11-11 13:50:42 +00:00
mike12345567
2e61209291 Adding worker-farm back to have a mechanism to run queries within which we can timeout. 2021-11-10 19:35:09 +00:00
mike12345567
02137f4c08 Adding a way to switch between string and options, as well as number and boolean types, this is very useful for SQL tables. 2021-11-10 15:01:44 +00:00
Rory Powell
edb012fcc7
Merge pull request #3178 from Budibase/postgres-schema
Postgres: Use another schema other than 'public'
2021-11-10 10:03:25 +00:00
Rory Powell
351dbd0c27 Tidy imports 2021-11-09 17:55:10 +00:00
Rory Powell
b2cdf00d7e Tidy and remove unused fields 2021-11-09 17:52:26 +00:00
Rory Powell
d786aaf81c Remove comments 2021-11-09 17:33:29 +00:00
mike12345567
28b4adc2b3 Reworking MS-SQL test case to be able to get the sql now with a request being made for each internal query, rather than just at connection. 2021-11-09 11:16:12 +00:00
Rory Powell
5257fe7bf7 Integrate with UI 2021-11-08 22:08:47 +00:00
mike12345567
0e499fd60d Some refactoring to make it easier to find specific edge cases of sql clients. 2021-11-08 18:12:40 +00:00
mike12345567
15907280b2 Fixing #3182 so that sorting is disabled for certain column types that we cannot use, as well as fixing some issues with MS-SQL plus tables. 2021-11-08 17:25:05 +00:00
mike12345567
94263b8496 Merge branch 'develop' of github.com:Budibase/budibase into feature/mssql-plus 2021-11-08 14:43:28 +00:00
mike12345567
c1e23c0153 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-08 14:00:47 +00:00
mike12345567
c22356fb4d Fixing an issue with relationship modal breaking when multiple data sources available to relate to, also fixing an pile of issues with creating and reading rows from SQL server plus. 2021-11-05 18:55:36 +00:00
Rory Powell
5c8ad247f8 Merge branch 'develop' into postgres-schema 2021-11-05 14:07:39 +00:00
Rory Powell
ab1fb07f86 Add oracledb package, readme, and config 2021-11-05 13:56:54 +00:00
mike12345567
948ec067d5 Updating underlying sql to not use ilike unless in postgres client. 2021-11-05 13:48:13 +00:00
mike12345567
ed89efba70 Cleaning up repeated work in sql server building of schema. 2021-11-05 12:41:26 +00:00
mike12345567
974cf7b27e Linting and updating SQL Server schema generation to include auto column and primary key recognition. 2021-11-05 12:33:48 +00:00
mike12345567
cadb05923e Merge branch 'develop' of github.com:Budibase/budibase into feature/mssql-plus 2021-11-05 10:58:04 +00:00
Martin McKeaveney
1c237d8dc6
Merge pull request #3187 from Budibase/fix/safari-bug
Fix budibase builder preview on safari
2021-11-04 17:22:02 +01:00
Martin McKeaveney
5ebeb6814d refactor switch into a key value handler object
tidy up - remove logs and comments

update windowed modals to use postMessage
2021-11-04 17:21:17 +01:00
Rory Powell
b78388f771 Add stub integration file and docker compose config 2021-11-04 14:54:35 +00:00
mike12345567
24b2036e09 Fixing rest test mocking. 2021-11-03 15:45:19 +00:00
mike12345567
aebd39d874 Fixing REST PUT using POST as per #3227. 2021-11-03 13:12:20 +00:00
mike12345567
67ed3dac19 Fixing some issues with MySQL and dropping foreign key constrained columns. 2021-11-02 13:36:23 +00:00
mike12345567
5d0ce3bf89 Adding mysql support. 2021-10-29 18:43:50 +01:00
mike12345567
0cf08df80f Adding many to many support, generating junction table and setting up constraints. 2021-10-29 18:37:29 +01:00
mike12345567
eb8fde5c95 Fixing a lot of issues around dropping columns, updating columns, relationships and bi-directionality, display columns now default to something for SQL tables as well. 2021-10-29 13:34:10 +01:00
mike12345567
246d08c804 SQL table building. 2021-10-28 19:39:42 +01:00
mike12345567
51dcdf0697 First version of schema generation for ms-sql, able to retrieve basic tables and rows. 2021-10-27 18:36:27 +01:00
Rory Powell
5b06aa082c Remove whitespace 2021-10-27 17:23:52 +01:00
Rory Powell
60f8bc0450 Update tests 2021-10-27 17:21:29 +01:00
Rory Powell
1ffab7f5d6 Postgres: Use another schema other than 'public' 2021-10-27 16:21:19 +01:00
mike12345567
015b2a8f56 Fixing #2820 - SQL system no longer includes tables without a primary key constraint and it displays an error to handle this. 2021-10-26 20:03:54 +01:00
Martin McKeaveney
7882862a65 enable collapsible nodes in component tree 2021-10-21 16:24:58 +01:00
Martin McKeaveney
b1f04a0f6b
Merge branch 'develop' into fix/postreleasefixes2 2021-10-21 16:00:48 +01:00
Martin McKeaveney
62a6c5e2b9 upgrade to mysql2 package 2021-10-21 14:47:35 +01:00
mike12345567
d20eb464b0 Fixes issue #2417 in the backend, looks for fields which could contain a key value and if they do it will resolve them down to the ID field value. 2021-10-18 17:54:34 +01:00
Michael Drury
34d5bca7c6
Merge pull request #3025 from Budibase/fix/quick-fixes
Fixing refresh on wrong password and setting hard SQL limits
2021-10-18 09:20:29 +01:00
mike12345567
89be613c40 Setting a hard limit on how many rows can be returned by the SQL plus queries. 2021-10-15 17:52:06 +01:00
mike12345567
33e5946f59 Fixing an issue with mongo test failing in Node 16 due to unhandled promise rejections. 2021-10-14 16:37:11 +01:00
Martin McKeaveney
ed9574b815 tidy up 2021-10-12 20:19:32 +01:00
Martin McKeaveney
2674f1992f Merge branch 'develop' of github.com:Budibase/budibase into fix/postrelease 2021-10-12 16:50:37 +01:00
Martin McKeaveney
88f42fb221 remove random files 2021-10-12 16:14:49 +01:00
Martin McKeaveney
14370c81b9 SSL support for digitalocean, started utility function for BB logout, bunch of minor bug fixes 2021-10-12 16:13:54 +01:00
Martin McKeaveney
eb64cb9b07
Merge pull request #2894 from mslourens/update_rest_url_with_slash_questionmark
add a slash before the path and a questionmark before the querystring
2021-10-11 22:05:45 +01:00
mike12345567
1fbd84b629 Making sure creation of SQL rows don't pass down null columns (no point). 2021-10-06 17:55:03 +01:00
mike12345567
3878cf76cd Fixing issue #2788 - making client side queries and SQL queries consistent with internal table ones. 2021-10-06 17:38:32 +01:00
Maurits Lourens
53cfb8dc9c fix tests 2021-10-05 13:38:03 +02:00
Maurits Lourens
42d5140c7f add a slash before the path and a questionmark before the querystring 2021-10-05 12:20:09 +02:00
mike12345567
a343805fee Fix for many to many relationships where the union table has arbituarily named foreign key constraint columns, an example has been provided in the scripts directory. 2021-10-01 17:16:43 +01:00
Mike Shanks
fe6ea329f1 added awaits to all mongo querys 2021-09-30 15:05:15 +01:00
Martin McKeaveney
c6d1fd3165
Merge pull request #2716 from mslourens/custom_schema_support
Retrieve all columns from all not internal tables
2021-09-29 09:19:33 +01:00
Martin McKeaveney
9bbb230aa6 merge with develop 2021-09-27 16:37:55 +01:00
Martin McKeaveney
5b1ae778da fallback SMTP configuration for cloud 2021-09-27 14:57:22 +01:00
mike12345567
ba2f6ee120 Fixing issue discovered by test case. 2021-09-27 13:17:31 +01:00
Martin McKeaveney
97cd3756f7 Merge branch 'develop' of github.com:Budibase/budibase into cloud-limits 2021-09-27 12:53:15 +01:00
mike12345567
1f474ca106 Minimal fix for issue involving JSON views and newlines with postgres, this fix couldn't be more over-arching as it risked breaking new lines across the board. Have included a script for setting up the test scenario as well. This fixes issue #2612. 2021-09-24 18:10:30 +01:00
Martin McKeaveney
b161be85ae automation runs quotas 2021-09-23 23:25:25 +01:00
mike12345567
7c7266a547 Fixing SQL test cases. 2021-09-23 16:56:13 +01:00
mike12345567
1952dc308e Fixes issue #2616 - this is a slightly complex fix and handles a few other issues with mysql (around returning on creation of a row and relationships) - a new mechanism is now used for pagination and limiting which makes sure the limits are applied to the outer table rather than the combination of the outer and the joined. 2021-09-23 16:35:09 +01:00
Martin McKeaveney
8b67d675c1
Merge pull request #2715 from mslourens/extend_postgres_data_types
Extend Postgres data type map
2021-09-23 12:25:03 +01:00
Maurits Lourens
baed83c406 Retrieve all columns from all not internal tables 2021-09-23 11:11:00 +02:00
Maurits Lourens
2b2a78e155 Extend Postgres data type map 2021-09-23 09:54:58 +02:00
mike12345567
f70cee3c52 Fixing issue #2673 - discovered issues with some column types not being worked out to be auto-columns in postgres. 2021-09-22 17:46:54 +01:00
Martin McKeaveney
2e192f8acd
Merge pull request #2551 from mslourens/fix_uppercase_database_name
fix fetching tables from database with uppercase name
2021-09-15 09:53:40 +01:00
Martin McKeaveney
c39abe4081 merge with master 2021-09-06 16:13:17 +01:00
Maurits Lourens
5cd0c1c691 fix fetching tables from database with uppercase name 2021-09-06 12:33:03 +02:00
mike12345567
f9fd725307 Fixing issues discovered by test cases. 2021-09-03 11:06:44 +01:00
mike12345567
c64fb81749 Fixing issues after upgrading to node 14 and circular dependencies causing issues. 2021-09-02 18:33:41 +01:00
mike12345567
811ba19558 Fixing issues with SQL many relationship updates. 2021-09-01 19:40:47 +01:00
Martin McKeaveney
2887a42f7a prevent relationships getting overridden in mySQL connector 2021-08-31 14:44:33 +01:00
Maurits Lourens
07383b2064 add patch method to the rest api interface 2021-08-30 22:55:12 +02:00
Martin McKeaveney
7817c8f068 merge package updates 2021-08-26 14:13:30 +01:00
Martin McKeaveney
641a9c8a34 make SQL startsWith queries case insensitive 2021-08-20 15:20:52 +01:00
mike12345567
34397c2e14 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-08-06 13:04:54 +01:00
Michael Drury
eaa01e08dd
Merge pull request #2286 from Budibase/fix/relationships-2167
Some fixes for internal and external relationships
2021-08-06 12:51:44 +01:00
mike12345567
7c7e3da2ab Fixing test cases. 2021-08-06 12:33:04 +01:00
Martin McKeaveney
e3abd97d67 fix sql server integration 2021-08-05 22:15:40 +01:00
mike12345567
a64ce3f55a Fixing issues with many to many relationships in SQL, sometimes not creating right relationships. 2021-08-05 19:49:30 +01:00