Commit Graph

762 Commits

Author SHA1 Message Date
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
Joe a0a2e7a734 Merge branch 'master' of https://github.com/Budibase/budibase into welcome-screen-ui-fix 2020-07-02 11:30:10 +01: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
Joe 72700bc4ca Welcome screen fix
Page scroll fix
Card responsiveness fix
Page spacing improved
Button color changed
2020-07-02 11:02:31 +01: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
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
Michael Shanks 6592157527 bugfix: master screen not styleable 2020-06-25 17:46:43 +01:00
Joe 7c98a466e4 General UI fixing previous styling issues 2020-06-25 15:49:56 +01:00
Michael Shanks 4836092c20 yarn lock 2020-06-25 10:41:07 +01:00
Michael Shanks ef94892a1b merge from master 2020-06-24 18:05:49 +01:00
Martin McKeaveney ba74c0981e Merge pull request #367 from Budibase/backend-ui-update
Backend ui update
2020-06-24 17:33:22 +01:00
Martin McKeaveney 52358e93ad test fix 2020-06-24 17:26:14 +01:00
Michael Shanks 7f1f702cc4 Merge branch 'master' of github.com:Budibase/budibase into bugfixes 2020-06-24 17:19:29 +01:00
Conor_Mack 7f543bdf26 Merge pull request #360 from Budibase/builder/consolidating-missing-code
Instance name fix and consolidation of code
2020-06-24 17:11:08 +01:00
Martin McKeaveney 835b21e387 merge 2020-06-24 17:02:38 +01:00
Martin McKeaveney 35a1b1c03e update when linked field added 2020-06-24 16:56:13 +01:00
Michael Shanks 59afd2c572 Merge branch 'master' of github.com:Budibase/budibase 2020-06-24 16:42:41 +01:00
Martin McKeaveney db16af3937 fix test 2020-06-24 16:32:16 +01:00
Joe 0cf410b253 Merge branch 'master' into Css-update-to-reflect-BBUI 2020-06-24 15:35:40 +01:00
Michael Shanks 1c958c226a screenslot added to Private>Master by default 2020-06-24 11:05:09 +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
Conor_Mack 50ecfd1e25 Merge branch 'master' into builder/consolidating-missing-code 2020-06-23 11:21:31 +01:00
Joe 28fadac7f7 CSS update UI refresh
Font changed to Inter
Colors reflect BBUI
Panel background removed
2020-06-23 08:19:16 +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 bf89f3c403 removed ADMIN_SECRET env var (no longer needed) 2020-06-21 20:54:37 +01:00
Michael Shanks e41e2c3fad Merge branch 'master' into instanceid-url-removal 2020-06-19 17:22:29 +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
Martin McKeaveney cada9bdb85 typo 2020-06-18 17:49:34 +01:00
Michael Shanks bf14aa5ccb instanceid removal 2020-06-18 16:59:31 +01:00
Martin McKeaveney cc1cab0e57 Merge branch 'master' of github.com:Budibase/budibase into backend-ui-update 2020-06-18 09:16:43 +01:00
Martin McKeaveney 78ce077846 saving of models and fields 2020-06-16 20:29:18 +01:00
Conor_Mack b95fdd458f Merge branch 'master' into builder/consolidating-missing-code 2020-06-16 12:17:32 +01:00
Martin McKeaveney 34b27b83bb lint 2020-06-15 17:08:59 +01:00
Martin McKeaveney 594b7c2cce budibase dockerfile 2020-06-15 17:06:54 +01:00
Martin McKeaveney af9038f64f structuring new backend UI 2020-06-15 16:41:31 +01:00
Conor_Mack 3bcd93d490 Lint fixes 2020-06-15 16:02:11 +01:00
Conor_Mack c1e9133424 Instance naming fix for components and screens 2020-06-15 16:01:24 +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 d53b0655af Merge pull request #327 from Budibase/fix-email
fix backend workflow
2020-06-04 14:08:11 +01:00
Martin McKeaveney b719880ffc fix backend workflow 2020-06-04 13:55:52 +01:00
Joe d09bbc1551 Welcome screen ui update
UI was not very responsive before and the illustration looked basic.

