1
0
Fork 0
mirror of synced 2024-07-13 02:05:54 +12:00
Commit graph

216 commits

Author SHA1 Message Date
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 7624390f0b Fixing a variety of issues with internal relationships and external SQL relationships. 2021-08-05 19:24:29 +01:00
mike12345567 57f46bfdb4 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-08-04 15:00:50 +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 0f1bb2ccff fix mongo code review comment 2021-07-29 10:11: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 3eb82b5a63 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-14 13:54:39 +01:00
Martin McKeaveney 7e5c4be14f fix postgres query array value 2021-07-13 17:11:11 +01:00
mike12345567 7aca56f019 Adding float type to MySQL. 2021-07-12 11:10:11 +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 8579d1872c Test: Add some basic tests for mongodb queries 2021-07-09 20:08:26 +02:00
Christo 4096f4857c Feat: Add collection fields as "extra" query config for MongoDB 2021-07-09 19:28:46 +02: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 6648e548c5 Quick fix, make sure auto-columns never sent to DB. 2021-07-06 13:55:05 +01:00
mike12345567 b216c03e44 Linting. 2021-07-05 18:16:04 +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 eaf808b190 Fixing issue with TS definitions. 2021-07-05 17:33:36 +01:00
mike12345567 e7d6298647 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-05 17:17:32 +01:00
mike12345567 ca1c48232b Linting. 2021-07-05 15:16:32 +01:00
mike12345567 16581552cb Fixing issue with single quotes in strings breaking JSON parsing. 2021-07-05 15:14:45 +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 71f96f9601 Fixing little UI bugs. 2021-07-03 10:26:37 +01:00
mike12345567 fcf4dbc7a1 Updating server test cases. 2021-07-02 14:49:47 +01:00
mike12345567 10730d8053 Implementing UI to support the backend put in place. 2021-07-02 14:33:05 +01:00
Martin McKeaveney 3eb8f3c445 bidirectional relationships, many to one 2021-07-01 22:23:47 +01:00
Martin McKeaveney cae1a20411 preventing relationship overrides 2021-07-01 21:24:23 +01:00
mike12345567 7fb1e80196 Re-writing external layer in typescript. 2021-07-01 19:20:41 +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 bb396ebff0 First version of enrichment. 2021-07-01 14:10:44 +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 9780f2a788 Getting writing of one and many rows working. 2021-06-30 14:46:44 +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 98b7bff678 Implementing all return possibilities, now to implement creation. 2021-06-29 17:42:46 +01:00
mike12345567 2d162fda31 Linting. 2021-06-28 10:21:37 +01:00
mike12345567 5389878801 Moving definitions to central location and adding a few more definitions. 2021-06-26 23:09:46 +01:00
mike12345567 84ea655fd9 Linting. 2021-06-25 18:34:21 +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 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 aea08af49c Formatting. 2021-06-24 18:17:26 +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 1a6b46e678 strip double quotes and use single in ID 2021-06-23 23:35:53 +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 6857dc08e7 string based keyProps not being parsed properly by handlebars 2021-06-23 23:15:16 +01:00
mike12345567 fd4403037d WIP - basic override of foreign keys. 2021-06-23 19:05:32 +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 f57e10c01a fix condition in layout 2021-06-18 17:57:01 +01:00
mike12345567 de1ad05c7a Linting. 2021-06-18 13:33:44 +01:00
mike12345567 eb2cf1afa6 Quick updates to make sure mySQL works with automations. 2021-06-18 13:24:29 +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 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 35942d27b4 fix up datasources and server tests 2021-06-17 15:24:52 +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 09bc70cc3d Fixing a bunch of issues around automations. 2021-06-17 14:42:30 +01:00
Martin McKeaveney 08b74d2cec lint 2021-06-17 14:06:31 +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 9841a74e39 datasource selection logic - unselect other entities when choosing datasource 2021-06-16 23:27:38 +01:00
mike12345567 615b207fbb Formatting. 2021-06-16 18:39:59 +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 295c3ef1a3 Fixing automation integration and various components around forms. 2021-06-16 18:38:00 +01:00
Martin McKeaveney 9e41068a5d end to end data providers and opinionated sql 2021-06-16 17:50:22 +01:00
mike12345567 efafe5d243 Fixing issues with inability to search. 2021-06-16 16:27:33 +01:00
mike12345567 a930a05eb6 Fixing issue with base postgres integration. 2021-06-16 15:51:33 +01:00
Martin McKeaveney ba09f2df4b consolidate postgres datas sources 2021-06-16 15:45: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 ceed5e0c07 Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-15 19:58:34 +01:00
mike12345567 1f818cf42f Quick fixes for types. 2021-06-15 19:57:41 +01:00
Martin McKeaveney e3cced9d97 consolidate data sources and queries together in one UI 2021-06-15 19:48:05 +01:00
Andrew Kingston 32a3c2bbb6 Lint with prettier 2021-06-15 19:39:40 +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 0cf316d2d6 Some quick updates after testing. 2021-06-15 13:50:41 +01:00
Martin McKeaveney 759347c48b merge 2021-06-15 13:37:21 +01:00
Martin McKeaveney de279fa6a9 removing _all concept for tables, more work on plus datasource 2021-06-15 13:32:11 +01:00
mike12345567 7e9b9f2180 Some quick work to make it function as required. 2021-06-15 13:20:25 +01:00
mike12345567 0a69ea02ee Adding some work towards supporting full data source integration. 2021-06-15 13:03:55 +01:00
Martin McKeaveney 760dc88ef3 SQL for fetching primary keys, needs merged into column SQL 2021-06-14 20:05:18 +01:00
mike12345567 4950db460c Formatting. 2021-06-14 19:07:13 +01:00
mike12345567 6b40f15318 Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-11 18:56:44 +01:00
mike12345567 20f7056d8a 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 114eac4134 external/internal tables and datasources merged, removed autocapture, re-added logout action 2021-06-11 17:52:08 +01:00
Martin McKeaveney a44d59541d merge 2021-06-10 14:15:03 +01:00
Martin McKeaveney ca4d976a76 plus datasource schema 2021-06-09 16:55:58 +01:00
mike12345567 4fdbeafca5 Adding test case for data source opinionated query endpoint. 2021-06-04 15:16:15 +01:00
mike12345567 c00f1ea0bc Adding schema validation and API endpoint to data sources for query. 2021-06-04 14:53:49 +01:00
mike12345567 2fe6efaed3 Updating test cases. 2021-06-03 18:48:04 +01:00
mike12345567 01fabba959 Merge branch 'plus-datasources' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-03 18:19:33 +01:00
Martin McKeaveney de4051da45 endpoint for plus datasources 2021-06-03 17:56:04 +01:00
mike12345567 738b5af4c0 Switching from .toString to .toSQL().toNative() for sql injection protection. 2021-06-03 17:45:19 +01:00
mike12345567 20d7d36a16 Using all lowercase 'query' function name for the builder. 2021-06-03 16:47:31 +01:00
mike12345567 f507daa46a Linking up to existing SQL integrations. 2021-06-03 16:45:43 +01:00
mike12345567 0fba3cc8fd Adding base SQL class which processes defined JSON structure into SQL. 2021-06-03 16:31:24 +01:00
Martin McKeaveney 36b39ef4df merge google accounts, improve connection pooling for RDBMS 2021-06-01 15:00:28 +01:00
Martin McKeaveney 03a9af0369 making HTTP POST and PUT readable, more robust app import to avoid document conflicts 2021-05-29 13:52:31 +01:00
Martin McKeaveney 09ce58aa95 fix mssql encryption option 2021-05-28 11:55:28 +01:00
mike12345567 c9a352bee7 Fixing server test cases. 2021-05-27 15:40:55 +01:00
Martin McKeaveney b830265b89 SSL fixes, update boolean in lucene 2021-05-26 22:48:55 +01:00
Martin McKeaveney b328875ebd fix tests 2021-05-24 12:14:04 +01:00
Martin McKeaveney f58ad3a12c allow deletion of relationships 2021-05-23 15:06:33 +01:00
mike12345567 b119ae19c6 Fixing broken server test cases. 2021-05-21 16:02:21 +01:00
Martin McKeaveney 237642e4af merge 2021-05-20 12:41:54 +01:00
Martin McKeaveney 7ab24fed2b merge with master 2021-05-20 10:40:15 +01:00