Commit Graph

860 Commits

Author SHA1 Message Date
Maurits Lourens 0102e7284d fix merge conflicts, make arguments more consistent 2021-09-16 23:20:31 +02:00
Maurits Lourens 104a84d19b merge develop into branch 2021-09-16 22:15:09 +02:00
Maurits Lourens ffca6f6980 rename automation 2021-08-26 08:53:58 +02:00
Andrew Kingston 6d902616cc Always limit data providers to 1 row on details screens, even for external tables 2021-08-23 11:46:50 +01:00
Andrew Kingston 27be64a6fd Give detail autoscreen repeater a placeholder for when no rows exist 2021-08-23 11:09:33 +01:00
Andrew Kingston f04b860146 Automatically name and number form step components upon creation 2021-08-20 14:12:52 +01:00
Andrew Kingston c44d0a684b Support multiple component context exports and export additional context from forms 2021-08-18 14:58:58 +01:00
Andrew Kingston e8442c8161 Fix autoscreen-generated form component default settings 2021-08-17 13:58:51 +01:00
Andrew Kingston f4d965347d Add global data bindings for mobile and tablet device sizes 2021-08-13 11:24:47 +01:00
Andrew Kingston 5a138fb4ea Fix colour picker inconsistencies when app theme has never been changed 2021-08-02 15:28:40 +01:00
Andrew Kingston e721d4e01d Add initial work on evaluation of conditional UI conditions in client library 2021-07-21 14:03:49 +01:00
Andrew Kingston a9d4f09782
Merge pull request #1953 from Budibase/client-feature-flags
Client library updating and client library feature awareness
2021-07-09 16:52:45 +01:00
Andrew Kingston c1432ee8ec Add UI to revert app version and initial work on app revert backend 2021-07-07 17:35:28 +01:00
mike12345567 4d0425b19f Internal table detail screens should still have limit one. 2021-07-07 17:31:03 +01:00
Andrew Kingston a6b5861cbc Add client libary update management from inside the builder 2021-07-07 17:07:42 +01:00
Andrew Kingston 7040ee48f4 Store client features in frontend store 2021-07-07 13:54:21 +01:00
Andrew Kingston 70d29c32f8 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 11:48:38 +01:00
Andrew Kingston c4b7428aed Avoid filter editor sending a prop change when filter is not an array, which was causing extra 409s and causing issues with tables 2021-07-06 15:55:02 +01:00
Andrew Kingston 80679cba13 Merge branch 'develop' of github.com:Budibase/budibase into spectrum-apps 2021-07-05 17:41:26 +01:00
Andrew Kingston f227f0623f Lint 2021-07-05 16:47:30 +01:00
Andrew Kingston a3d1b959fc Update list and detail autoscreens to be theme aware and use new designs 2021-07-05 10:20:20 +01:00
mike12345567 ec889320bc Fixing issue with many to many through junction table not realising some exist, or some need deleted - as well as removing limit from details screen, this was blocking join statements and served no purpose (its already a search by equals). 2021-07-02 18:42:01 +01:00
Andrew Kingston b4a1ae575d Update list autoscreen to be theme aware and use new component props 2021-06-30 20:14:41 +01:00
Andrew Kingston 0f3b447896 Fix bug which causes an 'undefined' layout to appear if the save call 409s 2021-06-30 09:35:31 +01:00
Andrew Kingston 24172d111c Remove a lot of hacks around screenslots and allow naming them 2021-06-30 09:05:03 +01:00
Andrew Kingston d28c48ccad Add global app theme picker and use it in client preview 2021-06-28 12:55:11 +01:00
Andrew Kingston ce40b7165a Update autoscreens and default layouts to use new component props 2021-06-28 10:47:23 +01:00
Andrew Kingston 28e337858a Add gap prop by default to screens 2021-06-25 15:31:35 +01:00
Andrew Kingston 14fa37deac Merge branch 'develop' of github.com:Budibase/budibase into design-panel-v2 2021-06-24 11:44:49 +01:00
mike12345567 7c38150fbb Allowing self endpoints to 403 and not reload page. 2021-06-22 16:54:25 +01:00
mike12345567 db186a1c91 Fixing inactivity issue in builder as well #1773. 2021-06-22 13:05:15 +01:00
Andrew Kingston eff444f5ac Merge branch 'develop' of github.com:Budibase/budibase into design-panel-v2 2021-06-22 09:14:27 +01:00
Andrew Kingston 729dc3d8eb Add initial work on merging settings and design panels, improve code structure, improve styles 2021-06-22 09:14:17 +01:00
mike12345567 0248098964 Merge branch 'develop' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-21 13:05:39 +01:00
Martin McKeaveney 3d89604680 merge 2021-06-21 11:19:22 +01:00
Andrew Kingston 2c31627e5a Update autoscreens to require confirmation when deleting rows 2021-06-21 10:52:55 +01:00
mike12345567 987b66fd59 Formatting and fixing an issue with mysql not being able to return a row that it has created, updated or deleted. 2021-06-18 13:14:45 +01:00
Andrew Kingston 9f8eeb7c99 Remove transition setting from components 2021-06-18 12:41:15 +01:00
Andrew Kingston a828e2b0c3 Fix styles of list autoscreen 2021-06-18 12:32:47 +01:00
Andrew Kingston cf936130d2 Update autoscreen link generation to work with new layouts 2021-06-18 12:23:33 +01:00
Martin McKeaveney 90bd99039b lint 2021-06-17 14:06:31 +01:00
Andrew Kingston a1a37daa3f Update autoscreens to work better with layouts 2021-06-17 13:24:51 +01:00
mike12345567 d22f608c6f Formatting. 2021-06-16 18:39:59 +01:00
Martin McKeaveney 1a94ef5039 end to end data providers and opinionated sql 2021-06-16 17:50:22 +01:00
mike12345567 2598af16bf Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 14:13:57 +01:00
Andrew Kingston f147422e74 Merge branch 'master' of github.com:Budibase/budibase into feature/layout-poc 2021-06-16 09:35:11 +01:00
mike12345567 113486ef48 Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-15 20:00:52 +01:00
Andrew Kingston abb1d33948 Lint with prettier 2021-06-15 19:39:40 +01:00
Martin McKeaveney 6c2099dd68 removing _all concept for tables, more work on plus datasource 2021-06-15 13:32:11 +01:00
Andrew Kingston c451f54289 Fix crash when removing data bindings from an object which contains a null value 2021-06-14 12:18:54 +01:00
Andrew Kingston 8f1f621072 Add customProps function to screen component for building autoscreens 2021-06-10 10:36:43 +01:00
Andrew Kingston 5297a7dcf2 Update autoscreens to be more responsive by default 2021-06-10 10:20:59 +01:00
Andrew Kingston c412af8766 Update autoscreens to have new container props 2021-06-10 09:48:08 +01:00
Andrew Kingston a9eb15e925 Update autoscreens to add new form type setting 2021-06-09 13:08:36 +01:00
Andrew Kingston a367acfd74 Allow data providers to inherit each other and add full client side lucene implementation 2021-05-27 15:11:08 +01:00
Andrew Kingston 6725461c99 Merge branch 'master' of github.com:Budibase/budibase into ak-fixes 2021-05-26 08:53:42 +01:00
Martin McKeaveney f75fb6eb9e fix stale topNav history state causing wrong apps to show 2021-05-25 12:42:55 +01:00
Andrew Kingston d09f14458b Update autoscreens to use better spectrum-compatible styles and fonts 2021-05-25 10:15:10 +01:00
Andrew Kingston f00ebcf7d6 Replace font-weight 500 with 600 as source sans pro does not have a 500 weight, and update autoscreens and templates to use source sans pro 2021-05-25 10:11:41 +01:00
Andrew Kingston dcfcde7d09 Remove Inter font fully and replace with Source Sans Pro, fix favicon import path 2021-05-25 09:41:23 +01:00
Martin McKeaveney dbabe0afaf
Merge pull request #1496 from Budibase/feature/draft-apps
Feature/draft apps
2021-05-18 11:25:51 +01:00
Martin McKeaveney 0ed0550e73 revert functionality working 2021-05-16 21:25:37 +01:00
Andrew Kingston d49ca2d308 Update autoscreens with new dataprovier props 2021-05-13 16:32:18 +01:00
mike12345567 c9d903a92f General cleanup, doing away with the concept of hosting in the builder and the generally confusing difference between cloud, self hosting and running locally - server is simply always a server now. 2021-05-11 17:49:26 +01:00
Keviin Åberg Kultalahti cd9af13668 moves admin store to `stores/portal` 2021-05-05 18:52:45 +02:00
Martin McKeaveney d8c3ab7d79 lint and tidy 2021-05-04 18:14:13 +01:00
Martin McKeaveney 88a5660bc3 google oauth UI 2021-05-04 17:31:06 +01:00
mike12345567 c259564ba8 Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 13:24:14 +01:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Andrew Kingston 1c3d477523 Fix prettier and fix crash when using certain views as data sources 2021-05-04 11:04:42 +01:00
mike12345567 87cfaf1181 Merge branch 'labday/mike-formulas' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:50:52 +01:00
mike12345567 acc6eed8ff Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:34:30 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
Michael Drury 124e30e00f Fixing cypress tests. 2021-04-30 19:17:00 +01:00
mike12345567 a6e282c19b Moving drawers around to be a common component as they are utilised in a few places, keep all the binding work together, as well as some fixing for readable/runtime binding detection and conversion. 2021-04-30 16:17:57 +01:00
mike12345567 87e846054b Linting. 2021-04-29 19:10:02 +01:00
mike12345567 4ed611fb73 Adding handlebars formulas to the system, it is now possible to set a formula at a column level which will always be applied on the way out with a relationship depth of one. 2021-04-29 19:06:58 +01:00
Andrew Kingston 0caad1f582 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-28 15:53:07 +01:00
Keviin Åberg Kultalahti 6c5b0f88b9 fix dataBinding error 2021-04-28 15:18:12 +02:00
Andrew Kingston e89c51deef Add support for all 4 spectrum themes in builder! 2021-04-27 13:15:49 +01:00
Keviin Åberg Kultalahti 6db09715df merge spectrum-bbui 2021-04-21 13:15:16 +02:00
Keviin Åberg Kultalahti f970c016c0 remove backend.js artifact 2021-04-20 16:44:29 +02:00
Andrew Kingston f0d1667b03 Update binding icon styles and fix theme editor 2021-04-19 14:10:58 +01:00
Andrew Kingston 4f7b91f34f Update list autoscreen to use quiet table 2021-04-16 09:40:27 +01:00
mike12345567 e9767eabc5 Adding some controls around cookies, expiring them when a 403 is hit. 2021-04-14 15:43:34 +01:00
mike12345567 0f59546169 Formatting. 2021-04-13 20:26:26 +01:00
Andrew Kingston 105715e68e Add default spectrum colours to existing builder components and allow spectrum dark mode toggle 2021-04-13 18:07:45 +01:00
Martin McKeaveney f5e5a415ca remove buildertoken refs 2021-04-13 14:00:09 +01:00
mike12345567 af0df42c3c Formatting. 2021-04-13 13:35:30 +01:00
mike12345567 46b975186c Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-13 10:26:40 +01:00
Martin McKeaveney 2abb5d5759 small fixes 2021-04-13 09:20:30 +01:00
Martin McKeaveney b5a5df7f60 login page 2021-04-11 11:35:55 +01:00
mike12345567 29787032f0 Fixing an issue with builder auth, adding a temporary endpoint which the server can set builder token on. 2021-04-07 16:08:29 +01:00
Andrew Kingston 65fe57ee23 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 19:10:07 +01:00
Andrew Kingston 66ef52bf73 Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-04-01 17:58:10 +01:00
Andrew Kingston dab183cc8a Use server-provided client lib URL in iframe preview 2021-04-01 14:10:49 +01:00
Andrew Kingston db2a710168 Improve cross-package bundling 2021-04-01 13:44:14 +01:00
Andrew Kingston 6a4c981b60 Update URLs for fetching component libraries to be under api route 2021-04-01 11:49:57 +01:00
Andrew Kingston f2a898147f Update builder to hit port 1000 2021-04-01 10:59:15 +01:00
Andrew Kingston 46745a757a Update to support new stores 2021-04-01 10:29:47 +01:00
Andrew Kingston d4cc872b5c Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:12:16 +01:00
Keviin Åberg Kultalahti 214243fc22 lint fix 2021-04-01 08:40:30 +02:00
Andrew Kingston 583faba9da Add BBUI to monorepo and use vite for builder, client lib and standard components 2021-03-31 16:14:56 +01:00
Keviin Åberg Kultalahti 958cae212d fix templates not being passed correct param 2021-03-31 14:23:58 +02:00
Keviin Åberg Kultalahti c729b8654b merge next 2021-03-31 11:26:44 +02:00
Keviin Åberg Kultalahti 7bb01a152c adds an init method to the tables store 2021-03-30 11:32:01 +02:00
Andrew Kingston 95c363727d Remove unecessary escape in regex 2021-03-29 18:21:57 +01:00
Keviin Åberg Kultalahti d1b7620215 fixes queries and datasource tests 2021-03-29 17:45:18 +02:00
Andrew Kingston d26c20df31 Update search component to work with new data bindings. Simplify manifest context entries for data bindings 2021-03-29 16:37:17 +01:00
Keviin Åberg Kultalahti 22937117fd wip: queries store tests 2021-03-29 14:57:01 +02:00
Keviin Åberg Kultalahti a14d991e81 moves backend stores to "stores" in the root src directory 2021-03-26 09:50:37 +01:00
Andrew Kingston a242d19f28 Fix crash generating bindable properties for an empty data provider ID 2021-03-25 16:17:56 +00:00
Andrew Kingston 892bbcd07a Add virtual rendering to table to increase performance and remove grid component 2021-03-25 14:40:29 +00:00
Andrew Kingston 2cfc30ad2f Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-24 15:52:05 +00:00
Andrew Kingston 6457751367 Add initial version of new spectrum table component 2021-03-24 15:51:57 +00:00
Andrew Kingston 543b5bb3fd Update cypress tests 2021-03-23 13:31:56 +00:00
Keviin Åberg Kultalahti 3cd67b0237 remove backendUiStore 2021-03-23 13:42:03 +01:00
Keviin Åberg Kultalahti 182292c9a3 remove logs 2021-03-23 13:39:18 +01:00
Keviin Åberg Kultalahti 976d8b3b54 lint fix 2021-03-23 13:31:18 +01:00
Keviin Åberg Kultalahti 8f0324bd53 move rows to it's separate store 2021-03-23 13:27:45 +01:00
Keviin Åberg Kultalahti 5ed5da2cee extract save function in tables store 2021-03-23 13:19:34 +01:00
Keviin Åberg Kultalahti 6afd886755 extract out select and fetch methods in tables store 2021-03-23 13:06:04 +01:00
Keviin Åberg Kultalahti 5d30950421 fix databindings 2021-03-23 12:48:54 +01:00
Keviin Åberg Kultalahti 4244185b53 remove unused stuff in backendUiStore 2021-03-23 12:19:10 +01:00
Keviin Åberg Kultalahti b4f5522a5e wip: converts components to use separate stores 2021-03-23 12:16:54 +01:00
Keviin Åberg Kultalahti ac335e4301 split out views to separate store 2021-03-23 12:04:11 +01:00
Keviin Åberg Kultalahti 2d1683c785 update tables select method 2021-03-23 12:04:01 +01:00
Keviin Åberg Kultalahti 54b99d6d4b move tables to separate store 2021-03-23 11:54:03 +01:00
Keviin Åberg Kultalahti c28bfff0ec fixes issues with queries not getting selected correctly 2021-03-23 10:56:53 +01:00
Andrew Kingston e16a28fcd2 Don't add _id and _rev fields to form schemas 2021-03-22 17:59:54 +00:00
Andrew Kingston 2d6bc0c998 Fix data binding not generating bindable properties for components referencing a data provider ID wrapped for handlebars 2021-03-22 17:57:19 +00:00
Keviin Åberg Kultalahti 948ba63a69 fixes and splits out database to it's separate store 2021-03-22 16:33:08 +01:00
Keviin Åberg Kultalahti 5a4ea4ebf2 moves queries part of backendstore to separate store 2021-03-22 14:47:21 +01:00
Keviin Åberg Kultalahti 25b45ba42c moves integrations part of backendstore to separate store 2021-03-22 13:23:36 +01:00
Andrew Kingston a3d57b3f82 Update row detail autoscreen to use new data provider and safe bindings 2021-03-22 12:11:29 +00:00
Andrew Kingston 2d713bed81 Update bindings to always ensure they are safely escaped 2021-03-22 12:10:43 +00:00
Andrew Kingston 135cee8689 Update new row autoscreen to handle new SaveRow button action 2021-03-22 11:42:53 +00:00
Andrew Kingston 96e59e6149 Update list autoscreen to use new data provider 2021-03-22 11:29:26 +00:00
Keviin Åberg Kultalahti a85b9f5895 moves the datasources store to it's separate store 2021-03-22 12:02:55 +01:00
Keviin Åberg Kultalahti 1d64f2149a moves roles in backendstore to a separate store 2021-03-22 10:55:23 +01:00
Keviin Åberg Kultalahti 80065582eb removes unused users field in backend store 2021-03-22 10:14:17 +01:00
Keviin Åberg Kultalahti 2767c21a90 moves permissions to a separate store 2021-03-22 09:59:22 +01:00
Andrew Kingston b9c43052f6 Update schema generation to automatically include _id and _rev fields 2021-03-19 14:04:00 +00:00
Keviin Åberg Kultalahti 270d0272b0 remove console.log 2021-03-19 13:58:05 +01:00
Keviin Åberg Kultalahti 16e401737d improve database.select performance 2021-03-19 13:51:21 +01:00
Keviin Åberg Kultalahti eb27c9d9dc fix some navigation issues when removing tables/datasources 2021-03-19 11:03:44 +01:00
Andrew Kingston 87fd743f75 Update bar chart to work with new data provider 2021-03-18 17:34:51 +00:00
Andrew Kingston 788817d249 Update bindable properties to handle new data provider 2021-03-16 19:11:00 +00:00
Andrew Kingston a51f5c73c4 Add data provider component and refactor component setting types 2021-03-16 13:54:34 +00:00
Andrew Kingston 973cbb5a75 Remove electron specific attachment uploads inside the builder 2021-03-15 12:10:21 +00:00