Commit Graph

3029 Commits

Author SHA1 Message Date
Michael Drury 63b08e42aa Large update, tests passing, have simplifed access level API, access levels and permissions are now totally separate. 2020-11-13 15:35:20 +00:00
Martin McKeaveney a1c3cc6745 show quota errors when deployments fail 2020-11-13 14:32:47 +00:00
Martin McKeaveney 05135a346c Merge branch 'master' of github.com:Budibase/budibase into quota-errors 2020-11-13 13:07:52 +00:00
Martin McKeaveney 6cfd80a699 bump bbui 2020-11-13 12:24:21 +00:00
Kevin Åberg Kultalahti d3ea680238
Merge pull request #858 from Budibase/feature/adds-rich-text-component
Feature/adds rich text component
2020-11-13 12:37:03 +01:00
Kevin Åberg Kultalahti df0da3fca5
Merge pull request #857 from Budibase/chart-bugs
Chart bugs
2020-11-13 12:35:03 +01:00
Martin McKeaveney 681b2df2e4 lint 2020-11-13 10:54:03 +00:00
kevmodrome 9799a405fd
sets everything up to be used with a longform type in the Form component 2020-11-13 11:31:00 +01:00
Martin McKeaveney e8ca3030e1 fixing reactive chart issue 2020-11-13 10:29:54 +00:00
kevmodrome 201e37a2ba
unhides richtext component 2020-11-13 11:16:01 +01:00
kevmodrome b394dbd88d
hides said non-working RichText component 2020-11-13 11:14:34 +01:00
kevmodrome 24f9ee9d62
adds non-working RichText component 2020-11-13 11:12:38 +01:00
Michael Drury e35817f5f3 Linting. 2020-11-12 17:43:17 +00:00
Michael Drury 0a73ab83db Fixing test case. 2020-11-12 17:41:50 +00:00
mike12345567 2472168477 Tests failing but starting to progress. 2020-11-12 17:06:55 +00:00
mike12345567 c8a3b18513 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into feature/backend-routing 2020-11-12 15:10:07 +00:00
mike12345567 11369ceed5 Merge branch 'master' of github.com:Budibase/budibase into feature/backend-routing 2020-11-12 15:08:50 +00:00
Martin McKeaveney 4e54f6d0d1 track quota errors in deployment 2020-11-12 12:58:05 +00:00
Andrew Kingston a29f428f61 Fix log out not working 2020-11-12 12:27:53 +00:00
Andrew Kingston 33e2ee427d Replace all manual API interaction with SDK 2020-11-12 12:24:45 +00:00
Martin McKeaveney dee8af1332
Merge pull request #855 from Budibase/server-render-index
Server render index page, simplify CSS bundling, refactor static asset compilation
2020-11-12 11:18:09 +00:00
Martin McKeaveney 070b0c8c0a lint 2020-11-12 10:45:05 +00:00
Martin McKeaveney ff66ed35c6 tidy up 2020-11-12 10:41:49 +00:00
Martin McKeaveney cd5dd2d21d JSDoc for static asset compilation 2020-11-12 10:36:15 +00:00
Martin McKeaveney c2aa9eebfc remove squirrelly, compile a single bundle.css for each page, svelte and hbs server rendering 2020-11-12 10:25:25 +00:00
Andrew Kingston 0f12f19619 Fix client errors 2020-11-12 09:31:04 +00:00
Andrew Kingston aa70eab935 Add majority of API interactions to SDK 2020-11-12 09:07:09 +00:00
Michael Drury 4852ecf96a WIP - this is working towards the permissions system but stopping here for the night, this is currently not functional. 2020-11-11 17:34:15 +00:00
Andrew Kingston e24a89af56 Tidy up standard components 2020-11-11 14:26:33 +00:00
Andrew Kingston f8732b3038 Add initial work on component SDK 2020-11-11 12:25:50 +00:00
Martin McKeaveney fb0f7b0c73 v0.3.7 2020-11-10 20:23:36 +00:00
Martin McKeaveney a1645db1f2
Merge pull request #851 from Budibase/turn-off-invalidation
remove cf invalidation, adding validation around successful deploys only
2020-11-10 19:55:43 +00:00
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