Commit Graph

985 Commits

Author SHA1 Message Date
mike12345567 fa7702044d Merge branch 'master' of github.com:Budibase/budibase into develop 2022-09-16 16:13:20 +01:00
Martin McKeaveney 7f6cc6737b
Merge pull request #7646 from Budibase/qa/qa-core-jest
QA Core repo, and Jest API tests running end to end
2022-09-15 21:12:45 +01:00
mike12345567 d35864be08 Fixing issue introduced by fix for #7683 - encoding the query string caused handlebars statements to break, this rectifies that. 2022-09-15 19:35:55 +01:00
Rory Powell 0980be9377 Merge branch 'develop' into feature/day-pass-pricing 2022-09-15 10:56:50 +01:00
Martin McKeaveney c1dc1aa488
Merge branch 'develop' into qa/qa-core-jest 2022-09-15 01:18:58 +01:00
Martin McKeaveney be396dc3c0 fixing tests 2022-09-14 14:22:53 +01:00
Hervé de CHAVIGNY 4020625844 multi mail send to 2022-09-13 18:59:14 -04:00
Rory Powell e2b5c7b4ef Merge branch 'develop' into feature/day-pass-pricing-temp 2022-09-12 11:33:02 +01:00
Martin McKeaveney 4b82f8f3fd merge 2022-09-07 23:31:24 +01:00
Martin McKeaveney 096da509d9 PR comments 2022-09-07 23:21:14 +01:00
Rory Powell 4f66dc0df3 Move day pass middleware from authenticated to licensing, sent activity to account portal 2022-09-06 16:24:36 +01:00
Rory Powell ba211b8490 Day pass middleware 2022-09-06 12:25:57 +01:00
Martin McKeaveney 2a6c9cd6c5 QA Core repo, and Jest API tests running end to end 2022-09-05 18:28:53 +01:00
Rory Powell 3271b295d4 Clear quota cache on deprovision + gracefully handle account metadata doc deletion 2022-09-05 16:17:58 +01:00
Rory Powell a0e79bf9d5 Merge branch 'develop' into feature/day-pass-pricing 2022-09-01 15:26:16 +01:00
Rory Powell 53a43ae87d Typos 2022-09-01 08:29:03 +01:00
Rory Powell e416dc6788 Apply validation to invite users by email + results modal 2022-09-01 07:58:05 +01:00
Rory Powell 6077814823 Merge branch 'develop' into user-fixes 2022-08-31 11:39:41 +01:00
Rory Powell b331f47aa4 Update user creation UI 2022-08-25 22:56:58 +01:00
Rory Powell a519eb0cdc update bulk create and bulk delete backend 2022-08-25 19:41:47 +01:00
Rory Powell c29f3768fa User fixes wip 2022-08-23 09:37:13 +01:00
Rory Powell cb03d26980 Merge branch 'develop' into feature/day-pass-pricing 2022-08-19 14:08:03 +01:00
Dean 9a677fce72 Added scope customisation to the OIDC SSO configuration. Users can add or remove whichever scopes they like except 'openid'. They can revert to our core default values if they run into any issues 2022-08-18 10:59:40 +01:00
mike12345567 b920f8cb05 Replacing all plural TS enumerations with singular - this involves a major rename of the DocumentTypes. 2022-08-11 13:50:05 +01:00
Andrew Kingston b9cc7a83c8 Fix users not being added to group when invited via email 2022-08-08 16:40:32 +01:00
mike12345567 59ee85f46c Removing session API. 2022-08-05 11:39:28 +01:00
mike12345567 65e8af01f5 Some more logging, moving middlewares to backend-core. 2022-08-04 19:03:50 +01:00
mike12345567 a05e21ee4b Allow builders (not just admins) to delete apps. 2022-08-04 17:14:52 +01:00
Rory Powell 3b3f3188ab Sync global-info users to fix login + prevent double password hashing 2022-08-04 14:49:56 +01:00
Andrew Kingston feee950c3d
Merge pull request #7066 from Budibase/prod-user-fixes
Prod user fixes
2022-08-04 09:20:18 +01:00
Andrew Kingston 115ef53f82 Update multi-user invite endpoint 2022-08-03 19:20:33 +01:00
Andrew Kingston b60a1ad7b0 Remove log 2022-08-03 19:20:18 +01:00
Andrew Kingston 6701c25fc9 Fix users invited by email not being able to take priveleged roles 2022-08-03 15:16:26 +01:00
Peter Clement 1da4645d58 use correct middleware 2022-08-03 14:37:41 +01:00
Peter Clement d36fde046b fix redirect loop in overview page 2022-08-03 14:35:10 +01:00
mike12345567 b87fcc1f8f Adding API checks to stop deletion of self. 2022-08-02 14:58:18 +01:00
Peter Clement 6d12b1b24f more efficient fetching of total users per app 2022-07-29 13:10:00 +01:00
Peter Clement 342efa64b3 fix test naming 2022-07-27 14:45:55 +01:00
Peter Clement e5a6acdf47 update tests 2022-07-27 14:18:54 +01:00
Peter Clement b8fa697482 comment out tests for meanwhile 2022-07-27 14:01:00 +01:00
Peter Clement e468f83902 adding tests and pr comments 2022-07-27 10:20:39 +01:00
Peter Clement 0c831f369d refactor groups into pro and some other pr comments 2022-07-26 20:04:29 +01:00
Peter Clement b078ea9d8d adding limits for uploading users 2022-07-26 12:17:01 +01:00
Peter Clement 3f401b35f3 moar bulkdocs 2022-07-25 17:36:57 +01:00
Peter Clement 9e4e005dcb move bulk update / delete functionality out of controller 2022-07-25 16:58:30 +01:00
Peter Clement 8a066fb1cb move worker middleware to backend-core 2022-07-22 11:50:51 +01:00
Peter Clement ed3ba79730 switch import order 2022-07-21 13:03:33 +01:00
Peter Clement 48eeb6a7c6 removing test fix 2022-07-21 12:56:38 +01:00
Peter Clement dc991996e3 test unit test fix 2022-07-21 12:48:39 +01:00
Peter Clement ea061e6ab1 updating license check to search for feature 2022-07-21 09:52:01 +01:00
Peter Clement 2c16089258 move group routes to pro module 2022-07-20 15:28:20 +01:00
Peter Clement e239318ff6 move controller funcs into bb pro 2022-07-19 16:03:02 +01:00
Peter Clement 3f5fea9adc update handling of group roles 2022-07-19 14:20:57 +01:00
Peter Clement c5b9be60c7 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-19 11:23:31 +01:00
Rory Powell 617ec1fe02 Write users and activity to dynamo 2022-07-18 16:11:52 -04:00
Peter Clement dfdee4d271 lint 2022-07-18 12:33:56 +01:00
Peter Clement e63c7fd56f update groups doc to take a roles object 2022-07-14 16:58:32 +01:00
NEOLPAR a7898411a9 fixed issue bulkDelete losing context because of a forEach loop 2022-07-14 14:15:12 +01:00
Peter Clement 6663fc25fc Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-14 13:32:51 +01:00
Peter Clement 20e9e7a716 Merge branch 'feat/user-groups-tab' of github.com:Budibase/budibase into feat/user-groups-tab 2022-07-14 09:19:08 +01:00
Peter Clement 71179b0f1e overview card updates 2022-07-14 08:39:39 +01:00
NEOLPAR 22864ba324 fixed duplicating users in user creation backend 2022-07-13 17:37:03 +01:00
Peter Clement 4543b1213f some user table fixes 2022-07-13 15:46:10 +01:00
mike12345567 b860e05fe8 Quick fix for realEmail test which was causing problems. 2022-07-13 15:39:58 +01:00
Michael Drury 956cd01a3c
Merge pull request #6638 from Budibase/fix/6633
July release fixes
2022-07-13 14:01:32 +01:00
mike12345567 ec9c0a3ed7 Increasing real email test timeout. 2022-07-13 13:32:06 +01:00
mike12345567 a946641735 Fix for #6681 - email save validation not working. 2022-07-13 11:57:14 +01:00
Martin McKeaveney 2b42545b77 prevent redirect on app overview by allowing builders access to user endpoint 2022-07-13 11:49:23 +01:00
Peter Clement 72a67adcf4 improve performance of adding users and groups 2022-07-11 15:29:39 +01:00
Michael Drury ef1e70b281
Merge pull request #6636 from Budibase/omnibus-action
Single image pipeline
2022-07-11 11:12:09 +01:00
Mel O'Hagan a72bcd9645 Add await to cache delete 2022-07-08 14:53:34 +01:00
Mel O'Hagan e677cbef20 Merge branch 'bug/sev3/reset-email-config-delete-cache' into bug/sev3/reset-email-config-delete-cache-dev 2022-07-08 14:50:47 +01:00
Peter Clement 0e3b1fc46f linting and tidy 2022-07-07 08:55:32 +01:00
mike12345567 216298c74b Fixing issue which can block accessing platform - if error scenario occurs but admin user partially created. 2022-07-06 16:42:38 +01:00
Peter Clement b846402d90 take into account pagination 2022-07-06 12:58:55 +01:00
Peter Clement c9d86230d4 fixing users api references 2022-07-06 08:45:22 +01:00
Peter Clement daafba8ec8 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-05 16:04:01 +01:00
Peter Clement a84b36cc54 group / user app assignment 2022-07-05 09:21:59 +01:00
Dean d7a572d9ee Code review update, removing sheets scope from authentication 2022-07-04 13:37:56 +01:00
Dean 4ecae7fa5b Code review updates 2022-07-04 12:54:26 +01:00
Dean 709e8600b0 Auth test fix for oidc strategy mocks 2022-07-04 09:04:55 +01:00
Dean 2ea4a9d225 Refresh the OAuth tokens automatically when making rest calls. Fix to remove the password from the api token authentication. 2022-07-03 21:13:15 +01:00
Dean 6a79e467ba Merge remote-tracking branch 'origin/develop' into sso-rest-requests 2022-07-03 09:55:05 +01:00
mike12345567 136eec3388 Updating to maintain the old worker API for deprecation purposes, but removing from frontend usage. 2022-06-30 16:01:14 +01:00
mike12345567 2733f48492 Updating user page to search through the backend and building a basic pagination store that can be used for it. 2022-06-30 15:39:26 +01:00
mike12345567 3344a756d7 Adding fix for global user retrieval as part of admin creation. 2022-06-30 12:01:15 +01:00
mike12345567 e7ff299c63 Adding user pagination, removing usages of the global user list from builder and replacing with direct user lookups where possible, still need to apply filtering to username/email serverside. 2022-06-29 19:11:00 +01:00
Mel O'Hagan 8468222431 Delete checkList cache on destroy 2022-06-29 13:08:48 +01:00
Dean dc20ecc5ff Merge commit 2022-06-23 14:29:19 +01:00
Peter Clement 8d264fe983 updated store and finished groups tab 2022-06-22 13:55:31 +01:00
Peter Clement 4ab7e8cd11 saving and fetching groups from couch 2022-06-15 16:51:30 +01:00
Rory Powell a2b9fcd448 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 e447fd11d1 Build fixes 2022-06-09 12:33:10 +01:00
Rory Powell 4e77571ddb Merge branch 'release' into feature/event-backfill 2022-06-06 09:50:06 +01:00
Martin McKeaveney 35b007d13c fix users list on app overview 2022-06-01 15:20:56 +01:00
Rory Powell 429f379431 Failover protection with event cache 2022-05-31 21:04:41 +01:00
Rory Powell fd845284d3 Lots of failure handling and caching 2022-05-30 21:46:08 +01:00
Rory Powell f2f6bf779d Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-29 00:25:40 +01:00
Rory Powell 64d73e2f96 Merge branch 'develop' into feature/posthog-v2 2022-05-28 23:03:31 +01:00
Rory Powell 9610d8f1e7 Identity tenant and installation groups, property updates 2022-05-28 21:38:22 +01:00
Rory Powell 37b734731c
Merge pull request #6075 from Budibase/fix/provisioning-multi-tenant
Fix provisioning in multi tenant environment
2022-05-27 10:17:30 +01:00
Rory Powell ab54ae29ab Fix provisioning in multi tenant environment 2022-05-26 16:48:26 +01:00
Rory Powell cbc3e72757 app and account properties, add account details to all user and tenant identities 2022-05-26 10:13:26 +01:00
Rory Powell b69a0836f5 Identity updates 2022-05-24 20:01:13 +01:00
Rory Powell 9d0b4ef45e User context updates and misc fixes 2022-05-24 09:54:36 +01:00
mike12345567 d535afa542 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-23 23:43:57 +01:00
Rory Powell 22aa226ca9 Event identification 2022-05-23 22:14:44 +01:00
mike12345567 806a0c0389 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-23 17:03:36 +01:00
Martin McKeaveney 1cc140d50a making checklist cache length controllable through env var 2022-05-23 16:57:15 +01:00
mike12345567 7be0dad245 Updating cache to 1 hour. 2022-05-23 16:06:47 +01:00
mike12345567 100f5a6f3c Moving the withCache function to backend-core so that it can be shared, as well as adding a cache busting function which can be used when one of the checklist configs changes. 2022-05-23 15:03:52 +01:00
Rory Powell 6ea7912a73 Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-23 10:29:33 +01:00
Rory Powell 80a82bbcc3 Merge branch 'develop' into feature/posthog-v2 2022-05-23 09:04:00 +01:00
Martin McKeaveney 9483712c7e withCache wrapper for working with redis 2022-05-23 00:09:03 +01:00
Martin McKeaveney 7299863d28 query optimisation on checklist endpoint 2022-05-22 18:51:13 +01:00
Martin McKeaveney 0606519695 lint 2022-05-22 16:39:34 +01:00
Rory Powell 8ae358d237 App migrations finished 2022-05-20 12:29:31 +01:00
mike12345567 7ec772e0de Adding upgrade messaging. 2022-05-18 12:03:27 +01:00
mike12345567 36a190b0ed Finishing off UI, expanding settings menus from 80ch to 90ch as they were quite restricted and made the usage UI a bit difficult to view. Added a DISABLE_DEVELOPER_LICENSE env variable for testing. 2022-05-17 17:44:40 +01:00
Rory Powell bd33c827eb Merge branch 'develop' into feature/posthog-v2 2022-04-27 16:32:00 +01:00
Martin McKeaveney 630f29444d fix build 2022-04-26 13:58:33 +01:00
Martin McKeaveney e01ef9bdfb merge with master 2022-04-26 10:21:45 +01:00
Rory Powell b21ba78cf2 Feature flag upgrade page 2022-04-20 09:46:20 +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
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 75be1e031b user / rbac events + tests 2022-04-08 01:28:22 +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
Rory Powell b650863a2b smtp events + centralise worker test config 2022-04-06 17:00:17 +01:00
Rory Powell 1a131f3e19 Refactor automation tests to run independently 2022-04-06 12:34:31 +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 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
mike12345567 80a99b549f Make sure that ethereal tests don't fail on jest timeout. 2022-03-30 14:45:03 +01:00
Rory Powell 4ad846f116 Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 2022-03-29 16:03:44 +01:00
Rory Powell ef629c9859 Fixes 2022-03-25 16:08:12 +00:00
Rory Powell 180e37b9f1 Tests complete + backwards compatibility for deployment 2022-03-22 00:23:22 +00:00
Rory Powell bf9f5488fc Merge branch 'develop' into feature/licensing 2022-03-21 17:13:16 +00:00
Rory Powell 336f0ff4a0 Published apps, automations and query count quotas 2022-03-20 01:13:54 +00:00
Rory Powell 62b360b9ea Add developer usage restrictions to SSO user creation 2022-03-18 08:01:31 +00:00
Rory Powell 893f82ac4d Better error handling around license errors 2022-03-16 17:29:47 +00:00
Rory Powell 714da96ee5 developer and published apps usage quota migrations 2022-03-16 08:18:09 +00:00
Rory Powell 0d64bed4b3 Finish upgrade and billing pages 2022-03-15 08:16:45 +00:00
mike12345567 a5556595de 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
Rory Powell ccf2fe3d01 Self Host <-> Licensing integration 2022-03-09 21:16:22 +00:00