Commit Graph

393 Commits

Author SHA1 Message Date
Rory Powell cf0200d695
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 c8ccd1d235 Removing old version of minio from dev docker-compose file. 2023-03-08 13:40:06 +00:00
Michael Drury 48dc408197
Revert "pinning MinIO versions" 2023-03-08 13:35:26 +00:00
Martin McKeaveney 785dbcabb8 pinning MinIO versions 2023-03-08 12:17:15 +00:00
Martin McKeaveney 0f764c8d37
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 a49f5abf7d fix formatting 2023-03-07 14:45:11 +00:00
Peter Clement 9787c676db Fix s3 csp 2023-03-07 14:37:35 +00:00
andz-bb d343550496 update csp media-src to allow media from budi cdn 2023-03-06 17:33:56 +00:00
mike12345567 20a8ec8600 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 fdd2a55590
Merge pull request #8158 from Budibase/fix/update-csp-s3
Update CSP for S3
2023-02-16 15:42:24 +00:00
Peter Clement 7767f5c8ea no wildcard at start of s3 csp 2023-02-16 10:18:48 +00:00
Peter Clement 3c67070462 wildcard all amazonaws addresses 2023-02-16 10:13:25 +00:00
mike12345567 2dc1ce3497 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-14 17:57:23 +00:00
mike12345567 5c05ad2445 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 720e7019c2 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-10 17:42:56 +00:00
Martin McKeaveney 2bc4c7dfb4 updating onboarding tour and fixing github CSP 2023-02-07 14:49:45 +00:00
melohagan bb665dccaf
Update .env
SQL_MAX_ROWS
2023-02-06 12:06:45 +00:00
adrinr 9034a7f7e8 Merge branch 'develop' into feature/dependencies-image 2023-02-03 10:44:40 +00:00
adrinr 682b0a8401 Remove unnecessary couch-init 2023-02-03 09:37:53 +00:00
Dean 7242dd4162 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 6090ed36f2 Handle db creation race conditions 2023-01-31 16:15:11 +00:00
adrinr a4f3db60df Init couch db 2023-01-31 12:16:23 +00:00
adrinr 382f71abf2 Remove unused container 2023-01-31 09:57:34 +00:00
adrinr 81cc5a19c4 Use docker compose for test-containers 2023-01-30 18:15:29 +00:00
mike12345567 8bcf7c10ea Updating Dockerfile to use same path as the publish (restrict context size). 2023-01-27 13:17:19 +00:00
adrinr 8dea221fdd Don't create the apps on test 2023-01-26 18:20:21 +00:00
Adria Navarro aafc70dcff Remove test logic from getAllDbs 2023-01-24 14:06:28 +00:00
Adria Navarro defe1cd9a2 Fix nginx.dev 2023-01-24 12:38:22 +00:00
Adria Navarro b0ffdc079d Merge branch 'feature/test-image' into feature/dependencies-image 2023-01-23 18:08:19 +00:00
Adria Navarro 07b23479dd Rename image "tests" for "dependencies" 2023-01-23 15:09:13 +00:00
Adria Navarro a95305036e Renamings 2023-01-23 10:45:59 +00:00
Adria Navarro cde07bf0ab Fix image and move folders 2023-01-23 10:05:16 +00:00
mike12345567 ff704a2782 Updating image to use new couchdb image. 2023-01-20 19:56:47 +00:00
Andrew Kingston c3f5e33b29
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 a0dfe50fcc Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2023-01-10 18:49:07 +00:00
mike12345567 3b7760b53a Merge branch 'master' of github.com:Budibase/budibase into develop 2023-01-05 17:04:24 +00:00
Peter Clement ecccadc56c define specific port for minio at startup 2023-01-03 11:51:30 +00:00
mike12345567 6425de0399 Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2022-12-22 17:24:34 +00:00
Martin McKeaveney aad1154ec7 adding host.docker.internal mapping to PROXY_ADDRESS 2022-12-21 10:58:39 +00:00
Rory Powell 62c325fa57
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 03ae0ff95b Adding library to configure test containers at Jest startup. 2022-12-15 21:06:30 +00:00
mike12345567 af22a05f23 Updating dev nginx after recent changes for signing. 2022-12-15 19:37:25 +00:00
mike12345567 c9ecfeec97 Fixing CouchDB image. 2022-12-15 17:28:39 +00:00
mike12345567 b165acbd62 Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2022-12-15 15:22:01 +00:00
Rory Powell 7ef9e9dc51
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 c232bdac60 Updating dev compose to use test image. 2022-12-13 17:14:08 +00:00
mike12345567 bb5bf8ee40 Adding base test image 2022-12-13 16:50:31 +00:00
mike12345567 2b592e1014 Enabling pushing of budibase/couchdb image. 2022-12-09 22:11:15 +00:00
mike12345567 c8952e36cc Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2022-12-09 17:23:26 +00:00
Jonny McCullagh 2fb751212d single image nginx logs to stdout 2022-12-06 10:58:13 +00:00