Commit Graph

148 Commits

Author SHA1 Message Date
Rory Powell 6fbb5afeec Remove ui events except for component created and view published app 2022-06-06 12:51:22 +01:00
Rory Powell 33f44f6ee7 Remove todos 2022-06-06 11:11:13 +01:00
Rory Powell 3e5e95a9c1 Add analytics to backend-core. Update server posthog usage 2022-03-25 13:04:34 +00:00
Rene Pot 6e0b29667d fix broken docs links 2022-03-23 14:47:27 +01:00
mike12345567 0716df5098 Fixing issue with CLI not updating proxy images. 2022-02-11 12:32:57 +00:00
Martin McKeaveney 7fb9b33f6c remove more references to envoy 2022-02-01 11:02:37 +01:00
Martin McKeaveney b841b41e29 update watchtower port to 6161 2021-08-23 21:48:03 +01:00
Martin McKeaveney 324f64c790 lint 2021-08-23 16:38:09 +01:00
Martin McKeaveney 4dff1a34ac posthog cloud config 2021-08-23 15:42:00 +01:00
Martin McKeaveney 0fb566a3dd allow users to override watchtower port 2021-08-20 09:47:08 +01:00
mike12345567 3873d12476 Formatting. 2021-05-24 16:20:28 +01:00
mike12345567 b7f739d54a Logging and adding better messaging around startup. 2021-05-24 14:58:54 +01:00
mike12345567 148cf87224 Cleanup after testing/looking through hosting files. 2021-05-20 12:21:58 +01:00
Martin McKeaveney e6aa34afb5 fix analytics code 2021-05-20 10:26:23 +01:00
Martin McKeaveney 6817ceb3f6 hard coding posthog api key 2021-05-19 21:41:56 +01:00
Martin McKeaveney 562b0cc40a tidy up 2021-05-11 19:54:01 +01:00
mike12345567 8e1f18e456 Changing INTERNAL_KEY to INTERNAL_API_KEY. 2021-05-11 15:23:03 +01:00
mike12345567 7736869148 Some updates, working towards supporting automation send smtp email also removing the styling template, adding to base. 2021-05-11 12:02:29 +01:00
mike12345567 08c158c121 Adding a redis client to the auth system, as part of work towards the reset password flow. 2021-04-27 17:29:05 +01:00
Martin McKeaveney 7bc7fc7e7d lint 2021-03-30 11:50:49 +01:00
Martin McKeaveney a4486fff4c adding distinct CLI id to hosting 2021-03-30 11:04:13 +01:00
Martin McKeaveney 1c10c42c9d tidy up 2021-03-30 10:51:37 +01:00
Martin McKeaveney e2b26ffa9c adding abstraction for config manager 2021-03-30 10:50:42 +01:00
Martin McKeaveney 412f727347 analytics client 2021-03-29 17:40:17 +01:00
Martin McKeaveney 306d29d870 redis, tidy ups 2021-03-22 16:18:29 +00:00
mike12345567 c22aeb69d8 Setting up budi CLI for NPM as well. 2021-03-19 10:50:25 +00:00
mike12345567 356878a6cb Removing use of env file, was causing issues, just parsing the env variables directly. 2021-03-19 10:29:43 +00:00
mike12345567 8549764db4 Adding a digital ocean startup init process which makes use of the user_data system. 2021-03-19 10:02:29 +00:00
mike12345567 87918fd55c Updating the CLI to have a fast init method, this will make using it for DO much much easier. 2021-03-18 18:26:41 +00:00
mike12345567 43348c94ee Fixing major issue discovered by Cheeks, the tense of language was not correct. 2021-03-01 18:04:30 +00:00
mike12345567 9b33bbdb3a Formatting. 2021-02-26 17:09:20 +00:00
mike12345567 3669e59bc3 Updating for consistent use of chalk and logs, as well as adding an option to update docker-compose and envoy files. 2021-02-26 17:08:28 +00:00
mike12345567 b22684163c Updating with pkg to make the CLI run anywhere easily. 2021-02-26 15:09:25 +00:00
mike12345567 a2ce1be37a Finishing up init with config building rather than downloading. 2021-02-26 13:48:11 +00:00
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