1
0
Fork 0
mirror of synced 2024-09-21 20:01:32 +12:00
Commit graph

1072 commits

Author SHA1 Message Date
mike12345567
217d10f5fb Fix for more than/less than ranges, zeros were ignored when building up ranges, so that it simply acted like an upper limit, rather than a range. 2023-09-14 14:00:49 +01:00
Adria Navarro
881ff02a7d Merge branch 'develop' into BUDI-7367/ds_plus_row_unittest 2023-09-13 14:49:17 +02:00
Adria Navarro
c530d5fa34 Timeout issues 2023-09-13 13:17:51 +02:00
Mel O'Hagan
17dc01808c Additional unit test 2023-09-11 21:35:51 +01:00
Mel O'Hagan
7147752b9c Fix date validation regex 2023-09-11 21:26:05 +01:00
Adria Navarro
3fe7a9f4cb Unmock pg 2023-09-06 12:51:08 +02:00
Adria Navarro
887ebb2eeb Simplify 2023-09-05 11:16:37 +02:00
Adria Navarro
6240740a42 Simplify 2023-09-05 11:11:47 +02:00
Adria Navarro
b27899b1e6 Redo helpers 2023-09-05 10:47:59 +02:00
Adria Navarro
baab7d3fb5 Use docker utils helpers 2023-09-04 19:05:11 +02:00
mike12345567
7110351bdc Revert "revert develop into master"
This reverts commit fd099658a0.
2023-08-18 14:33:21 +01:00
mike12345567
e174211440 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-08-17 17:34:44 +01:00
Martin McKeaveney
fd099658a0 revert develop into master 2023-08-17 10:28:15 +01:00
melohagan
6d40a54fd5 Only get definition for given schema (#11532) 2023-08-17 10:10:52 +01:00
Michael Drury
08e663a8d3 Merge branch 'master' into budi-7350-filter-equal-for-numbers-not-working-in-data-providers 2023-08-10 16:28:59 +01:00
melohagan
ece1c421fa Fix/formula as display (#11439)
* Allow formulas to be display columns in the grid

* Ensure SQL Server always has a sort order
2023-08-04 13:53:30 +01:00
Mel O'Hagan
20f71fadd3 Refactor 2023-08-03 18:52:55 +01:00
Mel O'Hagan
8c61359b9d Allow user specified type casting in MySQL queries 2023-08-03 17:23:15 +01:00
mike12345567
8c2d0f594c Quick fix for utilising a hyphen in a Postgres schema - this needed to be escaped correctly. 2023-08-01 18:18:53 +01:00
Adria Navarro
f4675aab6e Fix import 2023-08-01 12:52:12 +02:00
Adria Navarro
b9820f94e6 Import lodash modules 2023-07-28 17:11:48 +02:00
Adria Navarro
1ce9bffe40 Remove duplicated key 2023-07-28 17:11:48 +02:00
mike12345567
c185dd7dd0 Merge branch 'develop' of github.com:Budibase/budibase into labday/sqs 2023-07-21 18:41:48 +01:00
mike12345567
7673673db2 Updating RelationshipTypes -> RelationshipType. 2023-07-21 12:57:47 +01:00
Adria Navarro
58c59eba5e Remove unused db usages 2023-07-18 12:00:02 +02:00
Adria Navarro
13ef7b8858 Merge branch 'develop' into backmerge-20230717 2023-07-17 17:13:26 +01:00
Adria Navarro
a7801c52f8 Allow authtype undefined by default 2023-07-13 11:09:40 +02:00
Adria Navarro
2dadf1d429 Fix conflicting mssql configuration 2023-07-11 20:05:10 +02:00
Adria Navarro
02fa87b59b Merge pull request #11200 from Budibase/budi-7265-sql-ntlm-configuration
Allow MSSQL ntlm configuration
2023-07-11 15:33:49 +01:00
Adria Navarro
119506fcc7 Fix typo 2023-07-11 15:41:49 +02:00
Adria Navarro
4280e08f22 Renames 2023-07-11 15:31:59 +02:00
melohagan
89c0d3b389 Add BigInt type support (#11145) (#11195)
* Add BigInt type

* Allow BigInt columns to be added

* Sort fixes

* Add BigInt field
2023-07-11 14:01:55 +01:00
Adria Navarro
c4fec6973f Add ntml config 2023-07-11 13:08:15 +02:00
Adria Navarro
00fff6eded Add local AD option 2023-07-11 12:35:00 +02:00
mike12345567
f7a60bc65a Some minor improvements while working on documenting the outcomes. 2023-07-07 13:47:42 +01:00
mike12345567
adef1ed5ce Initial attempt to get SQS up and running within BB. 2023-07-06 21:49:25 +01:00
mike12345567
4428678ebd Quick fix for QA-core tests, when encrypt is undefined for MS-SQL, it defaults to true, need to be aware of this so can set trustServerCertificate correctly. Also fixing the naming of a test. 2023-06-30 12:05:18 +01:00
mike12345567
63d16f1809 Only enable trust server certificate if encryption enabled. 2023-06-29 16:09:25 +01:00
mike12345567
7b6246ee59 Fixes discovered by MS-SQL validator tests in QA-core, fixing custom ports being used (not default) and allowing the use of self signed certificates. Also updating an error message in line with Peters changes. 2023-06-29 16:09:25 +01:00
mike12345567
a66d5bf7be Merge branch 'develop' of github.com:Budibase/budibase into feat/surface-sql-errors 2023-06-28 17:58:56 +01:00
Michael Drury
72e7373073 Merge pull request #11058 from Budibase/feature/budi-7076
Datasource settings tab for SQL databases and SQL schema export functionality
2023-06-28 17:56:03 +01:00
mike12345567
30a9b349d8 Merge branch 'develop' of github.com:Budibase/budibase into feat/surface-sql-errors 2023-06-28 17:31:03 +01:00
Adria Navarro
ec3f962d3c Fix typings 2023-06-28 15:16:47 +01:00
Adria Navarro
b6f9ae762d Lint 2023-06-28 14:59:49 +01:00
Adria Navarro
47d6113fee Submit nested 2023-06-28 14:33:52 +01:00
Adria Navarro
a95a5f1cb2 Populate fields 2023-06-28 14:33:52 +01:00
Adria Navarro
758b4f8254 Allow open by default for field groups 2023-06-28 14:33:52 +01:00
Adria Navarro
352ea72c53 Select and conditional fields 2023-06-28 14:33:52 +01:00
Adria Navarro
8a7d610faf Move creation pool on the connect step 2023-06-28 14:33:51 +01:00
Adria Navarro
c9bee9e423 Display errors 2023-06-28 14:33:51 +01:00
Adria Navarro
1e5492b18d Type mssql 2023-06-28 14:33:51 +01:00
mike12345567
25d0f3f518 Adding settings tab for SQL datasources. 2023-06-28 11:59:53 +01:00
Peter Clement
87768fd577 update error messages: 2023-06-28 09:28:40 +01:00
Peter Clement
fed6a83bca remove incorrect psql codes 2023-06-28 09:18:41 +01:00
Peter Clement
cf0300973a add error mapping system 2023-06-27 15:28:10 +01:00
Peter Clement
46a9142676 propagate errors coreectly for datasource plus 2023-06-27 15:27:56 +01:00
Mel O'Hagan
6f75c5df53 Use any type to fix TypeScript check 2023-06-27 09:59:02 +01:00
Dean
eaecd3ab68 Merge remote-tracking branch 'origin/develop' into merge-master 2023-06-27 09:31:35 +01:00
melohagan
0ecda93ea9 Fix for $in on ObjectIds (#11014) 2023-06-26 15:07:29 +01:00
mike12345567
3d3efadb37 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-06-23 15:19:49 +01:00
melohagan
3aca0c0ed3 Null safety (#11007) 2023-06-23 14:48:07 +01:00
mike12345567
cbfeea121c Merge branch 'master' of github.com:Budibase/budibase into develop 2023-06-20 18:09:23 +01:00
melohagan
b0debf17ef Table disappears from side bar when changing display name (#10909)
* Pass sourceId on fetch tables

* Use ExternalTable type
2023-06-20 17:07:12 +01:00
Adria Navarro
cdd15fd75f Merge pull request #10953 from Budibase/budi-7115-sql-schema-export
BUDI-7115 - Sql schema export
2023-06-20 11:57:46 +01:00
mike12345567
289a75fc9a Few minor updates to the integration suite to make it easier to decipher what is happening under the hood, as well as making it easier to log from these (where there is no pino logging available, importing backend-core breaks things). Also added a new script which can be used to get local environment setup as needed to run qa-core tests. Finally, xdescribe for the failing test until can work out what is wrong with MongoDB installation in QA environment. 2023-06-19 18:28:38 +01:00
Adria Navarro
718fe1efc6 Implement mssql and tests 2023-06-19 17:56:12 +01:00
Adria Navarro
c44b10eadf Lint 2023-06-19 17:56:12 +01:00
Adria Navarro
e21dca5582 Implement and test mysql sql dump 2023-06-19 17:56:12 +01:00
Adria Navarro
ab5b8716c0 Get mysql schema 2023-06-19 17:56:12 +01:00
Adria Navarro
d337c52adf Add feature flags 2023-06-19 17:56:11 +01:00
Adria Navarro
7a4eb3113d Add external schema endpoint 2023-06-19 17:56:11 +01:00
Adria Navarro
dbcf7814a8 Support ssl 2023-06-19 17:56:11 +01:00
Adria Navarro
e7026d4aed Get schema function 2023-06-19 17:56:11 +01:00
Rory Powell
5f716a62a4 Revert "Merge branch 'develop' into master"
This reverts commit 67fb9de7f4, reversing
changes made to ebec885b0a.
2023-06-16 10:13:43 +01:00
Adria Navarro
df3afe2a7c Merge pull request #10918 from Budibase/budi-5262/support_pg_client_cert
Budi 5262 - Support pg client cert
2023-06-15 12:40:16 +01:00
Adria Navarro
4d3ab040bf Support postgres client certificates 2023-06-15 11:06:01 +01:00
Adria Navarro
e6ad3a4719 Type pg 2023-06-14 17:17:29 +01:00
Adria Navarro
f31c615e18 Merge branch 'develop' into backmerge-master 2023-06-14 15:45:47 +01:00
Michael Drury
fdad2e6bf3 Merge pull request #10895 from Budibase/fix/budi-7099
MySQL cyclic JSON conversion issue with primary display columns
2023-06-14 15:09:17 +01:00
mike12345567
3f63a81c01 PR comments. 2023-06-14 14:34:12 +01:00
mike12345567
68082eecf9 Fix for circular issue with primary display fields on SQL tables introduced in most recent update - if somehow the primary display field is set to a relationship field there was a chance of cyclic structure occurring which Koa could not convert to JSON. 2023-06-13 18:21:22 +01:00
mike12345567
60d58034dd Fixes #6346 - issue with date parsing, adding in some testing around it. 2023-06-13 16:11:22 +01:00
Adria Navarro
c1e09d0305 Close client on testconnection 2023-06-13 10:49:09 +01:00
Adria Navarro
a14b29efac Improve fetch performance 2023-06-07 12:29:36 +01:00
Adria Navarro
dd58aaf5cb Use fancycheckboxgroup 2023-06-07 11:44:32 +01:00
Adria Navarro
5135ac36b7 Fix fetching tables 2023-06-07 11:31:10 +01:00
Adria Navarro
deeba8bae3 Revert "Merge branch 'develop' into master"
This reverts commit 6f29c978e0, reversing
changes made to 1c6ff73c19.
2023-06-06 22:06:34 +01:00
mike12345567
cc60baa3d1 Some fixes for BBUI and updating postgres table name fetching to get uniques. 2023-06-06 17:40:14 +01:00
Adria Navarro
21e870109c Save datasource 2023-06-06 11:29:50 +01:00
Adria Navarro
1e238ce693 Validate google sheets url 2023-06-06 11:29:49 +01:00
Rory Powell
abbd8c5c8b Merge branch 'master' into develop 2023-06-05 23:19:43 +01:00
mike12345567
0506096e72 Fixing filtering plus pagination in googlesheets, the pagination previously was first which broke the filtering. 2023-06-05 10:03:47 +01:00
mike12345567
e7649374d2 Fixing googlesheets filtering by _id - there was an issue with the response API giving _rowNumber rather than the expected primary key of rowNumber, need to update the filters accordingly. 2023-06-02 18:25:35 +01:00
mike12345567
213315e14f Fixing issue with row deletion not returning the _id of the row which was deleted in googlesheets. 2023-06-02 18:03:43 +01:00
Michael Drury
cde4dabe42 Fixing some redis type errors. 2023-06-01 11:10:39 +01:00
Adria Navarro
77a619945b Merge pull request #10680 from Budibase/budi-6933-verify-data-source-connection-during
Verify data source connection before saves
2023-05-26 10:47:42 +02:00
Adria Navarro
b264708af6 Merge remote-tracking branch 'origin/develop' into chore/esbuild 2023-05-24 14:17:32 +02:00
Adria Navarro
237cda064c Simplify integration features 2023-05-24 10:50:51 +02:00
Adria Navarro
c3036af072 Merge pull request #10659 from Budibase/feature/table-fetching
Datasource+ table fetching API
2023-05-23 15:39:18 +02:00
andz-bb
7b9d56ac25 add role field to snowflake datasource connection 2023-05-23 12:38:50 +01:00
mike12345567
590844c8a9 PR comments. 2023-05-23 12:22:22 +01:00
Adria Navarro
aa58a24a6d Change query for retrieving postgres primary keys 2023-05-23 11:20:18 +02:00
Adria Navarro
e838a90d3e Add small unit test 2023-05-23 10:22:26 +02:00
Adria Navarro
023373bb25 Remove unnecessary load info 2023-05-23 10:18:37 +02:00
Adria Navarro
b7b604ca00 Improve test 2023-05-23 10:17:42 +02:00
Adria Navarro
5ea19986b1 Add basic test 2023-05-23 10:14:06 +02:00
Adria Navarro
74ea851fa3 Fetch google sheets 2023-05-23 09:55:46 +02:00
mike12345567
83ddb9c8dd Adding feature to denote fetch table names function. 2023-05-22 14:28:18 +01:00
mike12345567
d6c07f47b6 Adding base implementation for googlesheets integration. 2023-05-22 13:57:56 +01:00
Michael Drury
732ebb4f87 Adding function to fetch table names. 2023-05-18 22:09:44 +01:00
Adria Navarro
2d2d50a5df Merge branch 'develop' into chore/esbuild 2023-05-18 11:34:11 +02:00
mike12345567
f3785892a9 Merge branch 'develop' of github.com:Budibase/budibase into chore/esbuild 2023-05-17 12:45:28 +01:00
Adria Navarro
8e95038671 Merge pull request #10620 from Budibase/feature/oracle-conn-checking
Oracle connection checking
2023-05-17 10:52:31 +02:00
Adria Navarro
a2e22bda71 Merge pull request #10618 from Budibase/budi-6932/check_elastic
Check elastic search connection settings
2023-05-17 10:16:16 +02:00
mike12345567
ee5f0ec641 Remove unused type. 2023-05-17 09:15:06 +01:00
Adria Navarro
896bc61934 Check elastic connection 2023-05-17 09:38:37 +02:00
mike12345567
9f57d7c33a Fixes after testing against actual Oracle service. 2023-05-16 19:31:12 +01:00
mike12345567
832f8b3aa8 Adding Oracle connection checking. 2023-05-16 19:04:46 +01:00
Adria Navarro
e465422031 Implement connection 2023-05-16 15:08:34 +02:00
Adria Navarro
ce357ecac8 Setup CONNECTION_CHECKING feature 2023-05-16 13:37:30 +02:00
Adria Navarro
d285c2aeb2 Merge pull request #10601 from Budibase/budi-6932/verify_google_sheets
Verify google sheets connection
2023-05-16 13:33:08 +02:00
Adria Navarro
87497fee73 Comments 2023-05-16 13:24:16 +02:00
Adria Navarro
419e2de602 Test airtable connection 2023-05-16 13:24:16 +02:00
Adria Navarro
062127b1f1 Fix types 2023-05-16 11:48:40 +02:00
Adria Navarro
b3b962534f Test snowflake connection 2023-05-16 11:47:38 +02:00
Adria Navarro
911a072069 Update types 2023-05-16 11:44:58 +02:00
Adria Navarro
cd93d327a5 Test google sheets 2023-05-16 11:43:13 +02:00
mike12345567
6b7269b954 Refactoring response from integrations to a simple type. 2023-05-15 17:36:16 +01:00
Michael Drury
18d2c33839 Merge pull request #10583 from Budibase/budi-6932/verify_redis
Implement redis connection verification
2023-05-15 17:22:32 +01:00
Michael Drury
fbc3697c8c Merge pull request #10546 from Budibase/budi-6932/verify_mysql
Implement mysql connection verification
2023-05-15 17:13:32 +01:00
Michael Drury
9e6f22653b Merge pull request #10550 from Budibase/budi-6932/verify_couchdb
Implement couchdb connection verification
2023-05-15 17:12:54 +01:00
Michael Drury
3ef204cf7b Merge pull request #10553 from Budibase/budi-6932/verify_mssql
Implement MSSQL connection verification
2023-05-15 17:12:05 +01:00
Michael Drury
f9fd3d942a Merge pull request #10554 from Budibase/budi-6932/verify_mongo
Implement mongo connection verification
2023-05-15 17:11:37 +01:00
Michael Drury
001e8757e8 Merge pull request #10555 from Budibase/budi-6932/verify_arango
Implement arango connection verification
2023-05-15 17:11:12 +01:00
Michael Drury
328514afdd Merge pull request #10588 from Budibase/budi-6932/verify_s3
Implement S3 connection verification
2023-05-15 17:10:38 +01:00
Michael Drury
d77107f540 Merge pull request #10589 from Budibase/budi-6932/verify_dynamodb
Implement dynamodb connection verification
2023-05-15 17:10:10 +01:00
mike12345567
571987a2ce Merge branch 'feature/datasource-connections' of github.com:Budibase/budibase into feature/datasource-conns 2023-05-15 17:00:30 +01:00
Adria Navarro
3933a3881b Test dynamodb connection 2023-05-15 17:58:09 +02:00
Adria Navarro
f2f0c2e708 Typing 2023-05-15 17:56:48 +02:00
Adria Navarro
1e505791c0 Implement s3 checks 2023-05-15 17:37:28 +02:00
Adria Navarro
058ac416ea Test redis 2023-05-15 16:50:37 +02:00
Adria Navarro
fad57db634 Implement the check as part of the integration 2023-05-15 16:48:40 +02:00
Adria Navarro
901bff5399 Validate arango 2023-05-15 16:47:41 +02:00
Adria Navarro
2f9b076381 Implement the check as part of the integration 2023-05-15 16:38:42 +02:00
Adria Navarro
e8fa690566 Add mongo checks 2023-05-15 16:37:20 +02:00
Adria Navarro
d98bc11a20 Clean 2023-05-15 16:30:43 +02:00
Adria Navarro
2641a8c135 Clean code 2023-05-15 16:30:43 +02:00
Adria Navarro
0418e90a37 Implement the check as part of the integration 2023-05-15 16:30:43 +02:00
Adria Navarro
32695018bf Validate and test microsoft sql 2023-05-15 16:30:43 +02:00
Adria Navarro
bd736836f0 Remove export 2023-05-15 13:55:22 +02:00
Adria Navarro
d656edad40 Implement the check as part of the integration 2023-05-15 13:54:32 +02:00
Adria Navarro
209ada0c38 Validate couchdb 2023-05-15 13:54:32 +02:00
Adria Navarro
8a1564ef07 Implement the check as part of the integration 2023-05-15 13:48:09 +02:00
Adria Navarro
721492e76d Validate mysql 2023-05-15 13:47:48 +02:00
Adria Navarro
f10a66cc42 Type mysql configs 2023-05-15 13:47:48 +02:00
Adria Navarro
eaf7e399e7 Remove unnecessary export 2023-05-15 13:16:56 +02:00
Adria Navarro
ffef2499cc Implement the check as part of the integration 2023-05-15 13:16:56 +02:00
Adria Navarro
f5fb4f8850 Clean 2023-05-15 13:16:56 +02:00
Adria Navarro
b022dcba77 Types 2023-05-15 13:16:56 +02:00
Adria Navarro
25233c5c9b Add message response 2023-05-15 13:16:56 +02:00
Adria Navarro
f022a43065 Test pg connection 2023-05-15 13:16:56 +02:00
Adria Navarro
239a51a2c0 Typings 2023-05-15 13:16:56 +02:00
melohagan
fb54b6de60 Add pagination to Google Sheets (#10525)
* Add pagination to Google Sheets

* Default limit to 100
2023-05-09 12:05:12 +01:00
mike12345567
ce6c5bfa68 Base connection work - extending the base integration to include the option of a connection check function. 2023-05-05 15:47:55 +01:00
mike12345567
49b45f5e67 Merge branch 'develop' of github.com:Budibase/budibase into chore/esbuild 2023-04-25 17:37:56 +01:00
Michael Drury
9c93bf91c0 Merge pull request #10352 from Budibase/fix/10349
Allow SQL formulas using related row information to be used as display columns
2023-04-24 17:50:49 +01:00
mike12345567
1aca5d6407 Fixing an issue with creating relationships between existing tables, not using the correct type for the primary key in the foreign key relationship. 2023-04-19 17:17:37 +01:00
mike12345567
67de033683 Merge branch 'develop' of github.com:Budibase/budibase into chore/esbuild 2023-04-19 15:01:26 +01:00
Michael Drury
42c37eea46 Merge pull request #10276 from Budibase/labday/automation-plugins
Automation step plugins
2023-04-18 17:33:25 +01:00
mike12345567
9a36377d6e Merge branch 'develop' of github.com:Budibase/budibase into chore/esbuild 2023-04-17 18:10:29 +01:00
mike12345567
c552913737 Fixing defaults in MS-SQL as well. 2023-04-14 18:10:10 +01:00
mike12345567
09ccac12ae Fix for default values with NOT NULL requirements being intepreted as requiring values in the frontend, presence check is now ignored if a default or auto value is found. 2023-04-14 17:56:17 +01:00
mike12345567
361005b521 Merge branch 'develop' of github.com:Budibase/budibase into chore/esbuild 2023-04-13 17:23:58 +01:00
mike12345567
a9fb09424b Merge branch 'develop' of github.com:Budibase/budibase into labday/automation-plugins 2023-04-12 14:27:50 +01:00
melohagan
3a5e31710c Add db prop to redis integration (#10210)
* Add db prop to redis integration

* Add DB display

* Default DB value to 0
2023-04-12 13:51:40 +01:00
mike12345567
ac37d00f69 Updating plugins to have a SDK, which can be used for automation action retrieval as well as datasources. 2023-04-11 16:37:26 +01:00
mike12345567
29def1408a Fixing syntax error and linting. 2023-04-03 15:36:34 +01:00
Michael Drury
2f57b3b16d Merge pull request #10077 from robert4dt/develop
Handle application/pdf content type in rest integration
2023-04-03 15:30:03 +01:00
adrinr
e8e77cc140 Use esbuild for server 2023-03-31 12:32:41 +01:00
mike12345567
32c78ec9bf This makes it so that Googlesheets works correctly as part of onboarding in the Cloud, in self host the googlesheets onboarding option has been hidden as it is too complex to get the user to setup the correct integrations with their google account while doing the first time onboarding to an app. 2023-03-29 19:58:24 +01:00
Rory Powell
d6992bbf94 Merge branch 'master' into merge-master-develop 2023-03-29 11:52:09 +01:00
Rory Powell
89d19a87a7 Revert "Merge pull request #10038 from Budibase/fix/budi-6723" (#10143)
This reverts commit b1b18bef18, reversing
changes made to e841ccd0ed.
2023-03-29 08:48:06 +01:00
melohagan
9e8ab55e18 Lowercase values for Oracle LIKE (#10134) 2023-03-28 11:46:29 +01:00
mike12345567
cf5316ec8d General fixes for open handles, attempting to find and close all issues in server which are stopping shutdown of Jest suite. 2023-03-27 19:38:49 +01:00
mike12345567
82286d519f Fixing some issues with test cases. 2023-03-21 17:27:31 +00:00
Michael Drury
34e8009f08 Merge pull request #9949 from Budibase/fix/blacklist
Blacklisting
2023-03-20 10:33:11 +00:00
T4DT GmbH
9a4ab17c53 Update rest.ts 2023-03-20 11:31:45 +01:00
mike12345567
6174b6ae18 Squashing #10024 for master merge. 2023-03-15 14:16:45 +00:00
mike12345567
f2484eafec Fix for spaces in table names (external). 2023-03-14 16:13:14 +00:00
mike12345567
c2de0ade7d Merge branch 'develop' of github.com:Budibase/budibase into fix/budi-6723 2023-03-14 14:25:46 +00:00
mike12345567
da9e1bed64 Fix for googlesheets issue - when table initially created doesn't have the correct schema, adding a function to handle static schemas like Gsheets. 2023-03-14 12:11:01 +00:00
melohagan
878bc65eb2 Add missing readable flag (#10016) 2023-03-14 10:06:01 +00:00
mike12345567
3d84409a58 Making sure created flag gets carried across for external tables. 2023-03-13 18:18:04 +00:00
mike12345567
65ada7f8b2 Adding back a base column for sheet creation. 2023-03-13 18:10:35 +00:00
mike12345567
2a1f215351 Removing relationship option from Googlesheets as it doesn't add value, as well as multi-select as it can't really be supported. Also fixing issues with re-fetching after adding some special column types./ 2023-03-13 18:04:29 +00:00
mike12345567
d3464ce166 Adding mechanism for bulk creation of rows in gsheets, used for CSV imports. 2023-03-13 17:21:04 +00:00
mike12345567
6b8d0ca9dd Adding mechanism for verifying the Budibase properties, such as required and min/max as part of the external API. 2023-03-13 16:21:22 +00:00
mike12345567
9037ab86d5 Adding an error for XLSX type sheets not working, adding the sheets URL as an option for google config (should be added to redirect URL) and fixing some error states. 2023-03-10 18:46:48 +00:00
Michael Drury
c553f053fe Merge pull request #9965 from Budibase/budi-6667-change-oracle-db-name-to-service-name
Change Database to Service Name in Oracle config
2023-03-10 16:38:06 +00:00
Mel O'Hagan
ad7bda17bb Change database to Service Name in oracle 2023-03-09 15:52:16 +00:00
Adria Navarro
63afd34eb2 Bug - BUDI-6068 filters do not work for google sheets (#9886)
* Add data-utils with filters

* Create data-utils

* Add data-utils to compiled code

* Reuse constants

* Fix tests

* Rename package to shared-core

* Namespace export shared-core

* Rely on rollup to bundle shared-core

* Revert "Rely on rollup to bundle shared-core"

This reverts commit e8b5a2bb9a.

* Updating version and removing private.

* Update version

* Increment versions.

* Implement sort

* Enabling sort

* v2.3.21-alpha.2

* Fix build

* Improve readability

* Move deepGet to shared helper

* Better type usage

* Fix types

* Configure types

* Fix vite refs

* Add dep

* Fixing depencencies on client

* Add missing dev command

* Fix loading issues

* Update versions to latest

* Multiple es6 and commonjs configs

* Config

* Use local packages on rollup for client

* Change shared-core and types entry points

---------

Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2023-03-09 12:25:12 +00:00
mike12345567
564c724be1 Provides the option for blacklisting IPs. 2023-03-08 16:30:26 +00:00
mike12345567
0342d409c3 Fix for #9790 - formulas never exist in the database and so were always being considered deleted, handling this. 2023-03-07 15:29:58 +00:00
Martin McKeaveney
26660b12fb PR comments 2023-03-06 10:33:49 +00:00
Martin McKeaveney
edac525424 remove import 2023-03-06 10:24:45 +00:00
Martin McKeaveney
e8c73cdee0 return gsheets config in test regardless 2023-03-06 10:22:32 +00:00
Michael Drury
fcb9f3e116 Merge pull request #9815 from Budibase/bug/budi-6076-cannot-delete-columns-in-google-sheet
Bug - budi-6076 cannot delete columns in google sheet
2023-02-28 13:56:32 +00:00
Rory Powell
312c01a879 Prefer default config for google sheets in cloud, don't use env vars for regular auth 2023-02-28 10:36:29 +00:00
adrinr
b05d568518 Merge remote-tracking branch 'origin/develop' into bug/budi-6076-cannot-delete-columns-in-google-sheet 2023-02-27 17:45:37 +01:00
adrinr
f017f0d54e Catch issue on test 2023-02-27 17:41:42 +01:00
adrinr
f85ea527bd Add tests for adding/removing columns in a google spreadsheet 2023-02-27 17:25:48 +01:00
adrinr
abe06a127a Types 2023-02-27 17:25:26 +01:00
mike12345567
2fb33e2cf3 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-27 14:51:33 +00:00
Rory Powell
2e829ce8a6 Merge pull request #9785 from Budibase/configs-refactor-and-server-test-fixes
Configs /  Server tests / Failing real email tests updates
2023-02-27 14:00:21 +00:00
adrinr
30fde61d4d Handle deletes 2023-02-27 13:33:19 +01:00
mike12345567
42fc004212 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-24 12:46:58 +00:00
Rory Powell
d3a7286711 Configs updates: remove circular deps, dedicated module, typing improvements, reduce db reads 2023-02-23 13:41:35 +00:00
adrinr
9e0d003038 Fix creation 2023-02-23 10:28:24 +01:00
adrinr
b9c54b6fe6 Update many to many 2023-02-22 10:54:55 +00:00
mike12345567
ef30c03fa6 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-21 17:26:24 +00:00
adrinr
e0b3976ee4 Add return select statement back on update 2023-02-21 15:57:04 +00:00
adrinr
1ada790d50 Fix postgres update for relationships 2023-02-21 15:21:00 +00:00
Rory Powell
cacf275a99 Prevent SSO users from setting / resetting a password (#9672)
* Prevent SSO users from setting / resetting a password

* Add support for ENABLE_SSO_MAINTENANCE_MODE

* Add typing to self api and build out user update sdk

* Integrate sso checks with user sdk. Integrate user sdk with self api

* Test fixes

* Move self update into SDK

* Lock down maintenance mode to admin user

* Fix typo

* Add health status response and return type signature to accounts.getStatus

* Remove some unnecessary comments

* Make sso save user function non optional

* Remove redundant check on sso auth details provider

* Update syncProfilePicture function name to getProfilePictureUrl

* Update packages/worker/src/sdk/users/events.ts

Co-authored-by: Adria Navarro <adria@revityapp.com>

* Add ENABLE_EMAIL_TEST_MODE flag

* Fix for logging in as sso user when existing user has password already

* Hide password update and force reset from ui for sso users

* Always disable sso maintenance mode in cloud

---------

Co-authored-by: Adria Navarro <adria@revityapp.com>
2023-02-21 08:23:53 +00:00
Rory Powell
bb1faac62a Merge master into develop 2023-02-15 15:10:02 +00:00
mike12345567
05ceee1cfe Moving lucene handling to backend-core so that it can be used for other databases (outside row indexes). 2023-02-13 17:13:59 +00:00
mike12345567
0c80ea2083 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-10 17:42:56 +00:00
mike12345567
4acfae6af6 Updating so that datasources always have correct types after environment variable enrichment. 2023-02-10 12:47:23 +00:00
mike12345567
f8ef06c849 Fix issue with MS-SQL, port needs to be a number for the node-mssql package, with env vars it isn't anymore. 2023-02-10 11:54:16 +00:00
adrinr
2cdc2f3fec Fix select statement when no resource 2023-02-07 12:29:58 +00:00
adrinr
3d917bfe22 Fix conflicting columns issue 2023-02-07 12:25:02 +00:00
adrinr
bc0208bc83 Clean describes 2023-02-07 11:27:46 +00:00
adrinr
79e42abc1e Tidy tests 2023-02-07 10:46:34 +00:00
Adria Navarro
afa282ecbf Fix sql when no resource 2023-02-06 20:47:49 +00:00
adrinr
c87efb7866 Don't return foreign keys on updates and deletes 2023-02-06 17:37:00 +00:00
adrinr
29503d1244 Fix tests 2023-02-06 17:30:33 +00:00
adrinr
9bb1a2fa18 Merge remote-tracking branch 'origin/develop' into test/9339-sqlpostgres-row-api-test-suite 2023-02-06 09:12:13 +00:00
Martin McKeaveney
d4a0e44b31 merge 2023-02-05 22:11:37 +00:00
adrinr
4eb0c07953 Merge branch 'feature/dependencies-image' into test/9339-sqlpostgres-row-api-test-suite 2023-02-02 10:12:33 +00:00
Rory Powell
71292d3786 Fix server build by removing unused dependency on file path in backend-core 2023-02-02 09:26:39 +00:00
Michael Drury
dfeb41ee53 Merge pull request #9493 from Budibase/fix/8236
CouchDB integration fixes
2023-02-01 13:55:03 +00:00
mike12345567
048cf8f188 PR comments. 2023-02-01 13:01:38 +00:00
melohagan
7ce31d64cb Fix/elastic search delete (#9492)
* Make sure json param isn't included in delete

* lint
2023-02-01 12:47:38 +00:00
mike12345567
f4379fcb4f Updates to use our new Nano layer for CouchDB integration rather than PouchDB. 2023-01-31 19:49:31 +00:00
mike12345567
c2eb8fb976 Update to cover the authentication for REST, replacing it with secret value and converting to password field, as well as minor update to env dropdown to only be a password field when not containing an environment variable - #9480. 2023-01-30 18:50:35 +00:00
Rory Powell
da2c809a09 Merge branch 'develop' into feature/environment-variables 2023-01-27 11:27:11 +00:00
melohagan
0daacf3425 Add fields for MongoDB SSL cert file paths (#8260)
* Added fields for tls certificate files

* lint

* Only include cert fields if SELF_HOSTED

* lint

* Refactor getSchema function

* Add datasource field group with accordion

* Handle no display column on fieldGroup field

* Override text transform accordian header

* Renamed from TLS to SSL in UI config

* readable flag

* Add accordion component

* Refactor
2023-01-23 16:46:02 +00:00
melohagan
19696fb1fe Treat bigint as string (#8877)
* Make bigint string type

* Handle BigInt relationships

* remove unused var

* Revert CreateEditRelationship modal changes
2023-01-22 19:19:16 +00:00
melohagan
458ab7dadc SQL filtering: Always escape key in LIKE statements (#9278)
* Always escape key in like statements

* lint
2023-01-20 14:03:14 +00:00
Adria Navarro
6bc658c1ff Fix types 2023-01-18 11:50:00 +00:00
mike12345567
fc5f6ca530 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