Commit Graph

633 Commits

Author SHA1 Message Date
mike12345567 329156d6cc 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
mike12345567 5e846ac64d 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 c210802b4c 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 8b8c923541 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
Rory Powell 0ddd689b89 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
mike12345567 ac1d6ee23e 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 9301406bcd 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 3b3862bd01 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
Martin McKeaveney d573eb464a 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
mike12345567 dd75d236c0 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
Michael Drury 7a33a666b4 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 fd894897ca 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
mike12345567 a366e8a568 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 11e64b0ffe 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 b38704978a 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 03ba725fbc 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 ec26d5c738 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
Martin McKeaveney e66dd5933a 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 ab03435c84 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
mike12345567 3cea3dd510 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 dbf747f749 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
Maurits Lourens 8709fb2f0b 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
mike12345567 80e7671444 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
Mike Shanks 0c0ac7ed05 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 b4b90de2d6 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 bd1f6752ff 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
Martin McKeaveney 35d4eac78a 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
mike12345567 704c889151 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
Martin McKeaveney 3b49866825 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
mike12345567 32bdc4a991 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
Martin McKeaveney c49b88b57a 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 5d8f348fc2 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
mike12345567 67212e5c5b 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
Martin McKeaveney ec30a0b0b0 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 99644b0cd8 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
Maurits Lourens 27cdde679c 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
mike12345567 e92b0e0c94 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 8b4861f27c 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
Martin McKeaveney bcb5cb1d77 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
Maurits Lourens 4d4d6aa27b 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 0b0da47778 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 8c3eb30ab1 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
mike12345567 a9e2336036 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
Martin McKeaveney 83db9754d5 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
Maurits Lourens 3e7369b1cb 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 b8d10a2b6d 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
Martin McKeaveney e7f8454ad7 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
mike12345567 bc84bab52c 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
Michael Drury ae18e3408e 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
mike12345567 29817892a8 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
Martin McKeaveney 9751e84bed 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
mike12345567 5a0ef45c29 Fixing issues with many to many relationships in SQL, sometimes not creating right relationships. 2021-08-05 19:49:30 +01:00
mike12345567 3744c9093b Fixing a variety of issues with internal relationships and external SQL relationships. 2021-08-05 19:24:29 +01:00
mike12345567 7624390f0b Fixing a variety of issues with internal relationships and external SQL relationships. 2021-08-05 19:24:29 +01:00
mike12345567 e7e6f41555 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-08-04 15:00:50 +01:00
mike12345567 57f46bfdb4 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-08-04 15:00:50 +01:00
mike12345567 2fed177f3c Fix for #2250, strings were being parsed for numbers which was causing the issue for strings starting with numbers, using the table schema to determine is parsing necessary. 2021-08-04 14:46:21 +01:00
mike12345567 f4a3d2ff3b Fix for #2250, strings were being parsed for numbers which was causing the issue for strings starting with numbers, using the table schema to determine is parsing necessary. 2021-08-04 14:46:21 +01:00
Martin McKeaveney fac820f204 fix mongo code review comment 2021-07-29 10:11:52 +01:00
Martin McKeaveney 0f1bb2ccff fix mongo code review comment 2021-07-29 10:11:52 +01:00
Martin McKeaveney 44cdcdf38e
Merge pull request #1963 from faroutchris/feature/query-mongo-collection
Feature/query mongo collection
2021-07-29 10:10:52 +01:00
Martin McKeaveney 7ba17204c5 Merge pull request #1963 from faroutchris/feature/query-mongo-collection
Feature/query mongo collection
2021-07-29 10:10:52 +01:00
mike12345567 ccb0e1b354 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-14 13:54:39 +01:00
mike12345567 3eb82b5a63 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-14 13:54:39 +01:00
Martin McKeaveney eba8f104fd fix postgres query array value 2021-07-13 17:11:11 +01:00
Martin McKeaveney 7e5c4be14f fix postgres query array value 2021-07-13 17:11:11 +01:00
mike12345567 c6d80e2265 Adding float type to MySQL. 2021-07-12 11:10:11 +01:00
mike12345567 7aca56f019 Adding float type to MySQL. 2021-07-12 11:10:11 +01:00
mike12345567 dc32c90aaa Fixing some issues discovered with the new SQL connectors were the input type would always be string (causing some SQL types to break) - parsing these before input to attempt to fix this problem - issue referenced in #1943. 2021-07-12 10:51:30 +01:00
mike12345567 184df6c685 Fixing some issues discovered with the new SQL connectors were the input type would always be string (causing some SQL types to break) - parsing these before input to attempt to fix this problem - issue referenced in #1943. 2021-07-12 10:51:30 +01:00
Christo 4b48ea94e4 Test: Add some basic tests for mongodb queries 2021-07-09 20:08:26 +02:00
Christo 8579d1872c Test: Add some basic tests for mongodb queries 2021-07-09 20:08:26 +02:00
Christo c6b1ea9a0f Feat: Add collection fields as "extra" query config for MongoDB 2021-07-09 19:28:46 +02:00
Christo 4096f4857c Feat: Add collection fields as "extra" query config for MongoDB 2021-07-09 19:28:46 +02:00
mike12345567 fd6080b39e Making sure that keys cannot be duplicated for primary keys, this wouldn't have any function. 2021-07-06 15:45:14 +01:00
mike12345567 ede0a5ec9b Making sure that keys cannot be duplicated for primary keys, this wouldn't have any function. 2021-07-06 15:45:14 +01:00
mike12345567 a9c6b10560 Quick fix, make sure auto-columns never sent to DB. 2021-07-06 13:55:05 +01:00
mike12345567 6648e548c5 Quick fix, make sure auto-columns never sent to DB. 2021-07-06 13:55:05 +01:00
mike12345567 6a8fd12805 Linting. 2021-07-05 18:16:04 +01:00
mike12345567 b216c03e44 Linting. 2021-07-05 18:16:04 +01:00
mike12345567 4e4b8f244e Giving the system the ability to make auto increment columns auto-columns in postgres or mysql. 2021-07-05 18:11:23 +01:00
mike12345567 8550d00751 Giving the system the ability to make auto increment columns auto-columns in postgres or mysql. 2021-07-05 18:11:23 +01:00
mike12345567 c10e2da4f5 Fixing issue with TS definitions. 2021-07-05 17:33:36 +01:00
mike12345567 eaf808b190 Fixing issue with TS definitions. 2021-07-05 17:33:36 +01:00
mike12345567 13fab4ba60 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-05 17:17:32 +01:00
mike12345567 e7d6298647 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-05 17:17:32 +01:00
mike12345567 abc19bc2c1 Linting. 2021-07-05 15:16:32 +01:00
mike12345567 ca1c48232b Linting. 2021-07-05 15:16:32 +01:00
mike12345567 b4d91769cc Fixing issue with single quotes in strings breaking JSON parsing. 2021-07-05 15:14:45 +01:00
mike12345567 16581552cb Fixing issue with single quotes in strings breaking JSON parsing. 2021-07-05 15:14:45 +01:00
mike12345567 e170d9d146 Re-writing a bit so that it is aware some functionality is SQL only, makes future plus endpoints easier. 2021-07-03 11:15:01 +01:00
mike12345567 11f6abee0a Re-writing a bit so that it is aware some functionality is SQL only, makes future plus endpoints easier. 2021-07-03 11:15:01 +01:00
mike12345567 579bce8a6a Fixing little UI bugs. 2021-07-03 10:26:37 +01:00
mike12345567 71f96f9601 Fixing little UI bugs. 2021-07-03 10:26:37 +01:00
mike12345567 922e209c72 Updating server test cases. 2021-07-02 14:49:47 +01:00
mike12345567 fcf4dbc7a1 Updating server test cases. 2021-07-02 14:49:47 +01:00
mike12345567 f2beac85b7 Implementing UI to support the backend put in place. 2021-07-02 14:33:05 +01:00
mike12345567 10730d8053 Implementing UI to support the backend put in place. 2021-07-02 14:33:05 +01:00
Martin McKeaveney 3070f2593f bidirectional relationships, many to one 2021-07-01 22:23:47 +01:00
Martin McKeaveney 3eb8f3c445 bidirectional relationships, many to one 2021-07-01 22:23:47 +01:00
Martin McKeaveney 569af97664 preventing relationship overrides 2021-07-01 21:24:23 +01:00
Martin McKeaveney cae1a20411 preventing relationship overrides 2021-07-01 21:24:23 +01:00
mike12345567 3cfbced94d Re-writing external layer in typescript. 2021-07-01 19:20:41 +01:00
mike12345567 7fb1e80196 Re-writing external layer in typescript. 2021-07-01 19:20:41 +01:00
mike12345567 5e819faa58 Removing PG hack and handling the updating of relationships from the one side, e.g. one person is linked to many tasks, allow updating the person and having FK in tasks get updated with that persons ID. 2021-07-01 18:23:15 +01:00
mike12345567 b3eea4e4d1 Removing PG hack and handling the updating of relationships from the one side, e.g. one person is linked to many tasks, allow updating the person and having FK in tasks get updated with that persons ID. 2021-07-01 18:23:15 +01:00
mike12345567 a13b5111bb First version of enrichment. 2021-07-01 14:10:44 +01:00
mike12345567 bb396ebff0 First version of enrichment. 2021-07-01 14:10:44 +01:00
mike12345567 1fd4144189 First attempt at solving the enrichment call, as well as various fixes. 2021-06-30 18:31:16 +01:00
mike12345567 3ed5cff945 First attempt at solving the enrichment call, as well as various fixes. 2021-06-30 18:31:16 +01:00
mike12345567 d17a399ee6 Getting writing of one and many rows working. 2021-06-30 14:46:44 +01:00
mike12345567 9780f2a788 Getting writing of one and many rows working. 2021-06-30 14:46:44 +01:00
mike12345567 fd4dc4b45e Managing the scenario where columns can overlap in SQL relationships which most JSON based libraries cannot manage, instead of trying to manage this just don't return the overlapping columns which are not of interest. 2021-06-29 18:38:27 +01:00
mike12345567 9ca36893ad Managing the scenario where columns can overlap in SQL relationships which most JSON based libraries cannot manage, instead of trying to manage this just don't return the overlapping columns which are not of interest. 2021-06-29 18:38:27 +01:00
mike12345567 13100a69ba Implementing all return possibilities, now to implement creation. 2021-06-29 17:42:46 +01:00
mike12345567 98b7bff678 Implementing all return possibilities, now to implement creation. 2021-06-29 17:42:46 +01:00
mike12345567 e4392a4e82 Linting. 2021-06-28 10:21:37 +01:00
mike12345567 2d162fda31 Linting. 2021-06-28 10:21:37 +01:00
mike12345567 e56926dd7f Moving definitions to central location and adding a few more definitions. 2021-06-26 23:09:46 +01:00
mike12345567 5389878801 Moving definitions to central location and adding a few more definitions. 2021-06-26 23:09:46 +01:00
mike12345567 43c9e0a9b6 Linting. 2021-06-25 18:34:21 +01:00
mike12345567 84ea655fd9 Linting. 2021-06-25 18:34:21 +01:00
mike12345567 8bf22438fc Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationships 2021-06-25 18:13:11 +01:00
mike12345567 856be36d9e Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationships 2021-06-25 18:13:11 +01:00
mike12345567 19da122425 Updating tests to use latest version of jest, which broke a lot of things, but was necessary to get proper ts-jest support. 2021-06-25 13:46:02 +01:00
mike12345567 96fd8ed947 Updating tests to use latest version of jest, which broke a lot of things, but was necessary to get proper ts-jest support. 2021-06-25 13:46:02 +01:00
mike12345567 6cae9cbdb8 Formatting. 2021-06-24 18:17:26 +01:00
mike12345567 aea08af49c Formatting. 2021-06-24 18:17:26 +01:00
mike12345567 374081d720 First attempt and re-writing a portion of the server in typescript. 2021-06-24 18:16:48 +01:00
mike12345567 ffc54c3720 First attempt and re-writing a portion of the server in typescript. 2021-06-24 18:16:48 +01:00
Martin McKeaveney 0de6038551 strip double quotes and use single in ID 2021-06-23 23:35:53 +01:00
Martin McKeaveney 1a6b46e678 strip double quotes and use single in ID 2021-06-23 23:35:53 +01:00
Martin McKeaveney 85121db2c5 fix external data sources key parsing with double quote strings 2021-06-23 23:19:41 +01:00
Martin McKeaveney 852691f75d fix external data sources key parsing with double quote strings 2021-06-23 23:19:41 +01:00
Martin McKeaveney f6549b0c7f string based keyProps not being parsed properly by handlebars 2021-06-23 23:15:16 +01:00
Martin McKeaveney 6857dc08e7 string based keyProps not being parsed properly by handlebars 2021-06-23 23:15:16 +01:00
mike12345567 8a84d5cd6f WIP - basic override of foreign keys. 2021-06-23 19:05:32 +01:00
mike12345567 fd4403037d WIP - basic override of foreign keys. 2021-06-23 19:05:32 +01:00
mike12345567 efe1866dbe Fixing an issue I found with postgres schema generator, it was applying all primary keys to all tables. 2021-06-23 12:44:54 +01:00
mike12345567 b3f3826aa6 Fixing an issue I found with postgres schema generator, it was applying all primary keys to all tables. 2021-06-23 12:44:54 +01:00
Martin McKeaveney 44dda78ea4 fix condition in layout 2021-06-18 17:57:01 +01:00
Martin McKeaveney f57e10c01a fix condition in layout 2021-06-18 17:57:01 +01:00
mike12345567 77de3e55d7 Linting. 2021-06-18 13:33:44 +01:00
mike12345567 de1ad05c7a Linting. 2021-06-18 13:33:44 +01:00
mike12345567 ed81e695c9 Quick updates to make sure mySQL works with automations. 2021-06-18 13:24:29 +01:00
mike12345567 eb2cf1afa6 Quick updates to make sure mySQL works with automations. 2021-06-18 13:24:29 +01:00
mike12345567 987b66fd59 Formatting and fixing an issue with mysql not being able to return a row that it has created, updated or deleted. 2021-06-18 13:14:45 +01:00
mike12345567 40e06cc5d1 Formatting and fixing an issue with mysql not being able to return a row that it has created, updated or deleted. 2021-06-18 13:14:45 +01:00
mike12345567 7065bf1ea9 Adding a mySQL plus integration, as well as fixing some issues with running queries directly. 2021-06-18 12:29:25 +01:00
mike12345567 21b591954f Adding a mySQL plus integration, as well as fixing some issues with running queries directly. 2021-06-18 12:29:25 +01:00
Martin McKeaveney 449169f215 fix up datasources and server tests 2021-06-17 15:24:52 +01:00
Martin McKeaveney 35942d27b4 fix up datasources and server tests 2021-06-17 15:24:52 +01:00
mike12345567 3929663ff9 Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-17 14:42:41 +01:00
mike12345567 1014260ad5 Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-17 14:42:41 +01:00
mike12345567 6bc99e140c Fixing a bunch of issues around automations. 2021-06-17 14:42:30 +01:00
mike12345567 09bc70cc3d Fixing a bunch of issues around automations. 2021-06-17 14:42:30 +01:00
Martin McKeaveney 90bd99039b lint 2021-06-17 14:06:31 +01:00
Martin McKeaveney 08b74d2cec lint 2021-06-17 14:06:31 +01:00
Martin McKeaveney dc382a7f15 Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 23:27:47 +01:00
Martin McKeaveney 2737949602 Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 23:27:47 +01:00
Martin McKeaveney f267c5c404 datasource selection logic - unselect other entities when choosing datasource 2021-06-16 23:27:38 +01:00
Martin McKeaveney 9841a74e39 datasource selection logic - unselect other entities when choosing datasource 2021-06-16 23:27:38 +01:00
mike12345567 d22f608c6f Formatting. 2021-06-16 18:39:59 +01:00
mike12345567 615b207fbb Formatting. 2021-06-16 18:39:59 +01:00
mike12345567 c433a658b7 Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 18:39:15 +01:00
mike12345567 7b8d448d78 Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 18:39:15 +01:00
mike12345567 7408eb945b Fixing automation integration and various components around forms. 2021-06-16 18:38:00 +01:00
mike12345567 295c3ef1a3 Fixing automation integration and various components around forms. 2021-06-16 18:38:00 +01:00
Martin McKeaveney 1a94ef5039 end to end data providers and opinionated sql 2021-06-16 17:50:22 +01:00
Martin McKeaveney 9e41068a5d end to end data providers and opinionated sql 2021-06-16 17:50:22 +01:00
mike12345567 b8a3a13118 Fixing issues with inability to search. 2021-06-16 16:27:33 +01:00
mike12345567 efafe5d243 Fixing issues with inability to search. 2021-06-16 16:27:33 +01:00
mike12345567 5244db6f1c Fixing issue with base postgres integration. 2021-06-16 15:51:33 +01:00
mike12345567 a930a05eb6 Fixing issue with base postgres integration. 2021-06-16 15:51:33 +01:00
Martin McKeaveney aabbbdecfe consolidate postgres datas sources 2021-06-16 15:45:57 +01:00
Martin McKeaveney ba09f2df4b consolidate postgres datas sources 2021-06-16 15:45:57 +01:00
mike12345567 2598af16bf Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 14:13:57 +01:00
mike12345567 6733b61b78 Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 14:13:57 +01:00
Martin McKeaveney d87267c6fc Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-15 19:58:34 +01:00
Martin McKeaveney ceed5e0c07 Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-15 19:58:34 +01:00
mike12345567 caaceca2fe Quick fixes for types. 2021-06-15 19:57:41 +01:00
mike12345567 1f818cf42f Quick fixes for types. 2021-06-15 19:57:41 +01:00
Martin McKeaveney 9a35e332ca consolidate data sources and queries together in one UI 2021-06-15 19:48:05 +01:00
Martin McKeaveney e3cced9d97 consolidate data sources and queries together in one UI 2021-06-15 19:48:05 +01:00
Andrew Kingston abb1d33948 Lint with prettier 2021-06-15 19:39:40 +01:00
Andrew Kingston 32a3c2bbb6 Lint with prettier 2021-06-15 19:39:40 +01:00
mike12345567 ce0e06cf3e Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-15 13:50:49 +01:00
mike12345567 d93c4b02ae Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-15 13:50:49 +01:00
mike12345567 765e38aafc Some quick updates after testing. 2021-06-15 13:50:41 +01:00
mike12345567 0cf316d2d6 Some quick updates after testing. 2021-06-15 13:50:41 +01:00
Martin McKeaveney 3eaaff9901 merge 2021-06-15 13:37:21 +01:00
Martin McKeaveney 759347c48b merge 2021-06-15 13:37:21 +01:00
Martin McKeaveney 6c2099dd68 removing _all concept for tables, more work on plus datasource 2021-06-15 13:32:11 +01:00
Martin McKeaveney de279fa6a9 removing _all concept for tables, more work on plus datasource 2021-06-15 13:32:11 +01:00
mike12345567 a056176050 Some quick work to make it function as required. 2021-06-15 13:20:25 +01:00
mike12345567 7e9b9f2180 Some quick work to make it function as required. 2021-06-15 13:20:25 +01:00
mike12345567 91de2fb78e Adding some work towards supporting full data source integration. 2021-06-15 13:03:55 +01:00
mike12345567 0a69ea02ee Adding some work towards supporting full data source integration. 2021-06-15 13:03:55 +01:00
Martin McKeaveney f62c55c58f SQL for fetching primary keys, needs merged into column SQL 2021-06-14 20:05:18 +01:00