Commit Graph

4980 Commits

Author SHA1 Message Date
Peter Clement 1d300c2577
Remove aws sdk global mock and update tests (#13637)
* Remove aws sdk global mock and update tests

* add awaits

* Minio healthcheck in tests.

* Bind to 127.0.0.1 instead of 0.0.0.0

* Fix port fetching for minio container.

* Actually fix port mapping this time.

* Pull minio container before running tests.

* Enable testcontainers debug logging.

* Promote minio container to always running in tests, like CouchDB.

* Remove testcontainers debug logging.

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-05-08 14:08:34 +01:00
melohagan cfc2ea9117
Add free trial modal (#13609)
* Add free_trial to deploy camunda script

* WIP FreeTrial modal

* Handle free trial modal via self endpoint

* Set correct plan title for trial

* Remove catch

* lint

* Refactor

* Remove unnecessary code

* Rename to EnterpriseBasicTrialModal
2024-05-07 12:44:57 +01:00
Peter Clement a4c0328c53
REST file handling and SMTP automation block attachments (#13403)
* handle files in rest connector

* fetch presigned url and return

* further updates to handle files in rest connector

* remove unused important and fix extension bug

* wrong expiry param

* tests

* add const for temp bucket

* handle ttl on bucket

* more bucket ttl work

* split out fileresponse and xmlresponse into utils

* lint

* remove log

* fix tests

* some pr comments

* update function naming and lint

* adding back needed response for frontend

* use fsp

* handle different content-disposition and potential path traversal

* add test container for s3 / minio

* add test case for filename* and ascii filenames

* move tests into separate describe

* remove log

* up timeout

* switch to minio image instead of localstack

* use minio image instead of s3 for testing

* stream file upload instead

* use streamUpload and update signatures

* update bucketcreate return

* throw real error

* tidy up

* pro

* pro ref fix?

* pro fix

* pro fix?

* move minio test provider to backend-core

* update email builder to allow attachments

* testing for sending files via smtp

* use backend-core minio test container in server

* handle different types of url

* fix minio test provider

* test with container host

* lint

* try different hostname?

* Revert "try different hostname?"

This reverts commit cfefdb8ded.

* fix issue with fetching of signed url with test minio

* update autoamtion attachments to take filename and url

* fix tests

* pro ref

* fix parsing of url object

* pr comments and linting

* pro ref

* fix pro again

* fix pro

* account-portal

* fix null issue

* fix ref

* ref

* When sending a file attachment in email fetch it directly from our object store

* add more checks to ensure we're working with a signed url

* update test to account for direct object store read

* formatting

* fix time issues within test

* update bucket and path extraction to regex

* use const in regex

* pro

* Updating TTL handling in upload functions (#13539)

* Updating TTL handling in upload functions

* describe ttl type

* account for ttl creation in existing buckets and update types

* fix tests

* pro

* pro
2024-04-22 15:30:57 +00:00
mike12345567 8bb6956925 Merge branch 'master' of github.com:Budibase/budibase into fix-oidc-error-logging 2024-04-19 13:29:21 +01:00
melohagan 6bdc726d55
Allow a displayName to be passed when creating admin user (#13516)
* Allow a displayName to be passed when creating admin user

* Set the first and last names

* Don't format handlebars files on save

* Use familyName and givenName
2024-04-18 12:52:00 +00:00
Adria Navarro f12e654811
Merge branch 'master' into chore/remove-disabling-nounusedvars 2024-04-17 15:49:35 +02:00
mike12345567 25dba0be35 This removes the SearchQuery which was a duplication of the SearchFilters interface - the duplicated types were not correctly getting overlay on each other, causing build errors. 2024-04-17 13:54:23 +01:00
Adria Navarro a88924a418 Remove // eslint-disable-next-line no-unused-vars 2024-04-17 12:24:41 +02:00
Adria Navarro ec93ea59c1 Remove // eslint-disable-next-line @typescript-eslint/no-unused-vars 2024-04-17 12:17:03 +02:00
Martin McKeaveney 27dec6e390
Update auth.ts 2024-04-10 17:03:15 +01:00
mike12345567 86150c58ce Fixing issue with BB_ADMIN environment variables for user creation introduced by user password becoming optional. Adding a test case as well to cover this to avoid it breaking in future. 2024-04-05 12:14:51 +01:00
mike12345567 8c326b501b Adding support for oneOf ID search of users, today the relationship picker attempts to use this for the users table, but it was not supported. 2024-04-02 17:12:31 +01:00
Martin McKeaveney a7722bccc0 fix worker test 2024-03-28 16:18:51 +00:00
José Vte. Calderón b5e0bd1aad
Merge branch 'master' into feature/update-global-user 2024-03-28 12:05:29 +01:00
jvcalderon af2407e8cd Lint 2024-03-28 12:04:27 +01:00
jvcalderon b77106480e Adds POST /api/global/users/sso endpoint 2024-03-28 11:46:58 +01:00
Sam Rose 6ee8f421a5
Merge branch 'master' of github.com:budibase/budibase into remove-jest-testcontainers 2024-03-26 10:05:21 +00:00
Sam Rose 415b27a008
Don't need a globalTeardown, testcontainers handles the removal of containers. 2024-03-26 10:00:34 +00:00
Sam Rose 5d7cd511b5
Correct path to global functions in jest.config.ts. 2024-03-26 09:51:10 +00:00
Sam Rose f3e9e3d35e
Share a single globalSetup/globalTeardown. 2024-03-26 09:49:33 +00:00
José Vte. Calderón bb50c87ac4
Merge branch 'master' into feature/onboarding 2024-03-26 09:04:12 +01:00
Sam Rose 0dba0cebc7
Remove CouchDB container name. 2024-03-25 17:26:15 +00:00
Adria Navarro f7daceaf07 Remove unused .vscode folders 2024-03-25 18:23:12 +01:00
Sam Rose db21542d38
Cherry-pick 6b8422df01 2024-03-25 15:25:30 +00:00
jvcalderon 1da10c9a5f Merge branch 'master' into feature/onboarding 2024-03-25 12:51:57 +01:00
jvcalderon 4314489e26 Restore ethereal user 2024-03-25 12:31:48 +01:00
Martin McKeaveney 7df5e7a8a7 fix order of createAdminUser args 2024-03-21 15:19:50 +00:00
Sam Rose da2dfcfad0
Merge master. 2024-03-20 18:05:17 +00:00
Sam Rose 4c55d958a1
Actually remove oauth.ts this time. 2024-03-20 13:03:57 +00:00
Sam Rose dd468c293e
Remove worker aws-sdk, oauth, node-fetch mocks. 2024-03-20 13:03:24 +00:00
Sam Rose 4783426b0f
Merge branch 'master' of github.com:budibase/budibase into reenable-no-unused-vars 2024-03-20 11:46:59 +00:00
Sam Rose 217b39c232
Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
Adria Navarro abbe9deb1c Add test command 2024-03-19 23:28:03 +01:00
Mel O'Hagan ff231b0095 Make password optional 2024-03-19 13:30:42 +00:00
Sam Rose 1785f3af7e
Get lint passing. 2024-03-19 10:55:51 +00:00
Sam Rose 7a63dc9830
Making progress on getting the eslint-jest plugin working. 2024-03-19 10:46:59 +00:00
Sam Rose 1f63f0bddf
Run auto fix. 2024-03-19 09:46:10 +00:00
Sam Rose ae0eda21a5
Remove uses of console in tests. 2024-03-18 13:43:43 +00:00
Sam Rose 01941dbab5
Fix duplicate enum value. 2024-03-18 11:58:50 +00:00
Adria Navarro e373387071
Merge branch 'master' into chore/stringtemplates-to-esm 2024-03-18 10:00:27 +01:00
Dean 5696fe0030 Fix to for tenant favourite prefix 2024-03-15 16:52:38 +00:00
Adria Navarro dff96b88a2 Remove --frozen-lockfile 2024-03-15 14:53:50 +01:00
Adria Navarro 2d641a9672 Clean worker and server dockerfile string-templates injection 2024-03-15 14:53:50 +01:00
Adria Navarro 08a86bdd77 Fix tests 2024-03-15 13:40:14 +01:00
Adria Navarro ecde5add83 Merge branch 'master' into chore/stringtemplates-to-esm 2024-03-15 13:22:50 +01:00
Dean f2dbeed6e8 Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-15 09:20:02 +00:00
Dean 4949ea1bcd PR feedback 2024-03-15 09:09:44 +00:00
Adria Navarro 82c610efef Set string-templates path 2024-03-14 17:17:10 +01:00
jvcalderon 8ae579b1d7 Lint 2024-03-14 13:15:35 +01:00
Sam Rose 47a26e4921
Remove environment setting. 2024-03-14 11:05:50 +00:00
Dean 9755d40203 Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-14 09:52:01 +00:00
Sam Rose 02158a0fb1
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support-2 2024-03-14 09:24:02 +00:00
Adria Navarro 3f302d300e Add test, account holder cannot be removed 2024-03-12 11:09:16 +01:00
Adria Navarro 3efaf01684 Fix multiple runs 2024-03-12 10:02:39 +01:00
Adria Navarro 26c98ea084 Fix tests 2024-03-12 09:57:25 +01:00
Adria Navarro cd0004ec3d Add scim tests 2024-03-12 09:46:10 +01:00
Adria Navarro b2000c0805 Lint test 2024-03-12 08:56:56 +01:00
Sam Rose 19803f9182
Use BBUI components instead of raw HTML. 2024-03-11 15:19:23 +00:00
Sam Rose 3550ae8c1a
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support-2 2024-03-11 13:45:08 +00:00
Dean 8c90d422c2 Update to update self endpoint to make remove distinct flow for appFavourites 2024-03-11 12:21:59 +00:00
Dean e3fba2aa05 Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-11 10:11:01 +00:00
Dean c5753dab0a Fix for duplicate app, PR feedback. Update for View only UX in app row, ensure favourite is displayed 2024-03-11 09:20:19 +00:00
Dean 780e11af47 Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-08 15:07:44 +00:00
Dean fec52c11e8 Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-08 14:26:05 +00:00
Adria Navarro 52957a9a22
Merge branch 'master' into feat/BUDI-8046 2024-03-08 13:39:34 +01:00
Michael Drury 9027e6e82a Initing doc writethrough cache as part of the worker/server init process, as well as part of doc writethrough tests. 2024-03-08 12:20:52 +00:00
Adria Navarro 65222c3b2e Clean 2024-03-08 13:15:24 +01:00
Adria Navarro d035f19b64 Add tests 2024-03-08 13:15:24 +01:00
Adria Navarro 72e0388b62 Fix tests 2024-03-08 13:14:20 +01:00
Adria Navarro ca65e1d36b Tests 2024-03-08 12:42:58 +01:00
Adria Navarro d3b9739396 Merge branch 'master' into feat/BUDI-8046 2024-03-07 14:34:14 +01:00
Adria Navarro 0212f2851f Add test validating not overriding scim users 2024-03-07 13:29:29 +01:00
Adria Navarro 6226075dcd Add tests 2024-03-07 13:29:18 +01:00
Adria Navarro 5df0c85a9b
Merge branch 'master' into BUDI-8064/doc-writethrough 2024-03-07 10:31:33 +01:00
Sam Rose 4b24fb7c68
Merge master. 2024-03-06 14:59:39 +00:00
Dean e3603a81d5 App favouriting 2024-03-06 09:33:17 +00:00
Adria Navarro ee3cb5ae68 Clean 2024-03-06 00:34:48 +01:00
Dean d9b0b1c1e3 Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-03-01 12:23:12 +00:00
Sam Rose 237634386c
More typing fixes. 2024-02-28 12:19:08 +00:00
deanhannigan 79ed0e0d89
Merge branch 'master' into feature/form-screen-template 2024-02-27 12:20:36 +00:00
Sam Rose 8f61b69ee5
Merge branch 'master' of github.com:budibase/budibase into budi-7710-user-groups-do-not-fully-support-custom-roles 2024-02-26 17:28:51 +00:00
Dean d7fa333fce Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-22 16:30:05 +00:00
Adria Navarro ea615f420c Add extra test 2024-02-22 13:55:59 +01:00
Sam Rose b2c4f04aa6
Typing and config.api'ing application.spec.ts, WIP 2024-02-21 17:52:58 +00:00
Sam Rose 686697e890
Enforce using example.com as a domain for emails. 2024-02-21 11:30:22 +00:00
Sam Rose 5c2a93a956
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support-2 2024-02-16 16:52:13 +00:00
Dean 0aa75fc7cb Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-15 15:26:14 +00:00
mike12345567 e9bb17dd8a Fixing cluster mode in docker-compose setups, we weren't copying across the pm2 config that was needed to achieve this. 2024-02-15 12:47:27 +00:00
Dean 5c5dc4c155 Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-14 14:32:15 +00:00
Dean e9e5281e82 Initial commit form screen flow and tour refactor 2024-02-14 12:11:24 +00:00
Peter Clement 8857ca989f
Merge branch 'master' into fix/custom-branding-issue 2024-02-09 16:06:26 +00:00
Peter Clement f1da6d5f87 Fix for custom branding not appearing on login 2024-02-09 15:26:57 +00:00
Sam Rose 77b3d479a0
Update dd-trace to 5.2.0. 2024-02-09 12:01:37 +00:00
Adria Navarro 573096e869
Merge branch 'master' into revert-12934-revert-12930-revert-12929-revert-12769-isolated-vm 2024-02-08 18:15:36 +01:00
Sam Rose 8e9db069e5
Remove all uses of test.com in the code, replace them with example.com and create a lint rule to prevent this in future. 2024-02-08 16:32:14 +00:00
Adria Navarro 2c4601440f Merge branch 'master' into revert-12934-revert-12930-revert-12929-revert-12769-isolated-vm 2024-02-06 17:53:22 +01:00
Martin McKeaveney b17bd4d8fd merge 2024-02-02 17:00:09 -03:00
Adria Navarro 8dfcc3aeb1
Revert "Revert "Migrate from `vm` to `isolated-vm`"" 2024-02-02 12:02:09 +01:00
dependabot[bot] 163c10c71e
Bump nodemailer from 6.7.2 to 6.9.9 in /packages/worker
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.7.2 to 6.9.9.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodemailer/nodemailer/compare/v6.7.2...v6.9.9)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-02 09:58:15 +00:00
Sam Rose 332a201ae7
Revert "Migrate from `vm` to `isolated-vm`" 2024-02-02 09:51:46 +00:00