Commit Graph

880 Commits

Author SHA1 Message Date
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 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 f3c54efa03 change name of index to view in view modal 2020-04-14 12:21:42 +02:00
kevmodrome 58d42c4be6 remove unused import in test 2020-04-14 12:11:54 +02:00
kevmodrome 672bd8b945 update record to model in core 2020-04-14 12:07:21 +02: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 2abae65cd2 moved unused component and updated records to model 2020-04-14 11:09:44 +02:00
kevmodrome 482089f3be fix import errors 2020-04-14 11:04:03 +02:00
kevmodrome 923b005e1d removed unneeded component 2020-04-14 11:02:06 +02:00
kevmodrome 7c6333fca5 updates ModelView to use model instead of record 2020-04-14 10:58:56 +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 250de10a25 update SchemaManagementDrawer and HierarchyRow 2020-04-14 10:20:53 +02:00
kevmodrome 3b09ae82c1 fixes list of apps not having the correct path in all situations 2020-04-13 16:09:53 +02:00
kevmodrome e4571bfbc3 update forms to not submit on button click 2020-04-13 15:46:16 +02:00
kevmodrome 52dbc7e62a makes sure the frontend selects a database when navigated to 2020-04-13 12:59:46 +02:00
kevmodrome 114a629cf1 fixes store actions to use correct appname 2020-04-13 12:59:29 +02:00
kevmodrome 7df7236ea1 cleanup rollup config 2020-04-13 12:59:00 +02:00
kevmodrome 0778487020 border-radius fix 2020-04-09 13:49:30 +02:00
kevmodrome b03ba33bc4 missing import fix 2020-04-09 13:47:54 +02:00
kevmodrome f830d81b28 styling fixes 2020-04-09 13:47:47 +02:00
kevmodrome 6e91342ed3 fix small bug where database was not shown on refresh 2020-04-09 11:06:32 +02:00
kevmodrome 5480597b4d fix redirect issues when refreshing page 2020-04-09 10:55:47 +02:00
kevmodrome 6a0813ac01 fix hierarchy view not opening the correct modal 2020-04-09 10:22:02 +02:00
kevmodrome 7998d95be0 change topnav back for now 2020-04-09 10:16:15 +02:00
kevmodrome 9efc4394e7 fix SchemaManagementDrawer modals 2020-04-09 10:13:06 +02:00
kevmodrome a065a4399d update routify to beta 40 and set up correct basepath for application, also fixes some links 2020-04-09 09:04:09 +02:00
kevmodrome 627880c69a Merge branch 'master' of github.com:Budibase/budibase into feature/routify 2020-04-08 10:38:57 +02:00
Martin McKeaveney 80c9b687fb
Merge pull request #202 from shogunpurple/screenslot
show screenslot and layout together
2020-04-06 19:17:15 +01:00
Martin McKeaveney 77b8f8fa8e show screenslot if there's no screens 2020-04-06 17:06:04 +01:00
kevmodrome bdc8297d68 tidyup 2020-04-06 17:46:08 +02:00
kevmodrome 4533258c4a fix styling issue 2020-04-06 17:12:11 +02:00
kevmodrome 81b57b1a91 remove unused page content 2020-04-06 17:04:45 +02:00
kevmodrome 5b2b4a9aa1 Merge branch 'master' of github.com:Budibase/budibase into feature/routify 2020-04-06 17:01:08 +02:00
kevmodrome c2f3cb4fb1 remove unused functions and imports 2020-04-06 16:56:10 +02:00
kevmodrome 6c4e7a4de7 convert modelcreator and vieweditor to new modal 2020-04-06 16:51:17 +02:00
kevmodrome 09edd6ba3e convert delete modal to new type 2020-04-06 16:44:53 +02:00
kevmodrome 0d4c05c588 convert edit modal to use new modal 2020-04-06 16:38:33 +02:00
kevmodrome e2178060a3 remove console.log 2020-04-06 16:04:39 +02:00
kevmodrome 7e6b6051f9 moves createrecord component to use new modal 2020-04-06 16:02:45 +02:00
kevmodrome 83c109612c convert createuser component to use new modal 2020-04-06 15:53:32 +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 d09f16a147 adds svelte-simple-modal 2020-04-06 15:41:31 +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
kevmodrome c91cf10508 remove unused import 2020-04-06 11:23:32 +02:00
kevmodrome 2d004e9c0b remove unused imports 2020-04-06 11:04:36 +02: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
kevmodrome 8c1fe29188 Merge branch 'master' of github.com:Budibase/budibase into feature/routify 2020-04-06 10:41:09 +02: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
kevmodrome 0bc485cf80 remove AccessLevelsRoot, moved to Route page component 2020-04-06 10:06:02 +02:00
kevmodrome 600c3e61b3 remove unused files in the src/root directory that have been converted to route pages 2020-04-06 10:02:54 +02:00
kevmodrome 9708e37ac9 style fix that was not merged correctly 2020-04-06 09:07:53 +02:00
kevmodrome 2245867bef move modal view to backend page layout 2020-04-06 08:15:29 +02:00
kevmodrome 2c37f524f9 Merge branch 'master' of github.com:Budibase/budibase into feature/routify 2020-04-06 07:47:35 +02:00
Joe 433f2afe43 Update PagesList.svelte 2020-04-03 14:26:07 +01:00
Martin McKeaveney ac592c64ab remove debug line 2020-04-03 12:58:28 +01:00
Martin McKeaveney 2fa34a00b3 fixing record saving bug 2020-04-03 12:56:17 +01:00
kevmodrome 675c106d8b wip: adds frontend view 2020-04-03 11:36:35 +02:00
kevmodrome b061c2a335 adds back no db selected view 2020-04-03 11:36:16 +02:00
kevmodrome a78056f6b5 fix autoselecting to sync with url 2020-04-03 11:27:35 +02:00
kevmodrome 13dba18215 use params to select DB rather than store 2020-04-03 11:21:11 +02: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
kevmodrome d3a707956f removes unused code in NavItem component 2020-04-02 18:23:53 +02:00
kevmodrome 8ba86adbc9 update backendNav to use routify 2020-04-02 18:23:05 +02:00
kevmodrome 1b52077738 update routify index options 2020-04-02 18:18:31 +02:00
Joe b8788b187f Changes to page layout in navbar
Also changed 12px fonts to 13px fonts
2020-04-02 17:11:38 +01:00
kevmodrome b533377067 update routify 2020-04-02 18:10:08 +02:00
Michael Shanks 79f47da4ef Merge branch 'master' of github.com:Budibase/budibase 2020-04-02 16:37:40 +01:00
Michael Shanks a657076397 "Master Layout" > "Page Layout" .. and moved above screens 2020-04-02 16:37:22 +01:00
kevmodrome 1349082fc6 use local param instead of global params on application page 2020-04-02 17:01:19 +02:00
kevmodrome 1982c3f21f update loading state to empty div, might need a loading state 2020-04-02 16:40:14 +02:00
kevmodrome 451ea31fa6 wip: database and user access level pages to work with new routing 2020-04-02 16:29:09 +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
Joe 8a95124e74
Merge pull request #192 from Budibase/style-update-to-backend-primary-screen
Styling changes
2020-04-02 15:14:26 +01:00
Joe 203247f5d3 Styling changes
Font stlyes changed
Margin revised
Table fonts updated
Select component updated
2020-04-02 15:11:27 +01:00
kevmodrome f827e8d9aa wip: add back root routify index page 2020-04-02 15:16:46 +02:00
Conor_Mack 1100e33835 merge 2020-04-02 13:02:29 +01:00
Conor_Mack 9378510e5a MD Button, Icon and Font Changes 2020-04-02 12:56:21 +01:00
Joe df18745c6d Update to title spacing 2020-04-02 12:28:07 +01:00
Joe 3f8dfcde68 Update 2020-04-02 12:26:46 +01:00
Joe 5fd26398d5 database nav section updated
title change
spacing fixed
delete icon aligned right
2020-04-02 12:25:42 +01:00
Joe b5a6908194
Merge pull request #188 from Budibase/minor-styling-changes-to-schema-nav-bar
minor styling changes to schema nav bar
2020-04-02 12:11:54 +01:00
Joe 2ff2d962a2 minor styling changes to schema nav bar
background color changed to white
title font changed to reflect mockups
spacing updated
2020-04-02 11:41:21 +01:00
Michael Shanks 0619ab71db Renamed "User Level" > "User Acceee Level" 2020-04-02 11:13:26 +01:00
Kevin Åberg Kultalahti 232331766e
fixes builder path issue 2020-04-02 11:44:42 +02:00
Michael Shanks 6bf9275cfa
Merge pull request #100 from Budibase/dependabot/npm_and_yarn/packages/core/handlebars-4.7.3
Bump handlebars from 4.1.2 to 4.7.3 in /packages/core
2020-04-02 09:19:34 +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 f0be216840 Merge remote-tracking branch 'upstream/master' into feature/builder-organization 2020-04-02 08:56:10 +02:00
Michael Shanks f771db5915 bugfix: records&indexs badly named in UI
(due to previous collectionName change)
2020-04-02 06:55:11 +01:00
Michael Shanks 5209c6443c datatable: terminology updated: index > view 2020-04-02 06:30:20 +01:00
Michael Shanks ecc649180f better naming of default child view 2020-04-02 06:29:31 +01:00
Michael Shanks 84d145026b bugfix: database upgrade broken when field added 2020-04-02 06:21:52 +01:00
kevmodrome 1d4a3c7179 fixed missing/broken imports 2020-04-01 12:55:21 +02:00
kevmodrome d29c865ccd Merge remote-tracking branch 'upstream/master' into feature/builder-organization 2020-04-01 12:47:36 +02:00
kevmodrome 31f5a1414b changes from node_modules to using rollup-plugin-alias, fixes tests 2020-04-01 12:38:07 +02:00
Martin McKeaveney 7cdae881dc choose first db if none selected 2020-04-01 10:17:03 +01:00
Martin McKeaveney 86b5a475d6
Merge pull request #186 from shogunpurple/delete-databases
Delete databases
2020-04-01 06:09:20 +01:00
Martin McKeaveney 77f707949c change icon 2020-03-31 18:11:12 +01:00
Martin McKeaveney fccd90d64d tidy up 2020-03-31 17:58:47 +01:00
Martin McKeaveney c0bd5f2fbb ability to delete databases 2020-03-31 17:53:34 +01:00
Michael Shanks 0648ec7dff v0.0.29 2020-03-31 16:33:40 +01:00
Michael Shanks 85dfaee3a0 temporary bugfix, links on homepage broken for 4001 2020-03-31 16:33:23 +01:00
Michael Shanks 80fec01c8f v0.0.28 2020-03-31 14:44:04 +01:00
kevmodrome 093ca7eecb updates imports and finishes moving all commonly used files to the node_modules folder 2020-03-31 13:16:03 +02:00
kevmodrome 751c703671 wip: re-configures top level components to import from correct place 2020-03-31 11:56:39 +02:00
kevmodrome 87cd19bd92 wip: move components to node_modules folder for easier importing 2020-03-31 11:50:13 +02:00
kevmodrome 29850039ac update gitignore file 2020-03-31 11:42:21 +02:00
Conor_Mack bc7fc1b824 removing debuggers 2020-03-31 10:27:29 +01:00
Conor_Mack 3087e4a162 Merge branch 'master' of https://github.com/Budibase/budibase into bugfix/md-reference-bb-apis 2020-03-31 10:23:07 +01:00
Conor_Mack 336925ea56 Bugfix: datepicker needed to pass _bb down to the textfiel 2020-03-31 10:22:23 +01:00
Martin McKeaveney 6e9ae788b5 remove import 2020-03-30 21:21:18 +01:00
Martin McKeaveney 52cd19a046 error recovery notification banner 2020-03-30 21:14:41 +01:00
Joe ff0fe2cba5
Merge pull request #176 from shogunpurple/ui-updates
improved backend drilldown paths
2020-03-30 13:41:48 +01:00
Conor_Mack c09544923d Tidyup 2020-03-30 13:09:36 +01:00
Martin McKeaveney 77ccccb8c8 improved backend drilldown paths 2020-03-30 11:57:22 +01:00
Conor_Mack 545ebd0cf2 Merge 2020-03-30 11:30:35 +01:00
Conor_Mack d157165e34 Updating material components to reference bb apis properly 2020-03-30 11:20:55 +01:00
Michael Shanks 6b355551d0 bugfix - weird field table layout bug when > 4 fields
...hence remove unecessary ActionsHeader
2020-03-29 07:43:14 +01:00
Michael Shanks 9c3ba00ea1 bugfix: ModelView field "Values" not always defined 2020-03-29 07:29:25 +01:00
Michael Shanks 90b3ca54e0 bugfix: datetime fields usable 2020-03-29 07:28:44 +01:00
Michael Shanks dfe797015b Merge branch 'new-backend' 2020-03-28 06:43:02 +00:00
Michael Shanks fbfca2370b bugfix: better logging on create user error 2020-03-28 06:40:01 +00:00
Michael Shanks 946c79df53 bugfix: clearing sessions on backend update 2020-03-28 06:39:22 +00:00
Martin McKeaveney ec0d8bd142 formatting 2020-03-27 16:58:32 +00:00
Martin McKeaveney 545694d3a8 merge conflicts 2020-03-27 16:58:01 +00:00
Michael Shanks 275e17a90d rebuild page code when templated component added 2020-03-27 15:28:33 +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
Martin McKeaveney 220f128d84 Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-27 12:39:13 +00:00
Martin McKeaveney e1d1be1e1a showing correct front end elements for selected database 2020-03-27 12:38:27 +00:00
Michael Shanks 51caa55f4b create/edit record - supports field types 2020-03-27 11:28:30 +00:00
Martin McKeaveney 5c7e603a5e rename record 2020-03-27 10:32:37 +00:00
Martin McKeaveney ee4972a030 tidy up 2020-03-26 21:22:32 +00:00
Martin McKeaveney d48c311564 drilldown complete, deleting model fields 2020-03-26 17:39:42 +00:00
Michael Shanks 721569c2d4 bugfix: child key not constructed correctly 2020-03-26 14:52:44 +00:00
Conor_Mack d2b0e79a73 Tidyup and components json update 2020-03-26 14:47:49 +00:00
Michael Shanks 8e322e314b bugfix: upgradeData - not upgrading child records 2020-03-26 14:32:09 +00:00
Michael Shanks 3f1fcfa50c bugfix: child views not loading 2020-03-26 14:31:56 +00:00
Conor Mack a505a32792 Complete Material Slider 2020-03-26 12:11:22 +00:00
Michael Shanks faee6b15a4 Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-26 11:19:40 +00:00
Michael Shanks 5c3f087ffa _builder routing servs index for non-file paths 2020-03-26 11:19:21 +00:00
Martin McKeaveney 993af0e2c8 Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-26 10:10:37 +00:00
Martin McKeaveney 25759896cc allow creation of child views 2020-03-26 10:10:18 +00:00
Michael Shanks 3113e7ce91 bugfix: model renamed on record creation 2020-03-26 09:45:04 +00:00
Martin McKeaveney f0a584a20a make it easy for users to create children 2020-03-25 21:47:17 +00:00
Martin McKeaveney 33183ff1e9 child record drilldown 2020-03-25 17:01:53 +00:00
Martin McKeaveney 19c0bbc865 Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-25 16:59:36 +00:00
Martin McKeaveney f46efd9e9e userslist 2020-03-25 16:59:32 +00:00
Michael Shanks 9ee636092a validation for delete index and records 2020-03-25 16:57:04 +00:00
Michael Shanks f3f8026e6f bugfix: user not getting created 2020-03-25 16:10:39 +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
Michael Shanks 87742d6e58 Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-25 11:29:12 +00:00
Martin McKeaveney f8ba293171 bug fix for indexes 2020-03-25 11:28:45 +00:00
Michael Shanks ace301c9fc bugfix: dont put 'IsNew' into index 2020-03-25 11:18:13 +00:00
Michael Shanks 6cbf2ce02b Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-25 11:14:04 +00:00
Michael Shanks c5ec3cfb13 canDelete methods for index and record 2020-03-25 11:11:28 +00:00
Martin McKeaveney 0d0685cd48 bug fixes= 2020-03-25 10:59:47 +00:00
Michael Shanks f44deca6af collection name uses nodeId by default, and field is removed 2020-03-25 10:45:11 +00:00
Michael Shanks 964ea55590 bugfix: nav items text background grey on windows 2020-03-25 08:56:34 +00:00
Michael Shanks e077d0fb80 Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-25 08:49:35 +00:00
Martin McKeaveney 88db9bbc02 tidy up 2020-03-24 19:59:30 +00:00
Martin McKeaveney a91b89b7c2 user creation 2020-03-24 16:17:46 +00:00
Martin McKeaveney 30e33b7ee0 reactive model data table 2020-03-24 16:17:46 +00:00
Michael Shanks 823d8eea51 allow all conde snippets to be either blocks or expressions 2020-03-24 16:12:46 +00:00
Michael Shanks 914afc6059 bugfix... new apps had incorrect appDefinition.json 2020-03-24 15:33:31 +00:00
Joe 811445c7de frontend panel nav items highlights
Changes include
Font updates
Font spacing added
Font weights changed
2020-03-24 11:12:08 +00:00
Michael Shanks d236f4f145 upgrade data - hooked up to server & builder 2020-03-24 10:58:15 +00:00
Michael Shanks 3a2c961947 bugfix: views duplicated 2020-03-24 10:57:54 +00:00
Michael Shanks 36bb582ceb merge conflicts 2020-03-24 10:56:48 +00:00
Conor Mack 199cba6113 Completed MD Switch component 2020-03-23 15:49:06 +00:00