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

209 commits

Author SHA1 Message Date
Michael Drury b6e3483481 Fixing issue with sql API after refactor. 2022-02-01 20:59:26 +00:00
mike12345567 09cfa9508e Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:16:59 +00:00
mike12345567 da87b3d73e Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:00:22 +00:00
mike12345567 8fbd101448 Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-31 15:21:15 +00:00
mike12345567 712382af07 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-01-31 14:29:02 +00:00
mike12345567 b84b34d5ae Review comments. 2022-01-31 14:16:03 +00:00
Michael Drury 91c2a40c89 Final pass refactoring - need to test but all code in server converted. 2022-01-28 00:05:39 +00:00
mike12345567 40c6eb2007 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
Martin McKeaveney 203c892f33 code review and merge with develop 2022-01-26 17:45:28 +01:00
Michael Drury 347664a46d Adding a possible fix for #4179. 2022-01-25 21:35:11 +00:00
mike12345567 1fade3404f Adding the formula bulk recalculation when adding/changing a formula field. 2022-01-25 16:01:04 +00:00
mike12345567 597faa6081 Handling deletion of related rows in formula updates. 2022-01-24 16:31:18 +00:00
mike12345567 faa82d8e0f Getting relationship re-enrichment working, so that static formulas will update when the value of the relationship changes. 2022-01-21 17:45:24 +00:00
mike12345567 04934a544a Adding the ability to filter using the filter drawer for formula fields, getting them based on the enriched contents of a row - adding functionality to denote to each table which other tables depend on them for formula. 2022-01-21 16:24:24 +00:00
Andrew Kingston 124d668041 Fix issue with array field validation 2022-01-20 19:24:48 +00:00
mike12345567 8115f6eef2 Getting the static formulas being processed on input, not re-processing on output. 2022-01-20 18:04:44 +00:00
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