Commit Graph

5510 Commits

Author SHA1 Message Date
mike12345567 f08b894e55 Adding admin only endpoint, removing the ability to create/delete global users from the app server and adding a global self user update. 2021-05-19 13:17:50 +01:00
Keviin Åberg Kultalahti 5d60a0b1f6 wire up force reset password action 2021-05-19 13:57:54 +02:00
Keviin Åberg Kultalahti 728bbe473a create Force Reset Password Modal 2021-05-19 13:24:28 +02:00
Keviin Åberg Kultalahti dc0fb8fbfe add forcePasswordReset bool to user object validation 2021-05-19 13:24:14 +02:00
mike12345567 31f16090ee Fixing test cases. 2021-05-19 11:27:19 +01:00
Andrew Kingston 5c8c663935 Fix spacing and make consistent in all portal pages 2021-05-19 11:07:14 +01:00
Andrew Kingston 550ea1a70d Add missing properties to first name and last name user schema 2021-05-19 11:06:57 +01:00
Martin McKeaveney 72e18cd8d3 remove outputs from cron 2021-05-19 10:57:02 +01:00
Keviin Åberg Kultalahti 01c1f0ce85 minor fixes 2021-05-19 11:55:23 +02:00
Keviin Åberg Kultalahti 8a0f2aaa8e Update user list to show correct status 2021-05-19 11:54:35 +02:00
Keviin Åberg Kultalahti 36b098bc73 add working development access toggle 2021-05-19 11:52:12 +02:00
Keviin Åberg Kultalahti cdc7e604e5 update function names on users store 2021-05-19 11:51:54 +02:00
Martin McKeaveney 8ceba79a12 activations 2021-05-19 10:46:47 +01:00
Andrew Kingston 8364ab91a2 Fix google SSO button not working in light theme 2021-05-19 10:40:45 +01:00
Andrew Kingston 27dfa40ec4 Add user first name and last name to backend table UI 2021-05-19 10:40:05 +01:00
Andrew Kingston a6e80da57f Fix spacing in manage user page and add first name and last name fields 2021-05-19 10:39:23 +01:00
Andrew Kingston 8049088fa0 Update Layout to be position relative 2021-05-19 10:36:39 +01:00
Andrew Kingston c1f1c8d169 Add first name and last name to user schema and add modal to update names 2021-05-19 10:25:23 +01:00
Keviin Åberg Kultalahti 3080d0a8c4 adds UI elements for toggling builder access 2021-05-19 11:23:14 +02:00
Andrew Kingston f1a7f2a440 Merge branch 'next' of github.com:Budibase/budibase into user-app-list 2021-05-19 10:09:20 +01:00
Andrew Kingston 76cef0b06d Remove margin in BBUI body component 2021-05-19 09:02:51 +01:00
Martin McKeaveney a781239632 Adding cron presets to automations 2021-05-18 22:20:41 +01:00
mike12345567 d40fb215f9 Adding the ability to create options based on CSV, this will use the import data to create options. 2021-05-18 22:14:27 +01:00
Martin McKeaveney c3dc5bae76 cron automation trigger end to end 2021-05-18 21:03:26 +01:00
Andrew Kingston 2745506fc9 Remove console.log 2021-05-18 19:14:18 +01:00
Andrew Kingston e136cee959 Fix initial role not being set when updating user role 2021-05-18 19:08:23 +01:00
Andrew Kingston 478ec4c090 Fix roles table showing tags with a label of undefined 2021-05-18 19:03:59 +01:00
Andrew Kingston 84510d0551 Use correct logo everywhere in the portal and fix some layouts 2021-05-18 18:48:37 +01:00
Andrew Kingston d00a412889 Fix logo upload and show current logo 2021-05-18 18:48:07 +01:00
Andrew Kingston 6a92e7304b Allow dropzone to preview images before being uploaded 2021-05-18 18:47:39 +01:00
mmckeaveney 025616d7cc groundwork for cron automation trigger 2021-05-18 15:37:54 +00:00
mike12345567 1896b1fe52 Updating text align style to be optional. 2021-05-18 16:03:06 +01:00
mike12345567 14cd1744ff Updating reset link to match that of the builder. 2021-05-18 15:48:28 +01:00
Andrew Kingston e76f68cee3 Prevent rendering certain authenticated routes unless logged in, to avoid initial renders and onMount loaders firing 2021-05-18 15:29:34 +01:00
mike12345567 e9b9ada128 Building up the API interactions for the forgotten password flow. 2021-05-18 15:26:09 +01:00
mike12345567 6013cfd8ed Formatting. 2021-05-18 15:09:04 +01:00
mike12345567 3332e56842 Adding repeat password entry component. 2021-05-18 15:08:57 +01:00
Andrew Kingston 3b6b3877b1 Prevent access to create super admin screen once an admin has been created 2021-05-18 14:43:05 +01:00
Andrew Kingston 5daccbd76e Fix layout of create super admin page 2021-05-18 14:39:52 +01:00
Andrew Kingston 78ba798be2 Improve routing based on auth and roles, and use redirects rather than pushing new routes 2021-05-18 14:39:26 +01:00
Andrew Kingston 473c9ebfa6 Merge branch 'feature/forgot-password' of github.com:Budibase/budibase into user-app-list 2021-05-18 14:33:25 +01:00
mike12345567 608c798cb9 Merge branch 'next' of github.com:Budibase/budibase into feature/forgot-password 2021-05-18 14:29:43 +01:00
Andrew Kingston ec32354c7f Add initial work on user app list screen 2021-05-18 13:57:14 +01:00
Andrew Kingston 8f9b60a400 Fix first time app creation modal not being centered and flashing apps when loading the page 2021-05-18 13:56:05 +01:00
Andrew Kingston 59e70d96ad Allow app card rows to display all lock statuses 2021-05-18 13:55:15 +01:00
Andrew Kingston 89643ca407 Fix add user button style 2021-05-18 13:54:41 +01:00
Andrew Kingston e5d1d8c214 Add default budibase org details 2021-05-18 13:54:04 +01:00
Andrew Kingston 0f73190b5f Add font weight property to BBUI layout body 2021-05-18 13:52:42 +01:00
Andrew Kingston c575850dc0 Ensure layout page component always fills the page 2021-05-18 13:52:26 +01:00
mike12345567 9898287257 Adding in all the other routes needed for forgotten password flow. 2021-05-18 12:34:21 +01:00
Andrew Kingston 0251ee366f Merge branch 'next' of github.com:Budibase/budibase into user-app-list 2021-05-18 12:33:06 +01:00
Keviin Åberg Kultalahti 39d5e4ef45 Merge branch 'next' into admin/user-management-ui 2021-05-18 12:27:46 +02:00
Martin McKeaveney d9ed0686ab Merge pull request #1496 from Budibase/feature/draft-apps
Feature/draft apps
2021-05-18 11:25:51 +01:00
Keviin Åberg Kultalahti 038369f736 prettier format 2021-05-18 12:22:35 +02:00
Keviin Åberg Kultalahti 9f5e891b72 lint:fix 2021-05-18 12:21:57 +02:00
Keviin Åberg Kultalahti 7c3e7ab7aa updates invite url 2021-05-18 12:18:06 +02:00
Keviin Åberg Kultalahti c66be3cebb adds a custom renderer to the users page 2021-05-18 12:17:57 +02:00
Andrew Kingston 8902a26ecc Disable update on change for component settings 2021-05-18 08:40:18 +01:00
Andrew Kingston 222afc6884 Add ability for BBUI text fields to update on change and default to true 2021-05-18 08:37:07 +01:00
Andrew Kingston b195ef1549 Fix issue with switches and checkboxes on firefox on linux 2021-05-18 08:20:46 +01:00
Martin McKeaveney ee9a097979 lint 2021-05-17 21:43:50 +01:00
mike12345567 1c8dee192a Switching everything over to proper layouts and removing any specified margins/padding. 2021-05-17 18:20:10 +01:00
mike12345567 1e0482315b Switching over to use layouts. 2021-05-17 17:51:13 +01:00
Andrew Kingston ce67c21efe Add option for text alignment to Body 2021-05-17 17:49:40 +01:00
Andrew Kingston 724593f341 Add option to layout to justify items 2021-05-17 17:42:12 +01:00
mike12345567 43899cae68 Adding login form from designs. 2021-05-17 16:48:26 +01:00
Martin McKeaveney ad64d58af4 Merge branch 'feature/draft-apps' of https://github.com/Budibase/budibase into feature/draft-apps 2021-05-17 16:43:35 +01:00
Martin McKeaveney c32b52430e flip bool 2021-05-17 16:33:33 +01:00
Keviin Åberg Kultalahti 9eaabda8a5 Merge branch 'feature/draft-apps' into admin/user-management-ui 2021-05-17 16:41:46 +02:00
Keviin Åberg Kultalahti 3844e119a8 remove accidental extra component 2021-05-17 16:38:41 +02:00
mike12345567 78ba2353ee Merge branch 'feature/draft-apps' of github.com:Budibase/budibase into feature/forgot-password 2021-05-17 15:32:03 +01:00
mike12345567 cf056ade04 Updating templating bindings enumerations. 2021-05-17 15:30:24 +01:00
mike12345567 8a63a8d32e Further work towards login designs. 2021-05-17 15:29:57 +01:00
Keviin Åberg Kultalahti 52c7980e08 simplify fetching 2021-05-17 16:16:51 +02:00
Keviin Åberg Kultalahti b0265efb29 switch to using roles endpoint to get apps for roles page 2021-05-17 16:11:08 +02:00
mike12345567 e7e7687aae Merge branch 'feature/draft-apps' of github.com:Budibase/budibase into feature/forgot-password 2021-05-17 14:54:03 +01:00
Keviin Åberg Kultalahti 7082a1aaa2 Merge branch 'feature/draft-apps' into admin/user-management-ui 2021-05-17 15:53:32 +02:00
mike12345567 30f6238d45 don't use the _id prop of the app metadata. 2021-05-17 14:52:49 +01:00
Keviin Åberg Kultalahti 7fa617a543 erge branch 'feature/draft-apps' into admin/user-management-ui 2021-05-17 15:29:33 +02:00
mike12345567 c6e9dd7a68 Merge branch 'feature/draft-apps' of github.com:Budibase/budibase into feature/draft-apps 2021-05-17 14:28:56 +01:00
Keviin Åberg Kultalahti 116ae6eeea Merge branch 'feature/draft-apps' into admin/user-management-ui 2021-05-17 15:28:52 +02:00
mike12345567 e51afc7451 Updating roles API further so find API works too. 2021-05-17 14:28:41 +01:00
Martin McKeaveney f1cd6d01e9 tidy up 2021-05-17 14:24:37 +01:00
mike12345567 17504443df Merge branch 'feature/draft-apps' of github.com:Budibase/budibase into feature/draft-apps 2021-05-17 14:24:36 +01:00
Keviin Åberg Kultalahti 56e09c9b7b Merge branch 'feature/draft-apps' into admin/user-management-ui 2021-05-17 15:21:48 +02:00
Keviin Åberg Kultalahti 4fb4372c1b remove unused import 2021-05-17 15:21:29 +02:00
mike12345567 277ceb3ad1 Updating role system to never think about the dev app. 2021-05-17 14:20:19 +01:00
mike12345567 3641ee5e2c Work in progress, moving login form around a bit. 2021-05-17 13:47:23 +01:00
Keviin Åberg Kultalahti 2eeb689b86 fix fetchData to start off as loading 2021-05-17 13:24:09 +02:00
Keviin Åberg Kultalahti 6ccf2114b0 remove unused prop in ModalContent 2021-05-17 13:23:59 +02:00
Keviin Åberg Kultalahti 4d9e4ca426 fix not being able to update roles twice 2021-05-17 13:23:19 +02:00
Keviin Åberg Kultalahti 24d84ee2b4 fix erroneous import 2021-05-17 13:12:43 +02:00
Keviin Åberg Kultalahti d70e336574 adds updateRoles method to users store 2021-05-17 13:01:16 +02:00
Keviin Åberg Kultalahti 8e3bd36cc5 swap out random password method 2021-05-17 10:22:30 +02:00
Keviin Åberg Kultalahti 7a0c6366f7 remove unneeded prop 2021-05-17 10:22:15 +02:00
Keviin Åberg Kultalahti 341b632736 Merge branch 'next' into admin/user-management-ui 2021-05-17 10:11:25 +02:00
Keviin Åberg Kultalahti 97cf6fc1fe wip: roles fetch 2021-05-17 10:10:51 +02:00
Andrew Kingston 1e8c485ad3 Use POST requests with JSON bodies for searching instead of GETs with query string params 2021-05-17 08:16:04 +01:00
Martin McKeaveney fc7ddbe540 merge 2021-05-16 21:29:07 +01:00
Martin McKeaveney 0f2bcf581d revert functionality working 2021-05-16 21:25:37 +01:00
Keviin Åberg Kultalahti 9329644cf5 Merge branch 'feature/draft-apps' into admin/user-management-ui 2021-05-14 17:49:09 +02:00
mike12345567 b416207292 Making sure routes are included. 2021-05-14 16:47:47 +01:00
mike12345567 a61edd8124 Formatting. 2021-05-14 16:32:51 +01:00
Keviin Åberg Kultalahti 4df56ce457 Merge branch 'feature/draft-apps' into admin/user-management-ui 2021-05-14 17:32:08 +02:00
mike12345567 c947199558 Adding administration roles API. 2021-05-14 16:31:07 +01:00
Keviin Åberg Kultalahti 07252b26b4 add check for name in Avatar component 2021-05-14 17:04:20 +02:00
Keviin Åberg Kultalahti 61cabc7fc5 update settings page text 2021-05-14 17:03:47 +02:00
Keviin Åberg Kultalahti 3a9a76763e fix TreeView item warning about anchor 2021-05-14 17:03:37 +02:00
Andrew Kingston 5d89f8915e Add missing tableId setting to search params 2021-05-14 15:46:46 +01:00
mike12345567 cea82f9335 A general re-work of some parts of the auth lib, as well as moving roles/permissions around to make it possible to build an admin API which has role knowledge. 2021-05-14 15:43:41 +01:00
Andrew Kingston b402254b2c Lint 2021-05-14 15:41:58 +01:00
Andrew Kingston f6babcbe8d Refactor server side search to use objects for params to tidy things up 2021-05-14 15:41:26 +01:00
Keviin Åberg Kultalahti 47bc197b45 lint fixes 2021-05-14 16:09:07 +02:00
Andrew Kingston 9e00928337 Update info text for data provider 2021-05-14 15:00:30 +01:00
Keviin Åberg Kultalahti 7a4b6850a8 switches input to search component 2021-05-14 15:49:57 +02:00
Keviin Åberg Kultalahti 98d2182e78 move email page into the manage subsection 2021-05-14 15:41:15 +02:00
Keviin Åberg Kultalahti bdca818c48 adds notifications to roles updating action 2021-05-14 15:14:37 +02:00
Keviin Åberg Kultalahti ac883053e0 adds dummy updateRoles functioon to users store 2021-05-14 15:04:15 +02:00
Keviin Åberg Kultalahti 4fdb1d080d adds frontend for updating roles of a user 2021-05-14 15:03:58 +02:00
Andrew Kingston 4675272f4b Don't show pagination control if the data source isn't an internal table 2021-05-14 13:29:37 +01:00
Andrew Kingston e78d686292 Add optional info text to components 2021-05-14 13:29:14 +01:00
Andrew Kingston f82bd4465b Add brief docs to Table component explaining the schema prop 2021-05-14 13:11:23 +01:00
mike12345567 332f0555a3 Merge branch 'feature/draft-apps' of github.com:Budibase/budibase into feature/draft-apps 2021-05-13 18:10:20 +01:00
mike12345567 74e6fdddb0 Fixing two issues which were blocking previews, one the user was no longer being updated as an admin (when first building/creating an app) and two, role was not being carried across from global user properly. 2021-05-13 18:10:09 +01:00
Martin McKeaveney 48006408f1 publish button 2021-05-13 17:33:31 +01:00
Martin McKeaveney 95c80f2b4a set up live replication between prod and dev instances 2021-05-13 17:24:32 +01:00
Andrew Kingston a94682d645 Simplify loading logic to prevent empty state flashing when loading data in data providers 2021-05-13 16:33:19 +01:00
Andrew Kingston 81e9f5b860 Wrap whole client app in spectrum classes to reduce dependency on spectrum wrapper around any spectrum components in client app 2021-05-13 16:32:52 +01:00
Andrew Kingston 9c7f5f98b7 Update autoscreens with new dataprovier props 2021-05-13 16:32:18 +01:00
Andrew Kingston b734d861ea Use divs rather than a tags for pagination to avoid navigation issue in client apps 2021-05-13 16:31:59 +01:00
Andrew Kingston e4ce428ef1 Remove debug logging 2021-05-13 15:37:06 +01:00
Andrew Kingston 1a729aca91 Remove sorting by auto ID when output processing rows 2021-05-13 15:35:54 +01:00
Martin McKeaveney 51bdbb7878 Open app call 2021-05-13 15:33:04 +01:00
mike12345567 fa0544054b Fixing an issue with portal calls causing the app to be re-locked. 2021-05-13 15:32:03 +01:00
mike12345567 6cb40d4450 Merge branch 'feature/draft-apps' of github.com:Budibase/budibase into feature/draft-apps 2021-05-13 14:34:11 +01:00
mike12345567 6056b8bb61 Fixing issues with redis keys, however still not removing lock. 2021-05-13 14:34:04 +01:00
Martin McKeaveney 8d37a9bc8b fix response status from lock release call 2021-05-13 14:29:27 +01:00
mike12345567 b5d23b19ff Fixing forgotten id access. 2021-05-13 14:24:55 +01:00
mike12345567 9f09c76cce Fixing userId storage to redis and making sure lockedBy property never stored. 2021-05-13 14:17:04 +01:00
Martin McKeaveney 4a4c96f76d merge, UI for managing your own app locks 2021-05-13 14:04:03 +01:00
mike12345567 81c5ed5554 Altering object store so that all writes/reads to the object store have the dev app prefix replaced with standard app. 2021-05-13 13:29:53 +01:00
Andrew Kingston 44f0e71aec Fix incorrect background colour in standard-components table background 2021-05-13 13:12:59 +01:00
Andrew Kingston d82cd0e4af Wait until table schema loads before searching to avoid initial double search 2021-05-13 13:11:45 +01:00
Andrew Kingston 8d46cc60fe Add jsdoc to search utils 2021-05-13 13:11:16 +01:00
Andrew Kingston 25fdb30e34 Remove initial work on pagination standard component 2021-05-13 12:39:46 +01:00
Martin McKeaveney c2c74678e4 lock concept in UI, make dev links go to builder and prod links go to real apps 2021-05-13 12:39:35 +01:00
Andrew Kingston c1b6f26f28 Remove search component from component structure 2021-05-13 12:38:56 +01:00
Andrew Kingston 20bacaa50b Remove leftover import of search component 2021-05-13 12:38:34 +01:00
Andrew Kingston 960a2925ca Fix bug with determing whether another page exists when performing paginated searches 2021-05-13 12:38:12 +01:00
mike12345567 768fa8e725 Formatting. 2021-05-13 12:32:18 +01:00