Commit Graph

6900 Commits

Author SHA1 Message Date
Rory Powell 079e78b557 Merge master -> develop version bump 0.9.86 2021-07-29 10:55:31 +01:00
Budibase Staging Release Bot b90435756d v0.9.86-alpha.0 2021-07-29 09:19:25 +00:00
Budibase Release Bot 6f190345de v0.9.86 2021-07-29 09:17:21 +00:00
Martin McKeaveney fac820f204 fix mongo code review comment 2021-07-29 10:11:52 +01:00
Martin McKeaveney 44cdcdf38e
Merge pull request #1963 from faroutchris/feature/query-mongo-collection
Feature/query mongo collection
2021-07-29 10:10:52 +01:00
Martin McKeaveney f1fcbc22c6 merge with master 2021-07-29 10:06:33 +01:00
Budibase Release Bot 3b3211b978 v0.9.85 2021-07-28 21:57:53 +00:00
Martin McKeaveney 3736049f27 remove border around app 2021-07-28 22:50:27 +01:00
Budibase Staging Release Bot 64525c1804 v0.9.85-alpha.2 2021-07-28 21:46:10 +00:00
Martin McKeaveney b95fd7d623
Merge pull request #2157 from mslourens/update_app_role_bug
fix update role modal
2021-07-28 22:38:52 +01:00
Budibase Staging Release Bot 69e15d92c9 v0.9.85-alpha.1 2021-07-28 16:05:40 +00:00
Martin McKeaveney 3aa71591c6
Merge pull request #2135 from mslourens/renaming_an_app
rename an app
2021-07-28 16:58:08 +01:00
Maurits Lourens f2ee965ef0 fix update role modal 2021-07-28 17:56:52 +02:00
Martin McKeaveney d44119d3aa
Merge pull request #2154 from mslourens/duplicate_ui_conditions
add duplicate condition button
2021-07-28 16:56:51 +01:00
Maurits Lourens 7397822478 fix lint issue 2021-07-28 17:20:25 +02:00
Maurits Lourens 5f18c86d79 add duplicate condition button 2021-07-28 17:05:14 +02:00
Budibase Staging Release Bot 14cdb118f9 v0.9.85-alpha.0 2021-07-28 10:25:47 +00:00
Martin McKeaveney a42d922199 merge with master 2021-07-28 11:08:20 +01:00
Martin McKeaveney 9540cb1048
Merge pull request #2114 from mslourens/clear_form_action
Clear form action
2021-07-28 10:42:17 +01:00
Budibase Release Bot a804cabbe8 v0.9.84 2021-07-28 09:34:03 +00:00
Budibase Staging Release Bot c26854f7ed v0.9.83-alpha.1 2021-07-28 09:32:28 +00:00
Maurits Lourens b27c8843c2 revert change to event dispatcher 2021-07-28 11:30:57 +02:00
Martin McKeaveney 240c80525a
Merge pull request #2131 from mslourens/automation_live_toggle
convert automation icons into toggle
2021-07-28 10:24:52 +01:00
Maurits Lourens 5efc80b859 fix lint issues 2021-07-28 10:19:10 +02:00
Maurits Lourens a17077b25a replace spaces with underscores in screen routes 2021-07-28 09:09:37 +02:00
Maurits Lourens 3e88d6103d fix lint issue 2021-07-28 00:09:15 +02:00
Maurits Lourens 9753783866 fix lint issue 2021-07-28 00:06:03 +02:00
Maurits Lourens 8c4333f4ca fix cypress test 2021-07-27 23:48:06 +02:00
Maurits Lourens cd4d40fb47 fix lint issue 2021-07-27 21:19:31 +02:00
mike12345567 a21fd3e0ee Limiting use of query string to a few select endpoints for determining tenant ID. 2021-07-27 18:02:59 +01:00
mike12345567 9174615821 Fixing an issue where you could accidentally end up on org/admin page due to the reactivity statements firing all the time. 2021-07-27 17:56:39 +01:00
Budibase Release Bot fa307c9a59 v0.9.83 2021-07-27 16:13:27 +00:00
Maurits Lourens f2b1125e0b rename an app 2021-07-27 17:34:18 +02:00
mike12345567 b73b20cdbb Linting. 2021-07-27 16:24:39 +01:00
mike12345567 fb562908ee Fixing some issues with public endpoints causing logout loop. 2021-07-27 16:17:02 +01:00
Budibase Staging Release Bot 01a1fce0f8 v0.9.83-alpha.0 2021-07-27 14:50:45 +00:00
Martin McKeaveney bc9571c35a fix build 2021-07-27 15:40:00 +01:00
mike12345567 1df08ffe35 Fixing some issues with org not being correctly detected. 2021-07-27 15:35:26 +01:00
Maurits Lourens 0c006e1339 convert automation icons into toggle 2021-07-27 14:29:06 +02:00
Martin McKeaveney 30be2a00fa Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-27 12:03:20 +01:00
Budibase Release Bot 10180ba277 v0.9.82 2021-07-27 11:01:29 +00:00
Martin McKeaveney e7153277fb merge 2021-07-27 11:58:41 +01:00
mike12345567 e2e796cd9d Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-27 10:32:18 +01:00
Budibase Release Bot 03acad2d89 v0.9.81 2021-07-27 09:20:57 +00:00
Budibase Staging Release Bot 2ecb2de1d2 v0.9.80-alpha.9 2021-07-27 09:11:15 +00:00
Budibase Release Bot 805464b474 v0.9.80 2021-07-27 09:07:05 +00:00
Andrew Kingston 919368db05
Merge pull request #2115 from Budibase/conditional-ui
Conditional UI
2021-07-27 10:02:22 +01:00
Budibase Staging Release Bot 0dbec1f1a4 v0.9.80-alpha.8 2021-07-26 21:20:37 +00:00
Martin McKeaveney b8698c45cc rimraf command for windows machines when building server 2021-07-26 17:13:13 +01:00
Maurits Lourens 01d9a86946 fix lint issue 2021-07-26 17:47:53 +02:00
mike12345567 2f225a4448 Adding ability to disable/enable multi-tenancy flags easily. 2021-07-26 16:17:56 +01:00
Maurits Lourens e2de45db23 implement review comments 2021-07-26 17:01:29 +02:00
Maurits Lourens d485e95e7b fix lint issues 2021-07-26 15:22:14 +02:00
Maurits Lourens aea2de9058 Merge branch 'develop' into clear_form_action
# Conflicts:
#	packages/client/src/utils/buttonActions.js
2021-07-26 15:13:10 +02:00
Andrew Kingston 083d05f389 Fix same svelte-dnd-action drag error for navigation editor 2021-07-26 14:11:30 +01:00
Andrew Kingston 3d21286aaf Fix svelte-dnd-action throwing an error when interacting with a spectrum field inside a draggable 2021-07-26 14:09:14 +01:00
Maurits Lourens 82cc14ed53 clear form action - adjust manifest and add settings form 2021-07-26 15:05:22 +02:00
mike12345567 5343a8b071 Removing un-necessary log statements. 2021-07-26 13:40:50 +01:00
mike12345567 61c8f2935b 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 669685580f Linting. 2021-07-26 13:20:42 +01:00
mike12345567 5c58630ed7 Fixing up everything found when testing with Cypress. 2021-07-26 13:19:47 +01:00
Andrew Kingston caccba8fd8 Simplify logic for determine default visibility for a conditional UI component 2021-07-26 13:16:45 +01:00
Andrew Kingston 118141aca2 Lint 2021-07-26 13:10:00 +01:00
Andrew Kingston 2671d02cf4 Fix crash when building lucene query with a bool value already as a bool type 2021-07-26 13:08:22 +01:00
Andrew Kingston bbcc350b14 Merge branch 'develop' of github.com:Budibase/budibase into conditional-ui 2021-07-26 13:04:08 +01:00
Maurits Lourens 35d5a2d082 clear form action - draft 2021-07-26 13:58:18 +02:00
Andrew Kingston 5094e5814e Fix bug with resetting operators when an incompatible value type is chosen 2021-07-26 12:56:47 +01:00
Andrew Kingston 41953e049d Add full type support to conditional UI 2021-07-26 12:52:55 +01:00
Andrew Kingston 6ff8cb0579 Treat fuzzy search as starts with when operating locally 2021-07-26 12:52:31 +01:00
Budibase Staging Release Bot eaf656a85d v0.9.80-alpha.7 2021-07-26 09:34:02 +00:00
Michael Drury c3bf5b0a66
Merge pull request #2087 from Budibase/fix/log-out-action
Logout button handler
2021-07-26 10:24:59 +01:00
Budibase Staging Release Bot 9b0daf925c v0.9.80-alpha.6 2021-07-26 08:23:08 +00:00
Rory Powell fbb01d2284
Merge pull request #2110 from mslourens/bug/automate_setup_menu
Automate setup menu
2021-07-26 09:15:45 +01:00
Maurits Lourens 0e265a75cf fix overflow in automation setup menu for large tables 2021-07-26 10:01:02 +02:00
Budibase Staging Release Bot ef396a1a48 v0.9.80-alpha.5 2021-07-26 07:42:30 +00:00
Rory Powell eed5ca5ce2 Add dedicateed renderer for roles tags 2021-07-25 21:14:49 +01:00
Andrew Kingston de9f60c986 Redirect to login screen on client logout to prevent viewing public pages if they exist 2021-07-25 13:47:28 +01:00
Andrew Kingston 59bfba4331 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 7107b6aff3 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 3b3b90c721 v0.9.80-alpha.4 2021-07-25 11:22:12 +00:00
Michael Drury 4875488ccd
Merge pull request #2086 from Budibase/fix/edit-roles-modal
Fixes for issue #2077
2021-07-25 12:14:31 +01:00
Michael Drury a824746df9 Linting. 2021-07-25 12:09:50 +01:00
Michael Drury 48f797185c Adding back logout functionality. 2021-07-25 12:07:25 +01:00
Budibase Staging Release Bot ef3ee02885 v0.9.80-alpha.3 2021-07-25 10:58:35 +00:00
Michael Drury 5fee80d049 Linting. 2021-07-25 11:48:13 +01:00
Michael Drury 72e392608d Adding checks around the edit roles modal. 2021-07-25 11:46:40 +01:00
Michael Drury 3cadb0bbd9
Merge branch 'develop' into new_roles_bug 2021-07-25 11:07:25 +01:00
Budibase Staging Release Bot 88dbb17af0 v0.9.80-alpha.2 2021-07-24 11:22:42 +00:00
Andrew Kingston fdb11e102f
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 121a1434da display role names instead of _id 2021-07-23 23:27:38 +02:00
mike12345567 e76c44000b Fixing test case. 2021-07-23 20:08:16 +01:00
mike12345567 cfea184633 Linting. 2021-07-23 20:03:11 +01:00
mike12345567 a384cc059d Changing how apps are retrieved to be more efficient. 2021-07-23 20:01:53 +01:00
mike12345567 19ad28a491 Adding mechanism for lookup of userId/email to tenantId. 2021-07-23 19:22:04 +01:00
Budibase Staging Release Bot 88b53b34a0 v0.9.80-alpha.1 2021-07-23 17:41:06 +00:00
Rory Powell 51a1cd5f43 Fix staging version 2021-07-23 18:31:45 +01:00
Budibase Staging Release Bot dcec1accc2 v0.9.79-alpha.5 2021-07-23 16:55:34 +00:00
mike12345567 7fe7ca9411 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 17:52:30 +01:00
mike12345567 93f5419072 Adding use of the tenancy ID. 2021-07-23 17:41:00 +01:00
mike12345567 f86aa0ac78 Removing accidental symbols. 2021-07-23 17:26:54 +01:00
mike12345567 e4eb2d34b2 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 17:20:41 +01:00
Budibase Staging Release Bot c2cd7f639c v0.9.79-alpha.4 2021-07-23 16:13:42 +00:00
Budibase Release Bot 7ec521c0e9 v0.9.79 2021-07-23 16:08:58 +00:00
mike12345567 36e1ddf423 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-23 17:02:33 +01:00
mike12345567 68a2f9835e 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 91fe930b7e v0.9.79-alpha.3 2021-07-23 15:46:11 +00:00
mike12345567 3e8d7a8ae2 Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 16:11:05 +01:00
mike12345567 b5d7e76ec2 Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 16:10:59 +01:00
Rory Powell 34035abac8 Default google activated form toggle to true for older configs 2021-07-23 16:02:38 +01:00
Andrew Kingston 78dc524f79 Fix setVersion not returning itself to restore builder syntax compatibility 2021-07-23 15:57:50 +01:00
Andrew Kingston 143135151a Send api version as header with every request from client library 2021-07-23 15:56:18 +01:00
Andrew Kingston 0845bde7b4 Add missing version to paginated search endpoint 2021-07-23 15:55:58 +01:00
Rory Powell d7bbae9196 Require https callback in production, allow for http otherwise 2021-07-23 15:47:48 +01:00
Andrew Kingston 8301bcc0cb Fix svelte keying of component settings blocks 2021-07-23 15:44:35 +01:00
Andrew Kingston 4fd293063e Enrich button actions nested inside conditions 2021-07-23 15:44:16 +01:00
Andrew Kingston d53cc48338 Remove hardcoded colours from BBUI modal component 2021-07-23 15:43:44 +01:00
mike12345567 9f06b180a8 Adding concept of version to APIs. 2021-07-23 15:29:14 +01:00
Budibase Staging Release Bot e45a6f6778 v0.9.79-alpha.2 2021-07-23 14:05:23 +00:00
Rory Powell 0073b554d4
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 8a77947a01 Linting 2021-07-23 14:42:28 +01:00
Rory Powell b5c12e6265 Mark google activated by default for old configs 2021-07-23 14:40:22 +01:00
mike12345567 bf4fb71257 Updating to use default false for search pre-processing. 2021-07-23 13:44:46 +01:00
mike12345567 e96f45464a Updating internal search to disable features were required. 2021-07-23 13:29:50 +01:00
mike12345567 4fbe37ff0e Removing optional chaining, not valid in Node. 2021-07-23 13:07:10 +01:00
Budibase Staging Release Bot 5ef00cd2a4 v0.9.79-alpha.1 2021-07-23 11:08:21 +00:00
Rory Powell af28a7ed6b Mark google activated by default for old configs 2021-07-23 11:38:17 +01:00
Budibase Staging Release Bot c71d8a4f42 v0.9.79-alpha.0 2021-07-23 09:37:21 +00:00
mike12345567 1153001af8 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
Andrew Kingston 24f6adbcca Add initial work on dynamically updating any setting via conditional UI 2021-07-22 19:19:37 +01:00
Andrew Kingston 89f05eb5b1 Merge branch 'develop' of github.com:Budibase/budibase into conditional-ui 2021-07-22 18:16:03 +01:00
Andrew Kingston c67e47d7ab Use tableId parameter when saving rows from button action 2021-07-22 16:50:35 +01:00
mike12345567 8bf275ca44 Linting. 2021-07-22 16:37:50 +01:00
mike12345567 0473c295d3 Changing how flags are handled. 2021-07-22 16:36:21 +01:00
Andrew Kingston a5e27e1387 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 f2e713f5af Adding fallbacks for oidc and google. 2021-07-22 15:26:14 +01:00
mike12345567 853b7b6fdc Linting. 2021-07-22 14:29:30 +01:00
mike12345567 8775ea7fd9 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-22 14:27:12 +01:00
mike12345567 190798d4ee Swapping admin -> global in worker to reduce confusion in API url naming. 2021-07-22 12:56:47 +01:00
Kevin Åberg Kultalahti eb1b5c0fe0
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 9e34886267 simplify check 2021-07-22 12:41:02 +02:00
Keviin Åberg Kultalahti bf76fda1d5 uses db to store feedback submissions status 2021-07-22 12:38:46 +02:00
Keviin Åberg Kultalahti 7f89d3c357 adds close button to feedback form component 2021-07-22 12:07:38 +02:00
mike12345567 8121528f76 Linting. 2021-07-21 18:24:58 +01:00
mike12345567 82465bdf7a Adding query string functionality to skip org setup. 2021-07-21 18:23:49 +01:00
mike12345567 e62c858a8d Adding mechanism to disable org functionality when multi-tenancy disabled. 2021-07-21 17:52:42 +01:00
Andrew Kingston e44a82bb72 Set default getOptionIcon prop in core Picker to avoid crash 2021-07-21 14:35:55 +01:00
Andrew Kingston c48300b159 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 e02f4c839e Remove icon from definition of fields to avoid icon issues 2021-07-21 14:25:02 +01:00
Andrew Kingston e721d4e01d Add initial work on evaluation of conditional UI conditions in client library 2021-07-21 14:03:49 +01:00
Keviin Åberg Kultalahti 7755a0092c update transitions to match modal component 2021-07-21 13:13:36 +02:00
Keviin Åberg Kultalahti 467abd7270 design fixes 2021-07-21 13:08:55 +02:00
Keviin Åberg Kultalahti 101547e21d add larger min-height to textarea 2021-07-21 12:55:26 +02:00
Keviin Åberg Kultalahti bb32c82e6c fix erroneous title in feedback form 2021-07-21 12:51:06 +02:00
mike12345567 29efa60eab Adding change org button to login page. 2021-07-21 11:47:47 +01:00
Keviin Åberg Kultalahti 7879fdf7e5 move cookie updating to the NPS component 2021-07-21 12:36:04 +02:00
Keviin Åberg Kultalahti 43aa884008 remove old feedback stuff 2021-07-21 12:31:06 +02:00
Keviin Åberg Kultalahti bd1248d2b1 lint fix 2021-07-21 12:30:36 +02:00
Keviin Åberg Kultalahti e2bafb07e8 Merge branch 'develop' into feature/nps-feedback-form 2021-07-21 12:29:12 +02:00
Keviin Åberg Kultalahti b108dc79ac Adds last bits to NPS feedback form 2021-07-21 12:28:38 +02: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 fba64c773e Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-21 10:40:10 +01:00
Andrew Kingston 63bbc22251 Move lucene options into common file and add initial work on conditional UI components 2021-07-21 08:46:02 +01:00
mike12345567 e3744c0b20 Linting and adding tenancy API. 2021-07-20 18:03:16 +01:00
mike12345567 e98965a805 Fixing callback URLs. 2021-07-20 17:57:07 +01:00
mike12345567 7afce332c8 Fixing some issues discovered with logging in. 2021-07-20 17:46:41 +01:00
mike12345567 2182645339 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-20 15:56:12 +01:00
Andrew Kingston cb3211beb3 Merge branch 'develop' of github.com:Budibase/budibase into drawer-improvements 2021-07-20 14:39:55 +01:00
Andrew Kingston 0295d61b1b Fix padding on some drawer content components 2021-07-20 14:38:35 +01:00
Andrew Kingston c1d4a415f9 Update events editor and action components with new drawer styles 2021-07-20 14:34:27 +01:00
Peter Clement 32b2093cff Merge remote-tracking branch 'origin/develop' into oidc-config-management 2021-07-20 12:57:58 +01:00
Peter Clement 1f13a9619c fix save button 2021-07-20 12:30:11 +01:00
Andrew Kingston ee84cdcbdf Update drawer components to work with new styles 2021-07-20 10:58:07 +01:00
Peter Clement def2a31e75 only enable form save button when config has changed 2021-07-20 10:55:39 +01:00
Andrew Kingston d58d977cd0 Update navigation link editor drawer to work with new drawer styles 2021-07-20 10:52:46 +01:00
Peter Clement 6dce0a88a4 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 99fe16d169 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-19 17:35:48 +01:00
mike12345567 63dba7b574 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-19 16:24:19 +01:00
Budibase Release Bot f518890ae0 v0.9.78 2021-07-19 14:23:03 +00:00
mike12345567 2bee1b6b56 Linting. 2021-07-19 14:32:14 +01:00
mike12345567 85f7b056d2 Fixing an issue with lucene equality searching, strings weren't handled correctly. 2021-07-19 14:31:06 +01:00
mike12345567 8241df2581 Fixing some tenancy issues. 2021-07-19 12:57:52 +01:00
mike12345567 1252fbdf38 Changing how automations handle multi-tenancy. 2021-07-19 10:59:34 +01:00
Keviin Åberg Kultalahti ba22156bd8 implements nps form component 2021-07-19 09:28:34 +02:00
Budibase Release Bot 49f1c20f17 v0.9.77 2021-07-16 18:52:46 +00:00
Michael Drury db559e738b Fixing issue with update row after rows API changed. 2021-07-16 19:13:44 +01:00
mike12345567 4a192b5a4b Linting. 2021-07-16 18:26:17 +01:00
mike12345567 c248844a24 Adding organisation page. 2021-07-16 18:24:32 +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 f0f9736c0b Updating auth to utilise the tenant system. 2021-07-16 15:08:58 +01:00
Peter Clement 3fbd762979 More error handling around config saving 2021-07-16 14:07:48 +01:00
Peter Clement 2afb6ffe2d Better error handling around config saving 2021-07-16 10:51:58 +01:00
Rory Powell f1d8b5516e Add Okta and OneLogin logos 2021-07-16 10:15:38 +01:00
Budibase Release Bot 5b2c463ebf v0.9.76 2021-07-15 23:23:00 +00:00
Andrew Kingston 53f4d6b790 Remove padding from empty layouts and add option for full width layout content 2021-07-16 00:14:44 +01:00
mike12345567 5ffe3c7935 First version of multi-tenancy, work still to be done. 2021-07-15 17:57:02 +01:00
Rory Powell 25fdde6d21 Default public config.config when missing 2021-07-15 16:50:57 +01:00
Rory Powell 833e3cb3bf Merge branch 'feature/oidc-support' of github.com:Budibase/budibase into feature/oidc-support 2021-07-15 16:21:03 +01:00
Rory Powell 70601b7cc5 Store OIDC config in cookie instead of URL 2021-07-15 16:20:31 +01:00
Peter Clement 4e75b7f4c9 add new logic to support oauth and oidc buttons 2021-07-15 15:49:10 +01:00
Rory Powell 90c0e7b2c1 Merge branch 'develop' into feature/oidc-support 2021-07-15 14:05:30 +01:00
Rory Powell 9e24bc14e7 Add database test configuration to auth package 2021-07-15 12:55:35 +01:00
Budibase Release Bot fb334c6f15 v0.9.75 2021-07-15 10:12:28 +00:00
Michael Drury 4101c45c4b
Merge pull request #1989 from Budibase/fix/email-explanation
Email template descriptions/information
2021-07-15 11:04:36 +01:00
mike12345567 6aaef0e230 Fixing deployment issue. 2021-07-14 17:51:35 +01:00
mike12345567 f2c2ead3fc 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 121a8e5e9a Auto generate callback url and supply id on login 2021-07-14 16:21:17 +01:00
Rory Powell 356a765c92 Invert logos config naming to prevent conflict 2021-07-14 15:48:29 +01:00
Andrew Kingston 65acfe21f3 Update styles of modal bindable input 2021-07-14 15:46:47 +01:00
Andrew Kingston bddb6591d6 Update styles of server binding panel used for formula fields and automation bindings 2021-07-14 15:46:31 +01:00
Andrew Kingston 6b2ffaa273 Use automation block title in drawer for automation bindings 2021-07-14 15:46:00 +01:00
Andrew Kingston e894bb5ddc Disable save button in drawerbindableinput when syntax is invalid 2021-07-14 15:45:05 +01:00
Andrew Kingston deb0b2998f Update drawer styles, drawer bindable inputs and settings bindable inputs 2021-07-14 14:21:11 +01:00
Rory Powell 3704c75af9 Casing change to config checklist 2021-07-14 14:13:04 +01:00
mike12345567 ccb0e1b354 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-14 13:54:39 +01:00
mike12345567 cb1514cb1a Merge branch 'master' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-14 13:53:57 +01:00
mike12345567 1fa0b3f204 Rewording email template descriptions. 2021-07-14 13:24:46 +01:00
mike12345567 da5024633b Linting. 2021-07-14 13:18:27 +01:00
mike12345567 3f56a316c5 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 ab1a10dd1b Fix config form saving bugs 2021-07-13 21:47:36 +01:00
Budibase Release Bot be0559606a v0.9.74 2021-07-13 16:53:42 +00:00
Rory Powell aa31ed8261 Merge branch 'feature/oidc-support' of github.com:Budibase/budibase into feature/oidc-support 2021-07-13 17:33:08 +01:00
Rory Powell 8f8d0008df Update OAuth -> Authentication header 2021-07-13 17:32:57 +01:00
Peter Clement 86a421646d Add UUID to each oidc config to distinguish each provider 2021-07-13 17:32:08 +01:00
Rory Powell fef63a1b8e Update config checklist to handle multiple sso sources 2021-07-13 17:30:17 +01:00
mike12345567 d17456bacf Linting. 2021-07-13 17:28:05 +01:00
mike12345567 e296a67b50 Renaming groups to workspaces. 2021-07-13 17:27:04 +01:00
Martin McKeaveney eba8f104fd fix postgres query array value 2021-07-13 17:11:11 +01:00
Rory Powell 40013d45c3 Load oidc config by id 2021-07-13 17:07:48 +01:00
Rory Powell fe5a81efbc Update reference to microsoft logo to use most recent name 2021-07-13 16:35:54 +01:00
Rory Powell 83bf736f07 Remove reference to oracle logo to fix build 2021-07-13 16:24:30 +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 ca0f74eee8 improve structure of OIDC config 2021-07-13 14:55:14 +01:00
Rory Powell 0982968f79 Setup common test data 2021-07-13 12:08:58 +01:00
Rory Powell 62533e40d7 Add jest to auth package devDependencies 2021-07-13 10:49:27 +01:00
Rory Powell 4c9308462e Remove redundant check on requireLocalAccount 2021-07-13 10:46:27 +01:00
Rory Powell 1a7619367b Refactor auth controller tests to reuse common behaviour 2021-07-13 10:28:15 +01:00
Rory Powell d25d9edda1 Test google auth strategy 2021-07-13 10:17:14 +01:00
Rory Powell 4f397740e0 Add jest to auth package + test oidc strategy 2021-07-13 10:02:08 +01:00
Andrew Kingston 0cf5f4dc3d
Merge pull request #1969 from Budibase/empty-layout-tweaks
Empty layout tweaks
2021-07-12 19:17:41 +01:00
mike12345567 c6d80e2265 Adding float type to MySQL. 2021-07-12 11:10:11 +01:00
mike12345567 dc32c90aaa 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 742402f4c7 merge with master 2021-07-11 18:07:46 +01:00
Rory Powell e1bea33d9a Unit test auth controller oidc functions 2021-07-11 17:54:18 +01:00
Andrew Kingston 05a06bc38a Remove padding from empty layouts and add option for full width layout content 2021-07-10 11:56:32 +01:00
Christo 4b48ea94e4 Test: Add some basic tests for mongodb queries 2021-07-09 20:08:26 +02:00
Rory Powell 2e55e03571 Trim empty space on auth0 and microsoft logos 2021-07-09 18:31:52 +01:00
Budibase Release Bot 3b07d3143b v0.9.73 2021-07-09 17:29:06 +00:00
Christo c6b1ea9a0f Feat: Add collection fields as "extra" query config for MongoDB 2021-07-09 19:28:46 +02:00
Kyle Harrison b4afda7b09 apply fixes for common spelling mistakes 2021-07-09 17:54:49 +01:00
Andrew Kingston a9d4f09782
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 efb0c60464 Remove log statement, batch uploads and remove unecessary conditional 2021-07-09 16:42:09 +01:00
Rory Powell 97a62594ed Update clientId -> clientID 2021-07-09 16:21:42 +01:00
Peter Clement 09b148e2c8 linting 2021-07-09 15:55:01 +01:00
Peter Clement de075a7549 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 4ae29f6b54 Fix bug where OIDC icon was not being displayed due to misconfiguration 2021-07-09 14:18:03 +01:00
Andrew Kingston dbac6d5988 Reload the client preview whenever client library version changes 2021-07-09 13:23:49 +01:00
Andrew Kingston a74d2a8040 Remove leftover code from testing 2021-07-09 12:42:48 +01:00
Andrew Kingston 986785cacf 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 38a00ba50e Update login page to support user based oidc icon and name 2021-07-09 09:49:34 +01:00
Peter Clement 80a35d6ef0 Add oidc icon and name to public api for login page 2021-07-09 09:49:16 +01:00
Rory Powell 94aa6b3711 Remove review comment 2021-07-09 09:37:52 +01:00
Rory Powell 63b13fc360 Merge branch 'develop' into feature/oidc-support 2021-07-08 20:15:16 +01:00
Rory Powell 87f05e7d06 Always maintain original user id. No longer remove old user during sync 2021-07-08 16:49:07 +01:00
Rory Powell 8bea18e696 sync third party profile on every login 2021-07-08 16:11:48 +01:00
Rory Powell 7db8658518 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 883e07491b 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 6d0125540d Move standard components from server dev dependencies to real dependencies 2021-07-08 14:00:14 +01:00
Andrew Kingston 567d8577ba Add tests for updating and reverting client library version 2021-07-08 13:20:52 +01:00
Rory Powell db9078cebe Linting 2021-07-08 13:12:25 +01:00
Rory Powell aa601f3701 Integrate with configuration ui / support for email usernames 2021-07-08 13:04:04 +01:00
Andrew Kingston 6716bf2da1 Add endpoint to revert client app version 2021-07-08 12:56:54 +01:00
Andrew Kingston 888323dd7e Fix modal flashing when reverting app version and fix version number being incorrect 2021-07-08 12:56:35 +01:00
Andrew Kingston 08578af4ba Add application/json as a known file type 2021-07-08 12:55:51 +01:00
Peter Clement 6a3367389d fixing conflict with OIDCButton 2021-07-08 12:36:09 +01:00
Rory Powell ef8b9b40c1 Save email from third party user 2021-07-08 11:54:16 +01:00
Peter Clement fcb4518f25 Merge branch 'feature/oidc-support' of https://github.com/Budibase/budibase into oidc-config-management 2021-07-08 11:38:28 +01:00
Peter Clement b86691f7ef fix issue where oidc config form was not loading due to oidc_logos being undefined 2021-07-08 11:15:22 +01:00
Rory Powell 238d31e922 Merge branch 'feature/oidc-support' of github.com:Budibase/budibase into feature/oidc-support 2021-07-08 11:12:45 +01:00
Rory Powell 5ec79acabf Merge google/oidc user authentication and surface user relevant error messages during authentication 2021-07-08 11:12:34 +01:00
mike12345567 2bee348721 Fixing test cases. 2021-07-08 00:30:55 +01:00
mike12345567 2fc606f5b5 Linting. 2021-07-07 23:30:14 +01:00
mike12345567 cc67e2caa6 Adding sessions API. 2021-07-07 23:29:19 +01:00
mike12345567 278d984006 Changing budibase -> internal/csv in datasource menu. 2021-07-07 17:46:39 +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 02df5960c2 Add OIDC icon to login page 2021-07-07 17:39:26 +01:00
Andrew Kingston c1432ee8ec Add UI to revert app version and initial work on app revert backend 2021-07-07 17:35:28 +01:00
mike12345567 34143a76a8 Merge branch 'feature/plus-table-internal' of github.com:Budibase/budibase into feature/user-session 2021-07-07 17:32:09 +01:00
mike12345567 4d0425b19f Internal table detail screens should still have limit one. 2021-07-07 17:31:03 +01:00
mike12345567 1c7f47dbf2 Merge branch 'feature/plus-table-internal' of github.com:Budibase/budibase into feature/user-session 2021-07-07 17:22:50 +01:00
mike12345567 900ed2334c Inverting logic as the type isn't always internal. 2021-07-07 17:21:56 +01:00
mike12345567 7581360e9e Merge branch 'develop' of github.com:Budibase/budibase into feature/user-session 2021-07-07 17:17:16 +01:00
mike12345567 79b7747714 Fixing session issues after testing a bit. 2021-07-07 17:15:53 +01:00
mike12345567 3ab4a5d83c Making it possible to create an internal table from the plus symbol. 2021-07-07 17:13:04 +01:00
mike12345567 b8928077e2 Making it possible to create an internal table from the plus symbol. 2021-07-07 17:12:13 +01:00
Andrew Kingston a6b5861cbc Add client libary update management from inside the builder 2021-07-07 17:07:42 +01:00
Andrew Kingston 948ad092e5 Fix crash when referencing a component definition that doesn't exist 2021-07-07 17:07:16 +01:00
Peter Clement 8426ffc036 Fix for icon upload issue 2021-07-07 16:18:18 +01:00
Rory Powell 1c39c2f063 Fallback to ID token to retrieve email when not available in passport profile (oidc userinfo) 2021-07-07 14:58:14 +01:00
Andrew Kingston b8d1809a2c Use client feature flags to conditionally show theme picker 2021-07-07 13:55:05 +01:00
Andrew Kingston db276468aa Use client features to determine when to show client preview on initial load 2021-07-07 13:54:44 +01:00
Andrew Kingston 7040ee48f4 Store client features in frontend store 2021-07-07 13:54:21 +01:00
Andrew Kingston 54236ee031 Add feature flags to manifest 2021-07-07 13:53:59 +01:00
Peter Clement b5f398da4d Allow user uploaded icons in oidc config 2021-07-07 13:41:09 +01:00
Rory Powell 42c8526ac2 Add info to 403 responses 2021-07-07 13:28:55 +01:00
Andrew Kingston 4dec87795a Update develop with master bugfix and add comments to explain loading events 2021-07-07 13:21:30 +01:00
Budibase Release Bot 4afd6f4fbe v0.9.72 2021-07-07 12:19:03 +00:00
Andrew Kingston bf6762dd66 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 13:16:26 +01:00
Andrew Kingston 4b4610f581 Fix iframe preview loading bug in old client library versions 2021-07-07 13:09:33 +01:00
Budibase Release Bot cdd85c4d11 v0.9.71 2021-07-07 10:52:11 +00:00
Andrew Kingston 70d29c32f8 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 11:48:38 +01:00
Andrew Kingston 19f2a2067e Improve handling of permission issues and routing issues, and add an error fallback message 2021-07-07 11:29:35 +01:00
Andrew Kingston 1ef2820b5d Expose the screens and layouts from the screen store in the client library 2021-07-07 11:28:53 +01:00
Andrew Kingston b6c6dba721 Don't attempt to enrich a user object whenever the role is PUBLIC to avoid 403s 2021-07-07 11:28:35 +01:00
Andrew Kingston 8c39c4792d Add error handling to builder preview and loading indicator 2021-07-07 11:10:23 +01:00
Andrew Kingston 7b841e709a Mock redis shutdown method to avoid errors 2021-07-07 09:34:56 +01:00
Andrew Kingston e00a37d707 Only clean up app tmp dir if it exists during testing 2021-07-07 09:34:40 +01:00
Andrew Kingston 8f97ea3771 Swap row and column icons 2021-07-07 09:28:11 +01:00
Martin McKeaveney e9d6ddb571 typo 2021-07-06 18:56:41 +01:00
Martin McKeaveney dbef8077f0 better naming, filter out public from inheritable roles 2021-07-06 18:55:34 +01:00
Martin McKeaveney da800dd3fc prevent editing public role in apps 2021-07-06 18:54:08 +01:00
Martin McKeaveney 93b562e2df make logged in users basic by default, prevent allowing users to be assigned as default in the UI 2021-07-06 18:43:04 +01:00
Andrew Kingston eb620ea3ce Add basic fallback error to real apps when client library fails to load 2021-07-06 18:37:21 +01:00
Andrew Kingston 0381204855 Don't reload client app on 403, just show an error instead 2021-07-06 18:37:06 +01:00
mike12345567 36c0e45761 WIP - first version of user sessions. 2021-07-06 18:10:04 +01:00
Martin McKeaveney 6af078a546 public role in builder backend UI 2021-07-06 17:19:53 +01:00
Martin McKeaveney 561f824606 default to public in UI 2021-07-06 17:19:03 +01:00
Martin McKeaveney 4e8b140c52 default users without roles to public role 2021-07-06 17:13:02 +01:00
Andrew Kingston bd6de7fe31 Remove redirect when user only has access to one app 2021-07-06 17:00:44 +01:00
Michael Drury 659d42311c
Merge pull request #1932 from Budibase/fix/sql-relationship-validation
Adding validation to SQL relationship modal
2021-07-06 15:55:41 +01:00
Andrew Kingston c4b7428aed Avoid filter editor sending a prop change when filter is not an array, which was causing extra 409s and causing issues with tables 2021-07-06 15:55:02 +01:00
Andrew Kingston 4bc1938966 Fix data provider filtering on datetime fields 2021-07-06 15:54:25 +01:00
Andrew Kingston 83a91a8943 Fix bug with tabs causing them to broadcast a change event on mount 2021-07-06 15:53:52 +01:00
mike12345567 fd6080b39e Making sure that keys cannot be duplicated for primary keys, this wouldn't have any function. 2021-07-06 15:45:14 +01:00
mike12345567 a9c6b10560 Quick fix, make sure auto-columns never sent to DB. 2021-07-06 13:55:05 +01:00
mike12345567 6e33ab581b Linting. 2021-07-06 13:11:29 +01:00
mike12345567 b7a5476135 Don't allow foreign key to be the primary key of a row (this would break things). 2021-07-06 13:10:02 +01:00
mike12345567 568128479f Linting. 2021-07-06 12:59:55 +01:00
mike12345567 478a851956 Adding validation to the SQL relationship creation modal. 2021-07-06 12:58:36 +01:00
Andrew Kingston dfc499c034 Fix data provider filtering on datetime fields 2021-07-06 12:01:01 +01:00
Andrew Kingston 50d59924ad
Merge pull request #1918 from Budibase/spectrum-apps
Spectrum themed apps
2021-07-06 11:43:52 +01:00
Rory Powell 0745eedbcc Improve error handling on openid-configuration request 2021-07-06 10:03:40 +01:00
Rory Powell 624dd20522 Use configuration url to retrieve oidc endpoints
The /.well-known/openid-configuration endpoint can be used to
retrieve the majority of configuration needed for oidc

Additionally refactor the callback url to be generated on the server
side as this is a fixed endpoint.

Add linting fixes
2021-07-06 10:03:40 +01:00
Bernhard Hayden 65c436145a Proof of concept OIDC implementation 2021-07-06 10:03:40 +01:00
Andrew Kingston fe62356808 Remove inline-block from links as it is not needed 2021-07-06 09:24:02 +01:00
mike12345567 6a8fd12805 Linting. 2021-07-05 18:16:04 +01:00
mike12345567 4e4b8f244e Giving the system the ability to make auto increment columns auto-columns in postgres or mysql. 2021-07-05 18:11:23 +01:00