1
0
Fork 0
mirror of synced 2024-10-02 18:16:29 +13:00
Commit graph

1147 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Michael Drury
12f364e296
Merge pull request #2598 from Budibase/feature/automation-rework
Automation backend rework
2021-09-14 17:30:26 +01:00
mike12345567
df1555185d Changing over to using timestamps. 2021-09-14 16:54:42 +01:00
mike12345567
458db567ea Removing the concept of a logic block. 2021-09-14 11:28:39 +01:00
mike12345567
421d98d5b7 Adding functionality so that when an automation trigger is deleted its test inputs will also be deleted. 2021-09-13 18:03:09 +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
adcfe0fee5 ensure internal tableId always attached to user objects 2021-09-10 17:02:55 +01:00
mike12345567
3679579d53 Introducing the concept of flagging an automation as 'in test' which means it can run with triggers and everything as it normally would in development. 2021-09-10 14:37:34 +01:00
mike12345567
fce3a6bbe7 Adding some basic test cases for the metadata API, testing that automation tests do store history. 2021-09-10 13:52:41 +01:00
mike12345567
01ca02ea9c Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-rework 2021-09-09 16:33:41 +01:00
Andrew Kingston
3d0f7125d2 Merge branch 'develop' of github.com:Budibase/budibase into responsive-preview 2021-09-09 13:56:18 +01:00
mike12345567
c337a855cc Saving progress towards re-working CTX usage in automation steps. 2021-09-09 12:23:52 +01:00
Andrew Kingston
d38f5ef163 Merge branch 'develop' of github.com:Budibase/budibase into custom-theming 2021-09-09 11:57:55 +01:00
Andrew Kingston
40e7b57d27 Add meta tag to client apps to ensure they stretch to fill ios device screens 2021-09-09 11:55:46 +01:00
Martin McKeaveney
e37e6af4f6 merge 2021-09-09 11:15:21 +01:00
mike12345567
4e294fbcd9 Adding metadata system and re-writing how Cron works, previously cron only worked in dev because it would never be enabled for the production app ID, this makes it so that it is never enabled for the dev app and when the production app is deployed it runs through all the automations and checks if any need cron jobs setup/disabled. 2021-09-08 19:29:28 +01:00
mike12345567
b00f8764cb Updating automations system to return the inputs and outputs of each step. 2021-09-08 14:08:22 +01:00
mike12345567
d2070f9061 Adding the ability to get back the context. 2021-09-07 19:06:20 +01:00
mike12345567
bcc7f1caea Adding slack integration. 2021-09-07 13:59:58 +01:00
mike12345567
d05c60d470 Adding slack integration. 2021-09-07 13:58:53 +01:00
Andrew Kingston
97e491d045 Merge branch 'develop' of github.com:Budibase/budibase into custom-theming 2021-09-06 18:23:08 +01:00
mike12345567
879f1a2368 Cleanup, prepping for automation history, some refactoring to get rid of concept of builtin. 2021-09-06 17:53:02 +01:00
Andrew Kingston
ca9df2764d Merge branch 'develop' of github.com:Budibase/budibase into custom-theming 2021-09-06 17:29:51 +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
Andrew Kingston
9e5805f092 Merge standard-components into the client library 2021-09-01 11:41:48 +01:00
Martin McKeaveney
0df6d24edf prevent sql relationship delete from erroring 2021-08-31 19:59:49 +01:00
PClmnt
5eac795152
Merge pull request #2470 from Budibase/multi-option-datatype
Multi-Option Data Type
2021-08-27 14:43:09 +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
Keviin Åberg Kultalahti
ab77935878 fix datasources not getting updated correctly 2021-08-26 22:01:24 +02:00
Peter Clement
a5a4c63094 Merge remote-tracking branch 'origin/develop' into multi-option-datatype 2021-08-26 14:38:05 +01:00
Peter Clement
974e264f50 fix indexing of arrays 2021-08-26 14:22:52 +01:00
Martin McKeaveney
7817c8f068 merge package updates 2021-08-26 14:13:30 +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
Martin McKeaveney
0a8c6e1ef9 making sure relationships for autocolumns are created when uploading a CSV 2021-08-24 20:04:28 +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
f28d0773f9
Merge pull request #2401 from mslourens/update_datasource_name
Update the name of the datasource
2021-08-18 10:44:04 +01:00
Maurits Lourens
c86a878b27 update the name of the datasource 2021-08-17 23:57:11 +02: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
Martin McKeaveney
7efe458120
Revert "Feature/couchdb auth" 2021-08-17 07:16:43 +01:00
Maurits Lourens
8dfef0d342 return validation errors 2021-08-16 21:15:15 +02:00
Martin McKeaveney
16220dbf11 lint 2021-08-16 17:17:48 +01:00
Martin McKeaveney
3b20f5ba4d lint 2021-08-16 16:47:26 +01:00
Martin McKeaveney
884b36730b utility helper for determining correct couchDB URL 2021-08-16 16:38:00 +01: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
ea3854aa01 Linting. 2021-08-04 18:22:53 +01:00
mike12345567
1c306b60e7 Fixing issue #2193, also fixing the name of the file on export, as well as fixing an issue with the exporters not handling relationships. 2021-08-04 18:20:51 +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
54e765a182 Implementing some changes to how context gets set for tenancy, after testing, as well as updating server. 2021-08-03 15:32:25 +01:00
mike12345567
7a69dcef78 re-write, to use the ideas that Rory put in place, still WIP, un-tested but all implemented. 2021-08-02 18:34:43 +01:00
mike12345567
5c58630ed7 Fixing up everything found when testing with Cypress. 2021-07-26 13:19:47 +01:00
mike12345567
a384cc059d Changing how apps are retrieved to be more efficient. 2021-07-23 20:01:53 +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
190798d4ee Swapping admin -> global in worker to reduce confusion in API url naming. 2021-07-22 12:56:47 +01:00
mike12345567
99fe16d169 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-19 17:35:48 +01:00