1
0
Fork 0
mirror of synced 2024-09-27 14:51:28 +12:00
Commit graph

336 commits

Author SHA1 Message Date
Andrew Kingston
c2fb17e948 Fix users invited by email not being able to take priveleged roles 2022-08-03 15:16:26 +01:00
Peter Clement
a11778c378 use correct middleware 2022-08-03 14:37:41 +01:00
Peter Clement
75bf4d1b18 fix redirect loop in overview page 2022-08-03 14:35:10 +01:00
Peter Clement
8a77aca540 more efficient fetching of total users per app 2022-07-29 13:10:00 +01:00
Peter Clement
ae2b64f597 fix test naming 2022-07-27 14:45:55 +01:00
Peter Clement
6a44c60d51 update tests 2022-07-27 14:18:54 +01:00
Peter Clement
67bbe4836d comment out tests for meanwhile 2022-07-27 14:01:00 +01:00
Peter Clement
dca37a61da adding tests and pr comments 2022-07-27 10:20:39 +01:00
Peter Clement
25d13d4a72 move bulk update / delete functionality out of controller 2022-07-25 16:58:30 +01:00
Peter Clement
af451840ac move worker middleware to backend-core 2022-07-22 11:50:51 +01:00
Peter Clement
0895c17a1c switch import order 2022-07-21 13:03:33 +01:00
Peter Clement
d3f47a8152 removing test fix 2022-07-21 12:56:38 +01:00
Peter Clement
4ff53e5c13 test unit test fix 2022-07-21 12:48:39 +01:00
Peter Clement
88f1db74b7 updating license check to search for feature 2022-07-21 09:52:01 +01:00
Peter Clement
83b22fec8a move group routes to pro module 2022-07-20 15:28:20 +01:00
Peter Clement
3fa7feeaab move controller funcs into bb pro 2022-07-19 16:03:02 +01:00
Peter Clement
ca41e88045 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-19 11:23:31 +01:00
Peter Clement
e5931d6fec update groups doc to take a roles object 2022-07-14 16:58:32 +01:00
Peter Clement
f980d55af3 some user table fixes 2022-07-13 15:46:10 +01:00
mike12345567
140c82e24c Quick fix for realEmail test which was causing problems. 2022-07-13 15:39:58 +01:00
Michael Drury
ea6d26cc13 Merge pull request #6638 from Budibase/fix/6633
July release fixes
2022-07-13 14:01:32 +01:00
mike12345567
18fde073e4 Increasing real email test timeout. 2022-07-13 13:32:06 +01:00
mike12345567
eadd37e22d Fix for #6681 - email save validation not working. 2022-07-13 11:57:14 +01:00
Martin McKeaveney
c24ca46af5 prevent redirect on app overview by allowing builders access to user endpoint 2022-07-13 11:49:23 +01:00
Peter Clement
eff78240a6 improve performance of adding users and groups 2022-07-11 15:29:39 +01:00
Peter Clement
2399dbceb9 linting and tidy 2022-07-07 08:55:32 +01:00
Peter Clement
8489ae36a4 take into account pagination 2022-07-06 12:58:55 +01:00
Peter Clement
00ef0e3ef9 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-05 16:04:01 +01:00
Peter Clement
3de2123dc4 group / user app assignment 2022-07-05 09:21:59 +01:00
Dean
da9e675847 Auth test fix for oidc strategy mocks 2022-07-04 09:04:55 +01:00
mike12345567
1efd77c790 Updating to maintain the old worker API for deprecation purposes, but removing from frontend usage. 2022-06-30 16:01:14 +01:00
Peter Clement
d952b9a3bb updated store and finished groups tab 2022-06-22 13:55:31 +01:00
Peter Clement
b7cc71a623 saving and fetching groups from couch 2022-06-15 16:51:30 +01:00
Rory Powell
12aa9fa1ce Dev improvements - remove need to rebuilds of backend-core/dist and enable debugging when running tests and backend services, use source directly using typescript and jest path mappings 2022-06-10 22:57:12 +01:00
Rory Powell
361ffd224f Merge branch 'release' into feature/event-backfill 2022-06-06 09:50:06 +01:00
Martin McKeaveney
13c2551e9a fix users list on app overview 2022-06-01 15:20:56 +01:00
Rory Powell
7ebfaf8a31 Failover protection with event cache 2022-05-31 21:04:41 +01:00
Rory Powell
2a00f6498d Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-29 00:25:40 +01:00
Rory Powell
756f5b51aa App migrations finished 2022-05-20 12:29:31 +01:00
Rory Powell
1caf4b1965 Merge branch 'develop' into feature/posthog-v2 2022-04-27 16:32:00 +01:00
Martin McKeaveney
9ca4dacbaa merge with master 2022-04-26 10:21:45 +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
Rory Powell
33719fcb09 Merge branch 'feature/licensing' into feature/posthog-v2 2022-04-12 17:12:46 +01:00
Rory Powell
03ba6d914f Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01:00
Rory Powell
a6107dc7f9 Test updates 2022-04-12 15:37:49 +01:00
Rory Powell
d99f579bf6 User management events 2022-04-12 12:34:36 +01:00
Rory Powell
e98e659346 user / rbac events + tests 2022-04-08 01:28:22 +01:00
Rory Powell
8a08e9322f org settings events + tests + stub license events 2022-04-06 22:53:33 +01:00
Rory Powell
befb61c915 smtp events + centralise worker test config 2022-04-06 17:00:17 +01:00
Rory Powell
ec4e9df4c2 Refactor automation tests to run independently 2022-04-06 12:34:31 +01:00
Rory Powell
82597a1afa sso activated/deactivated events + tests 2022-04-06 00:54:07 +01:00
Rory Powell
d706ec8efd google/oidc created/deleted events + tests 2022-04-05 23:14:53 +01:00
Rory Powell
6128dfadcf Logout events 2022-04-05 16:56:28 +01:00
mike12345567
752a0f350e Make sure that ethereal tests don't fail on jest timeout. 2022-03-30 14:45:03 +01:00
Rory Powell
15b676ce1c Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 2022-03-29 16:03:44 +01: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
9a9b4019ea Finish upgrade and billing pages 2022-03-15 08:16:45 +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
9e0a10955a Add status banner that reacts to cypress healthcheck failures 2022-02-24 14:41:24 +00:00
mike12345567
f0b02cf9a9 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-16 15:30:48 +00:00
mike12345567
381070a95c Adding fix for ethereal tests incase there is an issue with service. 2022-02-15 11:30:45 +00:00
mike12345567
edd4a3233e Shifting over all of self API, deprecating old endpoints. 2022-02-14 18:11:35 +00:00
mike12345567
3fb3a5e47d Moving APIs around after some discussion, creating a self API to make it obvious. 2022-02-10 18:34:55 +00:00
mike12345567
f031c34253 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-10 17:42:28 +00:00
Michael Drury
45a965b041 Adding basic endpoints for API keys. 2022-02-09 23:16:24 +00:00
Martin McKeaveney
08a3ae0e7c use env platform URL for datasource auth to prevent tenant overrides 2022-02-09 18:33:29 +01:00
Rory Powell
33e19c49a0 Reorder jest mock and import statements for email mocking 2022-01-31 21:05:14 +00:00
Rory Powell
0089fb06d9 Merge branch 'develop' into csrf 2022-01-30 21:20:48 +00:00
Martin McKeaveney
19d27c97a4 code review and merge with develop 2022-01-26 17:45:28 +01:00
Rory Powell
ffcf5354eb Add CSRF Token 2022-01-25 22:54:50 +00:00
Rory Powell
e0dcc7648c Remove server -> worker request to retrieve apps, remove hosting endpoints and store 2022-01-21 17:31:18 +00:00
Martin McKeaveney
9663806bfc more flexible datasource auth config 2022-01-17 15:52:10 +01:00
Martin McKeaveney
a70b96a21a gsheets E2E 2022-01-15 19:28:04 +01:00
mike12345567
5ee6aa24b2 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
37d0617ace Renaming some variables to core, fixing test cases that referenced auth directly. 2022-01-11 16:18:30 +00:00
mike12345567
1327394784 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
28557a3f96 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
6af8ab2dc0 Fixes for google sso, cloud email url and cloud logo updates 2021-11-12 13:31:55 +00: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
b80a93d6d5 cookie based approach 2021-11-04 14:03:18 +01:00
Rory Powell
081e38e5ea Merge branch 'develop' into prevent-dev-app-access 2021-10-26 14:55:59 +01:00
Rory Powell
55599c0a50 Add timeout to node mailer, lower than jest default 2021-10-26 14:31:56 +01:00
Rory Powell
ad61f2af3b Prevent non builder from accessing dev apps 2021-10-25 16:59:09 +01:00
mike12345567
52b44736c5 Fixing another issue with ethereal test package. 2021-10-07 16:35:11 +01:00
mike12345567
efb09523a7 Fixing a small issue with email test fix. 2021-10-07 16:14:00 +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
2f589a2f42 Add API keys between account portal and budibase 2021-10-04 13:40:50 +01:00
Rory Powell
8642868c5e Deprovisioning WIP 2021-09-28 09:48:00 +01:00
Rory Powell
9282b08890 Cloud SSO flow and auto login on verification 2021-09-21 18:20:26 +01:00
Rory Powell
91b9a98247 Password reset for budibase users 2021-09-17 13:41:22 +01:00
Rory Powell
689065d2b8 Redirect to account portal login page in the cloud 2021-09-14 14:18:13 +01:00
Martin McKeaveney
b83452f47c merge with master 2021-09-10 14:43:03 +01:00
mike12345567
dbf830f12b Fixing issue #2579. 2021-09-09 17:59:44 +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
3d15db2223 Account portal cors and auth changes 2021-09-07 11:22:11 +01:00
Maurits Lourens
0b7bb885cc fix unit test 2021-09-06 15:49:38 +02:00
mike12345567
105dfb5eb9 Fixing an issue with OIDC URL for preauth. 2021-08-05 14:36:10 +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
b86a6fddc9 Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
mike12345567
4e13dde657 Fixing some issues highlighted by worker test cases. 2021-08-03 17:14:17 +01:00
mike12345567
88c07d28eb Linting. 2021-08-03 15:41:51 +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
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
8bcce17cd7 Removing unused mock. 2021-07-30 14:25:38 +01:00
mike12345567
79c5f01267 Fixing config test case. 2021-07-30 14:23:40 +01:00
mike12345567
dd1f1fec3b Linting. 2021-07-26 13:31:39 +01:00
mike12345567
d03229caba Adding in admin API backwards compat. 2021-07-26 13:23:11 +01:00
mike12345567
9a9c552629 Adding mechanism for lookup of userId/email to tenantId. 2021-07-23 19:22:04 +01:00
mike12345567
3f7bafe23d Linting. 2021-07-22 22:37:20 +01:00
mike12345567
313302cae2 Fixing test cases and bugs that they raised. 2021-07-22 22:36:16 +01:00
mike12345567
24012c2fba Linting. 2021-07-22 16:37:50 +01:00
mike12345567
1d6a350311 Changing how flags are handled. 2021-07-22 16:36:21 +01:00
mike12345567
b21fe320c5 Adding fallbacks for oidc and google. 2021-07-22 15:26:14 +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
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
b09c2d45f9 Linting and adding tenancy API. 2021-07-20 18:03:16 +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
0fa68a2d50 Add activated toggle and login functionality to support this 2021-07-20 09:27:12 +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
e56a0f5aa3 Fixing some tenancy issues. 2021-07-19 12:57:52 +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
b7995dd61d Updating auth to utilise the tenant system. 2021-07-16 15:08:58 +01:00
mike12345567
912659a8ad First version of multi-tenancy, work still to be done. 2021-07-15 17:57:02 +01:00
Rory Powell
33b352c3ef Store OIDC config in cookie instead of URL 2021-07-15 16:20:31 +01:00
Peter Clement
283698f8c5 Fix config form saving bugs 2021-07-13 21:47:36 +01:00
mike12345567
004f719dde Renaming groups to workspaces. 2021-07-13 17:27:04 +01:00
Rory Powell
dd306d59c5 Load oidc config by id 2021-07-13 17:07:48 +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
af792cc09e improve structure of OIDC config 2021-07-13 14:55:14 +01:00
Rory Powell
5f5fe92807 Refactor auth controller tests to reuse common behaviour 2021-07-13 10:28:15 +01:00
Rory Powell
4d3f44f982 Unit test auth controller oidc functions 2021-07-11 17:54:18 +01:00
Peter Clement
b94348dddc Fix OIDC logo conditional display 2021-07-09 15:50:46 +01:00
Peter Clement
5a86d6bb6d Linting and Optimisation 2021-07-09 15:05:39 +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
73c8dcf71b Merge branch 'develop' into feature/oidc-support 2021-07-08 20:15:16 +01:00
mike12345567
b0fb7ae991 Fixing test cases. 2021-07-08 00:30:55 +01:00
mike12345567
93302cb667 Linting. 2021-07-07 23:30:14 +01:00
mike12345567
4916ff7eb8 Adding sessions API. 2021-07-07 23:29:19 +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
37b1200051 Allow user uploaded icons in oidc config 2021-07-07 13:41:09 +01:00
Bernhard Hayden
baab7141c0 Proof of concept OIDC implementation 2021-07-06 10:03:40 +01:00
Peter Clement
0e6fb73b9e Add validation to backend for OIDC configuration 2021-07-05 14:27:19 +01:00
mike12345567
61d810edfe Implementing feature #1700 and making it possible to remove logo. 2021-06-21 18:01:25 +01:00
mike12345567
052d14ad38 Fixing issue with 1:N relationships and multiple fields, issue #1753. 2021-06-20 10:53:55 +01:00
mike12345567
290cf98704 Adding longer timeout for real email tests. 2021-06-15 13:22:38 +01:00
mike12345567
22431a4ea2 Updating SMTP config to show better errors. 2021-06-09 15:45:54 +01:00
mike12345567
c81a8ba3ed Fixing issue with roles not being added correctly to global users and cleaning up roles when an app is deleted. 2021-06-01 15:58:40 +01:00