Commit Graph

1271 Commits

Author SHA1 Message Date
mike12345567 3ff25e4122 Fixing an issue with data source saving. 2021-10-27 16:35:53 +01:00
mike12345567 f86448a276 Merge branch 'develop' of github.com:Budibase/budibase into fix/sql-issues 2021-10-27 14:51:43 +01:00
mike12345567 24eebd9b98 Fixing test cases. 2021-10-27 13:10:46 +01:00
Rory Powell 9cc7bc3bf6
Merge pull request #3145 from Budibase/prevent-dev-app-access
Prevent non builder from accessing dev apps
2021-10-27 09:50:50 +01:00
mike12345567 8b2c505050 Fixing #2718 - disabling handlebars helpers for queries. 2021-10-26 20:04:36 +01:00
mike12345567 015b2a8f56 Fixing #2820 - SQL system no longer includes tables without a primary key constraint and it displays an error to handle this. 2021-10-26 20:03:54 +01:00
Rory Powell 26bb6cb6b5 Merge branch 'develop' into prevent-dev-app-access 2021-10-26 14:55:59 +01:00
Rory Powell 383f200b99 Merge branch 'develop' into scope-or-view 2021-10-26 14:55:45 +01:00
Rory Powell 4b80bed3a1 Update snapshot 2021-10-26 09:43:00 +01:00
Rory Powell 0718f99850 Prevent non builder from accessing dev apps 2021-10-25 16:59:09 +01:00
Michael Drury 1aee0e8f2a
Merge pull request #3122 from Budibase/fix/mike-d-various-fixes
Various fixes, including replacing live replication from prod -> dev
2021-10-25 14:41:08 +01:00
Rory Powell f1a74d4384 Scope view filters to table always 2021-10-25 13:34:48 +01:00
Rory Powell 81ca6d3b22
Merge pull request #3104 from Budibase/view-not-set
Handle nulls / empty in views and tables
2021-10-25 10:16:23 +01:00
Rory Powell 841e6b2518 Feedback: Rename set/not set to not empty/empty, remove cell rendering 2021-10-25 09:58:05 +01:00
mike12345567 a2d302cd57 Removing live replication between deployed and development app, instead it is replicated when the app is opened in the builder. Live replication was not working and only actually pulled back the data on deploy which was a little confusing, this way it can easily be controlled. 2021-10-22 14:34:20 +01:00
mike12345567 4794a5374e Fixing an issue with user metadata not always being present when user accessing app, causing weird issues. 2021-10-21 17:23:10 +01:00
Martin McKeaveney 7882862a65 enable collapsible nodes in component tree 2021-10-21 16:24:58 +01:00
Martin McKeaveney b1f04a0f6b
Merge branch 'develop' into fix/postreleasefixes2 2021-10-21 16:00:48 +01:00
Rory Powell 5b8b314476 Merge branch 'develop' into view-not-set 2021-10-21 14:17:04 +01:00
Rory Powell b88319d201 Handle nulls / empty in views and tables 2021-10-21 14:15:55 +01:00
Andrew Kingston bc26925c2f Remove optional chaining from server 2021-10-21 10:24:41 +01:00
Andrew Kingston 0f2b50b9f1 Keep views up to date with table schema changes 2021-10-20 20:01:49 +01:00
Michael Drury e5ca541534
Merge pull request #3094 from Budibase/fix/sql-auto-update
Fixing issue with SQL tables and automation update row action
2021-10-20 13:48:53 +01:00
Andrew Kingston 70890a62f8
Merge pull request #3042 from Budibase/fix/app-export-performance
Improve app export experience
2021-10-20 10:25:59 +01:00
mike12345567 99f8bf1244 Fixing issue with SQL tables and automations updating a row, also making error handling better across automations to make sure some sort of error message is always returned. 2021-10-19 17:00:54 +01:00
Martin McKeaveney 2b05b2c17b error message fixes 2021-10-19 16:52:55 +01:00
Michael Drury 2612725beb
Merge pull request #3091 from Budibase/fix/table-perms
Fixing table permissions issue
2021-10-19 16:45:41 +01:00
mike12345567 3631a799c3 Fixing issue with permissions, if some permissions have already been set for a role an error would be thrown which would break the UI and make it impossible to setup permissions for other tables. 2021-10-19 16:19:48 +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
Andrew Kingston 8817230bf1 Refactor app exports to allow a streaming realtime backup, and tidy up 2021-10-18 12:08:12 +01:00
Peter Clement 29796c3490 Potential fix for issues with updating and saving rows and columns 2021-10-17 21:23:30 +01:00
Andrew Kingston 2bef8a036d Lint 2021-10-15 14:57:01 +01:00
Andrew Kingston a1ed5d2605 Remove linkRows processing when importing CSVs 2021-10-15 14:31:45 +01:00
Andrew Kingston 27a1342531
Merge pull request #3002 from Budibase/js-binding-drawer
JavaScript bindings
2021-10-15 11:37:25 +01:00
mike12345567 2d94d93f5b Fixing some issues which were causing errors during the cypress test runs, such as not redirect /api/system/ requests to the worker. 2021-10-14 16:25:07 +01:00
mike12345567 c5bc8fdd08 Fixing some issues which were causing errors during the cypress test runs, such as not redirect /api/system/ requests to the worker. 2021-10-14 16:16:20 +01:00
mike12345567 eb25e81072 Fixes #2998 the templates API call will no longer fail if no internet, will simply return an empty array. 2021-10-14 14:18:41 +01:00
mike12345567 cd1f48b920 Fixing some issues found with query while testing. 2021-10-13 13:22:13 +01:00
mike12345567 b27a07f785 Adding the basics of the query transformers to the frontend and to the backend, as well as switching to vm2 for script running. 2021-10-12 18:45:13 +01:00
mike12345567 a7b5fc2e1b Fixing some issues with cloud export/import, removing the ability to export and import your users as this was dangerous and didn't really work with passwords/SSO. 2021-10-08 18:21:40 +01:00
Martin McKeaveney 816d06d9e9 merge 2021-10-07 21:05:39 +01:00
mike12345567 380d0e030e Fixing issue with user's being logged in and trying to access other tenants public apps, this work makes sure that users from other tenants will not be 403'd immediately (too aggressive) but instead they will have all other their RBAC roles revoked. 2021-10-07 15:49:26 +01:00
Martin McKeaveney eead9b07b3 fix user ping event 2021-10-07 12:15:05 +01:00
Martin McKeaveney 910477a765 fix table view export in prod 2021-10-07 11:26:09 +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 421f72c4dc
Merge pull request #2881 from Budibase/api-keys
Add API keys between account portal and budibase
2021-10-04 14:17:17 +01:00
Michael Drury 079b4f4633
Merge pull request #2880 from Budibase/fix/2835
Fix for shorthand app URL not re-directing if the user isn't logged in
2021-10-04 14:09:48 +01:00
Rory Powell 651947bb49 Add API keys between account portal and budibase 2021-10-04 13:40:50 +01:00
mike12345567 b8e968644a Fixing issue with direct app request in self host not working when un-authenticated (doesn't re-direct to login). 2021-10-04 13:31:53 +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
Martin McKeaveney 6a6dac9d3a adding debug log for deployments 2021-10-01 15:36:33 +01:00
mike12345567 f4b57aab1c Fixing issue with created by/updated by on public forms, also fixing a small issue with analytics ping generating a 404. 2021-10-01 15:00:11 +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
Martin McKeaveney bdc004d18e removing optional chain 2021-09-30 17:04:55 +01:00
Martin McKeaveney 665a9620a4 lint 2021-09-30 16:39:10 +01:00
Martin McKeaveney a251c8bfd0 merge with develop 2021-09-30 16:05:06 +01:00
Martin McKeaveney b8fef9965d end user ping for client apps 2021-09-30 15:03:57 +01:00
mike12345567 feae148d03 Fixing view test case. 2021-09-30 12:55:21 +01:00
mike12345567 8e7ee8f23e Only development apps. 2021-09-30 12:50:22 +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 7571be0bb9
Merge pull request #2790 from Budibase/data-ui-pagination
Data UI pagination and searching
2021-09-30 11:13:47 +01:00
Peter Clement e0e4048b37 remove log statement 2021-09-30 10:39:21 +01:00
Andrew Kingston f03b8470a4 Only use fetch for search when running in cypress 2021-09-29 18:22:56 +01:00
mike12345567 ccd2913857 Final cleanup, just need to handle view migration (to self host from cloud). 2021-09-29 17:43:16 +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
mike12345567 4de566d864 Some fixes after testing and adding some basic work to the frontend. 2021-09-28 18:05:52 +01:00
Peter Clement 22bbbb5ba4 fix tests 2021-09-28 15:29:42 +01:00
Peter Clement eed3bdcb6b Merge remote-tracking branch 'origin/develop' into feature/datasource-wizard 2021-09-28 14:26:25 +01:00
Peter Clement 5ca4da1146 check tables can be fetched before saving config 2021-09-28 12:25:57 +01:00
mike12345567 145c0a11c9 Merge branch 'develop' of github.com:Budibase/budibase into feature/cloud-export 2021-09-28 11:23:03 +01:00
mike12345567 f836565f69 Putting together cloud export and import functionality, still need to test, but basic concept there. 2021-09-27 19:12:41 +01:00
Martin McKeaveney f877244571 abstract usagedoc creation into auth, create the doc if it doesn't exist 2021-09-27 17:35:22 +01:00
Martin McKeaveney 0692263960 tests 2021-09-27 16:39:08 +01:00
Martin McKeaveney 9bbb230aa6 merge with develop 2021-09-27 16:37:55 +01:00
Michael Drury 106b575c4e
Merge pull request #2729 from Budibase/fix/no-perms-hierarchy
Removing the concept of permissions hierarchy from backend for resources
2021-09-27 15:15:31 +01:00
Martin McKeaveney 5b1ae778da fallback SMTP configuration for cloud 2021-09-27 14:57:22 +01:00
Martin McKeaveney 97cd3756f7 Merge branch 'develop' of github.com:Budibase/budibase into cloud-limits 2021-09-27 12:53:15 +01:00
Andrew Kingston b047376089 Merge branch 'develop' of github.com:Budibase/budibase into ak-fixes 2021-09-27 11:30:51 +01:00
Andrew Kingston 4c47ee9853 Fix check to create default layouts and screens 2021-09-27 11:30:46 +01:00
Martin McKeaveney b161be85ae automation runs quotas 2021-09-23 23:25:25 +01:00
Martin McKeaveney 85c6fac8f5 usageQuota middleware writing to couch 2021-09-23 22:40:14 +01:00
mike12345567 649a33d3c8 Getting rid of the concept of permissions hierarchy, roles still have a hierarchy and base permissions still follow the old system, but resources can be given a stack of separate permissions which don't override each other. 2021-09-23 19:04:53 +01:00
mike12345567 a864105649 Fixing postgres datasource test. 2021-09-23 17:43:06 +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
Andrew Kingston 6d545c6a27 Merge branch 'develop' of github.com:Budibase/budibase into ak-fixes 2021-09-23 09:18:52 +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
Michael Drury 53aaea9e31
Merge pull request #2698 from Budibase/feature/view-cloud-replacement
Cloud View replacement
2021-09-22 18:21:38 +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
Andrew Kingston 22e75b8154 Only create default home screen and layouts when not importing an app 2021-09-22 14:50:52 +01:00
Martin McKeaveney b7ff1a2464 turn analytics off for self hosted 2021-09-21 20:39:56 +01: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 38e6956b19 Fixes for #2634 - make sure string templates library handles conversion of raw JSON objects to stringified correctly. 2021-09-17 17:18:52 +01:00