Commit Graph

2554 Commits

Author SHA1 Message Date
Martin McKeaveney 69f3064489 replace list template screen with datagrid 2020-10-12 21:21:23 +01:00
Martin McKeaveney d00aef571b convenience scripts for restoring budibase installations 2020-10-12 20:39:29 +01:00
Martin McKeaveney 10cef93195 merge with new grid 2020-10-12 20:25:15 +01:00
kevmodrome 4d140038e7
fix yarn lock file 2020-10-12 20:56:09 +02:00
kevmodrome b5a5ac8970
fix editable header column not hiding when grid is un-editable 2020-10-12 20:44:40 +02:00
kevmodrome f386dba290
add back missing param to validate call on record post route 2020-10-12 20:37:41 +02:00
Andrew Kingston 47e9cd64cb Fix crash when no linked records in DataTable 2020-10-12 18:47:25 +01:00
mike12345567 4e000a8904 Updating formatting. 2020-10-12 17:56:40 +01:00
kevmodrome 1e1662d265
lint fixes 2020-10-12 18:54:18 +02:00
mike12345567 408eda81ff Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 17:45:11 +01:00
kevmodrome 28caf55ac4
Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-12 18:43:22 +02:00
kevmodrome 14dc81e994
sets correct editable values on fields 2020-10-12 18:42:47 +02:00
Michael Drury b6da9a0f83
Merge pull request #706 from Budibase/bug/table-changes-fix
Bug/table changes fix
2020-10-12 17:32:59 +01:00
mike12345567 1955c73685 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 47b97225a8 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 9bf568ecb1 Fixes for deleting records when a table is deleted. 2020-10-12 16:37:08 +01:00
Michael Shanks 381c43f1e3
Merge pull request #703 from mjashanks/fixes
Some Fixes
2020-10-12 16:34:48 +01:00
Andrew Kingston da1936fbbf Update pagination to handle any number of pages 2020-10-12 16:33:38 +01:00
Michael Shanks 1e14da7108 code reivew - unused code 2020-10-12 16:28:37 +01:00
Michael Shanks 8956c7d9c9 fix: Default props were mutated - cause very strange issue with event handlers 2020-10-12 16:27:34 +01:00
Michael Shanks 45e583dc95 unused "options" member in prop types 2020-10-12 16:26:54 +01:00
Michael Shanks a1fb9aea6b Analytics - record screen template used 2020-10-12 15:51:03 +01:00
Michael Shanks f03e314710 fix: view filter displaying incorrect options 2020-10-12 15:32:49 +01:00
mike12345567 94f966631c Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 15:25:27 +01:00
Andrew Kingston 9e3e89eb06 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 15:20:32 +01:00
Andrew Kingston 61bfc12070 Fix style and alignment of various frontend design and settings components 2020-10-12 15:14:34 +01:00
Andrew Kingston 8ff401fd64 Improve style of frontend settings placeholder text 2020-10-12 15:14:11 +01:00
Andrew Kingston 63c14c11d6 Improve style of ModelViewSelect and fix text wrapping 2020-10-12 15:13:38 +01:00
Andrew Kingston 01dedf9e91 Improve frontend settings and design panel scrolling and panel styling 2020-10-12 15:12:48 +01:00
Michael Shanks 651128ea81 Merge branch 'url-detail' into fixes 2020-10-12 15:10:31 +01:00
Michael Shanks 0a1775b999 Merge branch 'master' into fixes 2020-10-12 15:10:21 +01:00
Michael Shanks 079ba1ffce Settings >URL select handles Record detail urls 2020-10-12 14:48:30 +01:00
mike12345567 6362c5ffdc 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 ecd14208ff Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 14:21:39 +01:00
Andrew Kingston 3fa4561edb 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 5450cca9f4 Fix linked record selector rendering in client apps 2020-10-12 14:19:54 +01:00
Andrew Kingston 448b0ca2ae Replace bindings to link fields with new count runtime property 2020-10-12 14:14:50 +01:00
mike12345567 2e49221ebc Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:54:34 +01:00
Martin McKeaveney 95cd3f84fc
Merge pull request #692 from Budibase/external-webhooks
support for external webhooks
2020-10-12 13:53:55 +01:00
Martin McKeaveney cde757e670
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 53d765b849 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:34:32 +01:00
Martin McKeaveney 7f7594895b adding auth object to context rather than separate booleans 2020-10-12 13:32:52 +01:00
Joe 9a289d2d16 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 a161288dc9
merge master 2020-10-12 12:58:20 +02:00
Martin McKeaveney dd2a84d58a support for external webhooks 2020-10-12 11:57:37 +01:00
kevmodrome 5691dc5c67
merge master 2020-10-12 12:56:27 +02:00
Andrew Kingston 42019dd546 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 11:26:04 +01:00
Andrew Kingston 0c45804446 Remove buggy transition when displaying frontend blocks 2020-10-12 11:25:56 +01:00
Michael Shanks 3af1d8dc7f
Merge pull request #681 from mjashanks/screen-templates
Screen templates
2020-10-12 11:09:15 +01:00
Andrew Kingston 7ca3a65c54 Fix falsey table values not being rendered 2020-10-12 11:02:03 +01:00
Michael Shanks 3a97e0ffd2 renamed screen template 2020-10-12 10:59:23 +01:00
kevmodrome 727d39a715
bump svelte-ag-grid and and actually apply theme class to element 2020-10-12 11:59:20 +02:00
Andrew Kingston 75998ea746 Remove console log statement 2020-10-12 10:51:57 +01:00
Michael Shanks d62ed0fb48 fix: New & Detail not displaying components when no model selected 2020-10-12 10:51:20 +01:00
Michael Shanks 4007152583 fix: screen settings not updating 2020-10-12 10:50:51 +01:00
Andrew Kingston 644f45e1c1 Remove console log 2020-10-12 10:50:29 +01:00
Michael Shanks 02dcc07f84 review: better naming of screen templates 2020-10-12 10:50:19 +01:00
Andrew Kingston 47a772a200 Fix images and lots of other string escaping not working 2020-10-12 10:49:21 +01:00
Michael Drury f2929bcc7d
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 12dda8ee0d
turns off some functionality and adds theme options 2020-10-12 11:44:43 +02:00
mike12345567 2a2dad3ca4 Formatting code - was causing PR to fail. 2020-10-12 10:41:25 +01:00
mike12345567 ba83cad43c Using lodash flatten rather than pure JS. 2020-10-12 10:28:53 +01:00
Michael Shanks 72774e7fe9 code review changes 2020-10-12 09:42:48 +01:00
mike12345567 3f0d205846 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 09:41:42 +01:00
Michael Shanks 84fcea8a80 fix: no fields required by default 2020-10-11 20:42:30 +01:00
Michael Shanks 3059c605d1 merge from master 2020-10-11 20:34:13 +01:00
Martin McKeaveney 506779f8cd
Merge branch 'master' into deployment-api-usage 2020-10-09 21:43:28 +01:00
Martin McKeaveney 3f81757faa deployment API usage complete 2020-10-09 21:42:20 +01:00
mike12345567 73e0e37c66 Fixing some bugs with JWT creation not getting an API key. 2020-10-09 20:44:35 +01:00
mike12345567 4d3308b216 Merge branch 'link-record-performance' of github.com:Budibase/budibase into endpoint-renaming 2020-10-09 20:18:46 +01:00
mike12345567 ec6717468b Major performance boost to attachLinks -> makes CSV upload much more snappy. 2020-10-09 20:06:54 +01:00
mike12345567 4147e8872b Updating tests and re-formatting. 2020-10-09 19:30:50 +01:00
mike12345567 ed778d15e2 Updating ID to use ro rather than re for rows. 2020-10-09 19:16:33 +01:00
mike12345567 d90c1e3dd3 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 bb3370e742 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 75fda94588 Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 17:42:17 +01:00
mike12345567 86102982a1 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 6f890dbe85 :app to _app : bugfix 2020-10-09 17:14:02 +01:00
Michael Shanks 1758243de9 renaming Record > Row 2020-10-09 17:12:55 +01:00
Martin McKeaveney f75f0f5f28 updated quota fixes 2020-10-09 17:07:46 +01:00
mike12345567 ac9be28064 Merge branch 'master' of github.com:Budibase/budibase into api-usage-tracking 2020-10-09 14:38:11 +01:00
kevmodrome 048021abaa
re-enable event 2020-10-09 13:48:36 +02:00
Andrew Kingston 13506be0fa Fix issue displaying linked records in a table 2020-10-09 12:42:56 +01:00
Andrew Kingston 1091526e1f Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-09 12:34:25 +01:00
Andrew Kingston d1f367ccff Add relationships as data source 2020-10-09 12:24:18 +01:00
kevmodrome ba1d268639
Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-09 13:08:03 +02:00
Michael Shanks e083d60597 merge from master 2020-10-09 12:01:49 +01:00
Michael Shanks f1eeb17dd3 auto create screens with new table 2020-10-09 11:58:46 +01:00
kevmodrome 2af12c6801
adds editable setting 2020-10-09 12:42:16 +02:00
Martin McKeaveney e7ee1ea12a Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 11:32:50 +01:00
mike12345567 4ba636897b Adding in default plan if the obj found does not have the required information. 2020-10-09 11:32:25 +01:00
mike12345567 844383631e Merge branch 'master' of github.com:Budibase/budibase into api-usage-tracking 2020-10-09 11:21:26 +01:00
Martin McKeaveney dbd0382d05 Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 11:21:03 +01:00
Martin McKeaveney 4abc54380d use centralised document types and separators 2020-10-09 10:50:44 +01:00
Martin McKeaveney c885382225 code review 2020-10-09 10:46:38 +01:00
kevmodrome 892bac9808
move important stuff up top 2020-10-09 11:43:35 +02:00
kevmodrome 00d5857232
refactor and clean up 2020-10-09 11:35:52 +02:00
kevmodrome 4f3ebb29e9
adds options type support to grid component 2020-10-09 11:23:42 +02:00
mike12345567 ba758905cc Removing sanisation, instead just using it as a central path system. 2020-10-09 10:00:57 +01:00
mike12345567 334b4b1696 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 9f3bc07729 bugfix - appId not recognised in static.js controller 2020-10-08 22:31:27 +01:00
Michael Shanks fcb093699d merge from master 2020-10-08 22:11:45 +01:00
Michael Shanks 58b5502f77 Save Record Action 2020-10-08 22:06:44 +01:00
Martin McKeaveney c9f791f250 remove log 2020-10-08 21:52:26 +01:00
Martin McKeaveney 954f6ad47b use underscores instead of colons, shorten id entity names 2020-10-08 21:50:49 +01:00
Martin McKeaveney 4fa3b9c473 Merge branch 'master' of github.com:Budibase/budibase into deployment-api-usage 2020-10-08 21:16:16 +01:00
Martin McKeaveney 3e0c23549c lint and tidy up 2020-10-08 21:16:06 +01:00
Martin McKeaveney b21cc23b3b removing retry param 2020-10-08 21:11:10 +01:00
Martin McKeaveney fed836140c v0.2.0 2020-10-08 20:32:50 +01:00
Martin McKeaveney f595392843 fixing optional chaining operator in standard components 2020-10-08 20:31:13 +01:00
Martin McKeaveney 8880e7574b tidy up 2020-10-08 20:23:58 +01:00
mike12345567 275bd64b1b Fixing linting issue. 2020-10-08 18:36:31 +01:00
mike12345567 b400a06027 Updates for API usage after testing against local Dynamo. 2020-10-08 17:34:41 +01:00
kevmodrome 48d7ff19c9
fix optional chaining error and adds guard for no model selected. 2020-10-08 17:45:47 +02:00
Michael Shanks eaa8d91392 merge from master - including fixes 2020-10-08 16:15:12 +01:00
Michael Shanks df4243abfa screen templates - backup before merge from master 2020-10-08 15:46:29 +01:00
kevmodrome 7b92482a8d
update svelte version in builder and standard-components packages 2020-10-08 16:24:21 +02:00
kevmodrome 7b54bdacd5
add dateRenderer 2020-10-08 16:23:13 +02:00
Martin McKeaveney 3f4fa0674d update deployment quota after deploy 2020-10-08 15:06:27 +01:00
Michael Shanks 85d2ff3e83 Screen Template - pre merge 2020-10-08 14:53:39 +01:00
kevmodrome 39671e76cd
move renderer map to separate file 2020-10-08 15:34:47 +02:00
kevmodrome 579166082d
fix delete functionality 2020-10-08 14:45:50 +02:00
kevmodrome 91e27804e5
merge master 2020-10-08 14:37:57 +02:00
mike12345567 d2ae589151 Merge branch 'linked-records' of github.com:Budibase/budibase into api-usage-tracking 2020-10-08 13:30:18 +01:00
mike12345567 0e3bb46ca5 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-08 12:29:09 +01:00
mike12345567 93281e2adc Using array de-structuring as per review. 2020-10-08 12:28:59 +01:00
Andrew Kingston 06eea7ba30 Update linked record selector to handle errors and remove loading state flashing 2020-10-08 12:21:05 +01:00
Andrew Kingston 9b57786457 Fixing cypress tests 2020-10-08 11:36:16 +01:00
Martin McKeaveney 212a24348a hitting deployment success endpoint 2020-10-08 10:56:32 +01:00
Andrew Kingston 4efd38bd2b Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-08 10:43:09 +01:00
Andrew Kingston b71ba5b3fb Unify DataForm and DataFormWide by using single component with BBUI styles 2020-10-08 10:42:53 +01:00
Andrew Kingston 36cb7eaee6 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 4682b34f05 Improve relationship datatable title when no primary display is selected for a model 2020-10-08 10:41:20 +01:00
Andrew Kingston 4140c831a3 Remove console log statement 2020-10-08 10:40:46 +01:00
Andrew Kingston 8f1b106a5d Fix relationship view when viewing fields with spaces in their name 2020-10-08 10:32:17 +01:00
Andrew Kingston 5bf04f7030 Fix styles in event editor modal 2020-10-08 09:48:24 +01:00
Andrew Kingston cb0b7b9b5b Fix frontend crashing when adding components to a data provider component with no source 2020-10-08 09:48:03 +01:00
Andrew Kingston b7edf26754 Move modal to BBUI and update usages 2020-10-08 09:35:11 +01:00
Andrew Kingston 356acc919d Bump electron to v10 2020-10-08 09:34:45 +01:00
Andrew Kingston 3d7bd55c08 Bump BBUI version 2020-10-08 09:34:22 +01:00
Michael Shanks fb5503d10e RecordDetail & NewRecord now baseComponents 2020-10-07 22:30:51 +01:00
Michael Shanks b7eb1a35e8 Screen templates working 2020-10-07 22:30:00 +01:00
Martin McKeaveney a482d0a23e check that deployment is possible using lambda API 2020-10-07 20:37:55 +01:00
mike12345567 f2b7d85b6e Fixing up middleware to handle uploads, views, records, automation runs and users. 2020-10-07 17:56:47 +01:00
kevmodrome 2b8242cf72
Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-07 16:48:59 +02:00
kevmodrome e26e628ae7
merge master 2020-10-07 16:47:35 +02:00
mike12345567 3a6a03403f Merge branch 'linked-records' of github.com:Budibase/budibase into api-usage-tracking 2020-10-07 15:41:39 +01:00
Michael Shanks 6625cb691a Merge branch 'master' of github.com:Budibase/budibase into master 2020-10-07 15:40:24 +01:00
Michael Shanks cdbd70c218 Screen templates - initial commit 2020-10-07 15:40:06 +01:00
mike12345567 17a4b058b5 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 14:48:20 +01:00
mike12345567 a25c1d8618 Removing .orig file created by merge. 2020-10-07 13:33:21 +01:00
Andrew Kingston 2f86a17984 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 6170921d45 Remove padding on top nav bar so that things are properly centered 2020-10-07 12:00:15 +01:00
mike12345567 1f8f0a0444 Sanitising the paths to the couchDB data directories. 2020-10-07 11:42:28 +01:00
Andrew Kingston 4220da27ef Fix create automation modal 2020-10-07 11:38:05 +01:00
Andrew Kingston 51f67ae99b Change live animation color from purple to black 2020-10-07 11:37:55 +01:00
Andrew Kingston 6c3aeac69a Fix table cypress tests 2020-10-07 11:23:47 +01:00
Andrew Kingston aa96388e0b Fix cypress automation tests 2020-10-07 11:18:46 +01:00
Andrew Kingston 782fc8dd54 Fix layout by removing extra columns from grid layout css 2020-10-07 11:17:01 +01:00
Andrew Kingston b61ee51ff0 Remove duplicate select element 2020-10-07 11:16:36 +01:00
Andrew Kingston b592744805 Update styles of data import to match BBUI components 2020-10-07 11:16:06 +01:00
mike12345567 1d99cc654a Adding a regex to allow certain paths with : on windows. 2020-10-07 11:04:36 +01:00
Andrew Kingston fd02f361f1 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 10:45:26 +01:00
mike12345567 a6e409a062 Quick change after diffing and looking through everything. 2020-10-07 09:58:32 +01:00
kevmodrome 8ad6d2f886
fixes editable cell bug 2020-10-07 10:06:23 +02:00
mike12345567 691ea16998 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 8413e75431 removed .orig files 2020-10-06 21:45:12 +01:00
Michael Shanks d9e53143d8 merge conflicts - from master 2020-10-06 21:43:54 +01:00
Michael Shanks bbff4db649 a few changes from code review 2020-10-06 21:37:10 +01:00
Martin McKeaveney e282480888 v0.1.25 2020-10-06 21:23:02 +01:00
Martin McKeaveney 723f322232 updating replication stream dependency 2020-10-06 21:10:49 +01:00
Martin McKeaveney 368f9934d5 v0.1.24 2020-10-06 20:35:11 +01:00
Martin McKeaveney 7fe2a066e7
Merge pull request #664 from Budibase/data-import
Data import
2020-10-06 20:24:34 +01:00
Martin McKeaveney 8ce69efa7e fixing test 2020-10-06 20:18:05 +01:00
mike12345567 fc2e2a8804 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 c80f9e9da2 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-06 18:03:43 +01:00
Andrew Kingston f83f2b707b Add support for displaying linked record counts in List and RecordDetail 2020-10-06 18:01:23 +01:00
Andrew Kingston c10f5112d4 Add linked records to dataforms and use BBUI components and pretty errors 2020-10-06 16:46:23 +01:00
Andrew Kingston 37f3d21a00 Remove console log statement 2020-10-06 16:40:23 +01:00
Andrew Kingston e91b62ef2e Use real schema for datatable rather than first row's keys 2020-10-06 16:39:24 +01:00
Andrew Kingston 11c4f237d3 Add default file prop to AttachmentList to prevent crashing when no files exist 2020-10-06 16:22:11 +01:00
Andrew Kingston 21796d9f98 Add support for displaying linked records in DataTable 2020-10-06 16:05:52 +01:00
Andrew Kingston fd4a7d95bc 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 d8fd0dd2cb Bump BBUI version 2020-10-06 16:03:49 +01:00
Andrew Kingston afbb90297b Delete old multiselect component 2020-10-06 16:03:17 +01:00
Andrew Kingston 9faed3fb5f Move multiselect to BBUI 2020-10-06 16:02:48 +01:00
Michael Shanks 0b6d0f2b19 missing dependency 2020-10-05 21:21:00 +01:00
Michael Shanks ca978b70c8 Merge branch 'master' into fixes 2020-10-05 21:17:01 +01:00
Michael Shanks bf6ba34f20 broken test 2020-10-05 21:15:10 +01:00
Michael Shanks f3c941a023 broken tests 2020-10-05 20:58:07 +01:00
Martin McKeaveney c9cfa2c5f9 cleaner parsing 2020-10-05 19:21:51 +01:00
mike12345567 f3c4144072 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 daec40005a 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 d5caeb81f6 Metrics - event props not populating correctly 2020-10-05 17:28:44 +01:00
Michael Shanks 40e6d4c844 Coerse record fields, to be a bit more tolerant of data input 2020-10-05 17:28:23 +01:00
Martin McKeaveney d8787a5d48 styling updates after review 2020-10-05 15:26:31 +01:00
Martin McKeaveney 6f28374785 merge 2020-10-05 15:08:53 +01:00
Martin McKeaveney e1eb4f04f3 tidy up 2020-10-05 14:43:34 +01:00
Martin McKeaveney f89aa4b403 adding nice loading states 2020-10-05 14:07:39 +01:00
Andrew Kingston 69c079d996 Fix null referencce in ModelViewSelect 2020-10-05 14:02:33 +01:00