Commit Graph

88 Commits

Author SHA1 Message Date
Michael Shanks 37a46883e5 budi new not handling custom directories 2020-05-18 10:45:07 +01:00
Michael Shanks b62449bf96 removing clientId from frontend, fixing invalid database name 2020-05-18 06:40:29 +01:00
Michael Shanks 49ff6201af bugfix: early require of environment.js 2020-05-14 16:56:41 +01:00
Michael Shanks 18375a6d19 server tests in-memory and passing 2020-05-14 15:12:30 +01:00
Martin McKeaveney 947ffa326f
Merge branch 'master' into fix-dev-setup 2020-05-11 16:40:39 +01:00
Martin McKeaveney b2bd655678 make git keep empty dirs 2020-05-11 16:39:03 +01:00
Michael Shanks 6b492cbe29 bugfix - could not create more than one app 2020-05-11 16:14:31 +01:00
Martin McKeaveney cc30913e34 fixed dev setup 2020-05-11 16:01:02 +01:00
Michael Shanks a004aa5838 allow bb home folder to bem anywhere 2020-05-11 15:42:42 +01:00
Michael Shanks 6fac98074d server initialisation & run fixed 2020-05-11 14:50:15 +01:00
Martin McKeaveney 9ff76c799c add initialiseClientDB 2020-05-11 10:28:06 +01:00
Martin McKeaveney 0f7292f30e final tidy up 2020-05-07 22:46:27 +01:00
Martin McKeaveney c255883aed formatting + fixing builder tests 2020-05-07 10:53:34 +01:00
Martin McKeaveney abd6da7b11 component library modules and definitions refactor - moved to backend. More routing and middleware reorganisation 2020-05-02 15:29:10 +01:00
Martin McKeaveney c733b5bee8 access levels, actions and triggers removed. Restructuring and refactoring 2020-04-29 20:29:56 +01:00
Martin McKeaveney 588fe5ebaa clientId fetching before app load, custom views, fixed schema 2020-04-28 14:39:35 +01:00
Michael Shanks 9799c3dad3 quiet mode for init 2020-04-27 08:56:26 +01:00
Michael Shanks 754d5224f1 cli - new and run handlers 2020-04-26 21:13:14 +01:00
Michael Shanks b88044278e cli init now working... 2020-04-25 08:35:34 +01:00
Michael Shanks 32dd1213aa remove config - .env added 2020-04-24 17:28:32 +01:00
Michael Shanks 663a231f3e initialise cli started 2020-04-24 09:56:39 +01:00
Martin McKeaveney 228999aba5 backend allowing creation of models, records and databases 2020-04-20 16:17:18 +01:00
Michael Shanks 914afc6059 bugfix... new apps had incorrect appDefinition.json 2020-03-24 15:33:31 +00:00
Michael Shanks 22ca4cfa5b cli - init command not defaulting config correctly 2020-02-27 09:32:58 +00:00
Michael Shanks 8b896df617 new budibase apps get the max v0.x 2020-02-26 22:46:35 +00:00
Martin McKeaveney 0d0f635db4 eslint tidy up 2020-02-25 15:46:04 +00:00
Michael Shanks 2d0e027582 template app - includes MD by default 2020-02-19 13:26:45 +00:00
Michael Shanks b7d9e05641
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 c3fa212b31
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 f7bea46f01
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 94eb93b186 running prettier over codebase, removing merge files 2020-02-03 09:24:25 +00:00
Martin McKeaveney 231a1ab3e3 build process improvements and gitignore 2020-01-24 16:31:53 +00:00
Michael Shanks 84638a6d65 Getting started for contributors fixed - see readme 2019-11-23 07:28:24 +00:00
Michael Shanks accc9e300e cli - new handler respects latestPackagesFolder 2019-11-09 06:34:19 +00:00
Michael Shanks 75f4c6dd68 backup before an f-up 2019-10-18 17:32:03 +01:00
Michael Shanks 4c3b9e4488 cli working.. 2019-10-12 07:50:32 +01:00
Michael Shanks 4247512791 cli... 2019-10-11 18:44:55 +01:00
Michael Shanks 3e67dd07c0 CLI nearly there 2019-10-11 17:14:23 +01:00