1
0
Fork 0
mirror of synced 2024-06-30 12:00:31 +12:00
Commit graph

669 commits

Author SHA1 Message Date
mike12345567 ea6f580501 Initial version of memory leak protection, making sure that PouchDB databases are closed correctly after use, using a combination of closures wrapping DB gets (this replaces the getDB, leaving only a dangerousGetDB function which can be used in very very specific scenarios) and then closing the DB as part of CLS hooked functions finishing. Also moving the GlobalDB init to the tenancy middleware as this is used everywhere in the worker/app services - means that not all getGlobalDB calls require an async closure around them. 2022-04-19 19:42:52 +01:00
mike12345567 00bcdd317f Fixing issue #5322 - when endpoint is specified for DynamoDB and not in a the region that the whole instance expects it will throw an odd credentials error - making sure connection is commenced everywhere other than localhost. 2022-04-12 18:49:46 +01:00
mike12345567 c4a42cc181 Fix for issue discovered in #5187 - expanding regex to cover all sorts of number coercion. 2022-04-07 10:26:39 +01:00
mike12345567 62f4ecf3e1 Fixing issue #5817 - making sure that date strings are correctly parsed into the bindings. 2022-04-01 17:13:28 +01:00
Martin McKeaveney 6432ca102a
Update index.ts 2022-03-31 09:40:41 +01:00
Martin McKeaveney e263cc31bb merge with master 2022-03-30 15:44:22 +01:00
mike12345567 5dcbef58a8 Fix for #5153 - doing it at the mysql level as it seems to be affected by incorrect types in a way that other SQL databases aren't - limits the possible damage this can do. 2022-03-30 14:45:13 +01:00
Martin McKeaveney 04b17fb634 re-add gsheets to self host 2022-03-28 16:46:05 +01:00
Martin McKeaveney ee6a16827a fixing google sheets bug, respect google configuration hierarchy 2022-03-28 16:44:33 +01:00
Rory Powell 0ee41ea10c Merge branch 'master' into merge-master 2022-03-25 13:10:37 +00:00
Martin McKeaveney 33506bebb4 ignore AWS config when using endpoint field 2022-03-25 10:35:59 +00:00
Andrew Kingston 8e361afcda Allow deep-getting of pagination params from REST responses 2022-03-24 10:07:23 +00:00
mike12345567 d52f6dea05 Adding the ability to expand the max number of rows retrieved by SQL queries (say for table exports). 2022-03-21 17:44:43 +00:00
Martin McKeaveney fd0a916564
Merge pull request #4871 from Budibase/fix/date-filtering
Date filtering logic
2022-03-21 08:19:03 +00:00
Maurits Lourens 0f5d4733d6 Merge branch 'develop' into google_firebase_integration 2022-03-16 13:40:04 +01:00
Andrew Kingston 72f6bc8930 Add test cases for SQL range filtering changes 2022-03-15 11:52:54 +00:00
Andrew Kingston bf29fa43b4 Merge branch 'develop' of github.com:Budibase/budibase into fix/date-filtering 2022-03-15 11:44:04 +00:00
Michael Drury 0d7db82c71 Fixing MS-SQL variable sub. 2022-03-12 11:13:41 +00:00
Michael Drury 7f36cc97c9 Switching to correct concat function for oracle. 2022-03-11 00:40:01 +00:00
Michael Drury 05836272dd Adding a mechanism to concat strings in queries, there was a problem when char const strings were wrapping bindings, this should find instances of that and replace with a datasource specific method of concating the constant with the variable. 2022-03-11 00:19:26 +00:00
Andrew Kingston 7a1b362515 Update date filtering to only use a between statement when 2 dates are provided 2022-03-10 10:18:03 +00:00
Maurits Lourens 70c5574e75 finish up Firebase implementation 2022-03-10 00:23:36 +01:00
Maurits Lourens bdb5b127dd fix connection to firebase using service account 2022-03-09 17:46:25 +01:00
Maurits Lourens e9405a1802 initial setup for google firebase integration 2022-03-08 17:31:36 +01:00
mike12345567 1357c53ff8 Fixing issue #4811 - when renaming SQL columns use an actual rename alteration rather than dropping the column. 2022-03-07 16:31:35 +00:00
mike12345567 0f1b7b18d5 Making sure that tables are created within the correct schema for MS-SQL. 2022-03-04 15:50:19 +00:00
mike12345567 a7e3389790 Adding the ability to support schemas in MS-SQL. 2022-03-04 15:12:07 +00:00
mike12345567 2123fca557 Fixing various other ms-sql types. 2022-03-04 13:48:21 +00:00
mike12345567 b054c2a198 Merge branch 'develop' of github.com:Budibase/budibase into fix/sql-issues 2022-03-04 12:47:02 +00:00
mike12345567 5d7f4b6ab7 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-03-04 11:25:32 +00:00
Michael Drury 7179cf978a Updating test case to handle new promise library. 2022-03-03 23:50:46 +00:00
mike12345567 07551c54c1 Attempting to fix mysql issue by changing our usage of mysql2 to use the promise version, making sure disconnection always occurs correctly and using a slightly different syntax/approach. 2022-03-03 19:20:26 +00:00
mike12345567 3f150c4a1f Correctly parsing the bit type in ms-sql to boolean. 2022-03-03 17:20:21 +00:00
Michael Drury 94041ced55 Changing how SQL vars are generated so that when new SQL implementations are added they must implement a generation mechanism. 2022-03-02 22:45:10 +00:00
mike12345567 8ce1b471fd Fixes for SQL issues raised by Marty. 2022-03-02 17:40:50 +00:00
mike12345567 407aa2d49b Fix for #4431 - converting SQL joins back to left joins, syntax specifying join type as string is old which doesn't work in latest versions of knex. 2022-02-11 17:28:57 +00:00
mike12345567 03822c7223 Fix for #4431 - converting SQL joins back to left joins, syntax specifying join type as string is old which doesn't work in latest versions of knex. 2022-02-11 14:04:23 +00:00
Martin McKeaveney 20b4f5aadc merge with master 2022-02-10 18:57:26 +01:00
Martin McKeaveney 9144fdef6e merge with develop 2022-02-10 11:39:15 +01:00
Martin McKeaveney e1bc104715 only show gsheets in self host 2022-02-10 11:34:50 +01:00
mike12345567 b9de2c1897 Fix for #3928 - error invalid use of FETCH was based on a lack of sorting on MS-SQL platforms, this enforces a sort of some type no matter what. 2022-02-04 16:17:36 +00:00
mike12345567 b5993f4aa9 Fixing TS issue caused by linting. 2022-02-02 18:18:53 +00:00
mike12345567 fa94ea7b3a Updating the SQL core to allow it to handle multiple relationships between the same two tables. 2022-02-02 18:15:17 +00:00
Martin McKeaveney 394eb44b5f merge 2022-02-01 11:22:14 +01:00
mike12345567 c9d2de8344 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 15:33:36 +00:00
mike12345567 712382af07 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-01-31 14:29:02 +00:00
mike12345567 40c6eb2007 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
mike12345567 3567e7ddb6 Fixing #4192 - allowing switching between JSON and multi-select types, as well as not switching multi-select to JSON when fetching SQL tables. 2022-01-26 18:50:13 +00:00
Martin McKeaveney 203c892f33 code review and merge with develop 2022-01-26 17:45:28 +01:00
Martin McKeaveney 5d59db8fd2 code review 2022-01-26 17:14:47 +01:00