Commit Graph

6263 Commits

Author SHA1 Message Date
Mel O'Hagan 889376003d Use original relationship names on delete 2023-01-13 16:18:46 +00:00
Mel O'Hagan dfd6575aea Validation improvements 2023-01-13 15:01:21 +00:00
Mel O'Hagan d7ae20ce21 Use foreign key instead of parimary[0] 2023-01-13 12:41:41 +00:00
Andrew Kingston 355fb6fda2 Make usage stats responsive and fix layout issues 2023-01-13 12:11:14 +00:00
Andrew Kingston 00916a9b45 Hide edit and view links in more menu on overview page unless on mobile 2023-01-13 12:05:42 +00:00
Andrew Kingston a89bdb5e57 Update app overview button styles to include more CTAs 2023-01-13 12:04:05 +00:00
Andrew Kingston 84c0e468db Always show groups section in app access page 2023-01-13 12:02:48 +00:00
Andrew Kingston 387c3be2b4 Remove clickable visual styles from plugins 2023-01-13 12:01:34 +00:00
Andrew Kingston fb8d6bb341 Update assignment modal text 2023-01-13 11:58:05 +00:00
Andrew Kingston 2812973eea Shrink user dropdown 2023-01-13 11:57:57 +00:00
Andrew Kingston 9daa4be01f Shrink upgrade button 2023-01-13 11:57:46 +00:00
Mel O'Hagan 66c13a2a77 Try to match primary key or take first 2023-01-13 11:47:09 +00:00
melohagan 5477cf420a Allow primary keys to be foreign key (#9331) 2023-01-13 11:22:59 +00:00
Andrew Kingston 66c6b6dec3 Fix logo override not working 2023-01-13 09:26:35 +00:00
Andrew Kingston 31431ac98c Update spacing on user and group detail page and fix usage page showing wrong copy 2023-01-13 09:25:12 +00:00
Andrew Kingston 447c98ef5b Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2023-01-13 08:57:39 +00:00
Andrew Kingston f5936f2583 Improve responsiveness on apps list page and fix discussions link styles 2023-01-13 08:47:15 +00:00
Andrew Kingston 22affb8d5f Improve users page loading experience 2023-01-13 08:39:52 +00:00
Andrew Kingston 147bdc751c Remove logs 2023-01-13 08:39:39 +00:00
Andrew Kingston ad4133a777 Allow readonly access to users and groups for developer users 2023-01-13 08:29:18 +00:00
Andrew Kingston e23f7dde47 Allow developer users to access users, groups and usage pages 2023-01-13 08:28:54 +00:00
Andrew Kingston 4e4b074635 Update app access assignment and fix backups table 2023-01-12 17:04:05 +00:00
Andrew Kingston 5d24fe0a13 Centralise menu logic and show full menu on mobile 2023-01-12 16:50:43 +00:00
Peter Clement a0dacc9717 add create store method and tidy up 2023-01-12 16:09:05 +00:00
Peter Clement e8e29ddc8c Merge remote-tracking branch 'origin/cheeks-lab-day-portal-redesign' into feature/environment-variables 2023-01-12 16:00:07 +00:00
Andrew Kingston abd84118d9 Hide groups page if disabled at tenant level 2023-01-12 15:52:37 +00:00
Andrew Kingston e32dc5237a Fix mobile menu upgrade button not closing menu 2023-01-12 15:42:59 +00:00
Peter Clement 5646e18cb2 Merge branch 'feature/environment-variables' of github.com:Budibase/budibase into feature/environment-variables 2023-01-12 14:53:53 +00:00
Andrew Kingston b21f0b3925 Lint 2023-01-12 14:48:05 +00:00
Peter Clement a4fd65b495 add edit and add modals 2023-01-12 14:38:30 +00:00
Andrew Kingston 1ce4c8a569 Fix update link in app overview 2023-01-12 09:19:58 +00:00
Andrew Kingston 6078c7560e Fix some responsive styles 2023-01-12 09:19:37 +00:00
mike12345567 69b9af51ff Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-11 18:08:49 +00:00
mike12345567 d5ccbbe4f0 Merge branch 'cheeks-lab-day-portal-redesign' of github.com:Budibase/budibase into feature/environment-variables 2023-01-11 18:04:33 +00:00
mike12345567 03df57d077 Adding in basic implementation of variable usage, getting from pro and enriching through new datasource SDK. 2023-01-11 17:57:51 +00:00
Andrew Kingston 4ddb63d79c Update backups page to be responsive 2023-01-11 16:39:32 +00:00
melohagan c6e2033cd4 Default source to Github (#9312) 2023-01-11 15:35:33 +00:00
Andrew Kingston 3d76b07a9a Make automation history page responsive 2023-01-11 12:09:58 +00:00
Andrew Kingston 5cf6ba89cf Update multiple pages to be responsive and improve loading experience 2023-01-11 11:58:27 +00:00
Andrew Kingston e9d20a885b Refactor main portal page into multiple components 2023-01-11 10:13:19 +00:00
Andrew Kingston 34adcdcddf Update more pages to be responsive and add mobile specific components 2023-01-11 09:11:35 +00:00
Andrew Kingston db4714d69c Update mobile design of apps page 2023-01-11 08:37:38 +00:00
Andrew Kingston 6871172822 Make core page layout responsive and update apps list to be responsive 2023-01-11 08:29:57 +00:00
Andrew Kingston a38d1ec583 Update app list to use a more compact style 2023-01-11 08:10:56 +00:00
Mel O'Hagan 77ff0d36b7 Refactor 2023-01-10 17:00:18 +00:00
Mel O'Hagan dd4fbd075a Refactor 2023-01-10 16:57:49 +00:00
Mel O'Hagan 293efae980 Merge branch 'develop' into bug/sev5/make-query-name-safe 2023-01-10 16:55:57 +00:00
melohagan 88bda769a4 Merge pull request #8911 from Budibase/bug/sev2/custom-sql-query-bindings
Update custom sql query in design when changed in the data section
2023-01-10 16:51:27 +00:00
Peter Clement 7a78a0bf66 more boilerplate 2023-01-09 16:49:29 +00:00
Peter Clement 7378d21fea environment variables ui boilerplate 2023-01-09 16:48:39 +00:00
Andrew Kingston 0aa72e5147 Update upgrade button URL for cloud accounts 2023-01-09 16:16:03 +00:00
Andrew Kingston 4e7daa66ed Add licensing and env logic to determine which account links to show 2023-01-09 12:25:22 +00:00
Andrew Kingston 99ba588478 Cleanup 2023-01-09 12:06:45 +00:00
Andrew Kingston b6e237874a Update email details page to match new designs 2023-01-09 12:01:16 +00:00
Andrew Kingston 531fe63b4b Fix checklist removal and fix profile modal 2023-01-09 11:35:31 +00:00
Andrew Kingston a456e18bde Remove getting started checklist 2023-01-09 11:33:14 +00:00
Andrew Kingston ee6abf9200 Properly handle text overflow in plugins table 2023-01-09 11:26:01 +00:00
Andrew Kingston 6b39256184 Fix URLs in app overview 2023-01-09 11:22:59 +00:00
Andrew Kingston 7c11b82e57 Update plugin search placeholder 2023-01-09 11:22:47 +00:00
Andrew Kingston e461c4d676 Update links when going back from the builder 2023-01-09 11:22:12 +00:00
Andrew Kingston f805f6d7f3 Convert plugins page to table and update components and modals 2023-01-09 11:12:54 +00:00
Andrew Kingston 8933bc2be8 Move settings before account and show plugins for devs 2023-01-09 09:46:27 +00:00
Andrew Kingston 85f4648f6f Move theme and API key into user profile dropdown instead of settings 2023-01-09 09:42:51 +00:00
Andrew Kingston 183bf9a84a Fix automation error linking from apps page and improve automation fetching logic in automation history 2023-01-09 09:20:26 +00:00
Andrew Kingston 395b4d7ad8 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2023-01-06 15:22:28 +00:00
Andrew Kingston 66674c7277 Ensure view names are properly encoded to handle certain special characters (#9145) 2022-12-22 13:09:07 +00:00
Andrew Kingston 3dd5916f24 Update user and group details pages with new tables 2022-12-21 16:33:25 +00:00
Andrew Kingston e91ed89d72 Update users detail page 2022-12-21 11:53:16 +00:00
Andrew Kingston 7526bc8387 Update user details page to use tables and match designs 2022-12-21 11:52:25 +00:00
Andrew Kingston 1e522d6696 Tidy up 2022-12-21 09:54:39 +00:00
Andrew Kingston 285f11eca5 Add sidebar for portal and use it for automation history. Fix multiple overflow and scrolling issues 2022-12-21 09:47:17 +00:00
Andrew Kingston df1e1b0c3f Fix loading bugs in app backups page 2022-12-21 08:52:49 +00:00
Andrew Kingston 0a12dfd192 Fix flashing in version settings page 2022-12-21 08:50:39 +00:00
Andrew Kingston d684ab95f2 Fix multiple issues with long text overflow 2022-12-21 08:45:54 +00:00
Andrew Kingston 5fdd31f724 Fix extremely long strings in breadcrumbs not wrapping 2022-12-20 17:27:50 +00:00
Andrew Kingston f12fdf48ff Update table styles to support flexible column widths much better 2022-12-20 17:22:39 +00:00
Andrew Kingston 75af4cbfbf Update table hover colours 2022-12-20 17:07:14 +00:00
Andrew Kingston 7ca61c8bca Rewrite app overview access tab 2022-12-20 17:01:50 +00:00
Andrew Kingston 2506d018f9 Update overview backups page 2022-12-20 12:35:07 +00:00
Andrew Kingston bbf41f9656 Update overview automation history tab 2022-12-20 12:06:08 +00:00
Andrew Kingston 3f7a7eda16 Add tooltip to explain why URL cannot be changed until unpublishing 2022-12-20 08:53:12 +00:00
Andrew Kingston ab29c10936 Update app overview version and name/url screens 2022-12-20 08:48:20 +00:00
Andrew Kingston 112b879731 Update config checklist to properly center 2022-12-19 16:11:45 +00:00
Andrew Kingston 9bb1cf3af8 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2022-12-19 16:05:18 +00:00
Martin McKeaveney 84ab7862d1 fixes for google sheets, admin checklist, and deleting an app from API (#8846)
* fixes for google sheets, admin checklist, and deleting an app from API

* code review

* splitting unpublish endpoint, moving deploy endpoint to applications controller. Still to do public API work and move deployment controller into application controller

* updating REST method for unpublish in API test

* unpublish and publish endpoint on public API, delete endpoint unpublishes and deletes app

* removing skip_setup from prodAppDb call

* removing commented code

* unit tests and open API spec updates

* unpublish, publish unit tests - delete still in progress

* remove line updating app name in API test

* unit tests

* v2.1.46

* Update pro version to 2.1.46

* v2.2.0

* Update pro version to 2.2.0

* Fix for budibase plugin skeleton, which utilises the old import style.

* Fix side nav styles

* v2.2.1

* Update pro version to 2.2.1

* using dist folder to allow importing constants for openAPI specs

* v2.2.2

* Update pro version to 2.2.2

* Fix for user enrichment call (updating to @budibase/nano fork) (#9038)

* Fix for #9029 - this should fix the issue users have been experiencing with user enrichment calls in apps, essentially it utilises a fork of the nano library we use to interact with CouchDB, which has been updated to use a POST request rather than a GET request as it supports a larger set of data being sent as query parameters.

* Incrementing Nano version to attempt to fix yarn registry issues.

* v2.2.3

* Update pro version to 2.2.3

* Fix SQL table `_id` filtering (#9030)

* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field

* Remove like operator from internal tables and only allow basic operators on SQL table _id column

* Update data section filtering to respect new rules

* Update automation section filtering to respect new rules

* Update dynamic filter component to respect new rules

* v2.2.4

* Update pro version to 2.2.4

* lock changes (#9047)

* v2.2.5

* Update pro version to 2.2.5

* Make looping arrow point in right direction (#9053)

* v2.2.6

* Update pro version to 2.2.6

* Types/attaching license to account (#9065)

* adding license type to account

* removing planDuration

* v2.2.7

* Update pro version to 2.2.7

* Environment variable type coercion fix (#9074)

* Environment variable type coercion fix

* Update .gitignore

* v2.2.8

* Update pro version to 2.2.8

* tests passing

* all tests passing, updates to public API response

* update unpublish call to return 204, openAPI spec and unit

* fixing API tests

Co-authored-by: Budibase Release Bot <>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2022-12-19 13:18:00 +00:00
Andrew Kingston 650448de8b Remove debug logging 2022-12-19 13:16:54 +00:00
Andrew Kingston 02ff1fd25d Lint 2022-12-19 12:47:30 +00:00
Andrew Kingston e38e0db2c3 Remove useless rows store and remove unecessary state updates 2022-12-19 12:35:35 +00:00
Andrew Kingston 20bd1815ac Fix issue creating columns due to 'draft' concept when mutating table schemas 2022-12-19 12:22:07 +00:00
melohagan e6a81f2106 External datasource ordering (#9048)
* Sort external datasources

* lint

* Refactor
2022-12-19 08:23:24 +00:00
Andrew Kingston 3b1819952d Builder data section routing refactor (#8996)
* Improve theming with spectrum badges and dedupe spectrum label usage

* Update data section nav to match designs and use panel component

* Fix main content layout in data section

* Update data section routing for tables

* Improve data section routing for tables to account for edge cases

* Update internal and sample datasource routing

* Update external datasource routing

* Update routing for queries and make a top level concept like everything else

* Update routing for views

* Fix undefined reference when deleting datasource

* Reduce network calls and fix issues with stale datasourcenavigator state

* Update routing for REST queries and unify routes for normal queries and REST queries

* Lint

* Fix links for queries from datasource details page

* Remove redundant API calls and improve table deletion logic

* Improve data entity deletion logic and redirection and fix query details keying

* Improve determination of selected item in datasource tree

* Lint

* Fix BBUI import

* Fix datasource navigator selected state not working for internal DB or sample data
2022-12-17 14:13:06 +00:00
Andrew Kingston 8832864eec Add initial rewrite of app overview section 2022-12-16 15:54:34 +00:00
Andrew Kingston d4da8d83fb Update structure for account pages 2022-12-15 16:50:08 +00:00
FlaminWrap a1ee10c1c6 Button action for user prompt (#8676)
* Commit for enhancement #7762

Added Question option for buttons which acts as a dialog prompting the user to confirm or cancel before continuing.

* Fixes

* Made changes to allow custom modal title

Changed Question to User Prompt
Allows custom title

* Revert "Made changes to allow custom modal title"

This reverts commit 42a43bef4914cd52b07a2b6964bf78aa50eb2707.

* Revert "Fixes"

This reverts commit 915a8718e5ac6dd32a6c3d377d5edb02fc8a3138.

* Adds custom title

Adds custom title

* Wrong version of buttonActions was commited

* Delete index.js

* refactor

* lint

Co-authored-by: Mel O'Hagan <mel@budibase.com>
2022-12-15 16:21:24 +00:00
Andrew Kingston 9e290527ed Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-portal-redesign 2022-12-15 15:34:50 +00:00
Andrew Kingston 090ae5df49 Master => Develop (#9049)
* v2.1.46

* Update pro version to 2.1.46

* v2.2.0

* Update pro version to 2.2.0

* Fix for budibase plugin skeleton, which utilises the old import style.

* Fix side nav styles

* v2.2.1

* Update pro version to 2.2.1

* using dist folder to allow importing constants for openAPI specs

* v2.2.2

* Update pro version to 2.2.2

* Fix for user enrichment call (updating to @budibase/nano fork) (#9038)

* Fix for #9029 - this should fix the issue users have been experiencing with user enrichment calls in apps, essentially it utilises a fork of the nano library we use to interact with CouchDB, which has been updated to use a POST request rather than a GET request as it supports a larger set of data being sent as query parameters.

* Incrementing Nano version to attempt to fix yarn registry issues.

* v2.2.3

* Update pro version to 2.2.3

* Fix SQL table `_id` filtering (#9030)

* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field

* Remove like operator from internal tables and only allow basic operators on SQL table _id column

* Update data section filtering to respect new rules

* Update automation section filtering to respect new rules

* Update dynamic filter component to respect new rules

Co-authored-by: Martin McKeaveney <martin@budibase.com>
Co-authored-by: Budibase Release Bot <>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-12-15 12:13:42 +00:00
Rory Powell 786039055e File authentication using presigned URLs (#8883)
* file auth wip

* Private plugin bucket wip

* Add etag to logo request, fix circular dependency

* Resolve cyclic dependency

* Ensure browser doesn't cache custom component

* Global file fixes

* File fixes / remove permaUrl

* Add ctx local storage

* Enable presigned url to work from any host

* Test fix

* Self hosting w/ S3 + other fixes

* Fix for serving dev app in multi tenant

* Fix backup restore and import attachment url processing, never store attachment urls

* Test fixes

* Unit tests WIP

* Replace file path with base64 encoded private key

* Multi tenancy tests for files

* Environment files fixes

* Post-merge build and test fixes

* Add debug conditional to all jest logging and revert/fix prod minio proxy_pass

* Re-add default '/' minio route :(

* Rename iconFile -> iconFileName

* Add cloudfront vars to k8s templates

* Remove public bucket policy

* Remove duplicated test
2022-12-15 11:35:22 +00:00
Andrew Kingston 6ca0443aef Update settings pages to new designs 2022-12-14 15:58:56 +00:00
Andrew Kingston 0419f22931 Update button styles to always use newStyles, update auth page styles 2022-12-14 15:51:56 +00:00
Andrew Kingston dfed2c26c7 Update font styles to allow for easy customisation 2022-12-14 15:33:16 +00:00