1
0
Fork 0
mirror of synced 2024-07-05 22:40:39 +12:00
Commit graph

3681 commits

Author SHA1 Message Date
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
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