Commit Graph

139 Commits

Author SHA1 Message Date
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