Commit Graph

245 Commits

Author SHA1 Message Date
mike12345567 579bce8a6a 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 f2beac85b7 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 569af97664 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 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 a13b5111bb 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 d17a399ee6 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 13100a69ba 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 e56926dd7f 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 8bf22438fc 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 6cae9cbdb8 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
Martin McKeaveney 0de6038551 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 f6549b0c7f 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 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
Martin McKeaveney 44dda78ea4 fix condition in layout 2021-06-18 17:57:01 +01:00
mike12345567 77de3e55d7 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 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 7065bf1ea9 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
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 6bc99e140c 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 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 f267c5c404 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 c433a658b7 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
Martin McKeaveney 1a94ef5039 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 5244db6f1c 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
mike12345567 2598af16bf 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
mike12345567 caaceca2fe 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
Andrew Kingston abb1d33948 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 765e38aafc 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 6c2099dd68 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 91de2fb78e 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
mike12345567 11c52f26ad Formatting. 2021-06-14 19:07:13 +01:00
mike12345567 190e17cc4c Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-11 18:56:44 +01:00
mike12345567 7ba21329eb Updating rows API so that it has been broken into an internal and external API - this is breaking as it breaks out how bulk deletion is handled. 2021-06-11 18:56:30 +01:00
Martin McKeaveney 58b33562db external/internal tables and datasources merged, removed autocapture, re-added logout action 2021-06-11 17:52:08 +01:00
Martin McKeaveney 28d4a9ad06 merge 2021-06-10 14:15:03 +01:00
Martin McKeaveney 8d9d776377 plus datasource schema 2021-06-09 16:55:58 +01:00
mike12345567 a74309202d Adding test case for data source opinionated query endpoint. 2021-06-04 15:16:15 +01:00
mike12345567 091b537e2d Adding schema validation and API endpoint to data sources for query. 2021-06-04 14:53:49 +01:00
mike12345567 6abe5c5f6d Updating test cases. 2021-06-03 18:48:04 +01:00
mike12345567 0c7a4c1b5b Merge branch 'plus-datasources' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-03 18:19:33 +01:00
Martin McKeaveney 2ab9d5e31c endpoint for plus datasources 2021-06-03 17:56:04 +01:00
mike12345567 2d6eac5c97 Switching from .toString to .toSQL().toNative() for sql injection protection. 2021-06-03 17:45:19 +01:00
mike12345567 330d995107 Using all lowercase 'query' function name for the builder. 2021-06-03 16:47:31 +01:00
mike12345567 65f3e84a0e Linking up to existing SQL integrations. 2021-06-03 16:45:43 +01:00
mike12345567 a669fa1025 Adding base SQL class which processes defined JSON structure into SQL. 2021-06-03 16:31:24 +01:00
Martin McKeaveney 887426fe34 merge google accounts, improve connection pooling for RDBMS 2021-06-01 15:00:28 +01:00
Martin McKeaveney 33304606e1 making HTTP POST and PUT readable, more robust app import to avoid document conflicts 2021-05-29 13:52:31 +01:00
Martin McKeaveney 6e6bc536a1 fix mssql encryption option 2021-05-28 11:55:28 +01:00
mike12345567 397a4d883f Fixing server test cases. 2021-05-27 15:40:55 +01:00
Martin McKeaveney f9c5975ac7 SSL fixes, update boolean in lucene 2021-05-26 22:48:55 +01:00
Martin McKeaveney be7a8cfb8c fix tests 2021-05-24 12:14:04 +01:00
Martin McKeaveney f992c650d2 allow deletion of relationships 2021-05-23 15:06:33 +01:00
mike12345567 8c8ac18ac0 Fixing broken server test cases. 2021-05-21 16:02:21 +01:00
Martin McKeaveney e655f23edd merge 2021-05-20 12:41:54 +01:00
Martin McKeaveney 0b3110b223 merge with master 2021-05-20 10:40:15 +01:00
Martin McKeaveney 2761eaed2d postgres connection pooling 2021-05-19 20:58:59 +01:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
mike12345567 547492189a Adding cleanup operation to dynamo client. 2021-04-19 22:36:14 +01:00
mike12345567 c121300840 Fixing an issue with the DynamoDB integration, didn't specify the correct terms for the AWS credentials. 2021-04-19 22:24:13 +01:00
mike12345567 bd6741fc1c Merge branch 'master' of github.com:Budibase/budibase into next 2021-04-16 17:01:35 +01:00
Martin McKeaveney b1ea1b0fda lint 2021-04-12 16:51:07 +01:00
Martin McKeaveney 85f8229ef4
Update microsoftSqlServer.js 2021-04-12 15:01:52 +01:00
Martin McKeaveney b7a230065b more branch cov 2021-03-16 19:27:18 +00:00
Martin McKeaveney 6698641182 mysql tests 2021-03-16 19:01:51 +00:00
Martin McKeaveney d37283adda airtable tests 2021-03-16 18:43:56 +00:00
Martin McKeaveney 4ab88daf28 REST integration tests 2021-03-16 14:51:14 +00:00
Martin McKeaveney 2da1d27ba6 arangodb tests 2021-03-16 13:54:39 +00:00
Martin McKeaveney 8fa3685852 elasticsearch tests 2021-03-16 11:46:13 +00:00
Martin McKeaveney 6ba84b420c dynamoDB tests 2021-03-15 19:45:39 +00:00
Martin McKeaveney 813ea1ede8 couchDB tests 2021-03-15 16:26:46 +00:00
Martin McKeaveney 53278c2648 postgres integration tests 2021-03-15 16:07:04 +00:00
Martin McKeaveney ff5477f301 airtable tests 2021-03-12 09:29:27 +00:00
Martin McKeaveney 37ed93c121 merge 2021-03-11 15:28:43 +00:00
Martin McKeaveney bc7cc089b8 allowing airtable query to send down the number of records you want from your table 2021-03-10 10:39:58 +00:00
Martin McKeaveney 36ff7d80ac mysql key length 2021-02-24 21:58:38 +00:00
Martin McKeaveney 0905d35ef2 SSL config for mysql, remove rickroll 2021-02-24 16:31:47 +00:00
Martin McKeaveney 692c5a9b3e read all columns for schema rather than just the first 2021-02-22 17:41:02 +00:00
Martin McKeaveney 86026a2c12 adding description blurbs to datasources 2021-02-19 15:07:43 +00:00
Martin McKeaveney 40e7fbd8ab response parsing 2021-02-18 19:24:42 +00:00
Martin McKeaveney 68f28bb912 more design updates 2021-02-18 18:55:08 +00:00
Martin McKeaveney d99e1a5a53 design updates, changing query verb names to HTTP verbs 2021-02-18 16:58:10 +00:00
Martin McKeaveney 6dfc4a4de5 ensure JSON parsed correctly 2021-02-15 19:57:49 +00:00
Martin McKeaveney 3a1a375c35 REST integration complete 2021-02-15 18:41:56 +00:00
Martin McKeaveney 6019af93ee REST integration end to end 2021-02-15 17:05:53 +00:00
Martin McKeaveney 8fac96dd69 fixes for mySQL and MSSQL non default ports 2021-02-03 08:20:21 +00:00
mike12345567 2d82969350 Some quick fixes to allow custom verbs. 2021-02-02 17:28:11 +00:00
mike12345567 c74f1011d0 Some fixes for integrations, making Dynamo work correctly and allow local usage as well as using the API to try and make responses that are objects work better. 2021-02-02 16:26:15 +00:00
sovlookup 31925ce3c0 prettify code 2021-01-28 23:08:53 +08:00
sovlookup 2168991591 cannot return result directly fix it 2021-01-28 22:35:41 +08:00
sovlookup aeee8af0d8 this commit is ok 2021-01-28 22:26:53 +08:00
sovlookup 9684def1ae fix a little space 2021-01-28 22:23:17 +08:00
sovlookup 0b8987f6a1 add arangodb integration 2021-01-28 22:20:15 +08:00
sovlookup 8996200d8d add arangodb integration 2021-01-28 22:17:39 +08:00
sovlookup 1b6eb426c6 add arangodb integration 2021-01-28 21:48:29 +08:00
sovlookup 7a6e677b89 add arangodb integration 2021-01-28 21:42:40 +08:00
Martin McKeaveney 9581e50e45 return schemas from backend 2021-01-26 16:02:44 +00:00
Martin McKeaveney a73473b16c MySQL integration and self hosted deploy event 2021-01-26 11:07:30 +00:00
Martin McKeaveney 9d5e8e5e9d merge 2021-01-22 18:06:53 +00:00
Martin McKeaveney 476d20d656 simplify queries to only have one type under query verb 2021-01-22 12:22:28 +00:00
Andrew Kingston 08747b30cb Fix postgres integration schema credentials 2021-01-20 13:23:06 +00:00
Martin McKeaveney e3bae26510 fix no schema bug, feedback from demo 2021-01-15 17:29:46 +00:00
Martin McKeaveney 4b941e7a9f mongo config 2021-01-15 13:42:14 +00:00
Martin McKeaveney 4442240e68 dynamo integration 2021-01-15 13:24:36 +00:00
Martin McKeaveney 6f57c1d22d better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
Martin McKeaveney c40e88eb32 tidy up 2021-01-13 18:29:51 +00:00
Martin McKeaveney 648d45a373 schema updates, custom fields 2021-01-13 16:39:47 +00:00
Martin McKeaveney 45a02507f7 custom fields in queries 2021-01-13 14:11:53 +00:00
Martin McKeaveney 7a1212ff36 Add all CRUD ops to airtable integration 2021-01-12 17:45:43 +00:00
Martin McKeaveney 04eca5b663 further syntax highlighting updates 2021-01-12 16:49:11 +00:00
Martin McKeaveney 72ea05cc05 type safe schema validation 2021-01-11 21:01:21 +00:00
Martin McKeaveney 391dabf7a1 direct airtable integration works 2021-01-11 17:18:22 +00:00
Martin McKeaveney 5aa7edda64 use dynamic input in query 2021-01-11 15:34:43 +00:00
Martin McKeaveney 98a7085bbc Allow dynamic query execution from front end components 2021-01-08 12:06:37 +00:00
Martin McKeaveney 63ad74b660 separation of datasources and queries 2020-12-18 18:19:43 +00:00
Martin McKeaveney d4ca3493c9 MS SQL Server integration 2020-12-12 21:48:51 +00:00
Martin McKeaveney 6518976825 browse contents of s3 buckets from within budibase 2020-11-26 21:23:20 +00:00
Martin McKeaveney c12b59e304 CouchDB integration E2E 2020-11-26 17:34:15 +00:00
Martin McKeaveney 4d3e134145 elasticsearch end to end 2020-11-26 17:03:18 +00:00
Martin McKeaveney 1f891cc8ae mongoDB end to end 2020-11-26 16:46:36 +00:00
Martin McKeaveney 113c68e4c9 budibase postgres E2E working 2020-11-26 14:43:56 +00:00