Commit Graph

164 Commits

Author SHA1 Message Date
mike12345567 333d7279ac Fixing issue with init. 2021-02-26 13:33:31 +00:00
mike12345567 ffa2c3459a Update to add init functionality. 2021-02-26 13:30:24 +00:00
mike12345567 a9964971eb All the groundwork laid now, just need to implement the functionality for hosting. 2021-02-26 11:46:48 +00:00
mike12345567 e6c9b18304 More work in progress. 2021-02-25 14:42:50 +00:00
mike12345567 e14094b1f1 Ground work for CLI. 2021-02-24 17:32:45 +00:00
Martin McKeaveney b2a2cde303 remove budibase cli 2020-10-28 10:21:24 +00:00
Michael Shanks 30aed16951 remove references to material design components 2020-08-14 11:21:52 +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
Martin McKeaveney f790a51156 adding dialog import 2020-07-13 18:11:19 +01:00
Martin McKeaveney 936ff173e9 Merge branch 'master' of github.com:Budibase/budibase into beta-bugfixes 2020-07-13 17:27:26 +01:00
Hugo LE DALL 5584a2bb4d avoiding ctrl+c 2020-07-11 17:54:13 +02:00
Martin McKeaveney fccfc3fd5c beta bugfixes 2020-07-10 16:17:12 +01:00
Martin McKeaveney 1a33ab2e18 merge 2020-07-07 21:32:32 +01:00
Martin McKeaveney f7d65deb5e extra index template for production 2020-07-06 19:43:40 +01:00
Michael Shanks 69b05d6f93 #416 auto init of budibase when electron starts 2020-07-03 13:03:50 +01:00
Victoria Sloan 16430cb798 linty 2020-06-22 18:07:52 +01:00
Victoria Sloan e643d6651f setting appId on user object when creating the app instance 2020-06-22 17:38:00 +01:00
Michael Shanks 0ff6cc75e7 removed debug message 2020-06-21 21:21:24 +01:00
Michael Shanks ce6ca5351d changed setup to require CLI modules directly 2020-06-11 20:37:01 +01:00
Martin McKeaveney e648dc80e8 refactor client library 2020-05-29 14:06:36 +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 fe79f294b4 access levels 2020-05-27 17:23:01 +01:00
Conor_Mack 7f3b34093a Merge branch 'master' of https://github.com/Budibase/budibase into property-panel/master 2020-05-25 15:24:47 +01:00
Conor_Mack 0a745edfe4 Change of structure for _styles 2020-05-22 15:30:29 +01:00
Michael Shanks 1c01014bdc Merge branch 'master' of github.com:Budibase/budibase 2020-05-18 11:53:09 +01:00
Martin McKeaveney 5cd218da02 fixing CI 2020-05-18 11:18:31 +01:00
Michael Shanks e0e983cec1 budi new not handling custom directories 2020-05-18 10:45:07 +01:00
Michael Shanks 1dc32a05e3 removing clientId from frontend, fixing invalid database name 2020-05-18 06:40:29 +01:00
Michael Shanks 42d19efeba bugfix: early require of environment.js 2020-05-14 16:56:41 +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
Martin McKeaveney 7bccbe6e3f make git keep empty dirs 2020-05-11 16:39:03 +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 bf18d601d6 final tidy up 2020-05-07 22:46:27 +01:00
Martin McKeaveney 0ec47971d0 formatting + fixing builder tests 2020-05-07 10:53:34 +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
Martin McKeaveney a645df082c clientId fetching before app load, custom views, fixed schema 2020-04-28 14:39:35 +01:00
Michael Shanks f61757698e quiet mode for init 2020-04-27 08:56:26 +01:00
Michael Shanks c2c4f5b174 cli - new and run handlers 2020-04-26 21:13:14 +01:00
Michael Shanks 2ab564d224 cli init now working... 2020-04-25 08:35:34 +01:00
Michael Shanks b2b94c8ccc remove config - .env added 2020-04-24 17:28:32 +01:00
Michael Shanks 8884f532b8 initialise cli started 2020-04-24 09:56:39 +01:00
Martin McKeaveney 1381cefc41 backend allowing creation of models, records and databases 2020-04-20 16:17:18 +01:00
Michael Shanks 7462b55a9a bugfix... new apps had incorrect appDefinition.json 2020-03-24 15:33:31 +00:00
Michael Shanks ea9830e025 cli - init command not defaulting config correctly 2020-02-27 09:32:58 +00:00
Michael Shanks 6b7e071cb4 new budibase apps get the max v0.x 2020-02-26 22:46:35 +00:00
Martin McKeaveney 7ae40de558 eslint tidy up 2020-02-25 15:46:04 +00:00
Michael Shanks dbb151e86e template app - includes MD by default 2020-02-19 13:26:45 +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
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
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 0808178dfa running prettier over codebase, removing merge files 2020-02-03 09:24:25 +00:00
Martin McKeaveney 9ebe7bec5c build process improvements and gitignore 2020-01-24 16:31:53 +00:00
Michael Shanks 4814371904 Getting started for contributors fixed - see readme 2019-11-23 07:28:24 +00:00
Michael Shanks d14d297d25 cli - new handler respects latestPackagesFolder 2019-11-09 06:34:19 +00:00
Michael Shanks 92dcf4b2b8 backup before an f-up 2019-10-18 17:32:03 +01:00
Michael Shanks 79f99bf35b cli working.. 2019-10-12 07:50:32 +01:00
Michael Shanks 0a948fc75c cli... 2019-10-11 18:44:55 +01:00
Michael Shanks 9d60a9d1d1 CLI nearly there 2019-10-11 17:14:23 +01:00