Commit Graph

253 Commits

Author SHA1 Message Date
Peter Clement 5ca4da1146 check tables can be fetched before saving config 2021-09-28 12:25:57 +01:00
Andrew Kingston 6109a2983b Fix huge amount of bugs with data UI state, URL parameters and state/URL sync 2021-09-27 18:25:19 +01:00
Andrew Kingston 6d545c6a27 Merge branch 'develop' of github.com:Budibase/budibase into ak-fixes 2021-09-23 09:18:52 +01:00
Martin McKeaveney 398a82f1a7 lint 2021-09-22 12:26:02 +01:00
Martin McKeaveney 9196ae8edb account for user size in intercom 2021-09-22 09:38:32 +01:00
Martin McKeaveney b4f9fd4f12 changed events to constants, instantiated analytics client at right time 2021-09-21 20:21:15 +01:00
Andrew Kingston 216a7c7a3f Ensure datasource containing the currently selected table is always expanded 2021-09-21 17:21:25 +01:00
Andrew Kingston a59c2db8ea Merge branch 'master' of github.com:Budibase/budibase into develop 2021-09-20 10:33:18 +01:00
Andrew Kingston a17bdc3243 Update app ID parsing to be able to account for new tenant ID's and fix crash whenever a dev counterpart doesn't exist for a published app 2021-09-20 09:58:38 +01:00
Rory Powell 9433a1e360 Redirect to account portal login page in the cloud 2021-09-14 14:18:13 +01:00
Rory Powell 3ab39d1a1b Replace 'sandbox' with 'cloud' in builder, reuse 'SELF_HOSTED' flag 2021-09-14 13:03:38 +01:00
Andrew Kingston b04d983252 Fix bug with determining checklist progress 2021-09-10 08:25:30 +01:00
Maurits Lourens a3065bca36 fix tests 2021-09-06 17:55:19 +02:00
Maurits Lourens 01f3851c9a add link to checklist items for direct navigation (and lint issues) 2021-09-06 15:16:21 +02:00
Martin McKeaveney f0bebb036a
Revert "Filter users table out of DataSource component and NewScreenModal" 2021-08-26 10:11:48 +01:00
Maurits Lourens b1721adf04 Filter users table out of DataSource component and NewScreenModal 2021-08-24 12:33:02 +02:00
Maurits Lourens c86a878b27 update the name of the datasource 2021-08-17 23:57:11 +02:00
Peter Clement a4649c5bc9 linting 2021-08-12 14:27:05 +01:00
Peter Clement 6cf5a86f8c Add default config to admin store 2021-08-12 14:20:23 +01:00
Peter Clement 66e593a6b3 Add self-hosting upgrade button to builder pane 2021-08-12 11:51:08 +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
Michael Drury f37946d47e
Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
Michael Drury 1beca4ee96
Merge pull request #2076 from Budibase/feature/multi-tenants
Multi-tenancy/organisations
2021-08-04 10:01:22 +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 5e89cf5fa8 Fixing issues with pages reloading in weird ways. 2021-07-30 20:39:42 +01:00
Maurits Lourens 3e88d6103d fix lint issue 2021-07-28 00:09:15 +02: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
Maurits Lourens f2b1125e0b rename an app 2021-07-27 17:34:18 +02:00
mike12345567 0473c295d3 Changing how flags are handled. 2021-07-22 16:36:21 +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 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
mike12345567 e3744c0b20 Linting and adding tenancy API. 2021-07-20 18:03:16 +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
mike12345567 07dd7d68d4 A lot of general fixes around getting logged in, setting up users etc. 2021-07-19 19:00:53 +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 4e75b7f4c9 add new logic to support oauth and oidc buttons 2021-07-15 15:49:10 +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
Peter Clement 90e6db2be1 Linting and Optimisation 2021-07-09 15:05:39 +01:00
mike12345567 f244b7b075 Implementing feature #1700 and making it possible to remove logo. 2021-06-21 18:01:25 +01:00
Martin McKeaveney 4cf10ba42e refetch rows when row created 2021-06-21 11:10:46 +01:00
mike12345567 987b66fd59 Formatting and fixing an issue with mysql not being able to return a row that it has created, updated or deleted. 2021-06-18 13:14:45 +01:00
Martin McKeaveney 4ee2adc6cb tidy up, fix UI tests 2021-06-17 14:45:08 +01:00
Martin McKeaveney 90bd99039b lint 2021-06-17 14:06:31 +01:00
Martin McKeaveney 7cb3a910a7 table, view, datasource selection logic 2021-06-17 13:57:27 +01:00
Martin McKeaveney dc382a7f15 Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 23:27:47 +01:00
Martin McKeaveney f267c5c404 datasource selection logic - unselect other entities when choosing datasource 2021-06-16 23:27:38 +01:00
mike12345567 d22f608c6f Formatting. 2021-06-16 18:39:59 +01:00
Martin McKeaveney 1a94ef5039 end to end data providers and opinionated sql 2021-06-16 17:50:22 +01:00
Martin McKeaveney aabbbdecfe consolidate postgres datas sources 2021-06-16 15:45:57 +01:00
mike12345567 2598af16bf Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 14:13:57 +01:00
Martin McKeaveney 9a35e332ca consolidate data sources and queries together in one UI 2021-06-15 19:48:05 +01:00
Andrew Kingston abb1d33948 Lint with prettier 2021-06-15 19:39:40 +01:00
Martin McKeaveney 6c2099dd68 removing _all concept for tables, more work on plus datasource 2021-06-15 13:32:11 +01:00
Martin McKeaveney 58b33562db external/internal tables and datasources merged, removed autocapture, re-added logout action 2021-06-11 17:52:08 +01:00
Michael Drury 1fabc60398
Merge pull request #1558 from Budibase/fix/cypress-fixes
Fix/Update Cypress test cases
2021-06-07 17:16:37 +01:00
Martin McKeaveney 22eb27f38d fix rbac for tables 2021-06-07 14:29:06 +01:00
mike12345567 fa455e8eef Fixing internal table issues and updating createTable cypress test case. 2021-06-02 12:32:07 +01:00
mike12345567 d89c750761 Updating system to allow setting builder/admin as a toggle during the invitation phase of a user. 2021-05-24 18:45:43 +01:00
Andrew Kingston 1a80655a04 Add real Budibase space logo as the default logo 2021-05-24 16:19:29 +01:00
Andrew Kingston 788b58197b Remove console.log 2021-05-24 12:45:09 +01:00
mike12345567 a39b633c90 Formatting and adding routing checks to push the user out of admin menus when they are not an admin. 2021-05-21 17:12:25 +01:00
Andrew Kingston 7f677f3d59
Merge pull request #1526 from Budibase/ak-fixes
AK fixes
2021-05-21 15:44:58 +01:00
Andrew Kingston 805b09673a Change update self method to automatically merge new fields with existing user object 2021-05-21 15:23:39 +01:00
Andrew Kingston a8df26ffa6 Render email template inside iframe and render custom templates inside base template 2021-05-21 14:22:22 +01:00
Andrew Kingston bc9e272978 Merge branch 'master' of github.com:Budibase/budibase into ak-fixes 2021-05-21 13:42:43 +01:00
Andrew Kingston 4b106ace56 Derive initials from user names and email address 2021-05-21 13:17:09 +01:00
Keviin Åberg Kultalahti fc4f0b6c77 Merge branch 'master' into fixes/user-management 2021-05-21 14:10:36 +02:00
Keviin Åberg Kultalahti 683ae48caa lint fix 2021-05-21 13:43:27 +02:00
Keviin Åberg Kultalahti 06c9af9670 fix erroneous disable state in resetform 2021-05-21 13:25:40 +02:00
Andrew Kingston c45e75f8b5 Update app list screen to show unified app list with publish status 2021-05-21 10:32:16 +01:00
Keviin Åberg Kultalahti e0f22ae934 Merge branch 'master' into fixes/user-management 2021-05-20 14:12:48 +02:00
mike12345567 0b08a78f87 Fixing an issue with checkAuth function not checking response status before attempting to get JSON. 2021-05-20 12:39:33 +01:00
Keviin Åberg Kultalahti 81726501ee Merge branch 'next' into fixes/user-management 2021-05-20 11:02:15 +02:00
Andrew Kingston feb71dc844 Default org platform URL to localhost 2021-05-19 15:03:27 +01:00
Andrew Kingston 66fd0d0016 Implement new admin get self endpoint, move auth store to the portal, and implement working password changing and name changing 2021-05-19 14:05:08 +01:00
Keviin Åberg Kultalahti 538b51b660 update function names on users store 2021-05-19 11:51:54 +02:00
Andrew Kingston 6e5cfe8520 Merge branch 'next' of github.com:Budibase/budibase into user-app-list 2021-05-19 10:09:20 +01:00
Andrew Kingston bf935183ce Use correct logo everywhere in the portal and fix some layouts 2021-05-18 18:48:37 +01:00
mike12345567 d9439abe86 Building up the API interactions for the forgotten password flow. 2021-05-18 15:26:09 +01:00
Andrew Kingston 6a418ecd51 Add default budibase org details 2021-05-18 13:54:04 +01:00
Keviin Åberg Kultalahti a3f5e1af8c lint:fix 2021-05-18 12:21:57 +02:00
Keviin Åberg Kultalahti 5a7ac2287b Merge branch 'feature/draft-apps' into admin/user-management-ui 2021-05-17 15:21:48 +02:00
Keviin Åberg Kultalahti e12ba0fa38 fix erroneous import 2021-05-17 13:12:43 +02:00
Keviin Åberg Kultalahti 0104a7a1ff adds updateRoles method to users store 2021-05-17 13:01:16 +02:00
Martin McKeaveney 0ed0550e73 revert functionality working 2021-05-16 21:25:37 +01:00
Keviin Åberg Kultalahti 8392a4ba38 Merge branch 'feature/draft-apps' into admin/user-management-ui 2021-05-14 17:32:08 +02:00
Keviin Åberg Kultalahti 819582310a lint fixes 2021-05-14 16:09:07 +02:00
Keviin Åberg Kultalahti 3873ed32b5 adds dummy updateRoles functioon to users store 2021-05-14 15:04:15 +02:00
Martin McKeaveney 61a5b109f5 dev mode E2E 2021-05-13 11:06:08 +01:00
Keviin Åberg Kultalahti b692ca9255 remove log 2021-05-12 17:21:15 +02:00
Keviin Åberg Kultalahti a31b8cbdbf fix broken settings page 2021-05-12 17:16:31 +02:00
Keviin Åberg Kultalahti 0da5247a03 Merge branch 'next' into admin/user-management-ui 2021-05-12 14:08:58 +02:00
Keviin Åberg Kultalahti 427592431d add acceptInvite method to users store 2021-05-12 14:07:55 +02:00
Keviin Åberg Kultalahti ea342c3e5e sets up invite action in onboarding modal 2021-05-12 11:33:04 +02:00
Keviin Åberg Kultalahti 0dfa0df335 remove unneeded refetch in user delete method 2021-05-12 11:15:40 +02:00
Keviin Åberg Kultalahti 1a8fa817d5 enables functionality to delete users from frontend 2021-05-12 11:08:21 +02:00
Keviin Åberg Kultalahti a3b44caa37 adds create user flow 2021-05-12 11:00:18 +02:00
Martin McKeaveney 3bf3fc5e02 email template E2E, adding preview 2021-05-11 14:44:43 +01:00
Keviin Åberg Kultalahti 3ba439452d enables front-end search of users 2021-05-07 13:24:07 +02:00
Keviin Åberg Kultalahti c2bae6da4f Merge branch 'app-list' into admin/user-management-ui 2021-05-07 12:15:58 +02:00
Keviin Åberg Kultalahti f440b32b83 Merge branch 'next' into admin/user-management-ui 2021-05-07 09:47:45 +02:00
Keviin Åberg Kultalahti 43973887b2 adds users store and moves some components 2021-05-07 09:47:05 +02:00
Andrew Kingston ba65dfd718 Handle auth in top level routes and redirect as required. Change default route to be portal 2021-05-06 14:49:11 +01:00
Andrew Kingston 760733f071 Merge branch 'next' of github.com:Budibase/budibase into app-list 2021-05-06 14:01:03 +01:00
Andrew Kingston 69345b0c01 Move app list to admin portal 2021-05-06 13:59:06 +01:00
Martin McKeaveney 2fe2d521cf lint 2021-05-06 10:57:24 +01:00
Martin McKeaveney 91bf0d7a98 budibase config checklist complete 2021-05-06 10:28:06 +01:00
Keviin Åberg Kultalahti f805cdfb07 lintfix 2021-05-05 18:53:38 +02:00
Keviin Åberg Kultalahti cd9af13668 moves admin store to `stores/portal` 2021-05-05 18:52:45 +02:00
Keviin Åberg Kultalahti 2cfb2f349e lint fix 2021-05-05 18:41:16 +02:00
Keviin Åberg Kultalahti 31ed79c4e7 update org store and add loading state + notifications to save action 2021-05-05 18:30:03 +02:00
Keviin Åberg Kultalahti e999f53291 introduces portal stores concept and adds an org one that handles configs 2021-05-05 17:50:45 +02:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
mike12345567 7612b5ed16 Swapping over everything to use the new user ID and updating everything after some end to end testing. 2021-04-20 17:17:44 +01:00
mike12345567 cfbd75b36d Some changes to initial login form, improvements based on testing and attempts to fix cypress test failures. 2021-04-15 15:57:55 +01:00
mike12345567 e9767eabc5 Adding some controls around cookies, expiring them when a 403 is hit. 2021-04-14 15:43:34 +01:00
Martin McKeaveney bd48b02ab1 logout button 2021-04-13 13:56:28 +01:00
Martin McKeaveney 68cecda546 prevent login page flash on initial render 2021-04-13 13:41:12 +01:00
Martin McKeaveney b728fc1a3c currentapp being set correctly for user 2021-04-13 13:26:13 +01:00
Martin McKeaveney 654a53fc0a Authentication working on builder homepage, integration with currentapp middleware 2021-04-13 11:56:57 +01:00
Martin McKeaveney 0548fdc863 self endpoint, simple auth 2021-04-12 11:20:01 +01:00
Martin McKeaveney d7e187d8f2 builder login 2021-04-12 10:47:48 +01:00
Martin McKeaveney b5a5df7f60 login page 2021-04-11 11:35:55 +01:00
Keviin Åberg Kultalahti 1c29edb830 lint fixes 2021-04-01 12:55:09 +02:00
Keviin Åberg Kultalahti 2e13c5f10e re-arrange tables store saveField method 2021-04-01 12:45:06 +02:00
Keviin Åberg Kultalahti 92fde68965 fixes views store 2021-04-01 11:53:22 +02:00
Keviin Åberg Kultalahti d803aa0bd7 adds back babel-jest 2021-04-01 09:26:36 +02:00
Keviin Åberg Kultalahti 214243fc22 lint fix 2021-04-01 08:40:30 +02:00
Keviin Åberg Kultalahti dc0f04c43a fix merge regression 2021-03-31 13:48:30 +02:00
Keviin Åberg Kultalahti c729b8654b merge next 2021-03-31 11:26:44 +02:00
Keviin Åberg Kultalahti 1f7bd5d387 wip: views store tests 2021-03-30 18:10:58 +02:00
Keviin Åberg Kultalahti 53bff4a4d9 adds tables store tests 2021-03-30 15:37:53 +02:00
Keviin Åberg Kultalahti 7bb01a152c adds an init method to the tables store 2021-03-30 11:32:01 +02:00
Keviin Åberg Kultalahti e83cebde03 fix last roles store test 2021-03-30 10:49:42 +02:00
Keviin Åberg Kultalahti 32e493921b wip: roles store test 2021-03-29 18:23:53 +02:00
Keviin Åberg Kultalahti 996e4bf9b1 update query store 2021-03-29 17:52:38 +02:00
Keviin Åberg Kultalahti 5b5f2c835d fix last query test 2021-03-29 17:50:12 +02:00
Keviin Åberg Kultalahti d1b7620215 fixes queries and datasource tests 2021-03-29 17:45:18 +02:00
Keviin Åberg Kultalahti b90e37ba64 fix datasource test 2021-03-29 16:23:58 +02:00
Keviin Åberg Kultalahti 22937117fd wip: queries store tests 2021-03-29 14:57:01 +02:00
Keviin Åberg Kultalahti ab0ce42245 adds test for permissions store 2021-03-29 13:16:41 +02:00
Keviin Åberg Kultalahti 29a032d908 finishes datasources stores 2021-03-29 12:54:41 +02:00