1
0
Fork 0
mirror of synced 2024-09-30 00:57:16 +13:00
Commit graph

240 commits

Author SHA1 Message Date
Martin McKeaveney
06774c1452 merge 2022-04-29 00:05:43 +01:00
Martin McKeaveney
64de5e301e accounting for false values in row processing 2022-04-28 23:57:33 +01:00
mike12345567
00c67289b0 Fixing an issue with cookie auth. 2022-04-27 16:56:30 +01:00
Martin McKeaveney
e01ef9bdfb merge with master 2022-04-26 10:21:45 +01:00
mike12345567
8f738f2c20 Quick fix for #5495 - managing when no relationships exist. 2022-04-23 13:12:57 +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
mike12345567
89683f9de4 Fix for #5495 - making sure that formula columns have access to the relationship details before squashing the results ready for response from the API. Also making sure that the frontend inputs the relationship bindings as expected with the proper path for access. 2022-04-22 12:56:36 +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
Martin McKeaveney
f2d447153d
Merge pull request #5290 from Upgreydd/Do_not_validate_if_multi-select_options_length_is_0
Do not validate if multi-select options length is 0
2022-04-21 14:29:44 +01:00
Rory Powell
2269bf677b Merge branch 'develop' into feature/licensing 2022-04-20 14:59:36 +01:00
Mel O'Hagan
d85e022182 Get latest RevId if not provided 2022-04-20 11:51:01 +01:00
Kacper
98a926cfca Do not validate if multi-select options length is 0 2022-04-07 12:01:05 +02:00
Rory Powell
bf9f5488fc Merge branch 'develop' into feature/licensing 2022-03-21 17:13:16 +00:00
Martin McKeaveney
34984ab3a3
Merge pull request #4865 from Budibase/fix/patch-relationships
fixing enrichment of relationships in patch call
2022-03-21 08:24:35 +00:00
Rory Powell
336f0ff4a0 Published apps, automations and query count quotas 2022-03-20 01:13:54 +00:00
Peter Clement
43f7d1607d linting 2022-03-16 10:33:38 +00:00
Peter Clement
96ea66f898 send export file from backend 2022-03-16 10:22:06 +00:00
Martin McKeaveney
a33ab44433 Merge branch 'develop' of github.com:Budibase/budibase into fix/patch-relationships 2022-03-10 10:17:30 +00:00
Rory Powell
ccf2fe3d01 Self Host <-> Licensing integration 2022-03-09 21:16:22 +00:00
Martin McKeaveney
bab0c66b89 fixing enrichment of relationships in patch call 2022-03-09 16:08:55 +01:00
mike12345567
ebee98133b Fixing an inconsistency that was raised by a community member. 2022-03-08 18:00:49 +00:00
Peter Clement
ea63b9b065 Add button action allowing for export of client row selection 2022-03-07 12:06:11 +00:00
Peter Clement
49420a6818 Merge remote-tracking branch 'origin/develop' into feature/export-from-client 2022-03-07 12:04:56 +00:00
Peter Clement
222033b95e backend for client export of rows 2022-03-04 10:05:46 +00:00
mike12345567
216af35aeb Fixing review comments. 2022-03-03 12:03:29 +00:00
mike12345567
172850ae87 Switching the basic single row read to use the enrich endpoint. 2022-02-28 12:54:32 +00:00
mike12345567
cf9664969f Fixing issue with formula column validation breaking row save. 2022-02-21 15:01:42 +00:00
Andrew Kingston
d6e568dbe3 Replace all spaces with underscores in column names rather than just the first one 2022-02-14 10:21:31 +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
mike12345567
e3679e1b6f Quick fix for #4256 - allow SQL related rows to perform dynamic formulas before becoming links, meaning that formulas can be used as primary display fields as with budibase DB. 2022-02-02 18:21:38 +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
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