1
0
Fork 0
mirror of synced 2024-07-03 21:40:55 +12:00
Commit graph

3438 commits

Author SHA1 Message Date
Martin McKeaveney 65d0161007 orchestrator refactor, user creation block 2020-05-30 13:41:46 +01:00
Martin McKeaveney bba7b93b75 refactor client library 2020-05-29 14:06:36 +01:00
Michael Shanks 0f1a472b6f configurable logLevel - defaults to error 2020-05-29 14:06:25 +01:00
Martin McKeaveney a3bebe3330 adding workflow blocks, parameter parsing, templating 2020-05-28 20:20:03 +01:00
Michael Shanks bab7e3ed9e server side record validation 2020-05-28 15:39:29 +01:00
Michael Shanks 521501c4e6 Merge branch 'workflow-v1' of github.com:Budibase/budibase into workflow-v1 2020-05-28 09:17:49 +01:00
Michael Shanks 4eb00c1e4e removed auth on execute workflow action 2020-05-28 09:17:14 +01:00
Martin McKeaveney 08d0b9cb94 workflow UI, orhestrator for executing workflows 2020-05-27 21:51:32 +01:00
Michael Shanks a1d83cdc4c bugfix: wrong permissions on worfklow endpoint 2020-05-27 19:18:39 +01:00
Michael Shanks 2f1fc8109b few changes from code review 2020-05-27 17:37:07 +01:00
Michael Shanks 2d69d715d0 fixing tests after dodgy merge 2020-05-27 17:29:26 +01:00
Michael Shanks 3bfe7840e4 access levels 2020-05-27 17:23:01 +01:00
kevmodrome 5c3e514fd0 fix another lint error 2020-05-27 13:53:44 +02:00
kevmodrome aeb7c5dfc9 fix lint erorrs 2020-05-27 13:51:19 +02:00
Michael Shanks 2a8ca59b6d bugfix: create app not creating dirs 2020-05-27 10:54:34 +01:00
Martin McKeaveney e3271bf765 Merge branch 'master' of github.com:Budibase/budibase into workflow-v1 2020-05-27 10:13:42 +01:00
Martin McKeaveney b9a6c3ec10 workflow orchestrator 2020-05-26 21:34:01 +01:00
Michael Shanks b7ad4de09e server - create app endpoint creates files 2020-05-26 16:29:16 +01:00
Michael Shanks 75dd1da6b5 Merge branch 'master' of github.com:Budibase/budibase 2020-05-26 11:06:45 +01:00
Joe 1c35836834 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 920b47d6aa groundwork for pubsub 2020-05-24 22:54:08 +01:00
Joe 5e98c3e9cb 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 21b1165463 workflow charts 2020-05-22 16:32:23 +01:00
Michael Shanks 9ae0e2e826 merge conflicts 2020-05-21 14:43:49 +01:00
Michael Shanks 1b87edc954 auth, first version, needing tested 2020-05-21 14:31:23 +01:00
Martin McKeaveney 39c894c459 workflow CRUD complete 2020-05-20 17:02:46 +01:00
Martin McKeaveney 932ef17103
Update package.json 2020-05-19 14:52:44 +01:00
kevmodrome 92a04eb415 upgrades routify to latest version 2020-05-19 15:19:32 +02:00
Martin McKeaveney 2fbc043155 electron asar 2020-05-19 14:03:46 +01:00
Martin McKeaveney 2e9bf13496
Merge pull request #241 from Budibase/further-tidy-up
Further tidy up
2020-05-18 19:18:44 +01:00
Martin McKeaveney 8d798579eb adding builder route for testing 2020-05-18 18:05:36 +01:00
Martin McKeaveney ccbcb0af40 preloading remix, removing unused css 2020-05-18 16:37:19 +01:00
Michael Shanks 85bf8e799a Merge branch 'master' of github.com:Budibase/budibase 2020-05-18 16:34:30 +01:00
Michael Shanks 1b30903940 lint fix 2020-05-18 16:33:41 +01:00
Michael Shanks 9394a74dcd Merge branch 'master' of github.com:Budibase/budibase 2020-05-18 16:23:22 +01:00
Michael Shanks 2b48a92013 id generation in utilities module 2020-05-18 16:22:09 +01:00
Martin McKeaveney b0644b2234 lint 2020-05-18 15:46:38 +01:00
Martin McKeaveney 2c49206af5 electron fixes 2020-05-18 15:44:52 +01:00
Martin McKeaveney 1139627bf5 pino logging, electron fixes, running integration tests in band 2020-05-18 15:33:29 +01:00
Martin McKeaveney fd4eb56b5c brotli lint 2020-05-18 14:58:39 +01:00
Martin McKeaveney 1e7aab538d disable brotli 2020-05-18 14:36:42 +01:00
Michael Shanks 8d4faa0bf9 Merge branch 'master' of github.com:Budibase/budibase 2020-05-18 11:53:09 +01:00
Michael Shanks 52a3b4786f removing Authorization header 2020-05-18 11:53:04 +01:00
Martin McKeaveney e244e099a6 fixing CI 2020-05-18 11:18:31 +01:00
Martin McKeaveney c8dd48b507 formatting 2020-05-18 11:01:17 +01:00
Martin McKeaveney e83816df1c remove debug line 2020-05-18 10:56:11 +01:00
Martin McKeaveney 815a539863 test and couchDB init code 2020-05-18 10:55:35 +01:00
Michael Shanks 468dc513a5 merge conflicts.. 2020-05-18 06:43:05 +01:00
Michael Shanks b62449bf96 removing clientId from frontend, fixing invalid database name 2020-05-18 06:40:29 +01:00
Martin McKeaveney 03593259e8 native plist config for code signing and notarization 2020-05-16 18:19:36 +01:00
Martin McKeaveney 3e0381b524 electron script 2020-05-15 18:13:18 +01:00
Martin McKeaveney 03c5aaa0cb notarization and mac code signing through github CI 2020-05-15 16:06:53 +01:00
Martin McKeaveney a2e8f2461a
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 eabcb48bba bugfix - require order causing env to load to early 2020-05-14 16:26:14 +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
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 5646ef1101 fixing tests 2020-05-07 22:25:27 +01:00
Martin McKeaveney 0962f102c5 data components 2020-05-07 22:15:09 +01:00
Martin McKeaveney 2ad007fce0 further simplification of server code 2020-05-07 14:04:32 +01:00
Martin McKeaveney 94b2e0f134 further tidy up and removal 2020-05-07 13:52:24 +01:00
Martin McKeaveney 85f1faeb3c client lib tests 2020-05-07 13:33:25 +01:00
Martin McKeaveney c255883aed formatting + fixing builder tests 2020-05-07 10:53:34 +01:00
Martin McKeaveney e55120bb62 removed core library 2020-05-06 20:49:21 +01:00
Martin McKeaveney 8f5845943a Auth working 2020-05-06 20:29:55 +01:00
Martin McKeaveney 7da95c23a3 dev setup complete 2020-05-06 12:17:15 +01:00
Martin McKeaveney 392de2efcc development setup, adding data components 2020-05-06 10:33:30 +01:00
Martin McKeaveney 2afd1cd4dd working through auth - adding user instance map 2020-05-04 18:07:03 +01:00
Martin McKeaveney c3f68e9895 merge 2020-05-04 17:17:03 +01:00
Martin McKeaveney 2c361f3d1d apps being served correctly 2020-05-04 17:13:57 +01:00
Martin McKeaveney 427cdafeda screenslots working again 2020-05-03 11:33:20 +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
Conor_Mack 9d7999938d Libraries for Colorpicker 2020-04-29 16:02:17 +01:00
Martin McKeaveney 588fe5ebaa clientId fetching before app load, custom views, fixed schema 2020-04-28 14:39:35 +01:00
Michael Shanks b514bfac1b yarn initialise uses new cli 2020-04-27 08:56:51 +01:00
Michael Shanks 754d5224f1 cli - new and run handlers 2020-04-26 21:13:14 +01:00
Michael Shanks 34c6cfc53b Merge branch 'couchdb-api' of github.com:Budibase/budibase into couchdb-api 2020-04-25 08:35:50 +01:00
Michael Shanks b88044278e cli init now working... 2020-04-25 08:35:34 +01:00
Martin McKeaveney 8e38fab727 tidy up, removing leftover indexeddb files 2020-04-24 18:10:33 +01:00
Martin McKeaveney 7ad66d455a fixing tests 2020-04-24 18:05:29 +01:00
Martin McKeaveney 120344ccae fixing tests 2020-04-24 18:05:29 +01:00
Michael Shanks 32dd1213aa remove config - .env added 2020-04-24 17:28:32 +01:00
Michael Shanks c7bebf3e48 bugfix, create client db not passing config 2020-04-24 10:03:31 +01:00
Michael Shanks 1db38ee4d6 unsaved file :( 2020-04-24 09:57:16 +01:00
Michael Shanks 663a231f3e initialise cli started 2020-04-24 09:56:39 +01:00
Michael Shanks bfe8d045f5 couchDb client - accepts couchdb config 2020-04-24 09:54:20 +01:00
Martin McKeaveney f5e27d8759 bug fixes 2020-04-23 17:05:33 +01:00
Martin McKeaveney b2e801a77b tidy up 2020-04-23 14:51:35 +01:00
Martin McKeaveney c6cafeb2c0 merge 2020-04-23 14:42:26 +01:00
Martin McKeaveney 10b05a4e6f tidy up, gitignore node modules in common 2020-04-23 14:39:04 +01:00
Martin McKeaveney 8a7c0f8ba3 pouchDB integration, use app id instead of app name for keying app packages 2020-04-23 14:37:08 +01:00
Michael Shanks e28321af2a validation & persistence 2020-04-22 16:35:20 +01:00
Martin McKeaveney 228999aba5 backend allowing creation of models, records and databases 2020-04-20 16:17:18 +01:00
Martin McKeaveney 741344a56d set up common to use babel, static file serving middleware 2020-04-15 15:25:11 +01:00
Martin McKeaveney 679270bdf7 integration test setup 2020-04-15 15:25:10 +01:00
Martin McKeaveney ebc4e52546 account for model and view cleanup after model deletion 2020-04-15 15:25:10 +01:00
Martin McKeaveney bb45391208 allow deletion of model 2020-04-15 15:25:10 +01:00
Martin McKeaveney a2f5459a4b view endpoints with tests 2020-04-15 15:25:10 +01:00
Martin McKeaveney 093e52afb0 model creation and fetching with tests 2020-04-15 15:25:10 +01:00
Martin McKeaveney 3b57af74ca test coverage for user creation 2020-04-15 15:25:10 +01:00
Martin McKeaveney 09af351e06 green for client and database tests 2020-04-15 15:25:10 +01:00
Martin McKeaveney b90973607b api tests 2020-04-15 15:25:10 +01:00
Michael Shanks 6c0efea8ea record controllers... 2020-04-15 15:24:48 +01:00
Michael Shanks 6954bf20cc adding save & load controllers 2020-04-15 15:24:48 +01:00
Martin McKeaveney 8b231c0930 adding test structure 2020-04-15 15:24:48 +01:00
Martin McKeaveney 24d46932cc fetch users from couch, create design document on DB creation 2020-04-15 15:24:24 +01:00
Martin McKeaveney 678b48beec correct resource paths 2020-04-15 15:24:24 +01:00
Martin McKeaveney c78b14a68a better client id endpoint 2020-04-15 15:24:24 +01:00
Martin McKeaveney 00443d9dd6 basic user creation 2020-04-15 15:24:24 +01:00
Martin McKeaveney 2d75127706 added more endpoints 2020-04-15 15:24:24 +01:00
Michael Shanks 1aacaea757 created common package 2020-04-15 15:24:24 +01:00
Martin McKeaveney 0430cd11b1 building out new budibase API 2020-04-15 15:23:29 +01:00
kevmodrome 50abaa4988 change isRecord to isModel 2020-04-14 12:03:22 +02:00
kevmodrome d7a4458488 change name from allowedRecordNodeIds to allowedModelNodeIds 2020-04-14 11:19:14 +02:00
kevmodrome b03ba33bc4 missing import fix 2020-04-09 13:47:54 +02:00
Martin McKeaveney 1f000e2be1 fixing tests 2020-04-06 14:28:22 +01:00
Martin McKeaveney 5774f99fee tidy up 2020-04-06 14:16:21 +01:00
Martin McKeaveney 3519d0f210 restructuring server routers 2020-04-06 14:05:57 +01:00
Martin McKeaveney 81d878bf4e config in context 2020-04-06 09:42:28 +01:00
Martin McKeaveney ec3f754a41 restructure server 2020-04-06 09:42:28 +01:00
Martin McKeaveney edbff576ee restructure server routes 2020-04-06 09:42:28 +01:00
Martin McKeaveney 300ec549a2 publish 2020-04-06 09:30:58 +01:00
Martin McKeaveney b1f4f90927 v0.0.32 2020-04-06 09:26:13 +01:00
Michael Shanks 88ecb0d569 v0.0.31 2020-04-02 19:27:54 +01:00
Michael Shanks 1e2b009555 v0.0.30 2020-04-02 19:16:21 +01:00
Michael Shanks 005adf836e
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 d29c865ccd Merge remote-tracking branch 'upstream/master' into feature/builder-organization 2020-04-01 12:47:36 +02:00
Michael Shanks 0648ec7dff v0.0.29 2020-03-31 16:33:40 +01:00
Michael Shanks 80fec01c8f v0.0.28 2020-03-31 14:44:04 +01:00
kevmodrome 87cd19bd92 wip: move components to node_modules folder for easier importing 2020-03-31 11:50:13 +02:00
Michael Shanks 946c79df53 bugfix: clearing sessions on backend update 2020-03-28 06:39:22 +00:00
Michael Shanks b5473f29c6 upgrading accesslevels 2020-03-27 15:14:50 +00:00
Martin McKeaveney 00eb3ce13a write access levels 2020-03-27 14:49:51 +00:00
Michael Shanks 5c3f087ffa _builder routing servs index for non-file paths 2020-03-26 11:19:21 +00:00
Michael Shanks ca6c3d182a evict packages from cache on SaveBackend 2020-03-25 12:38:04 +00:00
Michael Shanks d236f4f145 upgrade data - hooked up to server & builder 2020-03-24 10:58:15 +00:00
Michael Shanks 36bb582ceb merge conflicts 2020-03-24 10:56:48 +00:00
Martin McKeaveney 6f6d8f669c further tidy up 2020-03-22 14:14:38 +00:00
Martin McKeaveney 9c7fbdd3e6 adding, deleting and editing records working 2020-03-20 18:47:01 +00:00
dependabot[bot] e22f20a678
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 5ca543f373 diff hierarchy bugfix 2020-03-20 13:58:05 +00:00
Michael Shanks 4d9949a429 #8 Diff Hierarchy & upgrade data 2020-03-20 13:39:38 +00:00
Michael Shanks c44f658ebf broken tests 2020-03-11 17:07:18 +00:00
Michael Shanks a286385e57 bugfixes... incorrect routing from builder to instances 2020-03-11 16:42:19 +00:00
Michael Shanks 182ebe7f98 mistakenly added package 2020-03-10 11:27:20 +00:00
Michael Shanks 6c56fb79bd methods in builder for creating new instance & record structures 2020-03-10 11:25:25 +00:00
Michael Shanks 1fcecb5204 Merge branch 'master' of github.com:Budibase/budibase 2020-03-10 10:05:30 +00:00
Michael Shanks f8e71d0e96 exposing _master database operations to builder 2020-03-10 10:05:09 +00:00
Joe 856db29f9f 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 44a989d7bc lerna updated gitHead for me for some reason 2020-03-05 14:54:22 +00:00
Michael Shanks 72a77a035e v0.0.27 2020-03-05 08:53:44 +00:00
Michael Shanks 3e57732380 v0.0.26 2020-03-05 08:48:04 +00:00
Michael Shanks fcd2e6253c v0.0.25 2020-03-05 08:37:51 +00:00
Michael Shanks 2bec1d06ad v0.0.24 2020-02-27 23:42:35 +00:00
Michael Shanks b6f175161d v0.0.23 2020-02-27 22:08:29 +00:00
Martin McKeaveney f746a0416c lint failures 2020-02-27 16:45:24 +00:00
Michael Shanks 1dc19d24a5 v0.0.22 2020-02-27 11:59:35 +00:00
Michael Shanks 7830a71ba3 v0.0.21 2020-02-26 22:47:09 +00:00
Michael Shanks 8e60e8f635 v0.0.20 2020-02-26 22:32:19 +00:00
Michael Shanks 87841527ff bump _master dep on MD components 2020-02-26 22:31:23 +00:00
Michael Shanks 6d55922a63 v0.0.19 2020-02-26 22:26:19 +00:00
Michael Shanks 5ce66c2481 v0.0.18 2020-02-26 22:18:45 +00:00
Michael Shanks fc5413abb3 prep for NPM publish 2020-02-26 22:18:14 +00:00
Michael Shanks f3dd412e74 v0.0.17 2020-02-26 21:12:13 +00:00
Michael Shanks a43ffdf2f2 updated _master app UI 2020-02-26 15:59:27 +00:00
Michael Shanks 55e8a51ab7 server - listRecords routes should use a wildcard param 2020-02-26 15:58:55 +00:00
Michael Shanks 3c504bd1cd Merge branch 'master' of github.com:Budibase/budibase 2020-02-26 15:56:30 +00:00
Michael Shanks 4c1d3c4e88 bugfix: _master package sent to incorrect directory 2020-02-26 11:39:19 +00:00
Martin McKeaveney 62e562c1f1 ignore public folder in apps 2020-02-26 10:16:43 +00:00
Martin McKeaveney 7f62f76924
Update package.json 2020-02-25 18:13:46 +00:00
Martin McKeaveney 7c5675a95f
fix tests 2020-02-25 18:02:18 +00:00
Martin McKeaveney d9d8e51d86 fix ci 2020-02-25 16:51:40 +00:00
Martin McKeaveney 3d7ba759fa fix tests 2020-02-25 15:46:04 +00:00
Martin McKeaveney 0d0f635db4 eslint tidy up 2020-02-25 15:46:04 +00:00
Martin McKeaveney 41d0497055 global style abstraction, backend UI updates 2020-02-24 16:41:02 +00:00
Michael Shanks 4fb30835cd few broken tests (typos) 2020-02-23 21:59:27 +00:00
Michael Shanks d271ed6a50 some more routing fixes - css now loaded at runtime 2020-02-21 16:52:29 +00:00
Michael Shanks cd829182f9 component templates 2020-02-19 21:38:21 +00:00
Martin McKeaveney 8b64c64bab removed generators, added simple presets to standard components 2020-02-18 20:35:43 +00:00
Michael Shanks 4089b52c53
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 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
Martin McKeaveney cca039bdd0
Merge pull request #99 from shogunpurple/state-bindings
State bindings
2020-02-12 15:50:30 +00:00
Martin McKeaveney 1c7550e211 moving test from server 2020-02-12 15:47:35 +00:00
Martin McKeaveney fe142faf3a move state origin build from server to client 2020-02-12 15:10:31 +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
Martin McKeaveney 175002d178 unit tests 2020-02-12 10:12:54 +00:00
Martin McKeaveney f34a4707a9 fix rotation on state arrow 2020-02-12 10:12:54 +00:00
Martin McKeaveney 0b3f75aaff merging with master 2020-02-12 10:12:54 +00:00
Martin McKeaveney 8be69162f7 auto update state origins when attaching click handlers 2020-02-12 10:12:54 +00:00
Martin McKeaveney ee9df6c29a state binding v1 2020-02-11 14:19:06 +00:00
Michael Shanks da7339035f
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 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 34d56e960f include svelte files in prettier 2020-02-03 09:50:30 +00:00
Martin McKeaveney 94eb93b186 running prettier over codebase, removing merge files 2020-02-03 09:24:25 +00:00
Michael Shanks c7cbe6ca8b
#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 aa4c7fa1c1
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 912a6e4f1b tidy up 2020-01-31 09:49:26 +00:00
Martin McKeaveney a88db662bf basic architecture complete 2020-01-29 21:04:48 +00:00
Martin McKeaveney ea88880417 merge 2020-01-28 22:39:16 +00:00
Martin McKeaveney 598aa5f8fa fix bcrypt in build 2020-01-28 13:06:35 +00:00
Martin McKeaveney 17e22b4da7 merge 2020-01-27 12:16:03 +00:00
Martin McKeaveney 231a1ab3e3 build process improvements and gitignore 2020-01-24 16:31:53 +00:00
Martin McKeaveney 4611970896 removing final package lock, gitignore on builder folder 2020-01-24 15:56:14 +00:00
pngwn 18a436ffef Keep assets folder. 2020-01-24 14:51:29 +00:00
pngwn 705dd128d4 Restore lost utility files 2020-01-24 14:51:29 +00:00
pngwn 3f9d708541 Correct gitignore pattern 2020-01-24 14:51:28 +00:00
pngwn 4fb3e6cfc5 Add builder to gitignore. 2020-01-24 14:51:28 +00:00
Martin McKeaveney 3bcb6db7f5 removing the package lock files 2020-01-24 14:10:19 +00:00
Martin McKeaveney 173df7191a Merge branch 'master' of github.com:Budibase/budibase 2020-01-24 13:57:19 +00:00
Michael Shanks 0861e11319 updated yarn lock files 2020-01-24 13:20:03 +00:00
Martin McKeaveney 49ed9d0cd9 Merge branch 'master' of github.com:Budibase/budibase 2020-01-23 15:17:19 +00:00
Martin McKeaveney 46a9650f62 v0.0.16 2020-01-23 11:38:11 +00:00
Martin McKeaveney 2978887fa1 removing duplicated node crypto 2020-01-23 10:46:58 +00:00
Martin McKeaveney f15ffa59e3 remove argon and use bcryptjs 2020-01-23 10:32:27 +00:00
Michael Shanks eac855bb71 #48 restructure. Screens in, user components out. _children static concept 2020-01-17 23:06:42 +00:00
dependabot[bot] 5d8d59d456 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 b7db2eb035 merge from master 2019-11-24 06:06:56 +00:00
Michael Shanks 84638a6d65 Getting started for contributors fixed - see readme 2019-11-23 07:28:24 +00:00
Michael Shanks 63b40b21a2 backup yo 2019-11-22 06:28:12 +00:00
Michael Shanks 57bec22461 v0.0.15 2019-11-12 07:15:59 +00:00
Michael Shanks cb6d585f97 build - vew version 2019-11-12 07:15:48 +00:00
Michael Shanks f4d9629fd2 v0.0.14 2019-11-09 08:14:41 +00:00
Michael Shanks a7ecea82ac fixes for getting started... 2019-11-09 08:14:10 +00:00
Michael Shanks accc9e300e cli - new handler respects latestPackagesFolder 2019-11-09 06:34:19 +00:00
Michael Shanks 1d6cecc1c3 cli - new handler respects latestPackagesFolder 2019-11-07 21:46:47 +00:00
Michael Shanks 933a70f3ff v0.0.13 2019-11-05 13:30:53 +00:00
Michael Shanks e878aefb68 rebuild 2019-11-05 13:30:36 +00:00
Michael Shanks ed6bb4bf62 v0.0.12 2019-10-19 07:24:35 +01:00
Michael Shanks 63c865ab7d basic cru app possible 2019-10-19 07:24:20 +01:00
Michael Shanks 75f4c6dd68 backup before an f-up 2019-10-18 17:32:03 +01:00
Michael Shanks 89c6dd04c3 bootstra components - backup before comonen control flow 2019-10-16 05:38:45 +01:00
Michael Shanks 11810d7a74 bootstrap components started... 2019-10-14 08:32:20 +01:00
Michael Shanks 8af94150b1 v0.0.11 2019-10-12 08:31:04 +01:00
Michael Shanks a88b56d3c4 v0.0.10 2019-10-12 07:51:01 +01:00
Michael Shanks 4c3b9e4488 cli working.. 2019-10-12 07:50:32 +01:00
Michael Shanks e3e52ff65d v0.0.9 2019-10-11 19:06:31 +01:00
Michael Shanks dc8e123f5b ignoring test package node_modules from npm publish 2019-10-11 19:05:56 +01:00
Michael Shanks 3ad26dffed v0.0.8 2019-10-11 18:58:13 +01:00
Michael Shanks 3c1114d71a v0.0.7 2019-10-11 18:51:03 +01:00
Michael Shanks 115189f72a v0.0.6 2019-10-11 18:48:09 +01:00
Michael Shanks 3d75263b16 v0.0.5 2019-10-11 18:47:35 +01:00
Michael Shanks 3c02f05d8d v0.0.4 2019-10-11 18:45:26 +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
Michael Shanks aee554383c few bug fixes 2019-10-10 10:41:31 +01:00
Michael Shanks 1716b0ca5b generators seem to be working... 2019-10-10 06:18:02 +01:00
Michael Shanks b4f7ccbbba generators.. 2019-10-07 06:03:41 +01:00
Michael Shanks e283e971ec lots of bugfixes and component changes 2019-10-03 06:12:13 +01:00
Michael Shanks df300daf8d new components not export by index in stanadard-component 2019-09-30 05:21:08 +01:00
Michael Shanks b44fa3aacb bugfix - switching from component to page.. 2019-09-30 04:55:24 +01:00
Michael Shanks b2c3accf82 some bugfixes - ready to start building! 2019-09-29 06:40:06 +01:00
Michael Shanks 08cedd1cc2 refactoring - lodash/fp 2019-09-28 05:28:11 +01:00
Michael Shanks 2c3b4b55ee Event bindings with context, array binding, Table component... 2019-09-27 17:03:31 +01:00
Budibase 52e7f72459 UI Navbar [right] styling
Font styling, and spacing, and alignment changed to reflext recent UI changes.
2019-09-25 20:53:52 +01:00
Michael Shanks 3724d2b873 More event handlers & bug fix 2019-09-24 06:11:02 +01:00
Budibase a318bd2179 Frontend page/component nav changes
Background changed, font styling updated, top nav font styling updated.
2019-09-23 22:22:57 +01:00
marblekirby 7b3e376c60 css guff 2019-09-23 01:04:30 +01:00
marblekirby fb94319964 base analytics and settings 2019-09-23 01:01:27 +01:00
marblekirby 0366ae5bdb base analytics and settings 2019-09-23 00:56:39 +01:00
Michael Shanks 2e6a34c687 state binding working 2019-09-22 05:02:33 +01:00
Michael Shanks 8409deae15 Events and state binding 2019-09-20 08:01:35 +01:00
Michael Shanks d6f1ac0696 reinstated myTextBox.json 2019-09-19 04:41:05 +01:00
Michael Shanks 42588fb34b Merge branch 'master' of github.com:Budibase/budibase 2019-09-19 04:35:49 +01:00
Michael Shanks 70ddecfab0 data binding and stndard componets work 2019-09-19 04:35:40 +01:00
Budibase a06fa47e8a UI changes
UI changes including:
- button restyling
- new font
- nackend nav bar colour changed
- font resizing
- spacing adjusted
2019-09-18 19:16:11 +01:00
Michael Shanks 346ec5c4da renamed _master in packge json 2019-09-12 21:44:16 +01:00
Michael Shanks 5f2865b09a serving files from _shared 2019-09-12 15:55:36 +01:00
Michael Shanks dda4517cb0 Budibase is alive! sort of 2019-09-12 06:10:50 +01:00
Michael Shanks 614e9dbfdd breaking tests 2019-09-11 06:08:39 +01:00
Michael Shanks fc651a10a1 packaging fix 2019-09-11 05:18:00 +01:00
michael shanks c5e6fe001b v0.0.3 2019-09-10 13:07:35 +01:00
michael shanks 2e596be3d1 v0.0.2 2019-09-10 11:48:00 +01:00
Michael Shanks ecb62fb105 package updates .. 2019-09-10 10:37:08 +01:00
Michael Shanks 22bed49a09 packages changes and bugfix 2019-09-10 10:25:13 +01:00
Michael Shanks 5b80366418 package update 2019-09-10 09:45:47 +01:00
Michael Shanks a6f6e75215 package changes 2019-09-10 06:14:45 +01:00
Michael Shanks 4748ce0ed5 package changes 2019-09-10 06:11:46 +01:00
Michael Shanks a2498b6ced packaging stuff 2019-09-10 06:00:19 +01:00
michael shanks 44e85ef573 bug fixing 2019-09-09 21:02:23 +01:00
michael shanks 1f3fed1a6d bugfixes - actions not saving correctly 2019-09-09 08:50:15 +01:00
michael shanks e0abcdaa0e bugfixes. 2019-09-09 05:24:14 +01:00
michael shanks 5ee72b1d87 build app... probably not orking yet.. 2019-09-07 06:50:35 +01:00
michael shanks e383c03435 working on client lib 2019-09-06 13:04:23 +01:00
michael shanks 53287779f2 PageView - editing html 2019-09-03 12:12:24 +01:00
michael shanks b715b2a842 array component 2019-09-03 10:42:19 +01:00
michael shanks bf7afe369d builder layout redesign 2019-08-30 08:25:00 +01:00
michael shanks f633c59aca merge conflicts.. 2019-08-28 22:10:26 +01:00
michael shanks 83dd49bc9a button conflict... 2019-08-28 22:05:24 +01:00
michael shanks ffb603fee4 datastore package updates 2019-08-28 22:02:59 +01:00
michael shanks 2b6a6418ac upgrading packages - removing package-locks (using yarn) 2019-08-27 07:42:44 +01:00
michael shanks ea3e847290 working on standard component 2019-08-27 07:32:56 +01:00
michael shanks 5f0d8ce638 component preview with stylesheeets 2019-08-20 08:24:07 +01:00
michael shanks de3a564cb1 halfway through new layout 2019-08-20 07:24:02 +01:00
michael shanks 573f274f89 component preview sort of working 2019-08-19 21:18:23 +01:00
michael shanks 21224b119b builder ui changes - UI builder in progress 2019-08-07 09:03:49 +01:00
michael shanks ca63769204 backup before blame 2019-08-04 22:21:16 +01:00
michael shanks d27ec9e0a5 working components nav - not styled properly 2019-08-02 14:54:10 +01:00
michael shanks 6cd61a4a63 builder importing core directly! 2019-07-30 09:08:40 +01:00
michael shanks 46062b6f24 rollup changes - backup here 2019-07-30 08:31:07 +01:00
michael shanks 1413ee6f2c searching components 2019-07-28 08:03:11 +01:00
michael shanks 55bf142a95 delete derived component endpoint 2019-07-27 07:43:03 +01:00
michael shanks d70f14d6bc derived components endpoints working 2019-07-27 07:31:31 +01:00
michael shanks af2fc95a6b derived components endpoints 2019-07-26 17:08:59 +01:00
michael shanks ebf5dfeeea get components server endpoint ... tested 2019-07-26 15:13:15 +01:00
michael shanks 4891c6de80 adding in routes for components and pages 2019-07-25 07:31:54 +01:00
michael shanks 4b12a6a193 adding test commands for all packaged that need them 2019-07-21 09:59:30 +01:00
michael shanks 81e5b5659c upgraded dependencies 2019-07-21 09:54:19 +01:00
michael shanks 5a7ef79e49 upgraded dependencies 2019-07-21 09:46:02 +01:00
michael shanks 601755f17a routes for serving UI, now tested 2019-07-19 08:13:39 +01:00
michael shanks 7bc6dfbdd3 all tests passing again after refactor for serving UI 2019-07-18 08:05:16 +01:00
michael shanks 921b31d595 refactoring routes to serve app UIs 2019-07-16 22:14:57 +01:00
michael shanks d52aeb3e95 builder now being served by server 2019-07-15 06:59:46 +01:00
michael shanks 363cbdd6c3 builder now web based and talking to api 2019-07-14 07:46:36 +01:00
michael shanks 13dd99be02 moving builder into web... 2019-07-13 10:35:57 +01:00
michael shanks c279ffc685 testing 2 instances work seperately 2019-07-11 09:43:47 +01:00
michael shanks 98127d6eb8 test app working tf 2019-07-11 07:35:29 +01:00
michael shanks 991bd69671 injecting plugins into child apps 2019-07-09 07:29:50 +01:00
michael shanks 1590b584d4 work on app instances 2019-07-07 09:03:37 +01:00
michael shanks 60deb10b45 creating new apps, instances and users now working 2019-07-05 16:56:53 +01:00
michael shanks 2781a9fabb instance - create user started 2019-07-02 23:15:15 +01:00
michael shanks 7b859e9d3b can deploy versions of apps 2019-07-01 22:49:13 +01:00
michael shanks 66ba4e687f creating new apps ... 2019-06-28 22:59:27 +01:00
michael shanks e321a8b3fa temporary access - passing 2019-06-26 22:29:28 +01:00
michael shanks 80c7df9dae add plugins to master app 2019-06-25 22:48:22 +01:00
michael shanks a782e124e6 tests passing... 2019-06-21 14:00:24 +01:00
michael shanks c2d444f808 fixing bugs..> 2019-06-21 08:42:37 +01:00
michael shanks 923e6c6716 streaming issue... 2019-06-19 22:05:53 +01:00
michael shanks d207d442bb all http endpoints completed (not tested) 2019-06-16 22:17:22 +01:00
michael shanks 89d774bbea filling out server endpoints 2019-06-15 23:55:32 +01:00
michael shanks ff98b4bf4d more session testing 2019-06-14 23:03:01 +01:00
michael shanks 354e0af4aa authentication tests 2019-06-14 17:01:01 +01:00
michael shanks 3f87806899 server - first passing tests 2019-06-14 10:05:46 +01:00
michael shanks 2fc0bc7156 mono repo 2019-06-07 14:18:10 +01:00