Commit Graph

1158 Commits

Author SHA1 Message Date
Andrew Kingston d90ccc26c7 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-08 08:12:37 +00:00
Andrew Kingston 2969f2d24c Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-07 14:45:14 +00:00
Andrew Kingston 3b6128f33f Use automatic formatting for generated longform fields 2022-02-07 12:11:20 +00:00
Andrew Kingston 2c0af72cd4 Reset the builder store whenever unmounting the app root layout 2022-02-04 09:29:51 +00:00
Andrew Kingston c7cd6b923d Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-26 16:02:27 +00:00
Rory Powell ffcf5354eb Add CSRF Token 2022-01-25 22:54:50 +00:00
Andrew Kingston 9a813dbb29 Lint 2022-01-25 15:49:35 +00:00
Andrew Kingston 9d52841219 Refactor automation store to properly handle errors 2022-01-25 15:44:08 +00:00
Andrew Kingston 81558588dc Clean up frontend store 2022-01-24 18:53:41 +00:00
Andrew Kingston 891bdefcb7 Remove all obscure error handling from stores and move it to the display level 2022-01-24 18:40:06 +00:00
Andrew Kingston c08fadc7b0 Move API client in builder to top level under src and fix some endpoints not being imported 2022-01-24 16:38:36 +00:00
Andrew Kingston db3b4c0b8c Update remaining builder stores to use new core API and handle errors properly 2022-01-24 14:32:27 +00:00
Andrew Kingston 453386696f Refactor all backend stores and their usages to use new core API and handle errors 2022-01-24 12:37:22 +00:00
Rory Powell 81e8ceff1a Merge branch 'develop' into feature/app-urls 2022-01-21 17:35:23 +00:00
Rory Powell e0dcc7648c Remove server -> worker request to retrieve apps, remove hosting endpoints and store 2022-01-21 17:31:18 +00:00
Andrew Kingston 59349f2451 Add lots more work on refactoring builder to use core API 2022-01-21 15:09:27 +00:00
Andrew Kingston f100ae42fd Add more work on API refactor in builder 2022-01-21 09:10:59 +00:00
Andrew Kingston 6a7aed1c0d Update parts of builder with core API refactor 2022-01-20 18:42:30 +00:00
mike12345567 23a9fc709f Minor fix, when testing the filtering the data section noticed some stuff didn't work, like filtering by just a number (which is actually text) we fixed this previously but had to version the API to fix it, builder needed to send up the API version it desires to use. 2022-01-20 18:06:14 +00:00
Andrew Kingston 1ec3a91cae Update usages of utils and helpers in the builder 2022-01-20 11:19:37 +00:00
Andrew Kingston 9d4f18f1ce Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-19 13:54:39 +00:00
mike12345567 d93617d3c7 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-01-18 14:25:30 +00:00
Andrew Kingston 0201841b90 Add initial work on frontend-core refactor 2022-01-18 09:39:19 +00:00
Rory Powell d2e13da831 Test fix 2022-01-13 17:46:57 +00:00
Rory Powell 4433ebc1f2 Handle 403 when loading templates 2022-01-13 17:24:52 +00:00
Rory Powell b5250ac244 Fix return url using cookies 2022-01-13 14:07:49 +00:00
mike12345567 657f55f0da Adding a skip button for fetching plus datasource tables incase working with very large data sets and still want to perform queries. 2022-01-06 15:28:38 +00:00
Andrew Kingston d06cc93757 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-15 13:36:10 +00:00
Andrew Kingston ab1e5abd5e Refactor button definitions, rename button action components and add button manifest 2021-12-13 10:55:45 +00:00
Andrew Kingston dc7d22e5cb Add support for binding forms to deep json fields 2021-12-10 14:18:01 +00:00
Andrew Kingston 59ac6682ae Generate button context bindings for all button actions 2021-12-09 08:36:50 +00:00
Andrew Kingston 2da952af24 Fix bug where state variables were not always extracted, improve performance when determining bindable state values and add initial work on generating button context bindings 2021-12-08 15:31:06 +00:00
Andrew Kingston b1cc72c54a Add support for accessing unlimited levels of nested JSON arrays 2021-12-07 21:19:14 +00:00
Andrew Kingston 7146b994ff Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-07 15:11:32 +00:00
Andrew Kingston d1b5716252 Fix data bindings from JSON fields not correctly squashing nested structures beyond the first level 2021-12-06 19:56:05 +00:00
Andrew Kingston ca0abba428 Add data bindings for top level properties within JSON fields 2021-12-06 19:55:21 +00:00
Andrew Kingston a5b4087f64 Enable support for handling shallow non-object arrays in JSON fields 2021-12-06 18:12:27 +00:00
mike12345567 5936fe0f5f Adding all response capabilities. 2021-12-06 17:39:51 +00:00
Andrew Kingston 8dd916afb9 Add more comments to clarify data binding behaviour 2021-12-06 12:14:06 +00:00
Andrew Kingston 7a0ee7aea6 Remove log statements 2021-12-06 12:04:55 +00:00
Andrew Kingston d10d332b9f Update client side lucene searching to work with nested JSON fields and fix bug with flattening nested JSON schema 2021-12-06 12:04:22 +00:00
Andrew Kingston cd5d370e7b Allow using JSON field arrays as a data provider source and add data bindings for nested JSON fields 2021-12-06 11:41:17 +00:00
mike12345567 7c7b7584fa Merge branch 'develop' of github.com:Budibase/budibase into feature/rest-redesign 2021-12-03 12:45:32 +00:00
Andrew Kingston 1e38628a4b Add new form field component for JSON fields, JSON validation and update autoscreen generation 2021-12-03 09:20:45 +00:00
mike12345567 41d34861c3 Merge branch 'develop' of github.com:Budibase/budibase into feature/rest-redesign 2021-12-02 14:35:17 +00:00
Andrew Kingston e71dd8fb77 Reset client features when selecting a new app 2021-12-02 12:27:59 +00:00
Andrew Kingston e2ff1d8d54 Merge branch 'fix/block-context' of github.com:Budibase/budibase into feature/json-backend 2021-12-01 11:40:09 +00:00
Andrew Kingston e6741ce341 Ensuire the save row action determines the correct runtime bindings and only uses valid context types 2021-12-01 10:32:55 +00:00
mike12345567 3e5f9b9505 Updating REST creation, removing the modal step, updating the config page to move things around as per designs. 2021-11-30 16:21:16 +00:00
Andrew Kingston 2c91b89f02 Prevent data providers from using arbitrary context-providing components as sources 2021-11-30 14:32:18 +00:00
mike12345567 39bb1f3e2c Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 11:32:50 +00:00
mike12345567 05e2baa0d3 Moving generation to builder because it reduces API calls and has no reason to be carried out server-side, handling array/object schema generation correctly. 2021-11-29 17:11:08 +00:00
Andrew Kingston 8b4bd84ab5 Preserve bindings when duplicating components 2021-11-29 08:30:52 +00:00
Peter Clement 4ede32c408 Merge pull request #3533 from Budibase/feature/auto-screen-ui
Fix issue where auto screen UI was duplicating selections
2021-11-25 10:23:50 +00:00
Peter Clement 3e6d858d3a fix automation 2021-11-25 09:30:10 +00:00
Peter Clement f8f191570d refactor screen templates to include table name 2021-11-24 19:26:07 +00:00
Peter Clement f9fea88541 refactor screen templates to include table name 2021-11-24 19:10:10 +00:00
Peter Clement 1da1331b3a Merge remote-tracking branch 'origin/develop' into fix/pc-generic-fixes 2021-11-23 10:24:27 +00:00
Andrew Kingston 6c0a1e99da Merge pull request #3403 from Budibase/cheeks-lab-day
Inline text editing + perf. enhancements + preview enhancements
2021-11-22 10:44:38 +00:00
Peter Clement 7bbf5500c6 Merge pull request #3334 from Budibase/feature/auto-screen-ui
Feature/auto screen UI
2021-11-22 10:15:44 +00:00
Peter Clement b902e017dd fix bug with test results 2021-11-18 11:41:51 +00:00
Peter Clement 5311c8ee7e save inputted test data 2021-11-17 13:49:34 +00:00
Andrew Kingston 9728c6c947 Prevent unecessary updates to component settings to improve performance 2021-11-16 13:38:47 +00:00
Andrew Kingston 4c84f713b9 Merge pull request #3355 from Budibase/repeater-array
Data block + array fields as data sources
2021-11-16 11:03:30 +00:00
Andrew Kingston 3470b1ea1b Update data sources to correctly include block context suffixes in provider IDs 2021-11-15 12:25:01 +00:00
Andrew Kingston df455c2719 Add data block component 2021-11-12 15:19:25 +00:00
Andrew Kingston 3db35d3af9 Enable data providers to use array and attachment fields as their source 2021-11-12 13:42:55 +00:00
mike12345567 dc8d0aa533 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-11 13:48:07 +00:00
Andrew Kingston fc6e531115 Merge pull request #3299 from Budibase/full-bindings
Full bindings for relationships and attachments
2021-11-11 11:01:27 +00:00
Andrew Kingston 2b59d44e06 Change bindable properties order 2021-11-10 14:57:46 +00:00
Peter Clement fae88947e9 Merge remote-tracking branch 'origin/develop' into feature/auto-screen-ui 2021-11-10 14:48:56 +00:00
Andrew Kingston 4690ae827c Use full bindings for releationships and attachments 2021-11-09 15:45:32 +00:00
Martin McKeaveney cb459bc877 adding flags for messagePassing 2021-11-09 12:15:29 +01:00
Peter Clement 1a265149e2 new auto screen ux 2021-11-09 09:33:34 +00:00
Andrew Kingston a7849eac7d Add card list with search block. Add concept of nested settings which can consume their own contexts and are not enriched at the top level 2021-11-08 14:35:58 +00:00
Andrew Kingston 117a7f7ce8 Fix issue getting bindable properties when selecting a screen 2021-11-05 12:37:42 +00:00
Andrew Kingston adda702588 Add button to table with search block and support defining multiple settings sections in component manifest entries 2021-11-04 11:30:43 +00:00
mike12345567 a1aaf00e41 Fixing two issues, not verifying a file has been uploaded for import app and fixing HBS visual issue where handlebars statement could get screwed up. 2021-10-20 18:37:07 +01:00
mike12345567 fd894897ca Setting a hard limit on how many rows can be returned by the SQL plus queries. 2021-10-15 17:52:06 +01:00
mike12345567 bded4a5b56 Merge branch 'develop' of github.com:Budibase/budibase into js-binding-drawer 2021-10-13 16:48:36 +01:00
Peter Clement e479ced4c8 fix webhook issue in automations 2021-10-12 11:00:49 +01:00
Andrew Kingston 43d546b2db Fix inserting bindings manually when using JS 2021-10-11 16:18:20 +01:00
Andrew Kingston 67a74ee327 Fix bug determining if a binding is JS or not 2021-10-11 15:51:47 +01:00
Andrew Kingston 8f1e536318 Enable binding replacements in JS bindings 2021-10-11 14:54:24 +01:00
mike12345567 2d9a087efe Merge branch 'develop' of github.com:Budibase/budibase into fix/mike-fixes 2021-10-06 16:58:02 +01:00
mike12345567 453556d273 Fixing an issue with attempting to access a locked app causes a redirect loop locking up browser. 2021-10-06 16:27:46 +01:00
Peter Clement ac1e476352 Merge pull request #2902 from Budibase/bug/pc-ux-fixes
Some UX fixes for datasources and automations
2021-10-06 15:53:22 +01:00
Peter Clement 62218c71b5 allow user to add automation block between existing blocks 2021-10-06 15:09:51 +01:00
Andrew Kingston b0b0268b7d Give up on attempting to get jest to work with BBUI, change strategy for showing notifications when deleting invalid components 2021-10-04 16:50:52 +01:00
Andrew Kingston 9e74acfec0 Prevent screen slot or something containing the screen slot from being deleted 2021-10-01 15:01:16 +01:00
mike12345567 4ecc92de3b Updating data bindings, there were instances where it could loop/iterate over already replaced bindings, used a search technique to be a bit more specific about the replacements and make sure each binding could only be replaced once. 2021-09-30 17:24:43 +01:00
Andrew Kingston 8b35405a85 Fix regex binding replacement issue due to not being escaped 2021-09-24 16:24:16 +01:00
Martin McKeaveney 4d46095fc8 Merge pull request #2695 from mslourens/remove_link_when_removing_screen
remove the link from navigation bar when removing the screen
2021-09-23 09:40:36 +01:00
Martin McKeaveney 68a72384c8 Merge pull request #2703 from Budibase/feature/analytics
Feature/analytics
2021-09-22 15:53:34 +01:00
Martin McKeaveney 0a7512a4d9 changed events to constants, instantiated analytics client at right time 2021-09-21 20:21:15 +01:00
Maurits Lourens ff4476b333 remove the link from navigation bar when removing the screen 2021-09-21 15:16:10 +02:00
Martin McKeaveney 184061a56b analytics clients 2021-09-21 11:47:14 +01:00
Maurits Lourens 28e7ef2806 replace all handlebars bindings, not just the first 2021-09-21 09:57:14 +02:00
Maurits Lourens 931ec7bfd9 fix merge conflicts, make arguments more consistent 2021-09-16 23:20:31 +02:00
Maurits Lourens 518f8fd55e merge develop into branch 2021-09-16 22:15:09 +02:00
Maurits Lourens 3da6577348 rename automation 2021-08-26 08:53:58 +02:00
Andrew Kingston 52d2f6741e Always limit data providers to 1 row on details screens, even for external tables 2021-08-23 11:46:50 +01:00
Andrew Kingston de7caf90f4 Give detail autoscreen repeater a placeholder for when no rows exist 2021-08-23 11:09:33 +01:00
Andrew Kingston 86dbd918f2 Automatically name and number form step components upon creation 2021-08-20 14:12:52 +01:00
Andrew Kingston 32fe0ea072 Support multiple component context exports and export additional context from forms 2021-08-18 14:58:58 +01:00
Andrew Kingston cbcffd0a4a Fix autoscreen-generated form component default settings 2021-08-17 13:58:51 +01:00
Andrew Kingston 47ca925003 Add global data bindings for mobile and tablet device sizes 2021-08-13 11:24:47 +01:00
Andrew Kingston 531d6d2cd0 Fix colour picker inconsistencies when app theme has never been changed 2021-08-02 15:28:40 +01:00
Andrew Kingston 5e5332cd4f Add initial work on evaluation of conditional UI conditions in client library 2021-07-21 14:03:49 +01:00
Andrew Kingston aa2691a452 Merge pull request #1953 from Budibase/client-feature-flags
Client library updating and client library feature awareness
2021-07-09 16:52:45 +01:00
Andrew Kingston 9440e4a5bf Add UI to revert app version and initial work on app revert backend 2021-07-07 17:35:28 +01:00
mike12345567 f1dd80dcb4 Internal table detail screens should still have limit one. 2021-07-07 17:31:03 +01:00
Andrew Kingston 0a44b1e3d8 Add client libary update management from inside the builder 2021-07-07 17:07:42 +01:00
Andrew Kingston 24a2c547eb Store client features in frontend store 2021-07-07 13:54:21 +01:00
Andrew Kingston 9542910a41 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 11:48:38 +01:00
Andrew Kingston 929d1c73d4 Avoid filter editor sending a prop change when filter is not an array, which was causing extra 409s and causing issues with tables 2021-07-06 15:55:02 +01:00
Andrew Kingston dcaf02ecee Merge branch 'develop' of github.com:Budibase/budibase into spectrum-apps 2021-07-05 17:41:26 +01:00
Andrew Kingston c3913372e1 Lint 2021-07-05 16:47:30 +01:00
Andrew Kingston 1f3e0b4e6f Update list and detail autoscreens to be theme aware and use new designs 2021-07-05 10:20:20 +01:00
mike12345567 c24cc5c3fb Fixing issue with many to many through junction table not realising some exist, or some need deleted - as well as removing limit from details screen, this was blocking join statements and served no purpose (its already a search by equals). 2021-07-02 18:42:01 +01:00
Andrew Kingston 18f25f0be2 Update list autoscreen to be theme aware and use new component props 2021-06-30 20:14:41 +01:00
Andrew Kingston c936ab2619 Fix bug which causes an 'undefined' layout to appear if the save call 409s 2021-06-30 09:35:31 +01:00
Andrew Kingston 2693878a72 Remove a lot of hacks around screenslots and allow naming them 2021-06-30 09:05:03 +01:00
Andrew Kingston f2be9501d3 Add global app theme picker and use it in client preview 2021-06-28 12:55:11 +01:00
Andrew Kingston 2333754862 Update autoscreens and default layouts to use new component props 2021-06-28 10:47:23 +01:00
Andrew Kingston 86da3b7f28 Add gap prop by default to screens 2021-06-25 15:31:35 +01:00
Andrew Kingston fb18635bf9 Merge branch 'develop' of github.com:Budibase/budibase into design-panel-v2 2021-06-24 11:44:49 +01:00
mike12345567 559e91ec29 Allowing self endpoints to 403 and not reload page. 2021-06-22 16:54:25 +01:00
mike12345567 dee180dc7c Fixing inactivity issue in builder as well #1773. 2021-06-22 13:05:15 +01:00
Andrew Kingston da1197337e Merge branch 'develop' of github.com:Budibase/budibase into design-panel-v2 2021-06-22 09:14:27 +01:00
Andrew Kingston aee876a681 Add initial work on merging settings and design panels, improve code structure, improve styles 2021-06-22 09:14:17 +01:00
mike12345567 df1e15dd55 Merge branch 'develop' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-21 13:05:39 +01:00
Martin McKeaveney 03c5640856 merge 2021-06-21 11:19:22 +01:00
Andrew Kingston 0f691e5484 Update autoscreens to require confirmation when deleting rows 2021-06-21 10:52:55 +01:00
mike12345567 40e06cc5d1 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
Andrew Kingston be03bbe5bc Remove transition setting from components 2021-06-18 12:41:15 +01:00
Andrew Kingston a0b98e8f27 Fix styles of list autoscreen 2021-06-18 12:32:47 +01:00
Andrew Kingston 085cfdccad Update autoscreen link generation to work with new layouts 2021-06-18 12:23:33 +01:00
Martin McKeaveney 08b74d2cec lint 2021-06-17 14:06:31 +01:00
Andrew Kingston 410cfe73d2 Update autoscreens to work better with layouts 2021-06-17 13:24:51 +01:00
mike12345567 615b207fbb Formatting. 2021-06-16 18:39:59 +01:00
Martin McKeaveney 9e41068a5d end to end data providers and opinionated sql 2021-06-16 17:50:22 +01:00
mike12345567 6733b61b78 Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 14:13:57 +01:00
Andrew Kingston d5e40fc090 Merge branch 'master' of github.com:Budibase/budibase into feature/layout-poc 2021-06-16 09:35:11 +01:00
mike12345567 3d9dced317 Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-15 20:00:52 +01:00
Andrew Kingston 32a3c2bbb6 Lint with prettier 2021-06-15 19:39:40 +01:00
Martin McKeaveney de279fa6a9 removing _all concept for tables, more work on plus datasource 2021-06-15 13:32:11 +01:00
Andrew Kingston 61912fd7cd Fix crash when removing data bindings from an object which contains a null value 2021-06-14 12:18:54 +01:00
Andrew Kingston ae5bc4171f Add customProps function to screen component for building autoscreens 2021-06-10 10:36:43 +01:00
Andrew Kingston 6b062c90c2 Update autoscreens to be more responsive by default 2021-06-10 10:20:59 +01:00
Andrew Kingston 2124c85a09 Update autoscreens to have new container props 2021-06-10 09:48:08 +01:00
Andrew Kingston 739abfd706 Update autoscreens to add new form type setting 2021-06-09 13:08:36 +01:00
Andrew Kingston 1ae8264276 Allow data providers to inherit each other and add full client side lucene implementation 2021-05-27 15:11:08 +01:00
Andrew Kingston 29f81ffe0d Merge branch 'master' of github.com:Budibase/budibase into ak-fixes 2021-05-26 08:53:42 +01:00
Martin McKeaveney 9564285917 fix stale topNav history state causing wrong apps to show 2021-05-25 12:42:55 +01:00
Andrew Kingston 41fb234499 Update autoscreens to use better spectrum-compatible styles and fonts 2021-05-25 10:15:10 +01:00
Andrew Kingston 6c960dd9e2 Replace font-weight 500 with 600 as source sans pro does not have a 500 weight, and update autoscreens and templates to use source sans pro 2021-05-25 10:11:41 +01:00
Andrew Kingston 3c5696199a Remove Inter font fully and replace with Source Sans Pro, fix favicon import path 2021-05-25 09:41:23 +01:00
Martin McKeaveney d9ed0686ab Merge pull request #1496 from Budibase/feature/draft-apps
Feature/draft apps
2021-05-18 11:25:51 +01:00
Martin McKeaveney 0f2bcf581d revert functionality working 2021-05-16 21:25:37 +01:00
Andrew Kingston 9c7f5f98b7 Update autoscreens with new dataprovier props 2021-05-13 16:32:18 +01:00
mike12345567 2ec6b15e56 General cleanup, doing away with the concept of hosting in the builder and the generally confusing difference between cloud, self hosting and running locally - server is simply always a server now. 2021-05-11 17:49:26 +01:00
Keviin Åberg Kultalahti 3b570fff83 moves admin store to `stores/portal` 2021-05-05 18:52:45 +02:00
Martin McKeaveney 77830bec4f lint and tidy 2021-05-04 18:14:13 +01:00
Martin McKeaveney cb02c9bf58 google oauth UI 2021-05-04 17:31:06 +01:00
mike12345567 e5f3b3956c Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 13:24:14 +01:00
Andrew Kingston 797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
Andrew Kingston c010eeb314 Fix prettier and fix crash when using certain views as data sources 2021-05-04 11:04:42 +01:00
mike12345567 d3ef4224a6 Merge branch 'labday/mike-formulas' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:50:52 +01:00
mike12345567 dcf69b2181 Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:34:30 +01:00
Keviin Åberg Kultalahti 0afbf1649e lint:fix 2021-05-03 09:31:09 +02:00
Michael Drury 48a0c66972 Fixing cypress tests. 2021-04-30 19:17:00 +01:00
mike12345567 a7022de9b5 Moving drawers around to be a common component as they are utilised in a few places, keep all the binding work together, as well as some fixing for readable/runtime binding detection and conversion. 2021-04-30 16:17:57 +01:00
mike12345567 b7a767a571 Linting. 2021-04-29 19:10:02 +01:00
mike12345567 a14c80bf6c Adding handlebars formulas to the system, it is now possible to set a formula at a column level which will always be applied on the way out with a relationship depth of one. 2021-04-29 19:06:58 +01:00
Andrew Kingston 9c903feed0 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-28 15:53:07 +01:00
Keviin Åberg Kultalahti f833c1a5a0 fix dataBinding error 2021-04-28 15:18:12 +02:00
Andrew Kingston c72a65bc5f Add support for all 4 spectrum themes in builder! 2021-04-27 13:15:49 +01:00
Keviin Åberg Kultalahti a84b1ed316 merge spectrum-bbui 2021-04-21 13:15:16 +02:00
Keviin Åberg Kultalahti d186eb9dc9 remove backend.js artifact 2021-04-20 16:44:29 +02:00
Andrew Kingston 7c52196c61 Update binding icon styles and fix theme editor 2021-04-19 14:10:58 +01:00
Andrew Kingston f2d3ff7f1b Update list autoscreen to use quiet table 2021-04-16 09:40:27 +01:00
mike12345567 6c58c90a7a Adding some controls around cookies, expiring them when a 403 is hit. 2021-04-14 15:43:34 +01:00
mike12345567 e8383653c1 Formatting. 2021-04-13 20:26:26 +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
Martin McKeaveney d82516d949 remove buildertoken refs 2021-04-13 14:00:09 +01:00
mike12345567 96b4549a4c Formatting. 2021-04-13 13:35:30 +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 98576f586e login page 2021-04-11 11:35:55 +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
Andrew Kingston 8e2a50aa0d Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 19:10:07 +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 4ff5a2b073 Use server-provided client lib URL in iframe preview 2021-04-01 14:10:49 +01:00
Andrew Kingston 3ab4c7f4bc Improve cross-package bundling 2021-04-01 13:44:14 +01:00
Andrew Kingston 55208b1358 Update URLs for fetching component libraries to be under api route 2021-04-01 11:49:57 +01:00
Andrew Kingston 60a045b4c3 Update builder to hit port 1000 2021-04-01 10:59:15 +01:00
Andrew Kingston b3b7c54901 Update to support new stores 2021-04-01 10:29:47 +01: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 82485607df lint fix 2021-04-01 08:40:30 +02: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 c5bdb590f9 merge next 2021-03-31 11:26:44 +02:00
Keviin Åberg Kultalahti 71dc4938da adds an init method to the tables store 2021-03-30 11:32:01 +02:00
Andrew Kingston e15986a6a5 Remove unecessary escape in regex 2021-03-29 18:21:57 +01: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
Keviin Åberg Kultalahti d0aca74e4a wip: queries store tests 2021-03-29 14:57:01 +02:00
Keviin Åberg Kultalahti 44e3f29a0b moves backend stores to "stores" in the root src directory 2021-03-26 09:50:37 +01:00
Andrew Kingston f17e2478e2 Fix crash generating bindable properties for an empty data provider ID 2021-03-25 16:17:56 +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
Andrew Kingston e9bfdabcdd Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-24 15:52:05 +00:00
Andrew Kingston 6bc622a857 Add initial version of new spectrum table component 2021-03-24 15:51:57 +00:00
Andrew Kingston 14a4545874 Update cypress tests 2021-03-23 13:31:56 +00:00
Keviin Åberg Kultalahti 5deceb7928 remove backendUiStore 2021-03-23 13:42:03 +01:00
Keviin Åberg Kultalahti 9445b1efdc remove logs 2021-03-23 13:39:18 +01:00
Keviin Åberg Kultalahti d37778d809 lint fix 2021-03-23 13:31:18 +01:00
Keviin Åberg Kultalahti 3e58ad9031 move rows to it's separate store 2021-03-23 13:27:45 +01:00
Keviin Åberg Kultalahti d27e03c215 extract save function in tables store 2021-03-23 13:19:34 +01:00
Keviin Åberg Kultalahti 5c4a189223 extract out select and fetch methods in tables store 2021-03-23 13:06:04 +01:00
Keviin Åberg Kultalahti 45a2e5cf46 fix databindings 2021-03-23 12:48:54 +01:00
Keviin Åberg Kultalahti c924e03519 remove unused stuff in backendUiStore 2021-03-23 12:19:10 +01:00
Keviin Åberg Kultalahti c77061f239 wip: converts components to use separate stores 2021-03-23 12:16:54 +01:00
Keviin Åberg Kultalahti 071522c43f split out views to separate store 2021-03-23 12:04:11 +01:00
Keviin Åberg Kultalahti 0afc55f4cb update tables select method 2021-03-23 12:04:01 +01:00
Keviin Åberg Kultalahti a440e7631b move tables to separate store 2021-03-23 11:54:03 +01:00
Keviin Åberg Kultalahti c441307611 fixes issues with queries not getting selected correctly 2021-03-23 10:56:53 +01:00
Andrew Kingston 28e1688138 Don't add _id and _rev fields to form schemas 2021-03-22 17:59:54 +00:00
Andrew Kingston b9fe600a9b Fix data binding not generating bindable properties for components referencing a data provider ID wrapped for handlebars 2021-03-22 17:57:19 +00:00
Keviin Åberg Kultalahti 526283d406 fixes and splits out database to it's separate store 2021-03-22 16:33:08 +01:00
Keviin Åberg Kultalahti cb3a4b549a moves queries part of backendstore to separate store 2021-03-22 14:47:21 +01:00
Keviin Åberg Kultalahti 17802795d0 moves integrations part of backendstore to separate store 2021-03-22 13:23:36 +01:00
Andrew Kingston 928b9ca9a3 Update row detail autoscreen to use new data provider and safe bindings 2021-03-22 12:11:29 +00:00
Andrew Kingston e62a6b92b4 Update bindings to always ensure they are safely escaped 2021-03-22 12:10:43 +00:00
Andrew Kingston c2e9e3d79f Update new row autoscreen to handle new SaveRow button action 2021-03-22 11:42:53 +00:00
Andrew Kingston 827c023d5a Update list autoscreen to use new data provider 2021-03-22 11:29:26 +00:00
Keviin Åberg Kultalahti 5b08b31fd6 moves the datasources store to it's separate store 2021-03-22 12:02:55 +01:00
Keviin Åberg Kultalahti 98607ca1bd moves roles in backendstore to a separate store 2021-03-22 10:55:23 +01:00
Keviin Åberg Kultalahti 2ddb2e3fbb removes unused users field in backend store 2021-03-22 10:14:17 +01:00
Keviin Åberg Kultalahti 4b3891f68a moves permissions to a separate store 2021-03-22 09:59:22 +01:00
Andrew Kingston 12ea52f3b1 Update schema generation to automatically include _id and _rev fields 2021-03-19 14:04:00 +00:00
Keviin Åberg Kultalahti f4c30bd360 remove console.log 2021-03-19 13:58:05 +01:00
Keviin Åberg Kultalahti 1462d8dd55 improve database.select performance 2021-03-19 13:51:21 +01:00
Keviin Åberg Kultalahti a3750a2c5b fix some navigation issues when removing tables/datasources 2021-03-19 11:03:44 +01:00
Andrew Kingston 6d7cb8d6ba Update bar chart to work with new data provider 2021-03-18 17:34:51 +00:00
Andrew Kingston 1368074f68 Update bindable properties to handle new data provider 2021-03-16 19:11:00 +00:00
Andrew Kingston 6e29423d4d Add data provider component and refactor component setting types 2021-03-16 13:54:34 +00:00
Andrew Kingston 08ea461caa Remove electron specific attachment uploads inside the builder 2021-03-15 12:10:21 +00:00
Andrew Kingston e909ff584a Make screens searchable and make routes collapsible 2021-03-09 19:06:25 +00:00
Martin McKeaveney 69a9e3135f Merge branch 'master' into develop 2021-03-03 16:00:10 +00:00
Martin McKeaveney 274339d945 fix space table name grid bug 2021-03-03 13:51:53 +00:00
Kevin Åberg Kultalahti ef84e2abcb Merge pull request #1232 from Budibase/feature/standard-components-transitions
Adds transition setting in the design panel on container component
2021-03-03 13:12:48 +01:00
Andrew Kingston f20e5e28fd Merge pull request #1234 from Budibase/lab-day-cheeks
Useful features and fixes from lab day
2021-03-03 02:16:57 -08:00
Keviin Åberg Kultalahti 97213ec99a fix not being able to remove transition 2021-03-01 16:58:01 +01:00
Keviin Åberg Kultalahti cda7c7f4c1 moves the transition setting to the design panel 2021-03-01 16:46:05 +01:00
Andrew Kingston 1b5ac74150 Fix crash when schema doesnt exist for a datasource 2021-02-26 09:55:38 +00:00
Martin McKeaveney ed09509555 default to dark mode 2021-02-25 20:44:16 +00:00
mike12345567 ce7c6a4dfb Merge branch 'develop' of github.com:Budibase/budibase into bugs/various-bugs 2021-02-23 16:31:12 +00:00
mike12345567 38a99e10a3 Adding a few fixes for bugs related to user table, user table views and some async functions that weren't awaiting promises. 2021-02-23 16:29:50 +00:00
Martin McKeaveney d4dc591247 Merge pull request #1161 from Budibase/0.8-bugfixes
0.8 bugfixes
2021-02-23 11:51:16 +00:00
Martin McKeaveney cdad198103 ensure error is thrown on client validation failure 2021-02-23 10:41:11 +00:00
mike12345567 563b0cc077 Only performing the change on copies, allowing cuts through. 2021-02-23 10:26:37 +00:00
mike12345567 2151709a9b Merge branch 'develop' of github.com:Budibase/budibase into bug/fix-binding-issue 2021-02-22 15:50:29 +00:00
mike12345567 afe70d1ba2 Fixing issue - this will replace any bindings when copying and pasting a stack of components with 'Invalid binding'. 2021-02-22 15:49:57 +00:00
Andrew Kingston 9c37fa8716 Merge branch 'develop' of github.com:Budibase/budibase into repeater-filtering 2021-02-22 12:23:46 +00:00
mike12345567 c98e990a3d Merge branch 'develop' of github.com:Budibase/budibase into feature/relationship-enrichment 2021-02-19 14:35:18 +00:00
Keviin Åberg Kultalahti 64fb3970b2 lint fix 2021-02-19 15:00:17 +01:00
Keviin Åberg Kultalahti 481de3c75c remove unused logic in backend store 2021-02-19 14:59:47 +01:00
Keviin Åberg Kultalahti b89573e1f2 lint fix 2021-02-19 13:56:24 +01:00
Keviin Åberg Kultalahti 78ee1edf40 merge develop 2021-02-19 13:55:17 +01:00
Andrew Kingston 7b4b22377d Display enriched relationship info in grids and bindings 2021-02-19 12:00:06 +00:00
Andrew Kingston 4b81663664 Merge branch 'develop' of github.com:Budibase/budibase into repeater-filtering 2021-02-18 17:45:10 +00:00
Andrew Kingston 7f92c82298 Fix calc view schemas not being determined correctly 2021-02-17 16:01:11 +00:00
mike12345567 258b2138c3 Formatting. 2021-02-16 16:38:36 +00:00
mike12345567 4ccd46e2a1 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-16 16:38:11 +00:00
mike12345567 1a9d16c8c7 Updating where utilities are held in builder and then making user table relationships autocolumn aware too. 2021-02-16 15:41:50 +00:00
Andrew Kingston ec94aaa90b Merge branch 'develop' of github.com:Budibase/budibase into url-context 2021-02-16 15:35:05 +00:00
Andrew Kingston 284018fefa Rename form data bindings to Fields instead of Schema 2021-02-16 13:17:13 +00:00
Keviin Åberg Kultalahti 11ee6e8b15 change wording and remove console log 2021-02-16 12:50:12 +01:00
Keviin Åberg Kultalahti 7f95ae7b49 bump bbui 2021-02-16 11:14:49 +01:00
Andrew Kingston 8b23f603bd Update URL settigns to be bindable inputs and update navigate action 2021-02-15 20:03:29 +00:00
mike12345567 846772bfeb Adding the ability to create/control auto-columns from the create/edit column modal. 2021-02-15 19:59:30 +00:00
Keviin Åberg Kultalahti a7db499544 initial work to switch toggle to radio button 2021-02-15 17:12:39 +01:00
Keviin Åberg Kultalahti 896c6ae5d4 Merge branch 'develop' into relationship-one-to-many 2021-02-15 12:02:26 +01:00
Keviin Åberg Kultalahti b3964dddbb initial standard-components relationship field component update 2021-02-12 16:47:20 +01:00
Keviin Åberg Kultalahti 7cb263ceff merge develop 2021-02-12 14:24:38 +01:00
Martin McKeaveney ec3ef225b9 simplify UI 2021-02-12 10:12:17 +00:00
mike12345567 c3840d8017 Merge branch 'master' of github.com:Budibase/budibase into rbac-ui 2021-02-11 13:01:07 +00:00
Andrew Kingston 24c3f3019f Fix automatic form generation from relationship and calculated view schemas 2021-02-11 09:17:36 +00:00
Martin McKeaveney 111ff61bbc tidy up 2021-02-10 22:25:30 +00:00
Martin McKeaveney 701e2b218e RBAC popover complete 2021-02-10 22:23:27 +00:00
Andrew Kingston 56d8a27286 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +00:00
Martin McKeaveney 37c00f24bd control RBAC from data section 2021-02-10 18:18:31 +00:00
Martin McKeaveney 9c7a373fb0 primary and secondary index fields 2021-02-09 18:49:12 +00:00
Andrew Kingston 4493a0896f Remove commented out lines 2021-02-09 16:55:59 +00:00
Keviin Åberg Kultalahti 8a2cc83a3b Merge branch 'form-builder' into relationship-one-to-many 2021-02-09 16:26:42 +01:00
Andrew Kingston 1deeb2ac3e Add sprectrum theme compatibility to autoscreens form text 2021-02-09 14:01:54 +00:00
Martin McKeaveney 05353c7666 backwards pagination 2021-02-09 12:12:03 +00:00
Keviin Åberg Kultalahti 7dffc1881d adds oneToMany property to save table method 2021-02-09 13:10:01 +01:00
Martin McKeaveney 36f3bbf6dd user search 2021-02-08 22:29:26 +00:00
Martin McKeaveney 7ef56de1be indexable fields 2021-02-08 20:54:55 +00:00
Andrew Kingston af74e6a592 Fix row detail autoscreen not having correct delete row definition 2021-02-05 11:55:53 +00:00
Andrew Kingston 1185756622 Fix forms not providing correct datasource object 2021-02-04 18:11:56 +00:00
Andrew Kingston 02d53cad5a Fix typo 2021-02-04 18:05:05 +00:00
Andrew Kingston 8962440901 Fix ID's not being made unique when copying components 2021-02-04 18:00:16 +00:00
Andrew Kingston d939acbd4f Fix typo in _rev schema field type 2021-02-04 15:48:32 +00:00
Andrew Kingston 4d9f4cc211 Update bindable properties to pull directly from form children 2021-02-04 15:11:05 +00:00
Andrew Kingston c7f2a989ad Update auto screens to use new lightest spectrum theme 2021-02-04 15:10:51 +00:00
Andrew Kingston c36ddceb7e Pull form bindable properties from field definitions rather than schema 2021-02-04 13:01:49 +00:00
Andrew Kingston d85665d21c Allow forms to generate query schemas. Fix query execution action 2021-02-03 14:53:13 +00:00
Andrew Kingston 4d411857fd Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-03 11:13:58 +00:00
mike12345567 64f2228887 Linting. 2021-02-02 17:46:52 +00:00
mike12345567 ec21fcbc4d Some quick fixes to allow custom verbs. 2021-02-02 17:28:11 +00:00
Andrew Kingston 772fdfa837 Remove unused vars and lint 2021-02-02 15:24:15 +00:00
Andrew Kingston e87b384de5 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-02 14:44:19 +00:00
Andrew Kingston e3b0de6805 Update screen templates to support full form generation. Fix issues with screen templates 2021-02-02 14:32:58 +00:00
Andrew Kingston 9c0e417408 Add custom component actions. Simplify client context. Add form validation action 2021-02-01 18:51:22 +00:00
Martin McKeaveney 0ea99cf85d Merge branch 'feature/handlebars-helpers' of github.com:Budibase/budibase into feature/handlebars-helpers 2021-02-01 11:52:40 +00:00
Martin McKeaveney 1738537ad8 binding panel options from helpers 2021-02-01 11:51:53 +00:00
mike12345567 9a94b61a72 Merge branch 'feature/handlebars-helpers' of github.com:Budibase/budibase into feature/handlebars-helpers 2021-02-01 11:00:41 +00:00
mike12345567 3f106d042a Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-helpers 2021-02-01 11:00:33 +00:00
Michael Drury a1f09b0a1a Some rollup fixes - the handlebars-helper library needs dynamic requires removed from it, likely best to fork it and do this. 2021-01-30 02:54:52 +00:00
mike12345567 41fbc39618 Work in progress, fixing issue with some helpers not getting translated, now running into rollup issue. 2021-01-29 20:03:09 +00:00
Andrew Kingston e0b6e78f72 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-29 16:59:24 +00:00
Andrew Kingston 9d870dbccc Add current user bindings, and current user relationships as data sources 2021-01-28 14:29:35 +00:00
mike12345567 0fabfccb19 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-helpers 2021-01-26 16:22:38 +00:00
mike12345567 9e798158c2 Linting. 2021-01-26 15:59:58 +00:00
mike12345567 6219a66604 Fixing the transition between readable and runtime bindings. 2021-01-26 15:59:28 +00:00
Andrew Kingston 365c503224 Add automatic schema validation to forms and add builder settings for specific field types 2021-01-26 14:40:44 +00:00
Andrew Kingston bcdcc68918 Fix settings to select fields and fix chart settings not showing fields 2021-01-26 10:57:57 +00:00
mike12345567 1d38dda79b Linting. 2021-01-22 17:58:01 +00:00
mike12345567 d3d840e42a Adding error checking to our handlebars syntax inputs as well as making all handlebars helpers available due to space pre-processor being removed. 2021-01-22 17:57:38 +00:00
Andrew Kingston 86a3caa881 Remove unused vars 2021-01-21 15:49:58 +00:00
Andrew Kingston 9978d0707d Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 11:31:45 +00:00
mike12345567 3dd985cfb6 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 10:57:41 +00:00
Andrew Kingston 3d77c1f38f Add bindable properties from query datasources 2021-01-21 10:40:45 +00:00
Andrew Kingston 47dabc16ce Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-20 11:14:36 +00:00
Andrew Kingston b828d8326d Update screen templates to work with latest bindings 2021-01-19 18:51:51 +00:00
mike12345567 d7a3e6210d Moving everything over to use the string template library, now just need to escape spaces properly and handle HTML escaping. 2021-01-19 18:44:29 +00:00
Andrew Kingston d94473bca5 Update button actions and remove deprecated code 2021-01-19 17:38:24 +00:00
Andrew Kingston cbe6459a9c Remove deprecated code around data binding 2021-01-19 15:39:04 +00:00
Andrew Kingston 6030c4849e Fix broken autolink creation 2021-01-19 13:49:14 +00:00
kevmodrome 7623534842 lint fix 2021-01-19 14:31:37 +01:00
kevmodrome 74557a09ce changes earlier BottomDrawer to use the bbui component instead 2021-01-19 14:16:55 +01:00
Andrew Kingston 4944fb3e8c Create new components with pretty names 2021-01-19 11:52:33 +00:00
Andrew Kingston 275f0ca092 Add navigation bar, links and row detail definitions 2021-01-19 10:47:00 +00:00
Martin McKeaveney 133d93fbee fix dynamic params 2021-01-18 15:37:32 +00:00
Martin McKeaveney 53db6e05f9 merge 2021-01-18 14:43:26 +00:00
Martin McKeaveney b5c4bde662 queries working with repeater 2021-01-18 14:41:59 +00:00
Andrew Kingston dbbe76951d Add ID and rev data bindings back in 2021-01-15 14:47:36 +00:00