1
0
Fork 0
mirror of synced 2024-07-05 06:20:55 +12:00
Commit graph

17947 commits

Author SHA1 Message Date
Rory Powell 934b1bdabf
Merge pull request #4220 from Budibase/feature/migrations-2.0
Migrations 2.0
2022-01-31 16:47:38 +00:00
Rory Powell fc05cd240e
Merge pull request #4261 from Budibase/fix/csrf-post-login
Fix CSRF token not present using local auth
2022-01-31 16:41:43 +00:00
Martin McKeaveney 42660969c7
Merge pull request #4242 from mslourens/add_url_to_templates
Adds a url to the templates
2022-01-31 16:37:46 +00:00
Budibase Staging Release Bot 3f8d81837d v1.0.49-alpha.1 2022-01-31 16:01:59 +00:00
mike12345567 c9d2de8344 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 15:33:36 +00:00
mike12345567 8fbd101448 Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-31 15:21:15 +00:00
Hwansoo 0e94950857 fix: check if fields exists 2022-02-01 00:03:25 +09:00
Budibase Staging Release Bot 27d295ae31 v1.0.49-alpha.0 2022-01-31 14:39:05 +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
mike12345567 76e24018be 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 a5f51d83ba v1.0.48 2022-01-31 13:43:13 +00:00
mike12345567 bfc40cc804 Cypress setup, allowing option for using typescript locally. 2022-01-31 11:51:52 +00:00
Rory Powell 74b6844ebf Fix CSRF token not present using local auth 2022-01-31 11:07:54 +00:00
Andrew Kingston f32cfdd3b9 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-31 09:40:33 +00:00
Rory Powell a153e920c9 Merge branch 'develop' into feature/migrations-2.0 2022-01-30 22:37:11 +00:00
Budibase Staging Release Bot d69c417cf4 v1.0.46-alpha.8 2022-01-30 21:43:10 +00:00
Rory Powell 45fe8a191d Merge branch 'develop' into feature/migrations-2.0 2022-01-30 21:38:15 +00:00
Rory Powell 3ce4f32250 Merge branch 'develop' into csrf 2022-01-30 21:20:48 +00:00
mike12345567 4b1331450c Fixing some issues discovered by the cypress tests, cleaning up how Couch is used. 2022-01-28 18:52:34 +00:00
mike12345567 417bf98ec9 Tests updating, all now passing, fixed some issues discovered by them. 2022-01-28 15:43:51 +00:00
Andrew Kingston bfb2d637fc Fix issue with backend UI not refreshing when adding a row 2022-01-28 15:17:21 +00:00
Budibase Staging Release Bot 5718d4925a v1.0.46-alpha.7 2022-01-28 15:12:31 +00:00
Maurits Lourens fe51686458 Adds a url to the templates 2022-01-28 16:06:46 +01:00
Rory Powell 805cc5b515 Merge branch 'fix/app-update' into feature/migrations-2.0 2022-01-28 13:32:26 +00:00
Rory Powell d5e5e5fd93 Fix app update endpoint 2022-01-28 13:27:19 +00:00
Rory Powell 89fb5feeeb Fix loop early exit 2022-01-28 11:32:28 +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
Hwansoo 5b567300ec Fix not showing pagination of query on production 2022-01-28 01:31:10 +09:00
Andrew Kingston d0930e29ed Redirect if opening a locked app 2022-01-27 13:44:09 +00:00
Andrew Kingston a2c46cd752 Disable jest tests in builder for now 2022-01-27 13:26:39 +00:00
Rory Powell 8304ee0fc7 Merge branch 'develop' into feature/migrations-2.0 2022-01-27 10:49:52 +00:00
Rory Powell e8e6fc549d Add app db support + app url migration 2022-01-27 10:40:31 +00:00
mike12345567 9d3486eb8a Fixing #4205 - making sure builder loads the correct role for the query. 2022-01-26 18:59:41 +00:00
mike12345567 3567e7ddb6 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
Andrew Kingston 847b3b5dbc Remove builder rollup alias from client as it is now fully decoupled 2022-01-26 17:55:45 +00:00
Andrew Kingston 617ddf7092 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-26 17:49:27 +00:00
mike12345567 35aef89661 Fixing dynamic filter modal in client library to include static formula. 2022-01-26 17:49:02 +00:00
Andrew Kingston fa5bec03ff Enable caching in client library 2022-01-26 17:45:35 +00:00
Andrew Kingston 7c669459b4 Disable API caching by default and deep clone data fetch config to avoid direct mutation side effects 2022-01-26 17:44:14 +00:00
Andrew Kingston 6b03db235b Use frontend-core implementation of data fetching in backend UI 2022-01-26 17:43:48 +00:00
Budibase Staging Release Bot a3e5c5af7f v1.0.46-alpha.6 2022-01-26 17:11:44 +00:00
Martin McKeaveney 203c892f33 code review and merge with develop 2022-01-26 17:45:28 +01:00
Martin McKeaveney 5d59db8fd2 code review 2022-01-26 17:14:47 +01:00
Andrew Kingston 515d4f91c0 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-26 16:02:27 +00:00
Budibase Staging Release Bot cbfb0f8a13 v1.0.46-alpha.5 2022-01-26 15:03:16 +00:00
Rory Powell 420684a862 Merge branch 'develop' into feature/migrations-2.0 2022-01-26 15:00:52 +00:00
Rory Powell e1ca44442b
Merge pull request #4137 from Budibase/feature/app-urls
Custom App URLs
2022-01-26 14:55:36 +00:00
Rory Powell 2465753af1 Handle undefined url 2022-01-26 13:39:40 +00:00
Rory Powell 0b6a8469de Don't apply csrf to existing sessions. Handle only supported content types 2022-01-26 12:52:53 +00:00
Rory Powell 716e254bdd Revert "Fix dev app preview return url"
This reverts commit e76ea10fc2.
2022-01-26 09:33:14 +00:00
Rory Powell 4b903ffd47 Handle unexpected errors during validation 2022-01-25 23:27:28 +00:00
Rory Powell 3a4b8f4557 Fix cypress and update nodemon config to use backend-core 2022-01-25 23:26:39 +00:00
Rory Powell 5cb6e19274 Add CSRF Token 2022-01-25 22:54:50 +00:00
Michael Drury 347664a46d Adding a possible fix for #4179. 2022-01-25 21:35:11 +00:00
Andrew Kingston 5b2b3e9add Remove built-in patch functionality from core API client and instead manually patch client library API endpoints 2022-01-25 19:22:43 +00:00
mike12345567 5bbe667ea9 Getting client side block search fields working with searching formulas. 2022-01-25 18:28:55 +00:00
Andrew Kingston cfa02f88f6 Add missing API client documentation and fix S3 upload endpoints to make them consistent 2022-01-25 16:54:55 +00:00
mike12345567 1fade3404f Adding the formula bulk recalculation when adding/changing a formula field. 2022-01-25 16:01:04 +00:00
Andrew Kingston 48c3c7852a Lint 2022-01-25 15:49:35 +00:00
Andrew Kingston 9ea5be7851 Refactor automation store to properly handle errors 2022-01-25 15:44:08 +00:00
Andrew Kingston c06947cf46 Improve handling of 403 logouts and return URL cookie 2022-01-25 15:28:31 +00:00
Andrew Kingston 66bf6c6059 Use core CookieUtils in client library 2022-01-25 15:28:14 +00:00
Michael Drury 138a16de23
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
Michael Drury 120e8ef84e
Merge pull request #4174 from Budibase/dependabot/npm_and_yarn/packages/builder/node-fetch-2.6.7
Bump node-fetch from 2.6.6 to 2.6.7 in /packages/builder
2022-01-25 14:12:28 +00:00
Michael Drury 89278823f4
Merge pull request #4171 from Budibase/dependabot/npm_and_yarn/packages/backend-core/node-fetch-2.6.7
Bump node-fetch from 2.6.6 to 2.6.7 in /packages/backend-core
2022-01-25 14:12:19 +00:00
Andrew Kingston 542dc6db2f Fix issue with multiple enrichments before components mount without affecting other components 2022-01-25 11:22:26 +00:00
Andrew Kingston bca6f34959 Don't render the active client app screen until the router is loaded to avoid a wasted render 2022-01-25 11:21:42 +00:00
Andrew Kingston 502a3bd8eb Fix filtering no datetime fields in blocks 2022-01-25 08:42:07 +00:00
Andrew Kingston 23b698b396 Fix filter modal crashing when encountering an undefined option for a select field 2022-01-25 08:30:19 +00:00
Andrew Kingston fee24a83ad Fix JSON content missing from handled API errors 2022-01-25 08:25:16 +00:00
Andrew Kingston c1595f7884 Improve style of data import modal 2022-01-25 08:22:53 +00:00
Andrew Kingston 275520698f Fix integration list not loading correctly 2022-01-25 08:13:28 +00:00
Andrew Kingston 58c5493ed3 Fix custom API response parsing not working 2022-01-25 08:10:49 +00:00
Andrew Kingston 0eb6ab388e Fix email template update endpoint 2022-01-25 08:04:56 +00:00
Andrew Kingston 77de6a10cc Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-25 07:51:47 +00:00
Andrew Kingston 2290652b27 Fix rare issue which could occur when enriching component props twice before an initial render has taken place 2022-01-24 19:25:19 +00:00
Andrew Kingston 2ea242e396 Use correct casing for login error 2022-01-24 19:15:43 +00:00
Andrew Kingston cb49659b47 Don't show an error notification when failing API requests on the initial page load of the login page 2022-01-24 19:15:28 +00:00
Andrew Kingston 41514260be Remove log 2022-01-24 19:15:06 +00:00
Andrew Kingston b95f481720 Don't show a notification when failing an API request due to analytics failures 2022-01-24 19:14:57 +00:00
Andrew Kingston 2c3cc7c8ba Fix crash when an app with a null name exists 2022-01-24 19:06:41 +00:00
Andrew Kingston 43e4fcfd01 Fix issue with create app endpoint sending json content type header 2022-01-24 19:06:18 +00:00
Andrew Kingston 18d5d66a71 Don't show an error if analytics fails to activate 2022-01-24 18:58:22 +00:00
Andrew Kingston da4d462f8c Clean up frontend store 2022-01-24 18:53:41 +00:00
Andrew Kingston 7e90c3de43 Remove all obscure error handling from stores and move it to the display level 2022-01-24 18:40:06 +00:00
mike12345567 c7c0842d7a Fixing a couple of issues after testing, moving from deleting column to clearing. 2022-01-24 18:34:55 +00:00
mike12345567 135aff4a31 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 a2a24b8a96 Refactoring bulk table formula work a bit. 2022-01-24 17:06:45 +00:00
Andrew Kingston 492ea41536 Include missing layout endpoints 2022-01-24 16:50:33 +00:00
Andrew Kingston ac80b8e447 Improve API error logging to differentiate between builder and client sources 2022-01-24 16:40:55 +00:00
Andrew Kingston c7877055a5 Move API client in builder to top level under src and fix some endpoints not being imported 2022-01-24 16:38:36 +00:00
mike12345567 6bd2c9ac53 Make sure attachments are deleted when table is deleted, or column is removed. 2022-01-24 16:32:41 +00:00
mike12345567 597faa6081 Handling deletion of related rows in formula updates. 2022-01-24 16:31:18 +00:00
Budibase Release Bot c8d3c531db v1.0.47 2022-01-24 15:48:12 +00:00
Budibase Staging Release Bot 965525d1b1 v1.0.46-alpha.4 2022-01-24 15:47:45 +00:00
Andrew Kingston bbc3c18fcd Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-24 15:46:54 +00:00
dependabot[bot] bf1909fa53
Bump node-fetch from 2.6.6 to 2.6.7 in /packages/builder
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: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 15:43:10 +00:00
dependabot[bot] 33cce189ca
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
dependabot[bot] f6a03a9576
Bump node-fetch from 2.6.6 to 2.6.7 in /packages/backend-core
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:42:42 +00:00
Andrew Kingston 30a92ee981
Merge pull request #4030 from Budibase/s3-upload
S3 file upload component
2022-01-24 15:41:46 +00:00
Andrew Kingston 5c6a9cf654 Filter out an S3 datasources which contain custom endpoints when selecting the datsource to use with the S3 upload component 2022-01-24 15:19:21 +00:00
Andrew Kingston d348b7dfbb Add info text to the S3 upload component 2022-01-24 15:18:54 +00:00
Andrew Kingston b3bd38c6fc Prevent generating presigned URLs for any S3 datasources that use custom endpoints 2022-01-24 15:18:42 +00:00
Andrew Kingston 906daaa9bc Fix issue with table and ignore node_modules in frontend-core 2022-01-24 14:39:32 +00:00
Andrew Kingston e0cb60d011 Update remaining builder stores to use new core API and handle errors properly 2022-01-24 14:32:27 +00:00
Andrew Kingston db30c91a0b Refactor all backend stores and their usages to use new core API and handle errors 2022-01-24 12:37:22 +00:00
Rory Powell bba60c5280 Test fix 2022-01-24 10:53:30 +00:00
Rory Powell a66f14a289 Migrations 2.0 2022-01-24 10:48:59 +00:00
Andrew Kingston 09ac8408f2 Update all API usages in builder components directory 2022-01-24 10:44:37 +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
Rory Powell 439c5fc7d6 Always lowercase the app url on search 2022-01-21 17:36:53 +00:00
Rory Powell 7e0c435b7b Merge branch 'develop' into feature/app-urls 2022-01-21 17:35:23 +00:00
Rory Powell 08bd447b51 Remove server -> worker request to retrieve apps, remove hosting endpoints and store 2022-01-21 17:31:18 +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 ca6fa1334a Add lots more work on refactoring builder to use core API 2022-01-21 15:09:27 +00:00
Andrew Kingston f2e45e892c Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-21 13:38:06 +00:00
Andrew Kingston b22f1f54a0 Fix rare issue which could occur when enriching component props twice before an initial render has taken place 2022-01-21 13:32:56 +00:00
mike12345567 196c322c4b Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-21 12:52:58 +00:00
Budibase Staging Release Bot b10f29e52b v1.0.46-alpha.3 2022-01-21 11:27:13 +00:00
Rory Powell 5246296a39
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 fc80b6a30b Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-21 10:21:14 +00:00
Andrew Kingston 1f22b4ecfe Add more work on API refactor in builder 2022-01-21 09:10:59 +00:00
Rory Powell 7b19251b8d Add deprecation notice 2022-01-20 21:40:10 +00:00
Rory Powell 202fef1961 Remove cloud checks 2022-01-20 21:34:28 +00:00
Rory Powell 588cc7204d Revert yarn.lock changes 2022-01-20 21:14:11 +00:00
Budibase Release Bot 927310c812 v1.0.46 2022-01-20 19:58:40 +00:00
Andrew Kingston bab0bc4266 Add more builder API refactor updates 2022-01-20 19:53:55 +00:00
Andrew Kingston 45142ba916 Update {{ now }} HBS helper to floor to the second instead of millisecond 2022-01-20 19:37:01 +00:00
Andrew Kingston 58b640c33b More work on builder API refactor 2022-01-20 19:27:15 +00:00
Andrew Kingston 6758896f57 Fix data fetch for nested providers, JSON arrays or array fields not working 2022-01-20 19:25:21 +00:00
Andrew Kingston db56a64805 Revert changes to MultiFieldSelect 2022-01-20 19:24:57 +00:00
Andrew Kingston 124d668041 Fix issue with array field validation 2022-01-20 19:24:48 +00:00
Andrew Kingston 22c1eae1a9 Transform the output of JS expressions to be actual types rather than strings 2022-01-20 19:24:39 +00:00
Andrew Kingston 81479b18f3 Derive safe array-like value as the default value for multi-select fields 2022-01-20 19:24:28 +00:00
mike12345567 ea6b286609 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 74c2b62543 v1.0.46-alpha.2 2022-01-20 18:57:06 +00:00
Michael Drury 1ac24545dc
Merge pull request #4131 from Budibase/fix/data-filtering
Quick fix for data section filtering
2022-01-20 18:51:31 +00:00
Budibase Staging Release Bot 9d8180de8b v1.0.46-alpha.1 2022-01-20 18:46:28 +00:00
Andrew Kingston d34743a6cd Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-20 18:44:04 +00:00
Andrew Kingston 2e73a693db Update parts of builder with core API refactor 2022-01-20 18:42:30 +00:00
Andrew Kingston e56fba688e
Merge pull request #4086 from Budibase/ak-fixes
Fixes for multi-selects and data fetching
2022-01-20 18:39:40 +00:00
mike12345567 74a92d888e Merge branch 'fix/data-filtering' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-20 18:07:51 +00:00
mike12345567 5ba73b3c5c Minor fix, when testing the filtering the data section noticed some stuff didn't work, like filtering by just a number (which is actually text) we fixed this previously but had to version the API to fix it, builder needed to send up the API version it desires to use. 2022-01-20 18:06:14 +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
Rory Powell e68aea0307 Remove self hosted check 2022-01-20 17:36:54 +00:00
Rory Powell c4af78cd00 Remove self hosted check 2022-01-20 17:29:15 +00:00
Rory Powell b1ec406ae1 Send url to api and honour url on viewing published app 2022-01-20 17:27:56 +00:00
Budibase Staging Release Bot 364d02d883 v1.0.46-alpha.0 2022-01-20 17:10:09 +00:00