Commit Graph

1144 Commits

Author SHA1 Message Date
mike12345567 21a8d44ec7 Adding a 'SESSION_EXPIRY_SECONDS' environment variable which can be set on the services to configure how long before an idle user is logged out. 2024-01-25 16:22:39 +00:00
jvcalderon 09b75c3924 Recalculate creators count on plan downgrade 2024-01-23 13:21:54 +01:00
Adria Navarro e42784b5e9 Use system lock 2024-01-16 11:49:34 +01:00
Adria Navarro 7e50986a2e Remove unnecessary get 2024-01-16 11:28:35 +01:00
Adria Navarro 0cce142571 Use lock to prevent race conditions on invite 2024-01-16 11:20:27 +01:00
Adria Navarro 0ed8464aab Display error on wrong password 2024-01-16 11:07:03 +01:00
Adria Navarro 3ce3f6b5ac Fix flakiness test 2024-01-03 12:42:52 +01:00
Adria Navarro 8b866a53c8 Clean 2024-01-03 12:11:25 +01:00
Adria Navarro 4db5d9dab2 Lint 2024-01-03 12:08:18 +01:00
Adria Navarro b09f941027 Fix tests 2024-01-03 12:06:23 +01:00
Adria Navarro b45717a1e1 Move password checks to db 2024-01-03 12:00:25 +01:00
Adria Navarro 874c3f9dd4 Fix tests 2024-01-03 11:41:57 +01:00
Adria Navarro 0685caf8a2 Validate password in backend-core 2024-01-02 15:23:12 +01:00
Adria Navarro e50cc35140 Validate password on admin creation 2024-01-02 13:23:08 +01:00
Adria Navarro 7b9fadc3ba Validate password on reset 2024-01-02 13:05:48 +01:00
Adria Navarro 1633284f9d Bubble up error 2024-01-02 13:02:24 +01:00
Adria Navarro c94c3d09dc
Merge branch 'master' into vulnerability/budi-7794-invalidate-session-on-password-reset 2024-01-02 12:25:42 +01:00
Adria Navarro d1ffe24269 Invalidate session on password update 2023-12-29 16:54:47 +01:00
Adria Navarro f74264c1c8 Add tests 2023-12-29 16:37:34 +01:00
Adria Navarro dcacd6bf17 Add basic test 2023-12-29 16:07:26 +01:00
Adria Navarro f722f9e2d6 Invalidate reset code once used 2023-12-29 15:06:04 +01:00
Adria Navarro fede6dc3e4 Fix flaky scim test 2023-12-29 11:12:31 +01:00
Adria Navarro a6537e66c3 Set scim config on beforeall 2023-12-29 10:26:03 +01:00
Sam Rose 0a7af05f01
Unmock node-fetch again. 2023-12-12 14:46:08 +00:00
Sam Rose 614a659032
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support 2023-12-12 14:44:08 +00:00
Sam Rose b4f0423ca3
Respond to Adri's feedback. 2023-12-12 14:43:53 +00:00
Andrew Kingston f7b7f3efde Error when searching global users using more than one filter per field 2023-12-12 11:15:29 +00:00
Andrew Kingston 66f219d778 Lint and change status code to 400 when searching on invalid fields 2023-12-12 10:26:48 +00:00
Sam Rose 3a7c30c7f3
Seeing if CI is happy if I remove the unmock call. 2023-12-11 17:54:02 +00:00
Sam Rose 779bd8f230
Remove core env overriding in worker TestConfiguration. Should be split out in server, too. 2023-12-11 17:28:33 +00:00
Andrew Kingston e16cc26781 Lint 2023-12-11 17:25:42 +00:00
Sam Rose 867d68d429
Cleanup. 2023-12-11 17:25:38 +00:00
Andrew Kingston 6617243ce5 Update global users search to account for numeric prefixing 2023-12-11 17:23:02 +00:00
Sam Rose e0243b495c
Fix tests. 2023-12-11 17:20:00 +00:00
Sam Rose 2c3b3d03e1
Respond to PR comments. 2023-12-11 16:49:44 +00:00
Sam Rose 6b491815a5
Add isSqsAvailable key to the environment endpoint. 2023-12-11 15:22:02 +00:00
mike12345567 8628c67c90 Fixing typing issues. 2023-12-05 18:17:27 +00:00
mike12345567 33b7e4d5d2 Some final refactoring, using proper jwt lib rather than requiring (proper typing). 2023-12-05 16:28:19 +00:00
mike12345567 b6c6e6ec6e Clearing out per-app builders when app is deleted. 2023-11-23 17:35:55 +00:00
Michael Drury 1d368be5de
Merge branch 'master' into fix/admin-user-backup 2023-11-22 10:59:45 +00:00
mike12345567 ddd8482013 Updating bb admin user creation so that it can be used incase in self host a user gets locked out, the environment variables can be used to create a simple user to access the system. 2023-11-21 17:30:11 +00:00
Adria Navarro db2c20e3ae eslint import/newline-after-import 2023-11-20 21:52:29 +01:00
Adria Navarro 4d27ff1dc0 eslint import/no-duplicates 2023-11-20 21:48:49 +01:00
mike12345567 258ea803bc Further PR comments. 2023-11-17 16:37:00 +00:00
mike12345567 7fb6c0927a Moving things around to get rid of cyclics created by moving invite/passwordReset into backend-core - also updating currentapp test case to mock a bit better. 2023-11-17 16:20:10 +00:00
Sam Rose 4c7c10b121
Set Redis initialisation back to how it was before I started messing with it. 2023-11-10 16:17:18 +00:00
Sam Rose d6eb2b9452
Attempting to get integration tests passing again. 2023-11-10 15:43:06 +00:00
Sam Rose 94983c289f
Hook redis init flow into overall worker init flow. 2023-11-10 11:39:26 +00:00
Sam Rose d98e217c6c
Fix backend-core redis imports. 2023-11-10 11:21:36 +00:00
Sam Rose 7f530eeab5
Add tests for the onboarding endpoint. 2023-11-09 15:13:59 +00:00