Commit Graph

2684 Commits

Author SHA1 Message Date
Michael Shanks 0735eaa523 stop coercing values on the server - do on client instead 2020-09-11 21:24:52 +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
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 6fc72330dc custom flatpickr styling, tidy up 2020-09-09 13:44:36 +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
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 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 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
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
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
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
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
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
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
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
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
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
Martin McKeaveney dd0b66be69 lint 2020-06-25 22:43:10 +01:00
Martin McKeaveney 5b1b6382c6 tidy up 2020-06-25 22:35:52 +01:00
Martin McKeaveney 28b951e993 data model rewrite 2020-06-25 22:34:38 +01:00
Martin McKeaveney a7cd637087 linked records matched up by name 2020-06-25 20:35:03 +01:00
Martin McKeaveney 28c5756047 record keys as names 2020-06-25 20:04:58 +01:00
Martin McKeaveney 52358e93ad test fix 2020-06-24 17:26:14 +01:00
Martin McKeaveney 35a1b1c03e update when linked field added 2020-06-24 16:56:13 +01:00
Martin McKeaveney db16af3937 fix test 2020-06-24 16:32:16 +01:00
Martin McKeaveney e1b88e6620 enable renaming of records by using IDs 2020-06-23 23:26:54 +01:00
Martin McKeaveney 83da838fcd lint 2020-06-23 16:20:06 +01:00
Martin McKeaveney eca7b69949 merge 2020-06-22 22:39:41 +01:00
Martin McKeaveney 430ca37826 bidirectional linked records 2020-06-22 21:30:23 +01:00
Michael Shanks c9b35508d9 #363 bugfix: page not built until prop changed 2020-06-22 21:16:51 +01:00
Michael Shanks 31f8d3bee2 codereview: looksLikeAppId as variable 2020-06-19 17:21:24 +01:00
Michael Shanks 4ba1329983 instance Id is gone from API module 2020-06-19 17:19:30 +01:00
Michael Shanks eb2b6ec56f removed x-user-agent 2020-06-19 16:59:46 +01:00
Michael Shanks 2436ea525d fixing broken tests 2020-06-18 20:41:37 +01:00
Michael Shanks bf14aa5ccb instanceid removal 2020-06-18 16:59:31 +01:00
Martin McKeaveney 78ce077846 saving of models and fields 2020-06-16 20:29:18 +01:00
Martin McKeaveney af9038f64f structuring new backend UI 2020-06-15 16:41:31 +01:00
Michael Shanks f0ee729376 code review - static controller - test app id with regex 2020-06-14 20:36:51 +01:00
Michael Shanks 5b59a110a6 lint fix 2020-06-12 21:11:39 +01:00
Michael Shanks f956e141b4 fixing tests - not using new auth endpoint 2020-06-12 21:08:00 +01:00
Michael Shanks 19d132c6c2 removal of appRoot - appId comes in cookie 2020-06-12 20:42:55 +01:00
Martin McKeaveney 4ed4866bca update _rev for deleted test model 2020-06-11 18:11:56 +01:00
Martin McKeaveney 2b312d4c1f lint 2020-06-11 17:28:19 +01:00
Martin McKeaveney 3900b216e9 remove other link fields when you delete a model 2020-06-11 17:24:09 +01:00
Martin McKeaveney a49747074a Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-06-11 16:22:28 +01:00
Martin McKeaveney f8cfc8e7d7 adding record models for brevity 2020-06-11 14:35:45 +01:00
Michael Shanks 108fa4ca13 changed "master" databse to "clientAppLookup" 2020-06-11 10:12:01 +01:00
Michael Shanks 735d9c4475 lint fix 2020-06-10 21:41:55 +01:00
Michael Shanks 71016f5a1d application supports multiple concurrent client DB 2020-06-10 21:39:30 +01:00
Martin McKeaveney 6452b68a7c fix budibase apps dir 2020-06-03 21:23:56 +01:00
Martin McKeaveney f5bcaa4ba0 fixing tests 2020-06-03 20:54:17 +01:00
Martin McKeaveney 18ad679d21 lint 2020-06-03 20:44:35 +01:00
Martin McKeaveney 2cd309bfdc fix some other auth bugs 2020-06-03 20:35:30 +01:00
Martin McKeaveney 227df203f9 fixing header in tests 2020-06-03 19:39:53 +01:00
Michael Shanks 70c24b5b1f test fixes... test didnt have user-agent 2020-06-03 17:21:49 +01:00
Martin McKeaveney bb9ad9c1c6 Merge pull request #314 from Budibase/fix-dataform
fix dataform
2020-06-03 17:03:51 +01:00
Martin McKeaveney 2f6e0f14ae fix dataform 2020-06-03 16:10:03 +01:00
Michael Shanks bae6a37b5d autu populated login page 2020-06-03 15:43:37 +01:00
Michael Shanks 82d0f1ea86 bugfix: links not respecting appRootPath 2020-06-03 12:30:32 +01:00
Martin McKeaveney 527a25c794 model bugfixes 2020-06-02 11:40:33 +01:00
Martin McKeaveney 3a983cea8a tidy up, styling 2020-06-02 11:08:53 +01:00
Martin McKeaveney a9e77836cb tests 2020-06-01 22:25:44 +01:00
Martin McKeaveney a6602ba1fc lint + format 2020-06-01 21:31:55 +01:00
Martin McKeaveney b372f6b03d tidy up 2020-06-01 21:26:32 +01:00
Martin McKeaveney fe0b95d627 merge 2020-06-01 16:27:27 +01:00
Martin McKeaveney 176906e766 server side workflows 2020-06-01 16:22:13 +01:00
Martin McKeaveney cb496d1819 workflow DAO tests 2020-06-01 11:52:15 +01:00
Martin McKeaveney 15ba1a5a12 move workflow to array data structure 2020-06-01 10:41:28 +01:00
Martin McKeaveney 5c1aa00fd0 server side event emitter 2020-05-31 17:12:52 +01:00
Martin McKeaveney 9a898a8d74 orchestrator refactor, user creation block 2020-05-30 13:41:46 +01:00
Martin McKeaveney 6f0a84dd38 adding workflow blocks, parameter parsing, templating 2020-05-28 20:20:03 +01:00
Michael Shanks 53ff560e42 server side record validation 2020-05-28 15:39:29 +01:00
Michael Shanks 2abda35443 Merge branch 'workflow-v1' of github.com:Budibase/budibase into workflow-v1 2020-05-28 09:17:49 +01:00
Michael Shanks 5894feaaff removed auth on execute workflow action 2020-05-28 09:17:14 +01:00
Martin McKeaveney ad637348c9 workflow UI, orhestrator for executing workflows 2020-05-27 21:51:32 +01:00
Michael Shanks b3cd17b9a3 bugfix: wrong permissions on worfklow endpoint 2020-05-27 19:18:39 +01:00
Michael Shanks 473468b481 few changes from code review 2020-05-27 17:37:07 +01:00
Michael Shanks 348eaab73c fixing tests after dodgy merge 2020-05-27 17:29:26 +01:00
Michael Shanks fe79f294b4 access levels 2020-05-27 17:23:01 +01:00
kevmodrome 2325291b3e fix another lint error 2020-05-27 13:53:44 +02:00
kevmodrome d237dd9271 fix lint erorrs 2020-05-27 13:51:19 +02:00
Michael Shanks 075b264d21 bugfix: create app not creating dirs 2020-05-27 10:54:34 +01:00
Martin McKeaveney e9fab13750 workflow orchestrator 2020-05-26 21:34:01 +01:00
Michael Shanks 1127e1ef0f server - create app endpoint creates files 2020-05-26 16:29:16 +01:00
Martin McKeaveney 0ea48245cf groundwork for pubsub 2020-05-24 22:54:08 +01:00
Martin McKeaveney cacee947bf workflow charts 2020-05-22 16:32:23 +01:00
Michael Shanks e9e6cf1dfd merge conflicts 2020-05-21 14:43:49 +01:00
Michael Shanks aa66598e4c auth, first version, needing tested 2020-05-21 14:31:23 +01:00
Martin McKeaveney 2965c2338d workflow CRUD complete 2020-05-20 17:02:46 +01:00
Michael Shanks e3069c6e57 Merge branch 'master' of github.com:Budibase/budibase 2020-05-18 16:34:30 +01:00
Michael Shanks a2f613d855 lint fix 2020-05-18 16:33:41 +01:00
Michael Shanks 068f54be6e Merge branch 'master' of github.com:Budibase/budibase 2020-05-18 16:23:22 +01:00
Michael Shanks c49710c3ff id generation in utilities module 2020-05-18 16:22:09 +01:00
Martin McKeaveney 7f0f8f2d9f lint 2020-05-18 15:46:38 +01:00
Martin McKeaveney 56c492c66d pino logging, electron fixes, running integration tests in band 2020-05-18 15:33:29 +01:00
Martin McKeaveney e21c40e6d0 brotli lint 2020-05-18 14:58:39 +01:00
Martin McKeaveney 0d0d81b5c5 disable brotli 2020-05-18 14:36:42 +01:00
Martin McKeaveney 5cd218da02 fixing CI 2020-05-18 11:18:31 +01:00
Martin McKeaveney 3c9af5336e formatting 2020-05-18 11:01:17 +01:00
Martin McKeaveney d6b3f9c219 test and couchDB init code 2020-05-18 10:55:35 +01:00
Michael Shanks dffc6df5ea merge conflicts.. 2020-05-18 06:43:05 +01:00
Michael Shanks 1dc32a05e3 removing clientId from frontend, fixing invalid database name 2020-05-18 06:40:29 +01:00
Martin McKeaveney 014115c573 Making budibase downloadable, configuring CI to build executable bina… (#233)
Making budibase downloadable, configuring CI to build executable bina…
2020-05-14 21:18:36 +01:00
Michael Shanks 97db4f1765 server tests in-memory and passing 2020-05-14 15:12:30 +01:00
Martin McKeaveney 4c62f8181e Merge branch 'master' into fix-dev-setup 2020-05-11 16:40:39 +01:00
Michael Shanks 1a1d545178 bugfix - could not create more than one app 2020-05-11 16:14:31 +01:00
Martin McKeaveney 3149b38586 fixed dev setup 2020-05-11 16:01:02 +01:00
Michael Shanks 7d6046d021 allow bb home folder to bem anywhere 2020-05-11 15:42:42 +01:00
Martin McKeaveney 16a6680c2e add initialiseClientDB 2020-05-11 10:28:06 +01:00
Martin McKeaveney db69673a9d data components 2020-05-07 22:15:09 +01:00
Martin McKeaveney a28322f538 further simplification of server code 2020-05-07 14:04:32 +01:00
Martin McKeaveney 87ad6647df further tidy up and removal 2020-05-07 13:52:24 +01:00