mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
don't
This commit is contained in:
@@ -71,8 +71,8 @@ export class Service extends DatabaseService<Model> {
|
||||
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!;
|
||||
|
||||
|
||||
@@ -233,7 +233,7 @@ const BasicForm: ForwardRefExoticComponent<any> = 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();
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ const CriteriaFilters: FunctionComponent<ComponentProps> = (
|
||||
</div>
|
||||
{showCantDeleteModal ? (
|
||||
<ConfirmModal
|
||||
description={`We need at least one filter for this criteria. We cant delete one remaining filter. If you dont need filters, please feel free to delete criteria instead.`}
|
||||
description={`We need at least one filter for this criteria. We cant delete one remaining filter. If you don't need filters, please feel free to delete criteria instead.`}
|
||||
title={`Cannot delete last remaining filter.`}
|
||||
onSubmit={() => {
|
||||
setShowCantDeleteModal(false);
|
||||
|
||||
@@ -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 => {
|
||||
<ConfirmModal
|
||||
title={`Code sent successfully`}
|
||||
error={error}
|
||||
description={
|
||||
'We have sent verification code to your email. Please dont forget to check your spam.'
|
||||
}
|
||||
description={`We have sent a verification code to your email. Please don't forget to check your spam.`}
|
||||
submitButtonText={'Close'}
|
||||
onSubmit={async () => {
|
||||
setShowVerificationCodeResentModal(false);
|
||||
|
||||
@@ -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 => {
|
||||
<ConfirmModal
|
||||
title={`Code sent successfully`}
|
||||
error={error}
|
||||
description={
|
||||
'We have sent verification code to your sms. Please dont forget to check your spam.'
|
||||
}
|
||||
description={`We have sent a verification code via SMS. Please don't forget to check your spam.`}
|
||||
submitButtonText={'Close'}
|
||||
onSubmit={async () => {
|
||||
setShowVerificationCodeResentModal(false);
|
||||
|
||||
@@ -329,7 +329,7 @@ const CustomSMTP: FunctionComponent<PageComponentProps> = (
|
||||
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'}
|
||||
|
||||
@@ -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()'
|
||||
|
||||
|
||||
@@ -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 <application_name>
|
||||
|
||||
|
||||
@@ -332,7 +332,7 @@
|
||||
</span>
|
||||
</div>
|
||||
<h3 class="mt-8 text-lg font-semibold leading-8 tracking-tight text-gray-900">Custom SMS and Calls</h3>
|
||||
<p class="mt-5 text-base leading-7 text-gray-600">If you dont prefer using our provider, you can use your SMS and Call provider for alerts. </p>
|
||||
<p class="mt-5 text-base leading-7 text-gray-600">If you don't prefer using our provider, you can use your SMS and Call provider for alerts. </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -140,7 +140,7 @@ export default class MailService {
|
||||
emailTemplateType: EmailTemplateType,
|
||||
vars: Dictionary<string>
|
||||
): Promise<string> {
|
||||
// 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 (
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user