Commit Graph

425 Commits

Author SHA1 Message Date
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
Rory Powell 45a43baee2 Merge branch 'master' into develop 2022-09-12 14:05:36 +01:00
Andrew Kingston 925477e156 Merge pull request #7670 from Budibase/update-preview-endpoint
Update preview endpoint
2022-09-07 12:21:48 +01:00
Andrew Kingston 2e72eb4f2e Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-09-07 12:07:25 +01:00
Jonny McCullagh b3ad464cd9 single image data path 2022-09-07 10:51:53 +01:00
Andrew Kingston 0bc7ffe0a1 Update preview endpoint to be prefixed with /app to not require an updated proxy config 2022-09-07 10:40:00 +01:00
mike12345567 5c62bdac2e Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-09-05 14:14:47 +01:00
Rory Powell 5a34bda3e2 Configurable api rate limit through nginx 2022-09-05 09:54:07 +01:00
Rory Powell 6cee01ed74 Merge pull request #7622 from Budibase/configurable-api-rate-limit
Configurable api rate limit through nginx
2022-09-05 09:51:09 +01:00
Rory Powell dc35b0da78 Configurable api rate limit through nginx 2022-09-05 09:09:43 +01:00
Andrew Kingston a794e19dfc Update nginx confs and add to single image 2022-09-02 12:26:30 +01:00
Andrew Kingston 28aaaf9661 Update vite path for proxying websocket to be /vite 2022-09-02 11:48:45 +01:00
Andrew Kingston d989e346ca Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-09-01 14:39:30 +01:00
mike12345567 320cbfada3 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-31 15:53:32 +01:00
Martin McKeaveney 02c93071ee merge 2022-08-30 10:33:37 +01:00
Rory Powell 50ae706953 Update NGINX access log to show upstream_response_time, proxy_host and upstream_addr 2022-08-26 13:18:38 +01:00
Andrew Kingston a4684b8ac4 Add preview endpoint to prod nginx conf 2022-08-23 08:50:36 +01:00
Andrew Kingston 36b067a600 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-08-22 17:54:14 +01:00
Andrew Kingston 23a91b89a7 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-22 11:27:04 +01:00
Andrew Kingston d19a0f171e Serve builder preview via server to fix dependency on third party cookies 2022-08-20 13:47:57 +01:00
Andrew Kingston 2c87d6e340 Initial work on websockets 2022-08-19 11:09:20 +01:00
Andrew Kingston 32025ef76d Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-17 16:13:27 +01:00
Andrew Kingston 5807488f19 Add PLUGINS_DIR env var and show example mount for HMR of plugins 2022-08-16 15:14:47 +00:00
Jonny McCullagh dfb368d3f3 fix sed apostrophe error and couchdb path 2022-08-16 15:08:00 +01:00
Andrew Kingston 16568f42ff Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-16 09:33:17 +00:00
Andrew Kingston 1ef1cc84ad Proxy vite HMR websocket in dev 2022-08-16 09:25:16 +00:00
Andrew Kingston 6093da79d6 Add hot reloading for component plugins via watched plugin directory 2022-08-15 22:23:45 +01:00
Jonny McCullagh 625f36db7c Merge pull request #7226 from Budibase/azureappservice
single image build data path for azure
2022-08-11 15:18:24 +01:00
Jonny McCullagh 4c837f8e86 single image build data path for azure 2022-08-11 12:08:56 +01:00
Rory Powell 21f1970bf3 Revert proxy image change 2022-08-10 14:32:07 +01:00
Rory Powell ae5f0464b5 Merge pull request #7121 from Budibase/proxy-env-support-and-webhook-limiting
Add separate rate limiting config for webhooks + environment variable support
2022-08-10 09:00:20 +01:00
Rory Powell d36ff097ee Update posthog token 2022-08-08 14:03:04 +01:00
Rory Powell c94d916050 Add seperate rate limiting config for webhooks + environment variable support 2022-08-05 17:41:55 +01:00
mike12345567 bd7ace561a Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-22 19:14:35 +01:00
mike12345567 ccdf3cf901 Moving the single image healthcheck script to be within the single image directory and updating it to look for the environment variable file. 2022-07-19 14:39:52 +01:00
mike12345567 6f78b5eea8 Merge branch 'develop' of github.com:Budibase/budibase into labday/backups 2022-07-18 14:16:39 +01:00
mike12345567 a8a7bea658 Merge branch 'develop' of github.com:Budibase/budibase into labday/backups 2022-07-18 13:59:46 +01:00
Jonny McCullagh 4605308e22 WAzure App Service image to docker registry 2022-07-18 12:21:25 +01:00
mike12345567 f9547ba3ef Removing the volume tags from the old directories, instead focusing on the single data directory that is now used - #6715. 2022-07-15 11:08:03 +01:00