1
0
Fork 0
mirror of synced 2024-09-30 09:07:25 +13:00
Commit graph

428 commits

Author SHA1 Message Date
mike12345567
788cb19fa8 Moving APIs around after some discussion, creating a self API to make it obvious. 2022-02-10 18:34:55 +00:00
mike12345567
ac49ce6612 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-10 17:42:28 +00:00
Michael Drury
e01563b6fc Adding basic endpoints for API keys. 2022-02-09 23:16:24 +00:00
Martin McKeaveney
f574c90de3 use env platform URL for datasource auth to prevent tenant overrides 2022-02-09 18:33:29 +01:00
Rory Powell
d1bcf4f3ba Reorder jest mock and import statements for email mocking 2022-01-31 21:05:14 +00:00
Rory Powell
3ce4f32250 Merge branch 'develop' into csrf 2022-01-30 21:20:48 +00:00
Martin McKeaveney
203c892f33 code review and merge with develop 2022-01-26 17:45:28 +01:00
Rory Powell
5cb6e19274 Add CSRF Token 2022-01-25 22:54:50 +00:00
Rory Powell
08bd447b51 Remove server -> worker request to retrieve apps, remove hosting endpoints and store 2022-01-21 17:31:18 +00:00
Martin McKeaveney
20cb3d8f2c more flexible datasource auth config 2022-01-17 15:52:10 +01:00
Martin McKeaveney
857d1f7c0b gsheets E2E 2022-01-15 19:28:04 +01:00
mike12345567
5d9b3af332 Refactoring core library usage in monorepo, make it a bit cleaner/easier to search/more standardised. 2022-01-12 11:32:14 +00:00
mike12345567
3f6b7d4daf Renaming some variables to core, fixing test cases that referenced auth directly. 2022-01-11 16:18:30 +00:00
mike12345567
836a2f5863 Switching out @budibase/auth to @budibase/backend-core. 2022-01-10 19:33:00 +00:00
Martin McKeaveney
c2d97b9449 google auth working 2022-01-06 08:08:54 +00:00
Andrew Kingston
a0d8bffbc6 Remove the pre-execution validation in string templates to double performance and prevent JS binding issues when mutating context 2021-12-06 17:58:43 +00:00
Rory Powell
cf13853f09 Fixes for google sso, cloud email url and cloud logo updates 2021-11-12 13:31:55 +00:00
Rory Powell
6af8ab2dc0 Fixes for google sso, cloud email url and cloud logo updates 2021-11-12 13:31:55 +00:00
Martin McKeaveney
e9fe1edfc6
Merge pull request #3159 from Budibase/feature/template-urls
allow opening a template directly from a URL
2021-11-04 14:46:18 +01:00
Martin McKeaveney
cb5df8fe1e Merge pull request #3159 from Budibase/feature/template-urls
allow opening a template directly from a URL
2021-11-04 14:46:18 +01:00
Martin McKeaveney
7cead2d8f4 cookie based approach 2021-11-04 14:03:18 +01:00
Martin McKeaveney
b80a93d6d5 cookie based approach 2021-11-04 14:03:18 +01:00
Rory Powell
26bb6cb6b5 Merge branch 'develop' into prevent-dev-app-access 2021-10-26 14:55:59 +01:00
Rory Powell
081e38e5ea Merge branch 'develop' into prevent-dev-app-access 2021-10-26 14:55:59 +01:00
Rory Powell
507a58c9c5 Add timeout to node mailer, lower than jest default 2021-10-26 14:31:56 +01:00
Rory Powell
55599c0a50 Add timeout to node mailer, lower than jest default 2021-10-26 14:31:56 +01:00
Rory Powell
0718f99850 Prevent non builder from accessing dev apps 2021-10-25 16:59:09 +01:00
Rory Powell
ad61f2af3b Prevent non builder from accessing dev apps 2021-10-25 16:59:09 +01:00
mike12345567
b267698caa Fixing another issue with ethereal test package. 2021-10-07 16:35:11 +01:00
mike12345567
52b44736c5 Fixing another issue with ethereal test package. 2021-10-07 16:35:11 +01:00
mike12345567
a4014c5580 Fixing a small issue with email test fix. 2021-10-07 16:14:00 +01:00
mike12345567
efb09523a7 Fixing a small issue with email test fix. 2021-10-07 16:14:00 +01:00
mike12345567
64b98a6d18 Adding functionality to check if ethereal is down, if it is don't fail the test. 2021-10-07 16:11:33 +01:00
mike12345567
fab766adb6 Adding functionality to check if ethereal is down, if it is don't fail the test. 2021-10-07 16:11:33 +01:00
Rory Powell
651947bb49 Add API keys between account portal and budibase 2021-10-04 13:40:50 +01:00
Rory Powell
2f589a2f42 Add API keys between account portal and budibase 2021-10-04 13:40:50 +01:00
Rory Powell
4813a63439 Deprovisioning WIP 2021-09-28 09:48:00 +01:00
Rory Powell
8642868c5e Deprovisioning WIP 2021-09-28 09:48:00 +01:00
Rory Powell
ee2732fd51 Cloud SSO flow and auto login on verification 2021-09-21 18:20:26 +01:00
Rory Powell
9282b08890 Cloud SSO flow and auto login on verification 2021-09-21 18:20:26 +01:00
Rory Powell
72a0203829 Password reset for budibase users 2021-09-17 13:41:22 +01:00
Rory Powell
91b9a98247 Password reset for budibase users 2021-09-17 13:41:22 +01:00
Rory Powell
9433a1e360 Redirect to account portal login page in the cloud 2021-09-14 14:18:13 +01:00
Rory Powell
689065d2b8 Redirect to account portal login page in the cloud 2021-09-14 14:18:13 +01:00
Martin McKeaveney
ca361e0efd merge with master 2021-09-10 14:43:03 +01:00
Martin McKeaveney
b83452f47c merge with master 2021-09-10 14:43:03 +01:00
mike12345567
8ecfe2f223 Fixing issue #2579. 2021-09-09 17:59:44 +01:00
mike12345567
dbf830f12b Fixing issue #2579. 2021-09-09 17:59:44 +01:00
Martin McKeaveney
1b1675747c
Merge pull request #2556 from mslourens/checklist_item_navigation
add link to checklist items for direct navigation (and lint issues)
2021-09-09 11:16:38 +01:00
Martin McKeaveney
5e268dce18 Merge pull request #2556 from mslourens/checklist_item_navigation
add link to checklist items for direct navigation (and lint issues)
2021-09-09 11:16:38 +01:00
Rory Powell
47e4ef0704 Account portal cors and auth changes 2021-09-07 11:22:11 +01:00
Rory Powell
3d15db2223 Account portal cors and auth changes 2021-09-07 11:22:11 +01:00
Maurits Lourens
de96f7384a fix unit test 2021-09-06 15:49:38 +02:00
Maurits Lourens
0b7bb885cc fix unit test 2021-09-06 15:49:38 +02:00
mike12345567
be73ff2c32 Fixing an issue with OIDC URL for preauth. 2021-08-05 14:36:10 +01:00
mike12345567
105dfb5eb9 Fixing an issue with OIDC URL for preauth. 2021-08-05 14:36:10 +01:00
mike12345567
42f08f97cc Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 0d2e2314d4, reversing
changes made to 1beca4ee96.
2021-08-05 09:59:08 +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
f37946d47e
Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
Michael Drury
b86a6fddc9 Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
mike12345567
5dc7b4b09e Fixing some issues highlighted by worker test cases. 2021-08-03 17:14:17 +01:00
mike12345567
4e13dde657 Fixing some issues highlighted by worker test cases. 2021-08-03 17:14:17 +01:00
mike12345567
55ff798803 Linting. 2021-08-03 15:41:51 +01:00
mike12345567
88c07d28eb Linting. 2021-08-03 15:41:51 +01:00
mike12345567
54e765a182 Implementing some changes to how context gets set for tenancy, after testing, as well as updating server. 2021-08-03 15:32:25 +01:00
mike12345567
e7974f7e86 Implementing some changes to how context gets set for tenancy, after testing, as well as updating server. 2021-08-03 15:32:25 +01:00
mike12345567
f7d58c889d Updating API endpoints, to include the new system one, updating hosting envoy yaml to cover these. 2021-08-02 12:09:03 +01:00
mike12345567
f6d0db4c4b Updating API endpoints, to include the new system one, updating hosting envoy yaml to cover these. 2021-08-02 12:09:03 +01:00
mike12345567
ca880c4549 Removing unused mock. 2021-07-30 14:25:38 +01:00
mike12345567
8bcce17cd7 Removing unused mock. 2021-07-30 14:25:38 +01:00
mike12345567
4dbec64801 Fixing config test case. 2021-07-30 14:23:40 +01:00
mike12345567
79c5f01267 Fixing config test case. 2021-07-30 14:23:40 +01:00
mike12345567
61c8f2935b Linting. 2021-07-26 13:31:39 +01:00
mike12345567
dd1f1fec3b Linting. 2021-07-26 13:31:39 +01:00
mike12345567
c7d4c9793a Adding in admin API backwards compat. 2021-07-26 13:23:11 +01:00
mike12345567
d03229caba Adding in admin API backwards compat. 2021-07-26 13:23:11 +01:00
mike12345567
19ad28a491 Adding mechanism for lookup of userId/email to tenantId. 2021-07-23 19:22:04 +01:00
mike12345567
9a9c552629 Adding mechanism for lookup of userId/email to tenantId. 2021-07-23 19:22:04 +01:00
mike12345567
1153001af8 Linting. 2021-07-22 22:37:20 +01:00
mike12345567
3f7bafe23d Linting. 2021-07-22 22:37:20 +01:00
mike12345567
155e30965f Fixing test cases and bugs that they raised. 2021-07-22 22:36:16 +01:00
mike12345567
313302cae2 Fixing test cases and bugs that they raised. 2021-07-22 22:36:16 +01:00
mike12345567
8bf275ca44 Linting. 2021-07-22 16:37:50 +01:00
mike12345567
24012c2fba Linting. 2021-07-22 16:37:50 +01:00
mike12345567
0473c295d3 Changing how flags are handled. 2021-07-22 16:36:21 +01:00
mike12345567
1d6a350311 Changing how flags are handled. 2021-07-22 16:36:21 +01:00
mike12345567
f2e713f5af Adding fallbacks for oidc and google. 2021-07-22 15:26:14 +01:00
mike12345567
b21fe320c5 Adding fallbacks for oidc and google. 2021-07-22 15:26:14 +01:00
mike12345567
190798d4ee Swapping admin -> global in worker to reduce confusion in API url naming. 2021-07-22 12:56:47 +01:00
mike12345567
27b2a13817 Swapping admin -> global in worker to reduce confusion in API url naming. 2021-07-22 12:56:47 +01:00
mike12345567
f99f077cdc Fixing saving of oidc and google auth, neither should require the callbackURL property with the tenancy update. 2021-07-21 11:10:26 +01:00
mike12345567
3305400c83 Fixing saving of oidc and google auth, neither should require the callbackURL property with the tenancy update. 2021-07-21 11:10:26 +01:00
mike12345567
e3744c0b20 Linting and adding tenancy API. 2021-07-20 18:03:16 +01:00
mike12345567
b09c2d45f9 Linting and adding tenancy API. 2021-07-20 18:03:16 +01:00
mike12345567
2182645339 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-20 15:56:12 +01:00
mike12345567
129ff3fef2 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-20 15:56:12 +01:00
Peter Clement
6dce0a88a4 Add activated toggle and login functionality to support this 2021-07-20 09:27:12 +01:00
Peter Clement
0fa68a2d50 Add activated toggle and login functionality to support this 2021-07-20 09:27:12 +01:00
mike12345567
07dd7d68d4 A lot of general fixes around getting logged in, setting up users etc. 2021-07-19 19:00:53 +01:00
mike12345567
83db31f899 A lot of general fixes around getting logged in, setting up users etc. 2021-07-19 19:00:53 +01:00
mike12345567
8241df2581 Fixing some tenancy issues. 2021-07-19 12:57:52 +01:00
mike12345567
e56a0f5aa3 Fixing some tenancy issues. 2021-07-19 12:57:52 +01:00
mike12345567
037dce5016 Further work, tenancy now working but some more work to be done. 2021-07-16 18:04:49 +01:00
mike12345567
f3156fca06 Further work, tenancy now working but some more work to be done. 2021-07-16 18:04:49 +01:00
mike12345567
f0f9736c0b Updating auth to utilise the tenant system. 2021-07-16 15:08:58 +01:00
mike12345567
b7995dd61d Updating auth to utilise the tenant system. 2021-07-16 15:08:58 +01:00
mike12345567
5ffe3c7935 First version of multi-tenancy, work still to be done. 2021-07-15 17:57:02 +01:00
mike12345567
912659a8ad First version of multi-tenancy, work still to be done. 2021-07-15 17:57:02 +01:00
Rory Powell
70601b7cc5 Store OIDC config in cookie instead of URL 2021-07-15 16:20:31 +01:00
Rory Powell
33b352c3ef Store OIDC config in cookie instead of URL 2021-07-15 16:20:31 +01:00
Peter Clement
ab1a10dd1b Fix config form saving bugs 2021-07-13 21:47:36 +01:00
Peter Clement
283698f8c5 Fix config form saving bugs 2021-07-13 21:47:36 +01:00
mike12345567
e296a67b50 Renaming groups to workspaces. 2021-07-13 17:27:04 +01:00
mike12345567
004f719dde Renaming groups to workspaces. 2021-07-13 17:27:04 +01:00
Rory Powell
40013d45c3 Load oidc config by id 2021-07-13 17:07:48 +01:00
Rory Powell
dd306d59c5 Load oidc config by id 2021-07-13 17:07:48 +01:00
Peter Clement
2900743545 Add UUID to each oidc config to distinguish each provider 2021-07-13 15:52:21 +01:00
Peter Clement
9dd05ec96e Add UUID to each oidc config to distinguish each provider 2021-07-13 15:52:21 +01:00
Peter Clement
ca0f74eee8 improve structure of OIDC config 2021-07-13 14:55:14 +01:00
Peter Clement
af792cc09e improve structure of OIDC config 2021-07-13 14:55:14 +01:00
Rory Powell
1a7619367b Refactor auth controller tests to reuse common behaviour 2021-07-13 10:28:15 +01:00
Rory Powell
5f5fe92807 Refactor auth controller tests to reuse common behaviour 2021-07-13 10:28:15 +01:00
Rory Powell
e1bea33d9a Unit test auth controller oidc functions 2021-07-11 17:54:18 +01:00
Rory Powell
4d3f44f982 Unit test auth controller oidc functions 2021-07-11 17:54:18 +01:00
Peter Clement
de075a7549 Fix OIDC logo conditional display 2021-07-09 15:50:46 +01:00
Peter Clement
b94348dddc Fix OIDC logo conditional display 2021-07-09 15:50:46 +01:00
Peter Clement
90e6db2be1 Linting and Optimisation 2021-07-09 15:05:39 +01:00
Peter Clement
5a86d6bb6d Linting and Optimisation 2021-07-09 15:05:39 +01:00
Peter Clement
4ae29f6b54 Fix bug where OIDC icon was not being displayed due to misconfiguration 2021-07-09 14:18:03 +01:00
Peter Clement
7138070e4c Fix bug where OIDC icon was not being displayed due to misconfiguration 2021-07-09 14:18:03 +01:00
Rory Powell
63b13fc360 Merge branch 'develop' into feature/oidc-support 2021-07-08 20:15:16 +01:00
Rory Powell
73c8dcf71b Merge branch 'develop' into feature/oidc-support 2021-07-08 20:15:16 +01:00
mike12345567
2bee348721 Fixing test cases. 2021-07-08 00:30:55 +01:00
mike12345567
b0fb7ae991 Fixing test cases. 2021-07-08 00:30:55 +01:00
mike12345567
2fc606f5b5 Linting. 2021-07-07 23:30:14 +01:00
mike12345567
93302cb667 Linting. 2021-07-07 23:30:14 +01:00
mike12345567
cc67e2caa6 Adding sessions API. 2021-07-07 23:29:19 +01:00
mike12345567
4916ff7eb8 Adding sessions API. 2021-07-07 23:29:19 +01:00
Peter Clement
4b518af605 Merge branch 'feature/oidc-support' of https://github.com/Budibase/budibase into oidc-config-management 2021-07-07 17:42:31 +01:00
Peter Clement
2e49686eab Merge branch 'feature/oidc-support' of https://github.com/Budibase/budibase into oidc-config-management 2021-07-07 17:42:31 +01:00
Peter Clement
b5f398da4d Allow user uploaded icons in oidc config 2021-07-07 13:41:09 +01:00
Peter Clement
37b1200051 Allow user uploaded icons in oidc config 2021-07-07 13:41:09 +01:00
Bernhard Hayden
65c436145a Proof of concept OIDC implementation 2021-07-06 10:03:40 +01:00
Bernhard Hayden
baab7141c0 Proof of concept OIDC implementation 2021-07-06 10:03:40 +01:00
Peter Clement
f61c5b8143 Add validation to backend for OIDC configuration 2021-07-05 14:27:19 +01:00
Peter Clement
0e6fb73b9e Add validation to backend for OIDC configuration 2021-07-05 14:27:19 +01:00
mike12345567
f244b7b075 Implementing feature #1700 and making it possible to remove logo. 2021-06-21 18:01:25 +01:00
mike12345567
61d810edfe Implementing feature #1700 and making it possible to remove logo. 2021-06-21 18:01:25 +01:00
mike12345567
60de9ccb28 Fixing issue with 1:N relationships and multiple fields, issue #1753. 2021-06-20 10:53:55 +01:00
mike12345567
052d14ad38 Fixing issue with 1:N relationships and multiple fields, issue #1753. 2021-06-20 10:53:55 +01:00