Martin McKeaveney
|
9ca4dacbaa
|
merge with master
|
2022-04-26 10:21:45 +01:00 |
Rory Powell
|
dd0e6099b8
|
Fix: google sso
|
2022-04-25 22:49:56 +01:00 |
Rory Powell
|
b9a39e193e
|
Fix developer count migration when only single developer
|
2022-04-25 15:38:37 +01:00 |
Rory Powell
|
f6284cc697
|
Sync versions of pro and backend-core
|
2022-04-25 12:19:36 +01:00 |
Martin McKeaveney
|
bbce5a9c7f
|
Merge branch 'master' into gsheets-updates
|
2022-04-25 09:27:38 +01:00 |
Martin McKeaveney
|
46b424308f
|
only save refresh token in google auth
|
2022-04-24 23:33:50 +01:00 |
Martin McKeaveney
|
84d2bb3cf5
|
auto fetch access token in gsheets integration
|
2022-04-24 23:32:47 +01:00 |
mike12345567
|
7627230be6
|
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
|
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 |
mike12345567
|
345bbf603c
|
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 |
mike12345567
|
13cb5f7f7c
|
Adding another check to make sure context is the same.
|
2022-04-20 23:13:08 +01:00 |
mike12345567
|
151ed604f8
|
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
|
6afe3a28ef
|
Closing global DB using the standard function - not directly.
|
2022-04-20 18:07:48 +01:00 |
mike12345567
|
9899781fc5
|
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
|
d2a4e0a934
|
Merge branch 'develop' into feature/licensing
|
2022-04-20 14:59:36 +01:00 |
mike12345567
|
192fb1307e
|
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
|
41144db055
|
Remove remaining direct usage of CouchDB. Add common pouch config to backend-core
|
2022-04-19 16:45:27 +01:00 |
Andrew Kingston
|
f6eef900ad
|
Merge pull request #5272 from Budibase/cheeks-lab-day-devtools
DevTools
|
2022-04-14 12:57:01 +01:00 |
Rory Powell
|
03c3ebbbbf
|
Handle no developers on first time startup migration
|
2022-04-13 23:14:36 +01:00 |
Rory Powell
|
03ba6d914f
|
Merge branch 'develop' into feature/licensing
|
2022-04-12 16:18:41 +01:00 |
Dean
|
352c021955
|
Refactored the invalidate session functionality.
|
2022-04-07 12:32:00 +01:00 |
Martin McKeaveney
|
bff43d37d5
|
Merge pull request #5151 from mslourens/prevent_multiple_sessions
invalidate sessions before login
|
2022-04-06 22:18:17 +01:00 |
Andrew Kingston
|
c2d61d8ebc
|
Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-devtools
|
2022-04-06 11:50:43 +01:00 |
Martin McKeaveney
|
034408b3c2
|
merge with master
|
2022-03-30 15:44:22 +01:00 |
Maurits Lourens
|
5f91841a26
|
move invalidation to the creation of a session
|
2022-03-29 11:59:16 +02:00 |
Maurits Lourens
|
65b3561244
|
invalidate sessions before login
|
2022-03-29 10:06:54 +02:00 |
Martin McKeaveney
|
aed9bfc728
|
fixing google sheets bug, respect google configuration hierarchy
|
2022-03-28 16:44:33 +01:00 |
mike12345567
|
88437e11d0
|
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 |
Martin McKeaveney
|
dc940d33db
|
fix launch.json
|
2022-03-28 12:03:44 +01:00 |
Rory Powell
|
7db6075f82
|
Fixes
|
2022-03-25 16:08:12 +00:00 |
Rory Powell
|
819f9b75de
|
Link app context with tenancy, remove app tenancy middleware
|
2022-03-24 13:04:49 +00:00 |
Rory Powell
|
a68abf2730
|
Fix cross tenant apps with session
|
2022-03-23 16:45:06 +00:00 |
Rory Powell
|
0a4b1eb552
|
Tests complete + backwards compatibility for deployment
|
2022-03-22 00:23:22 +00:00 |
Rory Powell
|
715d42d3e6
|
Merge branch 'develop' into feature/licensing
|
2022-03-21 17:13:16 +00:00 |
Rory Powell
|
795b48bfb0
|
Published apps, automations and query count quotas
|
2022-03-20 01:13:54 +00:00 |
Rory Powell
|
661367333d
|
Add developer usage restrictions to SSO user creation
|
2022-03-18 08:01:31 +00:00 |
Rory Powell
|
e695a57853
|
Better error handling around license errors
|
2022-03-16 17:29:47 +00:00 |
mike12345567
|
5b79126dbf
|
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 |
mike12345567
|
d55a385072
|
Fixing an issue with detecting fully qualified Redis URL despite not in use.
|
2022-03-14 16:50:01 +00:00 |
mike12345567
|
30651e81d5
|
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 |
Rory Powell
|
7698e9293c
|
Self Host <-> Licensing integration
|
2022-03-09 21:16:22 +00:00 |
Rory Powell
|
7151c86224
|
Merge branch 'develop' into labday/status-banner
|
2022-03-08 16:31:07 +00:00 |
Rory Powell
|
eefe4ea2ad
|
Integrate usage quotas with licensing
|
2022-03-08 14:21:41 +00:00 |
Rory Powell
|
ad4a268a69
|
Move licensing middleware to pro repo
|
2022-03-08 08:01:41 +00:00 |
Rory Powell
|
b686c19658
|
Enforce licensed developer count + error types/codes framework
|
2022-03-04 13:42:50 +00:00 |
Rory Powell
|
a81041bc40
|
Add shared licensing cache
|
2022-03-03 13:37:04 +00:00 |
Rory Powell
|
8c61f92123
|
Invalidate user cache on logout
|
2022-03-03 07:20:30 +00:00 |
Rory Powell
|
4df48d306c
|
Handle no license found
|
2022-03-02 07:27:14 +00:00 |
Rory Powell
|
ee7fdcfaba
|
Start to integrate licensing with sessions
|
2022-03-01 21:11:45 +00:00 |
mike12345567
|
83d4994f55
|
Starting to fix up test cases.
|
2022-02-25 15:55:19 +00:00 |