Commit Graph

4022 Commits

Author SHA1 Message Date
Andrew Kingston 4b81663664 Merge branch 'develop' of github.com:Budibase/budibase into repeater-filtering 2021-02-18 17:45:10 +00:00
Andrew Kingston 2460280841 Fix and tidy up all button actions and drawers 2021-02-18 17:44:56 +00:00
Martin McKeaveney 6e121b6045 design updates, changing query verb names to HTTP verbs 2021-02-18 16:58:10 +00:00
mike12345567 f080fa6537 Some major performance optimisations, found that db.find is not fast unless its indexed, there is also no point in indexing for our internal relationship searching, however we can use the allDocs call. This will likely be slow for very large calls (say 100K records) but for these sort of calls we really need to paginate anyway. 2021-02-18 13:38:57 +00:00
mike12345567 5fab1529ec work in progress, enriching in the display names. 2021-02-17 18:04:21 +00:00
mike12345567 0f323d8aa9 linting. 2021-02-17 17:34:15 +00:00
mike12345567 74b6f0069b Fixing some errors found with relationships. 2021-02-17 17:30:58 +00:00
Michael Drury 7647e346d4 Merge pull request #1125 from Budibase/feature/autocolumns
Feature/autocolumns
2021-02-17 17:18:12 +00:00
mike12345567 a93eb180ce Starting with some work towards a deeper enrichment of rows. 2021-02-17 17:09:59 +00:00
Andrew Kingston 7494714845 Fix views not hot reloading when table data changes 2021-02-17 16:01:35 +00:00
Andrew Kingston 7f92c82298 Fix calc view schemas not being determined correctly 2021-02-17 16:01:11 +00:00
Andrew Kingston 09e3ab9078 Merge branch 'develop' of github.com:Budibase/budibase into budi-day-02-11-cheeks-joe 2021-02-17 15:25:34 +00:00
mike12345567 bec436f747 Merge branch 'feature/autocolumns' of github.com:Budibase/budibase into feature/autocolumns 2021-02-17 15:20:42 +00:00
mike12345567 d294ffbb3b Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-17 15:20:14 +00:00
Andrew Kingston a35c34fd82 Add disabled setting for forms and fields, and force autocolumns in forms to be disabled 2021-02-17 15:16:44 +00:00
mike12345567 9b59b47d9e Fixing issue #1050 - two issues found, one with running automations in self host throwing an error when trying to access cloud resources (Dynamo) and secondly the worker pool does not have access to resources in the main server instance, therefore need to re-init when running an external action (get manifest, to download the package). 2021-02-17 13:40:14 +00:00
mike12345567 28e244fa16 Fixing an edge case, create table with auto ID, create some rows, then update a column and try to create another row, ID generation would have reset, this makes sure internal changes to the table are kept. 2021-02-17 10:36:36 +00:00
mike12345567 91926d17d9 Adding delay to cypress test to allow time for statistics to calculate. 2021-02-16 22:12:58 +00:00
mike12345567 6d519e1ad9 Updating cypress test to fix in CI. 2021-02-16 21:40:35 +00:00
mike12345567 6e198a8ce1 Fixing automation issue - now autocolumns hidden there too. 2021-02-16 18:58:59 +00:00
mike12345567 d700cc254c Formatting. 2021-02-16 18:47:25 +00:00
mike12345567 a63ebd1a9c Fixing another cypress test. 2021-02-16 18:47:05 +00:00
mike12345567 1e39a873b2 Fixing issue with cypress test, fixing a 409 conflict that could occur in table saving - shouldn't happen now. 2021-02-16 18:29:38 +00:00
mike12345567 ad49a428b5 Fixing an issue with Cypress tests. 2021-02-16 17:55:21 +00:00
mike12345567 905f913da3 Fixing linting. 2021-02-16 17:35:16 +00:00
mike12345567 7b389180c7 Fixing an issue with complex relationships that are heavily intra-related. 2021-02-16 17:21:34 +00:00
mike12345567 811aa5ced3 Fixing minor issue with auto-column toggles. 2021-02-16 16:52:30 +00:00
mike12345567 b7b1b17148 Fixing test case. 2021-02-16 16:46:18 +00:00
mike12345567 258b2138c3 Formatting. 2021-02-16 16:38:36 +00:00
mike12345567 4ccd46e2a1 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-16 16:38:11 +00:00
mike12345567 79bb9f3822 Updating BBUI after Andrew K fixed an issue with buttons and borders transitioning (causing buttons to expand/contract etc). 2021-02-16 16:34:54 +00:00
Andrew Kingston 85caa27855 Merge pull request #1124 from Budibase/url-context
Bindable URL parameters
2021-02-16 16:32:23 +00:00
mike12345567 cafb50bce6 Fixing some UI stuff after discussing with Andrew K - making sure auto-columns always appear at end of table. 2021-02-16 16:22:25 +00:00
mike12345567 1a9d16c8c7 Updating where utilities are held in builder and then making user table relationships autocolumn aware too. 2021-02-16 15:41:50 +00:00
Andrew Kingston ec94aaa90b Merge branch 'develop' of github.com:Budibase/budibase into url-context 2021-02-16 15:35:05 +00:00
Andrew Kingston af1654a3c9 Ensure form doesn't inherit built in datasources 2021-02-16 15:30:20 +00:00
Keviin Åberg Kultalahti 61552975c2 fix: field property saved to wrong place 2021-02-16 15:29:24 +01:00
mike12345567 113de64833 Some further UI work for auto-columns. 2021-02-16 13:56:40 +00:00
Andrew Kingston d8b28899b8 Make form always inherit closest datasource 2021-02-16 13:27:38 +00:00
Andrew Kingston 8d1f082cc9 Fix drawer bindable input not updating when typing with drawer closed 2021-02-16 13:17:30 +00:00
Andrew Kingston 284018fefa Rename form data bindings to Fields instead of Schema 2021-02-16 13:17:13 +00:00
Keviin Åberg Kultalahti 11ee6e8b15 change wording and remove console log 2021-02-16 12:50:12 +01:00
Keviin Åberg Kultalahti 7f95ae7b49 bump bbui 2021-02-16 11:14:49 +01:00
mike12345567 fd76369467 Removing repeated constant. 2021-02-16 10:07:15 +00:00
Andrew Kingston 77e2ce8eba Merge branch 'master' of github.com:Budibase/budibase into url-context 2021-02-16 09:22:37 +00:00
Andrew Kingston 8b23f603bd Update URL settigns to be bindable inputs and update navigate action 2021-02-15 20:03:29 +00:00
mike12345567 3a106c937c Formating. 2021-02-15 19:59:49 +00:00
mike12345567 846772bfeb Adding the ability to create/control auto-columns from the create/edit column modal. 2021-02-15 19:59:30 +00:00
Martin McKeaveney 13c51f61d9 ensure JSON parsed correctly 2021-02-15 19:57:49 +00:00
mike12345567 23cac6a9ac 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 5d5637571b tidy up 2021-02-15 18:59:21 +00:00
mike12345567 245cd0a791 Fixing issue with relationships. 2021-02-15 18:53:20 +00:00
Martin McKeaveney 55f98e82d8 REST integration complete 2021-02-15 18:41:56 +00:00
mike12345567 1a2b9bbef4 Removing unused stuff. 2021-02-15 18:41:26 +00:00
mike12345567 4b1855974c Work in progress, getting the server backend mostly ready for this work. 2021-02-15 17:47:14 +00:00
Martin McKeaveney 5787dd3f93 REST integration end to end 2021-02-15 17:05:53 +00:00
Keviin Åberg Kultalahti a35a6ba807 fix not being able to select relationship type 2021-02-15 17:37:07 +01:00
Keviin Åberg Kultalahti a7db499544 initial work to switch toggle to radio button 2021-02-15 17:12:39 +01:00
Martin McKeaveney 26377700bb v0.7.8 2021-02-15 14:07:27 +00:00
Martin McKeaveney 7ae0d44359 dropdown fixes 2021-02-15 12:37:37 +00:00
Keviin Åberg Kultalahti ce382f88de fixes crash when options was empty 2021-02-15 13:31:16 +01:00
Keviin Åberg Kultalahti 896c6ae5d4 Merge branch 'develop' into relationship-one-to-many 2021-02-15 12:02:26 +01:00
mike12345567 8bf10544c2 Fixing test case. 2021-02-12 20:41:30 +00:00
mike12345567 4b74598287 Linting. 2021-02-12 20:38:00 +00:00
mike12345567 4f1a0ac645 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 6bc9123a86 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 18:03:52 +00:00
Keviin Åberg Kultalahti b3964dddbb initial standard-components relationship field component update 2021-02-12 16:47:20 +01:00
mike12345567 f266129489 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 13:40:27 +00:00
Martin McKeaveney 626de07dbc merge 2021-02-12 13:35:00 +00:00
Keviin Åberg Kultalahti 9c3bde0f7e missed conflict fix 2021-02-12 14:32:46 +01:00
Martin McKeaveney 03044d36fe merge 2021-02-12 13:32:37 +00:00
Martin McKeaveney a5dc4de3d2 merge 2021-02-12 13:31:29 +00:00
Keviin Åberg Kultalahti 7cb263ceff merge develop 2021-02-12 14:24:38 +01:00
mike12345567 73169ab911 Quick CSS change for manage access popover. 2021-02-12 12:05:01 +00:00
mike12345567 1a8fe9b02c Some more fixes for RBAC as well as fixing the duplication of roles. 2021-02-12 12:02:07 +00:00
Andrew Kingston fdb27f205f Merge branch 'master' of github.com:Budibase/budibase into url-context 2021-02-12 11:43:28 +00:00
Andrew Kingston 41b1920b27 Avoid relationship picker making rows calls for empty string ID 2021-02-12 11:17:13 +00:00
Martin McKeaveney 8d92692593 v0.7.7 2021-02-12 11:15:38 +00:00
Martin McKeaveney 1f4fa6a659 hotfix/prevent-app-creation-failing 2021-02-12 11:08:36 +00:00
mike12345567 a1b4572252 Fixing a minor issue with self hosting deployment/app creation. 2021-02-12 10:48:57 +00:00
Martin McKeaveney fb7dddbefa Merge branch 'rbac-ui' of https://github.com/Budibase/budibase into rbac-ui 2021-02-12 10:24:00 +00:00
Martin McKeaveney ec3ef225b9 simplify UI 2021-02-12 10:12:17 +00:00
mike12345567 a1075881a6 Linting. 2021-02-12 09:55:37 +00:00
mike12345567 9ea0456248 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 ecdd1d32f8 Don't filter repeater results when filter is null 2021-02-11 14:27:27 +00:00
mike12345567 a2ce35b2f6 Fixing minor issue with switch to level -> roleID. 2021-02-11 13:38:07 +00:00
mike12345567 6c4c70e62b Some updates to RBAC backend, try to make switch to object support level -> roleID. 2021-02-11 13:29:15 +00:00
Andrew Kingston 1a00fbacde Add filtering to repeaters 2021-02-11 13:03:22 +00:00
mike12345567 c3840d8017 Merge branch 'master' of github.com:Budibase/budibase into rbac-ui 2021-02-11 13:01:07 +00:00
Martin McKeaveney 9b2b7ce3c8 fix linkable card 2021-02-11 11:35:52 +00:00
mike12345567 1abc4dd1f7 WIP - storing progress on RBAC changes. 2021-02-11 10:24:37 +00:00
Andrew Kingston 9a73a16b0c Block notifications following a datasource invalidation so that unnecessary notification don't get shown 2021-02-11 09:39:35 +00:00
Andrew Kingston 81e779c8b5 Add hot reloading to search results 2021-02-11 09:30:05 +00:00
Andrew Kingston a166147826 Update some empty state text 2021-02-11 09:20:25 +00:00
Andrew Kingston c625dcad11 Shrink some settings names to fit in one line 2021-02-11 09:19:09 +00:00
Andrew Kingston 24c3f3019f Fix automatic form generation from relationship and calculated view schemas 2021-02-11 09:17:36 +00:00
Martin McKeaveney 111ff61bbc tidy up 2021-02-10 22:25:30 +00:00
Martin McKeaveney 701e2b218e RBAC popover complete 2021-02-10 22:23:27 +00:00
Andrew Kingston 2e9122ca81 Fix reactive store derivation overriding actions 2021-02-10 19:42:56 +00:00
Andrew Kingston fb79a78164 Make all form components use fill width of container 2021-02-10 19:23:53 +00:00
Andrew Kingston 56d8a27286 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +00:00
Martin McKeaveney 37c00f24bd control RBAC from data section 2021-02-10 18:18:31 +00:00
mike12345567 ca20cbeeca First lot of work to update the auto fields into schema. 2021-02-10 17:55:19 +00:00
mike12345567 23f443022b Merge branch 'master' of github.com:Budibase/budibase into feature/autocolumns 2021-02-10 16:10:55 +00:00
mike12345567 feb7e2756f WIP - start of auto columns like autonumber, createdBy, createdAt, updatedBy etc. 2021-02-10 16:10:39 +00:00
Andrew Kingston 3ffe00fe2f Make URL params available to client apps via context 2021-02-10 15:49:23 +00:00
Martin McKeaveney 1958143500 Merge pull request #1107 from Budibase/internal-search
Internal search
2021-02-10 15:44:45 +00:00
Martin McKeaveney 39cf036594 default rows 2021-02-10 14:58:29 +00:00
Michael Shanks 73d34434ff Updated copyright line in license files 2021-02-10 14:41:37 +00:00
Martin McKeaveney 24c2dd2cdb code review 2021-02-10 14:24:42 +00:00
Martin McKeaveney 587d20b611 Merge branch 'master' of https://github.com/Budibase/budibase into internal-search 2021-02-10 14:02:57 +00:00
Martin McKeaveney 580ae3fb4c tidy up 2021-02-09 19:00:13 +00:00
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