1
0
Fork 0
mirror of synced 2024-10-01 09:38:55 +13:00
Commit graph

169 commits

Author SHA1 Message Date
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