Commit Graph

475 Commits

Author SHA1 Message Date
mike12345567 a6b249dc7e 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
mike12345567 fe846f86a5 Fixing issues with test cases - a lot of test cases didn't setup tenancy in any format, which now means that the API endpoints they call would not have access to a Global DB instance. Also had to disable the closing of the database in test as this was removing the database from memory, meaning future calls would find an empty database when they opened it. 2022-04-21 14:56:14 +01:00
Dean 7f4d1f93e5 Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-21 14:46:17 +01:00
Budibase Staging Release Bot 27851983ed v1.0.105-alpha.25 2022-04-21 13:36:43 +00:00
Dean 91a6f8645c Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-21 14:10:58 +01:00
Budibase Staging Release Bot 9ad596936b v1.0.105-alpha.24 2022-04-21 11:52:07 +00:00
mike12345567 9d01028bd0 Adding another check to make sure context is the same. 2022-04-20 23:13:08 +01:00
mike12345567 1d61ff906a Fixing some issues detected by the test cases, making the in-use mechanism for context more clear to complete avoid stack up of contexts (leading to loss of knowledge around previous databases. 2022-04-20 23:10:39 +01:00
mike12345567 9ee1be79fb Closing global DB using the standard function - not directly. 2022-04-20 18:07:48 +01:00
mike12345567 7792a07899 Some updates, making sure databases will always close directly using finally checks around the actual tasks, updating how replication works to have a close statement (to make sure it is controlled correctly) and then updating to PouchDB 7.3.0 for one of the memory leak fixes. 2022-04-20 17:33:42 +01:00
Rory Powell 2269bf677b Merge branch 'develop' into feature/licensing 2022-04-20 14:59:36 +01:00
Dean 9393cb40ec Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-20 12:54:58 +01:00
Budibase Staging Release Bot e88f9f0047 v1.0.105-alpha.23 2022-04-20 11:45:43 +00:00
Dean 7692014d05 Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-20 09:10:09 +01:00
Budibase Staging Release Bot 6ed0240634 v1.0.105-alpha.22 2022-04-20 07:47:53 +00:00
mike12345567 ea6f580501 Initial version of memory leak protection, making sure that PouchDB databases are closed correctly after use, using a combination of closures wrapping DB gets (this replaces the getDB, leaving only a dangerousGetDB function which can be used in very very specific scenarios) and then closing the DB as part of CLS hooked functions finishing. Also moving the GlobalDB init to the tenancy middleware as this is used everywhere in the worker/app services - means that not all getGlobalDB calls require an async closure around them. 2022-04-19 19:42:52 +01:00
Rory Powell 769f48f935 Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 2022-04-19 16:45:27 +01:00
Dean 4cc1a85f25 Code style check 2022-04-19 14:56:56 +01:00
Dean f3a1761299 Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-19 14:45:46 +01:00
Dean 3e74118f81 Unpublish refactored to stop development applications being mistakenly deleted. Minor updates to the modal content component to allow the replacement of the header. Further work to implement the publishing workflow changes 2022-04-19 14:38:09 +01:00
Budibase Staging Release Bot 9ca0d4f0bf v1.0.105-alpha.21 2022-04-19 12:05:43 +00:00
Budibase Staging Release Bot 1056081980 v1.0.105-alpha.20 2022-04-19 08:48:18 +00:00
Budibase Staging Release Bot 31d2ae8c6b v1.0.105-alpha.19 2022-04-14 19:50:11 +00:00
Budibase Staging Release Bot b25296efad v1.0.105-alpha.18 2022-04-14 16:55:46 +00:00
Budibase Staging Release Bot 7facd16e92 v1.0.105-alpha.17 2022-04-14 12:05:50 +00:00
Andrew Kingston 98eefb1dd2
Merge pull request #5272 from Budibase/cheeks-lab-day-devtools
DevTools
2022-04-14 12:57:01 +01:00
Budibase Staging Release Bot 65fd6f587c v1.0.105-alpha.16 2022-04-14 09:14:11 +00:00
Budibase Staging Release Bot b05e1a1409 v1.0.105-alpha.15 2022-04-14 07:49:18 +00:00
Rory Powell 3018aaf078 Handle no developers on first time startup migration 2022-04-13 23:14:36 +01:00
Rory Powell 5085358423 Merge branch 'develop' into feature/licensing 2022-04-13 21:24:07 +01:00
Budibase Staging Release Bot b5d528ef01 v1.0.105-alpha.14 2022-04-13 13:20:56 +00:00
Budibase Release Bot 20852c30cc v1.0.113 2022-04-13 12:21:10 +00:00
Budibase Staging Release Bot dd3f5135fe v1.0.105-alpha.13 2022-04-13 11:22:17 +00:00
Budibase Staging Release Bot ad69fa4ba0 v1.0.105-alpha.12 2022-04-13 10:40:51 +00:00
Budibase Staging Release Bot 8a0a048fd4 v1.0.105-alpha.11 2022-04-13 09:19:50 +00:00
Rory Powell dd740df387 Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01:00
Budibase Release Bot c750c3ef32 v1.0.112 2022-04-12 11:03:43 +00:00
Budibase Staging Release Bot 92145be663 v1.0.105-alpha.10 2022-04-12 09:14:08 +00:00
Budibase Release Bot a9c62f0c32 v1.0.111 2022-04-11 08:38:36 +00:00
Budibase Staging Release Bot 9423347278 v1.0.105-alpha.9 2022-04-11 08:16:09 +00:00
Budibase Release Bot ab4d4debdc v1.0.110 2022-04-08 09:34:45 +00:00
Budibase Staging Release Bot 9ac34940f6 v1.0.105-alpha.8 2022-04-07 13:27:06 +00:00
Dean cbc3d3b946 Refactored the invalidate session functionality. 2022-04-07 12:32:00 +01:00
Budibase Staging Release Bot 1f5c97a25a v1.0.105-alpha.7 2022-04-06 21:25:19 +00:00
Martin McKeaveney d7dbaef8be
Merge pull request #5151 from mslourens/prevent_multiple_sessions
invalidate sessions before login
2022-04-06 22:18:17 +01:00
Budibase Staging Release Bot 2eee1a1437 v1.0.105-alpha.6 2022-04-06 20:15:30 +00:00
Budibase Release Bot 4e65e994b9 v1.0.109 2022-04-06 14:17:15 +00:00
Budibase Staging Release Bot 053ffa457d v1.0.105-alpha.5 2022-04-06 13:05:51 +00:00
Andrew Kingston 7c91d9dceb Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-devtools 2022-04-06 11:50:43 +01:00
Budibase Staging Release Bot 13d4ab9d95 v1.0.105-alpha.4 2022-04-06 10:38:23 +00:00
Budibase Release Bot a9fafd85e8 v1.0.108 2022-04-06 10:32:58 +00:00
Budibase Release Bot 7d800287b5 v1.0.107 2022-04-06 09:48:21 +00:00
Budibase Staging Release Bot edb7d21a50 v1.0.105-alpha.3 2022-04-06 08:58:34 +00:00
Budibase Release Bot c3da13864b v1.0.106 2022-04-05 13:38:48 +00:00
Budibase Staging Release Bot 0a72aa6adb v1.0.105-alpha.2 2022-04-05 11:56:35 +00:00
Michael Drury 10e4b0696c
Merge pull request #5256 from Budibase/dep/2022-05-04
Minimist 1.2.6 dependency update
2022-04-05 12:50:08 +01:00
Budibase Staging Release Bot 6d70fa5d37 v1.0.105-alpha.1 2022-04-05 11:22:24 +00:00
mike12345567 43abb8d0a4 Merge branch 'dependabot/npm_and_yarn/minimist-1.2.6' of github.com:Budibase/budibase into dep/2022-05-04 2022-04-05 12:20:38 +01:00
Budibase Release Bot 0cec607cf1 v1.0.105 2022-04-05 11:16:17 +00:00
Budibase Staging Release Bot af633701a9 v1.0.105-alpha.0 2022-04-05 10:46:38 +00:00
dependabot[bot] cc3943d907
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05 10:41:37 +00:00
Budibase Release Bot 6dd09b6b4f v1.0.104 2022-04-04 09:54:00 +00:00
Budibase Release Bot 43da53bed1 v1.0.103 2022-03-31 09:27:58 +00:00
Budibase Release Bot 665f572421 v1.0.102 2022-03-31 08:47:33 +00:00
Budibase Release Bot 3862854f5b v1.0.101 2022-03-30 16:29:43 +00:00
Martin McKeaveney 69a0c1254f bump versions 2022-03-30 17:19:41 +01:00
Budibase Staging Release Bot 0e309aca3a v1.0.98-alpha.9 2022-03-30 15:25:14 +00:00
Martin McKeaveney e263cc31bb merge with master 2022-03-30 15:44:22 +01:00
Budibase Release Bot b8678e2f56 v1.0.100 2022-03-30 14:30:40 +00:00
Budibase Staging Release Bot 54a848845e v1.0.98-alpha.8 2022-03-30 12:21:32 +00:00
Budibase Staging Release Bot f8f243976d v1.0.98-alpha.7 2022-03-30 11:45:01 +00:00
Budibase Staging Release Bot ca5bc790f5 v1.0.98-alpha.6 2022-03-29 12:03:54 +00:00
Budibase Staging Release Bot f7f157f509 v1.0.98-alpha.5 2022-03-29 10:18:40 +00:00
Maurits Lourens 9faaecb57e move invalidation to the creation of a session 2022-03-29 11:59:16 +02:00
Budibase Release Bot c5880f9ec2 v1.0.99 2022-03-29 09:23:26 +00:00
Maurits Lourens f4557fb220 invalidate sessions before login 2022-03-29 10:06:54 +02:00
Budibase Staging Release Bot a7ad4837b2 v1.0.98-alpha.4 2022-03-29 07:24:22 +00:00
Martin McKeaveney 44424e648f
Merge pull request #5135 from Budibase/feature/googlesheets-release
Feature/googlesheets release
2022-03-29 08:18:11 +01:00
Budibase Staging Release Bot 4b97a9a1fb v1.0.98-alpha.3 2022-03-29 06:59:36 +00:00
Michael Drury ac129cee01
Merge pull request #5134 from Budibase/fix/5103
Fix for RBAC on apps built from templates containing public screens
2022-03-28 17:17:19 +01:00
Martin McKeaveney ee6a16827a fixing google sheets bug, respect google configuration hierarchy 2022-03-28 16:44:33 +01:00
mike12345567 e073bdb5a4 Fix for #5103 - some templates are built on an older version that stored permissions differently, we can't migrate these as they will keep being added, easiest to just support the old method (apply the old rule and convert to the new format when retrieving roles). 2022-03-28 16:34:50 +01:00
Budibase Staging Release Bot 6bcf738444 v1.0.98-alpha.2 2022-03-28 13:07:09 +00:00
Martin McKeaveney 3a7a964ac8 fix launch.json 2022-03-28 12:03:44 +01:00
Budibase Staging Release Bot b08461e611 v1.0.98-alpha.1 2022-03-25 17:00:35 +00:00
Budibase Release Bot c13a6db9c7 v1.0.98 2022-03-25 16:59:39 +00:00
Rory Powell ef629c9859 Fixes 2022-03-25 16:08:12 +00:00
Budibase Staging Release Bot b5f8bddd3e v1.0.98-alpha.0 2022-03-25 14:13:59 +00:00
Budibase Release Bot 1eaadeda87 v1.0.97 2022-03-25 12:22:30 +00:00
Budibase Release Bot eecd09718a v1.0.96 2022-03-25 12:04:42 +00:00
Rory Powell 838ed8a64b Merge branch 'master' into fix/cross-tenant-apps-with-session 2022-03-25 10:53:10 +00:00
Budibase Release Bot c276c85124 v1.0.95 2022-03-24 18:31:41 +00:00
Rory Powell bcc84bf1fd Link app context with tenancy, remove app tenancy middleware 2022-03-24 13:04:49 +00:00
Rory Powell 5392de54d5 Merge branch 'master' into fix/cross-tenant-apps-with-session 2022-03-23 16:45:36 +00:00
Rory Powell cb6103a321 Fix cross tenant apps with session 2022-03-23 16:45:06 +00:00
Budibase Release Bot 01c2b9e496 v1.0.94 2022-03-22 13:08:40 +00:00
Rory Powell 180e37b9f1 Tests complete + backwards compatibility for deployment 2022-03-22 00:23:22 +00:00
Budibase Release Bot 38f53a4148 v1.0.93 2022-03-21 17:15:53 +00:00
Rory Powell bf9f5488fc Merge branch 'develop' into feature/licensing 2022-03-21 17:13:16 +00:00
Budibase Release Bot 6f5565a421 v1.0.92 2022-03-21 14:34:43 +00:00
Budibase Staging Release Bot fa77eb5daf v1.0.91-alpha.6 2022-03-21 08:42:06 +00:00
Budibase Staging Release Bot 0ef164c149 v1.0.91-alpha.5 2022-03-21 08:32:22 +00:00
Budibase Staging Release Bot d5b61edc55 v1.0.91-alpha.4 2022-03-21 08:13:27 +00:00
Rory Powell 336f0ff4a0 Published apps, automations and query count quotas 2022-03-20 01:13:54 +00:00
Budibase Release Bot a9154e1c31 v1.0.91 2022-03-18 16:05:00 +00:00
Budibase Staging Release Bot d96347ee74 v1.0.91-alpha.3 2022-03-18 10:13:46 +00:00
Budibase Staging Release Bot b25cacf6b8 v1.0.91-alpha.2 2022-03-18 09:56:54 +00:00
Rory Powell 62b360b9ea Add developer usage restrictions to SSO user creation 2022-03-18 08:01:31 +00:00
Budibase Staging Release Bot 9d9c995f87 v1.0.91-alpha.1 2022-03-18 07:23:08 +00:00
Rory Powell 893f82ac4d Better error handling around license errors 2022-03-16 17:29:47 +00:00
Budibase Staging Release Bot 7aedb76571 v1.0.91-alpha.0 2022-03-16 12:34:44 +00:00
Budibase Release Bot b5c5488e8a v1.0.90 2022-03-16 11:37:15 +00:00
Budibase Release Bot 65ea8e4e4d v1.0.89 2022-03-15 11:26:55 +00:00
Budibase Release Bot 7788e67865 v1.0.88 2022-03-14 21:51:54 +00:00
Michael Drury f6811cc5d4
Merge pull request #4905 from Budibase/fix/public-api-tenancy
Various release fixes (Public API)
2022-03-14 21:45:46 +00:00
mike12345567 a5556595de Fixing an issue with the public API loading for the first time in a multi-tenant environment, also fixing an issue in self host when switching between environments with different secrets. 2022-03-14 19:05:02 +00:00
Budibase Release Bot 8a0dfb8437 v1.0.87 2022-03-14 17:13:11 +00:00
mike12345567 c87912763c Merge branch 'master' of github.com:Budibase/budibase 2022-03-14 17:06:40 +00:00
mike12345567 8dc2c9d480 Fixing an issue with detecting fully qualified Redis URL despite not in use. 2022-03-14 16:50:01 +00:00
Budibase Release Bot dcfb22d11a v1.0.86 2022-03-14 16:01:47 +00:00
Budibase Release Bot f6134a14a6 v1.0.85 2022-03-14 12:09:21 +00:00
Budibase Release Bot 7c85722542 v1.0.84 2022-03-13 10:52:05 +00:00
Budibase Release Bot f45a267a2e v1.0.83 2022-03-10 17:45:17 +00:00
mike12345567 c1c879309f Making the URL optional for application creation/update in OpenAPI spec, removing unused parameter and fixing getRedisOptions function to work with fully qualified URLs. 2022-03-10 15:53:23 +00:00
Budibase Release Bot 66b565b071 v1.0.82 2022-03-10 01:06:14 +00:00
Budibase Release Bot c8d553dfb2 v1.0.81 2022-03-10 00:46:03 +00:00
Budibase Staging Release Bot 86a54664fe v1.0.81-alpha.6 2022-03-09 22:11:25 +00:00
Rory Powell bd99643dab Merge branch 'develop' into labday/status-banner 2022-03-09 21:39:30 +00:00
Rory Powell ccf2fe3d01 Self Host <-> Licensing integration 2022-03-09 21:16:22 +00:00
Budibase Staging Release Bot 41cd197f3f v1.0.81-alpha.5 2022-03-09 16:37:44 +00:00
Budibase Staging Release Bot 516cadab9d v1.0.81-alpha.4 2022-03-08 17:23:38 +00:00
Budibase Staging Release Bot 66996ee818 v1.0.81-alpha.3 2022-03-08 16:48:36 +00:00
Rory Powell c22fb79d94 Merge branch 'develop' into labday/status-banner 2022-03-08 16:31:07 +00:00
Budibase Staging Release Bot 31614e942b v1.0.81-alpha.2 2022-03-08 15:58:48 +00:00
Budibase Staging Release Bot fc9c0b3c4d v1.0.81-alpha.1 2022-03-08 15:31:24 +00:00
Rory Powell d6092b9133 Integrate usage quotas with licensing 2022-03-08 14:21:41 +00:00
Budibase Staging Release Bot 0dc3696096 v1.0.81-alpha.0 2022-03-08 12:05:17 +00:00
Martin McKeaveney 3104a14012 merge 2022-03-08 12:40:41 +01:00
Budibase Staging Release Bot dafd0ec305 v1.0.80-alpha.5 2022-03-08 11:06:36 +00:00
Budibase Staging Release Bot b39d0edec7 v1.0.80-alpha.4 2022-03-08 10:03:32 +00:00
Budibase Release Bot 0295a18622 v1.0.80 2022-03-08 08:51:10 +00:00
Rory Powell 995f7c4b58 Move licensing middleware to pro repo 2022-03-08 08:01:41 +00:00
Budibase Staging Release Bot f7de7ed349 v1.0.80-alpha.3 2022-03-07 17:22:25 +00:00
Budibase Staging Release Bot e159e4a15e v1.0.80-alpha.2 2022-03-07 10:14:10 +00:00
Budibase Staging Release Bot 946d245020 v1.0.80-alpha.1 2022-03-06 21:05:20 +00:00
Rory Powell 3b9303a1fb Enforce licensed developer count + error types/codes framework 2022-03-04 13:42:50 +00:00
Budibase Staging Release Bot d328728978 v1.0.80-alpha.0 2022-03-04 11:33:27 +00:00
mike12345567 5d7f4b6ab7 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-03-04 11:25:32 +00:00
Budibase Release Bot 89e4c59e3c v1.0.79 2022-03-04 10:13:53 +00:00
Budibase Staging Release Bot 5823e3e463 v1.0.79-alpha.11 2022-03-03 14:33:26 +00:00