Commit Graph

3875 Commits

Author SHA1 Message Date
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
Andrew Kingston 4be14cfacb Update autoscreen toggle text 2021-01-07 10:00:24 +00:00
Andrew Kingston 0564870d8c Small text change to autoscreen toggle 2021-01-07 09:32:44 +00:00
Michael Drury ae76780345 Fixing cypress failure. 2021-01-06 21:25:52 +00:00
mike12345567 b6e5658f4e Linting. 2021-01-06 17:28:22 +00:00
mike12345567 429c6f912c Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-06 17:00:49 +00:00
mike12345567 675e5127ad Updating worker to support using a self host key, a basic level of security, stopping builder from asking for API key if currently configured for self hosting, made the default values for self hosting make sense for a basic local installation, this should be final. 2021-01-06 16:58:29 +00:00
Andrew Kingston 7abd9b4f4a Swap back to border for selected component highlighting from box-shadow 2021-01-06 16:03:45 +00:00
Andrew Kingston 3ec179ad57 Add toggle to make autoscreens optional 2021-01-06 16:03:00 +00:00
Martin McKeaveney 37ef32a173 switching between queries 2021-01-06 12:28:51 +00:00
Andrew Kingston 977445dae8 Only highlight style changes for the currently selected state (normal / hover) 2021-01-06 11:57:34 +00:00
Andrew Kingston a3a580d208 Standardise design panel setting placeholders 2021-01-06 11:52:02 +00:00
mike12345567 cb85ed1916 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-06 11:00:02 +00:00
mike12345567 e25f64da71 Fixing up settings to only take the one URL now, the main hosting URL. 2021-01-06 10:59:10 +00:00
Andrew Kingston e3169be665 Remove deprecated prop 2021-01-06 10:23:42 +00:00
Andrew Kingston 9116658288 Update colorpicker to work with nullish values by always providing a fallback default value 2021-01-06 10:17:51 +00:00
Andrew Kingston 6a6cbd6623 Initialise client app with preview type, left out from previous commit 2021-01-06 10:16:21 +00:00
Andrew Kingston 13134a8fea Use initialValue rather than defaultValue for style definitions 2021-01-06 10:15:22 +00:00
Andrew Kingston 8b7c5226ca Remove styleable action from screenslot placeholder component, which was creating a fake component layer 2021-01-06 10:14:36 +00:00
Andrew Kingston f7496579b7 Prevent client app links from functioning in the builder preview 2021-01-06 10:14:05 +00:00
Andrew Kingston 62fecd3a3c Enable selecting components from the builder preview and apply any custom styles 2021-01-06 10:13:30 +00:00
Andrew Kingston d25fd8b625 Pass preview type to client app so it can decide whether components are selectable 2021-01-06 10:11:56 +00:00
mike12345567 49f56ebd53 Version working with reverse proxy, need to just change settings menu in builder now to use this properly. 2021-01-05 18:47:51 +00:00
Andrew Kingston 0c89db4940 Merge branch 'master' of github.com:Budibase/budibase into custom-css 2021-01-05 12:02:08 +00:00
Andrew Kingston d7ef3d883f
Merge pull request #943 from Budibase/cheeks-bugfixes
Cheeks Bugfixes
2021-01-05 12:00:18 +00:00
Andrew Kingston 8a3561957b Mark individual styles as changed if they have been changed 2021-01-05 11:59:19 +00:00
Andrew Kingston ac7e99afc3 Add button to reset styles 2021-01-05 11:48:14 +00:00
Andrew Kingston 71a9e228d0 Mark style categories as changed whenever any of their properties have changed 2021-01-05 11:47:56 +00:00
Andrew Kingston 82baab3d9d Make option select component select placeholder option whenever the value is nullish 2021-01-05 11:47:09 +00:00
Andrew Kingston 3778589d0f Ensure new components are created with any default styles already applied 2021-01-05 11:46:31 +00:00
Andrew Kingston 8a5b7ca287 Add placeholders for all style options, add pretty labels for all style options 2021-01-05 11:45:50 +00:00
Andrew Kingston 1776c3101a Add fontend store method to reset styles and delete unset styles when updating styles 2021-01-05 11:44:58 +00:00
Joe d420f4231a Fix for: Small Typo in Data Binding textbox #962 2021-01-05 11:24:28 +00:00
Martin McKeaveney 0be3c722b8 allow execution of external connector queries from button clicks 2021-01-04 18:57:16 +00:00
Andrew Kingston 36ef89827a Add ability to enter custom component CSS 2021-01-04 18:39:17 +00:00
mike12345567 6baf4c3e39 Adding theme settings to main builder settings, this felt like a natural place to find it rather than needing to create an app. 2021-01-04 16:13:18 +00:00
Martin McKeaveney 4e41878618 better UI feedback 2021-01-04 10:39:17 +00:00
Martin McKeaveney 7adba016f4 use queries in front end 2020-12-30 12:58:39 +00:00
Martin McKeaveney 5b8e34f4d6 codemirror 2020-12-30 11:46:37 +00:00
Martin McKeaveney e92dedb795 v0.4.3 2020-12-23 22:39:10 +00:00
Martin McKeaveney d4fbee429f add notarization step back in for OSX 2020-12-23 22:33:10 +00:00
Andrew Kingston d7acc57ece Fix lag when swapping between settings and design options 2020-12-23 09:56:18 +00:00
Andrew Kingston d730967945 Fix new layouts having bad styling 2020-12-23 09:23:03 +00:00
Andrew Kingston b9453545d2 Fix empty screen list when navigating between roles 2020-12-23 08:54:09 +00:00
mike12345567 4c8ee99905 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2020-12-22 16:24:34 +00:00
Martin McKeaveney 63ad74b660 separation of datasources and queries 2020-12-18 18:19:43 +00:00
mike12345567 6c6a63e9d1 Quick fixes. 2020-12-18 16:48:14 +00:00
mike12345567 97bb1e209d Linting. 2020-12-18 12:55:01 +00:00
mike12345567 8655d73248 Update after testing, it is now possible to make a deployment to a self hosted environment. Some work still required, better authentication around MINIO deployment, currently the bucket is set to public read and there is no signing/verification to the upload process, also right now four different URLs are needed for the builder to connect correctly, ideally this shouldn't be the case. 2020-12-18 12:54:20 +00:00
kevmodrome 39c5c8a6fc
update test snapshot 2020-12-18 11:29:26 +01:00
kevmodrome eb225a8df3
updates test 2020-12-18 11:20:25 +01:00
kevmodrome 851515896f
remove console logs 2020-12-18 11:12:00 +01:00
kevmodrome d62f0752da
fixes encoding issue of file to work with non-english chars 2020-12-18 11:10:36 +01:00
Michael Drury 7845118fb3 Renaming deployment service to worker service for its expansion plans. 2020-12-17 12:39:55 +00:00
mike12345567 15f8328770 Adding a deployment service which takes over from the lambdas in local operation, this may become part of the hosting portal if we ever decide to opensource that part of it. 2020-12-16 19:50:02 +00:00
kevmodrome 2284ff812b
merge master 2020-12-16 15:33:37 +01:00
kevmodrome 52e826e4ec
add back accidently removed line of code 2020-12-16 15:31:20 +01:00
kevmodrome a9aa68c7bf
lint fix 2020-12-16 15:22:31 +01:00
kevmodrome b472ad0c63
fixes CreateEditRow not display multiselect correctly when long-form component was used 2020-12-16 13:00:07 +01:00
kevmodrome ad29ac3d6d
fix: corrects the overflowing multiselect when used with long-form type 2020-12-16 12:30:03 +01:00
kevmodrome 94e56ee94d
adds try/catch to API key validation 2020-12-16 11:35:12 +01:00
mike12345567 eae0e678d0 Linting. 2020-12-16 09:43:08 +00:00
mike12345567 f63466f1d1 Updating deployment service, checking in builder the builder settings info stored in DB before deploying. 2020-12-15 17:27:45 +00:00
mike12345567 fd1d7e3aa1 Linting. 2020-12-15 16:42:40 +00:00
mike12345567 775f84b6dc Adding feature to allow configured the builder to point at a self hosted system instead of production (for deployment). 2020-12-15 16:41:55 +00:00
Martin McKeaveney 79c9df6ea2 v0.4.2 2020-12-15 15:23:45 +00:00
Martin McKeaveney 498d627337
Update package.json 2020-12-15 15:08:21 +00:00
Martin McKeaveney a0e6ffd3e0 v0.4.1 2020-12-15 14:46:11 +00:00
Martin McKeaveney 5a760a360c
Update package.json
We can't build RPM for our scoped package due to - https://github.com/electron-userland/electron-builder/issues/5240

