Commit Graph

5061 Commits

Author SHA1 Message Date
mike12345567 a19b0d092b Merge branch 'master' of github.com:Budibase/budibase 2021-04-16 13:47:40 +01:00
mike12345567 cfde5d3ca4 Some fixes for creation/editing of table columns. 2021-04-16 13:47:30 +01:00
Andrew Kingston ea5501fe98 Make modals only close on a mousedown outside the modal rather than a click 2021-04-16 13:09:16 +01:00
Andrew Kingston 63dfb552d7 Fix crash when non iterable options property given to picker 2021-04-16 13:08:06 +01:00
Andrew Kingston 68aca8b630 Update some more parts of the builder to use new form components 2021-04-16 13:07:38 +01:00
Keviin Åberg Kultalahti 7e7e501244 fix navigation error in automation section 2021-04-16 13:02:45 +02:00
Keviin Åberg Kultalahti 8328a15637 fixes menu item placement issue 2021-04-16 12:42:32 +02:00
Keviin Åberg Kultalahti 1a53a3cb45 Convert main nav to use an ActionGroup 2021-04-16 12:40:34 +02:00
Andrew Kingston 9a2385e4b2 Use BBUI checkbox in standard components 2021-04-16 11:32:41 +01:00
Andrew Kingston 4d84e063dd Improve select determination of field text 2021-04-16 11:32:24 +01:00
Andrew Kingston 48a85ae103 Improve multiselect determintation of pretty labels 2021-04-16 11:32:05 +01:00
Keviin Åberg Kultalahti e8376435dd Adds Icon component to bbui 2021-04-16 12:24:06 +02:00
Keviin Åberg Kultalahti 0ac9ef1746 reverses tab order mistake in properties panel 2021-04-16 12:17:20 +02:00
Andrew Kingston 6e9c3b7b5d Fix schema in when creating columns and use new spectrum form components in design section 2021-04-16 11:06:21 +01:00
Andrew Kingston 474d08ed94 Add spectrum checkbox component 2021-04-16 11:05:53 +01:00
Andrew Kingston 795b96513e Use new spectrum components to build up Table SelectEditRenderer cell 2021-04-16 11:05:31 +01:00
Andrew Kingston a9f07045f7 Extract value and label props from select options which are objects by default 2021-04-16 11:04:50 +01:00
Andrew Kingston 3aeb85f62f Fix table height when no rows exist and fixed row count specified 2021-04-16 11:03:44 +01:00
Keviin Åberg Kultalahti 51c97a2c13 Automations panel now uses the tabs component 2021-04-16 11:49:08 +02:00
Keviin Åberg Kultalahti 32c2aa00b0 Component panel now uses Tabs component 2021-04-16 11:28:53 +02:00
Keviin Åberg Kultalahti 65309a5b98 adds tab to left sidebar on design section 2021-04-16 11:18:39 +02:00
Andrew Kingston 93f64cc671 Update create table modal to use new forms 2021-04-16 09:40:44 +01:00
Andrew Kingston 4f7b91f34f Update list autoscreen to use quiet table 2021-04-16 09:40:27 +01:00
Andrew Kingston 0f0d9bf72e Fix standard component table layout 2021-04-16 09:40:04 +01:00
Andrew Kingston 0f8ddd47fe Fix table borders and background colours to properly reflect spectrum theme 2021-04-16 09:39:49 +01:00
Andrew Kingston aab06cdc36 Don't render field label components unless a label exists 2021-04-16 09:39:29 +01:00
Andrew Kingston e28bbf594b Fix placeholder text 2021-04-16 09:39:09 +01:00
Keviin Åberg Kultalahti af2b3198a5 builder data side panel now uses new tabs component 2021-04-16 10:07:33 +02:00
Andrew Kingston 917f0551d5 Add missing modal content dependency 2021-04-16 09:02:16 +01:00
Andrew Kingston 4381c8981f Prune old dependencies 2021-04-16 09:01:52 +01:00
Andrew Kingston b0f31aaf15 Allow selects to support no placeholder option 2021-04-16 09:01:21 +01:00
Andrew Kingston 4b51381c88 Update lock 2021-04-16 08:10:18 +01:00
Andrew Kingston 534ca3319e Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui-forms 2021-04-16 08:08:52 +01:00
Martin McKeaveney 07d108aafa default user 2021-04-15 23:14:10 +01:00
Martin McKeaveney 4700b24793 account for empty user id in automations 2021-04-15 21:34:03 +01:00
Andrew Kingston d19e15c1e7 Update some standard components form components to use generic BBUI core components 2021-04-15 19:43:18 +01:00
Andrew Kingston b83148a0c8 Update some builder components to use new forms 2021-04-15 19:42:58 +01:00
Andrew Kingston ef1448ca6a Clean up create app modal error messages 2021-04-15 19:31:04 +01:00
Andrew Kingston eea5e9b535 Rewrite create app modal to work with new spectrum fields 2021-04-15 19:28:50 +01:00
Andrew Kingston b9913390c7 Change BBUI to single bundle export and clean up some form components 2021-04-15 19:28:08 +01:00
Martin McKeaveney e2167c1d62 lint 2021-04-15 18:34:49 +01:00
Martin McKeaveney 046850b4d6 login step configured correctly 2021-04-15 18:29:11 +01:00
Martin McKeaveney 7c92f9af32 lint 2021-04-15 17:46:47 +01:00
Martin McKeaveney 191c085f17 fix cypress tests, only login if cookie not present 2021-04-15 17:36:58 +01:00
Keviin Åberg Kultalahti a800c6198a adds wip progresscircle component 2021-04-15 18:06:22 +02:00
mike12345567 3545634d53 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 ee1a7a69ac Fixing some issues with auth module. 2021-04-15 16:57:01 +01:00
Martin McKeaveney 9db21447c3 uncomment code 2021-04-15 16:50:06 +01:00
Martin McKeaveney 212a1217c5 merge 2021-04-15 16:49:35 +01:00
mike12345567 2edb559fcf 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 fb4e52baff Updating worker/server to run in cypress properly. 2021-04-15 16:25:48 +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
Keviin Åberg Kultalahti 409a67ff3e remove unused stuff 2021-04-15 15:42:30 +02:00
Keviin Åberg Kultalahti 7c115149ba adds progressBar 2021-04-15 15:39:14 +02:00
Keviin Åberg Kultalahti 61e1529ea8 adds on:select handler to tabs component 2021-04-15 15:39:00 +02:00
Andrew Kingston 5f697f0e96 Add pretty labels to multiselect and fix stale props issue 2021-04-15 14:05:59 +01:00
Keviin Åberg Kultalahti f25bebf822 remove log 2021-04-15 14:48:20 +02:00
Keviin Åberg Kultalahti 7f05d74355 working sliding animation between tabs 2021-04-15 14:42:39 +02:00
mike12345567 0d65aac9a4 Linting. 2021-04-15 13:23:42 +01:00
Andrew Kingston 087e8ed153 Fix multiselect 2021-04-15 12:14:51 +01:00
Martin McKeaveney fe6d31d880 login command - need to run worker in cypress env 2021-04-15 12:14:50 +01:00
Andrew Kingston 2978b5db89 Remove dependency on BBUI stylesheet in builder 2021-04-15 12:09:36 +01:00
Andrew Kingston 87e37e0fc5 Fix modal transform causing inner overlays to incorrectly calculate window dimensions 2021-04-15 12:09:06 +01:00
Andrew Kingston c94bbf9571 Update StringField and OptionsField to use BBUI components 2021-04-15 11:51:18 +01:00
Andrew Kingston b741d9e9d9 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 20a16e07a1 Removing test case that isn't valid anymore. 2021-04-14 17:27:58 +01:00
Martin McKeaveney 3810cc7483 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 4c8c5c17b2 removing initial user creation 2021-04-14 17:02:12 +01:00
mike12345567 3697a270ec Linting. 2021-04-14 16:44:10 +01:00
mike12345567 29f6582ec0 Formatting. 2021-04-14 16:01:28 +01:00
mike12345567 8e729f92e1 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 bd2e75c745 Removing server 403. 2021-04-14 15:44:18 +01:00
mike12345567 e9767eabc5 Adding some controls around cookies, expiring them when a 403 is hit. 2021-04-14 15:43:34 +01:00
Keviin Åberg Kultalahti 6960966cac adds working tabs 2021-04-14 16:07:45 +02:00
mike12345567 e580628b9c Updating environment in auth package, easily see required env settings. 2021-04-14 14:13:48 +01:00
Keviin Åberg Kultalahti 5da296ed5d adds divider component 2021-04-14 14:52:25 +02:00
Martin McKeaveney eef989f375 joi syntax, adding db user builder key to cookie 2021-04-14 13:22:57 +01:00
Keviin Åberg Kultalahti f34b899ef6 adds Typogaphy components 2021-04-14 10:53:23 +02:00
Keviin Åberg Kultalahti db6b0c72df adds Heading component 2021-04-14 10:40:44 +02:00
Keviin Åberg Kultalahti fa08a6211d rework to use tick instead of manual timeout 2021-04-14 10:25:10 +02:00
Keviin Åberg Kultalahti 5d1d53f679 adds focus action to first input field of modals 2021-04-14 10:22:45 +02:00
mike12345567 0f59546169 Formatting. 2021-04-13 20:26:26 +01:00
mike12345567 76608fcdcd 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 8b20fcb573 Getting most of the test auth working, adding in global builder configuration. 2021-04-13 18:12:35 +01:00
Andrew Kingston 75a58829a6 Add missing menu, actiongroup and link spectrum dependencies 2021-04-13 18:12:10 +01:00
Andrew Kingston 758297a093 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-13 18:08:55 +01:00
Andrew Kingston 8af2b8f2a0 Fix table spectrum colour definitions 2021-04-13 18:08:01 +01:00
Andrew Kingston 105715e68e Add default spectrum colours to existing builder components and allow spectrum dark mode toggle 2021-04-13 18:07:45 +01:00
mike12345567 fa6267a2ac Fixing an issue with save row, changing how pre existing was handled caused an issue. 2021-04-13 17:41:32 +01:00
mike12345567 eea3ab8b07 Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-13 17:12:56 +01:00
mike12345567 a8f7977510 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 d0bdd113e1 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 0b0a2daa51 lint fix + remove electron.js 2021-04-13 16:57:22 +01:00
Martin McKeaveney 06f3b1fbad ensuring public users can log in after being assigned a roleId 2021-04-13 16:56:45 +01:00
Keviin Åberg Kultalahti 744f943e95 Merge branch 'spectrum-bbui' into spectrum/actionbutton-actionmenus 2021-04-13 17:05:01 +02:00
Andrew Kingston 719c2af295 Fix z-index on table header 2021-04-13 15:31:38 +01:00
Andrew Kingston c1ba8f065f Add missing toast dependency 2021-04-13 15:28:57 +01:00
mike12345567 7e6855262b 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 7204ba7ffb Merge branch 'spectrum-bbui-table' of github.com:Budibase/budibase into spectrum-bbui 2021-04-13 15:24:34 +01:00
Andrew Kingston a365992dd2 Fix stale data overwriting new data when requests are slow 2021-04-13 15:10:49 +01:00
Andrew Kingston 567e43046e Fix scroll state not resetting 2021-04-13 15:10:27 +01:00
Andrew Kingston c2b41ac55a Make standard components table custom column non-sortable 2021-04-13 14:45:24 +01:00
Andrew Kingston 5448cf02b8 Fix routify empty span tags affecting dom layout 2021-04-13 14:44:46 +01:00
Andrew Kingston d5827e15b3 Support non-sortable columns in table and prevent first row rendering flashing 2021-04-13 14:44:30 +01:00
mike12345567 42ed66703a Updating current app to set up role in middleware. 2021-04-13 14:35:00 +01:00
Andrew Kingston 08a1b4c1d7 Allow table dynamic resizing and scrolling whenever rowCount is not specified 2021-04-13 14:14:14 +01:00
Andrew Kingston c3748ce640 Fix client table not passing down rowCount and improve styles of wrapper div 2021-04-13 14:13:44 +01:00
Martin McKeaveney f5e5a415ca remove buildertoken refs 2021-04-13 14:00:09 +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
mike12345567 f219b4e4fb Removing test cases which are no longer valid. 2021-04-13 13:37:54 +01:00
mike12345567 af0df42c3c Formatting. 2021-04-13 13:35:30 +01:00
mike12345567 df55363133 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 a209606739 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 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
mike12345567 46b975186c Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-13 10:26:40 +01:00
Martin McKeaveney 2abb5d5759 small fixes 2021-04-13 09:20:30 +01:00
Martin McKeaveney 2c5a65cbb2 remove merge conflict 2021-04-12 20:11:21 +01:00
Martin McKeaveney 0fc957a13d v0.8.16 2021-04-12 19:51:11 +01:00
mike12345567 2aa26a2302 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 160d02a691 v0.8.15 2021-04-12 17:10:19 +01:00
Martin McKeaveney b1ea1b0fda lint 2021-04-12 16:51:07 +01:00
Andrew Kingston 0b3dcb40a3 Use BBUI spectrum table in standard components 2021-04-12 16:14:24 +01:00
Keviin Åberg Kultalahti cfe0b153e6 Implements ActionMenu component 2021-04-12 17:10:55 +02:00
mike12345567 698c983056 Updating fetch self to get the global user as well as local metadata. 2021-04-12 15:54:14 +01:00
Keviin Åberg Kultalahti 5c3fcb053d Implements Menu component 2021-04-12 16:26:26 +02:00
Andrew Kingston 4703c87991 Improve table cell rendering and pass down table slot 2021-04-12 15:24:33 +01:00
Andrew Kingston 7ca7769482 Add hover cursor to relationship badges in tables 2021-04-12 15:16:49 +01:00
Andrew Kingston 1c1f71ebfb Don't show header in spectrum table unless rows exist 2021-04-12 15:15:35 +01:00
Andrew Kingston 28b4e178fe Allow clicking on relationships in spectrum table 2021-04-12 15:12:59 +01:00
Keviin Åberg Kultalahti ba3ce4b128 some button fixes 2021-04-12 16:06:03 +02:00
Martin McKeaveney 85f8229ef4
Update microsoftSqlServer.js 2021-04-12 15:01:52 +01:00
Andrew Kingston e7a866e45a Improve table props and update table to work with views 2021-04-12 14:45:41 +01:00
Martin McKeaveney d8a0f0f747 merge 2021-04-12 13:41:46 +01:00
Martin McKeaveney 9eb6b541e9 merge 2021-04-12 13:39:53 +01:00
mike12345567 e2762e046d Removing test case which was no longer needed. 2021-04-12 12:19:45 +01:00
Martin McKeaveney 22a3f1691f in progress - currentapp token 2021-04-12 12:02:28 +01:00
mike12345567 08ce2b0557 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 826da54731 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 0548fdc863 self endpoint, simple auth 2021-04-12 11:20:01 +01:00
mike12345567 185dd1c7a9 Fixing issue with 403 on schema endpoint due to change in middleware. 2021-04-12 11:16:41 +01:00
mike12345567 47fa06675e 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 eed1228803 Updating snapshot for middleware test. 2021-04-12 11:09:06 +01:00
Martin McKeaveney 6499213f90 merge 2021-04-12 10:48:27 +01:00
Martin McKeaveney d7e187d8f2 builder login 2021-04-12 10:47:48 +01:00
Keviin Åberg Kultalahti b947bac525 wip menu component 2021-04-12 11:24:03 +02:00
Martin McKeaveney c30e70c939 v0.8.14 2021-04-11 12:58:22 +01:00
Martin McKeaveney 4b6efc42ed v0.8.13 2021-04-11 12:53:39 +01:00
Martin McKeaveney 83abf8111b fix automation fields 2021-04-11 12:02:01 +01:00
Martin McKeaveney b5a5df7f60 login page 2021-04-11 11:35:55 +01:00
mike12345567 dccd559b56 Updating some test cases to work with new system. 2021-04-09 17:33:21 +01:00
mike12345567 ac1f391383 Formatting. 2021-04-09 16:56:42 +01:00
mike12345567 dc62087dad 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 164ef9a22e Global users now working through the server, all requests proxied. 2021-04-09 15:11:49 +01:00
Andrew Kingston 54583873ed Add table placeholder 2021-04-09 14:48:26 +01:00
Keviin Åberg Kultalahti 97712a2936 fix buttons 2021-04-09 15:24:28 +02:00
Andrew Kingston 4e214f4e87 Disable image processing of attachments 2021-04-09 14:22:11 +01:00
Keviin Åberg Kultalahti d304728a05 reworks buttons to use more ergonomic interface 2021-04-09 15:21:51 +02:00
Andrew Kingston 00d47905a8 Add custom renderers to table and improve table sorting 2021-04-09 14:21:27 +01:00
Keviin Åberg Kultalahti d0a655f75f fix erroneous class usage 2021-04-09 14:57:31 +02:00
Andrew Kingston 563158da72 Merge branch 'spectrum-bbui-table' of github.com:Budibase/budibase into spectrum-bbui-table 2021-04-09 13:52:43 +01:00
mike12345567 b419430f04 Updating to make sure a relative URL is always used for attachments. 2021-04-09 13:49:16 +01:00
Keviin Åberg Kultalahti 428ee85e13 adds Link component to bbui 2021-04-09 14:44:48 +02:00
Andrew Kingston a2d1b0860d Merge branch 'spectrum-bbui-table' of github.com:Budibase/budibase into spectrum-bbui-table 2021-04-09 13:42:20 +01:00
mike12345567 75e0d82c8d Making attachments always a relative path on the way out. 2021-04-09 13:41:39 +01:00
Andrew Kingston 563694120b Fix error when attachment type doesn't exist 2021-04-09 13:36:54 +01:00
Andrew Kingston 5d880cf4e2 Lighten table scrollbar colours 2021-04-09 13:08:37 +01:00
Andrew Kingston f39cbf5630 Fix table border styles in default theme 2021-04-09 13:07:22 +01:00
Andrew Kingston 1362778f10 Shrink scroll bars slightly 2021-04-09 13:02:55 +01:00
Keviin Åberg Kultalahti a8f5d257eb adds ActionGroup component 2021-04-09 13:48:55 +02:00
Keviin Åberg Kultalahti 28a0e71f43 adds an ActionButton component to bbui 2021-04-09 13:38:48 +02:00
Keviin Åberg Kultalahti b68d677e27 moves NotificationDisplay to bbui and converts it to spectrum 2021-04-09 12:02:53 +02:00
Keviin Åberg Kultalahti 0eb904062c converts popover to spectrum 2021-04-09 11:22:49 +02:00
Keviin Åberg Kultalahti 52697ddc2d add text slot conditional to button 2021-04-09 11:10:37 +02:00
Keviin Åberg Kultalahti a2a1722baf conversion of buttons in builder 2021-04-09 10:52:06 +02:00
mike12345567 5cf3740fea Making sure volumes are removed when nuking. 2021-04-08 18:18:53 +01:00
mike12345567 13c368109e Some changes after trying system for first time. 2021-04-08 17:39:46 +01:00
Keviin Åberg Kultalahti 2963d1d945 actually convert table command buttons 2021-04-08 18:10:18 +02:00
Keviin Åberg Kultalahti 8de59903f6 convert table command buttons to spectrum 2021-04-08 18:04:03 +02:00
mike12345567 76346d082d 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 792114ef46 First pass of global user configuration through existing user API with role mappings. 2021-04-08 16:58:33 +01:00
Keviin Åberg Kultalahti 5490aabd00 converts Button to spectrum 2021-04-08 17:04:27 +02:00
Andrew Kingston ed77135093 Add spectrum table to BBUI and update builder 2021-04-08 15:57:24 +01:00
Keviin Åberg Kultalahti 9215c2c3d8 fix integration modal 2021-04-08 16:29:08 +02:00
Keviin Åberg Kultalahti def3b67e02 fix modal-container targeting for Portal component 2021-04-08 16:05:31 +02:00
Keviin Åberg Kultalahti eb0ffcc5b6 converts ModalContent to semi-use spectrum 2021-04-08 15:46:34 +02:00
Keviin Åberg Kultalahti cf2e00146d small fixes to modal 2021-04-08 15:04:26 +02:00
Keviin Åberg Kultalahti 635e2cc64c add underlay component and fix modal 2021-04-08 14:47:57 +02:00
Keviin Åberg Kultalahti a169d81060 converts modal to use spectrum variables 2021-04-08 13:44:42 +02:00
Keviin Åberg Kultalahti 377f323238 wip: bbui modal to spectrum conversion 2021-04-08 13:26:45 +02:00
Martin McKeaveney 1306f4cd68 move auth controller into it's own dir 2021-04-08 11:57:23 +01:00
Martin McKeaveney edfda5ca4a further simplification of jwt auth 2021-04-08 11:53:40 +01:00
Martin McKeaveney 4390bc5c0c encapsulate db ID generation functions 2021-04-08 11:26:08 +01:00
Martin McKeaveney 1054e25c84 flip auth boolean 2021-04-08 11:21:52 +01:00
Martin McKeaveney b7f0891567 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 73dfad3001 encapsulate more auth functionality into shared module and use in worker 2021-04-08 11:20:37 +01:00
Andrew Kingston 886f895f58 Add spectrum icon support 2021-04-08 11:17:37 +01:00
mike12345567 cc92b6c087 Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-08 11:12:24 +01:00
Andrew Kingston 43f2f83640 Add other required spectrum attributes 2021-04-08 09:56:04 +01:00
Andrew Kingston 81ae7f6dfe Add spectrum classes for darkest theme around whole builder 2021-04-08 09:42:43 +01:00
mike12345567 6d5b13632f Adding a wait for authentication in cypress tests.# 2021-04-07 20:19:25 +01:00
mike12345567 9c0a879e86 Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 17:52:36 +01:00
mike12345567 0f49868de8 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 8a3a7cfe92 Update all scripts to use yarn rather than npm 2021-04-07 17:38:49 +01:00
Martin McKeaveney 2d7823f314 Merge branch 'dev-experience' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-07 17:17:00 +01:00
mike12345567 482525187d Attempting to use HBS to re-create the envoy file as needed in dev. 2021-04-07 17:13:19 +01:00
mike12345567 63135e3351 Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 16:08:43 +01:00
mike12345567 29787032f0 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 85d7dd4d20 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 fed4910ac8 Merge branch 'dev-experience' of github.com:Budibase/budibase into feature/global-user-management 2021-04-07 15:22:22 +01:00
Martin McKeaveney 46ddcdce2c JWT auth on admin endpoints 2021-04-07 15:15:05 +01:00
Andrew Kingston a66389f8a2 Lint 2021-04-07 15:14:49 +01:00
Andrew Kingston 799a5285e3 Only hydrate state from URL once in design section to avoid cycles 2021-04-07 15:10:03 +01:00
Andrew Kingston e897a5ae61 Fix building loading settings modal before app package call finishes 2021-04-07 15:09:35 +01:00
Andrew Kingston a9f50556d3 Fix cypress tests not deleting old apps 2021-04-07 15:08:59 +01:00
Andrew Kingston 99c8897500 Format tests 2021-04-07 13:46:26 +01:00
Andrew Kingston 46a02ddb0c Fix route error when creating a view 2021-04-07 13:43:11 +01:00
mike12345567 6d20dcffc5 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 c926206ad7 Fixing an issue with group by views. 2021-04-07 13:08:28 +01:00
mike12345567 78c6abbb62 Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 11:55:04 +01:00
mike12345567 18ce4a1e19 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 b861341997 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 6e40e444fc 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 87b1924470 groundwork for budibase auth lib 2021-04-07 11:33:16 +01:00
Andrew Kingston a027399d57 Fix missing import of automationStore 2021-04-07 11:33:14 +01:00
Andrew Kingston 48918a17f5 Fix typo 2021-04-07 11:31:59 +01:00
Andrew Kingston 62a5c1697d Merge branch 'dev-experience' of github.com:Budibase/budibase into dev-experience 2021-04-07 11:31:26 +01:00
Andrew Kingston 4cb085d80d 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 62360b1025 Fixing component definition test cases and fixing an issue found by authorized test case. 2021-04-07 11:27:15 +01:00
Andrew Kingston 6d8f27ba4e Export manifext in package.json 2021-04-07 11:17:01 +01:00
Andrew Kingston 2ccdf54924 Use node_modules to fetch component manifest in test env 2021-04-07 11:16:48 +01:00
Andrew Kingston ac75c3cd65 Update string-templates tests 2021-04-07 10:56:06 +01:00
Andrew Kingston 4e200d0def Update locks 2021-04-07 10:52:41 +01:00
Andrew Kingston a788a161b8 Include BBUI CSS in standard components 2021-04-07 10:52:33 +01:00
Andrew Kingston 35c2e5dd94 Remove CORS hack now that the envoy proxy removes the need for it 2021-04-07 10:37:26 +01:00
mike12345567 bb777123d5 Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-07 10:05:57 +01:00
Andrew Kingston 41d43eb479 Add back in Grid to backend UI 2021-04-07 09:03:47 +01:00
mike12345567 c659968bd9 Formatting. 2021-04-06 18:08:07 +01:00
Keviin Åberg Kultalahti 2ab41f8a98 fix ag-grid not working 2021-04-06 16:48:01 +02:00
Andrew Kingston 9c0fedbd21 Update BBUI to use vite and remove old svench config 2021-04-01 21:05:18 +01:00
Martin McKeaveney 349a47c1e1 basic couchDB authentication using passport 2021-04-01 20:34:43 +01:00
Andrew Kingston 2b31f7d8a1 Fix routing error when initially loading Data page 2021-04-01 19:49:51 +01:00
Andrew Kingston caee5e3cd9 Remove placeholder from iframe template 2021-04-01 19:43:44 +01:00
Andrew Kingston 0b14fe89f3 Restore proper client functionality with vite 2021-04-01 19:42:14 +01:00
Andrew Kingston 41fb64aa04 Properly dedupe svelte to allow context sharing 2021-04-01 19:41:54 +01:00
Andrew Kingston a858dd72c2 Ignore some client lib warnings 2021-04-01 19:25:56 +01:00
Andrew Kingston 52a93f9dd7 Add missing alt tag to dropzone image 2021-04-01 19:21:12 +01:00
Andrew Kingston e3cee769f4 Remove old code from container 2021-04-01 19:19:14 +01:00
Andrew Kingston 65fe57ee23 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 19:10:07 +01:00
Andrew Kingston eff0313e4e Update locks 2021-04-01 19:07:06 +01:00
Andrew Kingston 810400d760 Add missing file from update 2021-04-01 18:01:36 +01:00
Andrew Kingston 230e9ed988 Update to support new backend table structure 2021-04-01 18:00:46 +01:00
Andrew Kingston 66ef52bf73 Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-04-01 17:58:10 +01:00
Andrew Kingston 9f276cb183 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 17:07:56 +01:00
Andrew Kingston 249f58c3b4 Add standard components yarn.lock 2021-04-01 17:07:43 +01:00
mike12345567 be41ff0064 Adding back server lock file. 2021-04-01 17:07:31 +01:00
Andrew Kingston 43b13a9cba Add builder yarn.lock 2021-04-01 17:06:48 +01:00
mike12345567 e9e01f00cc Fixing issue with node modules path. 2021-04-01 16:36:27 +01:00
mike12345567 07c4d519f6 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 b25cd7a23f Fixing node modules path. 2021-04-01 16:22:44 +01:00
mike12345567 fa269eb043 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 16:20:06 +01:00
mike12345567 e2c5051467 Updating standard components to make use of the development version in node_modules. 2021-04-01 16:19:31 +01:00
Andrew Kingston a77ed6d545 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 16:09:37 +01:00
Andrew Kingston 8241dbcd58 Fix string-templates and client buindling for ESM 2021-04-01 16:09:16 +01:00
mike12345567 73e97e50f4 Updating some route middleware security. 2021-04-01 14:38:31 +01:00
mike12345567 e2bae54b97 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 14:12:30 +01:00
mike12345567 3672188f4e Some refactoring of utilities and constants, as well as documenting work carried out here. 2021-04-01 14:11:58 +01:00
Andrew Kingston dab183cc8a Use server-provided client lib URL in iframe preview 2021-04-01 14:10:49 +01:00
Andrew Kingston 5ebb31e472 Fix syntax error in BBUI package.json 2021-04-01 13:53:21 +01:00
Andrew Kingston 1726bd0b79 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 557a26c18c Fix BBUI rollup 2021-04-01 13:52:06 +01:00
Andrew Kingston ecf15f9207 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 13:51:48 +01:00
Andrew Kingston 808a30fa07 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 13:44:18 +01:00
Andrew Kingston db2a710168 Improve cross-package bundling 2021-04-01 13:44:14 +01:00
Keviin Åberg Kultalahti d62c4bef95 adds sorting to cypress views test 2021-04-01 14:28:38 +02:00
Keviin Åberg Kultalahti 9c0186debb adds some more waits to the cypress views tests 2021-04-01 14:10:58 +02:00
Keviin Åberg Kultalahti f67a64e74b bump wait times in cypress views test 2021-04-01 13:56:27 +02:00
mike12345567 8ea12c30a6 Updating how the client library is served in development. 2021-04-01 12:48:38 +01:00
Keviin Åberg Kultalahti 28666a7a81 Merge branch 'next' into feat/store-tests 2021-04-01 13:33:05 +02:00
Keviin Åberg Kultalahti 4f8c89f5dc update yarn.lock file 2021-04-01 13:13:59 +02:00
mike12345567 d2bdb439ef Updating dev server rendered svelte app client link. 2021-04-01 12:08:47 +01:00
mike12345567 bdb751a8ff 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 1c29edb830 lint fixes 2021-04-01 12:55:09 +02:00
Andrew Kingston 6a4c981b60 Update URLs for fetching component libraries to be under api route 2021-04-01 11:49:57 +01:00
Keviin Åberg Kultalahti 2e13c5f10e re-arrange tables store saveField method 2021-04-01 12:45:06 +02:00
Keviin Åberg Kultalahti 7c6fc51e80 removes unneeded wait in view cypress test 2021-04-01 11:59:56 +02:00
Andrew Kingston f2a898147f Update builder to hit port 1000 2021-04-01 10:59:15 +01:00
Keviin Åberg Kultalahti 92fde68965 fixes views store 2021-04-01 11:53:22 +02:00
Andrew Kingston 677c3e0e86 Fix merge conflict 2021-04-01 10:33:51 +01:00
Andrew Kingston 46745a757a Update to support new stores 2021-04-01 10:29:47 +01:00
Keviin Åberg Kultalahti adab566c9d increase wait times in cypress tests 2021-04-01 11:08:58 +02:00
Andrew Kingston 23641a5d56 Update URLs to use builder instead of _builder 2021-04-01 10:06:22 +01:00
Keviin Åberg Kultalahti 7d436fea70 add back packages that were accidently removed 2021-04-01 10:48:11 +02:00
Andrew Kingston d945d76e59 Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:42:56 +01:00
Keviin Åberg Kultalahti 9d6fc5ecbe adds string-templates to trasnformIgnorePatterns 2021-04-01 10:40:49 +02:00
Keviin Åberg Kultalahti 0a38b963e8 version bumps 2021-04-01 10:12:36 +02:00
Andrew Kingston d4cc872b5c Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:12:16 +01: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
Andrew Kingston 72590acc18 Import image assets as needed to allow proper bundling 2021-03-31 19:58:30 +01:00
Andrew Kingston 2fb3a30e57 Update gitignore in server 2021-03-31 19:58:08 +01:00
Andrew Kingston e7b65719d5 Ignore builder files inside server 2021-03-31 19:57:48 +01:00
Andrew Kingston 96e8dfc68f Support serving vite-bundled builder from server 2021-03-31 19:55:55 +01:00
Andrew Kingston 7d0641746b Export package.json from string-templates repo 2021-03-31 19:55:35 +01:00
Andrew Kingston cc2d59f564 Remove hardcoded builder assets in server 2021-03-31 19:55:21 +01:00
Andrew Kingston 6785fd9b5a 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 ecd55f6c27 Adjust iframe builder preview to prevent requirement of rollup-plugin-html 2021-03-31 19:12:56 +01:00
Andrew Kingston cf6c15170b Prune builder dependencies 2021-03-31 19:12:28 +01:00
Andrew Kingston 6dae8a83ec Update string-templates to use a better node polyfill rollup plugin 2021-03-31 19:07:09 +01:00
Andrew Kingston aa450c08b4 Fix issue with polyfilling node globals 2021-03-31 18:49:53 +01:00
Martin McKeaveney 7720b13676
Merge pull request #1341 from Budibase/cli-analytics
Cli analytics
2021-03-31 16:27:56 +01:00
Andrew Kingston 583faba9da 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 958cae212d fix templates not being passed correct param 2021-03-31 14:23:58 +02:00
Keviin Åberg Kultalahti dc0f04c43a fix merge regression 2021-03-31 13:48:30 +02:00
Andrew Kingston 3ec4d67852 Merge branch 'datasource-refactor' of github.com:Budibase/budibase into spectrum-bbui 2021-03-31 11:11:01 +01:00
Andrew Kingston 02b8b68bc7 Add BBUI package to monorepo 2021-03-31 10:59:07 +01: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
Martin McKeaveney 5f2a18c2b2 lint 2021-03-30 11:50:49 +01:00
Martin McKeaveney 578c63c9df adding distinct CLI id to hosting 2021-03-30 11:04:13 +01:00
Martin McKeaveney d0b5986266 tidy up 2021-03-30 10:51:37 +01:00
Martin McKeaveney b5c32f8488 adding abstraction for config manager 2021-03-30 10:50:42 +01: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
Andrew Kingston 95c363727d Remove unecessary escape in regex 2021-03-29 18:21:57 +01:00
Martin McKeaveney 865a9673ba analytics client 2021-03-29 17:40:17 +01:00
mike12345567 865baf6d16 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 53b7589d9e Updating worker package with the various parts of server that needed moved over. 2021-03-29 17:31:41 +01: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
Andrew Kingston d26c20df31 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 88ae09a553 Remove deprecated dataProvider setting from manifest 2021-03-29 16:22:43 +01:00
Andrew Kingston 8457e1743c Add correct height placeholder for tables to avoid jarring page resizing when loading data 2021-03-29 16:05:32 +01:00
Andrew Kingston 9012df0b90 Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-29 15:40:35 +01:00
Andrew Kingston 6b6debf6f9 Reorder table settings to put column selection last 2021-03-29 15:36:26 +01:00
Andrew Kingston 0c4687c502 Fix form picker component styling 2021-03-29 15:34:18 +01:00
Andrew Kingston 9b3a6a9c4d Disable table checkbox 2021-03-29 15:29:13 +01:00
Keviin Åberg Kultalahti b90e37ba64 fix datasource test 2021-03-29 16:23:58 +02:00
mike12345567 bcde3a6d64 Replacing deprecated symbols. 2021-03-29 15:06:00 +01:00
mike12345567 f48b09d378 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 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
Keviin Åberg Kultalahti 7e56446395 adds fetch and delete tests to datasources store 2021-03-29 12:03:34 +02:00
Martin McKeaveney 03a9266ce6
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 33fe760959 scripting block 2021-03-26 14:56:34 +00:00