1
0
Fork 0
mirror of synced 2024-07-02 04:50:44 +12:00
Commit graph

273 commits

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