1
0
Fork 0
mirror of synced 2024-09-19 02:39:37 +12:00
Commit graph

1214 commits

Author SHA1 Message Date
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
Sam Rose
822c03b0ef
Refactor onboardUsers endpoint. 2023-11-09 15:02:44 +00:00
Sam Rose
b29cfc600c
Move Invite and PasswordReset code into backend-core. 2023-11-09 14:51:07 +00:00
Sam Rose
b2841b30b2
Add a test for the multi-invite endpoint. 2023-11-09 11:17:30 +00:00
Sam Rose
a6a75b533c
Reject inviting the same user twice. 2023-11-09 11:15:44 +00:00
Sam Rose
3f69b17c94
Fully type the worker redis utils file. 2023-11-09 11:05:42 +00:00
Sam Rose
fdfda100c1
Ensure that the DB always returns Documents. 2023-11-07 18:14:52 +00:00
Martin McKeaveney
5dd6c40a29
Merge branch 'master' into fix/update-bull-queue-parameters 2023-11-06 18:02:49 +00:00
mike12345567
86f7bd192f Moving audit log init to be part of the server startup. 2023-11-03 14:55:56 +00:00
Andrew Kingston
7c1f71745e Update email link and button colours and sort apps in portal side bar 2023-10-31 13:58:59 +00:00
Andrew Kingston
e8f5980905 Update images in emails, readme and a few other usages 2023-10-31 11:13:19 +00:00
Sam Rose
5a80487c77
Fix redirect loop when accessing a group as a global builder but not an admin. 2023-10-26 17:54:26 +01:00
Adria Navarro
453c0744be Fix tests 2023-10-23 15:20:44 +02:00
Adria Navarro
d1f0e8fca0 Fix tests 2023-10-20 17:53:40 +02:00
mike12345567
8c744ea7a9 PR comments. 2023-10-20 15:57:45 +01:00
mike12345567
04a2bbc61a Two fixes here - a quick fix for the builder side panel, making sure it fills up with users correctly (not all, but enough to make it look more pleasant) as well as dropping user search endpoint permissions to allow basic users to access it for user columns. 2023-10-20 15:45:35 +01:00
Sam Rose
f9bff0846a
Merge branch 'master' into refactor/remove-jsdoc-types-in-ts-files 2023-10-18 11:45:52 +01:00
Adria Navarro
ea1853c78c Remove sentry from the backend 2023-10-18 10:51:09 +02:00
Sam Rose
767900aec6
Remove type information from JSDoc in .ts files, it's redundant. 2023-10-17 16:46:32 +01:00
Martin McKeaveney
2ef9871fda merge with master 2023-10-16 14:42:50 +01:00
mike12345567
bd182d5b3b Test cases for updated API. 2023-10-12 19:19:05 +01:00
mike12345567
16d551542e Frontend component of updating the API and accounting for default value not being in the paginated results of the relationship picker. 2023-10-12 19:00:53 +01:00
Adria Navarro
62e1a12fe4 Log errors on retry 2023-10-02 13:01:25 +02:00
Martin McKeaveney
65af2ed7c2 backmerge from master 2023-09-27 17:06:57 +01:00
Adria Navarro
c68cfc5042 Remove unused devDependencies on worker 2023-09-26 16:37:10 +02:00
Martin McKeaveney
6d4e3082e3 type tidy up and lint 2023-09-24 22:07:40 +01:00
Martin McKeaveney
b979b29313 e2e secure microsoft auth 2023-09-23 00:10:12 +01:00
mike12345567
5f82b79d40 Removing test logs. 2023-09-14 11:42:04 +01:00
mike12345567
26c6393f06 Adding retries to 409 test. 2023-09-14 11:11:05 +01:00
mike12345567
4ca9ea97b6 Get server/worker tests to run. 2023-09-14 10:55:41 +01:00
Adria Navarro
7bd91ebb7f Fix 2023-09-07 16:25:13 +02:00
Adria Navarro
205d33f172 Clean cypress refs 2023-09-07 15:37:22 +02:00
Peter Clement
70c71c13bf remove redudant delete 2023-09-05 12:20:39 +01:00
Peter Clement
c16fd53b0a add developer label back and improve invite flow 2023-09-05 09:58:05 +01:00
Peter Clement
6d3a7727eb fixes for perr app builder and refactoring based on comments 2023-09-05 09:25:06 +01:00
Peter Clement
24abd91600 Fix issue around adding of admin users 2023-09-04 09:37:10 +01:00
Peter Clement
ddf9e734f4 pr comments and bug fixes 2023-08-31 10:36:27 +01:00
Peter Clement
7c8914207b fix invite user flow 2023-08-30 16:43:24 +01:00
Peter Clement
8b8bce186c builder side panel changes to support inviting creators 2023-08-29 14:41:56 +01:00
mike12345567
67104d7cb3 Quick hacks to try and help with the stability of some failing tests. 2023-08-23 18:05:58 +01:00
mike12345567
11f56c2632 Updating error message in test. 2023-08-23 15:22:25 +01:00
Michael Drury
5a00b87343 Merge branch 'develop' into feature/group-per-app-builders 2023-08-23 15:07:45 +01:00
mike12345567
cad787a909 Removing old docker-compose.test.yaml that was causing flakiness and getting worker using mock redis. 2023-08-23 15:07:12 +01:00
mike12345567
656870db8b Adding last of support for per app group builder support, enriching the user on self return, as well as adding the functionality required to server middlewares. 2023-08-22 18:14:08 +01:00
mike12345567
ba5e390b3f Quick PR comments. 2023-08-17 17:44:59 +01:00
mike12345567
95b8a4ea10 Adding feature flagging, the option to only start the automations, or the API, meaning we can split the service if needed. 2023-08-17 16:39:25 +01:00
melohagan
a5fb25e41e Allow null for firstName and lastName (#11482) 2023-08-09 10:38:04 +01:00
Adria Navarro
e011ccd0c4 Merge branch 'develop' into chore/typecheck_tests 2023-08-01 16:49:06 +01:00
Adria Navarro
202963c864 Fix type tests 2023-08-01 12:52:12 +02:00
mike12345567
dce38908c9 PR comments (backend). 2023-08-01 10:56:47 +01:00
mike12345567
7a74ce98f1 Moving user functions in UserDB to fully static as none of the class properties ever change - simplifying currying. 2023-07-31 18:46:21 +01:00
mike12345567
31f9693185 Quick update to SCIM now that user functionality is available from backend-core. 2023-07-31 17:10:27 +01:00
mike12345567
8522cb94d3 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-28 17:10:43 +01:00
Adria Navarro
95f66ebd9d Fix types 2023-07-28 17:11:48 +02:00
mike12345567
72438f531d Update for worker, get builder endpoints working for app builders. 2023-07-28 15:39:59 +01:00
mike12345567
1403bf26c6 Quick fixes based on raising PR, types and tests. 2023-07-28 13:58:20 +01:00
mike12345567
454f832b75 Updates after running through tests, adding mocking of app builders feature for test cases to work. 2023-07-28 12:58:05 +01:00
mike12345567
2080126da2 Final cleanup when running services. 2023-07-27 18:58:09 +01:00
mike12345567
c8712eda00 Fixing some missing functions. 2023-07-27 18:53:58 +01:00
mike12345567
812f1af5ca Moving app builder API into pro, along with the changes involved with achieving this. 2023-07-27 18:46:55 +01:00
mike12345567
d8f50f139e Frontend update for app builders, handling when in the builder portal and don't have any app access, as well as allowing viewing of apps from the portal. 2023-07-27 17:52:56 +01:00
mike12345567
eefac0fe08 Quick updates based on latest lerna version, as well as some fixes after running through flows (post refactoring). 2023-07-26 18:13:18 +01:00
mike12345567
64a5426d36 Updates to remove app builder concept, denying access to app creation for app builders. 2023-07-26 17:32:21 +01:00
mike12345567
8253ad0a2e Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-26 14:24:29 +01:00
mike12345567
43bfb943a3 Some fixes post testing. 2023-07-25 18:52:59 +01:00
mike12345567
66fbdfe4e8 Breaking out pro components back into the worker user SDK, and attempting to separate the pro components as much as possible from the user SDK itself, so that it can be easily re-created in other services. 2023-07-25 18:39:40 +01:00
mike12345567
90371b9d69 Refactoring users core to move into backend, allowing app builder endpoints to move into pro. 2023-07-25 17:48:57 +01:00
Rory Powell
8590f865b5 Merge branch 'master' into merge-master 2023-07-25 15:32:16 +01:00
Rory Powell
143e6597db Fix issues with tests when running with pro from npm 2023-07-25 13:18:56 +01:00
mike12345567
d9c8e26f65 Re-writing APIs based on most recent discussion about RBAC and per app builders. 2023-07-24 18:29:46 +01:00
mike12345567
c375f860ba Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-24 13:46:49 +01:00
Rory Powell
5c4d29e349 Merge branch 'develop' into feature/offline-license 2023-07-24 10:06:04 +01:00
mike12345567
87d80e08f5 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-21 17:34:27 +01:00
Rory Powell
c8fc67d230 Lint 2023-07-20 21:24:19 +01:00
Rory Powell
34d9f1c4f8 Request / response renames 2023-07-20 21:22:54 +01:00
Rory Powell
90e869dc04 /api/global/license/offline/identifier API 2023-07-20 21:21:39 +01:00
Rory Powell
c0568b9153 api / license.spec.ts updates 2023-07-20 21:21:39 +01:00
Rory Powell
20c87b44b1 Allow pro to be mocked in worker 2023-07-20 21:21:39 +01:00
Rory Powell
6c3d01375b Move license keys to their own module 2023-07-20 21:21:39 +01:00
Rory Powell
7c18a7a443 db / licenseInfo.spec.ts 2023-07-20 21:21:39 +01:00
Rory Powell
8e2a551a15 Be more explicit about offline license vs offline license token 2023-07-20 21:21:39 +01:00
Rory Powell
0e80766125 Update license endpoints to provide consistent pattern for offline license and license key (create, read, delete) 2023-07-20 21:21:39 +01:00
Rory Powell
6aeb31c355 Move OFFLINE_MODE to backend-core environment 2023-07-20 21:21:39 +01:00
Rory Powell
5ac024a655 Merge branch 'develop' into feature/offline-license 2023-07-20 12:27:04 +01:00
mike12345567
85dea47a31 Moving user admin/builder functions to shared-core for frontend to use. 2023-07-19 16:19:34 +01:00
mike12345567
39746e0bf0 Main body of work to handle the new approach of per app builders support. 2023-07-18 16:57:48 +01:00
Andrew Kingston
cd8414e6a1 Fix getting started checklist links 2023-07-18 16:14:59 +01:00
mike12345567
e30509c4f9 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-18 11:32:38 +01:00
Adria Navarro
2698e47ec4 Type internal db.get 2023-07-18 11:41:51 +02:00
mike12345567
a04443c059 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-17 18:06:04 +01:00
Rory Powell
4a38d55ce8 Lint 2023-07-14 16:55:48 +01:00
Adria Navarro
6e2a8e0ab9 Rename .log extensions 2023-07-11 13:09:51 +02:00
Adria Navarro
0b5717cde5 Renamings 2023-07-11 10:44:10 +02:00
Adria Navarro
fd0018c1bc Download logs section 2023-07-11 10:44:10 +02:00
Adria Navarro
b64ea43d20 System logs only for self hosted 2023-07-11 10:44:10 +02:00
Adria Navarro
bb28d09eab Add logs endpoint 2023-07-11 10:44:09 +02:00
Rory Powell
7c4fe15781 Request / response renames 2023-07-10 16:12:19 +01:00
Rory Powell
574c361f6b /api/global/license/offline/identifier API 2023-07-08 13:07:10 +01:00
Rory Powell
7831579e98 api / license.spec.ts updates 2023-07-07 21:15:40 +01:00
Rory Powell
19d3e12177 Allow pro to be mocked in worker 2023-07-07 16:55:11 +01:00
Rory Powell
1fa5cd519c Move license keys to their own module 2023-07-07 11:48:12 +01:00
Rory Powell
700d8131d1 db / licenseInfo.spec.ts 2023-07-07 11:34:10 +01:00
Rory Powell
d02f474fd1 Be more explicit about offline license vs offline license token 2023-07-06 21:26:46 +01:00
Rory Powell
efe53bb217 Update license endpoints to provide consistent pattern for offline license and license key (create, read, delete) 2023-07-06 20:46:25 +01:00
Rory Powell
586bca16d0 Move OFFLINE_MODE to backend-core environment 2023-07-06 20:44:48 +01:00
mike12345567
6d24a30d91 Basic refactor work, the types required for the new API endpoints. 2023-07-05 18:28:04 +01:00
Michael Drury
f7cdf5f2bc Merge pull request #11001 from Budibase/feature/custom-role-readable-ids
Custom roles - readable IDs
2023-06-27 16:17:08 +01:00
Dean
eaecd3ab68 Merge remote-tracking branch 'origin/develop' into merge-master 2023-06-27 09:31:35 +01:00
mike12345567
8882801315 Fixing lookup of custom role by ID in test case. 2023-06-26 17:01:50 +01:00
Dean
8f9a1d4bba PR feedback 2023-06-26 10:23:57 +01:00
Dean
10108fb543 Null checking logo configs 2023-06-26 10:22:03 +01:00
Dean
6f24772f49 PR Feedback 2023-06-23 16:40:40 +01:00
Dean
ceecd85d76 OIDC icon fix recreated on a new branch 2023-06-23 14:47:58 +01:00
mike12345567
38be94fa07 Fix for test case. 2023-06-20 12:36:05 +01:00
mike12345567
3955b00bbc Merge branch 'develop' of github.com:Budibase/budibase into fix/airgap-templates-call 2023-06-19 18:57:17 +01:00
mike12345567
289a75fc9a Few minor updates to the integration suite to make it easier to decipher what is happening under the hood, as well as making it easier to log from these (where there is no pino logging available, importing backend-core breaks things). Also added a new script which can be used to get local environment setup as needed to run qa-core tests. Finally, xdescribe for the failing test until can work out what is wrong with MongoDB installation in QA environment. 2023-06-19 18:28:38 +01:00
Martin McKeaveney
7c49dd716c remove console log 2023-06-15 15:29:29 +01:00
Martin McKeaveney
dd8e54c5e1 update airgap script and enable support for offline mode 2023-06-15 15:20:14 +01:00
melohagan
c0578d4cc2 Send meeting invite via automation email smtp (#10787)
* Pass calendar props into sendSmtpEmail

* Add calendar event to message

* Add Checkbox and DatePicker automation field UI

* Add URL prop

* Add url to sendSmtpEmail unit test

* Refactor

* Code review comments

* Make location optional

* Add EmailInvite type

---------

Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2023-06-08 14:25:35 +01:00
Adria Navarro
deeba8bae3 Revert "Merge branch 'develop' into master"
This reverts commit 6f29c978e0, reversing
changes made to 1c6ff73c19.
2023-06-06 22:06:34 +01:00
Adria Navarro
3a6a3eb8a5 Store tokens in cache and amend redirect 2023-06-06 11:29:49 +01:00
Dean
0a7669ad2d PR feedback 2023-06-05 16:26:27 +01:00
Dean
f20653d4ca Branding fixes 2023-06-05 15:20:04 +01:00
Rory Powell
e00eb171be WIP logo url fixes 2023-06-05 14:01:46 +01:00
Michael Drury
adbdaf394a Small update to make sure that save/patch calls to the rows API (all DS+) return the squashed relationships, not the whole structure. 2023-06-01 18:18:12 +01:00
Adria Navarro
0a2335a047 Merge pull request #10622 from Budibase/chore/improve_pipeline_times
Chore - Improve pipeline run time
2023-05-19 13:18:21 +02:00
Adria Navarro
0850ee7b8c Fix flakiness 2023-05-18 17:38:23 +02:00
mike12345567
55ec808a82 Fixing comment. 2023-05-16 15:47:38 +01:00
Adria Navarro
0882046ea2 Test search by email 2023-05-10 14:53:30 +02:00
Adria Navarro
c05a93f875 Test last page search 2023-05-10 12:33:11 +02:00
Adria Navarro
3de3ddfa62 Add tests 2023-05-10 12:33:11 +02:00