Commit Graph

9508 Commits

Author SHA1 Message Date
Andrew Kingston 2975e4a8f7 Add format setting on long form fields to allow choice between rich text and plain text, and default to automatically determining from the schema 2022-02-07 12:12:02 +00:00
Andrew Kingston 3b6128f33f Use automatic formatting for generated longform fields 2022-02-07 12:11:20 +00:00
Andrew Kingston d12cd2abdf Add rich text option to long form data type 2022-02-07 12:04:43 +00:00
Andrew Kingston 587a260c2b Improve text area and long form height settings 2022-02-07 12:04:21 +00:00
Budibase Staging Release Bot 22a685aade v1.0.49-alpha.14 2022-02-07 10:52:24 +00:00
Michael Drury ca209ad3ff Merge pull request #4332 from Budibase/fix/various-user-fixes
Various fixes for RBAC and user administration
2022-02-07 10:44:08 +00:00
Budibase Staging Release Bot 2a5e169b7c v1.0.49-alpha.13 2022-02-07 10:27:31 +00:00
Michael Drury 48953c0953 Merge pull request #4328 from Budibase/fix/3928
Fix for SQL Server - fix pagination issue
2022-02-07 10:20:33 +00:00
mike12345567 30b6c1f3ca Fixing an issue with user syncing on save to app DBs as well as fixing a problem with pretty app URLs not setting the app ID correctly into the context. 2022-02-04 17:37:13 +00:00
mike12345567 a214400e03 Fixing issue which was blocking the ability to logout fully, as well as causing issues with new user signup and password reset. 2022-02-04 17:35:45 +00:00
mike12345567 d87b8c0563 Fix for #4267 - allow admins to access all roles. 2022-02-04 17:34:39 +00:00
mike12345567 e74621f327 Fixing an issue with search field select erroring in builder when using queries in blocks. 2022-02-04 16:56:12 +00:00
mike12345567 f61e15594b Fix for #3928 - error invalid use of FETCH was based on a lack of sorting on MS-SQL platforms, this enforces a sort of some type no matter what. 2022-02-04 16:17:36 +00:00
Andrew Kingston 48ce006ac3 Hide some icons on mobile to avoid fullscreen mobile icon wrapping in rich text editor 2022-02-04 14:25:20 +00:00
Andrew Kingston 90514af833 Merge branch 'develop' of github.com:Budibase/budibase into feature/real-rich-text 2022-02-04 13:53:01 +00:00
Budibase Staging Release Bot 508d7d1738 v1.0.49-alpha.12 2022-02-04 13:16:25 +00:00
Michael Drury de57475039 Merge pull request #4317 from Budibase/dependabot/npm_and_yarn/packages/cli/simple-get-3.1.1
Bump simple-get from 3.1.0 to 3.1.1 in /packages/cli
2022-02-04 13:10:24 +00:00
Budibase Release Bot 2dea8789e8 v1.0.49 2022-02-04 12:19:39 +00:00
Budibase Staging Release Bot 0f11aea9d4 v1.0.49-alpha.11 2022-02-04 11:10:37 +00:00
Andrew Kingston de3bf659f5 Merge pull request #4323 from Budibase/relationship-field-default-value
Relationship field default value
2022-02-04 11:03:48 +00:00
Budibase Staging Release Bot 0b91bfdf85 v1.0.49-alpha.10 2022-02-04 10:32:31 +00:00
Andrew Kingston 2c0af72cd4 Reset the builder store whenever unmounting the app root layout 2022-02-04 09:29:51 +00:00
Andrew Kingston a3eef9f534 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-04 09:23:32 +00:00
Andrew Kingston a2a3b276d0 Add default value for relationship fields 2022-02-04 08:50:56 +00:00
Andrew Kingston 03b3049572 Fix copy to clipboard not working without a secure context and add better notifications 2022-02-04 08:50:36 +00:00
dependabot[bot] 0898062278 Bump simple-get from 3.1.0 to 3.1.1 in /packages/cli
Bumps [simple-get](https://github.com/feross/simple-get) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/feross/simple-get/releases)
- [Commits](https://github.com/feross/simple-get/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: simple-get
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-03 20:59:42 +00:00
Budibase Staging Release Bot 47dc1ac540 v1.0.49-alpha.9 2022-02-03 20:58:29 +00:00
mike12345567 82c4c0b731 Fixing merge conflict. 2022-02-03 20:32:20 +00:00
mike12345567 5a2679c352 Merge branch 'develop' of github.com:Budibase/budibase into feature/text-input-alignment 2022-02-03 20:30:30 +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 984950b945 Adds alignment to long form and string fields as per #3374. 2022-02-03 19:13:56 +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
Andrew Kingston 2724ce00c3 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-03 14:46:59 +00:00
Andrew Kingston a0c3ee1c8b Add support for disabling rich text fields 2022-02-03 14:28:15 +00:00
Andrew Kingston 0005b05829 Add error border when rich text field fails validation 2022-02-03 14:08:30 +00:00
Andrew Kingston b84ec36271 Update setting label of markdown viewer component 2022-02-03 11:54:07 +00:00
Andrew Kingston 160849d0f5 Support a customisable offset for fullscreen mode for rich text editors 2022-02-03 11:53:51 +00:00
Andrew Kingston aacd8b01c6 Update rich text field height to be set dynamically 2022-02-03 10:46:41 +00:00
Andrew Kingston 392aaa30d0 Add custom styles for HRs, tables and link colors in rich text editor and preview 2022-02-03 09:46:30 +00:00
Andrew Kingston f347bafe62 Add custom styles for code blocks and block quotes in rich text editor and preview 2022-02-03 09:32:01 +00:00
Andrew Kingston e8f8d6ead9 Properly trim markdown viewer component 2022-02-03 09:06:52 +00:00
Andrew Kingston 9310ef08f5 Add markdown viewer component to builder 2022-02-02 21:23:39 +00:00
Andrew Kingston 815b6213cf Update client app long form text component to be rich text and add new markdown viewer component 2022-02-02 21:23:28 +00:00
Andrew Kingston 0b7dbebe5c Update markdown viewer and editor BBUI components 2022-02-02 21:22:49 +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
Andrew Kingston 66e104f02b Use new rich text field in build backend UI 2022-02-02 15:18:46 +00:00
Andrew Kingston 0892a1db59 Add new rich text component to BBUI 2022-02-02 15:17:59 +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
Andrew Kingston 378ddc5753 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-01 16:52:26 +00:00
Andrew Kingston e0ed191f49 Update lock files 2022-02-01 16:46:38 +00:00
Andrew Kingston de12e0dc79 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-01 16:46:00 +00:00
Budibase Staging Release Bot 7852960a03 v1.0.49-alpha.6 2022-02-01 16:32:31 +00:00
mike12345567 b847b578c7 Making sure worker runs through ts-node in cypress, locally, then built in CI. 2022-02-01 16:02:44 +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 ec3c196c03 Revert "build app before running e2e tests"
This reverts commit 6eca23541f.
2022-02-01 06:40:07 +00:00
Maurits Lourens 6eca23541f build app before running e2e tests 2022-01-31 23:13:42 +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
Andrew Kingston 249520bdb2 Merge pull request #4228 from pueding/fix/query-pagination-on-production
Fix not showing pagination of query on production
2022-01-31 19:06:00 +00:00
Budibase Staging Release Bot 7aab9d3e40 v1.0.49-alpha.3 2022-01-31 17:55:54 +00:00
mike12345567 72534c6ed2 Refactoring backend-core tenancy to context, splitting out tenancy functionality to its own area. 2022-01-31 17:53:19 +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
Rory Powell 662727ccc6 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 fdf5795444 Merge pull request #4242 from mslourens/add_url_to_templates
Adds a url to the templates
2022-01-31 16:37:46 +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
Hwansoo 241d04ed38 fix: check if fields exists 2022-02-01 00:03:25 +09: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
mike12345567 9b4f684f05 Cypress setup, allowing option for using typescript locally. 2022-01-31 11:51:52 +00:00
Rory Powell bdc37b6ff7 Fix CSRF token not present using local auth 2022-01-31 11:07:54 +00:00
Andrew Kingston 9b1754ad70 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-31 09:40:33 +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
Andrew Kingston fab27eea77 Fix issue with backend UI not refreshing when adding a row 2022-01-28 15:17:21 +00:00
Budibase Staging Release Bot dbaede79f6 v1.0.46-alpha.7 2022-01-28 15:12:31 +00:00
Maurits Lourens 24b2fc65a0 Adds a url to the templates 2022-01-28 16:06:46 +01: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
Rory Powell e001376e6d Fix loop early exit 2022-01-28 11:32:28 +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
Hwansoo 35671cb120 Fix not showing pagination of query on production 2022-01-28 01:31:10 +09:00
Andrew Kingston f8378e551d Redirect if opening a locked app 2022-01-27 13:44:09 +00:00
Andrew Kingston 62860c3e9b Disable jest tests in builder for now 2022-01-27 13:26:39 +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 412b7e5f06 Fixing #4205 - making sure builder loads the correct role for the query. 2022-01-26 18:59:41 +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
Andrew Kingston 6af3e1ef7c Remove builder rollup alias from client as it is now fully decoupled 2022-01-26 17:55:45 +00:00
Andrew Kingston bfe209e3e6 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-26 17:49:27 +00:00
mike12345567 223b5a0e16 Fixing dynamic filter modal in client library to include static formula. 2022-01-26 17:49:02 +00:00
Andrew Kingston 0b5d26b28b Enable caching in client library 2022-01-26 17:45:35 +00:00
Andrew Kingston a3f13508d8 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 05e9f6088b Use frontend-core implementation of data fetching in backend UI 2022-01-26 17:43:48 +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
Andrew Kingston c7cd6b923d Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-26 16:02:27 +00: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 20ec58b775 Don't apply csrf to existing sessions. Handle only supported content types 2022-01-26 12:52:53 +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 f66a8b888f Handle unexpected errors during validation 2022-01-25 23:27:28 +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
Andrew Kingston 29f47198c6 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 ff6c81f265 Getting client side block search fields working with searching formulas. 2022-01-25 18:28:55 +00:00
Andrew Kingston bd04d627d2 Add missing API client documentation and fix S3 upload endpoints to make them consistent 2022-01-25 16:54:55 +00:00
mike12345567 b4eef68d71 Adding the formula bulk recalculation when adding/changing a formula field. 2022-01-25 16:01:04 +00:00
Andrew Kingston 9a813dbb29 Lint 2022-01-25 15:49:35 +00:00
Andrew Kingston 9d52841219 Refactor automation store to properly handle errors 2022-01-25 15:44:08 +00:00
Andrew Kingston 45547f1efc Improve handling of 403 logouts and return URL cookie 2022-01-25 15:28:31 +00:00
Andrew Kingston 7b32543537 Use core CookieUtils in client library 2022-01-25 15:28:14 +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
Michael Drury 69831e7662 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 36b529f696 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