Commit Graph

243 Commits

Author SHA1 Message Date
Alex Holliday dd5166e14f Add pagespeed type to monitor model 2024-07-24 10:42:38 -07:00
Alex Holliday aa6260af85 use findOneAndDelete to make sure tokens are deleted when used 2024-07-23 14:37:15 -07:00
Alex Holliday 608153b461 Commented out admin check, unsure as to whether or not more than one admin can exist 2024-07-23 14:30:27 -07:00
Alex Holliday c77414f2d7 Added check to verify and fetch token from server 2024-07-23 12:27:23 -07:00
Alex Holliday 39d78ac4d7 Merge remote-tracking branch 'upstream/develop' into feat/invite-registration 2024-07-23 11:41:02 -07:00
Alex Holliday 3b7f1b876f Updated register page and validation to new role schema 2024-07-23 11:25:25 -07:00
Alex Holliday a822ae3254 Add role to invite token 2024-07-23 11:24:20 -07:00
Alexander Holliday 5669848901 Merge pull request #423 from bluewave-labs/feat/pageSpeed-service
Implementing the page speed service.
2024-07-23 09:54:18 -07:00
M M b142eac0a5 Instantiating the service and adding it to the request object. 2024-07-22 19:54:41 -07:00
M M 4e9551f777 Add docs. 2024-07-22 19:49:33 -07:00
M M abad357bde implement a page speed service. 2024-07-22 19:49:05 -07:00
Alex Holliday 0a8cb5f6bf Merge remote-tracking branch 'upstream/develop' into feat/incidents 2024-07-22 15:18:52 -07:00
Alex Holliday e63d577fa5 Added endponts and routes for fetching monitors with incidents 2024-07-22 14:28:03 -07:00
Alex Holliday a85ae41557 initial commit 2024-07-22 12:47:50 -07:00
Alex Holliday 8e6cd0de71 Added verifyAdmin middleware. Implemented getAllUsers route 2024-07-22 11:49:22 -07:00
Alexander Holliday 064e75f862 Merge pull request #406 from bluewave-labs/feat/invite-email
Issue invite token and send invitation email on invite request, resolves #393
2024-07-22 09:49:45 -07:00
Alexander Holliday 9cfe52411f Merge pull request #407 from bluewave-labs/fix/emailService
Fixed unawaited promise in email service
2024-07-22 09:49:32 -07:00
Daniel Cojocea 84613bc0e4 Backend camel case 2024-07-22 12:45:33 -04:00
Alex Holliday 4703d1fa0c Fixed unawaited promise in email service 2024-07-21 20:36:03 -07:00
Alex Holliday 610d9228da Issue invite token and send invitation email on invite request 2024-07-21 20:35:23 -07:00
Alex Holliday 6b29a56da1 Changed sort order of checks to always be newest->oldest. Updated check search accordingly 2024-07-19 20:27:38 -07:00
Alex Holliday fdb59866b3 updated code for new package 2024-07-19 20:02:01 -07:00
Alex Holliday f02a6b31fa Moved to alpha versin of mjml because of security vulnerabilities 2024-07-19 19:47:16 -07:00
Alexander Holliday 2c5dc85f81 Merge pull request #396 from bluewave-labs/feat/emails
Removed sendgrid, use emailService for all emails.  Updated env vars,…
2024-07-19 16:39:43 -07:00
Alex Holliday 12e23cb156 Removed sendgrid, use emailService for all emails. Updated env vars, updated scripts 2024-07-19 15:41:06 -07:00
Alexander Holliday 6ada5e08fe Merge pull request #390 from bluewave-labs/feat/user-invitation
Feat/user invitation
2024-07-19 15:10:13 -07:00
Alex Holliday 1c3c7e115a Refactored email service for modernity and clarity 2024-07-19 14:35:50 -07:00
Alex Holliday 428e018aff Add invite endpoint, add validation to invit endpoint 2024-07-19 13:05:38 -07:00
M M e1228a0143 updated validation schema for the controller. 2024-07-19 12:52:16 -07:00
M M ab816ce176 moved body validation to a separate validation schema. 2024-07-19 12:46:11 -07:00
M M 22928e5b5a Merge remote-tracking branch 'upstream/develop' into feat/speedcheck-body 2024-07-19 12:34:36 -07:00
MuhammadKhalilzadeh d541dfb57b emailService.js created, env variables added 2024-07-19 22:39:12 +03:30
MuhammadKhalilzadeh 505c6bf5de Nodemailer implemented 2024-07-19 21:44:40 +03:30
Alex Holliday 4e56db368f Add invite route 2024-07-19 11:11:59 -07:00
Alex Holliday 5889e37bbd Add invite token 2024-07-19 10:59:04 -07:00
M M 83a837d236 Updated router module. 2024-07-18 23:21:28 -07:00
M M 73ec86e6e3 Updated route handler function for the speed check controller. 2024-07-18 23:05:33 -07:00
M M 8d51fd8bf3 Updated joi validation schema. 2024-07-18 23:02:05 -07:00
Daniel Cojocea c25f3d8172 Switched to regex literals 2024-07-18 20:31:47 -04:00
Daniel Cojocea abf60cfca5 Synced password validation between frontend and backend 2024-07-18 20:22:15 -04:00
Alex Holliday af61a4ef0a Change permissions to array[string] 2024-07-18 12:42:02 -07:00
MuhammadKhalilzadeh 60a53c3f1b new templates 2024-07-18 14:28:21 +03:30
MuhammadKhalilzadeh 836ea8cd46 Removed extra blank spaces 2024-07-18 09:48:44 +03:30
Mohammad Khalilzadeh d969aa2c67 Merge branch 'bluewave-labs:master' into email-templates 2024-07-18 09:40:26 +03:30
MuhammadKhalilzadeh 35f7a378b0 Changes 2024-07-18 09:38:13 +03:30
M M 7f27fa2507 Updated controller with proper names. 2024-07-17 15:23:06 -07:00
M M 20456fe121 Changed names for joi. 2024-07-17 15:19:27 -07:00
M M fc09aee094 Used validateAsync instead of validate. 2024-07-17 15:12:51 -07:00
M M 683006ae84 Used proper name for validation schema in speed check controller. 2024-07-17 15:11:58 -07:00
M M 7d179042c2 Defined a new validation schema in the joi. 2024-07-17 15:09:46 -07:00