Commit Graph

2997 Commits

Author SHA1 Message Date
mike12345567 65078861a2 Starting work off towards routing of screens in backend, getting view ready and a bit of cleanup to make internal views easier to create. 2020-11-10 17:22:41 +00:00
Martin McKeaveney 449f898009 increasing log level in production 2020-11-10 17:16:40 +00:00
Martin McKeaveney f19a20a02d remove cf invalidation, adding validation around successful deploys only 2020-11-10 17:08:02 +00:00
mike12345567 f57acfdf16 Fixing #848 - standard components was not using the same API calls consistently which was breaking some things like charts. For now just make it consistent by updating it to make calls the same way as client lib does but the SDK will eventually replace all this and solve these problems. 2020-11-10 15:09:54 +00:00
mike12345567 37c68467c2 Fixing an issue where screens couldn't be deleted and fixing an issue where rows would still contain data from a column that no longer exists if a column was deleted from a table. 2020-11-10 13:59:46 +00:00
Andrew Kingston 7a00243e45 Update yarn lock and dev script to use yarn rather than npm 2020-11-10 10:51:23 +00:00
Martin McKeaveney 44f1844bc7 Merge branch 'master' of github.com:Budibase/budibase into server-render-index 2020-11-09 20:18:37 +00:00
Martin McKeaveney 2adf0560ac v0.3.6 2020-11-09 18:16:36 +00:00
Martin McKeaveney 501ee906e7 bump rollup plugin svelte version 2020-11-09 18:04:55 +00:00
Martin McKeaveney fc285c64a4 v0.3.5 2020-11-09 16:28:06 +00:00
Martin McKeaveney 14003d03df fix auto screens issue 2020-11-09 15:55:36 +00:00
Martin McKeaveney 1e8f13f9cf start server render index.html 2020-11-09 15:24:29 +00:00
mike12345567 3d6f50ee5d Improving consistency of how appId is retrieved and making sure it is valid when being used. 2020-11-09 14:38:29 +00:00
Martin McKeaveney 51c0461f35 v0.3.4 2020-11-09 11:08:41 +00:00
Martin McKeaveney 7db78e98ab
Merge pull request #834 from Budibase/bug/more-auth-fixes
More Auth bugfixes
2020-11-09 10:49:57 +00:00
Martin McKeaveney d2bcf5f8a3
Merge pull request #835 from Budibase/screenselection-bug
prevent screen being selected when you save a component
2020-11-09 10:47:33 +00:00
Martin McKeaveney 4f5b867700 prevent screen being selected when you save a component 2020-11-09 10:28:49 +00:00
mike12345567 7600710125 The API that the components library would use was not always consistent with the API client library would use and this would sometimes break things. 2020-11-09 09:42:35 +00:00
Andrew Kingston 8feb05c4f6 Merge branch 'master' of github.com:Budibase/budibase into cheeks-bugfixes 2020-11-09 08:48:56 +00:00
Andrew Kingston 65b36677e6
Merge pull request #817 from Budibase/apex-charts
Apex charts
2020-11-09 08:48:44 +00:00
Andrew Kingston b450d541e6 Fix case sensitive screen alphabetical sorting 2020-11-09 08:43:36 +00:00
Andrew Kingston 2ccd8fe401 Fix autoscreens sometimes created in public rather than private page 2020-11-09 08:40:47 +00:00
Andrew Kingston 8fecebf435 Fix new screens and autoscreens not displaying properly 2020-11-09 08:33:22 +00:00
Andrew Kingston d248060d30 Fix alphabetical sorting of screens 2020-11-09 08:32:44 +00:00
Martin McKeaveney 4c77b9ceef v0.3.3 2020-11-06 21:40:31 +00:00
Martin McKeaveney 28f4f38e32
Merge pull request #830 from Budibase/bug/electron-no-pathname
Fixing issue with Electron apps not being able to determine appId
2020-11-06 21:39:12 +00:00
mike12345567 eca97f6f57 Linting. 2020-11-06 21:32:03 +00:00
mike12345567 472305d214 Fixing issues with auth not being able to find appId in pathname, using the currentapp cookie if pathname not populated. 2020-11-06 21:13:21 +00:00
Martin McKeaveney e09c9d13b3
Merge pull request #824 from Budibase/port-fixes
potential resolutions for the 4001 issue
2020-11-06 21:00:57 +00:00
Martin McKeaveney 0928b8496f PR review 2020-11-06 18:00:25 +00:00
mike12345567 f508822008 Quick change, we had a replication statement for testing, should be removed for production and uncommented when needed. 2020-11-06 15:47:12 +00:00
Michael Drury 960ca9df8e
Merge pull request #826 from Budibase/tidy-up-store
Pages and Screens to couch as well as general store tidy up
2020-11-06 14:54:54 +00:00
Martin McKeaveney 596940371e remove superfluous files 2020-11-06 13:46:19 +00:00
Martin McKeaveney aab4f60d76 small tidy ups 2020-11-06 13:40:00 +00:00
mike12345567 9544d2d205 Changing signup function to createNewApp for clarity. 2020-11-06 12:38:59 +00:00
mike12345567 36d90959ff Linting. 2020-11-06 12:31:47 +00:00
mike12345567 667052e0b4 Updating templates to be able to run locally with an environment variable LOCAL_TEMPLATES and making them work using the DB. Users are also no longer included in the db dump. 2020-11-06 12:30:30 +00:00
Martin McKeaveney 612e5e234e v0.3.2 2020-11-06 11:39:44 +00:00
Martin McKeaveney 6e02f1f1c6 potential resolutions for the 4001 issue 2020-11-05 22:09:49 +00:00
mike12345567 542b003f7e Refactoring to replace the use of frontend store.screens with derived allScreens and currentScreens. 2020-11-05 17:47:27 +00:00
mike12345567 2008bfff70 Getting started into removing screens from store. 2020-11-05 14:56:23 +00:00
mike12345567 a9ac8d0632 Fixing some bugs that have been found. 2020-11-05 14:38:44 +00:00
Martin McKeaveney 3847c058dc rename buildPage 2020-11-05 13:41:16 +00:00
Andrew Kingston 31c083d5ba Add colour palette options for charts 2020-11-05 13:37:28 +00:00
Andrew Kingston 732685ec60 Ensure candlestick chart works with either our own date formats as well as timestamps 2020-11-05 13:27:29 +00:00
mike12345567 76cc7d897c More cleanup, removing template app pages that were unused and fixing a bug with auth not being configured correctly when app created. 2020-11-05 12:43:03 +00:00
Andrew Kingston 4754f7e0b9 Fix style of DND navigation 2020-11-05 11:58:39 +00:00
Andrew Kingston 7bb3607d25 Reduce padding and indentation in nav items to provide more room for text 2020-11-05 11:48:49 +00:00
mike12345567 707c16c44d Further updates to clear out all usage of the old frontend store functions. 2020-11-05 11:44:18 +00:00
Martin McKeaveney fe637e2309 update left hand links on builder home 2020-11-05 09:18:20 +00:00
Martin McKeaveney 291e472765 cut over to new frontend store 2020-11-04 17:09:45 +00:00
Martin McKeaveney 333844a1f0 feature parity with current pages, screens and store setup. Starting main bb store refactor 2020-11-04 16:13:50 +00:00
Andrew Kingston 209f717d89 Fix lint 2020-11-04 15:59:26 +00:00
Andrew Kingston ff16e90f6e Fix warning when no data source and increase robustness of charts 2020-11-04 15:56:57 +00:00
Andrew Kingston 09302d4f45 Separate chart loading state from error state 2020-11-04 15:43:43 +00:00
Andrew Kingston 3457b308b2 Add candlestick chart 2020-11-04 15:21:11 +00:00
Andrew Kingston 8742c936d2 Remove additional unused chart settings 2020-11-04 14:27:19 +00:00
Andrew Kingston 3fec9243b2 Remove unused chart settings 2020-11-04 14:26:14 +00:00
Andrew Kingston d9853829ab Remove unecessary lodash import 2020-11-04 14:22:04 +00:00
Andrew Kingston c7ef9faca8 Improve chart robustness even more 2020-11-04 14:21:48 +00:00
Michael Drury 6bc184f0d6 Updating screens API to be prefixed with /api/screens 2020-11-04 14:05:11 +00:00
Andrew Kingston e1b3982bab Fix crash when saving rows 2020-11-04 13:17:24 +00:00
Andrew Kingston 9055744a5c Improve robustness of pie and donut charts 2020-11-04 13:08:59 +00:00
Andrew Kingston 0c48a20581 Add support for dates and increase robustness 2020-11-04 12:43:56 +00:00
Andrew Kingston 6cddc36729 Fix beta warning overlap 2020-11-04 12:38:52 +00:00
Michael Drury c9a1bf1940 Main work to get screens into the DB, fixing up issue with async page updates not being handled in order. 2020-11-04 12:36:38 +00:00
Michael Drury 9e72e122b6 Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-11-04 10:14:19 +00:00
Andrew Kingston 7130d070c8 Merge branch 'master' of github.com:Budibase/budibase into apex-charts 2020-11-04 09:02:56 +00:00
Michael Drury 0665e28ca3 Updates to pages so that they are written to DB and retrieved correctly. 2020-11-03 17:42:54 +00:00
Martin McKeaveney 3725a1782b screens in DB 2020-11-03 16:27:28 +00:00
Michael Drury b3fbffdfdc Fixing issue with appId being checked when undefined. 2020-11-03 16:23:28 +00:00
Andrew Kingston c98e59d7f6 Fix legends not being centered and use common chart component 2020-11-03 16:14:57 +00:00
Michael Drury 42b16069a6 Fixing issue that was breaking linting. 2020-11-03 15:35:27 +00:00
Michael Drury 0cc837b220 Updating server test cases with the header for appId. 2020-11-03 15:00:39 +00:00
Andrew Kingston 91ef7fd0a7 Add area chart and unit formatting 2020-11-03 14:32:21 +00:00
Michael Drury 957706fc91 Linting and fixing client test case, have to mock getAppId as the location will never be set during testing. 2020-11-03 14:30:20 +00:00
Michael Drury 27871c1bc0 Removing appIds from tokens to reduce confusion. 2020-11-03 13:58:17 +00:00
Michael Drury a35b6a57f9 Further work towards the re-implementation of auth, changing how the appId is determined, now it mainly will use a header, and a cookie which will be written to store the current status of appId. 2020-11-03 13:45:49 +00:00
Andrew Kingston 3d84b831e9 Add pie and donut charts 2020-11-03 11:50:55 +00:00
Andrew Kingston 3e06d393e1 Default bar chart data labels to false 2020-11-03 10:11:31 +00:00
Andrew Kingston ff15205277 Fix another evil falsiness bug with setting checkboxes 2020-11-03 10:09:41 +00:00
Andrew Kingston bcc86af4b4 Fix multi option select handling of default value being hardcoded to a string 2020-11-03 10:09:22 +00:00
Andrew Kingston 4f2079509c Remove log statement 2020-11-03 10:03:19 +00:00
Andrew Kingston 0aa672f3b3 Remove log statement 2020-11-03 09:48:58 +00:00
Andrew Kingston ae876c6c09 Add stacked option to bar chart 2020-11-03 09:48:35 +00:00
Andrew Kingston 0ea30587de Add line chart and enable multiple data series for all charts 2020-11-03 09:43:45 +00:00
Andrew Kingston 4873c66994 Tidy up option select 2020-11-03 09:43:08 +00:00
Andrew Kingston 465f2a6fbd Add multi option select and multi table view field select components 2020-11-03 09:42:46 +00:00
Andrew Kingston 75bfa60231 Fix evil falsiness bug with frontend property settings checkboxes 2020-11-03 09:39:42 +00:00
Michael Drury 215e1251bc Some further work, logout and preview appear to be working much better now. 2020-11-02 22:46:31 +00:00
mike12345567 0c81516662 Some more re-work, more testing needed to auth stuff. 2020-11-02 20:14:10 +00:00
mike12345567 cacada281f Merge branch 'master' of github.com:Budibase/budibase into feature/auth-update 2020-11-02 16:00:29 +00:00
Michael Drury 98157f076f Some updates, still WIP. 2020-11-02 15:46:08 +00:00
Andrew Kingston ab78620b32 Add bar chart with initial apex charts config 2020-11-02 15:32:37 +00:00
Martin McKeaveney 74890b13c9 pages being stored in couch on initialisation and page save 2020-11-02 14:56:48 +00:00
Martin McKeaveney b49551eaad Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-11-02 13:35:17 +00:00
Andrew Kingston 0e89f6ee11 Merge branch 'master' of github.com:Budibase/budibase into apex-charts 2020-11-02 13:16:08 +00:00
Martin McKeaveney 117560a9d8
Merge pull request #812 from Budibase/lock-columns
prevent drag on first two columns
2020-11-02 13:13:28 +00:00
Martin McKeaveney 281721d55c prevent drag on first two columns 2020-11-02 12:33:18 +00:00
Andrew Kingston 242cd77ae6 Set top level background colour 2020-11-02 12:14:16 +00:00
Andrew Kingston 5558cfe27d Remove ag-grid loading overlay color 2020-11-02 09:15:39 +00:00
Andrew Kingston c6bb83a37a Standardise title and capitalisation in create user step 2020-11-02 08:55:48 +00:00
Andrew Kingston b3644effaf Fix capitalisation of create web app title 2020-11-02 08:55:14 +00:00
Andrew Kingston 3e150983c3 Remove deprecated header style overrides so BBUI styles are correctly used instead 2020-11-02 08:54:53 +00:00
Andrew Kingston 50ef2bacb0 Fix styling of get API key link and fix grammar in title 2020-11-02 08:54:27 +00:00
Andrew Kingston 4ea37587f5
Merge pull request #809 from Budibase/dark-mode
Dark mode and custom themes
2020-11-02 08:33:02 +00:00
Andrew Kingston 6b5ca2e7de Style background of feedback popover white due to iframe boundary breaking theming 2020-11-02 07:59:29 +00:00
Martin McKeaveney 950e6556d9 started creating APIs for screens 2020-11-01 15:32:54 +00:00
mike12345567 43f9deef4d Getting rid of userInstanceMap, preparing for meat of auth update. 2020-10-30 17:12:06 +00:00
Martin McKeaveney f29d34ae0b Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-10-30 16:25:00 +00:00
Andrew Kingston 7bc306fe43 Bump BBUI and use slider components from BBUI 2020-10-30 14:54:12 +00:00
Andrew Kingston cc227904b3 Fix settings checkbox color in dark mode 2020-10-30 13:50:56 +00:00
Andrew Kingston af61df35f6 Change binding icon colour 2020-10-30 13:49:24 +00:00
Andrew Kingston 290bfd0f91 Standardise binding icon styles 2020-10-30 13:46:16 +00:00
Andrew Kingston 1f5b1cfd10 Save theme settings to local storage and improve slider styles 2020-10-30 13:23:49 +00:00
Andrew Kingston cb5bce660b Add theme editor component to top bar 2020-10-30 10:41:44 +00:00
Andrew Kingston b28f7881f3 Adjust logic automation block background 2020-10-29 20:50:18 +00:00
Andrew Kingston 3ced089004 Enabling the dark side 2020-10-29 20:42:34 +00:00
mike12345567 aeed753786 Updating for review comments. 2020-10-29 11:48:01 +00:00
Martin McKeaveney 2f0a19a152 removing dead code 2020-10-29 11:46:26 +00:00
mike12345567 2180a1639d Fixing another linting issue. 2020-10-29 11:04:02 +00:00
mike12345567 a43777c78b linting. 2020-10-29 10:55:52 +00:00
mike12345567 91d9e4d41e Updating script that had duplicate key. 2020-10-29 10:53:39 +00:00
mike12345567 8963520454 Merge branch 'master' of github.com:Budibase/budibase into feature/remove-multitenancy 2020-10-29 10:45:02 +00:00
mike12345567 d587bad363 Renaming instanceId -> appId to reduce confusion through the system, there only is one ID now. 2020-10-29 10:28:27 +00:00
mike12345567 b9f1babc0e Removing instance API as it was un-used and simplifying the nature of an instance. 2020-10-29 10:21:06 +00:00
Martin McKeaveney 1e82b92240
Merge pull request #797 from Budibase/dependabot/npm_and_yarn/packages/builder/node-fetch-2.6.1
Bump node-fetch from 2.6.0 to 2.6.1 in /packages/builder
2020-10-29 09:23:02 +00:00
Martin McKeaveney 71b12abc19
Merge pull request #805 from Budibase/fix-attachment-height
fixing attachment height
2020-10-29 09:20:44 +00:00
Michael Drury aa687ac23a
Merge pull request #804 from Budibase/bug/add-init
Adding init process back after removing CLI package
2020-10-29 09:11:49 +00:00
Michael Drury c2d2f9e183 Fixing test cases. 2020-10-28 22:37:58 +00:00
Michael Drury 3df7f06226 Fixing an issue with env variables not getting set correctly. 2020-10-28 22:24:44 +00:00
Martin McKeaveney 1ce3fbc9d6 fixing attachment height 2020-10-28 22:21:41 +00:00
Michael Drury 0d78dd0cf5 `:wMerge branch 'bug/add-init' of github.com:Budibase/budibase into feature/remove-multitenancy 2020-10-28 22:18:05 +00:00
Michael Drury dcc9cfb4bd The removal of CLI package meant there was no way to init the system anymore so nuking budibase directory was unrecoverable, fixing this. 2020-10-28 22:14:13 +00:00
Michael Drury c3a4111292 Some quick fixes. 2020-10-28 22:13:16 +00:00
Martin McKeaveney 1a8a97a103 v0.3.1 2020-10-28 21:30:51 +00:00
Martin McKeaveney cc62b60edd adding cloud check to dev check 2020-10-28 21:27:37 +00:00
mike12345567 4bbe05e1dc Merge branch 'master' of github.com:Budibase/budibase into feature/remove-multitenancy 2020-10-28 20:35:29 +00:00
mike12345567 d79be3c854 Initial work into multi-tenancy removal, experiencing issues with test cases at this point. 2020-10-28 20:35:06 +00:00
Martin McKeaveney 859577299d v0.3.0 2020-10-28 20:28:00 +00:00
Andrew Kingston d40e50f86e
Merge pull request #801 from Budibase/dropdown-components
Dropdown components
2020-10-28 20:12:17 +00:00
Andrew Kingston dc0c10ad83 Add proper names for all components and use these names when adding components 2020-10-28 19:38:11 +00:00
Andrew Kingston 8a49a04cd1 Fix bad schema type when fetching bindable properties 2020-10-28 19:37:53 +00:00
Andrew Kingston 6cd428a4c8 Fix crash when an Input exists as a possible datasource 2020-10-28 19:32:46 +00:00
Andrew Kingston 54f8a3d36f Lint 2020-10-28 17:40:14 +00:00
Andrew Kingston e42543941b Add slight margin to perfectly align empty state text 2020-10-28 17:09:10 +00:00
Andrew Kingston c59d1a0600 Rename deletion modal titles and fixing cypress tests 2020-10-28 16:05:19 +00:00
Andrew Kingston 9c1515267a Merge ag-grid backend UI and update styles 2020-10-28 15:20:56 +00:00
dependabot[bot] a1901d5541
Bump node-fetch from 2.6.0 to 2.6.1 in /packages/builder
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-28 12:08:00 +00:00
Martin McKeaveney 59872d5db5 move run command into cypress setup 2020-10-28 11:23:26 +00:00