Commit Graph

2388 Commits

Author SHA1 Message Date
mike12345567 84d6633636 Fixing an issue where any workflow would be triggered by the same type of event - now matching models. 2020-09-18 13:51:56 +01:00
Martin McKeaveney e028311813 tidy up 2020-09-18 12:43:45 +01:00
Martin McKeaveney e717d35f9e removing delete functionality - not necessary 2020-09-18 12:41:39 +01:00
Andrew Kingston bce557f727 Improve workflow block tagline rendering and support pretty printing enum bindings 2020-09-18 12:01:57 +01:00
Martin McKeaveney a307e4d8b4 remove magic numbers 2020-09-18 11:04:09 +01:00
Martin McKeaveney af9b8ac9bd return processed file sizes 2020-09-18 11:01:39 +01:00
Martin McKeaveney 9be2b7d691 fix transition dropdown bug 2020-09-17 22:02:30 +01:00
Andrew Kingston 7458b7757e Add component for rendering workflow mustache taglines 2020-09-17 17:50:54 +01:00
Andrew Kingston fdf8d2cbab Fix filter workflow block tagline 2020-09-17 17:49:57 +01:00
Martin McKeaveney e609414f57 merge with master 2020-09-17 16:40:09 +01:00
Martin McKeaveney 715216e412 more lint 2020-09-17 16:38:33 +01:00
Martin McKeaveney f48736ffe9 lint 2020-09-17 16:36:39 +01:00
mike12345567 05f3666257 Fixing an issue with deletion action. 2020-09-17 16:28:48 +01:00
mike12345567 cc5994539d Some fixes after playing around with the new Builder UI. 2020-09-17 16:16:05 +01:00
Andrew Kingston 210080c834 Fix delay workflow block setup 2020-09-17 16:00:55 +01:00
Andrew Kingston 659ae0a641 Replace string.replaceAll due to bad support 2020-09-17 15:46:59 +01:00
Andrew Kingston 9627837e40 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-17 15:15:54 +01:00
mike12345567 f0ae4ad7cc Making the trigger endpoint detect if the trigger should have a model input and faking any properties that don't exist if required - this behaviour overridden by inputs from external client. 2020-09-17 15:14:08 +01:00
Andrew Kingston 0c45879878 Fix binding of nested fields in workflow save record action 2020-09-17 15:11:28 +01:00
Andrew Kingston 771fd0234f Fix some small svelte warnings 2020-09-17 15:09:06 +01:00
Andrew Kingston deeb671fd4 Rename user presentable strings from workflow blocks to steps 2020-09-17 15:08:37 +01:00
Martin McKeaveney 293e5b7859 delete local file upload when file deleted 2020-09-17 15:08:28 +01:00
Andrew Kingston 8570af1c22 Rename user presentable strings from workflow blocks to steps 2020-09-17 15:08:22 +01:00
Andrew Kingston f341b5f0a9 Add labels to workflow blocks 2020-09-17 15:07:32 +01:00
Andrew Kingston 1cba3f2f8e Tidy up by using optional chaining 2020-09-17 14:19:14 +01:00
Andrew Kingston 1e099b9b5a Use user readable enums in workflow block setup fields 2020-09-17 14:18:22 +01:00
Andrew Kingston 57a8dcf595 Add data binding to nested fields within workflow block setup 2020-09-17 14:05:53 +01:00
Andrew Kingston 48f13af109 Block deletion of workflow trigger unless it's the only step left 2020-09-17 14:04:45 +01:00
Andrew Kingston d31f4f5c34 Update save record block definition 2020-09-17 14:04:13 +01:00
Andrew Kingston 0b424c1f1f Fix nullish values in RecordSelector 2020-09-17 13:44:18 +01:00
Andrew Kingston 3e3a978e74 Add data binding to workflow block setup 2020-09-17 13:43:52 +01:00
mike12345567 99b1bbebbb Updating testcase to now trigger a proper workflow and check that it operates as expected. 2020-09-17 13:36:19 +01:00
Martin McKeaveney 4985949786 allow deletion of images 2020-09-17 12:45:28 +01:00
mike12345567 2911a7ba35 Changing how default inputs for workflow definitions are handled and providing pretty print options for enums. 2020-09-17 12:44:59 +01:00
mike12345567 31939e3dc9 Update to improve test cases and get JOI to work as expected. 2020-09-16 19:25:52 +01:00
Andrew Kingston 5997550fbb Remove full stop in email workflow block description 2020-09-16 15:39:19 +01:00
Andrew Kingston bcd27a2026 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-16 15:04:58 +01:00
mike12345567 53b317aad1 Fixing a circular dependency that meant a utilities enumerations could not be used until full system initialisation, exporting enums earlier and commenting. 2020-09-16 14:58:30 +01:00
Andrew Kingston c44ba8b995 Use bbui selects for all selects in workflow steps 2020-09-16 14:38:18 +01:00
mike12345567 1610f483b0 Updating file structure so that each built in step has its own file containing the definition and the function of it, with the intention of keeping definitions together as they will be handled in the async actions. 2020-09-16 14:00:04 +01:00
Andrew Kingston 7986016183 Update builder to support new block definitions with JSON schema 2020-09-16 13:55:28 +01:00
Andrew Kingston 2337e1bac3 Make filter condition human readable since they're just strings 2020-09-16 13:54:56 +01:00
Andrew Kingston a8be0682bc Fixing definition for filter workflow block 2020-09-16 13:54:27 +01:00
Martin McKeaveney d06068dd9f more design updates on attachment picker 2020-09-16 13:29:18 +01:00
Martin McKeaveney e97ec7beaf Dropzone styling 2020-09-16 12:18:47 +01:00
Andrew Kingston 847224f3b7 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-16 11:40:09 +01:00
mike12345567 a08ef045bc Updating definitions to remove the use of the fat model object in workflows and make sure the record structure is common where-ever it is used (as an input or as a trigger output). 2020-09-16 11:20:00 +01:00
Andrew Kingston 0ade1ef558 Bump svelte, rollup and rollup-plugin-terser dependencies to support optional chaining and nullish coalescing 2020-09-16 09:13:13 +01:00
Martin McKeaveney ad79d422e0 file attachments and processing working, basic design for dropzone 2020-09-15 16:22:13 +01:00
mike12345567 43afb9af1b Updating block definitions to use pure JSON schema so that it can be used for easy validation. 2020-09-15 15:52:38 +01:00