Commit Graph

2554 Commits

Author SHA1 Message Date
Martin McKeaveney feb7d096db replace list template screen with datagrid 2020-10-12 21:21:23 +01:00
Martin McKeaveney f31352ad49 convenience scripts for restoring budibase installations 2020-10-12 20:39:29 +01:00
Martin McKeaveney 20301cb883 merge with new grid 2020-10-12 20:25:15 +01:00
kevmodrome a9d09ea770 fix yarn lock file 2020-10-12 20:56:09 +02:00
kevmodrome 9923266c51 fix editable header column not hiding when grid is un-editable 2020-10-12 20:44:40 +02:00
kevmodrome 41e23e78ce add back missing param to validate call on record post route 2020-10-12 20:37:41 +02:00
Andrew Kingston 9f3eef5b8c Fix crash when no linked records in DataTable 2020-10-12 18:47:25 +01:00
mike12345567 b0cea4c091 Updating formatting. 2020-10-12 17:56:40 +01:00
kevmodrome 3cd2cdb722 lint fixes 2020-10-12 18:54:18 +02:00
mike12345567 51ed75978b Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 17:45:11 +01:00
kevmodrome 277ab59647 Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-12 18:43:22 +02:00
kevmodrome b0bd9ae135 sets correct editable values on fields 2020-10-12 18:42:47 +02:00
Michael Drury a20c9ffcbb Merge pull request #706 from Budibase/bug/table-changes-fix
Bug/table changes fix
2020-10-12 17:32:59 +01:00
mike12345567 1dea4f24b7 Handling empty relationship column the same way other columns are handled, it won't do anything until it is valid - but doesn't error. 2020-10-12 17:02:52 +01:00
mike12345567 352ff82885 Improving consistency of model saving, making sure that any validation which could fail happens before any updates are carried out. 2020-10-12 16:51:41 +01:00
mike12345567 8df3a3f8de Fixes for deleting records when a table is deleted. 2020-10-12 16:37:08 +01:00
Michael Shanks f1604992db Merge pull request #703 from mjashanks/fixes
Some Fixes
2020-10-12 16:34:48 +01:00
Andrew Kingston 0ec10acc43 Update pagination to handle any number of pages 2020-10-12 16:33:38 +01:00
Michael Shanks 26b2fda616 code reivew - unused code 2020-10-12 16:28:37 +01:00
Michael Shanks 376b8b40d7 fix: Default props were mutated - cause very strange issue with event handlers 2020-10-12 16:27:34 +01:00
Michael Shanks 98138296c7 unused "options" member in prop types 2020-10-12 16:26:54 +01:00
Michael Shanks cc8a53f40b Analytics - record screen template used 2020-10-12 15:51:03 +01:00
Michael Shanks 4a32c7981a fix: view filter displaying incorrect options 2020-10-12 15:32:49 +01:00
mike12345567 12242cf6b2 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 15:25:27 +01:00
Andrew Kingston c1b047af0c Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 15:20:32 +01:00
Andrew Kingston 1f7ddbfa65 Fix style and alignment of various frontend design and settings components 2020-10-12 15:14:34 +01:00
Andrew Kingston 7af86f089d Improve style of frontend settings placeholder text 2020-10-12 15:14:11 +01:00
Andrew Kingston 50b7b47527 Improve style of ModelViewSelect and fix text wrapping 2020-10-12 15:13:38 +01:00
Andrew Kingston 0961812b56 Improve frontend settings and design panel scrolling and panel styling 2020-10-12 15:12:48 +01:00
Michael Shanks d24b13f364 Merge branch 'url-detail' into fixes 2020-10-12 15:10:31 +01:00
Michael Shanks 999e86f69c Merge branch 'master' into fixes 2020-10-12 15:10:21 +01:00
Michael Shanks d916de9b7f Settings >URL select handles Record detail urls 2020-10-12 14:48:30 +01:00
mike12345567 9841aab689 Fixes the link doc ID so that they do not start with automation ID and fixes an error that was occurring when creating tables. 2020-10-12 14:31:17 +01:00
Andrew Kingston dfd6a4d856 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 14:21:39 +01:00
Andrew Kingston 3c8502187f Fix relational data in client apps and use count for link fields in client apps 2020-10-12 14:21:15 +01:00
Andrew Kingston 959aa3ff60 Fix linked record selector rendering in client apps 2020-10-12 14:19:54 +01:00
Andrew Kingston f1f757054e Replace bindings to link fields with new count runtime property 2020-10-12 14:14:50 +01:00
mike12345567 c8ab9f7661 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:54:34 +01:00
Martin McKeaveney 2ca3bf1be9 Merge pull request #692 from Budibase/external-webhooks
support for external webhooks
2020-10-12 13:53:55 +01:00
Martin McKeaveney e2cb669259 Merge pull request #693 from Budibase/design-props---font-family-and-image-background---tidy-up
Typography, background, and transition props fix
2020-10-12 13:53:42 +01:00
mike12345567 cfd4d9d34d Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:34:32 +01:00
Martin McKeaveney c5efdbc3d0 adding auth object to context rather than separate booleans 2020-10-12 13:32:52 +01:00
Joe 95d532922d Typography, background, and transition props fix
Broken fonts removed
Minor tidy-ups around background props
Fixed transition duration prop
2020-10-12 12:50:59 +01:00
kevmodrome d6136ec233 merge master 2020-10-12 12:58:20 +02:00
Martin McKeaveney 1f92c9cd14 support for external webhooks 2020-10-12 11:57:37 +01:00
kevmodrome ac6c4869a1 merge master 2020-10-12 12:56:27 +02:00
Andrew Kingston 0ac8a33210 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 11:26:04 +01:00
Andrew Kingston f82161517e Remove buggy transition when displaying frontend blocks 2020-10-12 11:25:56 +01:00
Michael Shanks db72579f85 Merge pull request #681 from mjashanks/screen-templates
Screen templates
2020-10-12 11:09:15 +01:00
Andrew Kingston 0f80428a23 Fix falsey table values not being rendered 2020-10-12 11:02:03 +01:00
Michael Shanks 8ad2df14af renamed screen template 2020-10-12 10:59:23 +01:00
kevmodrome 6cc81349ed bump svelte-ag-grid and and actually apply theme class to element 2020-10-12 11:59:20 +02:00
Andrew Kingston 55573b7e32 Remove console log statement 2020-10-12 10:51:57 +01:00
Michael Shanks f5086990dd fix: New & Detail not displaying components when no model selected 2020-10-12 10:51:20 +01:00
Michael Shanks 74115bb2c9 fix: screen settings not updating 2020-10-12 10:50:51 +01:00
Andrew Kingston d5bf44bba1 Remove console log 2020-10-12 10:50:29 +01:00
Michael Shanks 67b99ec5d8 review: better naming of screen templates 2020-10-12 10:50:19 +01:00
Andrew Kingston 339bb8b76c Fix images and lots of other string escaping not working 2020-10-12 10:49:21 +01:00
Michael Drury 058149981e Merge pull request #684 from Budibase/link-record-performance
Small change that drastically improves the performance of linked records
2020-10-12 10:47:57 +01:00
kevmodrome 5bafa97c40 turns off some functionality and adds theme options 2020-10-12 11:44:43 +02:00
mike12345567 512b7e78c0 Formatting code - was causing PR to fail. 2020-10-12 10:41:25 +01:00
mike12345567 03584cacb2 Using lodash flatten rather than pure JS. 2020-10-12 10:28:53 +01:00
Michael Shanks 52f6c73be8 code review changes 2020-10-12 09:42:48 +01:00
mike12345567 d8f3a2ef17 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 09:41:42 +01:00
Michael Shanks 0c0887382d fix: no fields required by default 2020-10-11 20:42:30 +01:00
Michael Shanks 7c01959da1 merge from master 2020-10-11 20:34:13 +01:00
Martin McKeaveney 979422be52 Merge branch 'master' into deployment-api-usage 2020-10-09 21:43:28 +01:00
Martin McKeaveney 64b378364a deployment API usage complete 2020-10-09 21:42:20 +01:00
mike12345567 c3380d8ab4 Fixing some bugs with JWT creation not getting an API key. 2020-10-09 20:44:35 +01:00
mike12345567 abbf7fcc02 Merge branch 'link-record-performance' of github.com:Budibase/budibase into endpoint-renaming 2020-10-09 20:18:46 +01:00
mike12345567 efce1c839e Major performance boost to attachLinks -> makes CSV upload much more snappy. 2020-10-09 20:06:54 +01:00
mike12345567 dc9552dbad Updating tests and re-formatting. 2020-10-09 19:30:50 +01:00
mike12345567 763f7b3321 Updating ID to use ro rather than re for rows. 2020-10-09 19:16:33 +01:00
mike12345567 5d49d529e3 Changing record -> row in this update, completing the update of renaming in the builder, this release needs further testing. 2020-10-09 19:10:28 +01:00
mike12345567 fdaa69ee7f Renaming Model -> Table across the entire system, this is an unstable update and has not been tested fully yet. 2020-10-09 18:49:23 +01:00
Martin McKeaveney 4ec6fc4a52 Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 17:42:17 +01:00
mike12345567 89d02357b8 Making sure any errors that occur in usage quota are thrown up to stop endpoint from functioning. 2020-10-09 17:28:49 +01:00
Michael Shanks 79c890519a :app to _app : bugfix 2020-10-09 17:14:02 +01:00
Michael Shanks 127ce3b59d renaming Record > Row 2020-10-09 17:12:55 +01:00
Martin McKeaveney 055aafa503 updated quota fixes 2020-10-09 17:07:46 +01:00
mike12345567 2811c78d82 Merge branch 'master' of github.com:Budibase/budibase into api-usage-tracking 2020-10-09 14:38:11 +01:00
kevmodrome ad5103786d re-enable event 2020-10-09 13:48:36 +02:00
Andrew Kingston 4b1549a04e Fix issue displaying linked records in a table 2020-10-09 12:42:56 +01:00
Andrew Kingston 4ef8929462 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-09 12:34:25 +01:00
Andrew Kingston 009d04a0a5 Add relationships as data source 2020-10-09 12:24:18 +01:00
kevmodrome 420c94dd00 Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-09 13:08:03 +02:00
Michael Shanks db22d8862a merge from master 2020-10-09 12:01:49 +01:00
Michael Shanks 67845b1c82 auto create screens with new table 2020-10-09 11:58:46 +01:00
kevmodrome a117a18d0f adds editable setting 2020-10-09 12:42:16 +02:00
Martin McKeaveney e1c09e2b6b Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 11:32:50 +01:00
mike12345567 4584257007 Adding in default plan if the obj found does not have the required information. 2020-10-09 11:32:25 +01:00
mike12345567 c280586b9b Merge branch 'master' of github.com:Budibase/budibase into api-usage-tracking 2020-10-09 11:21:26 +01:00
Martin McKeaveney 05206b6049 Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 11:21:03 +01:00
Martin McKeaveney f54062575b use centralised document types and separators 2020-10-09 10:50:44 +01:00
Martin McKeaveney aef74c937e code review 2020-10-09 10:46:38 +01:00
kevmodrome a061d1d5b1 move important stuff up top 2020-10-09 11:43:35 +02:00
kevmodrome 2e3d8d9c16 refactor and clean up 2020-10-09 11:35:52 +02:00
kevmodrome 9ab83a08a6 adds options type support to grid component 2020-10-09 11:23:42 +02:00
mike12345567 325e291222 Removing sanisation, instead just using it as a central path system. 2020-10-09 10:00:57 +01:00
mike12345567 eea0bc5fb9 Update to IDs as has been discussed, to change them from colons (:) to underscores (_) as this is more URL, S3 and file system safe. Also shortening most prefixes down to two characters. 2020-10-09 09:47:37 +01:00
Michael Shanks a417a4906b bugfix - appId not recognised in static.js controller 2020-10-08 22:31:27 +01:00
Michael Shanks 4a13be8cf8 merge from master 2020-10-08 22:11:45 +01:00
Michael Shanks 2e76e1f0f4 Save Record Action 2020-10-08 22:06:44 +01:00
Martin McKeaveney 346c4bd406 remove log 2020-10-08 21:52:26 +01:00
Martin McKeaveney 3080dc0658 use underscores instead of colons, shorten id entity names 2020-10-08 21:50:49 +01:00
Martin McKeaveney e4528a8745 Merge branch 'master' of github.com:Budibase/budibase into deployment-api-usage 2020-10-08 21:16:16 +01:00
Martin McKeaveney e3a9eae679 lint and tidy up 2020-10-08 21:16:06 +01:00
Martin McKeaveney 3715c2bf36 removing retry param 2020-10-08 21:11:10 +01:00
Martin McKeaveney 1fd8d559aa v0.2.0 2020-10-08 20:32:50 +01:00
Martin McKeaveney 8dd32c6f6b fixing optional chaining operator in standard components 2020-10-08 20:31:13 +01:00
Martin McKeaveney 3994816c69 tidy up 2020-10-08 20:23:58 +01:00
mike12345567 a54ca6ac39 Fixing linting issue. 2020-10-08 18:36:31 +01:00
mike12345567 552c31a53e Updates for API usage after testing against local Dynamo. 2020-10-08 17:34:41 +01:00
kevmodrome 38e42c0e9e fix optional chaining error and adds guard for no model selected. 2020-10-08 17:45:47 +02:00
Michael Shanks 027819bae0 merge from master - including fixes 2020-10-08 16:15:12 +01:00
Michael Shanks a3bd28d99f screen templates - backup before merge from master 2020-10-08 15:46:29 +01:00
kevmodrome d9c8e6cd96 update svelte version in builder and standard-components packages 2020-10-08 16:24:21 +02:00
kevmodrome 93de461272 add dateRenderer 2020-10-08 16:23:13 +02:00
Martin McKeaveney ee73c7f418 update deployment quota after deploy 2020-10-08 15:06:27 +01:00
Michael Shanks f6d2e48dcc Screen Template - pre merge 2020-10-08 14:53:39 +01:00
kevmodrome e43dc488e4 move renderer map to separate file 2020-10-08 15:34:47 +02:00
kevmodrome da32029c31 fix delete functionality 2020-10-08 14:45:50 +02:00
kevmodrome 480a73997d merge master 2020-10-08 14:37:57 +02:00
mike12345567 1bf3b708fd Merge branch 'linked-records' of github.com:Budibase/budibase into api-usage-tracking 2020-10-08 13:30:18 +01:00
mike12345567 4ccd76fb5b Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-08 12:29:09 +01:00
mike12345567 69a1c13793 Using array de-structuring as per review. 2020-10-08 12:28:59 +01:00
Andrew Kingston 735de553d2 Update linked record selector to handle errors and remove loading state flashing 2020-10-08 12:21:05 +01:00
Andrew Kingston fbb7bf7413 Fixing cypress tests 2020-10-08 11:36:16 +01:00
Martin McKeaveney 39d2adb9e3 hitting deployment success endpoint 2020-10-08 10:56:32 +01:00
Andrew Kingston 9c6dbae7d5 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-08 10:43:09 +01:00
Andrew Kingston 9a8c659b79 Unify DataForm and DataFormWide by using single component with BBUI styles 2020-10-08 10:42:53 +01:00
Andrew Kingston 917bf47925 Fix crashing on creating a record with fields of type link or options due to coercing values 2020-10-08 10:42:14 +01:00
Andrew Kingston fa1836ad23 Improve relationship datatable title when no primary display is selected for a model 2020-10-08 10:41:20 +01:00
Andrew Kingston 7a08c5584d Remove console log statement 2020-10-08 10:40:46 +01:00
Andrew Kingston 1c559978e9 Fix relationship view when viewing fields with spaces in their name 2020-10-08 10:32:17 +01:00
Andrew Kingston ff4f7b31e3 Fix styles in event editor modal 2020-10-08 09:48:24 +01:00
Andrew Kingston ee6c210e67 Fix frontend crashing when adding components to a data provider component with no source 2020-10-08 09:48:03 +01:00
Andrew Kingston d24679bc33 Move modal to BBUI and update usages 2020-10-08 09:35:11 +01:00
Andrew Kingston 40d1d15b8e Bump electron to v10 2020-10-08 09:34:45 +01:00
Andrew Kingston 1b1c0c4e8f Bump BBUI version 2020-10-08 09:34:22 +01:00
Michael Shanks ae0069fa5d RecordDetail & NewRecord now baseComponents 2020-10-07 22:30:51 +01:00
Michael Shanks 716f42deab Screen templates working 2020-10-07 22:30:00 +01:00
Martin McKeaveney 3dca82a5ff check that deployment is possible using lambda API 2020-10-07 20:37:55 +01:00
mike12345567 922e214dca Fixing up middleware to handle uploads, views, records, automation runs and users. 2020-10-07 17:56:47 +01:00
kevmodrome c3a87880c1 Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-07 16:48:59 +02:00
kevmodrome 3225b5bbdc merge master 2020-10-07 16:47:35 +02:00
mike12345567 106badc9c6 Merge branch 'linked-records' of github.com:Budibase/budibase into api-usage-tracking 2020-10-07 15:41:39 +01:00
Michael Shanks 7fbee8b724 Merge branch 'master' of github.com:Budibase/budibase into master 2020-10-07 15:40:24 +01:00
Michael Shanks 77552a0747 Screen templates - initial commit 2020-10-07 15:40:06 +01:00
mike12345567 25cc60aa94 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 14:48:20 +01:00
mike12345567 47d3cd3000 Removing .orig file created by merge. 2020-10-07 13:33:21 +01:00
Andrew Kingston fff39f65e5 Change create table popover to modal to better support data import which can be long 2020-10-07 12:40:00 +01:00
Andrew Kingston a24ce26953 Remove padding on top nav bar so that things are properly centered 2020-10-07 12:00:15 +01:00
mike12345567 a72d8e42ad Sanitising the paths to the couchDB data directories. 2020-10-07 11:42:28 +01:00
Andrew Kingston b9c9408c7c Fix create automation modal 2020-10-07 11:38:05 +01:00
Andrew Kingston 4bcc50ee85 Change live animation color from purple to black 2020-10-07 11:37:55 +01:00
Andrew Kingston 97e9883d85 Fix table cypress tests 2020-10-07 11:23:47 +01:00
Andrew Kingston 7c67f18965 Fix cypress automation tests 2020-10-07 11:18:46 +01:00
Andrew Kingston 475d811e5b Fix layout by removing extra columns from grid layout css 2020-10-07 11:17:01 +01:00
Andrew Kingston e38985e111 Remove duplicate select element 2020-10-07 11:16:36 +01:00
Andrew Kingston 8582d63a75 Update styles of data import to match BBUI components 2020-10-07 11:16:06 +01:00
mike12345567 2c3566f686 Adding a regex to allow certain paths with : on windows. 2020-10-07 11:04:36 +01:00
Andrew Kingston 3dc30262d7 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 10:45:26 +01:00
mike12345567 2f58b2b81e Quick change after diffing and looking through everything. 2020-10-07 09:58:32 +01:00
kevmodrome 6c173ac6b3 fixes editable cell bug 2020-10-07 10:06:23 +02:00
mike12345567 13c9be4ea3 Adding a basic sanitise path function and fixing up use cases of appId filesystem paths throughout the system. 2020-10-07 00:24:56 +01:00
Michael Shanks 46cd413c58 removed .orig files 2020-10-06 21:45:12 +01:00
Michael Shanks 210062cbac merge conflicts - from master 2020-10-06 21:43:54 +01:00
Michael Shanks ed8371c41f a few changes from code review 2020-10-06 21:37:10 +01:00
Martin McKeaveney f5102d95bb v0.1.25 2020-10-06 21:23:02 +01:00
Martin McKeaveney 7b3ca245cc updating replication stream dependency 2020-10-06 21:10:49 +01:00
Martin McKeaveney 47993f2bd1 v0.1.24 2020-10-06 20:35:11 +01:00
Martin McKeaveney 6e65511613 Merge pull request #664 from Budibase/data-import
Data import
2020-10-06 20:24:34 +01:00
Martin McKeaveney e40cb3ac69 fixing test 2020-10-06 20:18:05 +01:00
mike12345567 72de4dcab4 First work towards implementing Dynamo usage in the server when running in the cloud; this is for tracking usage against API keys. 2020-10-06 19:13:41 +01:00
Andrew Kingston ea7e17ce60 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-06 18:03:43 +01:00
Andrew Kingston 1fb5804d32 Add support for displaying linked record counts in List and RecordDetail 2020-10-06 18:01:23 +01:00
Andrew Kingston e15e86b9e1 Add linked records to dataforms and use BBUI components and pretty errors 2020-10-06 16:46:23 +01:00
Andrew Kingston 7207bc275e Remove console log statement 2020-10-06 16:40:23 +01:00
Andrew Kingston 63635f3642 Use real schema for datatable rather than first row's keys 2020-10-06 16:39:24 +01:00
Andrew Kingston a12ddaaf08 Add default file prop to AttachmentList to prevent crashing when no files exist 2020-10-06 16:22:11 +01:00
Andrew Kingston 9287b16598 Add support for displaying linked records in DataTable 2020-10-06 16:05:52 +01:00
Andrew Kingston 49875d5c42 Fix a couple of crashes in frontend when doing various actions and fix record detail view 2020-10-06 16:04:58 +01:00
Andrew Kingston 013d812a52 Bump BBUI version 2020-10-06 16:03:49 +01:00
Andrew Kingston 959450d615 Delete old multiselect component 2020-10-06 16:03:17 +01:00
Andrew Kingston 517fb201ec Move multiselect to BBUI 2020-10-06 16:02:48 +01:00
Michael Shanks b9108f013d missing dependency 2020-10-05 21:21:00 +01:00
Michael Shanks a28a327da7 Merge branch 'master' into fixes 2020-10-05 21:17:01 +01:00
Michael Shanks b51942f0f8 broken test 2020-10-05 21:15:10 +01:00
Michael Shanks c0e008181d broken tests 2020-10-05 20:58:07 +01:00
Martin McKeaveney 5e6cbe3b6d cleaner parsing 2020-10-05 19:21:51 +01:00
mike12345567 196f0b380d Minor update to remove send grid from the API component of the builder and make them part of the automation itself. 2020-10-05 17:45:31 +01:00
Michael Shanks e4d4e2cd1c API Key - Changed placholder to instruct Command V
(as the right-click menu does not work in electron)
2020-10-05 17:41:16 +01:00
Michael Shanks 775aa0e92c Metrics - event props not populating correctly 2020-10-05 17:28:44 +01:00
Michael Shanks 267e8e39aa Coerse record fields, to be a bit more tolerant of data input 2020-10-05 17:28:23 +01:00
Martin McKeaveney ea950748e5 styling updates after review 2020-10-05 15:26:31 +01:00
Martin McKeaveney dd9eb9bb6a merge 2020-10-05 15:08:53 +01:00
Martin McKeaveney c3a5d964bc tidy up 2020-10-05 14:43:34 +01:00
Martin McKeaveney 3a460429a0 adding nice loading states 2020-10-05 14:07:39 +01:00
Andrew Kingston 921d63eea1 Fix null referencce in ModelViewSelect 2020-10-05 14:02:33 +01:00