Commit Graph

6670 Commits

Author SHA1 Message Date
Andrew Kingston 95d05c8a8e Fix error with refreshing app package so that page reload on logout can be prevented 2021-07-25 13:43:07 +01:00
Andrew Kingston e74d9a7312 Reload location on client logout for full reset, avoiding error when public pages exist 2021-07-25 13:29:27 +01:00
Budibase Staging Release Bot 1b54e53ec6 v0.9.80-alpha.4 2021-07-25 11:22:12 +00:00
Michael Drury 8c359ca76d Merge pull request #2086 from Budibase/fix/edit-roles-modal
Fixes for issue #2077
2021-07-25 12:14:31 +01:00
Michael Drury f32b4f94e7 Linting. 2021-07-25 12:09:50 +01:00
Michael Drury 88c0a635a0 Adding back logout functionality. 2021-07-25 12:07:25 +01:00
Budibase Staging Release Bot cfec959384 v0.9.80-alpha.3 2021-07-25 10:58:35 +00:00
Michael Drury f08547249b Linting. 2021-07-25 11:48:13 +01:00
Michael Drury 6d5f697142 Adding checks around the edit roles modal. 2021-07-25 11:46:40 +01:00
Michael Drury 3d8ac487c4 Merge branch 'develop' into new_roles_bug 2021-07-25 11:07:25 +01:00
Budibase Staging Release Bot 054740398f v0.9.80-alpha.2 2021-07-24 11:22:42 +00:00
Andrew Kingston fe00877f42 Merge pull request #2065 from Budibase/fix/save-row-action
Use tableId parameter when saving rows from button action
2021-07-24 12:13:09 +01:00
Maurits Lourens 03ecf7f34f display role names instead of _id 2021-07-23 23:27:38 +02:00
mike12345567 a630bfb515 Fixing test case. 2021-07-23 20:08:16 +01:00
mike12345567 c63ee57bbd Linting. 2021-07-23 20:03:11 +01:00
mike12345567 4d0faa38e3 Changing how apps are retrieved to be more efficient. 2021-07-23 20:01:53 +01:00
mike12345567 9a9c552629 Adding mechanism for lookup of userId/email to tenantId. 2021-07-23 19:22:04 +01:00
Budibase Staging Release Bot 306ad55c99 v0.9.80-alpha.1 2021-07-23 17:41:06 +00:00
Rory Powell 75bda99e00 Fix staging version 2021-07-23 18:31:45 +01:00
Budibase Staging Release Bot 255bea8553 v0.9.79-alpha.5 2021-07-23 16:55:34 +00:00
mike12345567 bd301cf972 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 17:52:30 +01:00
mike12345567 be6561e93d Adding use of the tenancy ID. 2021-07-23 17:41:00 +01:00
mike12345567 82e43e0008 Removing accidental symbols. 2021-07-23 17:26:54 +01:00
mike12345567 9377c7b0f3 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 17:20:41 +01:00
Budibase Staging Release Bot f0163b3942 v0.9.79-alpha.4 2021-07-23 16:13:42 +00:00
Budibase Release Bot c47d08bb4a v0.9.79 2021-07-23 16:08:58 +00:00
mike12345567 df942f7d7c Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-23 17:02:33 +01:00
mike12345567 7588bfde39 Adjusting how redis modules are loaded, making sure client is always set, before init. 2021-07-23 16:53:22 +01:00
Budibase Staging Release Bot 69b2bee2e1 v0.9.79-alpha.3 2021-07-23 15:46:11 +00:00
mike12345567 26582f5ceb Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 16:11:05 +01:00
mike12345567 4160d63b2d Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 16:10:59 +01:00
Rory Powell 6359f3db64 Default google activated form toggle to true for older configs 2021-07-23 16:02:38 +01:00
Andrew Kingston d6761fa9a8 Fix setVersion not returning itself to restore builder syntax compatibility 2021-07-23 15:57:50 +01:00
Andrew Kingston 5202b09499 Send api version as header with every request from client library 2021-07-23 15:56:18 +01:00
Andrew Kingston 72061f341e Add missing version to paginated search endpoint 2021-07-23 15:55:58 +01:00
Rory Powell eb8d857864 Require https callback in production, allow for http otherwise 2021-07-23 15:47:48 +01:00
Andrew Kingston af3802e28a Fix svelte keying of component settings blocks 2021-07-23 15:44:35 +01:00
Andrew Kingston b02f631888 Enrich button actions nested inside conditions 2021-07-23 15:44:16 +01:00
Andrew Kingston a00473fa61 Remove hardcoded colours from BBUI modal component 2021-07-23 15:43:44 +01:00
mike12345567 fa3cf585d7 Adding concept of version to APIs. 2021-07-23 15:29:14 +01:00
Budibase Staging Release Bot 32cf132022 v0.9.79-alpha.2 2021-07-23 14:05:23 +00:00
Rory Powell 9958625814 Merge pull request #2073 from Budibase/fix/google-button
Mark google activated by default for old configs
2021-07-23 14:56:44 +01:00
Rory Powell 418637cb6b Linting 2021-07-23 14:42:28 +01:00
Rory Powell f95b550b15 Mark google activated by default for old configs 2021-07-23 14:40:22 +01:00
mike12345567 94744ffbd8 Updating to use default false for search pre-processing. 2021-07-23 13:44:46 +01:00
mike12345567 a5d9883f28 Updating internal search to disable features were required. 2021-07-23 13:29:50 +01:00
mike12345567 e24c6bafd1 Removing optional chaining, not valid in Node. 2021-07-23 13:07:10 +01:00
Budibase Staging Release Bot 885d3003fe v0.9.79-alpha.1 2021-07-23 11:08:21 +00:00
Rory Powell 249df46770 Mark google activated by default for old configs 2021-07-23 11:38:17 +01:00
Budibase Staging Release Bot f3f60aee78 v0.9.79-alpha.0 2021-07-23 09:37:21 +00: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
Andrew Kingston 204de7c4d3 Add initial work on dynamically updating any setting via conditional UI 2021-07-22 19:19:37 +01:00
Andrew Kingston 5f19ccc6d5 Merge branch 'develop' of github.com:Budibase/budibase into conditional-ui 2021-07-22 18:16:03 +01:00
Andrew Kingston 7343c947ae Use tableId parameter when saving rows from button action 2021-07-22 16:50:35 +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
Andrew Kingston 520651119b Fix lucene filtering of all types by parsing values as expected types, and correctly wrapping non-numeric types while building queries 2021-07-22 15:53:20 +01:00
mike12345567 b21fe320c5 Adding fallbacks for oidc and google. 2021-07-22 15:26:14 +01:00
mike12345567 1b6a73c250 Linting. 2021-07-22 14:29:30 +01:00
mike12345567 5611c8e73e Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-22 14:27:12 +01:00
mike12345567 27b2a13817 Swapping admin -> global in worker to reduce confusion in API url naming. 2021-07-22 12:56:47 +01:00
Kevin Åberg Kultalahti b34f6c9a23 Merge pull request #2041 from Budibase/feature/nps-feedback-form
Adds the NPS Feedback Form modal/popup
2021-07-22 13:04:59 +02:00
Keviin Åberg Kultalahti d9d08841e9 simplify check 2021-07-22 12:41:02 +02:00
Keviin Åberg Kultalahti 558b58b051 uses db to store feedback submissions status 2021-07-22 12:38:46 +02:00
Keviin Åberg Kultalahti a6814091b1 adds close button to feedback form component 2021-07-22 12:07:38 +02:00
mike12345567 371e38fcb9 Linting. 2021-07-21 18:24:58 +01:00
mike12345567 63368fdae9 Adding query string functionality to skip org setup. 2021-07-21 18:23:49 +01:00
mike12345567 be1558e1e7 Adding mechanism to disable org functionality when multi-tenancy disabled. 2021-07-21 17:52:42 +01:00
Andrew Kingston f91115fc0f Set default getOptionIcon prop in core Picker to avoid crash 2021-07-21 14:35:55 +01:00
Andrew Kingston 1effdc0e8f Set default getOptionIcon prop to avoid crash when using core select, like in client apps 2021-07-21 14:35:37 +01:00
Andrew Kingston 22c85a2eca Remove icon from definition of fields to avoid icon issues 2021-07-21 14:25:02 +01:00
Andrew Kingston 5e5332cd4f Add initial work on evaluation of conditional UI conditions in client library 2021-07-21 14:03:49 +01:00
Keviin Åberg Kultalahti 030571497b update transitions to match modal component 2021-07-21 13:13:36 +02:00
Keviin Åberg Kultalahti b22b987ea8 design fixes 2021-07-21 13:08:55 +02:00
Keviin Åberg Kultalahti b41e84f8b7 add larger min-height to textarea 2021-07-21 12:55:26 +02:00
Keviin Åberg Kultalahti 02077fc109 fix erroneous title in feedback form 2021-07-21 12:51:06 +02:00
mike12345567 a9752c0939 Adding change org button to login page. 2021-07-21 11:47:47 +01:00
Keviin Åberg Kultalahti 60b17594f5 move cookie updating to the NPS component 2021-07-21 12:36:04 +02:00
Keviin Åberg Kultalahti 6aa3ad03e2 remove old feedback stuff 2021-07-21 12:31:06 +02:00
Keviin Åberg Kultalahti 6c7798e828 lint fix 2021-07-21 12:30:36 +02:00
Keviin Åberg Kultalahti 2c01db04d8 Merge branch 'develop' into feature/nps-feedback-form 2021-07-21 12:29:12 +02:00
Keviin Åberg Kultalahti 5b0557bc28 Adds last bits to NPS feedback form 2021-07-21 12:28:38 +02: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 a3fd6dacfe Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-21 10:40:10 +01:00
Andrew Kingston 0c80e8c5b5 Move lucene options into common file and add initial work on conditional UI components 2021-07-21 08:46:02 +01:00
mike12345567 b09c2d45f9 Linting and adding tenancy API. 2021-07-20 18:03:16 +01:00
mike12345567 ddfc524fcb Fixing callback URLs. 2021-07-20 17:57:07 +01:00
mike12345567 9d89362af1 Fixing some issues discovered with logging in. 2021-07-20 17:46:41 +01:00
mike12345567 129ff3fef2 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-20 15:56:12 +01:00
Andrew Kingston b00452cc8d Merge branch 'develop' of github.com:Budibase/budibase into drawer-improvements 2021-07-20 14:39:55 +01:00
Andrew Kingston 87394af383 Fix padding on some drawer content components 2021-07-20 14:38:35 +01:00
Andrew Kingston 2f559c3867 Update events editor and action components with new drawer styles 2021-07-20 14:34:27 +01:00
Peter Clement 3f42ed74b9 Merge remote-tracking branch 'origin/develop' into oidc-config-management 2021-07-20 12:57:58 +01:00
Peter Clement 1c6d455094 fix save button 2021-07-20 12:30:11 +01:00
Andrew Kingston b3eb783d7b Update drawer components to work with new styles 2021-07-20 10:58:07 +01:00
Peter Clement 30558ad3bd only enable form save button when config has changed 2021-07-20 10:55:39 +01:00
Andrew Kingston 83ab09b133 Update navigation link editor drawer to work with new drawer styles 2021-07-20 10:52:46 +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 358b2aef89 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-19 17:35:48 +01:00
mike12345567 e026375f50 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-19 16:24:19 +01:00
Budibase Release Bot d8136d0704 v0.9.78 2021-07-19 14:23:03 +00:00
mike12345567 2ec00c32b6 Linting. 2021-07-19 14:32:14 +01:00
mike12345567 65358cf10d Fixing an issue with lucene equality searching, strings weren't handled correctly. 2021-07-19 14:31:06 +01:00
mike12345567 e56a0f5aa3 Fixing some tenancy issues. 2021-07-19 12:57:52 +01:00
mike12345567 d6c47c5027 Changing how automations handle multi-tenancy. 2021-07-19 10:59:34 +01:00
Keviin Åberg Kultalahti c4258bfe3c implements nps form component 2021-07-19 09:28:34 +02:00
Budibase Release Bot ec19ff23c2 v0.9.77 2021-07-16 18:52:46 +00:00
Michael Drury 126bf74347 Fixing issue with update row after rows API changed. 2021-07-16 19:13:44 +01:00
mike12345567 d6ae82e719 Linting. 2021-07-16 18:26:17 +01:00
mike12345567 d157285918 Adding organisation page. 2021-07-16 18:24:32 +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
Peter Clement 8297d058b5 More error handling around config saving 2021-07-16 14:07:48 +01:00
Peter Clement 87eea284ab Better error handling around config saving 2021-07-16 10:51:58 +01:00
Rory Powell d13b2025d5 Add Okta and OneLogin logos 2021-07-16 10:15:38 +01:00
Budibase Release Bot 2668f2ba40 v0.9.76 2021-07-15 23:23:00 +00:00
Andrew Kingston cda15789f7 Remove padding from empty layouts and add option for full width layout content 2021-07-16 00:14:44 +01:00
mike12345567 912659a8ad First version of multi-tenancy, work still to be done. 2021-07-15 17:57:02 +01:00
Rory Powell 5f51de257f Default public config.config when missing 2021-07-15 16:50:57 +01:00
Rory Powell 806957e462 Merge branch 'feature/oidc-support' of github.com:Budibase/budibase into feature/oidc-support 2021-07-15 16:21:03 +01:00
Rory Powell 33b352c3ef Store OIDC config in cookie instead of URL 2021-07-15 16:20:31 +01:00
Peter Clement 70ab4e4dc5 add new logic to support oauth and oidc buttons 2021-07-15 15:49:10 +01:00
Rory Powell 239e39e5ed Merge branch 'develop' into feature/oidc-support 2021-07-15 14:05:30 +01:00
Rory Powell ea7ebafe12 Add database test configuration to auth package 2021-07-15 12:55:35 +01:00
Budibase Release Bot 2bd7934518 v0.9.75 2021-07-15 10:12:28 +00:00
Michael Drury fd76e532c7 Merge pull request #1989 from Budibase/fix/email-explanation
Email template descriptions/information
2021-07-15 11:04:36 +01:00
mike12345567 afd642c60d Fixing deployment issue. 2021-07-14 17:51:35 +01:00
mike12345567 f6a133e556 Cleaning up deployments into the app DB, moving API keys to be in global DB (which will be tenancy managed) and adding concept of platform info DB. 2021-07-14 16:29:32 +01:00
Rory Powell 6f1d995cc8 Auto generate callback url and supply id on login 2021-07-14 16:21:17 +01:00
Rory Powell 3152bd1839 Invert logos config naming to prevent conflict 2021-07-14 15:48:29 +01:00
Andrew Kingston 5e1c0b9417 Update styles of modal bindable input 2021-07-14 15:46:47 +01:00
Andrew Kingston d8ad23ddb8 Update styles of server binding panel used for formula fields and automation bindings 2021-07-14 15:46:31 +01:00
Andrew Kingston 120994e2c4 Use automation block title in drawer for automation bindings 2021-07-14 15:46:00 +01:00
Andrew Kingston 83d6a7c56d Disable save button in drawerbindableinput when syntax is invalid 2021-07-14 15:45:05 +01:00
Andrew Kingston 38014a76be Update drawer styles, drawer bindable inputs and settings bindable inputs 2021-07-14 14:21:11 +01:00
Rory Powell d97914837e Casing change to config checklist 2021-07-14 14:13:04 +01:00
mike12345567 3eb82b5a63 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-14 13:54:39 +01:00
mike12345567 ae3a09d560 Merge branch 'master' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-14 13:53:57 +01:00
mike12345567 a9160f5914 Rewording email template descriptions. 2021-07-14 13:24:46 +01:00
mike12345567 a31cce0ff9 Linting. 2021-07-14 13:18:27 +01:00
mike12345567 c20fde41ee Some quick fixes after a user had some confusion over how the email templating works, just adding some detail that should help explain. 2021-07-14 11:23:24 +01:00
Peter Clement 283698f8c5 Fix config form saving bugs 2021-07-13 21:47:36 +01:00
Budibase Release Bot 23bb4215c2 v0.9.74 2021-07-13 16:53:42 +00:00
Rory Powell 67fbf73bdd Merge branch 'feature/oidc-support' of github.com:Budibase/budibase into feature/oidc-support 2021-07-13 17:33:08 +01:00
Rory Powell 63d119d6db Update OAuth -> Authentication header 2021-07-13 17:32:57 +01:00
Peter Clement b31be35307 Add UUID to each oidc config to distinguish each provider 2021-07-13 17:32:08 +01:00
Rory Powell 0973394208 Update config checklist to handle multiple sso sources 2021-07-13 17:30:17 +01:00
mike12345567 cc08b4fc4e Linting. 2021-07-13 17:28:05 +01:00
mike12345567 004f719dde Renaming groups to workspaces. 2021-07-13 17:27:04 +01:00
Martin McKeaveney 7e5c4be14f fix postgres query array value 2021-07-13 17:11:11 +01:00
Rory Powell dd306d59c5 Load oidc config by id 2021-07-13 17:07:48 +01:00
Rory Powell 3fa4b21a31 Update reference to microsoft logo to use most recent name 2021-07-13 16:35:54 +01:00
Rory Powell 2485f0da25 Remove reference to oracle logo to fix build 2021-07-13 16:24:30 +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 6c8a025760 Setup common test data 2021-07-13 12:08:58 +01:00
Rory Powell b3cd3f7a49 Add jest to auth package devDependencies 2021-07-13 10:49:27 +01:00
Rory Powell b47073ae49 Remove redundant check on requireLocalAccount 2021-07-13 10:46:27 +01:00
Rory Powell 5f5fe92807 Refactor auth controller tests to reuse common behaviour 2021-07-13 10:28:15 +01:00
Rory Powell f7d91f7cd6 Test google auth strategy 2021-07-13 10:17:14 +01:00
Rory Powell fc3d7122a7 Add jest to auth package + test oidc strategy 2021-07-13 10:02:08 +01:00
Andrew Kingston e692223661 Merge pull request #1969 from Budibase/empty-layout-tweaks
Empty layout tweaks
2021-07-12 19:17:41 +01:00
mike12345567 7aca56f019 Adding float type to MySQL. 2021-07-12 11:10:11 +01:00
mike12345567 184df6c685 Fixing some issues discovered with the new SQL connectors were the input type would always be string (causing some SQL types to break) - parsing these before input to attempt to fix this problem - issue referenced in #1943. 2021-07-12 10:51:30 +01:00
Martin McKeaveney bebfe4c6e1 merge with master 2021-07-11 18:07:46 +01:00
Rory Powell 4d3f44f982 Unit test auth controller oidc functions 2021-07-11 17:54:18 +01:00
Andrew Kingston 7392ad8eb2 Remove padding from empty layouts and add option for full width layout content 2021-07-10 11:56:32 +01:00
Rory Powell 15c53c16a7 Trim empty space on auth0 and microsoft logos 2021-07-09 18:31:52 +01:00
Budibase Release Bot 1f5b3b4467 v0.9.73 2021-07-09 17:29:06 +00:00
Kyle Harrison 2d451bb3a9 apply fixes for common spelling mistakes 2021-07-09 17:54:49 +01:00
Andrew Kingston aa2691a452 Merge pull request #1953 from Budibase/client-feature-flags
Client library updating and client library feature awareness
2021-07-09 16:52:45 +01:00
Andrew Kingston 4112049a17 Remove log statement, batch uploads and remove unecessary conditional 2021-07-09 16:42:09 +01:00
Rory Powell baaaf3f237 Update clientId -> clientID 2021-07-09 16:21:42 +01:00
Peter Clement 3867c63116 linting 2021-07-09 15:55:01 +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
Andrew Kingston 8cc67d815c Reload the client preview whenever client library version changes 2021-07-09 13:23:49 +01:00
Andrew Kingston 60987e3d5c Remove leftover code from testing 2021-07-09 12:42:48 +01:00
Andrew Kingston ef4a0f8c79 Bundle latest client library with the server and use it when updating apps in production 2021-07-09 12:33:09 +01:00
Peter Clement 005e0a2deb Update login page to support user based oidc icon and name 2021-07-09 09:49:34 +01:00
Peter Clement bcfbca0f08 Add oidc icon and name to public api for login page 2021-07-09 09:49:16 +01:00
Rory Powell a98ae5b367 Remove review comment 2021-07-09 09:37:52 +01:00
Rory Powell 73c8dcf71b Merge branch 'develop' into feature/oidc-support 2021-07-08 20:15:16 +01:00
Rory Powell 20b70a0445 Always maintain original user id. No longer remove old user during sync 2021-07-08 16:49:07 +01:00
Rory Powell faf711e092 sync third party profile on every login 2021-07-08 16:11:48 +01:00
Rory Powell 1c18b4c6ac remove duplicate scope definition
scope can be defined both within the strategy declaration or when invoking passport
2021-07-08 15:21:54 +01:00
Peter Clement 6be38bcefd Merge branch 'feature/oidc-support' of https://github.com/Budibase/budibase into oidc-config-management 2021-07-08 14:29:28 +01:00
Andrew Kingston bd27aa0caf Move standard components from server dev dependencies to real dependencies 2021-07-08 14:00:14 +01:00
Andrew Kingston 959405332d Add tests for updating and reverting client library version 2021-07-08 13:20:52 +01:00
Rory Powell c16cfc328f Linting 2021-07-08 13:12:25 +01:00
Rory Powell ec93d15462 Integrate with configuration ui / support for email usernames 2021-07-08 13:04:04 +01:00
Andrew Kingston 0ce553eaf2 Add endpoint to revert client app version 2021-07-08 12:56:54 +01:00
Andrew Kingston 4eb6d1e624 Fix modal flashing when reverting app version and fix version number being incorrect 2021-07-08 12:56:35 +01:00
Andrew Kingston a7a081da8c Add application/json as a known file type 2021-07-08 12:55:51 +01:00
Peter Clement cd1e5c8087 fixing conflict with OIDCButton 2021-07-08 12:36:09 +01:00
Rory Powell bf94125d33 Save email from third party user 2021-07-08 11:54:16 +01:00
Peter Clement b1c5b5cf35 Merge branch 'feature/oidc-support' of https://github.com/Budibase/budibase into oidc-config-management 2021-07-08 11:38:28 +01:00