Commit Graph

563 Commits

Author SHA1 Message Date
Michael Drury 86b9556b0e
Merge branch 'master' into fix/couchdb-image-build 2023-10-20 12:23:22 +01:00
Adria Navarro 6b68e52836 Use v2 dockerfiles 2023-10-20 10:02:18 +02:00
mike12345567 fdfd58391a Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2023-10-19 18:25:11 +01:00
Adria Navarro e80a20d61f Use root as docker context for the app/worker images 2023-10-18 16:08:54 +02:00
Adria Navarro b171e8e00f Update the script to be sh and workspace agnostic 2023-10-18 16:08:54 +02:00
mike12345567 705c948de7 Removing a sudo that was causing the docker image build to fail with buildx - we don't need sudo commands as the Dockerfile is always running as the root. 2023-10-18 14:51:49 +01:00
mike12345567 7d51a3d385 Extending Fauxton timeout from 600s -> 7200s. Allow for 2 hours before logout occurs. 2023-10-18 12:39:10 +02:00
Adria Navarro 572cac2552 Remove SENTRY_DSN references 2023-10-18 10:51:09 +02:00
mike12345567 02adf69e4d Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2023-10-17 15:18:49 +01:00
mike12345567 b267e4ca28 Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2023-10-17 14:53:09 +01:00
Adria Navarro 697e733f82 Fix timeout 2023-10-17 15:25:27 +02:00
Adria Navarro 50a1a28a32 Replace localhost for 127.0.0.1 2023-10-16 15:52:10 +02:00
Adria Navarro fb1db135cf Remove packageNames file usages 2023-10-13 13:59:42 +02:00
Adria Navarro 543ecb8d58 Add single vs dockerfile in order to allow testing it 2023-10-13 12:58:07 +02:00
Adria Navarro 8f8226a6f8 Remove unnecessary rm 2023-10-06 12:26:24 +02:00
Adria Navarro 42b6489905 Add builder and pm2 config 2023-10-04 23:50:22 +02:00
Adria Navarro 59e52884d1 Yarn cache 2023-10-04 00:11:24 +02:00
Adria Navarro 1d4bc49152 Don't clean cache on the multistage 2023-10-03 22:38:37 +02:00
Adria Navarro 164f46d0f6 Use local string-templates 2023-10-03 19:55:24 +02:00
Adria Navarro 3d697949f0 Use local string-templates 2023-10-03 19:55:24 +02:00
Adria Navarro cba7746b5d Fix installs 2023-10-03 19:55:24 +02:00
Adria Navarro eb84bbc472 Remove husky reference 2023-10-03 19:55:23 +02:00
Adria Navarro 4ddc4ed1da Install production 2023-10-03 19:55:23 +02:00
Adria Navarro 7b1a1c691e Fix image 2023-10-03 19:55:23 +02:00
Adria Navarro 5497c3835f Fix runner 2023-10-03 19:55:23 +02:00
Adria Navarro 6903149fc1 Update node to 18 2023-10-03 19:55:23 +02:00
Adria Navarro 3f5c142674 Build azure docker image 2023-10-03 19:55:23 +02:00
Adria Navarro 4df12eda10 Fix prescript 2023-10-03 19:55:23 +02:00
Adria Navarro f23e91c6ce Unify dependencies 2023-10-03 19:55:23 +02:00
mike12345567 1db95a3006 Merge branch 'develop' of github.com:Budibase/budibase into labday/sqs 2023-10-02 16:32:10 +01:00
Gerard Burns efb3e9d461 correct nginx cors changes 2023-09-21 09:07:50 +01:00
Gerard Burns 36f351e96d Nginx cors changes to allow communicating with account portal from bb front end (#11831) 2023-09-20 12:08:46 +01:00
Rory Powell 9ff9da0247 Remove remaining references to `yarn bootstrap` 2023-09-05 16:37:57 +01:00
mike12345567 cad787a909 Removing old docker-compose.test.yaml that was causing flakiness and getting worker using mock redis. 2023-08-23 15:07:12 +01:00
mike12345567 7110351bdc Revert "revert develop into master"
This reverts commit fd099658a0.
2023-08-18 14:33:21 +01:00
Martin McKeaveney f0ee662d32 adding offline mode to .env 2023-08-16 17:17:05 +01:00
Jonny McCullagh 5669e82277 adoptjdk repo has changed to adoptium (#11521) 2023-08-15 10:59:46 +01:00
mike12345567 c185dd7dd0 Merge branch 'develop' of github.com:Budibase/budibase into labday/sqs 2023-07-21 18:41:48 +01:00
Adria Navarro 8375ea4c5a Fix order 2023-07-11 10:44:10 +02:00
Andrew Kingston 891bcc118a Add embed config to single image nginx config 2023-07-10 09:17:37 +01:00
mike12345567 adef1ed5ce Initial attempt to get SQS up and running within BB. 2023-07-06 21:49:25 +01:00
Dean b6caebe431 Merge remote-tracking branch 'origin/develop' into feature/app-settings-section 2023-06-26 15:51:31 +01:00
Adria Navarro ed888e7391 Clean 2023-06-22 12:25:27 +01:00
Adria Navarro 55e38725db Add pg_dump to single dockerfile 2023-06-22 11:29:32 +01:00
Adria Navarro 921c821d2f Install pg_dump on docker 2023-06-21 11:33:37 +01:00
Dean 2304032423 Added embed state, behaviours and event tracking to client app. UI/UX Refactoring 2023-06-16 12:30:08 +01:00
Martin McKeaveney dd8e54c5e1 update airgap script and enable support for offline mode 2023-06-15 15:20:14 +01:00
mike12345567 70e4795349 Fix top level path within the single image to make sure it can find builder assets correctly. 2023-06-07 16:35:36 +01:00
Adria Navarro 692bca9587 Revert single image back to node 14 2023-06-07 11:11:13 +01:00
Adria Navarro bfd7b2f668 Fix yarn usage 2023-06-07 09:15:11 +01:00
Adria Navarro d21274ef2b Remove frozen-lockfile from dockerfiles 2023-06-07 09:05:34 +01:00
Adria Navarro d1af3f930e Add yarn.lock in single image docker 2023-06-06 14:45:20 +01:00
mike12345567 733e724eb3 PR comments. 2023-05-24 16:38:24 +01:00
mike12345567 90ffa338c3 Fixes the single image build, as well as fixing the nodemon process for the server. 2023-05-24 16:23:34 +01:00
Adria Navarro 62bff4e12b Clean 2023-05-24 13:26:02 +02:00
Adria Navarro 163f7fff2a Fix proxy issues on dev/docker-dev 2023-05-24 13:25:41 +02:00
Adria Navarro cc02632a28 Fix dev:docker 2023-05-24 12:51:26 +02:00
mike12345567 5039e63bfb PR comments. 2023-05-23 16:07:45 +01:00
Adria Navarro f27c4ae55a Use nx/esbuild for worker docker & dev 2023-05-19 14:45:05 +02:00
mike12345567 f3785892a9 Merge branch 'develop' of github.com:Budibase/budibase into chore/esbuild 2023-05-17 12:45:28 +01:00
Martin McKeaveney 927396d580 Update nginx.prod.conf 2023-05-16 11:42:47 +01:00
Martin McKeaveney bbf271961f adding healthcheck to proxy service 2023-05-09 11:48:49 +01:00
mike12345567 b2973a51b1 Updating Dockerfiles as per #10472 for master. 2023-05-03 18:22:19 +01:00
Adria Navarro a7f69231d9 Merge branch 'chore/npmless-builds' into chore/esbuild 2023-05-03 18:01:04 +01:00
Martin McKeaveney a2737346f1 Update Dockerfile 2023-05-03 16:49:12 +01:00
Martin McKeaveney 46acac0e5f Update Dockerfile 2023-05-03 16:48:53 +01:00
Martin McKeaveney b570efc2c6 Update Dockerfile 2023-05-03 16:42:26 +01:00
Martin McKeaveney 6df5e6f6d8 Update Dockerfile 2023-05-03 16:40:58 +01:00
mike12345567 de51364303 Some updates to Dockerfiles. 2023-04-27 17:00:15 +01:00
Martin McKeaveney b75caa03a6 updating production timeouts 2023-04-21 17:25:55 +01:00
Rory Powell e116941750 Rotatable secrets (#9982)
* Rotatable secrets

* Set new api encryption key var

* Lint

* Use fallback keys instead of array

* Point api encryption key to dedicated value

* Add API_ENCRYPTION_KEY to cli

* Lint + add api encryption key to env files
2023-03-13 15:02:59 +00:00
mike12345567 ac4478d969 Removing old version of minio from dev docker-compose file. 2023-03-08 13:40:06 +00:00
Michael Drury 03ff4daca3 Revert "pinning MinIO versions" 2023-03-08 13:35:26 +00:00
Martin McKeaveney d72114eba3 pinning MinIO versions 2023-03-08 12:17:15 +00:00
Martin McKeaveney 065c466eeb Merge pull request #9897 from Budibase/fix/csp-media-src
Add budi cdn to CSP media-src directive
2023-03-07 15:42:53 +00:00
Peter Clement f3b7445dcb fix formatting 2023-03-07 14:45:11 +00:00
Peter Clement 9f3f4d37bc Fix s3 csp 2023-03-07 14:37:35 +00:00
andz-bb bf903dc956 update csp media-src to allow media from budi cdn 2023-03-06 17:33:56 +00:00
mike12345567 6fac00b3de Attempting to fix issues where wrong port is picked for test containers, occurred a lot locally. 2023-02-27 21:19:07 +00:00
Peter Clement 2895c81a14 Merge pull request #8158 from Budibase/fix/update-csp-s3
Update CSP for S3
2023-02-16 15:42:24 +00:00
Peter Clement 55bff3de29 no wildcard at start of s3 csp 2023-02-16 10:18:48 +00:00
Peter Clement e7999504c8 wildcard all amazonaws addresses 2023-02-16 10:13:25 +00:00
mike12345567 3f7f66257d Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-14 17:57:23 +00:00
mike12345567 488b542ac1 Fix for #9654 - the error checking was looking at the through fields flipped, which caused many to many relationships to throw an error. Also I've updated the dev compose file on master so that switching between develop and master is smoother. 2023-02-14 14:38:55 +00:00
mike12345567 0c80ea2083 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-10 17:42:56 +00:00
Martin McKeaveney 238854aa0e updating onboarding tour and fixing github CSP 2023-02-07 14:49:45 +00:00
melohagan 1fd0863468 Update .env
SQL_MAX_ROWS
2023-02-06 12:06:45 +00:00
adrinr 9936d03e27 Merge branch 'develop' into feature/dependencies-image 2023-02-03 10:44:40 +00:00
adrinr 79521dadc4 Remove unnecessary couch-init 2023-02-03 09:37:53 +00:00
Dean 0eed617866 Updated default feature flags to include onboarding by default. Added tenant overrides to allow exclusion from global features 2023-02-01 14:12:43 +00:00
adrinr b2813db5db Handle db creation race conditions 2023-01-31 16:15:11 +00:00
adrinr 8eb6ef4d76 Init couch db 2023-01-31 12:16:23 +00:00
adrinr ab7a83c9ec Remove unused container 2023-01-31 09:57:34 +00:00
adrinr b2db582f02 Use docker compose for test-containers 2023-01-30 18:15:29 +00:00
mike12345567 a5980caf68 Updating Dockerfile to use same path as the publish (restrict context size). 2023-01-27 13:17:19 +00:00
adrinr 768e84d9b3 Don't create the apps on test 2023-01-26 18:20:21 +00:00
Adria Navarro fc6c4d5290 Remove test logic from getAllDbs 2023-01-24 14:06:28 +00:00
Adria Navarro 792f4cf772 Fix nginx.dev 2023-01-24 12:38:22 +00:00
Adria Navarro 6806404465 Merge branch 'feature/test-image' into feature/dependencies-image 2023-01-23 18:08:19 +00:00
Adria Navarro 0aa28c0ee2 Rename image "tests" for "dependencies" 2023-01-23 15:09:13 +00:00
Adria Navarro f94f4b2e9f Renamings 2023-01-23 10:45:59 +00:00
Adria Navarro 656a247dbe Fix image and move folders 2023-01-23 10:05:16 +00:00
mike12345567 53bf17a110 Updating image to use new couchdb image. 2023-01-20 19:56:47 +00:00
Andrew Kingston d92f1a7097 Portal redesign (#9336)
* Update BB logo to black

* Update top nav bar and core layout

* Add redesign for apps pages

* Update user and groups pages

* More WIP portal redesign!

* Fix top nav colours and fix selected tab not updating

* Remove log

* Update copy on settings pages

* Update and standardise page headers and subtitles, and remove side nav titles

* Update font styles to allow for easy customisation

* Update button styles to always use newStyles, update auth page styles

* Update settings pages to new designs

* Update structure for account pages

* Add initial rewrite of app overview section

* Update config checklist to properly center

* Update app overview version and name/url screens

* Add tooltip to explain why URL cannot be changed until unpublishing

* Update overview automation history tab

* Update overview backups page

* Rewrite app overview access tab

* Update table hover colours

* Remove scrolling from tables when not required and stop selects from updating their own state locally

* Update table styles to support flexible column widths much better

* Fix extremely long strings in breadcrumbs not wrapping

* Fix multiple issues with long text overflow

* Fix flashing in version settings page

* Fix loading bugs in app backups page

* Add sidebar for portal and use it for automation history. Fix multiple overflow and scrolling issues

* Tidy up

* Update user details page to use tables and match designs

* Update users detail page

* Update user and group details pages with new tables

* Fix automation error linking from apps page and improve automation fetching logic in automation history

* Move theme and API key into user profile dropdown instead of settings

* Move settings before account and show plugins for devs

* Convert plugins page to table and update components and modals

* Update links when going back from the builder

* Update plugin search placeholder

* Fix URLs in app overview

* Properly handle text overflow in plugins table

* Remove getting started checklist

* Fix checklist removal and fix profile modal

* Update email details page to match new designs

* Cleanup

* Add licensing and env logic to determine which account links to show

* Update upgrade button URL for cloud accounts

* Update app list to use a more compact style

* Make core page layout responsive and update apps list to be responsive

* Update mobile design of apps page

* Update more pages to be responsive and add mobile specific components

* Refactor main portal page into multiple components

* Update multiple pages to be responsive and improve loading experience

* Make automation history page responsive

* Update backups page to be responsive

* Update pickers to use absolutely positioned root popover so that overflow does not matter

* Fix some responsive styles

* Fix update link in app overview

* Improve dropdown logic

* Lint

* Update click outside handler to handle modals properly

* Remove log

* Fix mobile menu upgrade button not closing menu

* Hide groups page if disabled at tenant level

* Centralise menu logic and show full menu on mobile

* Update app access assignment and fix backups table

* Ensure avatars cannot be squished

* Standardise disabled field text colour

* Allow developer users to access users, groups and usage pages

* Allow readonly access to users and groups for developer users

* Remove logs

* Improve users page loading experience

* Improve responsiveness on apps list page and fix discussions link styles

* Update spacing on user and group detail page and fix usage page showing wrong copy

* Fix logo override not working

* Pin minio version to an old one that supports the fs backend in dev

* Shrink upgrade button

* Shrink user dropdown

* Update assignment modal text

* Remove clickable visual styles from plugins

* Always show groups section in app access page

* Update app overview button styles to include more CTAs

* Hide edit and view links in more menu on overview page unless on mobile

* Make usage stats responsive and fix layout issues

* Add comment to docker-compose config
2023-01-18 13:56:53 +00:00
mike12345567 d347b8015b Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2023-01-10 18:49:07 +00:00
mike12345567 3cd097a7f1 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-01-05 17:04:24 +00:00
Peter Clement e561b41219 define specific port for minio at startup 2023-01-03 11:51:30 +00:00
mike12345567 84403253b1 Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2022-12-22 17:24:34 +00:00
Martin McKeaveney 1dcd3445ce adding host.docker.internal mapping to PROXY_ADDRESS 2022-12-21 10:58:39 +00:00
Rory Powell b635614f77 Allow proxy upstream URLs to be configured at runtime (#7413)
* allow proxy upstream urls to be configured at runtime

* make dynamic upstream urls in proxy the default behaviour

* reorder env directives

* Use appVersion for proxy image

* Update couch upstream for proxy

* proxy ci updates - WIP

* allowing custom resolvers in proxy service deployment

* remove generateProxyConf script for prod and remove from builds

* remove generateProxyConfig script

* removing nginx dev conf

* delete generated nginx conf

Co-authored-by: Thomas Weiß <panos@unbunt.org>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-12-20 16:28:13 +00:00
mike12345567 2c2f08339c Adding library to configure test containers at Jest startup. 2022-12-15 21:06:30 +00:00
mike12345567 b322c776b5 Updating dev nginx after recent changes for signing. 2022-12-15 19:37:25 +00:00
mike12345567 c7e148d5d3 Fixing CouchDB image. 2022-12-15 17:28:39 +00:00
mike12345567 d8e702567b Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2022-12-15 15:22:01 +00:00
Rory Powell 786039055e File authentication using presigned URLs (#8883)
* file auth wip

* Private plugin bucket wip

* Add etag to logo request, fix circular dependency

* Resolve cyclic dependency

* Ensure browser doesn't cache custom component

* Global file fixes

* File fixes / remove permaUrl

* Add ctx local storage

* Enable presigned url to work from any host

* Test fix

* Self hosting w/ S3 + other fixes

* Fix for serving dev app in multi tenant

* Fix backup restore and import attachment url processing, never store attachment urls

* Test fixes

* Unit tests WIP

* Replace file path with base64 encoded private key

* Multi tenancy tests for files

* Environment files fixes

* Post-merge build and test fixes

* Add debug conditional to all jest logging and revert/fix prod minio proxy_pass

* Re-add default '/' minio route :(

* Rename iconFile -> iconFileName

* Add cloudfront vars to k8s templates

* Remove public bucket policy

* Remove duplicated test
2022-12-15 11:35:22 +00:00
mike12345567 efbc3f1e92 Updating dev compose to use test image. 2022-12-13 17:14:08 +00:00
mike12345567 77a18bbba9 Adding base test image 2022-12-13 16:50:31 +00:00
mike12345567 b2171c5955 Enabling pushing of budibase/couchdb image. 2022-12-09 22:11:15 +00:00
mike12345567 e8667fd04d Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2022-12-09 17:23:26 +00:00
Jonny McCullagh 1e8e497c08 single image nginx logs to stdout 2022-12-06 10:58:13 +00:00
mike12345567 9b144f61f7 Updating single image, break out couchdb config into its own image. 2022-12-01 17:08:49 +00:00
mike12345567 5f1019d9fd Creating pure BB-CouchDB image. 2022-12-01 13:42:56 +00:00
mike12345567 cfbed0b236 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-21 15:05:48 +00:00
mike12345567 d2f8a59b65 Updating proxy configuration for docker-compose, k8s and single image to allow longer timeout for app export requests. Also fixing an issue that blocked requests from getting to app-service. 2022-11-15 10:49:17 +00:00
Jonny McCullagh c71f9ccecf single image NFS & more logging 2022-11-13 17:53:32 +00:00
Rory Powell 6783fd713e Update tenancy detection to honour any subdomain pattern according to platform url 2022-11-09 16:35:16 +00:00
mike12345567 ecb398bf98 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-09 13:41:51 +00:00
mike12345567 62f65d3c16 Updating nginx conf to allow export a lot longer period before timeout. 2022-11-09 11:33:57 +00:00
Rory Powell a6157e2c45 Add budibase.net to CSP 2022-11-08 10:26:28 +00:00
mike12345567 6d72e51d16 Some fixes for CLI to get exporting/importing with different ports working, as well as a fix for access to minio through proxy. 2022-10-26 18:51:58 +01:00
Andrew Kingston 603c8744a5 Merge branch 'master' into master-develop 2022-10-25 12:03:33 +01:00
Jonny McCullagh d1e729ec55 proxy IPv6 removal needs to happen after envsubst 2022-10-18 09:33:04 +01:00
Jonny McCullagh ecb47851d6 make proxy ipv6 customise script executable 2022-10-17 10:20:09 +01:00
Martin McKeaveney 6ff52c64a3 ipv6 change for master 2022-10-13 18:07:55 +01:00
Jonny McCullagh 5d0dd41de3 single image mount nfs share if vars defined 2022-10-13 11:57:00 +01:00
Rory Powell 36f122a0af Add additional timeout configuration to nginx.dev.conf.hbs 2022-10-13 11:26:25 +01:00
Jonny McCullagh eecaa61555 remove ipv6 conf from nginx proxy if ipv6 not enabled 2022-10-12 15:02:05 +01:00
Jonny McCullagh af2203fac8 remove ipv6 conf from nginx proxy if ipv6 not enabled 2022-10-12 14:54:25 +01:00
Jonny McCullagh 67301cfb58 remove ipv6 conf from nginx proxy if ipv6 not enabled 2022-10-12 14:53:06 +01:00
mike12345567 2421f16a8c Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-10-06 16:58:33 +01:00
mike12345567 a86cdb3291 Fixing issue #8079 - making sure TARGETARCH gets correctly exported to environment to pick correct minio bundle. 2022-10-06 14:05:01 +01:00
Jonny McCullagh c456e2ad3d Merge pull request #8059 from Budibase/jonny/aas-storage
AAS enable app service storage
2022-10-03 14:32:16 +01:00
Jonny McCullagh ad70bd5a0b AAS enable app service storage 2022-09-30 11:47:01 +01:00
Jonny McCullagh 8fa5893b49 AAS enable app service storage 2022-09-30 11:43:42 +01:00
Rory Powell 143cf2ff35 Add ACCOUNT_PORTAL_URL to images default environment 2022-09-23 13:40:00 +01:00
Rory Powell aebc51299e Enable feature flags selfhost 2022-09-22 14:41:41 +01:00
Rory Powell 0f98f2fcaa Merge branch 'master' into develop 2022-09-15 10:19:56 +01:00
Jonny McCullagh b055a0e383 move env vars to runner.sh 2022-09-14 13:24:11 +01:00
Jonny McCullagh 6ab6ea62ac Azure App Service customisations 2022-09-13 16:08:54 +01:00
Andrew Kingston be15aff40f Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-09-12 20:00:32 +01:00