Commit Graph

3972 Commits

Author SHA1 Message Date
Sam Rose 446d0abdad
Merge branch 'master' of github.com:budibase/budibase into mongodb-transformer-tweaks 2024-11-19 11:45:39 +00:00
Sam Rose 889d3158e8
Bypass transformers that are trivial, allow users to configure bson buffer size. 2024-11-19 11:34:15 +00:00
Adria Navarro 4f67182585 Proper types 2024-11-19 11:00:58 +01:00
Adria Navarro 2867515c0e Exclude src from npm packages 2024-11-19 11:00:58 +01:00
Martin McKeaveney 2de841407d pin deps 2024-11-18 16:39:05 +00:00
Martin McKeaveney 52dc2b942f Merge branch 'master' of github.com:Budibase/budibase into security-updates 2024-11-18 16:04:54 +00:00
Martin McKeaveney bcfe0479b8 bump pouch in backend core 2024-11-18 15:45:09 +00:00
Martin McKeaveney 62be25c157 fix dnd handlers 2024-11-18 13:20:31 +00:00
Sam Rose 0a65d7245c
Merge branch 'master' into create-secret-key-once 2024-11-18 11:10:53 +00:00
Adria Navarro f1483473d1 Cleanups 2024-11-18 10:45:45 +01:00
Adria Navarro 2dee07c2bb
Merge branch 'master' into chore/sqs-always-on 2024-11-18 10:29:09 +01:00
Martin McKeaveney cdbf4b53b7 lint 2024-11-15 15:19:10 +00:00
Martin McKeaveney a899a11fa6 Merge branch 'csp-updates' of github.com:Budibase/budibase into csp-updates 2024-11-15 15:08:13 +00:00
Martin McKeaveney dcecd5c4a9 add unsafe-inline migration strategy 2024-11-15 15:02:34 +00:00
Martin McKeaveney f72809a30a
Merge branch 'master' into csp-updates 2024-11-15 14:55:23 +00:00
Martin McKeaveney 78cf681580 ignore types for direct mockImpl calls 2024-11-15 14:41:05 +00:00
Martin McKeaveney 324597b2a4 dependency upgrades for security scanners 2024-11-10 16:28:43 +00:00
Martin McKeaveney ddd5a37928 add csp env var to backend-core 2024-11-10 13:26:45 +00:00
Martin McKeaveney 87f85a0d63 unit test 2024-11-10 13:17:21 +00:00
Martin McKeaveney 9525cf8682 make directives immutable 2024-11-10 13:11:49 +00:00
Martin McKeaveney 1543e6dc2b env variable for turning off csp 2024-11-10 13:08:51 +00:00
Martin McKeaveney 9996fc7f12 CSP nonce E2E 2024-11-08 17:40:29 +00:00
Adria Navarro 34d6eb0f57 Merge branch 'master' into chore/sqs-always-on 2024-11-08 10:27:44 +01:00
Sam Rose 8c9092cc41
Fix encryption.spec.ts. 2024-11-07 17:19:03 +00:00
Sam Rose 1dd52cca78
Create JWT secret keys on boot. 2024-11-07 17:05:50 +00:00
Adria Navarro 28724602a2 use startContainer utils 2024-11-07 13:12:03 +01:00
Adria Navarro 518191b882 Clean 2024-11-07 12:15:45 +01:00
Adria Navarro 1ad8e0d458 PR comments 2024-11-07 12:12:23 +01:00
Sam Rose f60c65df52
Merge branch 'master' into chore/sqs-always-on 2024-11-07 10:16:44 +00:00
Adria Navarro 7126534bd2 Undo changes 2024-11-07 11:16:31 +01:00
Adria Navarro 866bef8145 Make use of helpers 2024-11-07 11:16:31 +01:00
Adria Navarro a7bb89a710 Add useRealQueues helpers 2024-11-07 11:16:31 +01:00
Adria Navarro 505146f4b3 Add utils 2024-11-07 11:16:31 +01:00
Adria Navarro f7f056ef76 Clean 2024-11-07 11:16:31 +01:00
Adria Navarro b2488af6da Use utils 2024-11-07 11:16:31 +01:00
Adria Navarro 4f6a09fb02 Add utils 2024-11-07 11:16:31 +01:00
Adria Navarro 8c88d65003 Simplify api 2024-11-07 11:16:31 +01:00
Adria Navarro a952cd7d08 Enable disabled test 2024-11-07 11:16:31 +01:00
Adria Navarro 252c23f8bd Fix tests 2024-11-07 11:16:31 +01:00
Adria Navarro 5089528ffd
Merge branch 'master' into BUDI-8683/correct-automation-cron-server-timestamp 2024-11-07 10:58:35 +01:00
Sam Rose 915a7b4c1c
Merge master. 2024-11-06 17:34:51 +00:00
Martin McKeaveney 8455356cee turning on AI flags 2024-11-06 16:44:23 +00:00
Adria Navarro 0667dd9d30 Add test 2024-11-06 12:39:56 +01:00
mike12345567 3ff0e3956c Flagging all released features on in self host. 2024-11-06 10:15:32 +00:00
Adria Navarro b84b272293 Remove TABLES_DEFAULT_ADMIN flag 2024-11-04 16:48:57 +01:00
Adria Navarro 7235fd9d5c Merge from master 2024-11-04 10:25:38 +01:00
Andrew Kingston 25a0bd2de2
Merge branch 'master' into v3-ui 2024-10-31 16:27:23 +00:00
Sam Rose 76a68a12f0
Fix handling of the Postgres money field. 2024-10-31 14:33:37 +00:00
Sam Rose 945cf52f02
Allow fields on count calculations. 2024-10-31 11:54:31 +00:00
Sam Rose b504f77d0f
Fix view calculations when relationships are present. 2024-10-30 17:32:49 +00:00
Michael Drury 8e0ebba099
Revert "Revert to state from 2.33.4." 2024-10-29 17:11:28 +00:00
Sam Rose fea668e6b6
Revert to state from 2.33.4. 2024-10-29 15:55:38 +00:00
mike12345567 f94d8ba870 Fixing merge artifact 2024-10-29 12:18:36 +00:00
Adria Navarro 3f006550d9
Merge branch 'master' into v3-ui 2024-10-29 12:52:13 +01:00
mike12345567 4da185a843 Fixes an issue with public role access, some old roles have a slightly different role ID format which needs to be accounted for in the comparison. Tests will come after, want to get the fix out. 2024-10-29 11:00:45 +00:00
Adria Navarro 5cf0e334c2
Merge branch 'master' into v3-ui 2024-10-28 16:37:17 +01: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
Sam Rose c2108ac60d
Merge pull request #14878 from Budibase/allow-bigints-in-calculations 2024-10-28 10:14:16 +00:00
mike12345567 a9279b35d5 Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-25 17:31:16 +01: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 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
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
Adria Navarro f279a1716d Allow overriding the min version where we stop serving the power role 2024-10-24 15:52:52 +02:00
Sam Rose 478160c412
Fix all tests. 2024-10-24 12:28:23 +01:00
Sam Rose 0736812293
Add SQL injection tests. 2024-10-24 11:39:57 +01:00
Sam Rose e14918c105
Fix notContains tests again. 2024-10-24 11:20:31 +01:00
Sam Rose 0695888659
wip 2024-10-24 11:01:35 +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
Sam Rose aaf4022f25
Finally fix notContains tests. 2024-10-23 16:22:07 +01:00
mike12345567 8f21802e6e Refactor, correct to the BuiltinPermissionID rather than PermissionLevel, these are different. 2024-10-23 15:08:59 +01:00
Sam Rose 26192515b3
Merge branch 'master' of github.com:budibase/budibase into sql-security 2024-10-23 14:45:51 +01:00
Andrew Kingston 45dbfd2e35
Merge pull request #14577 from Budibase/new-rbac-ui
New RBAC UI
2024-10-23 12:19:53 +01:00
Sam Rose 56a68db1d4
Checkpoint EOD: fixed a bunch more raw cases, some test failures to fix tomorrow. 2024-10-22 18:33:44 +01:00
Adria Navarro 23cf44b242
Merge branch 'master' into v3-ui 2024-10-22 18:23:26 +02:00
Michael Drury 9575095da3
Merge pull request #14844 from Budibase/fix/multi-inheritance-preview-role
Preview role - multi-inheritance fixes
2024-10-22 16:48:14 +01:00
Adria Navarro 06670ba549 Add local prerelease to version locally 2024-10-22 17:32:32 +02:00
mike12345567 74870663e2 Addressing PR comments. 2024-10-22 16:02:20 +01:00
mike12345567 f3d54f1b7d Adding test cases. 2024-10-22 13:54:54 +01:00
Sam Rose 4545493cd5
Checkpoint, more raws converted. 2024-10-22 11:48:38 +01:00
Sam Rose 44bd00a0d7
Making progress on converting raw calls to use bindings. 2024-10-21 18:20:52 +01:00
Sam Rose 00bdd6fc00
Merge branch 'master' of github.com:budibase/budibase into sql-security 2024-10-21 16:39:58 +01:00
deanhannigan 2795eca672
Merge branch 'master' into v3-ui 2024-10-21 15:01:02 +01:00
Adria Navarro 630802799e Remove SQS flag 2024-10-21 15:40:10 +02:00
Adria Navarro 42f27bacb2 Cleanup SQS feature usages 2024-10-21 15:19:36 +02:00
mike12345567 f857e2a3e9 Adding BUDIBASE_AI feature flag. 2024-10-21 12:56:59 +01:00
Sam Rose cc2605a9dd
WIP 2024-10-21 10:04:03 +01:00
mike12345567 24dbb0cef9 Merge branch 'master' of github.com:Budibase/budibase into fix/all-feature-flag-enum 2024-10-18 18:24:02 +01:00
mike12345567 b94498e583 Backporting types from v3 to support updating pro submodule. 2024-10-18 17:29:22 +01:00
mike12345567 87bdd68afa Updating to use enum for feature flags across the board. 2024-10-18 17:07:35 +01:00
mike12345567 94789ff03d Adding all feature flags to enum, just so there is a simple reference to see all feature flags that are available. 2024-10-18 16:51:23 +01:00
Andrew Kingston eaa0465539
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-18 11:45:12 +01:00
Andrew Kingston 02a60ba55d
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-18 08:52:47 +01:00
mike12345567 47de88f42f Destroy test case. 2024-10-17 17:47:55 +01:00
Michael Drury aaf5debc52
Merge branch 'master' into feature/role-multi-inheritance 2024-10-17 17:01:27 +01:00
mike12345567 bd10a3d831 Missed comment. 2024-10-17 17:00:40 +01:00
mike12345567 2ae1836b9a PR comments. 2024-10-17 16:58:51 +01:00
mike12345567 3da3bccc01 Some fixes for traverser. 2024-10-17 16:27:47 +01:00
mike12345567 cfc5848d14 Improving how traversal is performed for role inheritance. 2024-10-17 16:10:32 +01:00