Commit Graph

3537 Commits

Author SHA1 Message Date
Andrew Kingston ad1d2f1eb0 Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 13:48:59 +00:00
mike12345567 ec55655900 Handling undefined/null values in context object for string templates, replacing with empty string. 2021-01-21 13:48:23 +00:00
Andrew Kingston 6fb50a1988 Fix crashing when a nullish value exists in an object being recursed for enrichment 2021-01-21 13:46:45 +00:00
Andrew Kingston b368deb717 Allow button to handle nullish text values 2021-01-21 13:45:17 +00:00
Andrew Kingston b0f5b9b1ce Prevent invalid query params being enriched 2021-01-21 13:45:05 +00:00
Andrew Kingston 5c3e7b27a5 Lint 2021-01-21 12:15:07 +00:00
Andrew Kingston 4cdca6f196 Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 12:14:09 +00:00
mike12345567 d3789c9069 More fixes for issues found by cheeks, as well as adding a test case for rendering app. 2021-01-21 12:08:57 +00:00
mike12345567 eb627c52d8 Re-writing pre-processor to be a bit clearer. 2021-01-21 11:37:16 +00:00
Andrew Kingston 7eb8b86c31 Remove log statements 2021-01-21 11:33:08 +00:00
mike12345567 8ecabc91cc Linting. 2021-01-21 11:32:26 +00:00
Andrew Kingston 34cc4ac5bf Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 11:32:26 +00:00
Andrew Kingston 261abd7919 Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 11:31:45 +00:00
mike12345567 3d33199f16 Fixing issue found by cheeks with all helper trying to wrap helpers even if no other helpers present. 2021-01-21 11:30:53 +00:00
mike12345567 afe0996b70 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 10:57:41 +00:00
Andrew Kingston 9c9d7544f9 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-21 10:45:04 +00:00
Andrew Kingston c9f60cf660 Enrich datasources so that data can be correctly fetched reactively using only the datasource definition 2021-01-21 10:42:14 +00:00
Andrew Kingston b72e654ff0 Only update components when their props actually change 2021-01-21 10:41:30 +00:00
Andrew Kingston 75cd492988 Add bindable properties from query datasources 2021-01-21 10:40:45 +00:00
Andrew Kingston 966bc7c55e Add back in grid component which had incorrect name 2021-01-21 10:40:17 +00:00
Andrew Kingston f890de6c96 Simplify extracting schemas from datasources 2021-01-21 10:39:53 +00:00
Andrew Kingston 796f2487ee Fix builder crashing when selecting another query datasource when query drawer is open 2021-01-21 10:38:58 +00:00
Andrew Kingston 817933089b Prevent unnecessary URL param updates in design page 2021-01-21 10:38:23 +00:00
mike12345567 a9274f7d86 Adding cleaners which will process and find spaces removing them and fixing them with literal specifiers for handlebars props. Also changing the way cleaners work for the system to make it easier to add them. 2021-01-20 18:12:16 +00:00
Joe 5d1090514f Updated action button UI
Button width increased
2021-01-20 14:59:16 +00:00
Joe 467e8d46ec Budibase beta button replaced , help icon replaced with github
I replaced the Budibase is in beta button, and replaced it with 'Request feature'. The new button points to Github Discussions.

