1
0
Fork 0
mirror of synced 2024-09-20 11:27:56 +12:00
Commit graph

52 commits

Author SHA1 Message Date
Martin McKeaveney
d5540bbd57 update google sheets strategy to use the standard passport strategy 2022-06-05 16:43:04 +01:00
mike12345567
a7e6eb2851 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-23 23:43:57 +01:00
Martin McKeaveney
9d813292de enable clustering on server and worker services, better log output on user not found errors 2022-05-23 16:24:29 +01:00
Martin McKeaveney
296a327ee9 use platform url env 2022-05-18 21:00:42 +01:00
Rory Powell
99b83a4496 Update getPlatformUrl usage to use a single interface 2022-05-17 09:52:38 +01:00
Martin McKeaveney
b98476349e editing getPlatformUrl for cloud 2022-05-16 23:22:33 +01:00
mike12345567
08f53591e6 Fixing test cases. 2022-05-16 12:31:07 +01:00
mike12345567
e5922269aa Switching over to using our own version of cls-hooked which has the memory leak (no async hooks disable call) fixed as well as changing how we use the CLS namespaces to allow us to destroy the namespace we use per request. 2022-05-10 16:37:24 +01:00
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
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
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
6afe3a28ef Closing global DB using the standard function - not directly. 2022-04-20 18:07:48 +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
03ba6d914f Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01:00
Martin McKeaveney
aed9bfc728 fixing google sheets bug, respect google configuration hierarchy 2022-03-28 16:44:33 +01:00
Martin McKeaveney
dc940d33db fix launch.json 2022-03-28 12:03:44 +01:00
Rory Powell
819f9b75de Link app context with tenancy, remove app tenancy middleware 2022-03-24 13:04:49 +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
661367333d Add developer usage restrictions to SSO user creation 2022-03-18 08:01:31 +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
83d4994f55 Starting to fix up test cases. 2022-02-25 15:55:19 +00:00
Michael Drury
02479e4112 Using 10K iteration string stretching for encryption. 2022-02-14 21:37:40 +00:00
mike12345567
df4af0fb9a Adding basic encrypt/decrypt pathway. 2022-02-14 18:32:09 +00:00
mike12345567
249b2dbba8 Adding tenancy to the API key, making the authenticated middleware aware of new user API keys, using a view to lookup the user by API key. 2022-02-11 22:24:48 +00:00
Martin McKeaveney
d1cebc61a9 merge with master 2022-02-10 18:57:26 +01:00
Martin McKeaveney
3a653e9f98 merge with master 2022-02-10 18:24:36 +01:00
Martin McKeaveney
0966720982 use google env variable for client secret and ID, update helm chart to pass variables to worker 2022-02-10 10:28:46 +01:00
Martin McKeaveney
08a3ae0e7c use env platform URL for datasource auth to prevent tenant overrides 2022-02-09 18:33:29 +01:00
Andrew Kingston
de12e0dc79 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-01 16:46:00 +00:00
mike12345567
72534c6ed2 Refactoring backend-core tenancy to context, splitting out tenancy functionality to its own area. 2022-01-31 17:53:19 +00:00
mike12345567
476f34fb93 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:16:59 +00:00
mike12345567
e718b18127 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 14:09:07 +00:00
Andrew Kingston
9b1754ad70 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-31 09:40:33 +00:00
Rory Powell
54a32b41ef Merge branch 'develop' into feature/migrations-2.0 2022-01-30 22:37:11 +00:00
Rory Powell
0089fb06d9 Merge branch 'develop' into csrf 2022-01-30 21:20:48 +00:00
mike12345567
d2fe119d90 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
Rory Powell
758a8a023f Merge branch 'develop' into feature/migrations-2.0 2022-01-27 10:49:52 +00:00
Andrew Kingston
bfe209e3e6 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-26 17:49:27 +00:00
Martin McKeaveney
efde072e70 code review 2022-01-26 17:14:47 +01:00
Rory Powell
20ec58b775 Don't apply csrf to existing sessions. Handle only supported content types 2022-01-26 12:52:53 +00:00
Rory Powell
ffcf5354eb Add CSRF Token 2022-01-25 22:54:50 +00:00
Andrew Kingston
611dc0ab48 Use correct casing for login error 2022-01-24 19:15:43 +00:00
Rory Powell
3fdce44d56 Migrations 2.0 2022-01-24 10:48:59 +00:00
Martin McKeaveney
328aef00e1 tidy up 2022-01-18 17:41:38 +01:00
Martin McKeaveney
4ff339cae2 removing comment 2022-01-18 10:30:54 +01:00
Martin McKeaveney
9663806bfc more flexible datasource auth config 2022-01-17 15:52:10 +01:00