Commit Graph

29740 Commits

Author SHA1 Message Date
Adria Navarro bbab4d35c3 Update pro submodule 2024-10-29 11:55:56 +01:00
Adria Navarro 4a91b86278 Extract values from store 2024-10-29 11:55:49 +01:00
Sam Rose b58fd7dc6b
Fix OSS build. 2024-10-29 10:34:14 +00:00
Sam Rose 0c8590be9c
Fix lint. 2024-10-29 10:32:49 +00:00
Sam Rose 67fea783bb
Support boolean and bigint fields having default values. 2024-10-29 10:29:41 +00:00
Sam Rose b9b4f88e4a
Fix default values when using multi-option column and supplying empty array. 2024-10-29 10:23:32 +00:00
Adria Navarro 70cd255ef0 Update pro submodule 2024-10-29 10:39:23 +01:00
Adria Navarro a7fa7368d9 Reset the page every time that a filter gets updated 2024-10-29 10:38:58 +01:00
Andrew Kingston d5aed4361f
Fix z-index issue with detail popovers and bindings 2024-10-29 08:49:44 +00:00
Andrew Kingston c5c17cd6bd
Reduce size of sorting popover 2024-10-29 08:48:07 +00:00
Adria Navarro 5cf0e334c2
Merge branch 'master' into v3-ui 2024-10-28 16:37:17 +01:00
Andrew Kingston 6e021e6793
lint 2024-10-28 14:54:18 +00:00
melohagan 7dcdce2480
Gro 738 refactor code that returns the account holder from user (#14872)
* WIP

* WIP

* Remove tests

* Remove TenantInfo

* Remove unused export

* Remove TenantInfo type

* Remove unused export

* Remove unused routes

* Add getAccountHolder front-end endpoint

* Add endpoint to no tenancy list

* Get account holder via appId

* lint

* Update pro ref

* Use account email instead of budibaseUserId (#14876)

* Update account-portal ref

* Update account portal ref

* Correct import order

* Simplify boolean

* type fix

* Rename endpoint to accountholder

* Update account-portal ref

* Refactor

* Refactor to not use appId

* Update type

* appId not needed

* Unused import
2024-10-28 14:46:42 +00:00
Andrew Kingston 8f94e35d29
Shrink size button popover 2024-10-28 14:38:56 +00:00
Andrew Kingston 293368e551
Update titles 2024-10-28 14:24:25 +00:00
Andrew Kingston 5156749ac9
Update table filter button to be a detail popover 2024-10-28 14:24:16 +00:00
Andrew Kingston 27c1788db2
Update view calculation button to be a detail popover 2024-10-28 14:17:50 +00:00
Andrew Kingston 3ad913ae28
Reorder buttons to access is always first 2024-10-28 14:11:13 +00:00
Andrew Kingston 67c5cc4a45
Update column settings button to be a detail popover 2024-10-28 14:09:57 +00:00
Andrew Kingston 76ccdbaa12
Remove styles 2024-10-28 14:05:41 +00:00
Andrew Kingston 83eed815c3
Update size button to be a detail popover 2024-10-28 14:05:14 +00:00
Andrew Kingston 4979cce132
Udpate sort button to be a detail popover 2024-10-28 14:05:02 +00:00
Andrew Kingston 18130729b2
Remove old files 2024-10-28 14:04:50 +00:00
Adria Navarro d36b810efc Fix flakiness 2024-10-28 14:28:53 +01:00
Adria Navarro 641ceea92e Fix checks 2024-10-28 13:57:53 +01:00
Adria Navarro b92427015b Cleanup test 2024-10-28 13:55:08 +01:00
Adria Navarro d944e3a8f9 Cleanup 2024-10-28 13:53:44 +01:00
Adria Navarro 097a7f8aae
Merge branch 'master' into fix/support-multiple-relationships-same-tables 2024-10-28 13:22:18 +01:00
Adria Navarro 95de01c86c Simplifying lookups 2024-10-28 13:17:07 +01:00
Sam Rose 199c447bc4
Merge branch 'master' into v3-ui 2024-10-28 11:01:22 +00:00
Sam Rose c2108ac60d
Merge pull request #14878 from Budibase/allow-bigints-in-calculations 2024-10-28 10:14:16 +00:00
Adria Navarro 8aeb19aabe Fix flakiness 2024-10-28 10:54:00 +01:00
Adria Navarro f28746089d
Merge branch 'master' into fix/support-multiple-relationships-same-tables 2024-10-28 10:40:06 +01:00
mike12345567 a9279b35d5 Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-25 17:31:16 +01:00
Andrew Kingston 271023823b
Tidy up export modal and update to be a detail popover 2024-10-25 16:49:45 +01:00
Sam Rose 9ab266a963
Fix lint. 2024-10-25 16:38:24 +01:00
Sam Rose 3c97652393
Merge branch 'master' into budi-8742-add-a-baseurl-binding-inside-automations 2024-10-25 16:38:07 +01:00
Sam Rose c5f1e3a53c
Merge branch 'v3-ui' of github.com:budibase/budibase into allow-bigints-in-calculations 2024-10-25 16:31:32 +01:00
Andrew Kingston dae550c21e
Tidy up import data modal and change to be a detail popover 2024-10-25 16:24:40 +01:00
Sam Rose 407484bbe5
Respond to PR comments. 2024-10-25 16:21:10 +01:00
Sam Rose 78af5cdc67
Merge branches 'master' and 'budi-8742-add-a-baseurl-binding-inside-automations' of github.com:budibase/budibase into budi-8742-add-a-baseurl-binding-inside-automations 2024-10-25 16:09:40 +01:00
Adria Navarro d4e9973c39
Merge branch 'master' into fix/support-multiple-relationships-same-tables 2024-10-25 17:02:23 +02:00
Andrew Kingston c110cb628d
Merge pull request #14858 from Budibase/remove-lightest-and-dark-themes
Remove lightest and dark themes and add core types and utils for themes
2024-10-25 16:01:44 +01:00
Adria Navarro a01c5ed654 Don't run tests for lucene 2024-10-25 17:01:25 +02:00
Adria Navarro 00eedbf726 Fix deletions 2024-10-25 16:57:50 +02:00
Sam Rose f46a668465
Allow bigints to be used in view calculations, and make sure they're accurate up to 64bit signed int via tests. 2024-10-25 15:55:07 +01:00
Michael Drury ea24bd94cf
Merge branch 'master' into openapi-test-improvements 2024-10-25 15:42:18 +01:00
Adria Navarro 96be447817 Fix many to many 2024-10-25 15:22:57 +02:00
Adria Navarro 5efcf97c0d Add more tests 2024-10-25 15:16:54 +02:00
mike12345567 8f17d7f1bf Updating pro submodule again. 2024-10-25 13:39:01 +01:00
Michael Drury 516ee275ce
Merge branch 'master' into chore/update-submodule 2024-10-25 13:14:50 +01:00
mike12345567 99c3395cb9 Some fixes to Public API test request as per PR comments, as well as removing AI formula type from open API spec (this is used internally, not supposed to be exposed). 2024-10-25 13:13:10 +01:00
Adria Navarro d044d56801 Add more tests 2024-10-25 13:25:28 +02:00
Adria Navarro e53ec31305 Add row create test 2024-10-25 13:20:15 +02:00
Sam Rose 5e4cfafa96
Expose bigints as a column to do calculations on. 2024-10-25 11:53:27 +01:00
Michael Drury 207cf40504
Merge branch 'master' into fix/openapi-security 2024-10-25 11:01:40 +01:00
Sam Rose 7ee72b6c95
Merge master. 2024-10-25 10:58:32 +01:00
Sam Rose 0875ac817c
Merge branch 'master' into budi-8742-add-a-baseurl-binding-inside-automations 2024-10-25 10:51:29 +01:00
mike12345567 f1fa0a3a6f Fixing tests, updating to typescript. 2024-10-25 10:41:20 +01:00
Sam Rose 2b1bf4d711
Fix lint. 2024-10-25 10:39:42 +01:00
mike12345567 c33f331904 Test fix. 2024-10-24 18:08:49 +01:00
Sam Rose dd6a0853a4
Fix tests (again) 2024-10-24 18:05:33 +01:00
mike12345567 68354cc50f Defaulting app ID to variable. 2024-10-24 17:48:25 +01:00
mike12345567 0863a1167c Updating OpenAPI definition to contain all required variables. 2024-10-24 17:41:34 +01:00
Sam Rose 226c8d4f8e
Fix SQL tests. 2024-10-24 17:33:16 +01:00
Adria Navarro c13613f75c
Merge pull request #14860 from Budibase/BUDI-8774/delete-row-actions-when-unfetching-tables
Remove row actions when unfetching tables
2024-10-24 18:05:07 +02:00
Adria Navarro b05f35f58f
Merge pull request #14859 from Budibase/BUDI-8774/row-actions-dont-get-deleted-when-removing-a-datasource
Delete row actions when removing a datasource
2024-10-24 18:04:52 +02:00
mike12345567 5a46e16b8d Adding some tests around the openAPI public APIs to make sure the security works the way we expect, do not redirect API requests. 2024-10-24 16:54:08 +01:00
Andrew Kingston 2dec33c12d
Revert info display changes 2024-10-24 16:27:30 +01:00
Andrew Kingston be5564621c
Add info display in user side panel to warn builders if they haven't published their app 2024-10-24 16:19:43 +01:00
Sam Rose 977826a0ca
Clean up table assertions in SQL injection tests. 2024-10-24 15:37:53 +01:00
Sam Rose 6e6e1368c1
Assert table is not deleted in SQL injection tests. 2024-10-24 15:32:08 +01:00
Andrew Kingston c8a7837868
Skip access API request if unchanged 2024-10-24 15:30:05 +01:00
Adria Navarro 08ee84c88b
Merge pull request #14864 from Budibase/chore/allow-overriding-minversion-without-power-role
Allow overriding the min version where we stop serving the power role
2024-10-24 16:23:04 +02:00
Adria Navarro 288517df96 Fix frontend issues due power role missing 2024-10-24 16:08:04 +02:00
Adria Navarro f279a1716d Allow overriding the min version where we stop serving the power role 2024-10-24 15:52:52 +02:00
Adria Navarro 4dedde5165 Add missing rowaction 2024-10-24 13:51:44 +02:00
Adria Navarro 637c13c1af Proper typing for emitTable 2024-10-24 13:44:20 +02:00
Adria Navarro 342d70b326 Proper typing 2024-10-24 13:42:01 +02:00
Sam Rose e54bb3fbdc
Uncomment view tests. 2024-10-24 12:33:32 +01:00
Sam Rose 478160c412
Fix all tests. 2024-10-24 12:28:23 +01:00
Adria Navarro 47e16dd844 Typing emitter 2024-10-24 13:07:13 +02:00
Sam Rose 0736812293
Add SQL injection tests. 2024-10-24 11:39:57 +01:00
Adria Navarro 8dda1a51cf Remove row actions when unfetching tables 2024-10-24 12:39:20 +02:00
Andrew Kingston a8264aadc2
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-24 11:37:04 +01:00
Adria Navarro ae6f2f9382 Fix test 2024-10-24 12:22:51 +02:00
Sam Rose e14918c105
Fix notContains tests again. 2024-10-24 11:20:31 +01:00
Adria Navarro bbc9a2798d Add test for internal 2024-10-24 12:08:44 +02:00
Adria Navarro 7b0419773c Implement deletion 2024-10-24 12:08:17 +02:00
Sam Rose 4a42439647
Merge branch 'master' of github.com:budibase/budibase into sql-security 2024-10-24 11:04:16 +01:00
Sam Rose 0695888659
wip 2024-10-24 11:01:35 +01:00
Andrew Kingston a1fbd3ef9a
Try to fix pro 2024-10-24 10:56:52 +01:00
Adria Navarro f2e46863f6 Add test deleting external ds 2024-10-24 11:53:59 +02:00
Andrew Kingston 7464f5e7b9
Merge branch 'v3-ui' of github.com:Budibase/budibase into view-calculation-ui 2024-10-24 10:50:05 +01:00
Andrew Kingston 389251c659
Merge pull request #14857 from Budibase/query-ui-frontend
Frontend updates for storing view filters in `queryUI`
2024-10-24 10:47:35 +01:00
Adria Navarro ccdb032449 Move sdk rowaction code 2024-10-24 11:30:59 +02:00
Andrew Kingston 687996257f
Revert change to view error message 2024-10-24 10:27:41 +01:00
Andrew Kingston 889b216a93
Add theme tests 2024-10-24 10:22:43 +01:00
Adria Navarro 9c9d2560b2 Remove fetchEnriched 2024-10-24 11:17:31 +02:00
Andrew Kingston 249f44dc11
Use new default app theme constant when creating apps 2024-10-24 10:13:42 +01:00
Andrew Kingston a38ae93097
Lint 2024-10-24 10:10:14 +01:00
Andrew Kingston 90fb36315f
Add client feature to ensure full backwards compatibility with themes 2024-10-24 10:06:04 +01:00
Andrew Kingston 27d42a9bfe
Fix theme of in builder preview 2024-10-24 09:43:30 +01:00
Andrew Kingston d7ad035e0b
Lint 2024-10-24 09:36:51 +01:00
Andrew Kingston ab0f81824d
Update to use new shared-core location for theme utils 2024-10-24 09:35:55 +01:00
Andrew Kingston 4c112d51e6
Move themes to shared core, add enum and type 2024-10-24 09:24:11 +01:00
Andrew Kingston 247d57887a
Remove lightest and dark themes, use enums for themes, standardise naming 2024-10-24 09:07:36 +01:00
Andrew Kingston 8a0193cfb7
Fix typo 2024-10-24 07:25:45 +01:00
Andrew Kingston 9c7e3cd95e
Reset filters when reopening table filter button 2024-10-24 07:24:45 +01:00
Sam Rose ebcbadfd3a
remove all of the `fnc` variables 2024-10-23 17:21:14 +01:00
Sam Rose a120ce4e14
More refactoring. 2024-10-23 17:07:42 +01:00
Michael Drury 714afad2ad
Merge branch 'master' into fix/mysql-forward-slashes 2024-10-23 16:57:26 +01:00
Andrew Kingston 13d0c0f734
Remove log 2024-10-23 16:24:24 +01:00
Andrew Kingston c8c5cbe16c
Update more usages of processing search filters 2024-10-23 16:24:02 +01:00
Sam Rose aaf4022f25
Finally fix notContains tests. 2024-10-23 16:22:07 +01:00
Adria Navarro 8466f8883c
Merge pull request #14854 from Budibase/chore/simplify-automation-data
Trigger info data in the frontend
2024-10-23 17:15:21 +02:00
Andrew Kingston b6dbe54236
Remove old reference to deleted code 2024-10-23 16:12:21 +01:00
Andrew Kingston 6ac6db706d
Revert default param 2024-10-23 16:10:57 +01:00
Andrew Kingston 67cc35e7df
Merge branch 'v3-ui' of github.com:Budibase/budibase into query-ui-fontend 2024-10-23 16:09:09 +01:00
Sam Rose 685d8cfd20
Merge pull request #14852 from Budibase/fix-processSearchFilters
Make sure processSearchFilters handles an undefined input.
2024-10-23 15:52:18 +01:00
Adria Navarro 998d0002b8 Cleanup dead code 2024-10-23 16:48:22 +02:00
Adria Navarro e67352d51b Remove api flag 2024-10-23 16:38:07 +02:00
Adria Navarro 11b2e40836 Remove 2024-10-23 16:37:55 +02:00
Adria Navarro 7901c2d4ac Remove builderData usage 2024-10-23 16:37:46 +02:00
Sam Rose f7b84ca7ea
Fix some type skullduggery. 2024-10-23 15:32:07 +01:00
mike12345567 8ebb02eb79 Test fix. 2024-10-23 15:30:46 +01:00
Adria Navarro a24728394f Trigger info data in the frontend 2024-10-23 16:26:14 +02:00
Sam Rose f2a844c3b5
Fix test. 2024-10-23 15:24:32 +01:00
mike12345567 e28357c451 Linting. 2024-10-23 15:21:37 +01:00
Sam Rose 9ebd890c04
Handle empty arrays too. 2024-10-23 15:13:58 +01:00
mike12345567 3ddd8e10cc Comment and test case. 2024-10-23 15:10:53 +01:00
Sam Rose ca0dc030ad
Make sure processSearchFilters handles an undefined input. 2024-10-23 15:08:59 +01:00
mike12345567 8f21802e6e Refactor, correct to the BuiltinPermissionID rather than PermissionLevel, these are different. 2024-10-23 15:08:59 +01:00
Andrew Kingston de26d151af
Remove log 2024-10-23 15:07:19 +01:00
Andrew Kingston cb4b7988c5
Update usages of queryUI and ensure processSearchFilters isn't called with nullish values 2024-10-23 15:06:57 +01:00
Sam Rose 309506adab
wip 2024-10-23 15:05:41 +01:00
Andrew Kingston 77bb3cf4da
Increase width of create table modal 2024-10-23 14:52:54 +01:00
Andrew Kingston 4eda072af4
Add view name to queryUI error 2024-10-23 14:50:46 +01:00
mike12345567 c6a413f399 Quick fix for role validation, permissionId is no longer required. 2024-10-23 14:47:06 +01:00
Sam Rose 26192515b3
Merge branch 'master' of github.com:budibase/budibase into sql-security 2024-10-23 14:45:51 +01:00
Sam Rose ad475be4f7
Merge pull request #14818 from Budibase/queryui-default
Make `queryUI` on `ViewV2` something you can write on its own, and `query` gets filled in for you
2024-10-23 14:28:29 +01:00
Andrew Kingston 8f80d8eb86
Merge branch 'v3-ui' of github.com:Budibase/budibase into view-calculation-ui 2024-10-23 14:18:33 +01:00
Sam Rose ff487735cc
Update frontend type names to match changes I've made. 2024-10-23 14:13:43 +01:00
Andrew Kingston 470ace7dad
Merge branch 'v3-ui' of github.com:Budibase/budibase into view-calculation-ui 2024-10-23 14:10:05 +01:00
Adria Navarro 64db4db3b3
Merge pull request #14849 from Budibase/BUDI-8770/row-action-automation-names-are-not-updated-in-automation
Row action name cleanup
2024-10-23 15:06:00 +02:00
Sam Rose 17c9d9f9e1
Merge branch 'v3-ui' into queryui-default 2024-10-23 13:59:53 +01:00
Sam Rose da2b2e5c85
Merge v3-ui. 2024-10-23 13:55:57 +01:00
Adria Navarro 67d2e0cf61 Port changes from PR #14846 2024-10-23 14:34:39 +02:00
Martin McKeaveney 612bd5177c update pro ref 2024-10-23 13:32:39 +01:00
Adria Navarro 71671ad62a Update pro submodule 2024-10-23 14:24:24 +02:00