diff --git a/CommonServer/Services/ScheduledMaintenanceService.ts b/CommonServer/Services/ScheduledMaintenanceService.ts index a9a873b133..daf231e377 100644 --- a/CommonServer/Services/ScheduledMaintenanceService.ts +++ b/CommonServer/Services/ScheduledMaintenanceService.ts @@ -71,8 +71,8 @@ export class Service extends DatabaseService { new ScheduledMaintenanceStateTimeline(); timeline.projectId = createdItem.projectId!; timeline.scheduledMaintenanceId = createdItem.id!; - timeline.isOwnerNotified = true; // ignore notifying owners because you already notify for Scheduled Event, you dont have to notify them for timeline event. - timeline.isStatusPageSubscribersNotified = true; // ignore notifying subscribers because you already notify for Scheduled Event, you dont have to notify them for timeline event. + timeline.isOwnerNotified = true; // ignore notifying owners because you already notify for Scheduled Event, you don't have to notify them for timeline event. + timeline.isStatusPageSubscribersNotified = true; // ignore notifying subscribers because you already notify for Scheduled Event, you don't have to notify them for timeline event. timeline.scheduledMaintenanceStateId = createdItem.currentScheduledMaintenanceStateId!; diff --git a/CommonUI/src/Components/Forms/BasicForm.tsx b/CommonUI/src/Components/Forms/BasicForm.tsx index 51a9d58c1a..17a4a5aa2f 100644 --- a/CommonUI/src/Components/Forms/BasicForm.tsx +++ b/CommonUI/src/Components/Forms/BasicForm.tsx @@ -233,7 +233,7 @@ const BasicForm: ForwardRefExoticComponent = forwardRef( }; const submitForm: Function = (): void => { - // check for any boolean values and if they dont exist in values - mark them as false. + // check for any boolean values and if they don't exist in values - mark them as false. setAllTouched(); diff --git a/Dashboard/src/Components/Form/Monitor/CriteriaFilters.tsx b/Dashboard/src/Components/Form/Monitor/CriteriaFilters.tsx index d5c34bed92..12de9df17a 100644 --- a/Dashboard/src/Components/Form/Monitor/CriteriaFilters.tsx +++ b/Dashboard/src/Components/Form/Monitor/CriteriaFilters.tsx @@ -89,7 +89,7 @@ const CriteriaFilters: FunctionComponent = ( {showCantDeleteModal ? ( { setShowCantDeleteModal(false); diff --git a/Dashboard/src/Components/NotificationMethods/Email.tsx b/Dashboard/src/Components/NotificationMethods/Email.tsx index 7c90cdb2e0..74c87fb9f4 100644 --- a/Dashboard/src/Components/NotificationMethods/Email.tsx +++ b/Dashboard/src/Components/NotificationMethods/Email.tsx @@ -205,7 +205,7 @@ const Email: FunctionComponent = (): ReactElement => { fields: [ { title: 'Verification Code', - description: `We have sent verification code to your email. Please dont forget to check your spam.`, + description: `We have sent verification code to your email. Please don't forget to check your spam.`, field: { code: true, }, @@ -276,9 +276,7 @@ const Email: FunctionComponent = (): ReactElement => { { setShowVerificationCodeResentModal(false); diff --git a/Dashboard/src/Components/NotificationMethods/SMS.tsx b/Dashboard/src/Components/NotificationMethods/SMS.tsx index a92e60c86a..c596d6b26a 100644 --- a/Dashboard/src/Components/NotificationMethods/SMS.tsx +++ b/Dashboard/src/Components/NotificationMethods/SMS.tsx @@ -205,7 +205,7 @@ const SMS: FunctionComponent = (): ReactElement => { fields: [ { title: 'Verification Code', - description: `We have sent an SMS with your verification code. Please dont forget to check your spam.`, + description: `We have sent a SMS with your verification code. Please don't forget to check your spam.`, field: { code: true, }, @@ -276,9 +276,7 @@ const SMS: FunctionComponent = (): ReactElement => { { setShowVerificationCodeResentModal(false); diff --git a/Dashboard/src/Pages/Settings/CustomSMTP.tsx b/Dashboard/src/Pages/Settings/CustomSMTP.tsx index eb74e5d1b4..3fbdcfa5ba 100644 --- a/Dashboard/src/Pages/Settings/CustomSMTP.tsx +++ b/Dashboard/src/Pages/Settings/CustomSMTP.tsx @@ -329,7 +329,7 @@ const CustomSMTP: FunctionComponent = ( title={`Email Sent`} error={error} description={ - 'Email sent successfully. Please check your inbox. Please dont forget to check spam. It should take couple of minutes to arrive.' + 'Email sent successfully. Please check your inbox. Please don't forget to check spam. It should take couple of minutes to arrive.' } submitButtonType={ButtonStyleType.NORMAL} submitButtonText={'Close'} diff --git a/Devops/backup/backup.sh b/Devops/backup/backup.sh index dae7eaf577..cc4550eb65 100755 --- a/Devops/backup/backup.sh +++ b/Devops/backup/backup.sh @@ -167,7 +167,7 @@ function BACKUP_FAIL_LOCAL(){ echo "Taking a backup on the server" echo "" -# Drop audit logs collection because we dont need to take backup of that. +# Drop audit logs collection because we don't need to take backup of that. # echo "Removing audit logs collections. This will take some time." # sudo mongo ${ONEUPTIME_DB_NAME} --host="${MONGO_HOSTS}" --port="${MONGO_PORT}" --username="$ONEUPTIME_DB_USERNAME" --password="$ONEUPTIME_DB_PASSWORD" --eval 'db.auditlogs.drop()' diff --git a/Docs/run.md b/Docs/run.md index 3578badcfd..8a91510ecd 100644 --- a/Docs/run.md +++ b/Docs/run.md @@ -8,7 +8,7 @@ - Docker will build and run contaienrs. This will take some time. - You should see OneUptime Home Page on `http://localhost` - The containers are hot reloadable, so any changes you do in local development, it should auto-restart. -- However, containers dont auto-restart for chages made to `package.json` / `webpack.config.js` files. If you've made a change to those files, you should build the container again by running: +- However, containers don't auto-restart for chages made to `package.json` / `webpack.config.js` files. If you've made a change to those files, you should build the container again by running: ``` npm run force-build-dev diff --git a/Home/views/on-call.ejs b/Home/views/on-call.ejs index 26417b4897..ac99d793ec 100755 --- a/Home/views/on-call.ejs +++ b/Home/views/on-call.ejs @@ -332,7 +332,7 @@

Custom SMS and Calls

-

If you dont prefer using our provider, you can use your SMS and Call provider for alerts.

+

If you don't prefer using our provider, you can use your SMS and Call provider for alerts.

diff --git a/Notification/Services/MailService.ts b/Notification/Services/MailService.ts index 043087bfde..7d34064bfc 100755 --- a/Notification/Services/MailService.ts +++ b/Notification/Services/MailService.ts @@ -140,7 +140,7 @@ export default class MailService { emailTemplateType: EmailTemplateType, vars: Dictionary ): Promise { - // Localcache templates, so we dont read from disk all the time. + // Localcache templates, so we don't read from disk all the time. let templateData: string; if ( diff --git a/README.md b/README.md index dcf1301cb3..d0c875c703 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ cp config.example.env config.env npm start ``` -If you dont like to use npm or do not have it installed, run this instead: +If you don't like to use npm or do not have it installed, run this instead: ``` # Read env vars from config.env file and run docker-compose up. @@ -90,7 +90,7 @@ cd oneuptime # Copy config.example.env to config.env cp config.example.env config.env -# Since this is dev, you dont have to edit any of those values in config.env. You can, but that's optional. +# Since this is dev, you don't have to edit any of those values in config.env. You can, but that's optional. npm run dev ``` diff --git a/StatusPage/src/Pages/Incidents/Detail.tsx b/StatusPage/src/Pages/Incidents/Detail.tsx index e59267c92e..7702ee5ed3 100644 --- a/StatusPage/src/Pages/Incidents/Detail.tsx +++ b/StatusPage/src/Pages/Incidents/Detail.tsx @@ -89,7 +89,7 @@ export const getIncidentEventItem: Function = ( iconColor: Grey, }); - // If this incident is a sumamry then dont include all the notes . + // If this incident is a sumamry then don't include all the notes . if (isSummary) { break; } @@ -123,7 +123,7 @@ export const getIncidentEventItem: Function = ( incidentStateTimeline.incidentState?.color || Green; } - // If this incident is a sumamry then dont include all the notes . + // If this incident is a sumamry then don't include all the notes . if (isSummary) { break; } diff --git a/TestServer/API/Main.ts b/TestServer/API/Main.ts index 79ad8a3aea..177652e48d 100644 --- a/TestServer/API/Main.ts +++ b/TestServer/API/Main.ts @@ -38,7 +38,7 @@ router.get( } // middleware marks the probe as alive. - // so we dont need to do anything here. + // so we don't need to do anything here. return Response.sendCustomResponse( req, res, diff --git a/TestServer/API/Settings.ts b/TestServer/API/Settings.ts index 2df484c1fc..5dd22cebc2 100644 --- a/TestServer/API/Settings.ts +++ b/TestServer/API/Settings.ts @@ -64,7 +64,7 @@ router.post( ); // middleware marks the probe as alive. - // so we dont need to do anything here. + // so we don't need to do anything here. return Response.sendEmptyResponse(req, res); } catch (err) { return next(err); diff --git a/config.example.env b/config.example.env index 1d02f00f0f..9d2f3f7ae0 100644 --- a/config.example.env +++ b/config.example.env @@ -110,7 +110,7 @@ IDENTITY_ROUTE=/identity FILE_ROUTE=/file STATUS_PAGE_ROUTE=/status-page -#Ports. Usually they dont need to change. +#Ports. Usually they don't need to change. DASHBOARD_API_PORT=3002 API_DOCS_PORT=1445 WORKFLOW_PORT=3099 diff --git a/docker-compose.yml b/docker-compose.yml index 80fe2cdbdc..3af2a1c939 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,7 +22,7 @@ services: postgres: ports: - - "5400:5432" # for access to postgres for backups. If you dont need backup, you can comment this line out to make it more secure. + - "5400:5432" # for access to postgres for backups. If you don't need backup, you can comment this line out to make it more secure. extends: file: ./docker-compose.base.yml service: postgres