Commit Graph

3973 Commits

Author SHA1 Message Date
Martin McKeaveney 6dfc4a4de5 ensure JSON parsed correctly 2021-02-15 19:57:49 +00:00
mike12345567 87f0a2cd67 Fixing issue with linked rows not handling uniqueness correctly when links between tables are using fieldnames for uniqueness. 2021-02-15 19:01:15 +00:00
Martin McKeaveney 415257a8e0 tidy up 2021-02-15 18:59:21 +00:00
mike12345567 734d3fe496 Fixing issue with relationships. 2021-02-15 18:53:20 +00:00
Martin McKeaveney 3a1a375c35 REST integration complete 2021-02-15 18:41:56 +00:00
mike12345567 89d33ea98a Removing unused stuff. 2021-02-15 18:41:26 +00:00
mike12345567 10aa830d05 Work in progress, getting the server backend mostly ready for this work. 2021-02-15 17:47:14 +00:00
Martin McKeaveney 6019af93ee REST integration end to end 2021-02-15 17:05:53 +00:00
Keviin Åberg Kultalahti 0f5e91b645 fix not being able to select relationship type 2021-02-15 17:37:07 +01:00
Keviin Åberg Kultalahti a42aecbfbe initial work to switch toggle to radio button 2021-02-15 17:12:39 +01:00
Martin McKeaveney d58ac80cc9 v0.7.8 2021-02-15 14:07:27 +00:00
Martin McKeaveney 484b490fb7 dropdown fixes 2021-02-15 12:37:37 +00:00
Keviin Åberg Kultalahti 9b13879b27 fixes crash when options was empty 2021-02-15 13:31:16 +01:00
Keviin Åberg Kultalahti 17e4ff1c60 Merge branch 'develop' into relationship-one-to-many 2021-02-15 12:02:26 +01:00
mike12345567 e7135e0058 Fixing test case. 2021-02-12 20:41:30 +00:00
mike12345567 044aed1346 Linting. 2021-02-12 20:38:00 +00:00
mike12345567 f57db6afad Fixing an issue with RBAC, there was a mutable issue where a server builtin resource was getting updated, fixed this by not exposing the mutable structure, instead exposing a function which provides a new object everytime. 2021-02-12 20:34:54 +00:00
mike12345567 c812823c3f Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 18:03:52 +00:00
Keviin Åberg Kultalahti 8539a6dcbe initial standard-components relationship field component update 2021-02-12 16:47:20 +01:00
mike12345567 da59ca30e6 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 13:40:27 +00:00
Martin McKeaveney dbd4f4c5a9 merge 2021-02-12 13:35:00 +00:00
Keviin Åberg Kultalahti 5afeb600a6 missed conflict fix 2021-02-12 14:32:46 +01:00
Martin McKeaveney 9ac9766399 merge 2021-02-12 13:32:37 +00:00
Martin McKeaveney c913637547 merge 2021-02-12 13:31:29 +00:00
Keviin Åberg Kultalahti c81fb5e8be merge develop 2021-02-12 14:24:38 +01:00
mike12345567 8383e125eb Quick CSS change for manage access popover. 2021-02-12 12:05:01 +00:00
mike12345567 fcc683cf99 Some more fixes for RBAC as well as fixing the duplication of roles. 2021-02-12 12:02:07 +00:00
Andrew Kingston 47dc6e8598 Merge branch 'master' of github.com:Budibase/budibase into url-context 2021-02-12 11:43:28 +00:00
Andrew Kingston bd7d95aabc Avoid relationship picker making rows calls for empty string ID 2021-02-12 11:17:13 +00:00
Martin McKeaveney 9ce9d10c29 v0.7.7 2021-02-12 11:15:38 +00:00
Martin McKeaveney 6b624f605f hotfix/prevent-app-creation-failing 2021-02-12 11:08:36 +00:00
mike12345567 43dd070c09 Fixing a minor issue with self hosting deployment/app creation. 2021-02-12 10:48:57 +00:00
Martin McKeaveney 2c8696b8f0 Merge branch 'rbac-ui' of https://github.com/Budibase/budibase into rbac-ui 2021-02-12 10:24:00 +00:00
Martin McKeaveney 4971d05e40 simplify UI 2021-02-12 10:12:17 +00:00
mike12345567 0e95370b79 Linting. 2021-02-12 09:55:37 +00:00
mike12345567 3fd557bf08 Flipping RBAC implementation to use levels -> role for resource perms API and resource -> level -> role for full fetch (please note full fetch will only work for resources that have a custom permission in the system somewhere, everything else simply defaults to standard. 2021-02-11 18:13:09 +00:00
Andrew Kingston 6df2f2b1a1 Don't filter repeater results when filter is null 2021-02-11 14:27:27 +00:00
mike12345567 60b7d68c2e Fixing minor issue with switch to level -> roleID. 2021-02-11 13:38:07 +00:00
mike12345567 091b4ee95d Some updates to RBAC backend, try to make switch to object support level -> roleID. 2021-02-11 13:29:15 +00:00
Andrew Kingston 17a9e44ef6 Add filtering to repeaters 2021-02-11 13:03:22 +00:00
mike12345567 a3ae17be8e Merge branch 'master' of github.com:Budibase/budibase into rbac-ui 2021-02-11 13:01:07 +00:00
Martin McKeaveney 768d87ec62 fix linkable card 2021-02-11 11:35:52 +00:00
mike12345567 fdb825d444 WIP - storing progress on RBAC changes. 2021-02-11 10:24:37 +00:00
Andrew Kingston b0cf9d2544 Block notifications following a datasource invalidation so that unnecessary notification don't get shown 2021-02-11 09:39:35 +00:00
Andrew Kingston f5fe4c9bb7 Add hot reloading to search results 2021-02-11 09:30:05 +00:00
Andrew Kingston b5e78fe14a Update some empty state text 2021-02-11 09:20:25 +00:00
Andrew Kingston 639d1f18e2 Shrink some settings names to fit in one line 2021-02-11 09:19:09 +00:00
Andrew Kingston 350dd8b3cd Fix automatic form generation from relationship and calculated view schemas 2021-02-11 09:17:36 +00:00
Martin McKeaveney 0fc6f0de98 tidy up 2021-02-10 22:25:30 +00:00
Martin McKeaveney 20bf34d53c RBAC popover complete 2021-02-10 22:23:27 +00:00
Andrew Kingston eac9dc7269 Fix reactive store derivation overriding actions 2021-02-10 19:42:56 +00:00
Andrew Kingston 544f94954c Make all form components use fill width of container 2021-02-10 19:23:53 +00:00
Andrew Kingston aec4939b93 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +00:00
Martin McKeaveney 63e0e187a6 control RBAC from data section 2021-02-10 18:18:31 +00:00
mike12345567 7a2405c756 First lot of work to update the auto fields into schema. 2021-02-10 17:55:19 +00:00
mike12345567 fa921951a3 Merge branch 'master' of github.com:Budibase/budibase into feature/autocolumns 2021-02-10 16:10:55 +00:00
mike12345567 f4a503d015 WIP - start of auto columns like autonumber, createdBy, createdAt, updatedBy etc. 2021-02-10 16:10:39 +00:00
Andrew Kingston 075de3edaf Make URL params available to client apps via context 2021-02-10 15:49:23 +00:00
Martin McKeaveney 5269b6be23
Merge pull request #1107 from Budibase/internal-search
Internal search
2021-02-10 15:44:45 +00:00
Martin McKeaveney 5d962b3c8a default rows 2021-02-10 14:58:29 +00:00
Michael Shanks 4c9c84ce3e Updated copyright line in license files 2021-02-10 14:41:37 +00:00
Martin McKeaveney 933969ce55 code review 2021-02-10 14:24:42 +00:00
Martin McKeaveney 1a945da513 Merge branch 'master' of https://github.com/Budibase/budibase into internal-search 2021-02-10 14:02:57 +00:00
Martin McKeaveney c132b7b584 tidy up 2021-02-09 19:00:13 +00:00
Martin McKeaveney fb4b371d27 clean up index on table deletion 2021-02-09 18:57:32 +00:00
Martin McKeaveney e599854b14 primary and secondary index fields 2021-02-09 18:49:12 +00:00
mike12345567 123846dab0 Fixing a minor issue with self hosting deployment/app creation. 2021-02-09 17:43:22 +00:00
mike12345567 fe7a242128 Merge branch 'master' of github.com:Budibase/budibase into feature/rbac 2021-02-09 17:25:05 +00:00
mike12345567 31d7a7a378 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 9512f6a840 Remove commented out lines 2021-02-09 16:55:59 +00:00
Andrew Kingston a79ccc47b4 Fix conflict in yarn lock 2021-02-09 16:03:45 +00:00
mike12345567 fee073fcfe Some more fixes after testing permissions a bit further. 2021-02-09 16:01:02 +00:00
Keviin Åberg Kultalahti 6780266ac7 fixes visuals 2021-02-09 16:29:36 +01:00
Keviin Åberg Kultalahti e4d863b765 remove some console logs 2021-02-09 16:28:05 +01:00
Keviin Åberg Kultalahti 1a474b54ef Merge branch 'form-builder' into relationship-one-to-many 2021-02-09 16:26:42 +01:00
Keviin Åberg Kultalahti dabcecc7db adds functional single select to builder 2021-02-09 16:26:07 +01:00
Andrew Kingston 4c53e4bcec Fix server query tests 2021-02-09 15:24:56 +00:00
Andrew Kingston 9b21eb78b6 Fix relationships not being saved for new rows 2021-02-09 14:50:02 +00:00
Andrew Kingston 33b8005493 Fix multiselect not being wrapped in CreateEditRow modal 2021-02-09 14:37:42 +00:00
Keviin Åberg Kultalahti b4cc7c6776 initial work on handling single vs multiple values in builder components 2021-02-09 15:35:09 +01:00
Andrew Kingston 009f631273 Remove placeholder setting from relationship field as it is never displayed 2021-02-09 14:07:33 +00:00
Andrew Kingston 5daebb07ff Merge branch 'form-builder' of github.com:Budibase/budibase into form-builder 2021-02-09 14:02:05 +00:00
Andrew Kingston 1345adf7f5 Add sprectrum theme compatibility to autoscreens form text 2021-02-09 14:01:54 +00:00
Keviin Åberg Kultalahti b8130183bb fixes some warnings on DropdownItem component 2021-02-09 14:32:36 +01:00
Andrew Kingston c7b110ff5c Fix keying in component design properties 2021-02-09 13:31:20 +00:00
Keviin Åberg Kultalahti 0b30949447 disables one to many toggle when column is edited 2021-02-09 14:28:57 +01:00
mike12345567 a1de336db9 Make sure both directions exist. 2021-02-09 13:20:53 +00:00
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
Keviin Åberg Kultalahti 58263ffa80 Merge branch 'form-builder' into relationship-one-to-many 2021-02-09 14:05:34 +01: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
Keviin Åberg Kultalahti a2610097c8 adds oneToMany property to save table method 2021-02-09 13:10:01 +01:00
Keviin Åberg Kultalahti 6d751ce588 revert constraint modification 2021-02-09 12:41:22 +01:00
Keviin Åberg Kultalahti cd14b7b4e4 Merge branch 'form-builder' into relationship-one-to-many 2021-02-09 12:40:52 +01: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
Keviin Åberg Kultalahti ce864e118f initial setup for one to many 2021-02-08 16:46:54 +01: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