Commit Graph

881 Commits

Author SHA1 Message Date
mike12345567 a1aaf00e41 Fixing two issues, not verifying a file has been uploaded for import app and fixing HBS visual issue where handlebars statement could get screwed up. 2021-10-20 18:37:07 +01:00
mike12345567 fd894897ca Setting a hard limit on how many rows can be returned by the SQL plus queries. 2021-10-15 17:52:06 +01:00
mike12345567 bded4a5b56 Merge branch 'develop' of github.com:Budibase/budibase into js-binding-drawer 2021-10-13 16:48:36 +01:00
Peter Clement e479ced4c8 fix webhook issue in automations 2021-10-12 11:00:49 +01:00
Andrew Kingston 43d546b2db Fix inserting bindings manually when using JS 2021-10-11 16:18:20 +01:00
Andrew Kingston 67a74ee327 Fix bug determining if a binding is JS or not 2021-10-11 15:51:47 +01:00
Andrew Kingston 8f1e536318 Enable binding replacements in JS bindings 2021-10-11 14:54:24 +01:00
mike12345567 2d9a087efe Merge branch 'develop' of github.com:Budibase/budibase into fix/mike-fixes 2021-10-06 16:58:02 +01:00
mike12345567 453556d273 Fixing an issue with attempting to access a locked app causes a redirect loop locking up browser. 2021-10-06 16:27:46 +01:00
Peter Clement ac1e476352 Merge pull request #2902 from Budibase/bug/pc-ux-fixes
Some UX fixes for datasources and automations
2021-10-06 15:53:22 +01:00
Peter Clement 62218c71b5 allow user to add automation block between existing blocks 2021-10-06 15:09:51 +01:00
Andrew Kingston b0b0268b7d Give up on attempting to get jest to work with BBUI, change strategy for showing notifications when deleting invalid components 2021-10-04 16:50:52 +01:00
Andrew Kingston 9e74acfec0 Prevent screen slot or something containing the screen slot from being deleted 2021-10-01 15:01:16 +01:00
mike12345567 4ecc92de3b Updating data bindings, there were instances where it could loop/iterate over already replaced bindings, used a search technique to be a bit more specific about the replacements and make sure each binding could only be replaced once. 2021-09-30 17:24:43 +01:00
Andrew Kingston 8b35405a85 Fix regex binding replacement issue due to not being escaped 2021-09-24 16:24:16 +01:00
Martin McKeaveney 4d46095fc8 Merge pull request #2695 from mslourens/remove_link_when_removing_screen
remove the link from navigation bar when removing the screen
2021-09-23 09:40:36 +01:00
Martin McKeaveney 68a72384c8 Merge pull request #2703 from Budibase/feature/analytics
Feature/analytics
2021-09-22 15:53:34 +01:00
Martin McKeaveney 0a7512a4d9 changed events to constants, instantiated analytics client at right time 2021-09-21 20:21:15 +01:00
Maurits Lourens ff4476b333 remove the link from navigation bar when removing the screen 2021-09-21 15:16:10 +02:00
Martin McKeaveney 184061a56b analytics clients 2021-09-21 11:47:14 +01:00
Maurits Lourens 28e7ef2806 replace all handlebars bindings, not just the first 2021-09-21 09:57:14 +02:00
Maurits Lourens 931ec7bfd9 fix merge conflicts, make arguments more consistent 2021-09-16 23:20:31 +02:00
Maurits Lourens 518f8fd55e merge develop into branch 2021-09-16 22:15:09 +02:00
Maurits Lourens 3da6577348 rename automation 2021-08-26 08:53:58 +02:00
Andrew Kingston 52d2f6741e Always limit data providers to 1 row on details screens, even for external tables 2021-08-23 11:46:50 +01:00
Andrew Kingston de7caf90f4 Give detail autoscreen repeater a placeholder for when no rows exist 2021-08-23 11:09:33 +01:00
Andrew Kingston 86dbd918f2 Automatically name and number form step components upon creation 2021-08-20 14:12:52 +01:00
Andrew Kingston 32fe0ea072 Support multiple component context exports and export additional context from forms 2021-08-18 14:58:58 +01:00
Andrew Kingston cbcffd0a4a Fix autoscreen-generated form component default settings 2021-08-17 13:58:51 +01:00
Andrew Kingston 47ca925003 Add global data bindings for mobile and tablet device sizes 2021-08-13 11:24:47 +01:00
Andrew Kingston 531d6d2cd0 Fix colour picker inconsistencies when app theme has never been changed 2021-08-02 15:28:40 +01:00
Andrew Kingston 5e5332cd4f Add initial work on evaluation of conditional UI conditions in client library 2021-07-21 14:03:49 +01:00
Andrew Kingston aa2691a452 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 9440e4a5bf Add UI to revert app version and initial work on app revert backend 2021-07-07 17:35:28 +01:00
mike12345567 f1dd80dcb4 Internal table detail screens should still have limit one. 2021-07-07 17:31:03 +01:00
Andrew Kingston 0a44b1e3d8 Add client libary update management from inside the builder 2021-07-07 17:07:42 +01:00
Andrew Kingston 24a2c547eb Store client features in frontend store 2021-07-07 13:54:21 +01:00
Andrew Kingston 9542910a41 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 11:48:38 +01:00
Andrew Kingston 929d1c73d4 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 dcaf02ecee Merge branch 'develop' of github.com:Budibase/budibase into spectrum-apps 2021-07-05 17:41:26 +01:00
Andrew Kingston c3913372e1 Lint 2021-07-05 16:47:30 +01:00
Andrew Kingston 1f3e0b4e6f Update list and detail autoscreens to be theme aware and use new designs 2021-07-05 10:20:20 +01:00
mike12345567 c24cc5c3fb 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 18f25f0be2 Update list autoscreen to be theme aware and use new component props 2021-06-30 20:14:41 +01:00
Andrew Kingston c936ab2619 Fix bug which causes an 'undefined' layout to appear if the save call 409s 2021-06-30 09:35:31 +01:00
Andrew Kingston 2693878a72 Remove a lot of hacks around screenslots and allow naming them 2021-06-30 09:05:03 +01:00
Andrew Kingston f2be9501d3 Add global app theme picker and use it in client preview 2021-06-28 12:55:11 +01:00
Andrew Kingston 2333754862 Update autoscreens and default layouts to use new component props 2021-06-28 10:47:23 +01:00
Andrew Kingston 86da3b7f28 Add gap prop by default to screens 2021-06-25 15:31:35 +01:00
Andrew Kingston fb18635bf9 Merge branch 'develop' of github.com:Budibase/budibase into design-panel-v2 2021-06-24 11:44:49 +01:00
mike12345567 559e91ec29 Allowing self endpoints to 403 and not reload page. 2021-06-22 16:54:25 +01:00
mike12345567 dee180dc7c Fixing inactivity issue in builder as well #1773. 2021-06-22 13:05:15 +01:00
Andrew Kingston da1197337e Merge branch 'develop' of github.com:Budibase/budibase into design-panel-v2 2021-06-22 09:14:27 +01:00
Andrew Kingston aee876a681 Add initial work on merging settings and design panels, improve code structure, improve styles 2021-06-22 09:14:17 +01:00
mike12345567 df1e15dd55 Merge branch 'develop' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-21 13:05:39 +01:00
Martin McKeaveney 03c5640856 merge 2021-06-21 11:19:22 +01:00
Andrew Kingston 0f691e5484 Update autoscreens to require confirmation when deleting rows 2021-06-21 10:52:55 +01:00
mike12345567 40e06cc5d1 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 be03bbe5bc Remove transition setting from components 2021-06-18 12:41:15 +01:00
Andrew Kingston a0b98e8f27 Fix styles of list autoscreen 2021-06-18 12:32:47 +01:00
Andrew Kingston 085cfdccad Update autoscreen link generation to work with new layouts 2021-06-18 12:23:33 +01:00
Martin McKeaveney 08b74d2cec lint 2021-06-17 14:06:31 +01:00
Andrew Kingston 410cfe73d2 Update autoscreens to work better with layouts 2021-06-17 13:24:51 +01:00
mike12345567 615b207fbb Formatting. 2021-06-16 18:39:59 +01:00
Martin McKeaveney 9e41068a5d end to end data providers and opinionated sql 2021-06-16 17:50:22 +01:00
mike12345567 6733b61b78 Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 14:13:57 +01:00
Andrew Kingston d5e40fc090 Merge branch 'master' of github.com:Budibase/budibase into feature/layout-poc 2021-06-16 09:35:11 +01:00
mike12345567 3d9dced317 Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-15 20:00:52 +01:00
Andrew Kingston 32a3c2bbb6 Lint with prettier 2021-06-15 19:39:40 +01:00
Martin McKeaveney de279fa6a9 removing _all concept for tables, more work on plus datasource 2021-06-15 13:32:11 +01:00
Andrew Kingston 61912fd7cd Fix crash when removing data bindings from an object which contains a null value 2021-06-14 12:18:54 +01:00
Andrew Kingston ae5bc4171f Add customProps function to screen component for building autoscreens 2021-06-10 10:36:43 +01:00
Andrew Kingston 6b062c90c2 Update autoscreens to be more responsive by default 2021-06-10 10:20:59 +01:00
Andrew Kingston 2124c85a09 Update autoscreens to have new container props 2021-06-10 09:48:08 +01:00
Andrew Kingston 739abfd706 Update autoscreens to add new form type setting 2021-06-09 13:08:36 +01:00
Andrew Kingston 1ae8264276 Allow data providers to inherit each other and add full client side lucene implementation 2021-05-27 15:11:08 +01:00
Andrew Kingston 29f81ffe0d Merge branch 'master' of github.com:Budibase/budibase into ak-fixes 2021-05-26 08:53:42 +01:00
Martin McKeaveney 9564285917 fix stale topNav history state causing wrong apps to show 2021-05-25 12:42:55 +01:00
Andrew Kingston 41fb234499 Update autoscreens to use better spectrum-compatible styles and fonts 2021-05-25 10:15:10 +01:00
Andrew Kingston 6c960dd9e2 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 3c5696199a Remove Inter font fully and replace with Source Sans Pro, fix favicon import path 2021-05-25 09:41:23 +01:00
Martin McKeaveney d9ed0686ab Merge pull request #1496 from Budibase/feature/draft-apps
Feature/draft apps
2021-05-18 11:25:51 +01:00
Martin McKeaveney 0f2bcf581d revert functionality working 2021-05-16 21:25:37 +01:00
Andrew Kingston 9c7f5f98b7 Update autoscreens with new dataprovier props 2021-05-13 16:32:18 +01:00
mike12345567 2ec6b15e56 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 3b570fff83 moves admin store to `stores/portal` 2021-05-05 18:52:45 +02:00
Martin McKeaveney 77830bec4f lint and tidy 2021-05-04 18:14:13 +01:00
Martin McKeaveney cb02c9bf58 google oauth UI 2021-05-04 17:31:06 +01:00
mike12345567 e5f3b3956c Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 13:24:14 +01:00
Andrew Kingston 797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
Andrew Kingston c010eeb314 Fix prettier and fix crash when using certain views as data sources 2021-05-04 11:04:42 +01:00
mike12345567 d3ef4224a6 Merge branch 'labday/mike-formulas' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:50:52 +01:00
mike12345567 dcf69b2181 Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:34:30 +01:00
Keviin Åberg Kultalahti 0afbf1649e lint:fix 2021-05-03 09:31:09 +02:00
Michael Drury 48a0c66972 Fixing cypress tests. 2021-04-30 19:17:00 +01:00
mike12345567 a7022de9b5 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 b7a767a571 Linting. 2021-04-29 19:10:02 +01:00
mike12345567 a14c80bf6c 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 9c903feed0 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-28 15:53:07 +01:00
Keviin Åberg Kultalahti f833c1a5a0 fix dataBinding error 2021-04-28 15:18:12 +02:00
Andrew Kingston c72a65bc5f Add support for all 4 spectrum themes in builder! 2021-04-27 13:15:49 +01:00
Keviin Åberg Kultalahti a84b1ed316 merge spectrum-bbui 2021-04-21 13:15:16 +02:00
Keviin Åberg Kultalahti d186eb9dc9 remove backend.js artifact 2021-04-20 16:44:29 +02:00
Andrew Kingston 7c52196c61 Update binding icon styles and fix theme editor 2021-04-19 14:10:58 +01:00
Andrew Kingston f2d3ff7f1b Update list autoscreen to use quiet table 2021-04-16 09:40:27 +01:00
mike12345567 6c58c90a7a Adding some controls around cookies, expiring them when a 403 is hit. 2021-04-14 15:43:34 +01:00
mike12345567 e8383653c1 Formatting. 2021-04-13 20:26:26 +01:00
Andrew Kingston b467cc1677 Add default spectrum colours to existing builder components and allow spectrum dark mode toggle 2021-04-13 18:07:45 +01:00
Martin McKeaveney d82516d949 remove buildertoken refs 2021-04-13 14:00:09 +01:00
mike12345567 96b4549a4c Formatting. 2021-04-13 13:35:30 +01:00
mike12345567 a52f296d78 Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-13 10:26:40 +01:00
Martin McKeaveney 651b57fbb2 small fixes 2021-04-13 09:20:30 +01:00
Martin McKeaveney 98576f586e login page 2021-04-11 11:35:55 +01:00
mike12345567 30b7678c78 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 8e2a50aa0d Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 19:10:07 +01:00
Andrew Kingston 6c5129f8db Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-04-01 17:58:10 +01:00
Andrew Kingston 4ff5a2b073 Use server-provided client lib URL in iframe preview 2021-04-01 14:10:49 +01:00
Andrew Kingston 3ab4c7f4bc Improve cross-package bundling 2021-04-01 13:44:14 +01:00
Andrew Kingston 55208b1358 Update URLs for fetching component libraries to be under api route 2021-04-01 11:49:57 +01:00
Andrew Kingston 60a045b4c3 Update builder to hit port 1000 2021-04-01 10:59:15 +01:00
Andrew Kingston b3b7c54901 Update to support new stores 2021-04-01 10:29:47 +01:00
Andrew Kingston 8619db57b4 Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:12:16 +01:00
Keviin Åberg Kultalahti 82485607df lint fix 2021-04-01 08:40:30 +02:00
Andrew Kingston 44ad38fdf8 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 7cc7feea07 fix templates not being passed correct param 2021-03-31 14:23:58 +02:00
Keviin Åberg Kultalahti c5bdb590f9 merge next 2021-03-31 11:26:44 +02:00
Keviin Åberg Kultalahti 71dc4938da adds an init method to the tables store 2021-03-30 11:32:01 +02:00
Andrew Kingston e15986a6a5 Remove unecessary escape in regex 2021-03-29 18:21:57 +01:00
Keviin Åberg Kultalahti 003c1c75d4 fixes queries and datasource tests 2021-03-29 17:45:18 +02:00
Andrew Kingston c486a311b1 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 d0aca74e4a wip: queries store tests 2021-03-29 14:57:01 +02:00
Keviin Åberg Kultalahti 44e3f29a0b moves backend stores to "stores" in the root src directory 2021-03-26 09:50:37 +01:00
Andrew Kingston f17e2478e2 Fix crash generating bindable properties for an empty data provider ID 2021-03-25 16:17:56 +00:00
Andrew Kingston f84302ed89 Add virtual rendering to table to increase performance and remove grid component 2021-03-25 14:40:29 +00:00
Andrew Kingston e9bfdabcdd Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-24 15:52:05 +00:00
Andrew Kingston 6bc622a857 Add initial version of new spectrum table component 2021-03-24 15:51:57 +00:00
Andrew Kingston 14a4545874 Update cypress tests 2021-03-23 13:31:56 +00:00
Keviin Åberg Kultalahti 5deceb7928 remove backendUiStore 2021-03-23 13:42:03 +01:00
Keviin Åberg Kultalahti 9445b1efdc remove logs 2021-03-23 13:39:18 +01:00
Keviin Åberg Kultalahti d37778d809 lint fix 2021-03-23 13:31:18 +01:00
Keviin Åberg Kultalahti 3e58ad9031 move rows to it's separate store 2021-03-23 13:27:45 +01:00
Keviin Åberg Kultalahti d27e03c215 extract save function in tables store 2021-03-23 13:19:34 +01:00
Keviin Åberg Kultalahti 5c4a189223 extract out select and fetch methods in tables store 2021-03-23 13:06:04 +01:00
Keviin Åberg Kultalahti 45a2e5cf46 fix databindings 2021-03-23 12:48:54 +01:00
Keviin Åberg Kultalahti c924e03519 remove unused stuff in backendUiStore 2021-03-23 12:19:10 +01:00
Keviin Åberg Kultalahti c77061f239 wip: converts components to use separate stores 2021-03-23 12:16:54 +01:00
Keviin Åberg Kultalahti 071522c43f split out views to separate store 2021-03-23 12:04:11 +01:00
Keviin Åberg Kultalahti 0afc55f4cb update tables select method 2021-03-23 12:04:01 +01:00
Keviin Åberg Kultalahti a440e7631b move tables to separate store 2021-03-23 11:54:03 +01:00
Keviin Åberg Kultalahti c441307611 fixes issues with queries not getting selected correctly 2021-03-23 10:56:53 +01:00