Commit Graph

3909 Commits

Author SHA1 Message Date
Martin McKeaveney 4766d21340 clean up index on table deletion 2021-02-09 18:57:32 +00:00
Martin McKeaveney 9c7a373fb0 primary and secondary index fields 2021-02-09 18:49:12 +00:00
mike12345567 182d720051 Fixing a minor issue with self hosting deployment/app creation. 2021-02-09 17:43:22 +00:00
mike12345567 1d48d4ec50 Merge branch 'master' of github.com:Budibase/budibase into feature/rbac 2021-02-09 17:25:05 +00:00
mike12345567 821de55363 Adding basic permissions test which proves a public user can read from a table, but cannot write. 2021-02-09 17:24:36 +00:00
Andrew Kingston 4493a0896f Remove commented out lines 2021-02-09 16:55:59 +00:00
Andrew Kingston 1eb216ace3 Fix conflict in yarn lock 2021-02-09 16:03:45 +00:00
mike12345567 9fb4c14835 Some more fixes after testing permissions a bit further. 2021-02-09 16:01:02 +00:00
Keviin Åberg Kultalahti f95d17ce83 fixes visuals 2021-02-09 16:29:36 +01:00
Keviin Åberg Kultalahti ea90fc3c0e remove some console logs 2021-02-09 16:28:05 +01:00
Keviin Åberg Kultalahti 8a2cc83a3b Merge branch 'form-builder' into relationship-one-to-many 2021-02-09 16:26:42 +01:00
Keviin Åberg Kultalahti 274088b661 adds functional single select to builder 2021-02-09 16:26:07 +01:00
Andrew Kingston da0fce0e8d Fix server query tests 2021-02-09 15:24:56 +00:00
Andrew Kingston 10a9b8034a Fix relationships not being saved for new rows 2021-02-09 14:50:02 +00:00
Andrew Kingston c635956e30 Fix multiselect not being wrapped in CreateEditRow modal 2021-02-09 14:37:42 +00:00
Keviin Åberg Kultalahti 690a2d9c73 initial work on handling single vs multiple values in builder components 2021-02-09 15:35:09 +01:00
Andrew Kingston 881303cdd3 Remove placeholder setting from relationship field as it is never displayed 2021-02-09 14:07:33 +00:00
Andrew Kingston 532d568e62 Merge branch 'form-builder' of github.com:Budibase/budibase into form-builder 2021-02-09 14:02:05 +00:00
Andrew Kingston 1deeb2ac3e Add sprectrum theme compatibility to autoscreens form text 2021-02-09 14:01:54 +00:00
Keviin Åberg Kultalahti 3e5c803598 fixes some warnings on DropdownItem component 2021-02-09 14:32:36 +01:00
Andrew Kingston 9054e764e0 Fix keying in component design properties 2021-02-09 13:31:20 +00:00
Keviin Åberg Kultalahti 9d58461328 disables one to many toggle when column is edited 2021-02-09 14:28:57 +01:00
mike12345567 3712de65ee Make sure both directions exist. 2021-02-09 13:20:53 +00:00
mike12345567 04035a24e9 Quick fix to make sure all relationships link to a valid, existing doc. 2021-02-09 13:18:59 +00:00
mike12345567 ec5f9788c5 Fixing minor bug with permission add. 2021-02-09 13:14:23 +00:00
Keviin Åberg Kultalahti cf31ddb8dc Merge branch 'form-builder' into relationship-one-to-many 2021-02-09 14:05:34 +01:00
mike12345567 cc02397b01 Fixing issues with builtin roles living in the database as well as in code (easier to change in the future this way) - discovered by basic test case. 2021-02-09 13:01:45 +00:00
Andrew Kingston febc2ceda0 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-09 12:59:18 +00:00
Andrew Kingston ae3a4aefbf Update BBUI version 2021-02-09 12:57:01 +00:00
Andrew Kingston 726ade0ebe Update BBUI version 2021-02-09 12:43:33 +00:00
Andrew Kingston 2c125bc671 Ensure client data contexts are correctly updated if a parent context is updated 2021-02-09 12:41:21 +00:00
Keviin Åberg Kultalahti 62b2f78421 fixes multiselect in modals bug by bumping bbui 2021-02-09 13:40:27 +01:00
Martin McKeaveney 05353c7666 backwards pagination 2021-02-09 12:12:03 +00:00
Keviin Åberg Kultalahti 7dffc1881d adds oneToMany property to save table method 2021-02-09 13:10:01 +01:00
Keviin Åberg Kultalahti 9dda10d0a3 revert constraint modification 2021-02-09 12:41:22 +01:00
Keviin Åberg Kultalahti 81488ec6c9 Merge branch 'form-builder' into relationship-one-to-many 2021-02-09 12:40:52 +01:00
Andrew Kingston 592348a5a0 Use real component name in deletion confirmation modal 2021-02-09 10:49:22 +00:00
Martin McKeaveney 36f3bbf6dd user search 2021-02-08 22:29:26 +00:00
Martin McKeaveney 7ef56de1be indexable fields 2021-02-08 20:54:55 +00:00
mike12345567 c0aaaf0046 Some more work and start of a test case towards resource permissions. 2021-02-08 18:30:30 +00:00
mike12345567 7a65a59c78 Making use of the resourceId in the middleware package. 2021-02-08 17:52:22 +00:00
Martin McKeaveney 07aeccb36d search UI complete, server side cursor based pagination 2021-02-08 17:44:44 +00:00
mike12345567 9752263e25 Merge branch 'master' of github.com:Budibase/budibase into feature/rbac 2021-02-08 17:22:21 +00:00
mike12345567 a55d836c33 Adding in resource IDs everywhere they should be accessible. 2021-02-08 17:22:07 +00:00
Keviin Åberg Kultalahti e74509e708 initial setup for one to many 2021-02-08 16:46:54 +01:00
Andrew Kingston 79351d1bf0 Remove empty field in saving row action to make it more clear that it's optional 2021-02-08 10:01:38 +00:00
Andrew Kingston a82153628d Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-08 09:52:46 +00:00
Andrew Kingston bd1bd8ee2a Add hot reloading of related datasources for external queries 2021-02-08 09:51:20 +00:00
Martin McKeaveney bfa865cf3c Merge branch 'master' of github.com:Budibase/budibase into internal-search 2021-02-08 09:32:53 +00:00
Martin McKeaveney d3e44268ed v0.7.6 2021-02-06 22:59:28 +00:00
Martin McKeaveney 4fcacc5f1f fix cypress tests 2021-02-06 22:41:27 +00:00
Martin McKeaveney e8db576002 force click 2021-02-06 21:32:17 +00:00
Martin McKeaveney 786a76208d fixing dropdowns 2021-02-06 20:32:44 +00:00
Martin McKeaveney 236a8adfd3 fix bindings 2021-02-06 19:04:25 +00:00
Martin McKeaveney 491d3afafd few bugfixes 2021-02-06 18:22:58 +00:00
Martin McKeaveney 67371ab25f v0.7.5 2021-02-06 12:43:01 +00:00
Martin McKeaveney bdc504fde6 fix deploy error 2021-02-06 12:35:01 +00:00
Martin McKeaveney 2a78d1f419 test 2021-02-06 12:31:12 +00:00
mike12345567 39a16b93f8 Further work, need to have a larger think about the API of this. 2021-02-05 18:46:15 +00:00
Michael Drury 7567935f71 Merge pull request #1094 from Budibase/bug/user-row-issues
Fixing issues with user row updates + removing an error log from self hosting
2021-02-05 17:01:09 +00:00
mike12345567 6e8912367c Merge branch 'form-builder' of github.com:Budibase/budibase into form-builder 2021-02-05 16:45:37 +00:00
mike12345567 98b23c999d Update to add readable prop to every 'read' query to follow a consistent pattern as well as adding a get endpoint for a single query. 2021-02-05 16:45:23 +00:00
Andrew Kingston c0555745e1 Automatically refresh data when related data changes 2021-02-05 16:16:41 +00:00
mike12345567 5f582dd1dc Initial work towards rbac. 2021-02-05 15:58:25 +00:00
mike12345567 768ea706e6 Quick fix for self hosting error in logs. 2021-02-05 15:24:34 +00:00
Keviin Åberg Kultalahti 62e5ae4645 bump bbui to fix popover component 2021-02-05 16:14:18 +01:00
Keviin Åberg Kultalahti 6702c7c6a5 bump bbui 2021-02-05 15:43:46 +01:00
Andrew Kingston 5adc144330 Key property group components so that they fully remount on component change 2021-02-05 13:48:26 +00:00
mike12345567 c578607511 Merge branch 'master' of github.com:Budibase/budibase into feature/rbac 2021-02-05 13:20:48 +00:00
Keviin Åberg Kultalahti 34e86b361e right aligns the multiselect options in the property panel 2021-02-05 14:09:29 +01:00
Keviin Åberg Kultalahti c213e29220 merge master and bump bbui 2021-02-05 14:06:35 +01:00
Andrew Kingston 6bdde675a2 Add button action to refresh a datasource 2021-02-05 12:54:36 +00:00
mike12345567 5ba9f1a65e Fixing some issues found with users and row updates, specifically relationships and numbers. 2021-02-05 12:23:29 +00:00
Andrew Kingston af74e6a592 Fix row detail autoscreen not having correct delete row definition 2021-02-05 11:55:53 +00:00
Andrew Kingston 185f4ec468 Remove unnecessary enrichment from button action calls 2021-02-05 11:51:07 +00:00
Andrew Kingston 5846e2ef7c Change how client provides the current user so that the whole app is actually wrapped in a provider which provides the current user 2021-02-05 11:44:33 +00:00
Martin McKeaveney b4628a43d0 merge 2021-02-05 11:18:37 +00:00
Andrew Kingston 0dd243d8b6 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-05 11:06:51 +00:00
Martin McKeaveney dd1419f2eb v0.7.4 2021-02-05 10:59:29 +00:00
Martin McKeaveney 8d8cdcd732 app export with space in name 2021-02-05 10:55:54 +00:00
Andrew Kingston 1fb4203b3a Adding validation to forms to ensure custom fields can't be the wrong type 2021-02-05 10:53:25 +00:00
Joe 96036e58bf I emphasized the naming of a query
Label text added and made semi-bold
Removed placeholder text
2021-02-05 10:32:10 +00:00
Andrew Kingston 64fb8f709c Fix padding in builder setting icons to be more in line 2021-02-05 10:26:38 +00:00
Andrew Kingston 2c465bb922 Allow form fields to have custom names 2021-02-05 10:26:24 +00:00
Martin McKeaveney 28e2ce28ba v0.7.3 2021-02-05 09:43:45 +00:00
Martin McKeaveney 63b8db6584 pin deps 2021-02-05 09:39:42 +00:00
Martin McKeaveney b1b02934ed custom columns 2021-02-04 23:17:49 +00:00
Andrew Kingston 5244ce1a62 Fix delete row action 2021-02-04 19:18:32 +00:00
Andrew Kingston 1185756622 Fix forms not providing correct datasource object 2021-02-04 18:11:56 +00:00
Andrew Kingston da517fbbe6 Merge branch 'form-builder' of github.com:Budibase/budibase into form-builder 2021-02-04 18:05:14 +00:00
Andrew Kingston 02d53cad5a Fix typo 2021-02-04 18:05:05 +00:00
Andrew Kingston 8962440901 Fix ID's not being made unique when copying components 2021-02-04 18:00:16 +00:00
Andrew Kingston 9aac519351 Update form settings to be called Schema and add custom schema option 2021-02-04 18:00:02 +00:00
mike12345567 45b65c6a11 Updating so that strings get coerced into arrays for relationships. 2021-02-04 17:17:05 +00:00
Andrew Kingston d939acbd4f Fix typo in _rev schema field type 2021-02-04 15:48:32 +00:00
Andrew Kingston d1df8aca41 Fix form constraints not being applied correctly 2021-02-04 15:23:26 +00:00
Andrew Kingston 4d9f4cc211 Update bindable properties to pull directly from form children 2021-02-04 15:11:05 +00:00
Andrew Kingston c7f2a989ad Update auto screens to use new lightest spectrum theme 2021-02-04 15:10:51 +00:00
Martin McKeaveney 02a2c60797 v0.7.2 2021-02-04 14:25:15 +00:00
Michael Drury 2f76344be6 Merge pull request #1086 from Budibase/feature/helper-duration
Duration binding helper
2021-02-04 14:15:36 +00:00
Andrew Kingston c36ddceb7e Pull form bindable properties from field definitions rather than schema 2021-02-04 13:01:49 +00:00
Andrew Kingston de4b87a208 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-04 12:59:34 +00:00
Andrew Kingston cc2026f6a4 Merge pull request #1087 from Budibase/fix/app-swapping
Fix bug making apps swap to different apps randomly
2021-02-04 12:41:40 +00:00
Martin McKeaveney cb95db54c4 Merge pull request #1085 from Budibase/bugfixes-0.7.1
Bugfixes 0.7.1
2021-02-04 12:23:22 +00:00
Andrew Kingston 5a89c640bd Be even more explicit with notification icon store update to avoid any magic 2021-02-04 11:29:35 +00:00
Andrew Kingston af5a95557a Reset back to 5 minute intervals 2021-02-04 11:27:12 +00:00
Andrew Kingston 1e2627cdfb Fix bug making apps swap to different apps randomly 2021-02-04 11:26:04 +00:00
mike12345567 5a7c0c1cc1 Fixing issue that was breaking linting. 2021-02-04 10:41:25 +00:00
mike12345567 1a9d6bcb60 Linting and updating helper manifest. 2021-02-04 10:25:04 +00:00
mike12345567 821fb20e8b Quick addition of a duration helper which can be used to create relative humanized date strings. 2021-02-04 10:17:10 +00:00
Martin McKeaveney ef97ca3e8a remove search carried over from other branch 2021-02-04 08:21:39 +00:00
Martin McKeaveney 1f6a755cb6 fixing JSON and CSV import/export 2021-02-04 08:20:04 +00:00
Andrew Kingston e9bfbd14a4 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-03 17:46:04 +00:00
mike12345567 8656ef3465 Adding a check to the link utils which should make sure the correct link doc is always picked. 2021-02-03 17:19:41 +00:00
Andrew Kingston e42b12668a Fix button action enrichment 2021-02-03 15:53:25 +00:00
Andrew Kingston 5b10482fa7 Don't render anything from repeater if no rows exist 2021-02-03 15:28:56 +00:00
Andrew Kingston 7efdff487e Update text field values on Enter press 2021-02-03 15:02:50 +00:00
Andrew Kingston b701416f7c Require spectrum css files from correct picker component 2021-02-03 14:56:37 +00:00
Andrew Kingston d85665d21c Allow forms to generate query schemas. Fix query execution action 2021-02-03 14:53:13 +00:00
mike12345567 ace80ccb7a Updated script and manifest - minor spelling error. 2021-02-03 14:00:58 +00:00
mike12345567 f4c7d3acd7 linting. 2021-02-03 13:56:01 +00:00
mike12345567 537c5a02ca Removing the use of helper-date which was causing some problems, instead took what we needed of it out of the package and updated to use dayjs instead of moment. 2021-02-03 13:55:33 +00:00
Martin McKeaveney 909ccac598 make email field bindable in automations 2021-02-03 13:50:19 +00:00
Martin McKeaveney efe1cca74b change backup to be appname 2021-02-03 13:28:11 +00:00
Andrew Kingston a1ed420c73 Merge branch 'bugs/quick-fixes' of github.com:Budibase/budibase into form-builder 2021-02-03 13:10:37 +00:00
mike12345567 febad5ad9d Adding some more changes to make it more obvious when a binding hasn't worked. 2021-02-03 13:04:19 +00:00
mike12345567 9aaf6b4883 Some more fixes, getting a balance of validity checking, not letting package output anything non-sensical. 2021-02-03 12:38:06 +00:00
mike12345567 4f2fd656c5 Fixing an issue with the new validity checking being too lenient. 2021-02-03 12:10:39 +00:00
mike12345567 32b0816ecb Quick fix for string-templates, was being a bit too fuzzy in its lookup of possible helper names. 2021-02-03 11:41:33 +00:00
Andrew Kingston 4d411857fd Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-03 11:13:58 +00:00
Andrew Kingston ea2f5ebbf9 Add listener to clear date pickers on certain keystrokes 2021-02-03 11:10:47 +00:00
Andrew Kingston e700b99fcf Force number field to set numerical values only 2021-02-03 10:53:48 +00:00
Andrew Kingston ba8d8b5327 Ensure field ID's are always safe to be used as DOM ID's 2021-02-03 10:32:21 +00:00
Martin McKeaveney e283dc0bb1 v0.7.1 2021-02-03 10:30:22 +00:00
Martin McKeaveney a96d065376 Merge pull request #1076 from Budibase/0.7-bugfixes
0.7 bugfixes
2021-02-03 10:25:36 +00:00
Andrew Kingston 8d8cffc7fc Add confirmation dialog before resetting form fields manually 2021-02-03 10:05:49 +00:00
Andrew Kingston fa20f5dec7 Fix form validation sometimes being applied erroneously 2021-02-03 10:05:32 +00:00
Martin McKeaveney 1daf676b7e Merge pull request #1073 from Budibase/bug/quick-handlebars-fix
Bug/quick handlebars fix
2021-02-03 08:33:53 +00:00
Martin McKeaveney befb94aaa9 fixes for mySQL and MSSQL non default ports 2021-02-03 08:20:21 +00:00
Martin McKeaveney 122caf227c fixing text wrap in handlebars 2021-02-03 08:12:58 +00:00
Michael Shanks 10d672460a fix: views not loading in deployed apps 2021-02-02 21:23:49 +00:00
Michael Drury cb4f7ade75 Linting. 2021-02-02 20:29:10 +00:00
Michael Drury 7e4e0db30f Widening the allowance criteria for handlebars validity, check for any errors which suggest a simple type error from the context and allowing these through. 2021-02-02 20:28:27 +00:00
Martin McKeaveney 7a386ac1b5 v0.7.0 2021-02-02 18:52:05 +00:00
mike12345567 7baf12f63d Merge branch 'feature/handlebars-helpers-update' of github.com:Budibase/budibase into bug/integration-fixes 2021-02-02 18:04:18 +00:00
mike12345567 016cabdf9e Merge branch 'feature/handlebars-helpers-update' of github.com:Budibase/budibase into feature/handlebars-helpers-update 2021-02-02 18:01:55 +00:00
mike12345567 5dd11ddcc5 Fixing issue with regex helper - escape test used the word 'test' a lot which breaks the helper. 2021-02-02 18:01:41 +00:00
mike12345567 cf72511b1d Merge branch 'feature/handlebars-helpers-update' of github.com:Budibase/budibase into bug/integration-fixes 2021-02-02 17:57:55 +00:00
mike12345567 926929f46e Updating BBUI. 2021-02-02 17:48:27 +00:00
Martin McKeaveney 594906d975 account for null helpers 2021-02-02 17:48:23 +00:00