Commit Graph

388 Commits

Author SHA1 Message Date
Martin McKeaveney 293e5b7859 delete local file upload when file deleted 2020-09-17 15:08:28 +01:00
Andrew Kingston d31f4f5c34 Update save record block definition 2020-09-17 14:04:13 +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
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
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 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 e97ec7beaf Dropzone styling 2020-09-16 12:18:47 +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
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
Andrew Kingston ba125b5987 Update workflow block definitions 2020-09-15 14:45:37 +01:00
mike12345567 1382c3bb12 This is a breaking change, it updates the block definitions to work with the new structure of inputs and outputs. 2020-09-15 14:27:23 +01:00
Michael Drury 1930aa2296 Merge pull request #607 from Budibase/server-workflows
Server workflows
2020-09-15 09:09:55 +01:00
Martin McKeaveney 784fac5018 lint 2020-09-14 15:41:20 +01:00
Martin McKeaveney 37f539c5a9 update view schema when table updated 2020-09-14 15:40:45 +01:00
mike12345567 09565e41d0 Adding new API endpoint which provides all definitions in one. 2020-09-14 15:34:09 +01:00
Andrew Kingston 609b039d4c Revert formatting to 80 print width 2020-09-14 14:35:03 +01:00
mike12345567 b6209d044a Updating some test cases which were failing silently and changing how environment want handled. 2020-09-14 14:32:20 +01:00
Andrew Kingston 590e7d810d Merge branch 'server-workflows' of github.com:Budibase/budibase into server-workflows 2020-09-14 11:53:19 +01:00
mike12345567 f213f567ef Adding delete record for when we build in contextual awareness. 2020-09-14 11:47:52 +01:00
Andrew Kingston 9df0dcb9ac Remove params from delete record workflow action as it is only a placeholder 2020-09-14 11:46:50 +01:00
Andrew Kingston 4636d5e376 Merge branch 'server-workflows' of github.com:Budibase/budibase into server-workflows 2020-09-14 10:34:36 +01:00
mike12345567 53e4531c5b Making worker thread decision based on environment variable (BUDIBASE_ENVIRONMENT) and some general tidy up, as well as fixing delete event emitter 2020-09-14 10:30:35 +01:00
Andrew Kingston d166d8072b Merge in master 2020-09-14 10:16:09 +01:00
Andrew Kingston 71388f47a4 Fix external workflow triggers not passing though instance ID 2020-09-14 09:12:17 +01:00
Andrew Kingston 56bbb645ad Merge branch 'server-workflows' of github.com:Budibase/budibase into server-workflows 2020-09-11 21:33:05 +01:00
Michael Shanks 0735eaa523 stop coercing values on the server - do on client instead 2020-09-11 21:24:52 +01:00
mike12345567 fc38871b66 Adding threading for when not running against PouchDB. 2020-09-11 18:47:22 +01:00
Martin McKeaveney 4d411dec62 attachments 2020-09-11 15:09:56 +01:00
Andrew Kingston 643f58125e Fix workflow filter logic block tagline 2020-09-11 14:46:22 +01:00
Michael Shanks 3b21b15259 fixing some broken tests 2020-09-11 09:29:23 +01:00
Michael Shanks 04f3ed5ec3 Merge branch 'master' into event-panel + binding fixes 2020-09-10 21:55:04 +01:00
Michael Shanks d3225cb51f events hooked up and working 2020-09-10 21:11:05 +01:00
mike12345567 b886c8f342 Adding joi validation to the workflow update and create to make sure structure is adhered to, this is built through a curried middleware, to validate on headers, body etc add multiple different validator middlewares to your endpoint. 2020-09-10 17:46:34 +01:00
Andrew Kingston 3bf0358716 Fix create user workflow action 2020-09-10 16:46:58 +01:00
Andrew Kingston 9077e89192 Fix record created trigger workflow block description 2020-09-10 15:29:35 +01:00
Andrew Kingston 52aaac8e44 Fix async loading of steps 2020-09-10 15:29:01 +01:00
mike12345567 3a591c13d0 Major update to server workflow backend, implementing a very basic queue API in between triggers and orchestration and then moving everything around to keep it generally more concise, creating a directory to handle all workflow related matters as they do not pertain to the API (running of workflows is a completely separate operation). 2020-09-10 15:00:21 +01:00
mike12345567 834a62934c Merge branch 'server-workflows' of https://github.com/Budibase/budibase into server-workflows 2020-09-10 11:44:59 +01:00
mike12345567 bd4afe891a Merge branch 'master' of https://github.com/Budibase/budibase into server-workflows 2020-09-10 11:44:33 +01:00
Andrew Kingston 766d8ac8fc Add all workflow blocks to server and remove concept of workflow environment 2020-09-10 11:29:35 +01:00
mike12345567 08aa221d04 Implementing the block definitions as list APIs for the workflow, meaning client has to retrieve structure from API instead of inherently knowing it. 2020-09-10 11:06:13 +01:00
Michael Shanks d63e03b852 added PATCH record route 2020-09-10 09:36:14 +01:00
Martin McKeaveney b177a36f89 lint, using bbui component 2020-09-09 16:27:46 +01:00
Martin McKeaveney 9c62d0073b tidy up 2020-09-09 13:45:47 +01:00
Martin McKeaveney 6fc72330dc custom flatpickr styling, tidy up 2020-09-09 13:44:36 +01:00
Martin McKeaveney 58fc6d291c using flatpickr, rollup config for CSS in the builder 2020-09-09 12:06:04 +01:00
Martin McKeaveney 8f0656bd3d date field working with HTML5 inputs. Needs more sophisticated parsing 2020-09-08 18:03:41 +01:00
Conor Mack 1cf777f841 viewBuilder.spec fix 2020-09-04 11:01:27 +01:00
Conor Mack 93dac03eaf Cypress Test Fix - createView.spec.js 2020-09-04 10:53:13 +01:00
Conor Mack ab0860bfc9 Update jest tests - viewbuilder 2020-09-03 15:32:15 +01:00
Conor Mack 2544fdf13c Merging with master and fixing conflicts 2020-09-03 15:12:07 +01:00
Martin McKeaveney 98c66c4bab Workflow fixes (#559)
* workflow fixes

* fixes for workflow - cypress test coverage

* remove log

* adding some assertions to slow test down

* force click create user

* cypress 5, small wait for user test

* remove cypress waiting eslint rule to fix user test

* click button directly

* test clicking

* try changing access level for validity

* lint
2020-09-03 12:02:15 +01:00
cmack 8dec9b5869 Single Calculation Views When Not Grouped 2020-09-02 11:52:32 +01:00
Martin McKeaveney b03eb8ce60 cypress tests, lint, feature complete 2020-08-24 15:48:34 +01:00
Martin McKeaveney 4d262b57ab view filters operational 2020-08-24 11:46:28 +01:00
Martin McKeaveney 655d1f009a custom filtering working, needs more test coverage 2020-08-21 17:05:26 +01:00
Martin McKeaveney 28c8331103 start of view filters 2020-08-20 16:31:43 +01:00
Martin McKeaveney d547604178 Merge pull request #545 from Budibase/custom-view-backend
Custom Views
2020-08-20 14:33:48 +01:00
Martin McKeaveney 370de9ceb7 adding deploy script to upload assets to s3 after release 2020-08-20 11:09:54 +01:00
Martin McKeaveney d2638e0150 merge 2020-08-19 17:14:30 +01:00
Martin McKeaveney 6f71870afd fix server unit tests 2020-08-19 17:09:30 +01:00
Martin McKeaveney e57dda576b tidy up and lint 2020-08-18 17:14:26 +01:00
Martin McKeaveney 33ec0cfa75 group by complete 2020-08-18 16:05:15 +01:00
Martin McKeaveney 0a60fd0bc6 deletion of views, statistics calculation popover, unit tests 2020-08-17 21:01:43 +01:00
Martin McKeaveney 6ad5ebbe06 began UI for custom views 2020-08-14 16:31:53 +01:00
Michael Shanks 30aed16951 remove references to material design components 2020-08-14 11:21:52 +01:00
Martin McKeaveney bf46067fe1 new view foundations 2020-08-13 15:04:19 +01:00
Martin McKeaveney 9e00550eda Cypress Tests Running in CI (#524)
* cypress test setup

* running cypress in CI

* fixing tests after first time setup wizard

* bb api key

* API Key in right place

* adding env in cypress.json

* env var in setup

* lint

* API key not working

* fill in API key form if present

* allow more time for creation

* cypress server for debug

* video recording, better debugging

* Adding debug logs

* set node env

* cypress env

* cancel irrelevant test
2020-08-05 15:18:28 +01:00
Kevin Åberg Kultalahti 8ece205082 Merge pull request #523 from Budibase/feature/create-app-modifications
Feature/create app modifications
2020-08-03 17:54:54 +02:00
Michael Shanks a39f99cf7c bugfix: create app pointing to hardcoded standard-components version 2020-08-03 15:28:45 +01:00
kevmodrome 7ef4f2b2ac signup flow now works correctly 2020-08-03 16:26:28 +02:00
Martin McKeaveney e1cfea3bc3 fix typo 2020-07-27 17:48:35 +01:00
Martin McKeaveney ea46ab56d8 lint 2020-07-27 16:12:06 +01:00
Michael Shanks bac8249132 can delete screens 2020-07-21 15:01:32 +01:00
Martin McKeaveney 1fd4004c55 Merge pull request #462 from Budibase/nodemon-issue
Nodemon issue
2020-07-21 10:01:16 +01:00
Michael Shanks 7238086333 component libraries - looking in wrong dir, in dev 2020-07-17 11:13:55 +01:00
Martin McKeaveney b9f6ecfe37 lint 2020-07-16 15:40:59 +01:00
Martin McKeaveney a257e4e620 fixing tests 2020-07-16 15:37:05 +01:00
Martin McKeaveney 6ae30e6d87 lint 2020-07-16 15:19:46 +01:00
Martin McKeaveney 3c67181881 nodemon delay + analytics fixes 2020-07-16 14:27:27 +01:00
Martin McKeaveney 26347e5ddc lint 2020-07-15 17:27:33 +01:00
Martin McKeaveney 32dd7dd245 events for web apps built and web apps deployed 2020-07-15 17:25:08 +01:00
Martin McKeaveney 85bf27c17b fixing dev path when running in electron 2020-07-15 13:42:12 +01:00
Martin McKeaveney 020ef654db lint 2020-07-14 21:10:51 +01:00
Martin McKeaveney b4e70301a0 download component libraries from NPM tarball 2020-07-14 21:07:53 +01:00
Martin McKeaveney 22005bc990 formatting and tidy up 2020-07-14 16:00:58 +01:00
Martin McKeaveney e227512448 fix path when running in electron 2020-07-14 09:10:01 +01:00
Martin McKeaveney eee2da24e1 lint 2020-07-14 08:21:22 +01:00
Martin McKeaveney a717d15386 fix mac perm issue 2020-07-14 08:13:05 +01:00
Michael Shanks 80a597e1fc fix: create app failing from unknown folder copy issues 2020-07-14 07:02:46 +01:00
Martin McKeaveney f790a51156 adding dialog import 2020-07-13 18:11:19 +01:00
Martin McKeaveney 1c6897e3f2 correct electron path for budibase apps 2020-07-13 17:44:13 +01:00
Martin McKeaveney fccfc3fd5c beta bugfixes 2020-07-10 16:17:12 +01:00
Michael Shanks 5c310c9231 lint fix 2020-07-09 15:05:56 +01:00
Michael Shanks 006c965b70 Default app template - added screens 2020-07-09 14:47:54 +01:00
Michael Shanks 237bad8bd5 Merge branch 'master' of github.com:Budibase/budibase 2020-07-09 13:12:59 +01:00
Martin McKeaveney 7222342c50 tidy up 2020-07-09 11:21:42 +01:00
Martin McKeaveney 7c5da11836 PR Comments 2020-07-08 16:31:26 +01:00
Michael Shanks 7bd31f3dcf worflow save record action broken (no ctx.user) 2020-07-08 15:12:55 +01:00
Martin McKeaveney 1a33ab2e18 merge 2020-07-07 21:32:32 +01:00
Martin McKeaveney c953fa679a lint 2020-07-07 21:29:20 +01:00
Michael Shanks cf82bf9e1c Merge pull request #420 from mjashanks/bugfixes
Bugfixes from #387
2020-07-07 21:09:36 +01:00
Martin McKeaveney 27975057c7 budibase complete deployment 2020-07-07 17:51:41 +01:00
kevmodrome 246d4beb80 remove som console.logs 2020-07-07 14:47:27 +02:00
kevmodrome 6ec6c4688a adds delete functionality to application 2020-07-07 14:44:05 +02:00
Martin McKeaveney f7d65deb5e extra index template for production 2020-07-06 19:43:40 +01:00
Michael Shanks 8dc4533c98 Merge branch 'master' into bugfixes 2020-07-06 14:51:25 +01:00
Kevin Åberg Kultalahti 2af46544c4 Merge pull request #413 from Budibase/features/settings-modal-api-keys-tab
Features/settings modal api keys tab
2020-07-06 14:51:30 +02:00
Michael Shanks cc1659f807 Login: allow edit of title & button text 2020-07-06 11:30:36 +01:00
kevmodrome c18bcc5499 lint fixes 2020-07-06 09:07:29 +02:00
kevmodrome 4112968942 use utility to get homedir instead of manually doing it 2020-07-06 09:06:59 +02:00
Michael Shanks 1d85ce5acb more understandable screenslot & default header on master screen 2020-07-03 21:48:34 +01:00
Michael Shanks 69b05d6f93 #416 auto init of budibase when electron starts 2020-07-03 13:03:50 +01:00
Martin McKeaveney 5ecc8d4a54 deployment E2E 2020-07-02 23:22:20 +01:00
Martin McKeaveney 993eb71019 Merge branch 'master' of github.com:Budibase/budibase into deployment 2020-07-02 20:52:50 +01:00
kevmodrome 0ae8c425ee fetching keys now done correctly 2020-07-02 21:25:25 +02:00
kevmodrome 160c3ef7c4 update process.env with new value 2020-07-02 21:01:34 +02:00
kevmodrome e3e5caaf97 adds getEnvironmentVariables function 2020-07-02 20:31:26 +02:00
kevmodrome a5d33854da dummy methods wired up to return values to the front-end 2020-07-02 18:38:00 +02:00
kevmodrome d8e6bd0ab9 sets up dummy back-end 2020-07-02 17:53:09 +02:00
Kevin Åberg Kultalahti cd0a58f89f Merge pull request #399 from Budibase/features/edit-application-info
Features/edit application info
2020-07-02 12:14:31 +02:00
kevmodrome 3c1a3cc759 remove unneeded appPackage route 2020-07-02 11:30:36 +02:00
Martin McKeaveney 9b2eca58c4 s3 awareness, authentication through API keys 2020-07-01 21:57:35 +01:00
Martin McKeaveney d176aa1d70 Merge branch 'master' of github.com:Budibase/budibase into deployment 2020-07-01 21:42:47 +01:00
Michael Shanks 46c8c558a0 apply border-box globally 2020-07-01 11:28:41 +01:00
Martin McKeaveney 975d715bd7 upload assets to s3 2020-06-29 19:15:43 +01:00
kevmodrome 4d4a1bc5b3 lint fix 2020-06-29 17:49:16 +02:00
kevmodrome 94f257e160 remove log 2020-06-29 17:21:22 +02:00
kevmodrome f39f913b4b adds functionality to update name and description of app 2020-06-29 17:18:43 +02:00
Kevin Åberg Kultalahti 2f255c70a4 Merge pull request #369 from Budibase/feature/settings-modal
Adds a Settings modal for the BB Apps
2020-06-29 16:01:20 +02:00
kevmodrome 5530e8f231 lint fix 2020-06-29 15:56:41 +02:00
kevmodrome eec2c4de7c correct put call to not remove password 😅 2020-06-29 15:55:12 +02:00
kevmodrome ba3046a1ca remove console log 2020-06-29 13:24:05 +02:00
kevmodrome d284dd0b02 fix wrong stuff coming back after updating user 2020-06-29 13:14:15 +02:00
Martin McKeaveney 7ed017209b cleaned up deploy code 2020-06-29 10:27:38 +01:00
Michael Shanks bbd030db71 bugfix: add inter and roboto mono fonts 2020-06-29 10:16:19 +01:00
kevmodrome 96f0de3366 lint fixes 2020-06-29 10:12:13 +02:00
kevmodrome 0ebb59dfa4 Merge remote-tracking branch 'origin' into feature/settings-modal 2020-06-29 10:08:23 +02:00
Michael Shanks 4677e76f79 merge from master 2020-06-26 15:41:42 +01:00
Martin McKeaveney 5b7e310ff6 Merge pull request #391 from Budibase/data-model-redesign
Data model redesign
2020-06-26 10:56:07 +01:00
Conor_Mack 4be1cd07b3 Merge pull request #392 from Budibase/bugfix/instance-name-login-template
Add _instanceName to login template
2020-06-26 10:35:42 +01:00
Conor_Mack 818ab3b4fc Add _instanceName to login template 2020-06-26 10:31:03 +01:00
kevmodrome 1440ed9fdd adds update functionality to users 2020-06-26 11:05:09 +02:00
Martin McKeaveney a597232814 adding renaming test 2020-06-26 09:55:15 +01:00