Image added, button moved, card ui updated with more margin and better sizing,
2020-06-04 11:56:01 +01:00
Michael Shanks 3471afe587 bugfix: data components hitting correct url again 2020-06-03 22:12:09 +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
Martin McKeaveney 94731e017a use custom user agent header 2020-06-03 19:35:04 +01:00
Michael Shanks 70c24b5b1f test fixes... test didnt have user-agent 2020-06-03 17:21:49 +01:00
Michael Shanks a483004e1d Merge branch 'master' of github.com:Budibase/budibase 2020-06-03 17:05:53 +01:00
Michael Shanks 6c2b72dd27 logic to not use builder:token for apps running in dev 2020-06-03 17:05:36 +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 3e9a3ec678 Merge branch 'master' of github.com:Budibase/budibase 2020-06-03 15:43:53 +01:00
Michael Shanks bae6a37b5d autu populated login page 2020-06-03 15:43:37 +01:00
Kevin Åberg Kultalahti f3866a5e0d Merge pull request #309 from Budibase/bugfix/navbar-settings
Bugfix/navbar settings
2020-06-03 14:59:35 +02:00
kevmodrome 4f291e2f73 adds another color to Nav Bar and also adds roboto as default font in created apps 2020-06-03 14:52:18 +02:00
Martin McKeaveney 7818a2ec57 Merge pull request #307 from Budibase/electron-fix
electron path fix
2020-06-03 12:42:44 +01:00
Michael Shanks bc5240e117 Merge branch 'master' of github.com:Budibase/budibase 2020-06-03 12:30:54 +01:00
Michael Shanks 82d0f1ea86 bugfix: links not respecting appRootPath 2020-06-03 12:30:32 +01:00
Joe 6a3a7c5e87 Removed unused images and added new BB logo 2020-06-03 12:21:26 +01:00
Martin McKeaveney 9b6ea6a5eb electron path fix 2020-06-03 12:05:40 +01:00
Michael Shanks f2d696ce82 bugfix: could not set style on screen root 2020-06-02 16:18:25 +01:00
Michael Shanks 355b1fa702 Merge branch 'master' of github.com:Budibase/budibase 2020-06-02 11:54:46 +01:00
Martin McKeaveney 527a25c794 model bugfixes 2020-06-02 11:40:33 +01:00
Michael Shanks f85bcf0625 yarn lock 2020-06-02 11:26:28 +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
Michael Shanks 432d528aa6 Merge pull request #266 from mjashanks/model-validation
Model validation
2020-06-01 10:16:33 +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 e648dc80e8 refactor client library 2020-05-29 14:06:36 +01:00
Michael Shanks cd9f539a09 configurable logLevel - defaults to error 2020-05-29 14:06:25 +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 6829f9ab06 Merge branch 'master' of github.com:Budibase/budibase into workflow-v1 2020-05-27 10:13:42 +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
Michael Shanks 1c38beaefd Merge branch 'master' of github.com:Budibase/budibase 2020-05-26 11:06:45 +01:00
Joe c8e9178b63 Home page UI design
The majority of HTML and CSS is complete.

Still to be done:
- Activate the create new web app button
- Activate the settings nav item
- Date modified
- Ability to rename web app and provide a description (and an auto screenshot is generated down the line)
2020-05-25 16:57:17 +01:00
Martin McKeaveney 0ea48245cf groundwork for pubsub 2020-05-24 22:54:08 +01:00
Joe 97adabcaa8 Top nav redesign
New BB logo added, and sizing changed.
Nav items margin changed to reflect designs
Nav items color changed to reflect new simplified color scheme
Bottom border added
Nav background color changed

