Commit Graph

3881 Commits

Author SHA1 Message Date
mike12345567 383c2a6c0a Quick fix to make sure all relationships link to a valid, existing doc. 2021-02-09 13:18:59 +00:00
mike12345567 2103378e5c Fixing minor bug with permission add. 2021-02-09 13:14:23 +00:00
mike12345567 c8ef404560 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 c09b03a157 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-09 12:59:18 +00:00
Andrew Kingston 6fb9ad18b7 Update BBUI version 2021-02-09 12:57:01 +00:00
Andrew Kingston 246e6e2d7d Update BBUI version 2021-02-09 12:43:33 +00:00
Andrew Kingston a2a805b45b Ensure client data contexts are correctly updated if a parent context is updated 2021-02-09 12:41:21 +00:00
Keviin Åberg Kultalahti 02d00970ca fixes multiselect in modals bug by bumping bbui 2021-02-09 13:40:27 +01:00
Martin McKeaveney 41bc7dbaf7 backwards pagination 2021-02-09 12:12:03 +00:00
Andrew Kingston 465a240e87 Use real component name in deletion confirmation modal 2021-02-09 10:49:22 +00:00
Martin McKeaveney fde5ef02ac user search 2021-02-08 22:29:26 +00:00
Martin McKeaveney d2bd2209eb indexable fields 2021-02-08 20:54:55 +00:00
mike12345567 d9ca4f0eed Some more work and start of a test case towards resource permissions. 2021-02-08 18:30:30 +00:00
mike12345567 7d8cdafc60 Making use of the resourceId in the middleware package. 2021-02-08 17:52:22 +00:00
Martin McKeaveney 7f24c80bf0 search UI complete, server side cursor based pagination 2021-02-08 17:44:44 +00:00
mike12345567 2eb095fecd Merge branch 'master' of github.com:Budibase/budibase into feature/rbac 2021-02-08 17:22:21 +00:00
mike12345567 cd729192ea Adding in resource IDs everywhere they should be accessible. 2021-02-08 17:22:07 +00:00
Andrew Kingston 14f410dc57 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 5ab29ab73e Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-08 09:52:46 +00:00
Andrew Kingston 98f13321d4 Add hot reloading of related datasources for external queries 2021-02-08 09:51:20 +00:00
Martin McKeaveney 3189250d50 Merge branch 'master' of github.com:Budibase/budibase into internal-search 2021-02-08 09:32:53 +00:00
Martin McKeaveney dda087f10a v0.7.6 2021-02-06 22:59:28 +00:00
Martin McKeaveney c3df071fc0 fix cypress tests 2021-02-06 22:41:27 +00:00
Martin McKeaveney f6cdb9399e force click 2021-02-06 21:32:17 +00:00
Martin McKeaveney 81cf1d48f6 fixing dropdowns 2021-02-06 20:32:44 +00:00
Martin McKeaveney 702f67cb6d fix bindings 2021-02-06 19:04:25 +00:00
Martin McKeaveney 94f1a14445 few bugfixes 2021-02-06 18:22:58 +00:00
Martin McKeaveney d9378f1eed v0.7.5 2021-02-06 12:43:01 +00:00
Martin McKeaveney 7681416692 fix deploy error 2021-02-06 12:35:01 +00:00
Martin McKeaveney 2b74fd887b test 2021-02-06 12:31:12 +00:00
mike12345567 36edf3788f Further work, need to have a larger think about the API of this. 2021-02-05 18:46:15 +00:00
Michael Drury 6719e26d77
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 c7ed77381e Merge branch 'form-builder' of github.com:Budibase/budibase into form-builder 2021-02-05 16:45:37 +00:00
mike12345567 d5293e299f 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 fe00c66700 Automatically refresh data when related data changes 2021-02-05 16:16:41 +00:00
mike12345567 9f1c2cd602 Initial work towards rbac. 2021-02-05 15:58:25 +00:00
mike12345567 0f7e682b99 Quick fix for self hosting error in logs. 2021-02-05 15:24:34 +00:00
Keviin Åberg Kultalahti 2d98496eaf bump bbui to fix popover component 2021-02-05 16:14:18 +01:00
Keviin Åberg Kultalahti 2744c89444 bump bbui 2021-02-05 15:43:46 +01:00
Andrew Kingston 7c3ccf69f9 Key property group components so that they fully remount on component change 2021-02-05 13:48:26 +00:00
mike12345567 924086da83 Merge branch 'master' of github.com:Budibase/budibase into feature/rbac 2021-02-05 13:20:48 +00:00
Keviin Åberg Kultalahti efff6ae705 right aligns the multiselect options in the property panel 2021-02-05 14:09:29 +01:00
Keviin Åberg Kultalahti 69c01f0d00 merge master and bump bbui 2021-02-05 14:06:35 +01:00
Andrew Kingston 06b70706e3 Add button action to refresh a datasource 2021-02-05 12:54:36 +00:00
mike12345567 4b2b375512 Fixing some issues found with users and row updates, specifically relationships and numbers. 2021-02-05 12:23:29 +00:00
Andrew Kingston 4f3aafd53c Fix row detail autoscreen not having correct delete row definition 2021-02-05 11:55:53 +00:00
Andrew Kingston 6eec1632d9 Remove unnecessary enrichment from button action calls 2021-02-05 11:51:07 +00:00
Andrew Kingston 1fb84ceeea 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 5b1a2f99d6 merge 2021-02-05 11:18:37 +00:00
Andrew Kingston 44888f9bb4 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-05 11:06:51 +00:00
Martin McKeaveney cca4b93c53 v0.7.4 2021-02-05 10:59:29 +00:00
Martin McKeaveney 2cb0e35b25 app export with space in name 2021-02-05 10:55:54 +00:00
Andrew Kingston 53491c400d Adding validation to forms to ensure custom fields can't be the wrong type 2021-02-05 10:53:25 +00:00
Joe 481e949b3e 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 f44f887648 Fix padding in builder setting icons to be more in line 2021-02-05 10:26:38 +00:00
Andrew Kingston 10536a8c7d Allow form fields to have custom names 2021-02-05 10:26:24 +00:00
Martin McKeaveney 1a80b09fd0 v0.7.3 2021-02-05 09:43:45 +00:00
Martin McKeaveney c877543a2f pin deps 2021-02-05 09:39:42 +00:00
Martin McKeaveney c57dee754f custom columns 2021-02-04 23:17:49 +00:00
Andrew Kingston 580837f949 Fix delete row action 2021-02-04 19:18:32 +00:00
Andrew Kingston f453ed6c43 Fix forms not providing correct datasource object 2021-02-04 18:11:56 +00:00
Andrew Kingston 7afcee9748 Merge branch 'form-builder' of github.com:Budibase/budibase into form-builder 2021-02-04 18:05:14 +00:00
Andrew Kingston 18d0426d56 Fix typo 2021-02-04 18:05:05 +00:00
Andrew Kingston adb22dee69 Fix ID's not being made unique when copying components 2021-02-04 18:00:16 +00:00
Andrew Kingston e94fb7d937 Update form settings to be called Schema and add custom schema option 2021-02-04 18:00:02 +00:00
mike12345567 8eeda82511 Updating so that strings get coerced into arrays for relationships. 2021-02-04 17:17:05 +00:00
Andrew Kingston 963f5e0ad8 Fix typo in _rev schema field type 2021-02-04 15:48:32 +00:00
Andrew Kingston 725d13cad3 Fix form constraints not being applied correctly 2021-02-04 15:23:26 +00:00
Andrew Kingston 71da755b30 Update bindable properties to pull directly from form children 2021-02-04 15:11:05 +00:00
Andrew Kingston 4a7e05aa67 Update auto screens to use new lightest spectrum theme 2021-02-04 15:10:51 +00:00
Martin McKeaveney d954b0f4c1 v0.7.2 2021-02-04 14:25:15 +00:00
Michael Drury b787fc2e7c
Merge pull request #1086 from Budibase/feature/helper-duration
Duration binding helper
2021-02-04 14:15:36 +00:00
Andrew Kingston e3e22da303 Pull form bindable properties from field definitions rather than schema 2021-02-04 13:01:49 +00:00
Andrew Kingston 859bef0223 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-04 12:59:34 +00:00
Andrew Kingston 443dd591ed
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 36420ab005
Merge pull request #1085 from Budibase/bugfixes-0.7.1
Bugfixes 0.7.1
2021-02-04 12:23:22 +00:00
Andrew Kingston 0d5201ceae Be even more explicit with notification icon store update to avoid any magic 2021-02-04 11:29:35 +00:00
Andrew Kingston 6b8ab62930 Reset back to 5 minute intervals 2021-02-04 11:27:12 +00:00
Andrew Kingston ccf11a2ebc Fix bug making apps swap to different apps randomly 2021-02-04 11:26:04 +00:00
mike12345567 a9dc9f0561 Fixing issue that was breaking linting. 2021-02-04 10:41:25 +00:00
mike12345567 008c9dcbcd Linting and updating helper manifest. 2021-02-04 10:25:04 +00:00
mike12345567 a86b6db772 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 6a4a0c517b remove search carried over from other branch 2021-02-04 08:21:39 +00:00
Martin McKeaveney 6cb62f6625 fixing JSON and CSV import/export 2021-02-04 08:20:04 +00:00
Andrew Kingston 65e9f87e10 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-03 17:46:04 +00:00
mike12345567 f182a65547 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 a0f26c9a4f Fix button action enrichment 2021-02-03 15:53:25 +00:00
Andrew Kingston c2dc2d2b15 Don't render anything from repeater if no rows exist 2021-02-03 15:28:56 +00:00
Andrew Kingston 019316e508 Update text field values on Enter press 2021-02-03 15:02:50 +00:00
Andrew Kingston 81adaecd47 Require spectrum css files from correct picker component 2021-02-03 14:56:37 +00:00
Andrew Kingston d921cfedf8 Allow forms to generate query schemas. Fix query execution action 2021-02-03 14:53:13 +00:00
mike12345567 39ea169752 Updated script and manifest - minor spelling error. 2021-02-03 14:00:58 +00:00
mike12345567 6fd080269b linting. 2021-02-03 13:56:01 +00:00
mike12345567 9ae53caa4d 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 68aa7bb5f0 make email field bindable in automations 2021-02-03 13:50:19 +00:00
Martin McKeaveney 184f30771c change backup to be appname 2021-02-03 13:28:11 +00:00
Andrew Kingston a3441d454e Merge branch 'bugs/quick-fixes' of github.com:Budibase/budibase into form-builder 2021-02-03 13:10:37 +00:00
mike12345567 ae54a420ba Adding some more changes to make it more obvious when a binding hasn't worked. 2021-02-03 13:04:19 +00:00
mike12345567 c10cd53eb6 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 96acfc6563 Fixing an issue with the new validity checking being too lenient. 2021-02-03 12:10:39 +00:00
mike12345567 b79d6b712b 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 da9b2cd09d Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-03 11:13:58 +00:00
Andrew Kingston 6b6699c857 Add listener to clear date pickers on certain keystrokes 2021-02-03 11:10:47 +00:00
Andrew Kingston 181143935e Force number field to set numerical values only 2021-02-03 10:53:48 +00:00
Andrew Kingston 44cfd430c6 Ensure field ID's are always safe to be used as DOM ID's 2021-02-03 10:32:21 +00:00
Martin McKeaveney 12eb36175d v0.7.1 2021-02-03 10:30:22 +00:00
Martin McKeaveney 118b31cd4d
Merge pull request #1076 from Budibase/0.7-bugfixes
0.7 bugfixes
2021-02-03 10:25:36 +00:00
Andrew Kingston 231eec81ab Add confirmation dialog before resetting form fields manually 2021-02-03 10:05:49 +00:00
Andrew Kingston 9ff40cc288 Fix form validation sometimes being applied erroneously 2021-02-03 10:05:32 +00:00
Martin McKeaveney b6fb12bbe4
Merge pull request #1073 from Budibase/bug/quick-handlebars-fix
Bug/quick handlebars fix
2021-02-03 08:33:53 +00:00
Martin McKeaveney 8fac96dd69 fixes for mySQL and MSSQL non default ports 2021-02-03 08:20:21 +00:00
Martin McKeaveney d98be2f1aa fixing text wrap in handlebars 2021-02-03 08:12:58 +00:00
Michael Shanks 7380250f0b fix: views not loading in deployed apps 2021-02-02 21:23:49 +00:00
Michael Drury 30b004ba1f Linting. 2021-02-02 20:29:10 +00:00
Michael Drury 8d40cb6b32 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 8dbc102c6c v0.7.0 2021-02-02 18:52:05 +00:00
mike12345567 20c2413c6f Merge branch 'feature/handlebars-helpers-update' of github.com:Budibase/budibase into bug/integration-fixes 2021-02-02 18:04:18 +00:00
mike12345567 e7ed6301fa 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 08cf4bf292 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 7ece2e65a4 Merge branch 'feature/handlebars-helpers-update' of github.com:Budibase/budibase into bug/integration-fixes 2021-02-02 17:57:55 +00:00
mike12345567 87bbda1a73 Updating BBUI. 2021-02-02 17:48:27 +00:00
Martin McKeaveney 170c1abaf7 account for null helpers 2021-02-02 17:48:23 +00:00
mike12345567 78a10e8e43 Linting. 2021-02-02 17:46:52 +00:00
Martin McKeaveney e78b9c31c3 adding example code to helpers 2021-02-02 17:43:01 +00:00
mike12345567 711ab8a070 Updating manifest. 2021-02-02 17:29:46 +00:00
mike12345567 666a7b324c Merge branch 'feature/handlebars-helpers-update' of github.com:Budibase/budibase into feature/handlebars-helpers-update 2021-02-02 17:28:44 +00:00
mike12345567 2d82969350 Some quick fixes to allow custom verbs. 2021-02-02 17:28:11 +00:00
Andrew Kingston 3206b8dc14 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-02 17:26:44 +00:00
Andrew Kingston 453b9424e2 Add button to fieldgroups to automatically update from schema 2021-02-02 17:26:14 +00:00
mike12345567 a0c8c20782 Merge branch 'feature/handlebars-helpers-update' of github.com:Budibase/budibase into bug/integration-fixes 2021-02-02 17:25:35 +00:00
mike12345567 163079d278 Adding a nicer error for when user input JSON is invalid. 2021-02-02 16:44:31 +00:00
mike12345567 c74f1011d0 Some fixes for integrations, making Dynamo work correctly and allow local usage as well as using the API to try and make responses that are objects work better. 2021-02-02 16:26:15 +00:00
Martin McKeaveney ef63f24ec6 bump budibase hbs version 2021-02-02 16:19:37 +00:00
Andrew Kingston f6441aaff9 Remove console log statement 2021-02-02 15:39:07 +00:00
Andrew Kingston 1a886ada08 Use select for selecting form to validate in button actions to fix issue showing component ID 2021-02-02 15:38:43 +00:00
Andrew Kingston 9a6108326b Remove unused vars and lint 2021-02-02 15:24:15 +00:00
mike12345567 63933e9da0 Merge branch 'bug/attachment-issue' of github.com:Budibase/budibase into feature/handlebars-helpers-update 2021-02-02 14:57:19 +00:00
mike12345567 a367460fbc fixing cypress test. 2021-02-02 14:55:52 +00:00
Andrew Kingston 646e324551 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-02 14:44:19 +00:00
mike12345567 d8b6faa5f2 Merge branch 'master' of github.com:Budibase/budibase into bug/attachment-issue 2021-02-02 14:36:11 +00:00
Andrew Kingston d2c0ba8f74 Update screen templates to support full form generation. Fix issues with screen templates 2021-02-02 14:32:58 +00:00
mike12345567 92ab3631ea Adding object and regex helpers as well as a complex test case for forIn. 2021-02-02 14:22:10 +00:00
Andrew Kingston 8d6b13c5f4 Fix label in form validation action 2021-02-02 13:51:16 +00:00
Andrew Kingston 79ae7dae91 Ensure consistent size of form fields regardless of label position 2021-02-02 13:50:46 +00:00
Andrew Kingston 7984382552 Fix presence validation for array values 2021-02-02 13:50:13 +00:00
mike12345567 b6bdd04ea8 Fixing test failure due to not deleting the ID attached to table in couchTest Utils. 2021-02-02 13:14:32 +00:00
Joe 4db61e0fb7 Fixed stacked list
I simplified the stacked list which has resolved the text overlapping issue.

There is still an issue with linking the stacked list to a detail page
2021-02-02 13:08:01 +00:00
mike12345567 5187639fa0 Linting. 2021-02-02 11:47:20 +00:00
mike12345567 e0ea434f27 Added some unit tests for the enrichment process of rows, in the process found some issues with linking a table to itself, so fixed those so that we can do that in the future if desired. 2021-02-02 11:46:10 +00:00
Andrew Kingston 7c0a2bc2f5 Ensure fetching datasources always returns an array result 2021-02-02 10:35:00 +00:00