Commit Graph

396 Commits

Author SHA1 Message Date
Martin McKeaveney b0599fc9c4 posthog analytics 2020-07-13 17:12:54 +01:00
Kevin Åberg Kultalahti b5ae3a280a
Merge pull request #399 from Budibase/features/edit-application-info
Features/edit application info
2020-07-02 12:14:31 +02:00
Michael Shanks abb14214db backend - routing based on models 2020-06-30 14:12:37 +01:00
kevmodrome 712e3ffea0
change appname to name in builderStore 2020-06-29 17:01:10 +02:00
Martin McKeaveney fb382329b8 lint 2020-06-25 22:43:10 +01:00
Martin McKeaveney 6ef4ba086c data model rewrite 2020-06-25 22:34:38 +01:00
Martin McKeaveney 48f3392152 record keys as names 2020-06-25 20:04:58 +01:00
Martin McKeaveney b07f608ffe merge 2020-06-25 18:32:51 +01:00
Martin McKeaveney 6cdd933d09
Merge pull request #367 from Budibase/backend-ui-update
Backend ui update
2020-06-24 17:33:22 +01:00
Martin McKeaveney e42c807ded tidy up 2020-06-24 17:19:12 +01:00
Martin McKeaveney ee86d6fb16 update when linked field added 2020-06-24 16:56:13 +01:00
Conor_Mack fcff2d928a Cypress Tests and Discussion Resolves 2020-06-24 16:16:06 +01:00
Martin McKeaveney 1f2c1a06aa lint 2020-06-24 16:12:55 +01:00
Martin McKeaveney 2c764a787c custom notifications solution 2020-06-24 16:10:54 +01:00
Martin McKeaveney 01d7f80e7b custom notifications, models + fields keyed by ID 2020-06-24 12:41:26 +01:00
Martin McKeaveney 3c3104be7b enable renaming of records by using IDs 2020-06-23 23:26:54 +01:00
Martin McKeaveney afcc80ab9d improvements to linked records 2020-06-23 13:50:45 +01:00
Conor_Mack 6eebeb6692
Merge branch 'master' into builder/consolidating-missing-code 2020-06-23 11:21:31 +01:00
Martin McKeaveney 6adb2a72e0 merge 2020-06-22 22:39:41 +01:00
Michael Shanks e4c19bd9fd bugfix: workflow still passing instanceId to api() 2020-06-20 20:30:00 +01:00
Michael Shanks 4dcd482a4f instance Id is gone from API module 2020-06-19 17:19:30 +01:00
Martin McKeaveney 099e394270 lint 2020-06-18 17:55:46 +01:00
Martin McKeaveney 7c4f24c1b4 backend v1 - styling to do 2020-06-18 17:17:18 +01:00
Michael Shanks bf952f8677 instanceid removal 2020-06-18 16:59:31 +01:00
Martin McKeaveney 6e187943c4 Merge branch 'master' of github.com:Budibase/budibase into backend-ui-update 2020-06-18 09:16:43 +01:00
Martin McKeaveney 5f8d6bbfe4 add new models and fields, delete models 2020-06-17 16:51:10 +01:00
Martin McKeaveney 374a6b4bc6 new model creation, requires styling and CSS updates 2020-06-16 20:53:13 +01:00
Martin McKeaveney 987135f7b4 saving of models and fields 2020-06-16 20:29:18 +01:00
Conor_Mack 903e6331a4 Lint fix 2020-06-15 18:39:10 +01:00
Martin McKeaveney 48f6ac2b98 structuring new backend UI 2020-06-15 16:41:31 +01:00
Conor_Mack 8b99546326 Instance naming fix for components and screens 2020-06-15 16:01:24 +01:00
Michael Shanks bf1da9e94e removal of appRoot - appId comes in cookie 2020-06-12 20:42:55 +01:00
Conor_Mack 2b0436eb99 Merge branch 'master' of https://github.com/Budibase/budibase into builder/consolidating-missing-code 2020-06-12 13:40:27 +01:00
Michael Shanks c5c8309b09 bugfix - screen/page > settings throwing error 2020-06-12 12:15:17 +01:00
Conor_Mack 32ff7a5c89 Instance name for components and screens 2020-06-11 16:15:09 +01:00
Martin McKeaveney eff761053c
Revert "Fixes for Screen and Page Props" 2020-06-09 19:18:45 +01:00
Conor_Mack 50f4007d0d Refactorings for page and settings props 2020-06-09 10:59:15 +01:00
Conor_Mack 9ab0cedff2 Screen and page latest 2020-06-03 21:36:36 +01:00
Martin McKeaveney 98050f4c2a
Revert "Settings for Pages and Screens" 2020-06-03 21:10:48 +01:00
Martin McKeaveney e4cc5656ae
Merge pull request #316 from Budibase/fix-user-agent
use custom user agent header
2020-06-03 20:58:03 +01:00
Martin McKeaveney e74c685956 lint 2020-06-03 20:44:35 +01:00
Martin McKeaveney 0482bc242c fix some other auth bugs 2020-06-03 20:35:30 +01:00
Conor_Mack 058b31b397 Merge branch 'master' of https://github.com/Budibase/budibase into property-panel/screen-and-page-props 2020-06-03 19:48:35 +01:00
Martin McKeaveney 07cf98b0de use custom user agent header 2020-06-03 19:35:04 +01:00
Michael Shanks 47162d806b logic to not use builder:token for apps running in dev 2020-06-03 17:05:36 +01:00
Conor_Mack 65ee282a2c Screen and page latest 2020-06-03 16:19:04 +01:00
Michael Shanks 44cc7eab0e deleting a value in design causes styles to be lost 2020-06-02 12:41:52 +01:00
Martin McKeaveney be3ebf1982
Merge pull request #288 from Budibase/model-fixes
model bugfixes
2020-06-02 11:46:38 +01:00
Martin McKeaveney d932670d7e model bugfixes 2020-06-02 11:40:33 +01:00
Conor_Mack aaf55b7f70
Merge pull request #286 from Budibase/property-panel/components-from-design
Property panel components upgrade
2020-06-02 11:22:52 +01:00
Michael Shanks be28e2dcdd
Merge pull request #287 from mjashanks/master
Bugfixes
2020-06-02 11:20:36 +01:00
Conor_Mack 53a55e2824 Lint and testing 2020-06-02 11:19:22 +01:00
Michael Shanks 2cfbd2afeb wee typo 2020-06-02 11:16:30 +01:00
Martin McKeaveney 461187cf16
Merge pull request #279 from Budibase/workflow-v1
Workflow v1
2020-06-02 11:15:34 +01:00
Michael Shanks 9b31da4632 bugfix: #284 styles not applied on component copy 2020-06-02 11:11:53 +01:00
Conor_Mack 2c407d4da7 Merge branch 'master' of https://github.com/Budibase/budibase into property-panel/components-from-design 2020-06-02 10:51:57 +01:00
Michael Shanks fea0203096 bugfix: data not loading on default view 2020-06-02 10:43:48 +01:00
Michael Shanks 5b8625824f open create model dialog if no models 2020-06-02 09:56:22 +01:00
Michael Shanks 57a917f9d9 auto select first model on startup 2020-06-02 09:36:21 +01:00
Michael Shanks 9b55870c24 auto select model after creation 2020-06-02 07:56:50 +01:00
Joe c1aaeffaec Formatting update 2020-06-01 21:34:03 +01:00
Martin McKeaveney ba38385d72 lint + format 2020-06-01 21:31:55 +01:00
Martin McKeaveney aeae4f50e2 tidy up 2020-06-01 21:26:32 +01:00
Joe 6cd94db367 Padding and margin fix 2020-06-01 21:18:43 +01:00
Conor_Mack 93ab8659ed Property panel updates 2020-06-01 16:31:58 +01:00
Martin McKeaveney 398f200661 merge 2020-06-01 16:27:27 +01:00
Martin McKeaveney cb1fb87d21 server side workflows 2020-06-01 16:22:13 +01:00
Michael Shanks dd6e4a3d97 lint:fix & forman 2020-06-01 12:15:44 +01:00
Michael Shanks 38b471d1bf refactor component menu actions inside control 2020-06-01 12:12:25 +01:00
Martin McKeaveney 2e42f8033e workflow DAO tests 2020-06-01 11:52:15 +01:00
Michael Shanks 5b085d0640 few bugfixes 2020-06-01 11:04:32 +01:00
Martin McKeaveney a220822e3a move workflow to array data structure 2020-06-01 10:41:28 +01:00
Michael Shanks c87ddade50 component nav dropdown menu 2020-06-01 10:18:45 +01:00
Martin McKeaveney dc90e141f5 server side event emitter 2020-05-31 17:12:52 +01:00
Martin McKeaveney 65d0161007 orchestrator refactor, user creation block 2020-05-30 13:41:46 +01:00
Martin McKeaveney 385bcfe51f styling, bug fixes, client library state updates 2020-05-29 16:06:23 +01:00
Martin McKeaveney bba7b93b75 refactor client library 2020-05-29 14:06:36 +01:00
Martin McKeaveney 50a582a726 make alerts live, more hooks, app notifications 2020-05-28 23:32:03 +01:00
Martin McKeaveney a3bebe3330 adding workflow blocks, parameter parsing, templating 2020-05-28 20:20:03 +01:00
Martin McKeaveney 08d0b9cb94 workflow UI, orhestrator for executing workflows 2020-05-27 21:51:32 +01:00
Martin McKeaveney e3271bf765 Merge branch 'master' of github.com:Budibase/budibase into workflow-v1 2020-05-27 10:13:42 +01:00
Conor_Mack 0876338ce2 New jest tests for generate-css 2020-05-26 14:27:33 +01:00
Conor_Mack 1bf57c7873 linter formatting 2020-05-26 10:19:04 +01:00
Conor_Mack d250d61c62 Completed CSS Selector Styling 2020-05-25 15:23:56 +01:00
Martin McKeaveney 21b1165463 workflow charts 2020-05-22 16:32:23 +01:00
Conor_Mack dd14dd6de2 Change of structure for _styles 2020-05-22 15:30:29 +01:00
Martin McKeaveney 6f3ad884db workflow UI with DnD 2020-05-21 21:40:16 +01:00
Conor_Mack a4c65eb803 Stable property panel 2020-05-21 14:28:32 +01:00
Conor_Mack bba1de1df8 Building components settings and refactoring 2020-05-19 17:00:53 +01:00
Conor_Mack 5b8d1cead7 Testing Complete - Resolve Post Issue 2020-05-18 16:32:00 +01:00
Martin McKeaveney aaa46272bf fixing lint errors 2020-05-18 14:08:32 +01:00
Martin McKeaveney 9e4d99851a fix builder component library loading issue 2020-05-18 14:06:14 +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
Michael Shanks b62449bf96 removing clientId from frontend, fixing invalid database name 2020-05-18 06:40:29 +01:00
Michael Shanks 18375a6d19 server tests in-memory and passing 2020-05-14 15:12:30 +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 ec6390a36a added model props 2020-05-07 14:59:06 +01:00
Martin McKeaveney c255883aed formatting + fixing builder tests 2020-05-07 10:53:34 +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 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
kevmodrome 7b77195d16 adds method on store to get path of IDs to component 2020-05-04 10:26:38 +02: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
Martin McKeaveney 588fe5ebaa clientId fetching before app load, custom views, fixed schema 2020-04-28 14:39:35 +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
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
kevmodrome eb9337ccd0 Merge branch 'master' into bugfix/change-record-and-index 2020-04-14 16:07:57 +02:00
Conor_Mack b04cd0f49c Merge branch 'master' of https://github.com/Budibase/budibase into material-des-builder-testing 2020-04-14 14:15:58 +01:00
Conor_Mack d5e1842b98 All latest changes coming from the builder testing 2020-04-14 14:15:32 +01:00
kevmodrome 50abaa4988 change isRecord to isModel 2020-04-14 12:03:22 +02:00
kevmodrome 2ac1bcdcba update more names from record to model 2020-04-14 11:25:37 +02:00
kevmodrome d7a4458488 change name from allowedRecordNodeIds to allowedModelNodeIds 2020-04-14 11:19:14 +02:00
kevmodrome 449b6c9c78 remove unused variable 2020-04-14 11:11:50 +02:00
kevmodrome b8a652e2ca updates tests and method names to getNewModelTemplate method 2020-04-14 10:49:10 +02:00
kevmodrome fb74982055 changes name of backend store method 2020-04-14 10:25:57 +02:00
kevmodrome c0c7cd19e1 changes front-end to use new store method names 2020-04-14 10:24:33 +02:00
kevmodrome 114a629cf1 fixes store actions to use correct appname 2020-04-13 12:59:29 +02:00
kevmodrome bdc8297d68 tidyup 2020-04-06 17:46:08 +02:00
kevmodrome 1f4e5339e4 implements new modal component for access level modal and create database modal 2020-04-06 15:42:32 +02:00
kevmodrome 3a1d556791 wip: changes initialise function to getPackage and runs once you select application instead of at run-time. 2020-04-02 16:27:19 +02:00
kevmodrome f827e8d9aa wip: add back root routify index page 2020-04-02 15:16:46 +02:00
Michael Shanks 868d6112e8 Merge branch 'feature/builder-organization' of https://github.com/kevmodrome/budibase into kevmodrome-feature/builder-organization 2020-04-02 07:54:02 +01:00
Michael Shanks ecc649180f better naming of default child view 2020-04-02 06:29:31 +01:00
kevmodrome 31f5a1414b changes from node_modules to using rollup-plugin-alias, fixes tests 2020-04-01 12:38:07 +02:00
kevmodrome 87cd19bd92 wip: move components to node_modules folder for easier importing 2020-03-31 11:50:13 +02:00
Martin McKeaveney 52cd19a046 error recovery notification banner 2020-03-30 21:14:41 +01:00
Martin McKeaveney ec0d8bd142 formatting 2020-03-27 16:58:32 +00:00
Michael Shanks 275e17a90d rebuild page code when templated component added 2020-03-27 15:28:33 +00:00
Martin McKeaveney 00eb3ce13a write access levels 2020-03-27 14:49:51 +00:00
Martin McKeaveney 5c7e603a5e rename record 2020-03-27 10:32:37 +00:00
Martin McKeaveney d48c311564 drilldown complete, deleting model fields 2020-03-26 17:39:42 +00:00
Martin McKeaveney f0a584a20a make it easy for users to create children 2020-03-25 21:47:17 +00:00
Michael Shanks 9ee636092a validation for delete index and records 2020-03-25 16:57:04 +00:00
Michael Shanks ca6c3d182a evict packages from cache on SaveBackend 2020-03-25 12:38:04 +00:00
Michael Shanks ecf5015c36 default index name - dont use collectionName
(collectionName is now a number)
2020-03-25 11:31:58 +00:00
Martin McKeaveney 0d0685cd48 bug fixes= 2020-03-25 10:59:47 +00:00
Martin McKeaveney 88db9bbc02 tidy up 2020-03-24 19:59:30 +00:00
Martin McKeaveney 30e33b7ee0 reactive model data table 2020-03-24 16:17:46 +00:00
Michael Shanks 3a2c961947 bugfix: views duplicated 2020-03-24 10:57:54 +00:00
Martin McKeaveney 00d2b9d908 started drilldown 2020-03-23 14:15:09 +00:00
Martin McKeaveney df100f503d more cleanup 2020-03-22 13:10:55 +00:00
Martin McKeaveney 23ebb529ad tidy up 2020-03-22 13:05:58 +00:00
Martin McKeaveney de9a7f9005 moving more backend stuff into other store actions file 2020-03-22 11:36:05 +00:00
Martin McKeaveney e29dba096c table enhancements 2020-03-22 09:21:18 +00:00
Martin McKeaveney 5adff4a6a3 enhanced modals 2020-03-21 20:39:37 +00:00
Martin McKeaveney 9c7fbdd3e6 adding, deleting and editing records working 2020-03-20 18:47:01 +00:00
Martin McKeaveney db6135e801 moving code from main store to backend file 2020-03-16 18:54:48 +00:00
Martin McKeaveney 4678f2c168 UI structure 2020-03-12 14:23:49 +00:00
Martin McKeaveney 8c983192e6 iterate over package app instances 2020-03-12 14:23:49 +00:00
Martin McKeaveney 2e77e6dc58 new backend beginnings 2020-03-12 14:23:49 +00:00
Michael Shanks a286385e57 bugfixes... incorrect routing from builder to instances 2020-03-11 16:42:19 +00:00
Martin McKeaveney 7c55007c4e remove commented code 2020-03-07 23:52:47 +00:00
Martin McKeaveney e6fbdc2646 icons instead of text 2020-03-06 17:00:54 +00:00
Martin McKeaveney 236679dc56 logrocket analytics 2020-03-04 16:47:47 +00:00
Michael Shanks fad9337af9 bugfix: css not applied after template component added 2020-03-04 12:43:02 +00:00
Michael Shanks 34f74d5d20 bugfix: create screen > components not displayed 2020-03-04 12:13:50 +00:00
Martin McKeaveney bf365abaa8 more UI tidy up 2020-02-26 18:16:31 +00:00
pngwn 8ab75549a2 Rename detailProp to metadataProp 2020-02-26 12:45:20 +00:00
pngwn b0efaac0f6 Make page and screen props editable. 2020-02-26 10:26:19 +00:00
Michael Shanks df472e8ca1 Merge branch 'master' of github.com:Budibase/budibase 2020-02-25 17:06:00 +00:00
Michael Shanks 071c0ebb40 custom code - added "route" param 2020-02-25 16:01:23 +00:00
Martin McKeaveney 0d0f635db4 eslint tidy up 2020-02-25 15:46:04 +00:00
Michael Shanks 3a98e23ffb bugfix: create new screen exception 2020-02-25 10:01:26 +00:00
Martin McKeaveney a8311cc3a3 switch prop on component selection 2020-02-24 23:23:33 +00:00
Michael Shanks 6f234706af bugfix: custom code not getting attached poperly 2020-02-24 14:56:11 +00:00
Michael Shanks 503816bc7e bugfix - css not sent for all screens 2020-02-24 11:05:52 +00:00
Michael Shanks 1a1a9e81e0
Merge pull request #121 from shogunpurple/state-management-v2
State management v2
2020-02-23 22:16:56 +00:00
Michael Shanks 0902febc00 uiFunctions receive state and routeParams 2020-02-21 23:01:16 +00:00
Martin McKeaveney 412aa6739f state management bindings 2020-02-21 15:44:48 +00:00
Michael Shanks 8777f7e9f8 Merge branch 'master' of github.com:Budibase/budibase 2020-02-21 11:43:41 +00:00
Michael Shanks 546dd05718 bugfix: generate css on screen change 2020-02-21 09:27:43 +00:00
Martin McKeaveney b46d33ad59
Update store.js 2020-02-20 21:21:16 +00:00
Michael Shanks f2e6ac0145 merge conflicts from peter/tweaks 2020-02-20 17:11:41 +00:00
Michael Shanks c9191f408f store method for save page or screen (context dependant) 2020-02-20 17:08:17 +00:00
Michael Shanks d31d8c8e7e added height and width as positioning options 2020-02-20 17:07:25 +00:00
Michael Shanks cd829182f9 component templates 2020-02-19 21:38:21 +00:00
Michael Shanks d072c356ef bugfix: component libraries loaded incorrectly 2020-02-19 13:58:06 +00:00
Michael Shanks c9143a801f reording and duplication of components 2020-02-19 10:17:31 +00:00
Michael Shanks 6ee72d7301 bug in store - insertCodeMetadata import vanished 2020-02-18 21:22:43 +00:00
Martin McKeaveney 8b64c64bab removed generators, added simple presets to standard components 2020-02-18 20:35:43 +00:00
Michael Shanks 83953922d7
Merge branch 'master' into 98-builtin-slot 2020-02-18 17:11:46 +00:00
pngwn 2396702c08 Remove more logs 2020-02-18 17:05:08 +00:00
Michael Shanks 7d9d15c783 #94 Remove component from hierarchy 2020-02-18 16:51:28 +00:00
pngwn 063cb0f41f Add screenslot to current preview. 2020-02-18 15:53:22 +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
pngwn 4a62525949 Add builtin slot to list 2020-02-18 10:32:00 +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 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
Martin McKeaveney 5729f46ae6 final tidy up 2020-02-12 10:12:54 +00:00
Martin McKeaveney 175002d178 unit tests 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