*Global styles is a work in progress.
2020-05-23 09:49:25 +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
Martin McKeaveney 8c91a083da Update package.json 2020-05-19 14:52:44 +01:00
kevmodrome d65acca512 upgrades routify to latest version 2020-05-19 15:19:32 +02:00
Martin McKeaveney 5c775ecf48 electron asar 2020-05-19 14:03:46 +01:00
Martin McKeaveney 4ac94dbf87 Merge pull request #241 from Budibase/further-tidy-up
Further tidy up
2020-05-18 19:18:44 +01:00
Martin McKeaveney ee139cd137 adding builder route for testing 2020-05-18 18:05:36 +01:00
Martin McKeaveney 3be38109e3 preloading remix, removing unused css 2020-05-18 16:37:19 +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 c054b3404e electron fixes 2020-05-18 15:44:52 +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
Michael Shanks 1c01014bdc Merge branch 'master' of github.com:Budibase/budibase 2020-05-18 11:53:09 +01:00
Michael Shanks 1ba64e02fe removing Authorization header 2020-05-18 11:53:04 +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 33d8f6a7c7 remove debug line 2020-05-18 10:56:11 +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 c176510a75 native plist config for code signing and notarization 2020-05-16 18:19:36 +01:00
Martin McKeaveney 64ffd76762 electron script 2020-05-15 18:13:18 +01:00
Martin McKeaveney 34c8b1faf5 notarization and mac code signing through github CI 2020-05-15 16:06:53 +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 fc9657f00d bugfix - require order causing env to load to early 2020-05-14 16:26:14 +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
Michael Shanks a0f5880d51 server initialisation & run fixed 2020-05-11 14:50:15 +01:00
Martin McKeaveney 16a6680c2e add initialiseClientDB 2020-05-11 10:28:06 +01:00
Martin McKeaveney 2ebe5580d5 fixing tests 2020-05-07 22:25:27 +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
Martin McKeaveney 16ec3719ea client lib tests 2020-05-07 13:33:25 +01:00
Martin McKeaveney 0ec47971d0 formatting + fixing builder tests 2020-05-07 10:53:34 +01:00
Martin McKeaveney 0af5f12405 removed core library 2020-05-06 20:49:21 +01:00
Martin McKeaveney 910030e929 Auth working 2020-05-06 20:29:55 +01:00
Martin McKeaveney b6b50182e2 dev setup complete 2020-05-06 12:17:15 +01:00
Martin McKeaveney ddb1880b98 development setup, adding data components 2020-05-06 10:33:30 +01:00
Martin McKeaveney 119bb4ba30 working through auth - adding user instance map 2020-05-04 18:07:03 +01:00
Martin McKeaveney 5648eae275 merge 2020-05-04 17:17:03 +01:00
Martin McKeaveney af9c1adb35 apps being served correctly 2020-05-04 17:13:57 +01:00
Martin McKeaveney 58871883f9 screenslots working again 2020-05-03 11:33:20 +01:00
Martin McKeaveney 5b4bce8b8f component library modules and definitions refactor - moved to backend. More routing and middleware reorganisation 2020-05-02 15:29:10 +01:00
Martin McKeaveney 3564fec064 access levels, actions and triggers removed. Restructuring and refactoring 2020-04-29 20:29:56 +01:00
Conor_Mack b9ac53c6c1 Libraries for Colorpicker 2020-04-29 16:02:17 +01:00
Martin McKeaveney a645df082c clientId fetching before app load, custom views, fixed schema 2020-04-28 14:39:35 +01:00
Michael Shanks 44bba145c7 yarn initialise uses new cli 2020-04-27 08:56:51 +01:00
Michael Shanks c2c4f5b174 cli - new and run handlers 2020-04-26 21:13:14 +01:00
Michael Shanks e2b393a077 Merge branch 'couchdb-api' of github.com:Budibase/budibase into couchdb-api 2020-04-25 08:35:50 +01:00
Michael Shanks 2ab564d224 cli init now working... 2020-04-25 08:35:34 +01:00
Martin McKeaveney 4ca506ebfe tidy up, removing leftover indexeddb files 2020-04-24 18:10:33 +01:00
Martin McKeaveney 749a16e8eb fixing tests 2020-04-24 18:05:29 +01:00
Martin McKeaveney 5385357b9d fixing tests 2020-04-24 18:05:29 +01:00
Michael Shanks b2b94c8ccc remove config - .env added 2020-04-24 17:28:32 +01:00
Michael Shanks e575c0b929 bugfix, create client db not passing config 2020-04-24 10:03:31 +01:00
Michael Shanks c770c8f0ec unsaved file :( 2020-04-24 09:57:16 +01:00
Michael Shanks 8884f532b8 initialise cli started 2020-04-24 09:56:39 +01:00
Michael Shanks 421d822aec couchDb client - accepts couchdb config 2020-04-24 09:54:20 +01:00
Martin McKeaveney 0b7a9b9d0f bug fixes 2020-04-23 17:05:33 +01:00
Martin McKeaveney fdc950d221 tidy up 2020-04-23 14:51:35 +01:00
Martin McKeaveney c315fd3c8d merge 2020-04-23 14:42:26 +01:00
Martin McKeaveney 7e2e4f1e25 tidy up, gitignore node modules in common 2020-04-23 14:39:04 +01:00
Martin McKeaveney c986bba0d8 pouchDB integration, use app id instead of app name for keying app packages 2020-04-23 14:37:08 +01:00
Michael Shanks c8ee32e8e8 validation & persistence 2020-04-22 16:35:20 +01:00
Martin McKeaveney 1381cefc41 backend allowing creation of models, records and databases 2020-04-20 16:17:18 +01:00
Martin McKeaveney 65fd38e205 set up common to use babel, static file serving middleware 2020-04-15 15:25:11 +01:00
Martin McKeaveney 8c922f5d08 integration test setup 2020-04-15 15:25:10 +01:00
Martin McKeaveney 4a77960e76 account for model and view cleanup after model deletion 2020-04-15 15:25:10 +01:00
Martin McKeaveney 6d47e0df89 allow deletion of model 2020-04-15 15:25:10 +01:00
Martin McKeaveney 3da0a11dbd view endpoints with tests 2020-04-15 15:25:10 +01:00
Martin McKeaveney 8177bc0817 model creation and fetching with tests 2020-04-15 15:25:10 +01:00
Martin McKeaveney d7fa36f513 test coverage for user creation 2020-04-15 15:25:10 +01:00
Martin McKeaveney 8500c52056 green for client and database tests 2020-04-15 15:25:10 +01:00
Martin McKeaveney 2ddd463790 api tests 2020-04-15 15:25:10 +01:00
Michael Shanks 84c3e287d5 record controllers... 2020-04-15 15:24:48 +01:00
Michael Shanks ebc1c44343 adding save & load controllers 2020-04-15 15:24:48 +01:00
Martin McKeaveney 195275fc9e adding test structure 2020-04-15 15:24:48 +01:00
Martin McKeaveney 6b77b2825f fetch users from couch, create design document on DB creation 2020-04-15 15:24:24 +01:00
Martin McKeaveney 1341f6cbcf correct resource paths 2020-04-15 15:24:24 +01:00
Martin McKeaveney 1f5330a182 better client id endpoint 2020-04-15 15:24:24 +01:00
Martin McKeaveney 2b47509200 basic user creation 2020-04-15 15:24:24 +01:00
Martin McKeaveney 04869c6b5a added more endpoints 2020-04-15 15:24:24 +01:00
Michael Shanks 514998648a created common package 2020-04-15 15:24:24 +01:00
Martin McKeaveney 3b12ab22af building out new budibase API 2020-04-15 15:23:29 +01:00
kevmodrome 6201c47616 change isRecord to isModel 2020-04-14 12:03:22 +02:00
kevmodrome 4c464e33c9 change name from allowedRecordNodeIds to allowedModelNodeIds 2020-04-14 11:19:14 +02:00
kevmodrome cea7822371 missing import fix 2020-04-09 13:47:54 +02:00
Martin McKeaveney d29dffe7e4 fixing tests 2020-04-06 14:28:22 +01:00
Martin McKeaveney c37cff7712 tidy up 2020-04-06 14:16:21 +01:00
Martin McKeaveney fea50bb56e restructuring server routers 2020-04-06 14:05:57 +01:00
Martin McKeaveney 72fcfd42bb config in context 2020-04-06 09:42:28 +01:00
Martin McKeaveney a9ba145fce restructure server 2020-04-06 09:42:28 +01:00
Martin McKeaveney 35f461dbeb restructure server routes 2020-04-06 09:42:28 +01:00
Martin McKeaveney 0178d66ee9 publish 2020-04-06 09:30:58 +01:00
Martin McKeaveney 31853a6c34 v0.0.32 2020-04-06 09:26:13 +01:00
Michael Shanks ab316fedcd v0.0.31 2020-04-02 19:27:54 +01:00
Michael Shanks eb8dedeea1 v0.0.30 2020-04-02 19:16:21 +01:00
Michael Shanks 6c328b3972 Merge pull request #162 from Budibase/dependabot/npm_and_yarn/packages/server/acorn-5.7.4
Bump acorn from 5.7.3 to 5.7.4 in /packages/server
2020-04-02 09:18:29 +01:00
kevmodrome 9c99f416a7 Merge remote-tracking branch 'upstream/master' into feature/builder-organization 2020-04-01 12:47:36 +02:00
Michael Shanks dcf4f4963c v0.0.29 2020-03-31 16:33:40 +01:00
Michael Shanks ad496a7c3e v0.0.28 2020-03-31 14:44:04 +01:00
kevmodrome 319b86e012 wip: move components to node_modules folder for easier importing 2020-03-31 11:50:13 +02:00
Michael Shanks cb1fc286b1 bugfix: clearing sessions on backend update 2020-03-28 06:39:22 +00:00
Michael Shanks ddf302f33a upgrading accesslevels 2020-03-27 15:14:50 +00:00
Martin McKeaveney ca026e6017 write access levels 2020-03-27 14:49:51 +00:00
Michael Shanks c538cee59c _builder routing servs index for non-file paths 2020-03-26 11:19:21 +00:00
Michael Shanks 5af53922ed evict packages from cache on SaveBackend 2020-03-25 12:38:04 +00:00
Michael Shanks 3429311d5e upgrade data - hooked up to server & builder 2020-03-24 10:58:15 +00:00
Michael Shanks 6ab3003106 merge conflicts 2020-03-24 10:56:48 +00:00
Martin McKeaveney e772283914 further tidy up 2020-03-22 14:14:38 +00:00
Martin McKeaveney a8fec53ff3 adding, deleting and editing records working 2020-03-20 18:47:01 +00:00
dependabot[bot] 2c35585406 Bump acorn from 5.7.3 to 5.7.4 in /packages/server
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-20 14:58:16 +00:00
Michael Shanks 479c284966 diff hierarchy bugfix 2020-03-20 13:58:05 +00:00
Michael Shanks c5b1cc8a9f #8 Diff Hierarchy & upgrade data 2020-03-20 13:39:38 +00:00
Michael Shanks ad62a9c7d8 broken tests 2020-03-11 17:07:18 +00:00
Michael Shanks 64ca63926f bugfixes... incorrect routing from builder to instances 2020-03-11 16:42:19 +00:00
Michael Shanks 83c2533579 mistakenly added package 2020-03-10 11:27:20 +00:00
Michael Shanks fa8e8a4ddb methods in builder for creating new instance & record structures 2020-03-10 11:25:25 +00:00
Michael Shanks 74de9e399b Merge branch 'master' of github.com:Budibase/budibase 2020-03-10 10:05:30 +00:00
Michael Shanks 8aaa322507 exposing _master database operations to builder 2020-03-10 10:05:09 +00:00
Joe 21b2702285 top nav bar ui redesign
To add contract to the builder, I've darkened the top navbar (primary color). I've also added preview and a settings icon, as well as removing borders from nav items.
2020-03-07 13:02:54 +00:00
Michael Shanks dd1d3643e4 lerna updated gitHead for me for some reason 2020-03-05 14:54:22 +00:00
Michael Shanks a54d978662 v0.0.27 2020-03-05 08:53:44 +00:00
Michael Shanks 128218a0fa v0.0.26 2020-03-05 08:48:04 +00:00
Michael Shanks a510d18318 v0.0.25 2020-03-05 08:37:51 +00:00
Michael Shanks b90add5833 v0.0.24 2020-02-27 23:42:35 +00:00
Michael Shanks 2548e0da2c v0.0.23 2020-02-27 22:08:29 +00:00
Martin McKeaveney 58ea78b8be lint failures 2020-02-27 16:45:24 +00:00
Michael Shanks 7438e6f057 v0.0.22 2020-02-27 11:59:35 +00:00
Michael Shanks f7c0e7a27c v0.0.21 2020-02-26 22:47:09 +00:00
Michael Shanks 615688afa7 v0.0.20 2020-02-26 22:32:19 +00:00
Michael Shanks c435737366 bump _master dep on MD components 2020-02-26 22:31:23 +00:00
Michael Shanks e87e890306 v0.0.19 2020-02-26 22:26:19 +00:00
Michael Shanks 6c10a4a2cf v0.0.18 2020-02-26 22:18:45 +00:00
Michael Shanks 56d51014d4 prep for NPM publish 2020-02-26 22:18:14 +00:00
Michael Shanks 05d55de0d8 v0.0.17 2020-02-26 21:12:13 +00:00
Michael Shanks cb9b48c73b updated _master app UI 2020-02-26 15:59:27 +00:00
Michael Shanks 4245d429b9 server - listRecords routes should use a wildcard param 2020-02-26 15:58:55 +00:00
Michael Shanks 8c1c3329be Merge branch 'master' of github.com:Budibase/budibase 2020-02-26 15:56:30 +00:00
Michael Shanks 29d651dcfb bugfix: _master package sent to incorrect directory 2020-02-26 11:39:19 +00:00
Martin McKeaveney e862675956 ignore public folder in apps 2020-02-26 10:16:43 +00:00
Martin McKeaveney 5c69539ab8 Update package.json 2020-02-25 18:13:46 +00:00
Martin McKeaveney 8c0cebaa2f fix tests 2020-02-25 18:02:18 +00:00
Martin McKeaveney 36250cbbdb fix ci 2020-02-25 16:51:40 +00:00
Martin McKeaveney 1912150149 fix tests 2020-02-25 15:46:04 +00:00
Martin McKeaveney 7ae40de558 eslint tidy up 2020-02-25 15:46:04 +00:00
Martin McKeaveney e518da0a62 global style abstraction, backend UI updates 2020-02-24 16:41:02 +00:00
Michael Shanks 2d2e14789b few broken tests (typos) 2020-02-23 21:59:27 +00:00
Michael Shanks ec7cc028c5 some more routing fixes - css now loaded at runtime 2020-02-21 16:52:29 +00:00
Michael Shanks 99c8814533 component templates 2020-02-19 21:38:21 +00:00
Martin McKeaveney 3a406bc0da removed generators, added simple presets to standard components 2020-02-18 20:35:43 +00:00
Michael Shanks 56c25fee90 Client Api - New state binding method (#105)
* new binding...
- state manager
- one store per screen
- not passing

* client lib binding - tests passing

* binding fully working again post stateManager

* bugfix with button component

* Control flow ("code") now working, tests passing

* Events List now reading from component definition

* fix to button.svelte - missing props._children
2020-02-18 12:29:38 +00:00
Michael Shanks c9961feee5 Work on Components API & bugfixes (#102)
* typo - screens not being sent to page save

* removed children arg from hydrateChildren (n/a)

* initialiseChildren does not rerender unless forced

* removed derivatives of initialiseChildren

* renamed initialiseChildren > attachChildren

* standard-components - refactoring

div now container
H1, h2... etc now Heading with type
Select now takes option as _children

* loads of bug fixing

* safe props creation
anytime props are loaded,
we make sure they conform to the components props definition
2020-02-14 11:51:45 +00:00
Martin McKeaveney 4f42a68a9e Merge pull request #99 from shogunpurple/state-bindings
State bindings
2020-02-12 15:50:30 +00:00
Martin McKeaveney 78b04ea58e moving test from server 2020-02-12 15:47:35 +00:00
Martin McKeaveney 695781c149 move state origin build from server to client 2020-02-12 15:10:31 +00:00
Michael Shanks 11c114a664 Lots of poking around to get apps to run, plux fixing tests (#92)
ixing broken tests on client
typo in buildPage.js
fixing some server tests
local datastore uses fs-extra remove, not rmdir
client - loadBudibase - no longer destructuring arg
updated publishdev script for client (reads apps)
prettier fix
some little bug fixes
bugfix - set screens to empty array when falsy
typo in template page.json
replaced "Shard Factor" for "Estimated Count"
2020-02-12 12:45:24 +00:00
Martin McKeaveney f12c6452e4 unit tests 2020-02-12 10:12:54 +00:00
Martin McKeaveney 5795a78cd5 fix rotation on state arrow 2020-02-12 10:12:54 +00:00
Martin McKeaveney e410748bed merging with master 2020-02-12 10:12:54 +00:00
Martin McKeaveney c976a133c0 auto update state origins when attaching click handlers 2020-02-12 10:12:54 +00:00
Martin McKeaveney 936bce711e state binding v1 2020-02-11 14:19:06 +00:00
Michael Shanks 34b957f331 Builder saves backend and front end seperately (#88)
* refactoring server for screens & page layout restructure

* Disable API calls, UI placeholders.

* buildPropsHierarchy is gone & screen has url

* Recent changes.

* router

* router

* updated git-ignore to reinclude server/utilities/builder

* modified cli - budi new create new file structure

* Fix uuid import.

* prettier fixes

* prettier fixes

* prettier fixes

* page/screen restructure.. broken tests

* all tests passing at last

* screen routing tests

* Working screen editor and preview.

* Render page previews to the screen.

* Key input lists to ensure new array references when updating styles.

* Ensure the iframe html and body fills the container.

* Save screens via the API.

* Get all save APIs almost working.

* Write pages.json to disk.

* Use correct API endpoint for saving styles.

* Differentiate between saving properties of screens and pages.

* Add required fields to default pages layouts.

* Add _css default property to newly created screens.

* Add default code property.

* page layout / screens - app output

* backend and fronend save seperately

Co-authored-by: pngwn <pnda007@gmail.com>
2020-02-10 21:35:51 +00:00
Michael Shanks 8a80d8801a Page Layout & Screen restructure (#87)
* refactoring server for screens & page layout restructure

* Disable API calls, UI placeholders.

* buildPropsHierarchy is gone & screen has url

* Recent changes.

* router

* router

* updated git-ignore to reinclude server/utilities/builder

* modified cli - budi new create new file structure

* Fix uuid import.

* prettier fixes

* prettier fixes

* prettier fixes

* page/screen restructure.. broken tests

* all tests passing at last

* screen routing tests

* Working screen editor and preview.

* Render page previews to the screen.

* Key input lists to ensure new array references when updating styles.

* Ensure the iframe html and body fills the container.

* Save screens via the API.

* Get all save APIs almost working.

* Write pages.json to disk.

* Use correct API endpoint for saving styles.

* Differentiate between saving properties of screens and pages.

* Add required fields to default pages layouts.

* Add _css default property to newly created screens.

* Add default code property.

* page layout / screens - app output

Co-authored-by: pngwn <pnda007@gmail.com>
2020-02-10 15:51:09 +00:00
Martin McKeaveney 927502eb38 include svelte files in prettier 2020-02-03 09:50:30 +00:00
Martin McKeaveney 0808178dfa running prettier over codebase, removing merge files 2020-02-03 09:24:25 +00:00
Michael Shanks 7ae29a6030 #24 - Control Flow (#79)
* removed binding references to array type

* refactored initialiseChildren into seperate file

* render function, with code blocks - tested simple cases

* few mores tests for control flow

* md components - getting TestApp to work

* new render wrapper - bug fix

* client: providing access to component root elements

* code editor working

* code editor improvements
2020-01-31 23:11:50 +00:00
pngwn 5aa44a88a4 48 builder frontend 2 (#76)
* Implement collapsing component hierarchy.

* Save screen when adding new components.

* Allow creation of nested child components.

* Rename updateComponentProps to setComponentProps

* Compile layout and position properties to css strings.

* Correct ordering errors.

* Compile the css for an entire screen.

* Add unique id for each component.

* Ignore _id props.

* Update client to add correct class names to component elements.

* Add grid-template fields to layout styling panel.

* Inject css into iframe. Minor tweaks.

* Fix unset margins.

* Update failing tests.
2020-01-31 16:01:58 +00:00
Martin McKeaveney 23c4cdd724 tidy up 2020-01-31 09:49:26 +00:00
Martin McKeaveney f0e07cdfca basic architecture complete 2020-01-29 21:04:48 +00:00
Martin McKeaveney e54fd6a0d9 merge 2020-01-28 22:39:16 +00:00
Martin McKeaveney 00df10bbd5 fix bcrypt in build 2020-01-28 13:06:35 +00:00
Martin McKeaveney 62a9a3ee45 merge 2020-01-27 12:16:03 +00:00
Martin McKeaveney 9ebe7bec5c build process improvements and gitignore 2020-01-24 16:31:53 +00:00
Martin McKeaveney f06beeeada removing final package lock, gitignore on builder folder 2020-01-24 15:56:14 +00:00
pngwn 5cd0b29866 Keep assets folder. 2020-01-24 14:51:29 +00:00
pngwn 5536a95c21 Restore lost utility files 2020-01-24 14:51:29 +00:00
pngwn 62edeb3c3d Correct gitignore pattern 2020-01-24 14:51:28 +00:00
pngwn c800032fbc Add builder to gitignore. 2020-01-24 14:51:28 +00:00
Martin McKeaveney a6bbee87ad removing the package lock files 2020-01-24 14:10:19 +00:00
Martin McKeaveney 0fd1271de2 Merge branch 'master' of github.com:Budibase/budibase 2020-01-24 13:57:19 +00:00
Michael Shanks d6d936e3d0 updated yarn lock files 2020-01-24 13:20:03 +00:00
Martin McKeaveney 8ecee4e2c0 Merge branch 'master' of github.com:Budibase/budibase 2020-01-23 15:17:19 +00:00
Martin McKeaveney 460ff487be v0.0.16 2020-01-23 11:38:11 +00:00
Martin McKeaveney 9cc671325c removing duplicated node crypto 2020-01-23 10:46:58 +00:00
Martin McKeaveney 37b1a507ea remove argon and use bcryptjs 2020-01-23 10:32:27 +00:00
Michael Shanks 4e09043e3a #48 restructure. Screens in, user components out. _children static concept 2020-01-17 23:06:42 +00:00
dependabot[bot] 06d2315fe8 Bump handlebars from 4.1.2 to 4.5.3 in /packages/server (#44)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-29 06:47:33 +00:00
Michael Shanks fa683385b6 merge from master 2019-11-24 06:06:56 +00:00
Michael Shanks 4814371904 Getting started for contributors fixed - see readme 2019-11-23 07:28:24 +00:00
Michael Shanks 2580b6d362 backup yo 2019-11-22 06:28:12 +00:00
Michael Shanks 4f29664990 v0.0.15 2019-11-12 07:15:59 +00:00
Michael Shanks b07e9da73d build - vew version 2019-11-12 07:15:48 +00:00