Commit Graph

182 Commits

Author SHA1 Message Date
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
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
Michael Drury 95f1081208 Updating typescript eslinter version to all match and resolve issue with our current Typescript version. 2022-11-29 11:26:23 +00:00
Rory Powell 1612044dc1 Merge branch 'develop' into subdomain-tenancy 2022-11-15 16:18:59 +00:00
Rory Powell 5da699e27c Fail pro scripts on error, unify TS versions, update test and coverage configs, use pro source mappings 2022-11-14 13:29:46 +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
Mel O'Hagan 0d08eb60c5 Merge branch 'develop' into lab/mongodb 2022-10-03 17:10:21 +01:00
Andrew Kingston 25078b6bb8 Add unique srcript for generating SDK to avoid unnecessarily building it 2022-09-21 09:08:52 +01:00
Martin McKeaveney 604ee41f51 adding madge dep and script for detecting circular dependencies 2022-09-20 10:30:30 +01:00
Martin McKeaveney fdbe429581 complete refactor and total type safety of test suite - making use of OpenAPI types throughout 2022-09-15 00:58:08 +01:00
Martin McKeaveney 32be537023 make sure yarn gets run in qa-core 2022-09-06 09:08:49 +01:00
Martin McKeaveney c3f15b5af2 QA Core repo, and Jest API tests running end to end 2022-09-05 18:28:53 +01:00
Mel O'Hagan 8738beb907 Upgrade to mongodb@4.9 2022-08-25 11:02:46 +01:00
Martin McKeaveney aaa5246973 exact flag for release 2022-07-29 15:59:21 +01:00
mike12345567 95bc334f10 PR comments. 2022-07-13 16:52:39 +01:00
mike12345567 f4b75b8f50 Fix for single image build, make sure predocker commands always ran. 2022-07-13 16:39:38 +01:00
Martin McKeaveney ec20f173bb automating CI release 2022-07-11 16:05:41 +01:00
Martin McKeaveney adb265564e merge 2022-07-11 10:19:07 +01:00
Rory Powell 0a078df5ae Add test:pro command 2022-07-08 11:36:31 +01:00
mike12345567 b42e0c1c5e Adding command for multiarch building with buildx, need to install qemu on Linux to make this work. 2022-06-21 19:52:44 +01:00
Rory Powell 99de9a165e Merge branch 'feature/event-backfill' of github.com:Budibase/budibase into feature/event-backfill 2022-06-10 22:57:45 +01:00
Rory Powell 12aa9fa1ce Dev improvements - remove need to rebuilds of backend-core/dist and enable debugging when running tests and backend services, use source directly using typescript and jest path mappings 2022-06-10 22:57:12 +01:00
Rory Powell 5832b6c0dd Update bootstrap script 2022-06-09 17:00:53 +01:00
Rory Powell 1a7a7ac726 Build dev fixes 2022-06-09 13:15:20 +01:00
Rory Powell 0cf777a0cd Build fixes 2022-06-09 12:33:10 +01:00
Rory Powell 6a1160697d Purge lockfiles for worker, server and backend-core 2022-06-07 10:44:56 +01:00
Rory Powell 4584643ee3 Update debug command 2022-06-07 09:01:43 +01:00
Rory Powell a9ab8b2629 Lots of failure handling and caching 2022-05-30 21:46:08 +01:00
Rory Powell 2a00f6498d Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-29 00:25:40 +01:00
Martin McKeaveney f7272c29b6 proxy generation for release env 2022-05-27 00:10:43 +01:00
Rory Powell 1eed4da35f Add TS references to improve build watching 2022-05-25 13:31:49 +01:00
Rory Powell 4841c84861 Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-23 10:29:33 +01:00
Martin McKeaveney f499de643a merging report inline HTML, fixing webhook to prevent 400s from discord 2022-05-20 16:47:09 +01:00
Martin McKeaveney 1ed9a4fc09 merge 2022-05-18 20:12:28 +01:00
Martin McKeaveney df0f922890 lint 2022-05-18 19:55:41 +01:00
Rory Powell 8da427284c Stub out migrations + start tests + add build watching for backend-core 2022-05-18 10:56:44 +01:00
Mel O'Hagan 0da9ee0a56 Using mongodb types 2022-05-16 09:50:47 +01:00
Rory Powell 77cb7c480c Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-05 09:22:01 +01:00
Rory Powell 1f56d31ebb App backfill (wip) 2022-05-05 08:32:14 +01:00
Rory Powell 6adb09d8d3 Add test:ere:ci:record variant 2022-05-03 15:52:46 +01:00
Martin McKeaveney 9ca4dacbaa merge with master 2022-04-26 10:21:45 +01:00
Rory Powell 63397aa047 Update release script 2022-04-22 11:37:55 +01:00
Rory Powell 1141fdd483 Release script updates 2022-04-22 11:01:27 +01:00
Rory Powell 35e18e7ac1 Bash updates 2022-04-22 10:40:17 +01:00
Rory Powell 9319d581ea Typo fix 2022-04-22 09:02:27 +01:00
Rory Powell 772fa6d8aa Typo fix 2022-04-22 09:01:04 +01:00
Rory Powell 381c23325a Update pro install and release scripts 2022-04-21 21:55:16 +01:00
mike12345567 7083470baa Adding a dep:clean function, cleaning up lock files and fixing backend-core test which did not utilise tenancy (no global db). 2022-04-21 15:20:23 +01:00
Rory Powell e4709107b3 Change bootstrap ordering 2022-04-21 15:09:39 +01:00
Rory Powell 81cb05b9ef Add explicit pro dependency to worker and server 2022-04-21 15:08:14 +01:00