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

711 commits

Author SHA1 Message Date
mike12345567 5f8cfcdb5c Opening connection for building schema. 2022-05-20 17:43:47 +01:00
mike12345567 a23e4efd8c Fix for Postgres connections, seemed to be some issues with out of order, connections not opening in time. 2022-05-20 17:41:27 +01:00
Mel O'Hagan 2c2eb69ae7 Improve parseQueryParams regex 2022-05-17 12:11:43 +01:00
Mel O'Hagan aa0c09ac82 Parse params if needed 2022-05-16 22:44:38 +01:00
Mel O'Hagan c6591490d3 Using mongodb types 2022-05-16 09:50:47 +01:00
Mel O'Hagan 6709eea7cc Removed unused aws Object import 2022-05-16 08:43:27 +01:00
Mel O'Hagan bf144858bb Lowercase the object typo 2022-05-16 08:42:09 +01:00
Mel O'Hagan af997be2e9 Check type is string before match 2022-05-13 21:25:41 +01:00
Mel O'Hagan 672bfda7dd Fix test for update 2022-05-13 15:57:37 +01:00
Mel O'Hagan a58f35a6cd Null pointer fix 2022-05-13 15:57:15 +01:00
Mel O'Hagan 094a548e38 MongoDb Delete fix 2022-05-13 15:56:57 +01:00
Mel O'Hagan 4b7f1391f8 Fixed update 2022-05-13 15:56:49 +01:00
Mel O'Hagan 2a98872296 Create ObjectIds from matching string 2022-05-13 15:56:32 +01:00
Michael Drury cb95b419a7
Merge pull request #5707 from Budibase/fix/mike-fixes-04-05
SQL columns with spaces LIKE fix and dynamic REST variable UI change
2022-05-11 10:34:36 +01:00
Martin McKeaveney 8c5efd0a61 more strategic connection closing in pg 2022-05-10 11:13:40 +01:00
Martin McKeaveney 6cddc3f8f9 merge 2022-05-05 12:45:09 +01:00
mike12345567 13ec670295 Fix for #5669 comment, when using SQL tables with spaces in names, we use a raw knex function for like to achieve lower case searching, this needs to handle spaces in columns and delimiting. 2022-05-04 16:13:54 +01:00
mike12345567 107c9e2dfc Fix for #5553 - when importing for SQL databases attempt to manage date and time only column times, handle these when displaying in tables and when filtering. 2022-05-03 14:11:06 +01:00
mike12345567 be4b930c8a Fix for #5612 - stop some formats of string being in-correctly parsed as dates by MySQL - disable type coercion for data source plus mysql tables (knex converts). 2022-04-29 16:47:43 +01:00
mike12345567 a7fe15244b Fixing issue #5594 - allowing use of double underscores in table names for SQL. 2022-04-29 16:22:11 +01:00
Martin McKeaveney bfb6e20bb8 adding close to buildSchema 2022-04-29 10:47:42 +01:00
Martin McKeaveney 06774c1452 merge 2022-04-29 00:05:43 +01:00
Martin McKeaveney 4bab24f1ac remove postgres connection pooling 2022-04-28 23:24:52 +01:00
Martin McKeaveney 62f2cff42e firebase tests complete 2022-04-28 22:59:25 +01:00
mike12345567 8d5931f94c Fixing some issues with types being lost when fetching SQL tables, after making changes to tables within Budibase. 2022-04-27 17:11:57 +01:00
mike12345567 056d9defe4 Fix for #5219 - default all string types to basic text format, allow user to switch string types to longform if they desire. 2022-04-27 16:29:03 +01:00
Martin McKeaveney a5bdf70cf7 renamable buckets, started firebase tests, onboarding modal copy update 2022-04-26 17:12:47 +01:00
Martin McKeaveney e01ef9bdfb merge with master 2022-04-26 10:21:45 +01:00
Martin McKeaveney b05d1d9708 merge 2022-04-25 10:24:49 +01:00
Martin McKeaveney 8f26196191 Merge branch 'gsheets-updates' of github.com:Budibase/budibase into gsheets-updates 2022-04-25 09:38:06 +01:00
Martin McKeaveney 9f0cb41f49
Merge branch 'master' into gsheets-updates 2022-04-25 09:27:38 +01:00
Martin McKeaveney 877dfb0e5d moving node fetch import into module 2022-04-25 00:05:32 +01:00
Martin McKeaveney 33717ceb30 auto fetch access token in gsheets integration 2022-04-24 23:32:47 +01:00
Michael Drury ae385ffd16
Merge pull request #5542 from Budibase/fix/5495
Fix for SQL relationship based formulas
2022-04-22 16:51:24 +01:00
Michael Drury a3321246e0
Merge pull request #5510 from Budibase/fix/pouch-leak
PouchDB memory leak protection
2022-04-22 15:32:51 +01:00
mike12345567 7e6eaf65d8 Fix for #5530 - make MySQL RejectUnauthorized SSL parameter accessible to the user. 2022-04-22 14:53:36 +01:00
Martin McKeaveney 690ba4f81f use ioredis mock for in memory redis tests 2022-04-21 20:24:43 +01:00
mike12345567 fe846f86a5 Fixing issues with test cases - a lot of test cases didn't setup tenancy in any format, which now means that the API endpoints they call would not have access to a Global DB instance. Also had to disable the closing of the database in test as this was removing the database from memory, meaning future calls would find an empty database when they opened it. 2022-04-21 14:56:14 +01:00
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 5396a8d8e0 Fix for #5411 - trimming the various binding components for SQL in queries. Also moving SQL interpolation out into a Typescript - prep for further unit testing/improvements. 2022-04-14 13:06:22 +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
Martin McKeaveney cf1e378b6e
Merge branch 'develop' into labday/integrations 2022-04-05 11:59: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 6d8254d5f0 redis integration complete 2022-03-31 15:44:06 +01:00
Martin McKeaveney 81c662f0ca redis integration 2022-03-31 10:56:16 +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