Commit Graph

5036 Commits

Author SHA1 Message Date
Andrew Kingston 47183460b7 Don't render field label components unless a label exists 2021-04-16 09:39:29 +01:00
Andrew Kingston 57f4ebd897 Fix placeholder text 2021-04-16 09:39:09 +01:00
Keviin Åberg Kultalahti 6696f1007a builder data side panel now uses new tabs component 2021-04-16 10:07:33 +02:00
Andrew Kingston 2e2d1b6738 Add missing modal content dependency 2021-04-16 09:02:16 +01:00
Andrew Kingston 2f619be19c Prune old dependencies 2021-04-16 09:01:52 +01:00
Andrew Kingston 966d842d7c Allow selects to support no placeholder option 2021-04-16 09:01:21 +01:00
Andrew Kingston 7d91794a53 Update lock 2021-04-16 08:10:18 +01:00
Andrew Kingston b823f2bed1 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui-forms 2021-04-16 08:08:52 +01:00
Martin McKeaveney d27609de40 default user 2021-04-15 23:14:10 +01:00
Martin McKeaveney 201b26059c account for empty user id in automations 2021-04-15 21:34:03 +01:00
Andrew Kingston cfa4b118c2 Update some standard components form components to use generic BBUI core components 2021-04-15 19:43:18 +01:00
Andrew Kingston 387651213b Update some builder components to use new forms 2021-04-15 19:42:58 +01:00
Andrew Kingston 3bdb484159 Clean up create app modal error messages 2021-04-15 19:31:04 +01:00
Andrew Kingston 910ac855cf Rewrite create app modal to work with new spectrum fields 2021-04-15 19:28:50 +01:00
Andrew Kingston 591d1c0fc5 Change BBUI to single bundle export and clean up some form components 2021-04-15 19:28:08 +01:00
Martin McKeaveney 508730db6b lint 2021-04-15 18:34:49 +01:00
Martin McKeaveney 4c20427c33 login step configured correctly 2021-04-15 18:29:11 +01:00
Martin McKeaveney 015bb72daf lint 2021-04-15 17:46:47 +01:00
Martin McKeaveney fdfb9dafb2 fix cypress tests, only login if cookie not present 2021-04-15 17:36:58 +01:00
Keviin Åberg Kultalahti afb5e25b1d adds wip progresscircle component 2021-04-15 18:06:22 +02:00
mike12345567 1ab5064ecb Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management 2021-04-15 16:57:35 +01:00
mike12345567 af53ed2109 Fixing some issues with auth module. 2021-04-15 16:57:01 +01:00
Martin McKeaveney b94a964775 uncomment code 2021-04-15 16:50:06 +01:00
Martin McKeaveney 9cebd859f8 merge 2021-04-15 16:49:35 +01:00
mike12345567 9e1315c535 Updating auth lib so that it takes in a pouch instance rather than creating its own. 2021-04-15 16:45:21 +01:00
mike12345567 aacfb6adba Updating worker/server to run in cypress properly. 2021-04-15 16:25:48 +01:00
mike12345567 9af9761753 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
Keviin Åberg Kultalahti d173acf566 remove unused stuff 2021-04-15 15:42:30 +02:00
Keviin Åberg Kultalahti a95240404a adds progressBar 2021-04-15 15:39:14 +02:00
Keviin Åberg Kultalahti e12808e3a2 adds on:select handler to tabs component 2021-04-15 15:39:00 +02:00
Andrew Kingston d779fbbea4 Add pretty labels to multiselect and fix stale props issue 2021-04-15 14:05:59 +01:00
Keviin Åberg Kultalahti 9f0f04c8d3 remove log 2021-04-15 14:48:20 +02:00
Keviin Åberg Kultalahti cec19df28b working sliding animation between tabs 2021-04-15 14:42:39 +02:00
mike12345567 68c113225e Linting. 2021-04-15 13:23:42 +01:00
Andrew Kingston dd7bf3fd68 Fix multiselect 2021-04-15 12:14:51 +01:00
Martin McKeaveney 52920beb78 login command - need to run worker in cypress env 2021-04-15 12:14:50 +01:00
Andrew Kingston c6cc5f95c6 Remove dependency on BBUI stylesheet in builder 2021-04-15 12:09:36 +01:00
Andrew Kingston 9a7cf3079a Fix modal transform causing inner overlays to incorrectly calculate window dimensions 2021-04-15 12:09:06 +01:00
Andrew Kingston 13e5c5ad61 Update StringField and OptionsField to use BBUI components 2021-04-15 11:51:18 +01:00
Andrew Kingston 10fe99346f Improve modal layout, improve modal button spacing, use rollup for building to expose multple BBUI entrypoints 2021-04-15 11:50:56 +01:00
mike12345567 3dfe255eb4 Removing test case that isn't valid anymore. 2021-04-14 17:27:58 +01:00
Martin McKeaveney 6cd43f545a Merge branch 'feature/global-user-management' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-14 17:02:18 +01:00
Martin McKeaveney 0f6bfb53fc removing initial user creation 2021-04-14 17:02:12 +01:00
mike12345567 c7171d0303 Linting. 2021-04-14 16:44:10 +01:00
mike12345567 6852d3c461 Formatting. 2021-04-14 16:01:28 +01:00
mike12345567 dc20151c19 Some more server-side fixes, updating it so that builders have permissions to do anything for now (means that a builder user doesn't have to be present in app database to work. 2021-04-14 16:00:58 +01:00
mike12345567 56552d02ef Removing server 403. 2021-04-14 15:44:18 +01:00
mike12345567 6c58c90a7a Adding some controls around cookies, expiring them when a 403 is hit. 2021-04-14 15:43:34 +01:00
Keviin Åberg Kultalahti 1e5245589a adds working tabs 2021-04-14 16:07:45 +02:00
mike12345567 a76964d12e Updating environment in auth package, easily see required env settings. 2021-04-14 14:13:48 +01:00
Keviin Åberg Kultalahti 3056d4316a adds divider component 2021-04-14 14:52:25 +02:00
Martin McKeaveney 77c98009b8 joi syntax, adding db user builder key to cookie 2021-04-14 13:22:57 +01:00
Keviin Åberg Kultalahti 697c3d33df adds Typogaphy components 2021-04-14 10:53:23 +02:00
Keviin Åberg Kultalahti df5c2e04a7 adds Heading component 2021-04-14 10:40:44 +02:00
Keviin Åberg Kultalahti 59c88b0064 rework to use tick instead of manual timeout 2021-04-14 10:25:10 +02:00
Keviin Åberg Kultalahti 255512e309 adds focus action to first input field of modals 2021-04-14 10:22:45 +02:00
mike12345567 e8383653c1 Formatting. 2021-04-13 20:26:26 +01:00
mike12345567 c7c158dd84 Fixing up tests, need to mock most of the worker functionality so that worker doesn't need to run during tests. 2021-04-13 20:25:43 +01:00
mike12345567 105e1cc16f Getting most of the test auth working, adding in global builder configuration. 2021-04-13 18:12:35 +01:00
Andrew Kingston 4e2fceffcb Add missing menu, actiongroup and link spectrum dependencies 2021-04-13 18:12:10 +01:00
Andrew Kingston 0acc823af4 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-13 18:08:55 +01:00
Andrew Kingston a85cada9d8 Fix table spectrum colour definitions 2021-04-13 18:08:01 +01:00
Andrew Kingston b467cc1677 Add default spectrum colours to existing builder components and allow spectrum dark mode toggle 2021-04-13 18:07:45 +01:00
mike12345567 f1e37a501c Fixing an issue with save row, changing how pre existing was handled caused an issue. 2021-04-13 17:41:32 +01:00
mike12345567 b9381e04a2 Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-13 17:12:56 +01:00
mike12345567 ad626d3e47 Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management 2021-04-13 17:12:09 +01:00
mike12345567 a1227c5819 Removing the lookup of _id in usage quota when in dev/self host for performance reasons as part of usage quota, re-writing some bits of fetch self for cleaner implementation, fixing some issues with updating/saving users from within app. 2021-04-13 17:11:55 +01:00
Michael Shanks a61c54f07e lint fix + remove electron.js 2021-04-13 16:57:22 +01:00
Martin McKeaveney a68227735c ensuring public users can log in after being assigned a roleId 2021-04-13 16:56:45 +01:00
Keviin Åberg Kultalahti 8032d5f85d Merge branch 'spectrum-bbui' into spectrum/actionbutton-actionmenus 2021-04-13 17:05:01 +02:00
Andrew Kingston 9180312bab Fix z-index on table header 2021-04-13 15:31:38 +01:00
Andrew Kingston c602502e46 Add missing toast dependency 2021-04-13 15:28:57 +01:00
mike12345567 56b4b1583c Fixing some issues with the ctx.user, this was previously filled in by the old auth middleware. 2021-04-13 15:27:47 +01:00
Andrew Kingston c729d80902 Merge branch 'spectrum-bbui-table' of github.com:Budibase/budibase into spectrum-bbui 2021-04-13 15:24:34 +01:00
Andrew Kingston b612c32ce5 Fix stale data overwriting new data when requests are slow 2021-04-13 15:10:49 +01:00
Andrew Kingston 0f56ed3c95 Fix scroll state not resetting 2021-04-13 15:10:27 +01:00
Andrew Kingston 6ba2d7a0ef Make standard components table custom column non-sortable 2021-04-13 14:45:24 +01:00
Andrew Kingston 9e8b6c9c41 Fix routify empty span tags affecting dom layout 2021-04-13 14:44:46 +01:00
Andrew Kingston 13b7140571 Support non-sortable columns in table and prevent first row rendering flashing 2021-04-13 14:44:30 +01:00
mike12345567 02c9f69143 Updating current app to set up role in middleware. 2021-04-13 14:35:00 +01:00
Andrew Kingston e166195a49 Allow table dynamic resizing and scrolling whenever rowCount is not specified 2021-04-13 14:14:14 +01:00
Andrew Kingston 1ea51cdb74 Fix client table not passing down rowCount and improve styles of wrapper div 2021-04-13 14:13:44 +01:00
Martin McKeaveney d82516d949 remove buildertoken refs 2021-04-13 14:00:09 +01:00
Martin McKeaveney 509a04d914 logout button 2021-04-13 13:56:28 +01:00
Martin McKeaveney 252c50029f prevent login page flash on initial render 2021-04-13 13:41:12 +01:00
mike12345567 7685d2949e Removing test cases which are no longer valid. 2021-04-13 13:37:54 +01:00
mike12345567 96b4549a4c Formatting. 2021-04-13 13:35:30 +01:00
mike12345567 81d7d1f4c6 Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management 2021-04-13 13:35:21 +01:00
mike12345567 c51dacd0fe Adding test cases for current app middleware as well as removing some old middlewares that were no longer used. 2021-04-13 13:32:09 +01:00
Martin McKeaveney d72a6dc8df currentapp being set correctly for user 2021-04-13 13:26:13 +01:00
Martin McKeaveney 3226ee90e2 Authentication working on builder homepage, integration with currentapp middleware 2021-04-13 11:56:57 +01:00
mike12345567 a52f296d78 Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-13 10:26:40 +01:00
Martin McKeaveney 651b57fbb2 small fixes 2021-04-13 09:20:30 +01:00
Martin McKeaveney 20a00d1225 remove merge conflict 2021-04-12 20:11:21 +01:00
Martin McKeaveney b0ffb8dcb8 v0.8.16 2021-04-12 19:51:11 +01:00
mike12345567 eaad867780 Some work towards implementing the current app cookie, removing some old dead code and re-working some of the different middlewares involved. 2021-04-12 18:31:58 +01:00
Martin McKeaveney fe5dd7e2ac v0.8.15 2021-04-12 17:10:19 +01:00
Martin McKeaveney f5c31f73b3 lint 2021-04-12 16:51:07 +01:00
Andrew Kingston 41742e7138 Use BBUI spectrum table in standard components 2021-04-12 16:14:24 +01:00
Keviin Åberg Kultalahti cef3437c50 Implements ActionMenu component 2021-04-12 17:10:55 +02:00
mike12345567 0e583eb185 Updating fetch self to get the global user as well as local metadata. 2021-04-12 15:54:14 +01:00
Keviin Åberg Kultalahti 0b18b55433 Implements Menu component 2021-04-12 16:26:26 +02:00
Andrew Kingston d7cb604151 Improve table cell rendering and pass down table slot 2021-04-12 15:24:33 +01:00
Andrew Kingston 3b2ef3a5e9 Add hover cursor to relationship badges in tables 2021-04-12 15:16:49 +01:00
Andrew Kingston 9e2803cb8d Don't show header in spectrum table unless rows exist 2021-04-12 15:15:35 +01:00
Andrew Kingston f76fb21562 Allow clicking on relationships in spectrum table 2021-04-12 15:12:59 +01:00
Keviin Åberg Kultalahti 958c302ca7 some button fixes 2021-04-12 16:06:03 +02:00
Martin McKeaveney 947da97d62 Update microsoftSqlServer.js 2021-04-12 15:01:52 +01:00
Andrew Kingston afca35a229 Improve table props and update table to work with views 2021-04-12 14:45:41 +01:00
Martin McKeaveney b5baf9f892 merge 2021-04-12 13:41:46 +01:00
Martin McKeaveney c02306e6fb merge 2021-04-12 13:39:53 +01:00
mike12345567 5993ae6242 Removing test case which was no longer needed. 2021-04-12 12:19:45 +01:00
Martin McKeaveney dd0b4baef5 in progress - currentapp token 2021-04-12 12:02:28 +01:00
mike12345567 d2a3dc4a2f Some fixes for automations, removing password obsfucation in create user step as not useful and making update row work with correct row ID. 2021-04-12 11:53:37 +01:00
Martin McKeaveney ce55f99a0a Merge branch 'feature/global-user-management' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-12 11:20:07 +01:00
Martin McKeaveney c4a9d8c9f0 self endpoint, simple auth 2021-04-12 11:20:01 +01:00
mike12345567 9b77f4e518 Fixing issue with 403 on schema endpoint due to change in middleware. 2021-04-12 11:16:41 +01:00
mike12345567 a2c7ea9ba4 Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management 2021-04-12 11:09:22 +01:00
mike12345567 4516e3d798 Updating snapshot for middleware test. 2021-04-12 11:09:06 +01:00
Martin McKeaveney e2ce7098c5 merge 2021-04-12 10:48:27 +01:00
Martin McKeaveney 468b9b97f9 builder login 2021-04-12 10:47:48 +01:00
Keviin Åberg Kultalahti 199756134b wip menu component 2021-04-12 11:24:03 +02:00
Martin McKeaveney 65be3e9ede v0.8.14 2021-04-11 12:58:22 +01:00
Martin McKeaveney c19cc4f3c9 v0.8.13 2021-04-11 12:53:39 +01:00
Martin McKeaveney 1f70282753 fix automation fields 2021-04-11 12:02:01 +01:00
Martin McKeaveney 98576f586e login page 2021-04-11 11:35:55 +01:00
mike12345567 4f71e11c94 Updating some test cases to work with new system. 2021-04-09 17:33:21 +01:00
mike12345567 e275553f60 Formatting. 2021-04-09 16:56:42 +01:00
mike12345567 e34894dd92 Global user management now functioning as expected, there were some errant db.destroy functions from the system previously, this is now cleaned up. 2021-04-09 16:55:56 +01:00
mike12345567 3214abb89a Global users now working through the server, all requests proxied. 2021-04-09 15:11:49 +01:00
Andrew Kingston b8c9cf0898 Add table placeholder 2021-04-09 14:48:26 +01:00
Keviin Åberg Kultalahti 439fda6785 fix buttons 2021-04-09 15:24:28 +02:00
Andrew Kingston e76f40548b Disable image processing of attachments 2021-04-09 14:22:11 +01:00
Keviin Åberg Kultalahti 1b3e93c6c5 reworks buttons to use more ergonomic interface 2021-04-09 15:21:51 +02:00
Andrew Kingston b699573941 Add custom renderers to table and improve table sorting 2021-04-09 14:21:27 +01:00
Keviin Åberg Kultalahti a44a208391 fix erroneous class usage 2021-04-09 14:57:31 +02:00
Andrew Kingston 2b46f8bfbc Merge branch 'spectrum-bbui-table' of github.com:Budibase/budibase into spectrum-bbui-table 2021-04-09 13:52:43 +01:00
mike12345567 30a7303762 Updating to make sure a relative URL is always used for attachments. 2021-04-09 13:49:16 +01:00
Keviin Åberg Kultalahti 9e2cf66173 adds Link component to bbui 2021-04-09 14:44:48 +02:00
Andrew Kingston fa60089bae Merge branch 'spectrum-bbui-table' of github.com:Budibase/budibase into spectrum-bbui-table 2021-04-09 13:42:20 +01:00
mike12345567 d508b905be Making attachments always a relative path on the way out. 2021-04-09 13:41:39 +01:00
Andrew Kingston 372a8ac944 Fix error when attachment type doesn't exist 2021-04-09 13:36:54 +01:00
Andrew Kingston aa2cd7fbba Lighten table scrollbar colours 2021-04-09 13:08:37 +01:00
Andrew Kingston e7dcb311d3 Fix table border styles in default theme 2021-04-09 13:07:22 +01:00
Andrew Kingston ff174a7a3a Shrink scroll bars slightly 2021-04-09 13:02:55 +01:00
Keviin Åberg Kultalahti fe991c683e adds ActionGroup component 2021-04-09 13:48:55 +02:00
Keviin Åberg Kultalahti b43e0e6547 adds an ActionButton component to bbui 2021-04-09 13:38:48 +02:00
Keviin Åberg Kultalahti 5a2287ddcb moves NotificationDisplay to bbui and converts it to spectrum 2021-04-09 12:02:53 +02:00
Keviin Åberg Kultalahti af983023fb converts popover to spectrum 2021-04-09 11:22:49 +02:00
Keviin Åberg Kultalahti 0e52a1e12f add text slot conditional to button 2021-04-09 11:10:37 +02:00
Keviin Åberg Kultalahti e408fac0e5 conversion of buttons in builder 2021-04-09 10:52:06 +02:00
mike12345567 0c34f1a108 Making sure volumes are removed when nuking. 2021-04-08 18:18:53 +01:00
mike12345567 15900efc35 Some changes after trying system for first time. 2021-04-08 17:39:46 +01:00
Keviin Åberg Kultalahti f72dda18de actually convert table command buttons 2021-04-08 18:10:18 +02:00
Keviin Åberg Kultalahti d8b352a9ae convert table command buttons to spectrum 2021-04-08 18:04:03 +02:00
mike12345567 bf25800445 Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management 2021-04-08 17:00:17 +01:00
mike12345567 8cde219db9 First pass of global user configuration through existing user API with role mappings. 2021-04-08 16:58:33 +01:00
Keviin Åberg Kultalahti 2801b77200 converts Button to spectrum 2021-04-08 17:04:27 +02:00
Andrew Kingston 5ef5106f07 Add spectrum table to BBUI and update builder 2021-04-08 15:57:24 +01:00
Keviin Åberg Kultalahti 560cc9670c fix integration modal 2021-04-08 16:29:08 +02:00
Keviin Åberg Kultalahti 5f7cfe3714 fix modal-container targeting for Portal component 2021-04-08 16:05:31 +02:00
Keviin Åberg Kultalahti 0675944893 converts ModalContent to semi-use spectrum 2021-04-08 15:46:34 +02:00
Keviin Åberg Kultalahti 88e04eb9e2 small fixes to modal 2021-04-08 15:04:26 +02:00
Keviin Åberg Kultalahti 4c3db2b238 add underlay component and fix modal 2021-04-08 14:47:57 +02:00
Keviin Åberg Kultalahti 6797b9af59 converts modal to use spectrum variables 2021-04-08 13:44:42 +02:00
Keviin Åberg Kultalahti 7f4250dca2 wip: bbui modal to spectrum conversion 2021-04-08 13:26:45 +02:00
Martin McKeaveney 2077073986 move auth controller into it's own dir 2021-04-08 11:57:23 +01:00
Martin McKeaveney 4abe6192dc further simplification of jwt auth 2021-04-08 11:53:40 +01:00
Martin McKeaveney fb2fda4055 encapsulate db ID generation functions 2021-04-08 11:26:08 +01:00
Martin McKeaveney 6aa7a38442 flip auth boolean 2021-04-08 11:21:52 +01:00
Martin McKeaveney f9dd480bb3 Merge branch 'feature/global-user-management' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-08 11:20:42 +01:00
Martin McKeaveney c7f4070ff5 encapsulate more auth functionality into shared module and use in worker 2021-04-08 11:20:37 +01:00
Andrew Kingston eb143f9af3 Add spectrum icon support 2021-04-08 11:17:37 +01:00
mike12345567 d0e5967851 Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-08 11:12:24 +01:00
Andrew Kingston 67a39dab78 Add other required spectrum attributes 2021-04-08 09:56:04 +01:00
Andrew Kingston 8698052774 Add spectrum classes for darkest theme around whole builder 2021-04-08 09:42:43 +01:00
mike12345567 0c974a70eb Adding a wait for authentication in cypress tests.# 2021-04-07 20:19:25 +01:00
mike12345567 e368b83e68 Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 17:52:36 +01:00
mike12345567 16b5b19027 Updating to make sure the envoy generated dev file is very obviously not to be edited. 2021-04-07 17:52:22 +01:00
Andrew Kingston 8a0fcddf68 Update all scripts to use yarn rather than npm 2021-04-07 17:38:49 +01:00
Martin McKeaveney 57b3a28708 Merge branch 'dev-experience' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-07 17:17:00 +01:00
mike12345567 6c790206a8 Attempting to use HBS to re-create the envoy file as needed in dev. 2021-04-07 17:13:19 +01:00
mike12345567 0d0c2cde32 Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 16:08:43 +01:00
mike12345567 30b7678c78 Fixing an issue with builder auth, adding a temporary endpoint which the server can set builder token on. 2021-04-07 16:08:29 +01:00
mike12345567 81d18d9097 Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management 2021-04-07 15:22:52 +01:00
mike12345567 b737aa673d Merge branch 'dev-experience' of github.com:Budibase/budibase into feature/global-user-management 2021-04-07 15:22:22 +01:00
Martin McKeaveney f135aa9db4 JWT auth on admin endpoints 2021-04-07 15:15:05 +01:00
Andrew Kingston 206399f32f Lint 2021-04-07 15:14:49 +01:00
Andrew Kingston 37fe8c2ab6 Only hydrate state from URL once in design section to avoid cycles 2021-04-07 15:10:03 +01:00
Andrew Kingston f631f67979 Fix building loading settings modal before app package call finishes 2021-04-07 15:09:35 +01:00
Andrew Kingston 359e628156 Fix cypress tests not deleting old apps 2021-04-07 15:08:59 +01:00
Andrew Kingston 0ac0f2f742 Format tests 2021-04-07 13:46:26 +01:00
Andrew Kingston f9a54d08f5 Fix route error when creating a view 2021-04-07 13:43:11 +01:00
mike12345567 6b5ed34e38 Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management 2021-04-07 13:36:34 +01:00
mike12345567 852ecd840c Fixing an issue with group by views. 2021-04-07 13:08:28 +01:00
mike12345567 45a63fe8c3 Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 11:55:04 +01:00
mike12345567 c1f22def11 Updating authorization test case to remove check for builder security and removing builder security while auth is being worked on - added an option to start stack without server so that user can start it in a debug mode if desired. 2021-04-07 11:54:51 +01:00
Andrew Kingston 72b811b568 Add dev script to do a one-time BBUI build so that the stylesheet exists 2021-04-07 11:47:01 +01:00
Martin McKeaveney edcc34e787 Merge branch 'feature/global-user-management' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-07 11:33:22 +01:00
Martin McKeaveney cf073a1e55 groundwork for budibase auth lib 2021-04-07 11:33:16 +01:00
Andrew Kingston 77228a3998 Fix missing import of automationStore 2021-04-07 11:33:14 +01:00
Andrew Kingston 9c4cbbd52c Fix typo 2021-04-07 11:31:59 +01:00
Andrew Kingston 3f51c07177 Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 11:31:26 +01:00
Andrew Kingston 99258da2df Add commonJS fields to package.json for client and standard components so the server can require them 2021-04-07 11:31:19 +01:00
mike12345567 486ca97330 Fixing component definition test cases and fixing an issue found by authorized test case. 2021-04-07 11:27:15 +01:00
Andrew Kingston d97a4a59e9 Export manifext in package.json 2021-04-07 11:17:01 +01:00
Andrew Kingston 1ca48a1602 Use node_modules to fetch component manifest in test env 2021-04-07 11:16:48 +01:00
Andrew Kingston ff938e70b5 Update string-templates tests 2021-04-07 10:56:06 +01:00
Andrew Kingston 7efcc29ba8 Update locks 2021-04-07 10:52:41 +01:00
Andrew Kingston 9df873a9a8 Include BBUI CSS in standard components 2021-04-07 10:52:33 +01:00
Andrew Kingston f4ed1812e4 Remove CORS hack now that the envoy proxy removes the need for it 2021-04-07 10:37:26 +01:00
mike12345567 9e74e3354c Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-07 10:05:57 +01:00
Andrew Kingston 1b8f2067e4 Add back in Grid to backend UI 2021-04-07 09:03:47 +01:00
mike12345567 a4b1f2390e Formatting. 2021-04-06 18:08:07 +01:00
Keviin Åberg Kultalahti 6c419de390 fix ag-grid not working 2021-04-06 16:48:01 +02:00
Andrew Kingston 120c22fdb4 Update BBUI to use vite and remove old svench config 2021-04-01 21:05:18 +01:00
Martin McKeaveney 3f1c18e7dd basic couchDB authentication using passport 2021-04-01 20:34:43 +01:00
Andrew Kingston bc821feeff Fix routing error when initially loading Data page 2021-04-01 19:49:51 +01:00
Andrew Kingston fb70cbb117 Remove placeholder from iframe template 2021-04-01 19:43:44 +01:00
Andrew Kingston e0cc51c549 Restore proper client functionality with vite 2021-04-01 19:42:14 +01:00
Andrew Kingston 6b706cd438 Properly dedupe svelte to allow context sharing 2021-04-01 19:41:54 +01:00
Andrew Kingston 7fc31a1001 Ignore some client lib warnings 2021-04-01 19:25:56 +01:00
Andrew Kingston 80454387be Add missing alt tag to dropzone image 2021-04-01 19:21:12 +01:00
Andrew Kingston 2ff3fce35d Remove old code from container 2021-04-01 19:19:14 +01:00
Andrew Kingston 8e2a50aa0d Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 19:10:07 +01:00
Andrew Kingston 4f3900ecbd Update locks 2021-04-01 19:07:06 +01:00
Andrew Kingston a1a22df08e Add missing file from update 2021-04-01 18:01:36 +01:00
Andrew Kingston 7c76a26467 Update to support new backend table structure 2021-04-01 18:00:46 +01:00
Andrew Kingston 6c5129f8db Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-04-01 17:58:10 +01:00
Andrew Kingston fb9f0f0982 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 17:07:56 +01:00
Andrew Kingston b148d05c5a Add standard components yarn.lock 2021-04-01 17:07:43 +01:00
mike12345567 724da18932 Adding back server lock file. 2021-04-01 17:07:31 +01:00
Andrew Kingston e61ee068a2 Add builder yarn.lock 2021-04-01 17:06:48 +01:00
mike12345567 74aa94fac6 Fixing issue with node modules path. 2021-04-01 16:36:27 +01:00
mike12345567 4f589a8b49 Fixing an issue with server still expecting tmp directory to be created externally and updating component library to not cache with require in dev. 2021-04-01 16:28:51 +01:00
mike12345567 2f03b758a9 Fixing node modules path. 2021-04-01 16:22:44 +01:00
mike12345567 4cdef32bc9 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 16:20:06 +01:00
mike12345567 751607f72e Updating standard components to make use of the development version in node_modules. 2021-04-01 16:19:31 +01:00
Andrew Kingston 9b9e60b5e2 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 16:09:37 +01:00
Andrew Kingston 5bf33c5d6b Fix string-templates and client buindling for ESM 2021-04-01 16:09:16 +01:00
mike12345567 0b7502ba7e Updating some route middleware security. 2021-04-01 14:38:31 +01:00
mike12345567 14d7ac5238 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 14:12:30 +01:00
mike12345567 95efc26839 Some refactoring of utilities and constants, as well as documenting work carried out here. 2021-04-01 14:11:58 +01:00
Andrew Kingston 4ff5a2b073 Use server-provided client lib URL in iframe preview 2021-04-01 14:10:49 +01:00
Andrew Kingston 90df8a21c1 Fix syntax error in BBUI package.json 2021-04-01 13:53:21 +01:00
Andrew Kingston 673fcad230 Remove dev script from BBUI as it is bundled from other packages in the dev stack now 2021-04-01 13:52:52 +01:00
Andrew Kingston 73afd3c676 Fix BBUI rollup 2021-04-01 13:52:06 +01:00
Andrew Kingston 1c8de5d52d Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 13:51:48 +01:00
Andrew Kingston 9aea8e34f4 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 13:44:18 +01:00
Andrew Kingston 3ab4c7f4bc Improve cross-package bundling 2021-04-01 13:44:14 +01:00
Keviin Åberg Kultalahti 9277a40b37 adds sorting to cypress views test 2021-04-01 14:28:38 +02:00
Keviin Åberg Kultalahti 84bb7245fc adds some more waits to the cypress views tests 2021-04-01 14:10:58 +02:00
Keviin Åberg Kultalahti a7934ecfd0 bump wait times in cypress views test 2021-04-01 13:56:27 +02:00
mike12345567 de694ff338 Updating how the client library is served in development. 2021-04-01 12:48:38 +01:00
Keviin Åberg Kultalahti 22f6cd2840 Merge branch 'next' into feat/store-tests 2021-04-01 13:33:05 +02:00
Keviin Åberg Kultalahti f5a52c013d update yarn.lock file 2021-04-01 13:13:59 +02:00
mike12345567 2252498cd6 Updating dev server rendered svelte app client link. 2021-04-01 12:08:47 +01:00
mike12345567 1c44808336 Adding a nuke stack option at top of repo and then setting up proxy for dev experience through envoy. 2021-04-01 12:02:31 +01:00
Keviin Åberg Kultalahti 66cd1c6c04 lint fixes 2021-04-01 12:55:09 +02:00
Andrew Kingston 55208b1358 Update URLs for fetching component libraries to be under api route 2021-04-01 11:49:57 +01:00
Keviin Åberg Kultalahti dd5959eb0c re-arrange tables store saveField method 2021-04-01 12:45:06 +02:00
Keviin Åberg Kultalahti 3c2f182b03 removes unneeded wait in view cypress test 2021-04-01 11:59:56 +02:00
Andrew Kingston 60a045b4c3 Update builder to hit port 1000 2021-04-01 10:59:15 +01:00
Keviin Åberg Kultalahti 50da4159e1 fixes views store 2021-04-01 11:53:22 +02:00
Andrew Kingston b725c04b32 Fix merge conflict 2021-04-01 10:33:51 +01:00
Andrew Kingston b3b7c54901 Update to support new stores 2021-04-01 10:29:47 +01:00
Keviin Åberg Kultalahti 3a8e753eae increase wait times in cypress tests 2021-04-01 11:08:58 +02:00
Andrew Kingston 86667bfa0f Update URLs to use builder instead of _builder 2021-04-01 10:06:22 +01:00
Keviin Åberg Kultalahti ccf051ea43 add back packages that were accidently removed 2021-04-01 10:48:11 +02:00
Andrew Kingston 32e7a7950b Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:42:56 +01:00
Keviin Åberg Kultalahti c1f9704dc1 adds string-templates to trasnformIgnorePatterns 2021-04-01 10:40:49 +02:00
Keviin Åberg Kultalahti 83efcaf12f version bumps 2021-04-01 10:12:36 +02:00
Andrew Kingston 8619db57b4 Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:12:16 +01:00
Keviin Åberg Kultalahti e57fc278c2 adds back babel-jest 2021-04-01 09:26:36 +02:00
Keviin Åberg Kultalahti 82485607df lint fix 2021-04-01 08:40:30 +02:00
Andrew Kingston 17c06cfb84 Import image assets as needed to allow proper bundling 2021-03-31 19:58:30 +01:00
Andrew Kingston 183e33ae82 Update gitignore in server 2021-03-31 19:58:08 +01:00
Andrew Kingston 1019e22688 Ignore builder files inside server 2021-03-31 19:57:48 +01:00
Andrew Kingston ee33a151b0 Support serving vite-bundled builder from server 2021-03-31 19:55:55 +01:00
Andrew Kingston a774f400f8 Export package.json from string-templates repo 2021-03-31 19:55:35 +01:00
Andrew Kingston 194eb13440 Remove hardcoded builder assets in server 2021-03-31 19:55:21 +01:00
Andrew Kingston 80f819255d Prefix builder URLs with 'builder' in both routify and vite to lay groundwork for server proxying 2021-03-31 19:27:52 +01:00
Andrew Kingston db0e234858 Adjust iframe builder preview to prevent requirement of rollup-plugin-html 2021-03-31 19:12:56 +01:00
Andrew Kingston 03eafad505 Prune builder dependencies 2021-03-31 19:12:28 +01:00
Andrew Kingston 369a0d6c7a Update string-templates to use a better node polyfill rollup plugin 2021-03-31 19:07:09 +01:00
Andrew Kingston a2bd824a1d Fix issue with polyfilling node globals 2021-03-31 18:49:53 +01:00
Martin McKeaveney 15533466fe Merge pull request #1341 from Budibase/cli-analytics
Cli analytics
2021-03-31 16:27:56 +01:00
Andrew Kingston 44ad38fdf8 Add BBUI to monorepo and use vite for builder, client lib and standard components 2021-03-31 16:14:56 +01:00
Keviin Åberg Kultalahti 7cc7feea07 fix templates not being passed correct param 2021-03-31 14:23:58 +02:00
Keviin Åberg Kultalahti 12fbd6245c fix merge regression 2021-03-31 13:48:30 +02:00
Andrew Kingston 0c3f2450f2 Merge branch 'datasource-refactor' of github.com:Budibase/budibase into spectrum-bbui 2021-03-31 11:11:01 +01:00
Andrew Kingston 64cd1aca32 Add BBUI package to monorepo 2021-03-31 10:59:07 +01:00
Keviin Åberg Kultalahti c5bdb590f9 merge next 2021-03-31 11:26:44 +02:00
Keviin Åberg Kultalahti 17dea3124d wip: views store tests 2021-03-30 18:10:58 +02:00
Keviin Åberg Kultalahti 9bdfe8336d adds tables store tests 2021-03-30 15:37:53 +02:00
Martin McKeaveney 7bc7fc7e7d lint 2021-03-30 11:50:49 +01:00
Martin McKeaveney a4486fff4c adding distinct CLI id to hosting 2021-03-30 11:04:13 +01:00
Martin McKeaveney 1c10c42c9d tidy up 2021-03-30 10:51:37 +01:00
Martin McKeaveney e2b26ffa9c adding abstraction for config manager 2021-03-30 10:50:42 +01:00
Keviin Åberg Kultalahti 71dc4938da adds an init method to the tables store 2021-03-30 11:32:01 +02:00
Keviin Åberg Kultalahti d22d5c7c28 fix last roles store test 2021-03-30 10:49:42 +02:00
Andrew Kingston e15986a6a5 Remove unecessary escape in regex 2021-03-29 18:21:57 +01:00
Martin McKeaveney 412f727347 analytics client 2021-03-29 17:40:17 +01:00
mike12345567 ae8dd1ec78 Removing use of the , replacing to ctx.appId to make it clear appId not part of the auth. 2021-03-29 17:32:05 +01:00
mike12345567 9423128369 Updating worker package with the various parts of server that needed moved over. 2021-03-29 17:31:41 +01:00
Keviin Åberg Kultalahti dd21ee2386 wip: roles store test 2021-03-29 18:23:53 +02:00
Keviin Åberg Kultalahti 292a891883 update query store 2021-03-29 17:52:38 +02:00
Keviin Åberg Kultalahti e1034ae5ac fix last query test 2021-03-29 17:50:12 +02:00
Keviin Åberg Kultalahti 003c1c75d4 fixes queries and datasource tests 2021-03-29 17:45:18 +02:00
Andrew Kingston c486a311b1 Update search component to work with new data bindings. Simplify manifest context entries for data bindings 2021-03-29 16:37:17 +01:00
Andrew Kingston 38d1dfed1b Remove deprecated dataProvider setting from manifest 2021-03-29 16:22:43 +01:00
Andrew Kingston fc9fcaa868 Add correct height placeholder for tables to avoid jarring page resizing when loading data 2021-03-29 16:05:32 +01:00
Andrew Kingston 83a021a45d Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-29 15:40:35 +01:00
Andrew Kingston 181ba065ec Reorder table settings to put column selection last 2021-03-29 15:36:26 +01:00
Andrew Kingston 694dab654d Fix form picker component styling 2021-03-29 15:34:18 +01:00
Andrew Kingston b46cef4fcd Disable table checkbox 2021-03-29 15:29:13 +01:00
Keviin Åberg Kultalahti d86467ecd7 fix datasource test 2021-03-29 16:23:58 +02:00
mike12345567 76f330fc36 Replacing deprecated symbols. 2021-03-29 15:06:00 +01:00
mike12345567 3f21a6ba6f Starting worker instance as part of the stack, some changes to how environment handled for worker. 2021-03-29 15:00:40 +01:00
Keviin Åberg Kultalahti d0aca74e4a wip: queries store tests 2021-03-29 14:57:01 +02:00
Keviin Åberg Kultalahti 58546754b8 adds test for permissions store 2021-03-29 13:16:41 +02:00
Keviin Åberg Kultalahti f8475bfdc2 finishes datasources stores 2021-03-29 12:54:41 +02:00
Keviin Åberg Kultalahti a1f242a628 adds fetch and delete tests to datasources store 2021-03-29 12:03:34 +02:00
Martin McKeaveney 449fd12b0e Merge pull request #1301 from mslourens/1292-improvement-electron-menu
1292 - add help menu items related to budibase instead of electron
2021-03-26 14:57:44 +00:00
Martin McKeaveney 8f5fd32f74 scripting block 2021-03-26 14:56:34 +00:00
mike12345567 12ed9f9d02 Quick change after reviewing. 2021-03-26 14:46:29 +00:00
Keviin Åberg Kultalahti 6711801f97 add some temporary testing files 2021-03-26 15:43:55 +01:00
mike12345567 273855ed8c Some minor updates to make search test cases pass. 2021-03-26 14:11:24 +00:00
mike12345567 41d16442c7 Minor change to make sure next button only displayed when relevant. 2021-03-26 13:49:03 +00:00
mike12345567 97f8d34947 Some final changes to search system so that the new indexing system is used instead of mango to achieve exactly the same result. 2021-03-26 13:46:20 +00:00
Keviin Åberg Kultalahti 33b7545e56 bump jest 2021-03-26 09:51:28 +01:00
Keviin Åberg Kultalahti 44e3f29a0b moves backend stores to "stores" in the root src directory 2021-03-26 09:50:37 +01:00
mike12345567 b97071bf82 Rewriting search to use the new couchdb 3.0 search functionality. 2021-03-25 23:42:50 +00:00
mike12345567 942214a54a Merge branch 'feature/fs-removal' of github.com:Budibase/budibase into lab-day/lucene 2021-03-25 21:56:18 +00:00
mike12345567 415b48856f Fixing an issue with bucket creation, sometimes many calls will be made at once for checking bucket exists, just manage this by storing the state of promise. 2021-03-25 19:22:08 +00:00
mike12345567 c51cf423e3 Creating CouchDB 3.0 indexes. 2021-03-25 19:12:17 +00:00
mike12345567 24c523faad Initialising CouchDB link to lucene and app design DBs for it. 2021-03-25 18:04:44 +00:00
mike12345567 b70ff24dac Some further work to make sure all use of the budibaseAppsDir is removed in important places. 2021-03-25 18:03:58 +00:00
Andrew Kingston dd54bc9771 Add onclick handler to icons 2021-03-25 16:18:19 +00:00
Andrew Kingston f17e2478e2 Fix crash generating bindable properties for an empty data provider ID 2021-03-25 16:17:56 +00:00
mike12345567 f7d14a8110 Quick change to make sure the client lib always served correctly in test. 2021-03-25 16:08:09 +00:00
mike12345567 8d23152562 Attempting to solve component library issue permanently in test. 2021-03-25 15:19:41 +00:00
Andrew Kingston 3c67e4806e Enable table to know when invalid column names have been passed 2021-03-25 14:48:28 +00:00
mike12345567 d5154a1ed9 Some cleanup fixes for tests that makes sure temp directory isn't getting out of control. 2021-03-25 14:46:32 +00:00
Andrew Kingston f84302ed89 Add virtual rendering to table to increase performance and remove grid component 2021-03-25 14:40:29 +00:00
mike12345567 6919057320 Fixing cypress test issues. 2021-03-25 13:32:05 +00:00
mike12345567 ed01d2463e Updating system for hosting error that blocked creating apps when server not configured correctly. 2021-03-25 12:53:43 +00:00
mike12345567 8a577b81f6 Fixing an issue with a test case, was going down dev path. 2021-03-25 11:41:41 +00:00
Martin McKeaveney 9c281baeb6 script block 2021-03-25 11:17:04 +00:00
Martin McKeaveney 637d115534 v0.8.12 2021-03-25 10:40:08 +00:00