Commit Graph

3828 Commits

Author SHA1 Message Date
Budibase Staging Release Bot 0b91bfdf85 v1.0.49-alpha.10 2022-02-04 10:32:31 +00:00
Budibase Staging Release Bot 47dc1ac540 v1.0.49-alpha.9 2022-02-03 20:58:29 +00:00
Michael Drury 6f79bc53e0 Merge pull request #4297 from Budibase/fix/4255
Some small SQL core fixes
2022-02-03 20:29:38 +00:00
mike12345567 f2a025013e Fix for #4308 - triple brace conversion was not working correctly, wrote this into the string templates instead - also fixing an issue with the RBAC for Rest. 2022-02-03 18:44:34 +00:00
mike12345567 f946f2f68d Fix for #4308 - triple brace conversion was not working correctly, wrote this into the string templates instead - also fixing an issue with the RBAC for Rest. 2022-02-03 18:26:26 +00:00
mike12345567 0b68db7516 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 aa204a9292 Fixing TS issue caused by linting. 2022-02-02 18:18:53 +00:00
mike12345567 168a126e2a Updating the SQL core to allow it to handle multiple relationships between the same two tables. 2022-02-02 18:15:17 +00:00
Budibase Staging Release Bot cf3e0f0fdc v1.0.49-alpha.8 2022-02-02 10:59:16 +00:00
Michael Drury 6037cb19b8 Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-02-02 10:51:59 +00:00
Michael Drury 6063ab03b0 Fixing issue with sql API after refactor. 2022-02-01 20:59:26 +00:00
Budibase Staging Release Bot 61e3877e08 v1.0.49-alpha.7 2022-02-01 20:38:50 +00:00
Michael Drury 4b23a78bc9 Fixing a typescript issue in server. 2022-02-01 20:29:12 +00:00
Budibase Staging Release Bot 7852960a03 v1.0.49-alpha.6 2022-02-01 16:32:31 +00:00
mike12345567 e642268364 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-02-01 14:33:02 +00:00
Martin McKeaveney c11e26cb2e merge 2022-02-01 11:22:14 +01:00
Budibase Staging Release Bot bc781128d6 v1.0.49-alpha.5 2022-02-01 10:11:29 +00:00
Martin McKeaveney 7fb9b33f6c remove more references to envoy 2022-02-01 11:02:37 +01:00
Rory Powell 33e19c49a0 Reorder jest mock and import statements for email mocking 2022-01-31 21:05:14 +00:00
Rory Powell 995c36e8c7 Merge branch 'develop' into worker_typescript 2022-01-31 20:29:20 +00:00
Budibase Staging Release Bot 9abefd5b63 v1.0.49-alpha.4 2022-01-31 19:12:15 +00:00
Budibase Staging Release Bot 7aab9d3e40 v1.0.49-alpha.3 2022-01-31 17:55:54 +00:00
mike12345567 dbc048b365 Review comments, renaming deployed -> prod in terms of app IDs. 2022-01-31 17:42:51 +00:00
Rory Powell b63aa71366 Tolerate missing app metadata in app url migration 2022-01-31 17:28:45 +00:00
mike12345567 1095ad17c6 Adding comments to areas that need to keep using old db creation method. 2022-01-31 17:27:47 +00:00
mike12345567 476f34fb93 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:16:59 +00:00
mike12345567 9198439f7f Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:00:22 +00:00
Budibase Staging Release Bot a063274133 v1.0.49-alpha.2 2022-01-31 16:54:48 +00:00
Rory Powell 9295317d6c Merge pull request #4220 from Budibase/feature/migrations-2.0
Migrations 2.0
2022-01-31 16:47:38 +00:00
Martin McKeaveney 7b644dd8f3 merge 2022-01-31 17:02:27 +01:00
Budibase Staging Release Bot 4596464b5a v1.0.49-alpha.1 2022-01-31 16:01:59 +00:00
Martin McKeaveney b521721642 fixing cypress setup 2022-01-31 16:35:23 +01:00
mike12345567 d0bd9d2d62 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 15:33:36 +00:00
mike12345567 f9c7877e02 Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-31 15:21:15 +00:00
Budibase Staging Release Bot 4b9acb21ae v1.0.49-alpha.0 2022-01-31 14:39:05 +00:00
mike12345567 d55005d327 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-01-31 14:29:02 +00:00
mike12345567 8d02fabb35 Review comments. 2022-01-31 14:16:03 +00:00
mike12345567 e718b18127 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 14:09:07 +00:00
Budibase Release Bot 86ffa65d93 v1.0.48 2022-01-31 13:43:13 +00:00
Rory Powell 54a32b41ef Merge branch 'develop' into feature/migrations-2.0 2022-01-30 22:37:11 +00:00
Budibase Staging Release Bot 6246ae61f9 v1.0.46-alpha.8 2022-01-30 21:43:10 +00:00
Rory Powell 5e8a1b2c29 Merge branch 'develop' into feature/migrations-2.0 2022-01-30 21:38:15 +00:00
Rory Powell 0089fb06d9 Merge branch 'develop' into csrf 2022-01-30 21:20:48 +00:00
Martin McKeaveney cca6d18af4 point to MinIO instance instead of through proxy 2022-01-30 21:25:56 +01:00
Martin McKeaveney 7c4d7e0e8f nginx prod config, security headers and content-security policies 2022-01-30 21:11:59 +01:00
mike12345567 91a90e62b2 Fixing some issues discovered by the cypress tests, cleaning up how Couch is used. 2022-01-28 18:52:34 +00:00
mike12345567 d5f8cc1023 Tests updating, all now passing, fixed some issues discovered by them. 2022-01-28 15:43:51 +00:00
Budibase Staging Release Bot dbaede79f6 v1.0.46-alpha.7 2022-01-28 15:12:31 +00:00
Rory Powell a70894e065 Merge branch 'fix/app-update' into feature/migrations-2.0 2022-01-28 13:32:26 +00:00
Rory Powell c96573069e Fix app update endpoint 2022-01-28 13:27:19 +00:00
Michael Drury d3a90acc55 Final pass refactoring - need to test but all code in server converted. 2022-01-28 00:05:39 +00:00
mike12345567 d2fe119d90 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
Rory Powell 758a8a023f Merge branch 'develop' into feature/migrations-2.0 2022-01-27 10:49:52 +00:00
Rory Powell 767354ad60 Add app db support + app url migration 2022-01-27 10:40:31 +00:00
mike12345567 9b55ba8b13 Fixing #4192 - allowing switching between JSON and multi-select types, as well as not switching multi-select to JSON when fetching SQL tables. 2022-01-26 18:50:13 +00:00
Budibase Staging Release Bot d8ab715267 v1.0.46-alpha.6 2022-01-26 17:11:44 +00:00
Martin McKeaveney 19d27c97a4 code review and merge with develop 2022-01-26 17:45:28 +01:00
Martin McKeaveney efde072e70 code review 2022-01-26 17:14:47 +01:00
Budibase Staging Release Bot 03b35d1e8d v1.0.46-alpha.5 2022-01-26 15:03:16 +00:00
Rory Powell e5d04d2830 Merge branch 'develop' into feature/migrations-2.0 2022-01-26 15:00:52 +00:00
Rory Powell 716a693552 Merge pull request #4137 from Budibase/feature/app-urls
Custom App URLs
2022-01-26 14:55:36 +00:00
Martin McKeaveney 1e179fec76 remove need for index from dynamo connector 2022-01-26 15:25:11 +01:00
Rory Powell 3d533d9f13 Handle undefined url 2022-01-26 13:39:40 +00:00
Rory Powell 0b9bb42817 Revert "Fix dev app preview return url"
This reverts commit 13d0bfb190.
2022-01-26 09:33:14 +00:00
Rory Powell 9db180b166 Fix cypress and update nodemon config to use backend-core 2022-01-25 23:26:39 +00:00
Rory Powell ffcf5354eb Add CSRF Token 2022-01-25 22:54:50 +00:00
Michael Drury 95e0c1aa1f Adding a possible fix for #4179. 2022-01-25 21:35:11 +00:00
mike12345567 b4eef68d71 Adding the formula bulk recalculation when adding/changing a formula field. 2022-01-25 16:01:04 +00:00
Michael Drury 37c29086b2 Merge pull request #4173 from Budibase/dependabot/npm_and_yarn/node-fetch-2.6.7
Bump node-fetch from 2.6.6 to 2.6.7
2022-01-25 14:12:41 +00:00
mike12345567 da04db39c3 Fixing a couple of issues after testing, moving from deleting column to clearing. 2022-01-24 18:34:55 +00:00
mike12345567 ab5c7766b4 Bit of refactoring, adding in functionality to remove invalid static formula when the elements that the formula depends on are removed. 2022-01-24 18:22:59 +00:00
mike12345567 6a6fdbb8ff Refactoring bulk table formula work a bit. 2022-01-24 17:06:45 +00:00
mike12345567 da26761773 Make sure attachments are deleted when table is deleted, or column is removed. 2022-01-24 16:32:41 +00:00
mike12345567 3bc51864b4 Handling deletion of related rows in formula updates. 2022-01-24 16:31:18 +00:00
Budibase Release Bot e96b2b4d42 v1.0.47 2022-01-24 15:48:12 +00:00
Budibase Staging Release Bot 0b2564ff44 v1.0.46-alpha.4 2022-01-24 15:47:45 +00:00
dependabot[bot] c2d734db34 Bump node-fetch from 2.6.6 to 2.6.7
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 15:43:06 +00:00
Andrew Kingston b0defa8176 Merge pull request #4030 from Budibase/s3-upload
S3 file upload component
2022-01-24 15:41:46 +00:00
Andrew Kingston 3dccf1b299 Prevent generating presigned URLs for any S3 datasources that use custom endpoints 2022-01-24 15:18:42 +00:00
Rory Powell 36456189f4 Test fix 2022-01-24 10:53:30 +00:00
Rory Powell 3fdce44d56 Migrations 2.0 2022-01-24 10:48:59 +00:00
mike12345567 10a2915bcb 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
Rory Powell 0eecab7eed Always lowercase the app url on search 2022-01-21 17:36:53 +00:00
Rory Powell 81e8ceff1a Merge branch 'develop' into feature/app-urls 2022-01-21 17:35:23 +00:00
Rory Powell e0dcc7648c Remove server -> worker request to retrieve apps, remove hosting endpoints and store 2022-01-21 17:31:18 +00:00
mike12345567 deb4a34c18 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
mike12345567 87d5e0d39e Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-21 12:52:58 +00:00
Budibase Staging Release Bot 58dc644ad8 v1.0.46-alpha.3 2022-01-21 11:27:13 +00:00
Rory Powell 04386bd1d8 Merge pull request #4000 from Budibase/fix/sync-apps-reset-rows-quotas
App and Row Quota Fixes
2022-01-21 11:20:14 +00:00
mike12345567 e2006a299d Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-21 10:21:14 +00:00
Rory Powell 31ecb71070 Revert yarn.lock changes 2022-01-20 21:14:11 +00:00
Budibase Release Bot caebb066c3 v1.0.46 2022-01-20 19:58:40 +00:00
Andrew Kingston c578dedd51 Fix issue with array field validation 2022-01-20 19:24:48 +00:00
mike12345567 14ec6ac205 Fixing an issue where old apps did not send up the values of the default parameters, the server should be able to handle this, enrich them in if they aren't there. 2022-01-20 19:06:08 +00:00
Budibase Staging Release Bot 36611280f2 v1.0.46-alpha.2 2022-01-20 18:57:06 +00:00
Budibase Staging Release Bot 9dbadcd671 v1.0.46-alpha.1 2022-01-20 18:46:28 +00:00
mike12345567 50eff577f9 Getting the static formulas being processed on input, not re-processing on output. 2022-01-20 18:04:44 +00:00
Rory Powell 52a81ff75c Remove self hosted check 2022-01-20 17:36:54 +00:00
Rory Powell 4a5d4527e8 Remove self hosted check 2022-01-20 17:29:15 +00:00
Rory Powell 58bcba71f7 Send url to api and honour url on viewing published app 2022-01-20 17:27:56 +00:00
Budibase Staging Release Bot f927117582 v1.0.46-alpha.0 2022-01-20 17:10:09 +00:00
mike12345567 8d95d9b603 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-01-20 17:03:21 +00:00
Budibase Release Bot 6c22ccb149 v1.0.45 2022-01-20 16:33:40 +00:00
Rory Powell fe374c0439 Merge fix and linting 2022-01-20 16:17:09 +00:00
Rory Powell 998afad950 Merge branch 'develop' into feature/app-urls 2022-01-20 16:09:14 +00:00
Rory Powell bc67974996 Share validation between app modals, add yup based validation framework, add url to app modals 2022-01-20 16:01:09 +00:00
Maurits Lourens 186f1c9a7d Merge branch 'develop' into worker_typescript 2022-01-20 15:26:42 +01:00
Budibase Staging Release Bot 96d8e6d68e v1.0.44-alpha.9 2022-01-20 14:01:03 +00:00
Budibase Staging Release Bot 62873fbb8d v1.0.44-alpha.8 2022-01-20 12:33:48 +00:00
Maurits Lourens 2577a6631a run prettier + lint over typescript files as well 2022-01-20 09:17:08 +01:00
Budibase Staging Release Bot e8915adc61 v1.0.44-alpha.7 2022-01-19 15:25:19 +00:00
Budibase Staging Release Bot d8c44be3c3 v1.0.44-alpha.6 2022-01-19 15:17:21 +00:00
Budibase Staging Release Bot ba3de70639 v1.0.44-alpha.5 2022-01-19 15:08:47 +00:00
Michael Drury 84f7405f02 Merge pull request #4090 from Budibase/fix/3721
Fixing issue with existing SQL relationships and deleting tables externally to Budibase
2022-01-19 15:02:15 +00:00
Budibase Staging Release Bot a870c5b327 v1.0.44-alpha.4 2022-01-19 14:59:39 +00:00
Budibase Staging Release Bot b3670e6fff v1.0.44-alpha.3 2022-01-19 14:52:46 +00:00
Budibase Staging Release Bot dddeb80cee v1.0.44-alpha.2 2022-01-19 11:49:24 +00:00
mike12345567 7d4bea8f22 Adding comments to a few SQL table schema building functions to explain their function. 2022-01-19 10:24:15 +00:00
Budibase Release Bot fafe6f5d40 v1.0.44 2022-01-19 10:13:22 +00:00
Martin McKeaveney ce3604695c Merge branch 'master' of github.com:Budibase/budibase into feature/envoy-nginx 2022-01-19 11:09:26 +01:00
Martin McKeaveney 875a577561 don't strip secrets from DB and only hide from client 2022-01-19 10:30:22 +01:00
Michael Drury 9d5d8284cb Quick fix for #4093 - make sure the App ID/App URL returned for deployed apps is always lowercase, as URLs are not case sensitive and should not be compared as such. 2022-01-18 20:54:19 +00:00
mike12345567 e0949b4ac3 Fix for #3721 - deleting invalid relationships if tables have been removed external to budibase - otherwise these could not be removed without deleting the datasource. 2022-01-18 17:21:29 +00:00
Martin McKeaveney 328aef00e1 tidy up 2022-01-18 17:41:38 +01:00
Martin McKeaveney 85d672c5d7 table management functions 2022-01-18 17:15:29 +01:00
Rory Powell 604d316834 Add dryRun to automation row create and remove env conditional on delete 2022-01-18 15:53:55 +00:00
Rory Powell fc043e116d Support template and app import in quotas + logging 2022-01-18 15:37:16 +00:00
Budibase Staging Release Bot 3c4fee31e3 v1.0.44-alpha.1 2022-01-18 15:36:05 +00:00
Andrew Kingston 7b9d6c8849 Merge pull request #4083 from mslourens/save_non_required_multiselect
make empty array valid when not required
2022-01-18 15:24:12 +00:00
Rory Powell 439fa9a010 Refactor to allow for future quota migrations 2022-01-18 14:43:24 +00:00
Budibase Staging Release Bot 3a49483eca v1.0.44-alpha.0 2022-01-18 14:31:59 +00:00
mike12345567 d93617d3c7 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-01-18 14:25:30 +00:00
Budibase Staging Release Bot 5004e81168 v1.0.27-alpha.24 2022-01-18 13:16:22 +00:00
Michael Drury 7cf78f8c8b Merge pull request #4073 from Budibase/feature/sql-relationship-filtering
SQL relationship filtering
2022-01-18 13:10:58 +00:00
Rory Powell 79c10fba7c Account for duplicate row ids caused by app import 2022-01-18 12:48:54 +00:00
Rory Powell 4d61e84c2b Handle table deletion and data import 2022-01-18 11:57:20 +00:00
mike12345567 63ffdc5d9b Updating variable naming in table fetch function to match more with what is actually being retrieved. 2022-01-18 10:43:21 +00:00
Maurits Lourens d9ecd3e3b3 make empty array valid when not required 2022-01-18 11:38:39 +01:00
Budibase Staging Release Bot 8798f5cf37 v1.0.27-alpha.23 2022-01-18 09:45:46 +00:00
Budibase Staging Release Bot 2c11661c61 v1.0.27-alpha.22 2022-01-18 08:59:52 +00:00
mike12345567 332e5b2672 Adding SQL test case for SQL relationship filtering. 2022-01-17 18:20:37 +00:00
Rory Powell ff887f8f88 Sync row usage with app deletion 2022-01-17 18:07:26 +00:00
Budibase Staging Release Bot 7335a6ab5e v1.0.27-alpha.21 2022-01-17 18:01:17 +00:00
Budibase Release Bot e3d8302194 v1.0.43 2022-01-17 16:42:48 +00:00
Martin McKeaveney 1f78d6dc0d readding query thread timeout 2022-01-17 15:57:31 +01:00
Martin McKeaveney 9663806bfc more flexible datasource auth config 2022-01-17 15:52:10 +01:00
mike12345567 29fbfe7b95 Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationship-filtering 2022-01-17 13:34:16 +00:00
Rory Powell 8fc60af820 Calculate total rows in migration, centralise quota enabled logic and tidy to use env vars only 2022-01-17 12:44:53 +00:00
Budibase Staging Release Bot b77be977dd v1.0.27-alpha.20 2022-01-17 10:15:17 +00:00
Rory Powell 0f6e626005 Merge pull request #4022 from Budibase/fix/return-url
Fix return url
2022-01-17 10:09:38 +00:00