1
0
Fork 0
mirror of synced 2024-09-28 15:21:28 +12:00
Commit graph

148 commits

Author SHA1 Message Date
Rory Powell
bd33c827eb Merge branch 'develop' into feature/posthog-v2 2022-04-27 16:32:00 +01:00
Rory Powell
716eab5d10 Bypass couch db when using tenancy middleware 2022-04-26 17:13:45 +01:00
mike12345567
95c7963c0a Merge branch 'develop' of github.com:Budibase/budibase into fix/develop-merge 2022-04-26 16:31:17 +01:00
Dean
5545cd84c5 Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-26 12:12:50 +01:00
Martin McKeaveney
e01ef9bdfb merge with master 2022-04-26 10:21:45 +01:00
Rory Powell
0f04715062 Fix: google sso 2022-04-25 22:49:56 +01:00
Rory Powell
b7cbd2a56a Fix developer count migration when only single developer 2022-04-25 15:38:37 +01:00
Rory Powell
fa136ba4ca Sync versions of pro and backend-core 2022-04-25 12:19:36 +01:00
Martin McKeaveney
9f0cb41f49
Merge branch 'master' into gsheets-updates 2022-04-25 09:27:38 +01:00
Martin McKeaveney
0fbb841855 only save refresh token in google auth 2022-04-24 23:33:50 +01:00
Martin McKeaveney
33717ceb30 auto fetch access token in gsheets integration 2022-04-24 23:32:47 +01:00
mike12345567
9828fc6f58 Fixing an issue we've experienced with couch, using a base64 cookie that we control manually. 2022-04-22 17:24:50 +01:00
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
91a6f8645c Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-21 14:10:58 +01: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
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
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
Andrew Kingston
98eefb1dd2
Merge pull request #5272 from Budibase/cheeks-lab-day-devtools
DevTools
2022-04-14 12:57:01 +01:00
Rory Powell
3018aaf078 Handle no developers on first time startup migration 2022-04-13 23:14:36 +01:00
Rory Powell
23b68660c2 Merge branch 'feature/licensing' into feature/posthog-v2 2022-04-12 17:12:46 +01:00
Rory Powell
dd740df387 Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01:00
Rory Powell
76d4e5d760 Test updates 2022-04-12 15:37:49 +01:00
Rory Powell
6a346d4650 User management events 2022-04-12 12:34:36 +01:00
Rory Powell
6bfb50b590 View/Filter/Calculation events 2022-04-12 00:19:52 +01:00
Rory Powell
06d70266cd View/Table/Row Import/Export events 2022-04-11 22:32:12 +01:00
Rory Powell
2c682d3507 Table CRUD events + add timekeeper for tests 2022-04-11 14:39:31 +01:00
Rory Powell
eec094b581 builder / app / app preview served events 2022-04-08 14:07:11 +01:00
Rory Powell
e725b1fb52 screen events 2022-04-08 10:55:39 +01:00
Rory Powell
75be1e031b user / rbac events + tests 2022-04-08 01:28:22 +01:00
Dean
cbc3d3b946 Refactored the invalidate session functionality. 2022-04-07 12:32:00 +01:00
Rory Powell
ed9836d8a6 query / update events + tests 2022-04-07 00:38:18 +01:00
Rory Powell
9d264ef1ba org settings events + tests + stub license events 2022-04-06 22:53:33 +01: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
Rory Powell
7846fff25d layout events + tests 2022-04-06 22:07:21 +01:00
Rory Powell
e3cf9b0661 rename data -> structures 2022-04-06 22:00:10 +01:00
Rory Powell
d9da559bba automation events + tests 2022-04-06 13:54:57 +01: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
Rory Powell
9ebdf837fc sso activated/deactivated events + tests 2022-04-06 00:54:07 +01:00
Rory Powell
fde16cf548 google/oidc created/deleted events + tests 2022-04-05 23:14:53 +01:00
Rory Powell
5b8ea1cdbe account event mocks 2022-04-05 21:53:27 +01:00
Rory Powell
a4b49c3633 Logout events 2022-04-05 16:56:28 +01:00
Rory Powell
39ef2438a3 sso auth + datasource events, test updates 2022-04-05 15:46:04 +01:00
Rory Powell
7a5df9010c App events 2022-04-04 15:59:00 +01:00