I also replaced the help icon with a Github icon. With our users being developers, I feel they will understand what the Github icon means (not just help, but a place to raise issues, provide feedback).
2021-01-20 14:58:47 +00:00
Joe 91797c5fe0
Merge pull request #980 from Budibase/Component-dropdown-design-update
Updated the design of the items within the component dropdown
2021-01-20 14:54:30 +00:00
Andrew Kingston afe3654857 Update client library to handle async enrichment 2021-01-20 13:49:41 +00:00
mike12345567 3f6d9e21e0 Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
Andrew Kingston 08747b30cb Fix postgres integration schema credentials 2021-01-20 13:23:06 +00:00
Andrew Kingston b974925904 Fix incorrect paths after merge 2021-01-20 13:20:08 +00:00
Andrew Kingston a17d1703f7 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-20 11:14:36 +00:00
Andrew Kingston e3576426dd Add new definitions for all chart components 2021-01-19 19:24:49 +00:00
Andrew Kingston 2ec4272558 Update screen templates to work with latest bindings 2021-01-19 18:51:51 +00:00
mike12345567 4c597ed91a 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 7e7219856d Update button actions and remove deprecated code 2021-01-19 17:38:24 +00:00
mike12345567 e8ef03bb1c Adding jest test cases to string templating library. 2021-01-19 17:29:38 +00:00
Andrew Kingston 10f8e53305 Remove deprecated code around data binding 2021-01-19 15:39:04 +00:00
mike12345567 759a106d2d Updating to have real auto-completion on string templates library. 2021-01-19 15:29:49 +00:00
kevmodrome 6a1383b13b
adds a empty state for no components added in the repeater 2021-01-19 15:21:23 +01:00
kevmodrome 479ea07e92
adds an empty state if there is no datasource selected. 2021-01-19 15:11:21 +01:00
Andrew Kingston df89876cb4 Fix broken autolink creation 2021-01-19 13:49:14 +00:00
Andrew Kingston 84bba45ad2 Fix grid component definition and add controls for icons and colourpickers 2021-01-19 13:46:25 +00:00
kevmodrome e31dd64e46
lint fix 2021-01-19 14:31:37 +01:00
kevmodrome 0834eb5495
changes earlier BottomDrawer to use the bbui component instead 2021-01-19 14:16:55 +01:00
kevmodrome 6cbca0aab9
switch method of applying color style 2021-01-19 14:00:15 +01:00
kevmodrome 7f405e7dd9
retains icons design panel options while being able to change color in settings panel 2021-01-19 13:42:49 +01:00
Andrew Kingston 0dadd9a49c Fix issue with default horizontal card width 2021-01-19 11:57:01 +00:00
Andrew Kingston 6c066b43ca Fix issue with new row settings definition 2021-01-19 11:52:49 +00:00
Andrew Kingston b607146b6c Create new components with pretty names 2021-01-19 11:52:33 +00:00
Andrew Kingston 2ea95463ea Fix bug with rich text component 2021-01-19 11:50:13 +00:00
Andrew Kingston 0935c08d5d Add all new definitions for non-chart components 2021-01-19 11:49:52 +00:00
Andrew Kingston 4818080699 Add navigation bar, links and row detail definitions 2021-01-19 10:47:00 +00:00
kevmodrome c7726ff7fe
fix typo 2021-01-19 10:56:02 +01:00
kevmodrome 0004746cff
adds missing description 2021-01-19 10:47:02 +01:00
kevmodrome a287b04497
wire BindingPanel correctly to PropertyControl 2021-01-19 10:39:39 +01:00
kevmodrome d2851057f6
bump bbui 2021-01-19 10:13:28 +01:00
kevmodrome 1ea5c47ad5
bump bbui 2021-01-19 09:20:31 +01:00
kevmodrome d3460232db
updates bbui and adds dummy drawer component to binding 2021-01-19 08:41:15 +01:00
mike12345567 3c627d6455 Adding the handlebars library, still need to add testcases to this. 2021-01-18 17:40:19 +00:00
Martin McKeaveney 77241281b8
Merge pull request #993 from Budibase/external-tables
External Data Connectors
2021-01-18 17:23:12 +00:00
Martin McKeaveney 8c5c5649dc docs link 2021-01-18 17:01:41 +00:00
Martin McKeaveney 1c804bcbc4 fix bindable test 2021-01-18 15:54:25 +00:00
Martin McKeaveney c91e442fee tidy up 2021-01-18 15:47:02 +00:00
Martin McKeaveney d13883135b lint 2021-01-18 15:40:26 +00:00
Martin McKeaveney b42c50ba9d fix dynamic params 2021-01-18 15:37:32 +00:00
kevmodrome 0ec81db82b
turn off stylable action until we can expose specific design settings 2021-01-18 16:34:34 +01:00
kevmodrome cacdf24c20
adds missing css link in the actual app output 2021-01-18 16:23:14 +01:00
Kevin Åberg Kultalahti 39f6fe10c8
Merge pull request #998 from Budibase/feature/icon-component-switch-to-remix
Switches the Icon component so that it now uses Remix like the rest of budibase
2021-01-18 16:15:07 +01:00
Martin McKeaveney 70a49088d0 merge 2021-01-18 14:43:26 +00:00
Martin McKeaveney dd47050f1c queries working with repeater 2021-01-18 14:41:59 +00:00
kevmodrome 32517b225c
switches to remix 2021-01-18 14:26:01 +01:00
Michael Drury 05d54dedba
Merge pull request #996 from Budibase/feature/self-host-pretty-url
Pretty URLs for self hosting
2021-01-18 12:54:48 +00:00
mike12345567 fcde592385 Review comments. 2021-01-18 12:36:49 +00:00
Martin McKeaveney e3bae26510 fix no schema bug, feedback from demo 2021-01-15 17:29:46 +00:00
Andrew Kingston 4b719f7602 Add ID and rev data bindings back in 2021-01-15 14:47:36 +00:00
mike12345567 67cc893670 Removing mention of mustache from the server package. 2021-01-15 14:38:10 +00:00
Andrew Kingston 087647080c Update and improve state <-> URL binding 2021-01-15 14:23:27 +00:00
Martin McKeaveney 9576f11abc fix import 2021-01-15 13:50:11 +00:00
Martin McKeaveney ae4e34c872 lint 2021-01-15 13:44:42 +00:00
Martin McKeaveney 0ac322b11b lint 2021-01-15 13:42:55 +00:00
Martin McKeaveney 4b941e7a9f mongo config 2021-01-15 13:42:14 +00:00
Martin McKeaveney 4442240e68 dynamo integration 2021-01-15 13:24:36 +00:00
Martin McKeaveney 6f57c1d22d better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
Michael Drury dbc445551b
Merge pull request #908 from Budibase/dependabot/npm_and_yarn/ini-1.3.8
Bump ini from 1.3.5 to 1.3.8
2021-01-15 12:41:53 +00:00
Michael Drury 5fb64bade8
Merge pull request #920 from Budibase/dependabot/npm_and_yarn/packages/server/ini-1.3.8
Bump ini from 1.3.5 to 1.3.8 in /packages/server
2021-01-15 12:41:40 +00:00
Michael Drury a51a0f45fd
Merge pull request #963 from Budibase/dependabot/npm_and_yarn/packages/server/urijs-1.19.5
Bump urijs from 1.19.2 to 1.19.5 in /packages/server
2021-01-15 12:41:20 +00:00
Andrew Kingston 117dfcda29 Update binding dropdown 2021-01-15 11:02:39 +00:00
Andrew Kingston 55f8babacc Fix crash when evaluating data bindings for a component with no definition 2021-01-15 11:02:00 +00:00
Andrew Kingston 0a669033d1 Improve data binding popup and finish component bindings 2021-01-15 10:59:22 +00:00
Andrew Kingston f228d3b174 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-15 10:26:19 +00:00
Martin McKeaveney 882823671a query and datasource unit tests 2021-01-14 20:51:03 +00:00
mike12345567 17747c2c7f Linting. 2021-01-14 17:57:18 +00:00
mike12345567 61f5d77335 Adding some fixes for general settings menu not respecting non-deployed apps fully. 2021-01-14 17:52:49 +00:00
mike12345567 74d60cb622 Fixing an issue with updating not recognising apps not deployed yet. 2021-01-14 17:46:59 +00:00
mike12345567 09bf6833ed Making sure URLs are always lower-case. 2021-01-14 17:31:17 +00:00
mike12345567 d7db539746 Found small issue with encoding uris, simple fix. 2021-01-14 17:11:39 +00:00
mike12345567 40cff9e087 Merge branch 'master' of github.com:Budibase/budibase into feature/self-host-pretty-url 2021-01-14 17:03:05 +00:00
mike12345567 29424e59c0 Linting. 2021-01-14 17:02:05 +00:00
mike12345567 0c66d9fca4 When self hosting it is now possible to use a pretty URL to access the app rather than the normal appId. 2021-01-14 17:01:31 +00:00
Andrew Kingston 6a758e3b2d Add new data bindings for context bindings and most work for component bindings 2021-01-14 15:39:50 +00:00
Martin McKeaveney 3d967c2070 v0.5.3 2021-01-14 15:24:01 +00:00
Martin McKeaveney 62ebf3cedc v0.5.2 2021-01-14 15:03:58 +00:00
Martin McKeaveney c33a59f087 v0.5.1 2021-01-14 14:46:40 +00:00
Martin McKeaveney bbc6258612 v0.5.0 2021-01-14 14:37:53 +00:00
Martin McKeaveney 83910f0aab pass field values in binding drawer 2021-01-14 14:22:24 +00:00
Andrew Kingston 9c25955dd8 Clean paths and file structure 2021-01-14 10:03:33 +00:00
Andrew Kingston 2200039935 Update file structure to be sensible for design section 2021-01-14 09:45:09 +00:00
Andrew Kingston cc62a9c053 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-14 09:10:41 +00:00
Andrew Kingston 29cb3b4b4c Fix component navigation, fix settings editing, fix design editing 2021-01-14 09:09:23 +00:00
Martin McKeaveney c40e88eb32 tidy up 2021-01-13 18:29:51 +00:00
Martin McKeaveney 648d45a373 schema updates, custom fields 2021-01-13 16:39:47 +00:00
Martin McKeaveney 45a02507f7 custom fields in queries 2021-01-13 14:11:53 +00:00
Michael Shanks 6c6f93af34
Merge pull request #981 from Budibase/trigger_automation_action
Trigger automation from button click
2021-01-13 11:06:10 +00:00
Michael Shanks 2a3ab3ebe2 Schema setup - styling changes 2021-01-13 10:20:07 +00:00
Andrew Kingston c7a9434e70 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-12 20:05:24 +00:00
Andrew Kingston 2dc2e43a00 WIP component management and definition refactor 2021-01-12 20:00:35 +00:00
Martin McKeaveney 7a1212ff36 Add all CRUD ops to airtable integration 2021-01-12 17:45:43 +00:00
Martin McKeaveney 66fccccc1e allow deletion of queries and datasources 2021-01-12 17:04:51 +00:00
Martin McKeaveney 04eca5b663 further syntax highlighting updates 2021-01-12 16:49:11 +00:00
Michael Shanks dd1e5cd7cd allow new automation from button action setup 2021-01-12 15:21:27 +00:00
Martin McKeaveney 052b39d6ec readable to writable bindings 2021-01-12 10:28:41 +00:00
Martin McKeaveney 72ea05cc05 type safe schema validation 2021-01-11 21:01:21 +00:00
Martin McKeaveney 70e4b2514e merge 2021-01-11 20:29:33 +00:00
Martin McKeaveney 49477d3ac9 styling, async data fetching 2021-01-11 20:17:56 +00:00
mike12345567 e7913e5f19 This simply removes the self hosting logo URL feature as it doesn't really make sense, screen/layout templates are held in the builder codebase and therefore controlling the logo from the server isn't really possible. 2021-01-11 18:09:43 +00:00
Martin McKeaveney 391dabf7a1 direct airtable integration works 2021-01-11 17:18:22 +00:00
Martin McKeaveney 5aa7edda64 use dynamic input in query 2021-01-11 15:34:43 +00:00
dependabot[bot] 119f959867
Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 11:52:07 +00:00
dependabot[bot] 0733c39ac3
Bump urijs from 1.19.2 to 1.19.5 in /packages/server
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.2 to 1.19.5.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.2...v1.19.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 11:51:27 +00:00
dependabot[bot] 519fafde7e
Bump ini from 1.3.5 to 1.3.8 in /packages/server
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 11:51:22 +00:00
Michael Shanks 5d2612f547 changed input style for automation schema setup 2021-01-11 10:11:31 +00:00
mike12345567 e14e5c85f2 Fixing removal of full path function (adding back original functionality). 2021-01-11 10:01:02 +00:00
Michael Shanks 0927ab0691 tidy up 2021-01-11 09:56:39 +00:00
Michael Shanks 668d192462 Merge remote-tracking branch 'origin/master' into trigger_automation_action 2021-01-11 09:51:48 +00:00
Andrew Kingston c6532303ce Remove hostname check when creating API endpoint URLs now that they are proxied 2021-01-11 09:38:40 +00:00
Joe b0cc79154d Updated the design of the items within the component dropdown
Icons were a little hard to make out. Increased the size and visability.
The icons are not ideal, but I will tackle this another day - Budi Icons!
2021-01-10 10:09:47 +00:00
Martin McKeaveney d710874ef1 binding data context in component 2021-01-08 18:22:03 +00:00
Michael Shanks b2daff6285 Trigger Automation from frontend actions 2021-01-08 17:25:06 +00:00
Martin McKeaveney 98a7085bbc Allow dynamic query execution from front end components 2021-01-08 12:06:37 +00:00
mike12345567 d3a4eed88b Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-08 10:46:55 +00:00
mike12345567 42a077d5af Linting. 2021-01-07 15:39:49 +00:00
mike12345567 9aca697bee Some minor updates, making template object store URL in self hosting relative so everything just goes through the proxy, and fixing issue with API key being required to create apps in self hosting. 2021-01-07 15:37:41 +00:00
Andrew Kingston 97dfc14007 Bundle app ID inside apps, rather than trying to find it dynamically 2021-01-07 14:53:56 +00:00
Andrew Kingston 5fb6503298 Bundle client as IIFE rather than ESM 2021-01-07 14:53:18 +00:00
Martin McKeaveney f2abc7d351 Merge branch 'master' of github.com:Budibase/budibase into external-tables 2021-01-07 13:39:48 +00:00
Martin McKeaveney 64e31189b7 new datasource design 2021-01-07 13:13:46 +00:00
Joe a6bccf5a5e Fix: Text overlap in data table#961
fix: Text overlap in data table #961

This fix clamps the text to one line and hides the overflow with an ellipsis.
2021-01-07 12:15:55 +00:00
mike12345567 2583e70498 Merge branch 'feature/self-hosting' of github.com:Budibase/budibase into feature/self-hosting 2021-01-07 11:39:15 +00:00
mike12345567 f1c7a46d37 Adding a build method which can push docker images if you are logged in to docker CLI and making the main docker compose file use the pushed images instead. 2021-01-07 11:38:37 +00:00