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

243 commits

Author SHA1 Message Date
Maurits Lourens 128ea88dae make empty array valid when not required 2022-01-18 11:38:39 +01:00
mike12345567 4c050699d4 Merge branch 'develop' of github.com:Budibase/budibase into feature/auth-core 2022-01-11 15:16:07 +00:00
mike12345567 836a2f5863 Switching out @budibase/auth to @budibase/backend-core. 2022-01-10 19:33:00 +00:00
mike12345567 058678dec5 Updating to handle prod vs dev apps and deletion of attachments, as well as handling it on update. 2022-01-06 18:45:40 +00:00
mike12345567 1a6397026e Removing attachments when row is deleted (always, need to restrict if app is deployed). 2022-01-06 17:59:29 +00:00
Peter Clement 26cffbff9f
Merge pull request #3913 from Budibase/bug/pc-fixes
Bug fixes for #3399 and #3489
2022-01-04 11:44:57 +00:00
Peter Clement 18671d24b7 fix issue with 0 evaluating to false in query builder 2021-12-15 16:32:04 +00:00
mike12345567 5e0a6d6c91 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 11:32:50 +00:00
mike12345567 1cee1b78e6 Adding validation around invalid JSON inputs and allowing input via a code mirror editor in data UI. 2021-11-29 18:16:44 +00:00
mike12345567 ec12d6a045 Fixing issue with updating row validation to allow empty objects. 2021-11-29 17:54:09 +00:00
mike12345567 3bb034939b Fixing issue found with enriching rows in SQL - the system was assuming the array of entries contained a row ID that needed to be broken down. 2021-11-26 17:08:56 +00:00
Michael Drury c1756aff75
Merge pull request #3541 from Budibase/fix/sql-issues
Fixing various SQL issues
2021-11-25 12:42:38 +00:00
mike12345567 831ef53319 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-25 12:21:58 +00:00
mike12345567 bd9ae5191b Fixing some issues discovered with many to many relationships in SQL, as well as problems uncovered by #3531. 2021-11-24 20:55:03 +00:00
mike12345567 2f282e70a9 Fixing issue with exporting CSV/JSON, also saving as right file type. 2021-11-18 14:57:17 +00:00
mike12345567 0cf612029e Linting and updating csv parser test case to match new functionality. 2021-11-12 19:39:12 +00:00
mike12345567 86eec3bb52 Some UI work, as well as moving SQL to using a proper bulk insert method and fixing an issue found with csv parsing and removing of invalid columns. 2021-11-12 19:24:56 +00:00
mike12345567 2155e5f5eb Merge branch 'develop' of github.com:Budibase/budibase into feature/mssql-plus 2021-11-09 11:20:17 +00:00
Andrew Kingston d0755ce8ac
Merge pull request #3249 from Budibase/blocks
Core blocks implementation + table with search block
2021-11-08 20:46:21 +00:00
mike12345567 d5f10f5f13 Linting. 2021-11-08 18:27:18 +00:00
mike12345567 2312defd3c Fixing some issues with multi-select coming back as string. 2021-11-08 18:23:48 +00:00
mike12345567 948ec067d5 Updating underlying sql to not use ilike unless in postgres client. 2021-11-05 13:48:13 +00:00
Andrew Kingston dd73ed3e1a Fix issue saving a doc with a multi-options datatype that was not defined 2021-11-05 12:37:16 +00:00
mike12345567 974cf7b27e Linting and updating SQL Server schema generation to include auto column and primary key recognition. 2021-11-05 12:33:48 +00:00
mike12345567 246d08c804 SQL table building. 2021-10-28 19:39:42 +01:00
Martin McKeaveney 7882862a65 enable collapsible nodes in component tree 2021-10-21 16:24:58 +01:00
mike12345567 d20eb464b0 Fixes issue #2417 in the backend, looks for fields which could contain a key value and if they do it will resolve them down to the ID field value. 2021-10-18 17:54:34 +01:00
mike12345567 1684f18217 Fixing issue #2276 - allows reverting a SQL column to null if no input. 2021-10-06 17:52:12 +01:00
mike12345567 3878cf76cd Fixing issue #2788 - making client side queries and SQL queries consistent with internal table ones. 2021-10-06 17:38:32 +01:00
Rory Powell 651947bb49 Add API keys between account portal and budibase 2021-10-04 13:40:50 +01:00
mike12345567 a343805fee Fix for many to many relationships where the union table has arbituarily named foreign key constraint columns, an example has been provided in the scripts directory. 2021-10-01 17:16:43 +01:00
mike12345567 53fb8682f9 Fixing formula in enrichment calls, it did not retrieve the correct linked table for output processing, grouping rows for enrichment phase with their correct tables. 2021-09-30 17:54:54 +01:00
mike12345567 7de9ed2fdf Merge branch 'develop' of github.com:Budibase/budibase into feature/cloud-export 2021-09-30 12:22:28 +01:00
mike12345567 b3cda1cf64 Adding cloud -> self host and self host -> cloud view migrations. 2021-09-30 12:17:27 +01:00
Andrew Kingston f03b8470a4 Only use fetch for search when running in cypress 2021-09-29 18:22:56 +01:00
Andrew Kingston 2b31239f04 Treat the search endpoint as a fetch when running tests as lucene doesn't exist 2021-09-29 17:36:53 +01:00
Martin McKeaveney 5b1ae778da fallback SMTP configuration for cloud 2021-09-27 14:57:22 +01:00
mike12345567 1952dc308e Fixes issue #2616 - this is a slightly complex fix and handles a few other issues with mysql (around returning on creation of a row and relationships) - a new mechanism is now used for pagination and limiting which makes sure the limits are applied to the outer table rather than the combination of the outer and the joined. 2021-09-23 16:35:09 +01:00
Martin McKeaveney 5a1e39c49f
Merge pull request #2707 from mslourens/fix_constraint_formula_field
Fix formula constraints check
2021-09-23 09:35:43 +01:00
Michael Drury b3805c9853
Merge pull request #2709 from Budibase/fix/2673
Fix for issue #2673
2021-09-22 18:21:56 +01:00
mike12345567 f70cee3c52 Fixing issue #2673 - discovered issues with some column types not being worked out to be auto-columns in postgres. 2021-09-22 17:46:54 +01:00
Maurits Lourens fe3902a33c Check if the formula validates against its constraints 2021-09-22 17:27:07 +02:00
mike12345567 d8b2dd035a Adding the ability to migrate from existing in db views to in memory views. 2021-09-21 17:37:26 +01:00
mike12345567 efdd78c7fe Removing use of db.post as its dangerous to allow the possibility of _id being auto-generated, these docs would be lost as we couldn't query them out by the usual id mechanism. 2021-09-21 16:07:04 +01:00
mike12345567 8f70ad9cdc Performance improvements after testing - switching to temporary in memory queries for cloud views. 2021-09-21 15:59:50 +01:00
mike12345567 0651b874ac Fixing issues with automation steps found during testing. 2021-09-20 19:21:04 +01:00
mike12345567 ac944e532b Moving views into a different location so they don't trigger tree creation and attempting to use in memory pouchDB to run views on the fly. 2021-09-20 18:24:09 +01:00
mike12345567 96f0f9b4fd Adding in backend implementation of the query step, as well as some front-end work to support the filter drawer within automations. 2021-09-15 19:02:44 +01:00
mike12345567 a5ce11d3ca Fixing issue #2412 - making sure full enriched records are passed along to automations. 2021-09-13 16:28:52 +01:00
Martin McKeaveney e37e6af4f6 merge 2021-09-09 11:15:21 +01:00
Martin McKeaveney 9e73dcdd44 lint 2021-09-06 16:24:51 +01:00
Martin McKeaveney c39abe4081 merge with master 2021-09-06 16:13:17 +01:00
mike12345567 4fae8b2b1e Fixing issue with using 'ta' in view name. 2021-09-02 17:49:21 +01:00
mike12345567 4ff9de1b6c Fixing issues with search endpoint not handling users fully. 2021-09-02 17:13:00 +01:00
mike12345567 d864dedba0 Fixing issue with rows not returning correctly. 2021-09-02 13:31:46 +01:00
mike12345567 811ba19558 Fixing issues with SQL many relationship updates. 2021-09-01 19:40:47 +01:00
Martin McKeaveney 0df6d24edf prevent sql relationship delete from erroring 2021-08-31 19:59:49 +01:00
Peter Clement bb5971bd82 change index definition 2021-08-27 14:10:19 +01:00
Peter Clement 24d611b653 refactor of multi-option filtering and validation 2021-08-27 08:05:22 +01:00
Peter Clement 974e264f50 fix indexing of arrays 2021-08-26 14:22:52 +01:00
Peter Clement 16270b46cf Update validation for array type 2021-08-26 14:04:18 +01:00
Peter Clement 624080800f Fix lucene not allowed characters 2021-08-26 11:39:42 +01:00
Peter Clement c28d0ef1ea linting 2021-08-25 19:25:57 +01:00
Peter Clement 3ce5b96b0c use normal combobox for filtering array columns 2021-08-25 17:00:42 +01:00
Peter Clement c681330793 Add more validation options for array field 2021-08-25 15:49:04 +01:00
Peter Clement 04ce0abd46 Add not contains option to lucene query builder 2021-08-25 14:05:00 +01:00
Peter Clement d55218e813 Add contains option to lucene query builder 2021-08-24 16:14:38 +01:00
Peter Clement 295e36f576 Add ability for user to select 'List' data type for a column 2021-08-19 16:54:44 +01:00
Martin McKeaveney 537f5fdaa4 lint 2021-08-17 14:15:24 +01:00
Martin McKeaveney c66f5ab6ff couchDB auth options 2021-08-17 14:11:03 +01:00
Maurits Lourens 8dfef0d342 return validation errors 2021-08-16 21:15:15 +02:00
mike12345567 34397c2e14 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-08-06 13:04:54 +01:00
mike12345567 a64ce3f55a Fixing issues with many to many relationships in SQL, sometimes not creating right relationships. 2021-08-05 19:49:30 +01:00
mike12345567 3744c9093b Fixing a variety of issues with internal relationships and external SQL relationships. 2021-08-05 19:24:29 +01:00
mike12345567 42f08f97cc Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 0d2e2314d4, reversing
changes made to 1beca4ee96.
2021-08-05 09:59:08 +01:00
mike12345567 2fed177f3c 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
Michael Drury f37946d47e
Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
mike12345567 3e8d7a8ae2 Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 16:11:05 +01:00
mike12345567 b5d7e76ec2 Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 16:10:59 +01:00
Andrew Kingston 78dc524f79 Fix setVersion not returning itself to restore builder syntax compatibility 2021-07-23 15:57:50 +01:00
Andrew Kingston 0845bde7b4 Add missing version to paginated search endpoint 2021-07-23 15:55:58 +01:00
mike12345567 9f06b180a8 Adding concept of version to APIs. 2021-07-23 15:29:14 +01:00
mike12345567 bf4fb71257 Updating to use default false for search pre-processing. 2021-07-23 13:44:46 +01:00
mike12345567 e96f45464a Updating internal search to disable features were required. 2021-07-23 13:29:50 +01:00
mike12345567 4fbe37ff0e Removing optional chaining, not valid in Node. 2021-07-23 13:07:10 +01:00
Andrew Kingston a5e27e1387 Fix lucene filtering of all types by parsing values as expected types, and correctly wrapping non-numeric types while building queries 2021-07-22 15:53:20 +01:00
mike12345567 99fe16d169 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-19 17:35:48 +01:00
mike12345567 63dba7b574 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-19 16:24:19 +01:00
mike12345567 2bee1b6b56 Linting. 2021-07-19 14:32:14 +01:00
mike12345567 85f7b056d2 Fixing an issue with lucene equality searching, strings weren't handled correctly. 2021-07-19 14:31:06 +01:00
mike12345567 8241df2581 Fixing some tenancy issues. 2021-07-19 12:57:52 +01:00
mike12345567 a9c6b10560 Quick fix, make sure auto-columns never sent to DB. 2021-07-06 13:55:05 +01:00
mike12345567 2e18abd342 Linting. 2021-07-03 11:16:29 +01:00
mike12345567 e170d9d146 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 3dc877f315 Linting. 2021-07-02 18:44:01 +01:00
mike12345567 ec889320bc Fixing issue with many to many through junction table not realising some exist, or some need deleted - as well as removing limit from details screen, this was blocking join statements and served no purpose (its already a search by equals). 2021-07-02 18:42:01 +01:00
mike12345567 052c1936ce Linting. 2021-07-01 19:23:29 +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 e82e175b9c Linting. 2021-07-01 14:25:23 +01:00
mike12345567 a13b5111bb First version of enrichment. 2021-07-01 14:10:44 +01:00
mike12345567 2b71f28664 Linting. 2021-06-30 18:33:55 +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 a6549a26b8 Linting. 2021-06-30 14:54:53 +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 8e0ba1eb45 Most of the work towards writing related rows back. 2021-06-28 18:19:34 +01:00
mike12345567 5dd53f67ac Some work towards supporting many SQL relationships. 2021-06-28 17:42:39 +01:00
mike12345567 43c9e0a9b6 Linting. 2021-06-25 18:34:21 +01:00
mike12345567 8a84d5cd6f WIP - basic override of foreign keys. 2021-06-23 19:05:32 +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 562c1eee71 quick fix for paging and making deletion work correctly. 2021-06-17 17:08:12 +01:00
Martin McKeaveney 47b896cba5 Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-17 16:36:05 +01:00
Martin McKeaveney f83f358514 automation server tests updated 2021-06-17 16:35:58 +01:00
mike12345567 ac85f117f6 Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-17 15:57:07 +01:00
mike12345567 c6209c10dd Implementing pagination. 2021-06-17 15:56:41 +01:00
Martin McKeaveney 44bf71b07e Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-17 14:49:27 +01:00
Martin McKeaveney 4ee2adc6cb tidy up, fix UI tests 2021-06-17 14:45:08 +01:00
mike12345567 6bc99e140c Fixing a bunch of issues around automations. 2021-06-17 14:42:30 +01:00
mike12345567 8c21cd5a19 Making sure patch/save rows API alternate between each other as required. 2021-06-17 12:21:13 +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
Martin McKeaveney 150101f24c Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 16:35:00 +01:00
mike12345567 b8a3a13118 Fixing issues with inability to search. 2021-06-16 16:27:33 +01:00
Martin McKeaveney 85887b7952 minor tidy up 2021-06-16 15:54:14 +01:00
mike12345567 ecd601b311 Adding a little work to input/output processing external rows (_id field). 2021-06-15 14:56:25 +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 d52d7b8484 merge 2021-06-15 13:47:08 +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
mike12345567 11c52f26ad Formatting. 2021-06-14 19:07:13 +01:00
mike12345567 564cdd8102 Some of the functionality required for external SQL rows API. 2021-06-14 19:05:39 +01:00
mike12345567 bf47a66442 Fixing internal delete. 2021-06-14 13:52:06 +01:00
mike12345567 9719e26de2 Fixing bulk deletion. 2021-06-11 19:54:47 +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