Commit Graph

442 Commits

Author SHA1 Message Date
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 d347b8015b Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2023-01-10 18:49:07 +00:00
mike12345567 3601bd1f4d Adding pre-commit check for qa-core and examples. 2023-01-06 16:52:18 +00:00
mike12345567 60371d828e Linting. 2023-01-06 16:46:50 +00:00
mike12345567 84403253b1 Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2022-12-22 17:24:34 +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 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 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 9b144f61f7 Updating single image, break out couchdb config into its own image. 2022-12-01 17:08:49 +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
Rory Powell 74ac556e9e Add pro release to release-develop 2022-04-20 16:11:06 +01:00
Rory Powell d87714107d Add checkout pro step to budibase-ci 2022-04-13 21:13:01 +01:00
Rory Powell 08edd0e2d8 Move all dependency linking into budibase 2022-04-13 12:41:14 +01:00
Rory Powell 03ba6d914f Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01:00
mike12345567 28e47a5fa8 Adding volumes. 2022-04-01 12:50:26 +01:00
mike12345567 a1f4a237f0 Minor changes to get BB client and manifest included correctly. 2022-04-01 12:37:01 +01:00
mike12345567 4b7ffbbce7 Single docker container configuration. 2022-04-01 01:00:52 +01:00
Rory Powell 69b2b38aea Merge branch 'master' into merge-master 2022-03-25 13:10:37 +00:00
Rory Powell dd9503ac09 Add typescript linting at the top level 2022-03-25 11:17:58 +00:00
Rory Powell 819f9b75de Link app context with tenancy, remove app tenancy middleware 2022-03-24 13:04:49 +00:00
Rory Powell 715d42d3e6 Merge branch 'develop' into feature/licensing 2022-03-21 17:13:16 +00:00
mike12345567 9e4e83bd78 Editting readme for example and linting example. 2022-03-10 10:12:21 +00:00
Martin McKeaveney b28bffbb15 Merge pull request #4631 from Budibase/ci/deploy-proxy
removing need for handlebars in nginx script, automating proxy servic…
2022-03-03 09:06:49 +00:00
Rory Powell 040d80fc55 Merge branch 'master' into licensing-poc-master 2022-03-01 21:10:51 +00:00
mike12345567 aa2d43b232 Adding a top level script for generating specs, symlinking the openapi yaml and json to top level as well. 2022-03-01 18:42:52 +00:00
Rory Powell 7fe3844d08 Update cypress commands to work in local dev 2022-02-22 15:23:54 +00:00
Martin McKeaveney 1cbca0578a removing need for handlebars in nginx script, automating proxy service deployment 2022-02-22 13:24:21 +01:00
Martin McKeaveney a0fe3fa8ed adding compose script to develop build 2022-02-21 13:00:53 +01:00
Martin McKeaveney 9d4d3659f3 fix NPM script 2022-02-16 14:19:31 +01:00
Martin McKeaveney a85f667dbe templatize nginx configuration into one prod configuration and add NPM scripts to manage 2022-02-16 14:12:53 +01:00
Rory Powell ba57813674 Integrate with standard release pipeline 2022-02-16 10:08:49 +00:00
Rory Powell 7242406c68 poc wip 2022-02-16 09:54:26 +00:00
Martin McKeaveney c11e26cb2e merge 2022-02-01 11:22:14 +01:00
Martin McKeaveney 56ae2e566e adding proxy to build process 2022-01-31 14:52:44 +01:00
Maurits Lourens 2577a6631a run prettier + lint over typescript files as well 2022-01-20 09:17:08 +01:00
Martin McKeaveney e086859c7a adding preprod deploy 2021-12-17 15:27:46 +01:00
Martin McKeaveney 39116bc631 testing selfhost job 2021-12-17 14:58:03 +01:00
Martin McKeaveney 7ff93e975a completely automate helm chart incrementing and semver 2021-12-08 16:27:33 +00:00
Martin McKeaveney eb7468494e adding yarn command for DO build 2021-12-02 14:38:57 +01:00
mike12345567 a99bf1bba3 Updating scripts to allow opening in the browser when generated. 2021-11-25 18:13:14 +00:00
mike12345567 0f0770af32 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-25 12:21:58 +00:00
Martin McKeaveney d5a5f4d227 adding version metadata to docker build 2021-11-22 18:25:57 +01:00
mike12345567 7802bb1e45 Adding audit script and commiting all of the audits that it made, updating all yarn locks. 2021-11-17 18:04:16 +00:00
Martin McKeaveney 7ea05c571b airgapped docker build 2021-10-28 13:29:00 +02:00
Rory Powell 70ac21dcbf Merge pull request #2959 from Budibase/wrap-account-check
Don't perform account deletion check when self hosted
2021-10-12 13:10:58 +01:00
Rory Powell 060ef711c6 API development / debugging optimisations 2021-10-11 11:40:02 +01:00
Rory Powell 5ffed2824e Introduce dev modes, update contributor guide 2021-10-08 13:13:16 +01:00
Rory Powell 3bef997168 Support for tenancy subdomain locally + improvements 2021-10-01 15:55:57 +01:00
Martin McKeaveney e53c212e60 updating CI in develop 2021-09-21 16:37:59 +01:00
Rory Powell 62e93d2302 Add self host enable/disable scripts 2021-09-14 12:21:16 +01:00
Maurits Lourens bb90a7b30f remove unused and non-existing initialise script 2021-09-06 16:55:06 +02:00
Martin McKeaveney a22f4759a7 a more robust docker release process that only tags latest in prod 2021-08-24 17:16:45 +01:00
Martin McKeaveney 4cb057d6ab automate release tag in helm charts, remove superfluous build scripts 2021-08-24 16:58:10 +01:00
Martin McKeaveney 9ae7f4f8f7 Merge pull request #2419 from mslourens/husky-pre-commit-hook
Husky pre commit hook
2021-08-19 16:52:39 +01:00
Maurits Lourens 72c1741831 add git hook 2021-08-19 17:01:48 +02:00
Maurits Lourens 121aee21dd add prepare script for husky 2021-08-19 16:57:23 +02:00
Maurits Lourens 83c236ee0a add precommit hook and test error 2021-08-19 16:55:54 +02:00
Martin McKeaveney d811eb4e0d use NPM script to run helm release 2021-08-18 18:42:22 +01:00
Martin McKeaveney 1415e133f8 Update package.json 2021-08-12 09:41:19 +01:00
Martin McKeaveney 6e8924ff94 script for pinning dev versions of BB packages 2021-08-05 12:59:33 +01:00
mike12345567 46ea3f3e9e Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 4834b765be, reversing
changes made to 2456e69483.
2021-08-05 09:59:08 +01:00
Michael Drury b86a6fddc9 Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
mike12345567 219962cb8a Adding ability to disable/enable multi-tenancy flags easily. 2021-07-26 16:17:56 +01:00
Rory Powell 27946e5aae Add lerna prereleases 2021-07-22 17:21:12 +01:00
mike12345567 4ea6c6cf01 Fixing workflow ordering for yarn lint and bootstrap. 2021-06-25 15:54:41 +01:00
mike12345567 9c68166a6e Adding ts-eslint parser. 2021-06-25 15:46:39 +01:00
mike12345567 ffc54c3720 First attempt and re-writing a portion of the server in typescript. 2021-06-24 18:16:48 +01:00
Martin McKeaveney 8844275357 consolidate build 2021-06-21 16:44:54 +01:00
Martin McKeaveney 9deeef2d9e add develop tag and update docker push script 2021-06-21 16:25:12 +01:00
Martin McKeaveney dc637c6240 add staging build command 2021-06-21 12:07:07 +01:00
Martin McKeaveney 72a61e4555 adding docker staging tag to CI build to avoid polluting latest 2021-06-21 11:35:39 +01:00
Andrew Kingston ef97b1e5ff Run prettier first when running lint:fix 2021-06-15 13:38:03 +01:00
Andrew Kingston 70175ba276 Fix prettier and eslint, update versions and update package scripts 2021-06-15 12:42:50 +01:00
mike12345567 cb0317ca71 Making sure images are built for staging push. 2021-06-07 17:35:23 +01:00
Martin McKeaveney 74a7319bf0 automate release 2021-05-26 15:37:15 +01:00
Martin McKeaveney 399890fad9 auto release from NPM 2021-05-26 15:08:57 +01:00
Keviin Åberg Kultalahti 122c1f6fe0 remove unused dependencies in top level package file 2021-05-25 15:15:11 +02:00
Martin McKeaveney 3a422be071 simplify docker build before push 2021-05-20 13:54:18 +01:00
Martin McKeaveney bb9d209a36 pipeline work 2021-05-20 12:38:12 +01:00
Andrew Kingston 63c22494fd Merge pull request #1472 from Budibase/app-list
App list screen
2021-05-11 08:43:47 +01:00
mike12345567 77b4b206f7 Other minor fixes after doing some initial setup testing. 2021-05-10 13:18:05 +01:00
Andrew Kingston 5d4d3f1949 Bump deps 2021-05-07 11:14:57 +01:00
Andrew Kingston c010eeb314 Fix prettier and fix crash when using certain views as data sources 2021-05-04 11:04:42 +01:00
Andrew Kingston 9c903feed0 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-28 15:53:07 +01:00
Keviin Åberg Kultalahti 55299d40bc bump prettier and prettier-svelte plugins 2021-04-23 07:08:23 +00:00
mike12345567 3214abb89a Global users now working through the server, all requests proxied. 2021-04-09 15:11:49 +01:00
Keviin Åberg Kultalahti 1b3e93c6c5 reworks buttons to use more ergonomic interface 2021-04-09 15:21:51 +02:00
Keviin Åberg Kultalahti 9e2cf66173 adds Link component to bbui 2021-04-09 14:44:48 +02:00
Keviin Åberg Kultalahti fe991c683e adds ActionGroup component 2021-04-09 13:48:55 +02:00
Keviin Åberg Kultalahti b43e0e6547 adds an ActionButton component to bbui 2021-04-09 13:38:48 +02:00
Keviin Åberg Kultalahti 5a2287ddcb moves NotificationDisplay to bbui and converts it to spectrum 2021-04-09 12:02:53 +02:00
Andrew Kingston 8a0fcddf68 Update all scripts to use yarn rather than npm 2021-04-07 17:38:49 +01:00
mike12345567 6c790206a8 Attempting to use HBS to re-create the envoy file as needed in dev. 2021-04-07 17:13:19 +01:00
mike12345567 c1f22def11 Updating authorization test case to remove check for builder security and removing builder security while auth is being worked on - added an option to start stack without server so that user can start it in a debug mode if desired. 2021-04-07 11:54:51 +01:00
Andrew Kingston c463c3fecf Update nuke command to nuke docker stack as well 2021-04-07 10:52:13 +01:00
mike12345567 1c44808336 Adding a nuke stack option at top of repo and then setting up proxy for dev experience through envoy. 2021-04-01 12:02:31 +01:00
Andrew Kingston 88e700c19e Remove symlink dev script 2021-04-01 10:18:45 +01:00
Andrew Kingston dbbeb61297 Support BBUI hot reloading 2021-03-31 10:59:26 +01:00
Martin McKeaveney c8b8ddb67f add support for staging image that gets built on master push 2021-01-29 10:41:08 +00:00
kevmodrome 46ae0f7558 switches to remix 2021-01-18 14:26:01 +01:00
mike12345567 3ec01a6fe5 Adding docker image release to release GH action. 2021-01-11 11:24:53 +00:00
Andrew Kingston b8bc583fd9 Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-25 18:38:58 +00:00
Andrew Kingston d994177f3b Update yarn lock and dev script to use yarn rather than npm 2020-11-10 10:51:23 +00:00
Martin McKeaveney cb25c31d17 potential resolutions for the 4001 issue 2020-11-05 22:09:49 +00:00
Martin McKeaveney 4823e66fe9 merge 2020-10-14 15:08:54 +01:00
Martin McKeaveney 79b50dc0b7 lint 2020-10-14 13:21:43 +01:00
mike12345567 e33dd65768 Upgrading prettier svelte plugin until found a version that works for our formatting without breaking on some syntax. 2020-10-14 12:22:43 +01:00
Martin McKeaveney f31352ad49 convenience scripts for restoring budibase installations 2020-10-12 20:39:29 +01:00
kevmodrome b0bd9ae135 sets correct editable values on fields 2020-10-12 18:42:47 +02:00
kevmodrome d9c8e6cd96 update svelte version in builder and standard-components packages 2020-10-08 16:24:21 +02:00
Martin McKeaveney 7b3ca245cc updating replication stream dependency 2020-10-06 21:10:49 +01:00
Martin McKeaveney 892ce699ce template export v1 2020-09-25 14:47:42 +01:00
Conor Mack fa88c68c0e Icon and Icon Select Component 2020-09-15 11:53:02 +01:00
Martin McKeaveney 44426b6bf8 data form component date picker aware, form component refactor 2020-09-10 13:04:45 +01:00
Michael Shanks 3216b2f676 removed unecessary dependencies 2020-08-14 17:39:56 +01:00
Martin McKeaveney d925103b8a update publish command to keep NPM versions in sync 2020-08-11 15:41:35 +01:00
Martin McKeaveney 9e00550eda Cypress Tests Running in CI (#524)
* cypress test setup

* running cypress in CI

* fixing tests after first time setup wizard

* bb api key

* API Key in right place

* adding env in cypress.json

* env var in setup

* lint

* API key not working

* fill in API key form if present

* allow more time for creation

* cypress server for debug

* video recording, better debugging

* Adding debug logs

* set node env

* cypress env

* cancel irrelevant test
2020-08-05 15:18:28 +01:00
kevmodrome 7a65da7899 fix linting errors 2020-06-11 18:14:28 +02:00
kevmodrome c46e43cf77 setup commands to allow running tests from project root instead of just builder package 2020-06-09 15:39:50 +02:00
kevmodrome d65acca512 upgrades routify to latest version 2020-05-19 15:19:32 +02:00
Michael Shanks a0f5880d51 server initialisation & run fixed 2020-05-11 14:50:15 +01:00
Martin McKeaveney ddb1880b98 development setup, adding data components 2020-05-06 10:33:30 +01:00
Conor_Mack e255f0f202 Component Panel - root level components display 2020-04-17 10:26:48 +01:00
Michael Shanks 4729c6ebfe package.json > script: "publishnpm" 2020-04-02 19:37:53 +01:00
Conor_Mack 082997585b Datepicker and Icon Button 2020-03-11 14:04:47 +00:00
Martin McKeaveney 553cda96c8 move logrocket into the builder directory 2020-03-04 16:50:17 +00:00
Martin McKeaveney 573f837c4f logrocket analytics 2020-03-04 16:47:47 +00:00
Martin McKeaveney 7ae40de558 eslint tidy up 2020-02-25 15:46:04 +00:00
Michael Shanks ccc55ae8b5 Merge pull request #121 from shogunpurple/state-management-v2
State management v2
2020-02-23 22:16:56 +00:00
Michael Shanks c3223f3523 publishdev script to root package.json 2020-02-22 22:29:11 +00:00
Martin McKeaveney 91c2e187c6 lerna version 2020-02-21 18:06:23 +00:00
Martin McKeaveney b7a5735a05 state management bindings 2020-02-21 15:44:48 +00:00
Martin McKeaveney 927502eb38 include svelte files in prettier 2020-02-03 09:50:30 +00:00
Martin McKeaveney 0808178dfa running prettier over codebase, removing merge files 2020-02-03 09:24:25 +00:00
Martin McKeaveney 7052e6fa40 ci setup 2020-01-31 14:23:16 +00:00
Martin McKeaveney bc6f671668 Run Budibase Dev Server from top level, server side watch mode (#64)
* better dev command

* update readme
2020-01-28 09:11:08 +00:00
Martin McKeaveney 9ebe7bec5c build process improvements and gitignore 2020-01-24 16:31:53 +00:00
Martin McKeaveney 6f1cce84a5 wrapping lerna commands in NPM scripts 2020-01-22 13:50:39 +00:00
marblekirby 872e5097be css guff 2019-09-23 01:04:30 +01:00
michael shanks 2fc0bc7156 mono repo 2019-06-07 14:18:10 +01:00
michael shanks d5129fbda3 initialise master database working 2019-06-07 12:02:48 +01:00
Michael Shanks a8aa18d01d initial commit 2019-03-19 21:45:21 +00:00