Need to remove RPM for now as it's blocking the release
2020-12-15 14:01:46 +00:00
Andrew Kingston c54ea7294b Fix bug with changing app name 2020-12-15 13:40:49 +00:00
Martin McKeaveney 0c93c17292 v0.4.0 2020-12-15 11:53:28 +00:00
Andrew Kingston afe309d731
Merge pull request #903 from Budibase/feature/security-update
Security Update & Role-Based Screens
2020-12-15 09:52:18 +00:00
mike12345567 166bf153de WIP - starting to work on deployment and hosting so that they don't use static URLs anymore to reach assets, instead using environment variables to determine what to use. 2020-12-14 18:31:48 +00:00
mike12345567 186fe1e8f1 Adding the ability to change default logo URL for new apps in self hosting. 2020-12-14 15:56:33 +00:00
Martin McKeaveney 941441b353
Merge pull request #897 from Budibase/replace-appimage
replace appimage with native linux packages
2020-12-14 15:20:05 +00:00
Andrew Kingston 6f521c1644 Small JS syntax refactor 2020-12-14 13:36:09 +00:00
Andrew Kingston fb1ca5e7ef Fix cypress tests 2020-12-14 13:33:34 +00:00
Andrew Kingston 119107834f Rename create new row to create new user for users table 2020-12-14 13:24:09 +00:00
Andrew Kingston 449509a203 Fix URL update after creating a new layout 2020-12-14 11:14:36 +00:00
Andrew Kingston aa71e95597 Allow independent selection of screen IDs and layout IDs so that selections persist between toggling tabs. Update logic around role selection and screen filtering 2020-12-14 11:14:16 +00:00
Martin McKeaveney d4ca3493c9 MS SQL Server integration 2020-12-12 21:48:51 +00:00
Martin McKeaveney 89615e58a7 merge 2020-12-12 20:09:04 +00:00
mike12345567 f2b19aab3f Putting together the basics of the compose system, this is now functional, along with some handy scripts to make it work. This requires minimum docker 1.25.0 to run due to the use of --env-file. 2020-12-11 16:38:40 +00:00
Andrew Kingston a3992acfa8 Fix lint 2020-12-11 16:19:56 +00:00
Andrew Kingston 672fe3fcc9 Keep honouring selected screen access role after swapping to layout tab 2020-12-11 15:29:25 +00:00
Andrew Kingston 6937c8e054 Improve navigation when logging in and out, remove need to hard reload the page and replace with smooth transitions 2020-12-11 14:24:19 +00:00
Joe 1f203ae586 Text changed
Changing 'Invalid chart options' to 'Use the settings panel to build your chart'. I feel this is more appropriate.
2020-12-10 11:11:53 +00:00
Andrew Kingston ef9415ae3b Select new role when creating screen with a different role than the selected one 2020-12-09 19:04:46 +00:00
Andrew Kingston db40514eb1 Lint 2020-12-09 18:56:54 +00:00
Andrew Kingston c8d7ef40ca Reduce nav item selected state border radius slightly 2020-12-09 18:41:18 +00:00
Andrew Kingston 3abacb3b65 Allow multiple screens to have the same URL as long as role is different 2020-12-09 18:39:49 +00:00
Andrew Kingston bd488463cb Add role selection for viewing screens and smart handling of preview screen 2020-12-09 18:18:47 +00:00
mike12345567 6718287a65 Linting. 2020-12-09 18:02:10 +00:00
mike12345567 8426998e77 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2020-12-09 18:01:38 +00:00
mike12345567 1904ec8bb4 Updating API key controller in self-host mode to return self host API key. 2020-12-09 17:10:53 +00:00
mike12345567 bc5f520a03 Adding in self hosted API key. 2020-12-09 17:04:05 +00:00
Andrew Kingston ce917b5005 Fix empty screen list when deleting a table backing an autoscreen which is currently selected 2020-12-09 16:01:16 +00:00
Andrew Kingston 52dd9760c5 Fix merge bug 2020-12-09 15:58:34 +00:00
Andrew Kingston fdbb8ac61c Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-09 15:57:32 +00:00
Andrew Kingston 5f37cabd24 Force white background behind prevrew iframe regardless of theme to better reflect what the real app will look like 2020-12-09 15:43:06 +00:00
Andrew Kingston fdfe16a649 Fix z index in beta warning 2020-12-09 15:42:44 +00:00
Andrew Kingston 4dd0d5b016 Cache roles in store and add role selector for screens 2020-12-09 15:35:57 +00:00
mike12345567 3c2ca11d31 Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/self-hosting 2020-12-09 15:21:34 +00:00
Andrew Kingston 5882f76c9a Allow role selection when creating new screen 2020-12-09 14:53:17 +00:00
Andrew Kingston 112fce654c Navigate to new layout after creating it 2020-12-09 14:53:03 +00:00
Andrew Kingston 31f0b51039 Fix bugs around selecting screens and layouts when creating them 2020-12-09 14:51:42 +00:00
kevmodrome 71fa1e1700
colorpicker for links in card component now works correctly 2020-12-09 15:27:24 +01:00
Andrew Kingston b5637dbffc Fix crash when adding a link 2020-12-09 14:14:10 +00:00
kevmodrome 19cd58a5ac
fixes link text colors 2020-12-09 15:12:10 +01:00
Andrew Kingston 0d1ab8ce56 Remove client CSS bundle from index.html template 2020-12-09 12:33:09 +00:00
mike12345567 b73210bf9d Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/security-update 2020-12-09 12:30:49 +00:00
mike12345567 c3abc9fed4 Removing the static CSS bundling from the server as it is no longer required. 2020-12-09 12:30:21 +00:00
Andrew Kingston a8a7a94eff Purge all references to _css prop or saving stylesheets 2020-12-09 12:22:30 +00:00
kevmodrome a91fc28eb9
changes settings prop of card link color 2020-12-09 13:21:04 +01:00
Andrew Kingston c65425d631 Fix routing setting and add initial role ID setting to screens for testing 2020-12-09 12:16:00 +00:00
Andrew Kingston 68ed9e9f32 Fix crash when having a screen selected that was deleted 2020-12-09 11:37:09 +00:00
Andrew Kingston 2e68f51b8f Fix selected row state not resetting properly 2020-12-09 11:31:50 +00:00
kevmodrome a300120b96
adds colorpicker to card componeent 2020-12-09 12:00:17 +01:00
mike12345567 40d855df10 Updating row controller to make sure that all user requests (bar deletion) are passed through correctly to the user controller so that any logic such as removing user password can be correctly held in the user controller logic. 2020-12-09 10:54:30 +00:00
mike12345567 c490e97573 Updating row controller to make sure that all user requests (bar deletion) are passed through correctly to the user controller so that any logic such as removing user password can be correctly held in the user controller logic. 2020-12-09 10:52:18 +00:00
mike12345567 3a2a1a504d Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/self-hosting 2020-12-09 10:02:33 +00:00
Martin McKeaveney e48be7a109 further tidy up 2020-12-08 18:57:19 +00:00
mike12345567 2928a379b0 Updating builder/server in a few ways, to allow creating users with extra columns attached, allowing password to be updated in the builder and making sure that all row endpoints correctly pass through the user controller so that we can still have customised functionality for users (such as making sure password is never returned). 2020-12-08 17:33:08 +00:00
Martin McKeaveney f355a16ca4 fixing bugs found during testing 2020-12-08 16:55:43 +00:00
mike12345567 f9d2e4e4e1 Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/self-hosting 2020-12-08 16:12:29 +00:00
Andrew Kingston c9514cefc6 Sort routes to ensure the client router always matches correctly 2020-12-08 15:44:35 +00:00
Andrew Kingston e472150f30 Sort path groupings 2020-12-08 15:34:15 +00:00
Andrew Kingston 36ca1143e1 Fix bug which caused autolinks to not be generated 2020-12-08 15:21:01 +00:00
Andrew Kingston 0f1ae6a28a Fix indentation level in screen and layout trees 2020-12-08 15:11:26 +00:00
Andrew Kingston 882092784a Add custom renderer for user roles to show pretty names 2020-12-08 14:03:47 +00:00
mike12345567 1f8e5006ad Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/self-hosting 2020-12-08 13:45:53 +00:00
mike12345567 bc399df6fd Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-08 13:41:07 +00:00
Andrew Kingston 9054a8014a Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-08 13:16:53 +00:00
mike12345567 57029e737b Fixing an issue with power user not being usable. 2020-12-08 12:20:37 +00:00
mike12345567 130f69caf5 Fixing automations to use recurseMustache from utilities. 2020-12-08 11:47:33 +00:00
Andrew Kingston d0f2d4c2cd Update user editing to support new email field 2020-12-08 11:43:37 +00:00
Andrew Kingston 1acdcd173c Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-08 11:42:29 +00:00
Martin McKeaveney 71fa39ef7e lint 2020-12-08 11:23:06 +00:00
Martin McKeaveney a2318238ae Merge branch 'feature/page-refactor' of github.com:Budibase/budibase into feature/page-refactor 2020-12-08 11:12:27 +00:00
Martin McKeaveney cbfe0f8409 lint 2020-12-08 11:07:16 +00:00
Martin McKeaveney 642437e5be
Merge branch 'master' into feature/page-refactor 2020-12-08 10:48:14 +00:00
Martin McKeaveney 5f7ed62a77 Merge branch 'feature/page-refactor' of github.com:Budibase/budibase into feature/page-refactor 2020-12-08 10:32:52 +00:00
Martin McKeaveney ae00e54d91 Different names for home and login screen 2020-12-08 10:32:45 +00:00
Andrew Kingston df37177239 Tidy up builder preview iframe 2020-12-08 10:16:01 +00:00
Andrew Kingston 2657008b14 Improve handling of routes and screens. Fix issue which could prevent logging in depending on order of screens in app definition 2020-12-08 10:15:33 +00:00
Andrew Kingston 0a9f6c3d33 Remove client bundle from being packaged with the builder 2020-12-08 10:14:02 +00:00
Martin McKeaveney efe50230e7 merge with master 2020-12-07 21:32:45 +00:00
Martin McKeaveney 1c40c3dbdd rename level to role in test 2020-12-07 21:28:16 +00:00
Martin McKeaveney d8aa699bfa merge 2020-12-07 21:20:35 +00:00
Martin McKeaveney 2123c06df5 fix tests 2020-12-07 21:11:07 +00:00
Martin McKeaveney 0e837899a4 code review 2020-12-07 20:46:37 +00:00
Martin McKeaveney 6e664b3795 fix layout bugs, some tidy up 2020-12-07 20:29:41 +00:00
Andrew Kingston e7c929ed84 Add custom modal for creating and editing users 2020-12-07 19:05:39 +00:00
mike12345567 e4ef92555c Merge branch 'username-email' of github.com:Budibase/budibase into feature/security-update 2020-12-07 18:08:20 +00:00
mike12345567 8a57f61607 Fixing test case and also making sure that external trigger does what its expected to. 2020-12-07 17:55:35 +00:00
mike12345567 bc9a8ef0e3 Updating test so that it doesn't chain. 2020-12-07 17:42:31 +00:00
mike12345567 616f3bc81c Linting. 2020-12-07 17:24:10 +00:00
mike12345567 5c084599ec Making chaining of automations through different row creation/deletions possible. 2020-12-07 17:23:53 +00:00
Martin McKeaveney 32d5a83b09 remove dupe import 2020-12-07 16:06:50 +00:00
Martin McKeaveney a014db4185 fix layout selection issues 2020-12-07 16:06:20 +00:00
Andrew Kingston a3dd9f1978 Remove log statement 2020-12-07 15:59:37 +00:00
Andrew Kingston 743dc950cd Fix crash when changing screen layout 2020-12-07 15:59:19 +00:00
Martin McKeaveney 7fa252ec07 merge 2020-12-07 15:53:51 +00:00
Martin McKeaveney b4fad77aae lint 2020-12-07 15:49:19 +00:00
Martin McKeaveney 81fe27f8f3 component store refactor - remove concept of currentPreviewItem and currentComponentInfo 2020-12-07 15:27:46 +00:00
mike12345567 c56bdd0751 Updating role constraints and making sure roles can't be deleted if they are in use. 2020-12-07 15:21:06 +00:00
Andrew Kingston a8c715efa5 Fix URLs when clicking on screens 2020-12-07 10:32:58 +00:00
Martin McKeaveney 79d482bfb1 replace appimage with native linux packages 2020-12-07 10:15:27 +00:00
Martin McKeaveney 274708b4e0 consolidate routing and component selection 2020-12-05 12:09:58 +00:00
Martin McKeaveney de5e7d38ba allow renaming of layouts 2020-12-05 09:43:00 +00:00
Martin McKeaveney 8775c594a1 deletion and error handling of layouts 2020-12-04 23:42:22 +00:00
Martin McKeaveney 84434741d1 allow creation of custom layouts, moving layoutId prop to top level of screen 2020-12-04 23:16:07 +00:00
mike12345567 2291a5acdb Some work towards replication of couch locally. 2020-12-04 17:10:01 +00:00
Andrew Kingston ca543e5756 Remove log statement 2020-12-04 14:52:48 +00:00
Andrew Kingston 8e2f5b379c Fix new screen button placement 2020-12-04 14:52:40 +00:00
Martin McKeaveney 8980895dac lint 2020-12-04 14:46:21 +00:00
Andrew Kingston 244451ca7b Merge branch 'feature/page-refactor' of github.com:Budibase/budibase into feature/page-refactor 2020-12-04 14:08:13 +00:00
Andrew Kingston d1940bafc9 Fix screen list UI width and tidy up unused imports 2020-12-04 14:07:56 +00:00
Andrew Kingston a5f78c3f8e Remove log statement 2020-12-04 14:07:23 +00:00
Andrew Kingston 69b2261768 Add basic role by default to new screens 2020-12-04 14:06:55 +00:00
Andrew Kingston 58c2659e94 Update client library to work with template screens in real preview 2020-12-04 14:04:07 +00:00
Andrew Kingston 2aa9208479 Change screen templates to be functions which can be enriched by the application 2020-12-04 14:03:40 +00:00
Andrew Kingston 175be609b9 Fix bug with getting screen list in app definition 2020-12-04 14:02:58 +00:00
mike12345567 5e61deb489 Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/security-update 2020-12-04 14:01:13 +00:00
Andrew Kingston 883b3761d5 Fix bug with checking user access 2020-12-04 14:01:10 +00:00
mike12345567 f0d447abcd Fixing a caching bug found by cheeks. 2020-12-04 14:01:02 +00:00
mike12345567 e80fb466e6 Hopefully a fix for the 4001 bug we have been experiencing. 2020-12-04 13:45:14 +00:00
Martin McKeaveney 87af1f916f update user id generation 2020-12-04 13:28:19 +00:00
Martin McKeaveney d6b00d5ebe email as default user identifier 2020-12-04 12:22:45 +00:00
mike12345567 4d57955844 Hopefully a fix for the 4001 bug we have been experiencing. 2020-12-04 12:09:02 +00:00
mike12345567 643cff06ea Quick fixes for self deployment. 2020-12-04 12:07:51 +00:00
Andrew Kingston 3b57ef3b0f Update stat card to use new component SDK 2020-12-04 09:13:38 +00:00
Andrew Kingston 2cb4f1228a Merge branch 'master' of github.com:Budibase/budibase into stat-card 2020-12-04 09:00:43 +00:00
Andrew Kingston 8feea17521 Fix variable name in returned message when deleting a role 2020-12-04 08:28:35 +00:00
Andrew Kingston d9df2a60eb Update errors box to work better in dark theme 2020-12-04 08:27:59 +00:00
Andrew Kingston c346630dfe Add modal for editing user roles 2020-12-04 08:27:42 +00:00
mike12345567 4fed10ccdf Some work to not contact lambda or use quotas when deploying locally. 2020-12-03 17:45:20 +00:00
Martin McKeaveney af24967c88 accommodate login layout 2020-12-03 17:31:38 +00:00
Martin McKeaveney 8ec836970c allow selection of layout 2020-12-03 15:25:17 +00:00
Martin McKeaveney 7254f23227 tidy up 2020-12-03 15:19:19 +00:00
Martin McKeaveney a0b4062a1f more intelligent routing for screens and pages 2020-12-03 15:15:14 +00:00
mike12345567 5c4fb1da63 Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/self-hosting 2020-12-03 15:01:41 +00:00
mike12345567 0c0cb503e7 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2020-12-03 15:01:28 +00:00
kevmodrome 17d61442bc
lint fix 2020-12-03 15:39:24 +01:00
kevmodrome 6e7bd09588
now uses RichText component in create/edit row modal on the backend 2020-12-03 15:37:04 +01:00
kevmodrome 0725b3bd6d
adds rollup-json to standard-components and adds RichText to Form component 2020-12-03 15:03:17 +01:00
mike12345567 5d9175b981 Making public and basic roles accessible. 2020-12-03 12:28:30 +00:00
kevmodrome 619011d7e8
adds new richtext version and adds it to the Form component 2020-12-03 13:19:14 +01:00
mike12345567 b65a554ede Linting and update to try and fix issues when screens are created, screen saving now generates CSS. 2020-12-03 12:08:33 +00:00
Andrew Kingston 2986579846 Merge branch 'feature/page-refactor' of github.com:Budibase/budibase into feature/page-refactor 2020-12-03 08:54:23 +00:00
Andrew Kingston 3ab5c834f7 Update client app to work with layouts when running inside builder preview 2020-12-02 18:10:46 +00:00
mike12345567 8686f45869 Merge branch 'feature/page-refactor' of github.com:Budibase/budibase into feature/page-refactor 2020-12-02 18:07:30 +00:00
mike12345567 eb5e1ea6d4 Quick fix and making sure CSS temp files in app directory don't get uploaded. 2020-12-02 18:07:17 +00:00
Martin McKeaveney c7a4503dd2 serve app assets 2020-12-02 17:42:59 +00:00
mike12345567 65302e1dd9 Changing the role system to have permissions integrated rather than the permissions being per user. 2020-12-02 17:08:25 +00:00
Martin McKeaveney f386d0c72b tidy up 2020-12-02 17:07:30 +00:00
Martin McKeaveney 4466923c84 allow editing of screen layout from modal 2020-12-02 16:15:14 +00:00
Martin McKeaveney 504565c3fc component tree layout/screen agnostic 2020-12-02 15:19:38 +00:00
Martin McKeaveney 8cae8e1705 E2E working 2020-12-02 14:49:43 +00:00
mike12345567 fa8d8fcfea Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-02 14:18:49 +00:00
Martin McKeaveney f70db5df36 merge 2020-12-02 14:15:07 +00:00
Andrew Kingston 859ae5f8a4 Move selection highlighting in builder preview in to client library and replace handlebars with mustache again 2020-12-02 13:49:24 +00:00
Martin McKeaveney 48318030a2 merge 2020-12-02 13:44:44 +00:00
Martin McKeaveney 4a51618c11 fix preview save 2020-12-02 13:41:00 +00:00
mike12345567 c7ba0a9cce Linting. 2020-12-02 13:27:20 +00:00
mike12345567 c832ed36d4 Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/page-refactor 2020-12-02 13:26:57 +00:00
mike12345567 abe3bdabad Linting. 2020-12-02 13:21:13 +00:00
mike12345567 05d5feb9fd Changing the naming of access levels to be roles. 2020-12-02 13:20:56 +00:00
Andrew Kingston 0a72b0e21b Replace mustache usage in client library with handlebars instead 2020-12-02 12:46:36 +00:00
mike12345567 8a14707a95 Merge branch 'component-sdk' of github.com:Budibase/budibase into feature/self-hosting 2020-12-01 17:54:50 +00:00
mike12345567 a381463c33 Making sure deployment object is used everywhere to hide all underlying deployment properties. 2020-12-01 16:51:17 +00:00
Martin McKeaveney 5674bfc8fa merge 2020-12-01 16:31:40 +00:00
Martin McKeaveney 01343e1474 layouts and screens switcher, merge with component sdk 2020-12-01 16:22:06 +00:00
Andrew Kingston ca9a3d2f3e Fix lint 2020-12-01 16:10:04 +00:00
Andrew Kingston a7fef455ed Fix cypress tests (sort of) 2020-12-01 14:35:47 +00:00
mike12345567 364eb3c433 Expanding on deployment, attempting to hide all the quota stuff behind layers that we can more easily abstract, as well as hiding away any AWS specific features in the index of deployment. 2020-12-01 13:39:34 +00:00
Andrew Kingston 79f1b17265 Adding client lock file 2020-12-01 10:50:08 +00:00
Andrew Kingston e4db97aa21 Remove old test dir and add yarn lockfile 2020-12-01 10:47:48 +00:00
mike12345567 f2c37c7179 Initial work, layout out some work which will eventually become docker compose, just using bash scripts for now. 2020-11-30 18:04:47 +00:00
Andrew Kingston fd65e5e8a0 Fix unit tests 2020-11-30 16:14:45 +00:00
mike12345567 fdd719aadb Quick update to allow deleting layouts if they are not currently in use. 2020-11-30 16:12:06 +00:00
Andrew Kingston ce18e253ba Remove deprecated props, fix warnings, remove old code 2020-11-30 15:05:36 +00:00
Andrew Kingston 3ee9fee10c Optimise builder preview speed and performance and fix components not updating when changing props 2020-11-30 12:11:50 +00:00
mike12345567 9b5734b1de Merge branch 'master' of github.com:Budibase/budibase into feature/page-refactor 2020-11-30 11:47:08 +00:00
mike12345567 5dbab658ad Adding to JOI the layoutId. 2020-11-30 11:19:22 +00:00
Joe 3231be4b8c Formatting and linting 2020-11-28 16:44:07 +00:00
Joe 5cfc6a6eda Stat card
During lab day, I created a stat card. This card allows the user to display a single value, with an optional title and label. This is a popular component that will save our users time - expecially when creating dashboards.
2020-11-28 16:35:42 +00:00
mike12345567 d7f2060954 Some further work after testing, really need to get the backlink of screens to layouts functional. 2020-11-27 16:36:31 +00:00
Andrew Kingston cb626d685b Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-27 15:59:32 +00:00
Martin McKeaveney d8f276edd5
Merge pull request #880 from Budibase/users-as-table
Users as table
2020-11-27 15:52:54 +00:00
Martin McKeaveney e14d2517f4 allow password creation 2020-11-27 15:33:32 +00:00
Martin McKeaveney b4440abdd6 allow creation of username 2020-11-27 15:24:43 +00:00
mike12345567 8519ea1a97 Merge branch 'component-sdk' of github.com:Budibase/budibase into feature/page-refactor 2020-11-27 15:11:56 +00:00
Martin McKeaveney 88a61b3b72 prevent username changing 2020-11-27 14:59:27 +00:00
Martin McKeaveney f38e701d38 fix tests 2020-11-27 14:36:36 +00:00
Martin McKeaveney 1014437d42 fix user test 2020-11-27 13:17:31 +00:00
Martin McKeaveney 6518976825 browse contents of s3 buckets from within budibase 2020-11-26 21:23:20 +00:00
Martin McKeaveney c12b59e304 CouchDB integration E2E 2020-11-26 17:34:15 +00:00
Martin McKeaveney 4d3e134145 elasticsearch end to end 2020-11-26 17:03:18 +00:00
Martin McKeaveney 1f891cc8ae mongoDB end to end 2020-11-26 16:46:36 +00:00
Martin McKeaveney 113c68e4c9 budibase postgres E2E working 2020-11-26 14:43:56 +00:00
Andrew Kingston 86cfd3db22 Fix charts not correctly using data context 2020-11-25 18:43:58 +00:00
Andrew Kingston b000174fce Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-25 18:38:58 +00:00
Andrew Kingston 9c4b9a2a25 Add fade screen transition and fix navigation component casing 2020-11-25 18:30:09 +00:00
mike12345567 d3759a4c10 Major re-work, client library stills needs some work but it appears layouts and screens are no longer inter-dependent. 2020-11-25 17:56:09 +00:00
Martin McKeaveney 792eac2ca5 fix filepath issue 2020-11-25 16:27:49 +00:00
Andrew Kingston 004b3e5daa Tidy up dependencies and rollup configs for client and standard components 2020-11-25 16:03:52 +00:00
Martin McKeaveney 61a9d954e5 fix users test, remove superfluous files 2020-11-25 15:30:10 +00:00
Martin McKeaveney 619dec21dc fix create user automation 2020-11-25 15:11:33 +00:00
mike12345567 f2fc4f1a4c Merge branch 'component-sdk' of github.com:Budibase/budibase into feature/page-refactor 2020-11-25 15:04:23 +00:00
Martin McKeaveney e0071cabfd extract constant 2020-11-25 15:03:19 +00:00
Andrew Kingston 907c0fcfda Add button actions, simplify contexts and tidy up 2020-11-25 09:50:51 +00:00
mike12345567 8b4657b196 Starting work on builder, very broken. 2020-11-24 18:11:34 +00:00
mike12345567 5eec4d7a47 Creating CSS generation capabilities in the server. 2020-11-24 18:11:18 +00:00
Martin McKeaveney 9f2832af94 tidy up 2020-11-24 17:02:58 +00:00
Martin McKeaveney f1fe5de294 users as table working end to end 2020-11-24 17:00:15 +00:00
Michael Shanks 88ccfbe844 Correct licenses 2020-11-24 16:04:44 +00:00
Martin McKeaveney 327f77dbb3 user table and relationships complete 2020-11-24 14:04:14 +00:00
Andrew Kingston ad5fc0e780 Simplify data contexts 2020-11-24 11:28:31 +00:00
Andrew Kingston 920ef90e14 Add datepicked data binding and fix mustache rendering for non string values 2020-11-24 11:13:26 +00:00
Andrew Kingston e62fbf8ef7 Add component data binding and simplify context sharing 2020-11-24 11:02:10 +00:00
Martin McKeaveney 27813f5fbb fix windows url issue 2020-11-24 10:23:29 +00:00
Andrew Kingston 853f5d8745 Add proper hot reloading of app preview when styles change 2020-11-24 09:31:54 +00:00
mike12345567 b1bb7abdef Changing up how the static assets are compiled, making a 'css' directory in which individual assets CSS is written and then bundled together meaning that not all assets need to be sent up at once for css bundle to be built. 2020-11-23 16:56:35 +00:00
Martin McKeaveney ac75d6606d map fulfilled promises 2020-11-23 16:42:28 +00:00
Martin McKeaveney a63050e328 make datagrid less janky 2020-11-23 16:17:09 +00:00
mike12345567 8ff9635cd1 Removing all reference to 'pages' in server source code, now to look at builder. 2020-11-23 15:46:26 +00:00
Martin McKeaveney 76a752e3a1 prevent one broken app from breaking your whole install 2020-11-23 15:34:23 +00:00
Andrew Kingston aa38f1fe57 Fix reinstantiating app when builder props change 2020-11-23 14:28:02 +00:00
Andrew Kingston 74fdd36bce Add actual component for screenslot placeholder 2020-11-23 14:27:45 +00:00
mike12345567 90a8435641 Storing some work in commit, currently broken, further work needed - application needs cleaned up. 2020-11-23 14:07:18 +00:00
Martin McKeaveney 831d19e11c fix fast view switching bug 2020-11-23 12:12:03 +00:00
mike12345567 b63ca545bf Merge branch 'component-sdk' of github.com:Budibase/budibase into feature/page-refactor 2020-11-23 11:30:15 +00:00
Andrew Kingston e3fe891053 Fix chart styling 2020-11-23 11:29:34 +00:00
Andrew Kingston 192959c865 Fix builder preview 2020-11-23 11:29:24 +00:00
mike12345567 6aa2e53a40 Merge branch 'component-sdk' of github.com:Budibase/budibase into feature/page-refactor 2020-11-23 11:00:19 +00:00
mike12345567 6a2812f4f4 initial work towards page refactor. 2020-11-20 17:47:13 +00:00
Martin McKeaveney 42d8a94f9a fix e2e 2020-11-20 11:41:17 +00:00
Andrew Kingston 911fa31fe3 Tidy up data binding 2020-11-20 10:49:39 +00:00
Andrew Kingston a6821814f8 Merge branch 'component-sdk' of github.com:Budibase/budibase into component-sdk 2020-11-20 09:50:25 +00:00
Andrew Kingston 32a143cf41 Add support for full depth data binding 2020-11-20 09:50:10 +00:00
Martin McKeaveney 2bba574ab1 fix for delete screens 2020-11-19 21:07:25 +00:00
Martin McKeaveney 1f1dfbe296 folders for routes, show home instead of slash 2020-11-19 20:50:17 +00:00
Martin McKeaveney a4e0ba8e4b Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-19 20:48:23 +00:00
Michael Drury 372a7ce51c Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 20:44:38 +00:00
Michael Drury b75bf13edc Another quick fix for apps to work again. 2020-11-19 20:42:49 +00:00
Michael Drury 7f3f11c68b Fixing issues thrown up by PR. 2020-11-19 20:31:11 +00:00
Michael Drury a6e9500be9 Linting. 2020-11-19 20:19:18 +00:00
Michael Drury c03923360b Minor update to make use of new client header to state the request is from the client, not the builder. 2020-11-19 20:18:28 +00:00
Michael Drury 624078636b Minor update to make use of new client header to state the request is from the client, not the builder. 2020-11-19 20:16:37 +00:00
Andrew Kingston 2cb4cb2ce9 Add header to flag whether a request originates from the client 2020-11-19 20:04:30 +00:00
Andrew Kingston 674b89df5d Fetch app definition and routes from the server 2020-11-19 18:39:22 +00:00
Andrew Kingston 71b59d7cca Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 17:55:40 +00:00
Martin McKeaveney ee8dc0282a add optional chain back in 2020-11-19 17:09:56 +00:00
Martin McKeaveney 169cbe4a42 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-19 17:08:10 +00:00
mike12345567 c541cd078b Removing unused statement. 2020-11-19 17:07:39 +00:00
mike12345567 f5191862d5 Removing unused line. 2020-11-19 17:05:25 +00:00
Martin McKeaveney 7b2a9ec807 merge 2020-11-19 17:02:27 +00:00
mike12345567 c240274889 Merge branch 'master' of github.com:Budibase/budibase into feature/backend-routing 2020-11-19 16:58:54 +00:00
mike12345567 a9d5c3a5cb linting. 2020-11-19 16:56:23 +00:00
mike12345567 87528c8d55 Fixing issues with the application API, it utilised /api/:appId heavily which is a route that matches nearly everything. 2020-11-19 16:55:59 +00:00
Martin McKeaveney 270dbe933f tidy up 2020-11-19 16:41:29 +00:00
Martin McKeaveney 83924f0efa remove old files 2020-11-19 16:12:55 +00:00
Andrew Kingston 70a88589e9 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 13:56:51 +00:00
Martin McKeaveney af84518f81 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-19 13:55:40 +00:00
Andrew Kingston 3ffe1cb3fc Fix data source fetching for relationships in all other files 2020-11-19 13:52:11 +00:00
Andrew Kingston c1c7c8ede4 Fix fetching of relationship data in lists 2020-11-19 13:50:20 +00:00
mike12345567 e8f55f577b Updates to routing to follow the new style of single tree with all the subpaths nested as the full path. 2020-11-19 13:39:17 +00:00
Martin McKeaveney d473786d7e further store tidy up, derive selected page 2020-11-19 11:15:29 +00:00
Andrew Kingston 9ce7817233 Fix data binding after file rename 2020-11-19 09:31:49 +00:00
Andrew Kingston 0ff8a9a67b Add data binding enrichment 2020-11-19 09:24:58 +00:00
Andrew Kingston 3a5daa8ab1 Fix grid height 2020-11-19 08:59:54 +00:00
Martin McKeaveney a5827a9c53 nested routing UI up and running, refactor drag and drop functionality by decoupling store from components 2020-11-18 22:04:18 +00:00
Andrew Kingston 44a2282748 Remove deprecated components and fix card styling 2020-11-18 21:13:13 +00:00
Andrew Kingston 1bd2fac9b2 Update all components to be renderable and styleable 2020-11-18 21:06:12 +00:00
Martin McKeaveney 2ec27baccc Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-18 20:27:04 +00:00
Andrew Kingston a18a861177 Refactor entire SDK into client lib and enable svelte context sharing between client and components 2020-11-18 19:18:18 +00:00
mike12345567 1e9e46b8a5 Creating a function for the client to be able to pull in client definition from API. 2020-11-18 18:24:12 +00:00
mike12345567 634eacd5b9 Changing back to builder getting the normal routing structure for builder. 2020-11-18 15:13:25 +00:00
mike12345567 48f0608c74 Fixing some bugs with previous commit and updating to add the functionality of the api/routing/client. 2020-11-18 15:12:42 +00:00
Martin McKeaveney b501504150 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-18 13:55:08 +00:00
Andrew Kingston 2f0e4694e0 Add work on data context in components 2020-11-18 11:24:01 +00:00
Andrew Kingston aef49616a7 Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-18 11:23:06 +00:00
mike12345567 40bfb53771 linting. 2020-11-17 18:13:21 +00:00
mike12345567 e20a26a84d Finishing up routing structure, now available on /api/routing. 2020-11-17 18:12:21 +00:00
Andrew Kingston 5aff97deab Fix screen slot placeholder component display 2020-11-17 14:06:43 +00:00
mike12345567 d63054a426 Updates for screen refactor - finishing off getting everything over to the class based system. 2020-11-17 13:25:57 +00:00
Andrew Kingston 5fbf3502ce Fix selected component border in builder preview 2020-11-17 12:20:40 +00:00
Andrew Kingston 1ab29e05b1 Remove log statements 2020-11-17 12:09:02 +00:00
Andrew Kingston 94458b3907 Add lots of new work on client library rewrite 2020-11-17 12:08:24 +00:00
Martin McKeaveney e7fb58e5bd merge 2020-11-17 11:26:19 +00:00
mike12345567 f3da19552e Attempting to create a class structure for screen and component templates as right now modifying the templates is quite difficult. 2020-11-16 18:05:17 +00:00
mike12345567 acdc1e9a56 Updating to have proper access control via an accessController and nearly ready to spit out the routing structure. 2020-11-16 18:04:44 +00:00
Martin McKeaveney 8c5b801c0a v0.3.8 2020-11-16 13:54:26 +00:00
Martin McKeaveney 749868de2e
Merge pull request #860 from Budibase/linux-deb
Linux deb
2020-11-16 09:38:25 +00:00
Martin McKeaveney 21a8f2aa71 lint 2020-11-14 17:56:24 +00:00
Martin McKeaveney 63dd9bcd06 remove unnecessary images 2020-11-14 17:51:37 +00:00
Martin McKeaveney 19a029fd68 linux deb package, builder icon and auto update support for linux 2020-11-14 17:43:52 +00:00
Andrew Kingston cbeea17db0 Add initial new routing and svelte client app generation 2020-11-13 15:42:32 +00:00
Michael Drury 63b08e42aa Large update, tests passing, have simplifed access level API, access levels and permissions are now totally separate. 2020-11-13 15:35:20 +00:00
Martin McKeaveney a1c3cc6745 show quota errors when deployments fail 2020-11-13 14:32:47 +00:00
Martin McKeaveney 05135a346c Merge branch 'master' of github.com:Budibase/budibase into quota-errors 2020-11-13 13:07:52 +00:00
Martin McKeaveney 6cfd80a699 bump bbui 2020-11-13 12:24:21 +00:00
Kevin Åberg Kultalahti d3ea680238
Merge pull request #858 from Budibase/feature/adds-rich-text-component
Feature/adds rich text component
2020-11-13 12:37:03 +01:00
Kevin Åberg Kultalahti df0da3fca5
Merge pull request #857 from Budibase/chart-bugs
Chart bugs
2020-11-13 12:35:03 +01:00
Martin McKeaveney 681b2df2e4 lint 2020-11-13 10:54:03 +00:00
kevmodrome 9799a405fd
sets everything up to be used with a longform type in the Form component 2020-11-13 11:31:00 +01:00
Martin McKeaveney e8ca3030e1 fixing reactive chart issue 2020-11-13 10:29:54 +00:00
kevmodrome 201e37a2ba
unhides richtext component 2020-11-13 11:16:01 +01:00
kevmodrome b394dbd88d
hides said non-working RichText component 2020-11-13 11:14:34 +01:00
kevmodrome 24f9ee9d62
adds non-working RichText component 2020-11-13 11:12:38 +01:00
Michael Drury e35817f5f3 Linting. 2020-11-12 17:43:17 +00:00
Michael Drury 0a73ab83db Fixing test case. 2020-11-12 17:41:50 +00:00
mike12345567 2472168477 Tests failing but starting to progress. 2020-11-12 17:06:55 +00:00
mike12345567 c8a3b18513 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into feature/backend-routing 2020-11-12 15:10:07 +00:00
mike12345567 11369ceed5 Merge branch 'master' of github.com:Budibase/budibase into feature/backend-routing 2020-11-12 15:08:50 +00:00
Martin McKeaveney 4e54f6d0d1 track quota errors in deployment 2020-11-12 12:58:05 +00:00
Andrew Kingston a29f428f61 Fix log out not working 2020-11-12 12:27:53 +00:00
Andrew Kingston 33e2ee427d Replace all manual API interaction with SDK 2020-11-12 12:24:45 +00:00
Martin McKeaveney dee8af1332
Merge pull request #855 from Budibase/server-render-index
Server render index page, simplify CSS bundling, refactor static asset compilation
2020-11-12 11:18:09 +00:00
Martin McKeaveney 070b0c8c0a lint 2020-11-12 10:45:05 +00:00
Martin McKeaveney ff66ed35c6 tidy up 2020-11-12 10:41:49 +00:00
Martin McKeaveney cd5dd2d21d JSDoc for static asset compilation 2020-11-12 10:36:15 +00:00
Martin McKeaveney c2aa9eebfc remove squirrelly, compile a single bundle.css for each page, svelte and hbs server rendering 2020-11-12 10:25:25 +00:00
Andrew Kingston 0f12f19619 Fix client errors 2020-11-12 09:31:04 +00:00
Andrew Kingston aa70eab935 Add majority of API interactions to SDK 2020-11-12 09:07:09 +00:00
Michael Drury 4852ecf96a WIP - this is working towards the permissions system but stopping here for the night, this is currently not functional. 2020-11-11 17:34:15 +00:00
Andrew Kingston e24a89af56 Tidy up standard components 2020-11-11 14:26:33 +00:00
Andrew Kingston f8732b3038 Add initial work on component SDK 2020-11-11 12:25:50 +00:00
Martin McKeaveney fb0f7b0c73 v0.3.7 2020-11-10 20:23:36 +00:00
Martin McKeaveney a1645db1f2
Merge pull request #851 from Budibase/turn-off-invalidation
remove cf invalidation, adding validation around successful deploys only
2020-11-10 19:55:43 +00:00
mike12345567 65078861a2 Starting work off towards routing of screens in backend, getting view ready and a bit of cleanup to make internal views easier to create. 2020-11-10 17:22:41 +00:00
Martin McKeaveney 449f898009 increasing log level in production 2020-11-10 17:16:40 +00:00
Martin McKeaveney f19a20a02d remove cf invalidation, adding validation around successful deploys only 2020-11-10 17:08:02 +00:00
mike12345567 f57acfdf16 Fixing #848 - standard components was not using the same API calls consistently which was breaking some things like charts. For now just make it consistent by updating it to make calls the same way as client lib does but the SDK will eventually replace all this and solve these problems. 2020-11-10 15:09:54 +00:00
mike12345567 37c68467c2 Fixing an issue where screens couldn't be deleted and fixing an issue where rows would still contain data from a column that no longer exists if a column was deleted from a table. 2020-11-10 13:59:46 +00:00
Andrew Kingston 7a00243e45 Update yarn lock and dev script to use yarn rather than npm 2020-11-10 10:51:23 +00:00
Martin McKeaveney 44f1844bc7 Merge branch 'master' of github.com:Budibase/budibase into server-render-index 2020-11-09 20:18:37 +00:00
Martin McKeaveney 2adf0560ac v0.3.6 2020-11-09 18:16:36 +00:00
Martin McKeaveney 501ee906e7 bump rollup plugin svelte version 2020-11-09 18:04:55 +00:00
Martin McKeaveney fc285c64a4 v0.3.5 2020-11-09 16:28:06 +00:00
Martin McKeaveney 14003d03df fix auto screens issue 2020-11-09 15:55:36 +00:00
Martin McKeaveney 1e8f13f9cf start server render index.html 2020-11-09 15:24:29 +00:00
mike12345567 3d6f50ee5d Improving consistency of how appId is retrieved and making sure it is valid when being used. 2020-11-09 14:38:29 +00:00
Martin McKeaveney 51c0461f35 v0.3.4 2020-11-09 11:08:41 +00:00
Martin McKeaveney 7db78e98ab
Merge pull request #834 from Budibase/bug/more-auth-fixes
More Auth bugfixes
2020-11-09 10:49:57 +00:00
Martin McKeaveney d2bcf5f8a3
Merge pull request #835 from Budibase/screenselection-bug
prevent screen being selected when you save a component
2020-11-09 10:47:33 +00:00
Martin McKeaveney 4f5b867700 prevent screen being selected when you save a component 2020-11-09 10:28:49 +00:00
mike12345567 7600710125 The API that the components library would use was not always consistent with the API client library would use and this would sometimes break things. 2020-11-09 09:42:35 +00:00
Andrew Kingston 8feb05c4f6 Merge branch 'master' of github.com:Budibase/budibase into cheeks-bugfixes 2020-11-09 08:48:56 +00:00
Andrew Kingston 65b36677e6
Merge pull request #817 from Budibase/apex-charts
Apex charts
2020-11-09 08:48:44 +00:00
Andrew Kingston b450d541e6 Fix case sensitive screen alphabetical sorting 2020-11-09 08:43:36 +00:00
Andrew Kingston 2ccd8fe401 Fix autoscreens sometimes created in public rather than private page 2020-11-09 08:40:47 +00:00
Andrew Kingston 8fecebf435 Fix new screens and autoscreens not displaying properly 2020-11-09 08:33:22 +00:00
Andrew Kingston d248060d30 Fix alphabetical sorting of screens 2020-11-09 08:32:44 +00:00
Martin McKeaveney 4c77b9ceef v0.3.3 2020-11-06 21:40:31 +00:00
Martin McKeaveney 28f4f38e32
Merge pull request #830 from Budibase/bug/electron-no-pathname
Fixing issue with Electron apps not being able to determine appId
2020-11-06 21:39:12 +00:00
mike12345567 eca97f6f57 Linting. 2020-11-06 21:32:03 +00:00
mike12345567 472305d214 Fixing issues with auth not being able to find appId in pathname, using the currentapp cookie if pathname not populated. 2020-11-06 21:13:21 +00:00
Martin McKeaveney e09c9d13b3
Merge pull request #824 from Budibase/port-fixes
potential resolutions for the 4001 issue
2020-11-06 21:00:57 +00:00
Martin McKeaveney 0928b8496f PR review 2020-11-06 18:00:25 +00:00
mike12345567 f508822008 Quick change, we had a replication statement for testing, should be removed for production and uncommented when needed. 2020-11-06 15:47:12 +00:00
Michael Drury 960ca9df8e
Merge pull request #826 from Budibase/tidy-up-store
Pages and Screens to couch as well as general store tidy up
2020-11-06 14:54:54 +00:00
Martin McKeaveney 596940371e remove superfluous files 2020-11-06 13:46:19 +00:00
Martin McKeaveney aab4f60d76 small tidy ups 2020-11-06 13:40:00 +00:00
mike12345567 9544d2d205 Changing signup function to createNewApp for clarity. 2020-11-06 12:38:59 +00:00
mike12345567 36d90959ff Linting. 2020-11-06 12:31:47 +00:00
mike12345567 667052e0b4 Updating templates to be able to run locally with an environment variable LOCAL_TEMPLATES and making them work using the DB. Users are also no longer included in the db dump. 2020-11-06 12:30:30 +00:00
Martin McKeaveney 612e5e234e v0.3.2 2020-11-06 11:39:44 +00:00
Martin McKeaveney 6e02f1f1c6 potential resolutions for the 4001 issue 2020-11-05 22:09:49 +00:00
mike12345567 542b003f7e Refactoring to replace the use of frontend store.screens with derived allScreens and currentScreens. 2020-11-05 17:47:27 +00:00
mike12345567 2008bfff70 Getting started into removing screens from store. 2020-11-05 14:56:23 +00:00
mike12345567 a9ac8d0632 Fixing some bugs that have been found. 2020-11-05 14:38:44 +00:00
Martin McKeaveney 3847c058dc rename buildPage 2020-11-05 13:41:16 +00:00
Andrew Kingston 31c083d5ba Add colour palette options for charts 2020-11-05 13:37:28 +00:00
Andrew Kingston 732685ec60 Ensure candlestick chart works with either our own date formats as well as timestamps 2020-11-05 13:27:29 +00:00
mike12345567 76cc7d897c More cleanup, removing template app pages that were unused and fixing a bug with auth not being configured correctly when app created. 2020-11-05 12:43:03 +00:00
Andrew Kingston 4754f7e0b9 Fix style of DND navigation 2020-11-05 11:58:39 +00:00
Andrew Kingston 7bb3607d25 Reduce padding and indentation in nav items to provide more room for text 2020-11-05 11:48:49 +00:00
mike12345567 707c16c44d Further updates to clear out all usage of the old frontend store functions. 2020-11-05 11:44:18 +00:00
Martin McKeaveney fe637e2309 update left hand links on builder home 2020-11-05 09:18:20 +00:00
Martin McKeaveney 291e472765 cut over to new frontend store 2020-11-04 17:09:45 +00:00
Martin McKeaveney 333844a1f0 feature parity with current pages, screens and store setup. Starting main bb store refactor 2020-11-04 16:13:50 +00:00
Andrew Kingston 209f717d89 Fix lint 2020-11-04 15:59:26 +00:00
Andrew Kingston ff16e90f6e Fix warning when no data source and increase robustness of charts 2020-11-04 15:56:57 +00:00
Andrew Kingston 09302d4f45 Separate chart loading state from error state 2020-11-04 15:43:43 +00:00
Andrew Kingston 3457b308b2 Add candlestick chart 2020-11-04 15:21:11 +00:00
Andrew Kingston 8742c936d2 Remove additional unused chart settings 2020-11-04 14:27:19 +00:00
Andrew Kingston 3fec9243b2 Remove unused chart settings 2020-11-04 14:26:14 +00:00
Andrew Kingston d9853829ab Remove unecessary lodash import 2020-11-04 14:22:04 +00:00
Andrew Kingston c7ef9faca8 Improve chart robustness even more 2020-11-04 14:21:48 +00:00
Michael Drury 6bc184f0d6 Updating screens API to be prefixed with /api/screens 2020-11-04 14:05:11 +00:00
Andrew Kingston e1b3982bab Fix crash when saving rows 2020-11-04 13:17:24 +00:00
Andrew Kingston 9055744a5c Improve robustness of pie and donut charts 2020-11-04 13:08:59 +00:00
Andrew Kingston 0c48a20581 Add support for dates and increase robustness 2020-11-04 12:43:56 +00:00
Andrew Kingston 6cddc36729 Fix beta warning overlap 2020-11-04 12:38:52 +00:00
Michael Drury c9a1bf1940 Main work to get screens into the DB, fixing up issue with async page updates not being handled in order. 2020-11-04 12:36:38 +00:00
Michael Drury 9e72e122b6 Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-11-04 10:14:19 +00:00
Andrew Kingston 7130d070c8 Merge branch 'master' of github.com:Budibase/budibase into apex-charts 2020-11-04 09:02:56 +00:00
Michael Drury 0665e28ca3 Updates to pages so that they are written to DB and retrieved correctly. 2020-11-03 17:42:54 +00:00
Martin McKeaveney 3725a1782b screens in DB 2020-11-03 16:27:28 +00:00
Michael Drury b3fbffdfdc Fixing issue with appId being checked when undefined. 2020-11-03 16:23:28 +00:00
Andrew Kingston c98e59d7f6 Fix legends not being centered and use common chart component 2020-11-03 16:14:57 +00:00