From 4fd6465ae2fe59e46d95ed05e9c12ae2c0ec0de3 Mon Sep 17 00:00:00 2001
From: "Gorkem Cetin (BWL)" <167266851+gorkem-bwl@users.noreply.github.com>
Date: Tue, 23 Jul 2024 05:31:15 -0400
Subject: [PATCH 01/17] Add screenshot, fix wording
---
README.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 16d5232c9..812dc13f0 100644
--- a/README.md
+++ b/README.md
@@ -8,9 +8,12 @@
![]()
+
+
+
# BlueWave Uptime
-BlueWave Uptime is an open source server monitoring application. It is used to track the operational status and performance of servers and websites. It regularly checks whether a server/website is accessible and performs optimally, providing real-time alerts and reports on the monitored services' availability, downtime, and response time.
+BlueWave Uptime is an open source server monitoring application used to track the operational status and performance of servers and websites. It regularly checks whether a server/website is accessible and performs optimally, providing real-time alerts and reports on the monitored services' availability, downtime, and response time.
## Contributing
From 838018741e78d3e02ea99c338192abaf07cf2874 Mon Sep 17 00:00:00 2001
From: "Gorkem Cetin (BWL)" <167266851+gorkem-bwl@users.noreply.github.com>
Date: Wed, 24 Jul 2024 06:04:28 -0400
Subject: [PATCH 02/17] Update README.md
---
README.md | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 812dc13f0..be4705986 100644
--- a/README.md
+++ b/README.md
@@ -6,13 +6,16 @@


-![]()
+
+
+
+

-# BlueWave Uptime
-
BlueWave Uptime is an open source server monitoring application used to track the operational status and performance of servers and websites. It regularly checks whether a server/website is accessible and performs optimally, providing real-time alerts and reports on the monitored services' availability, downtime, and response time.
## Contributing
From 879ff4c558a4944977fcd7cfb9680eef42954d49 Mon Sep 17 00:00:00 2001
From: "Gorkem Cetin (BWL)" <167266851+gorkem-bwl@users.noreply.github.com>
Date: Sun, 28 Jul 2024 17:34:23 -0400
Subject: [PATCH 03/17] Update README.md
---
README.md | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/README.md b/README.md
index be4705986..b0d0ee597 100644
--- a/README.md
+++ b/README.md
@@ -18,6 +18,24 @@
BlueWave Uptime is an open source server monitoring application used to track the operational status and performance of servers and websites. It regularly checks whether a server/website is accessible and performs optimally, providing real-time alerts and reports on the monitored services' availability, downtime, and response time.
+## Features
+
+* Completely open source, deployable on your servers
+* Website monitoring
+* Port monitoring
+* Ping monitoring
+* Incidents at a glance
+* Status pages
+* Page speed monitoring (in the works)
+* 3rd party integrations (todo)
+
+## Tech stack
+
+* ReactJs
+* MUI (React framework)
+* Node.js
+* MongoDB
+
## Contributing
You are welcome to provide contributions to the project. It uses React on the FE, and Nodejs and MongoDB on the BE, hence if you are comfortable with working with those technologies, you are encouraged to send your PRs. Please read [Contributor's guideline](https://github.com/bluewave-labs/bluewave-uptime/blob/master/CONTRIBUTING.md). Once you start contributing, we can also add you to our weekly team calls (every Thursday).
From 344e0e624f6ffc50799710b5cc7ecc3b445f7629 Mon Sep 17 00:00:00 2001
From: "Gorkem Cetin (BWL)" <167266851+gorkem-bwl@users.noreply.github.com>
Date: Sun, 28 Jul 2024 17:36:54 -0400
Subject: [PATCH 04/17] Update README.md
---
README.md | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index b0d0ee597..0fbf584f4 100644
--- a/README.md
+++ b/README.md
@@ -27,14 +27,18 @@ BlueWave Uptime is an open source server monitoring application used to track th
* Incidents at a glance
* Status pages
* Page speed monitoring (in the works)
-* 3rd party integrations (todo)
+
+**Roadmap:**
+* 3rd party integrations
+* Domain monitoring
+* SSL monitoring
## Tech stack
-* ReactJs
-* MUI (React framework)
-* Node.js
-* MongoDB
+* [ReactJs](https://react.dev/)
+* [MUI (React framework)](https://mui.com/)
+* [Node.js](https://nodejs.org/en)
+* [MongoDB](https://mongodb.com)
## Contributing
From 52fcdb0aedbfc8f4d6150e8c34ee4165324cef7a Mon Sep 17 00:00:00 2001
From: "Gorkem Cetin (BWL)" <167266851+gorkem-bwl@users.noreply.github.com>
Date: Sun, 28 Jul 2024 18:12:38 -0400
Subject: [PATCH 05/17] Add repo contribution chart (repobeats), better
contribution wording
---
README.md | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index 0fbf584f4..a4c0f1296 100644
--- a/README.md
+++ b/README.md
@@ -42,14 +42,21 @@ BlueWave Uptime is an open source server monitoring application used to track th
## Contributing
-You are welcome to provide contributions to the project. It uses React on the FE, and Nodejs and MongoDB on the BE, hence if you are comfortable with working with those technologies, you are encouraged to send your PRs. Please read [Contributor's guideline](https://github.com/bluewave-labs/bluewave-uptime/blob/master/CONTRIBUTING.md). Once you start contributing, we can also add you to our weekly team calls (every Thursday).
+We love contributors. Here's how you can contribute:
-Note that We have a Figma file that includes:
+* Check [Contributor's guideline](https://github.com/bluewave-labs/bluewave-uptime/blob/master/CONTRIBUTING.md).
+* Have a look at our Figma designs [here](https://www.figma.com/design/RPSfaw66HjzSwzntKcgDUV/Uptime-Genie?node-id=0-1&t=WqOFv9jqNTFGItpL-1). We encourage you to copy to your own Figma page, then work on it as it is read-only.
+* Open an issue if you believe you've encountered a bug
+* Make a pull request to add new features/make quality-of-life improvements/fix bugs.
-- All the dashboard elements and components
-- The design guideline for the app
+
+
+
+
+Made with [contrib.rocks](https://contrib.rocks).
+
+
-You can see the designs [here](https://www.figma.com/design/RPSfaw66HjzSwzntKcgDUV/Uptime-Genie?node-id=0-1&t=WqOFv9jqNTFGItpL-1). Since it is read-only, we encourage you to copy to your own Figma page, then work on it.
## Getting Started
@@ -1970,10 +1977,3 @@ const myRoute = async(req, res, next) => {
Errors should not be handled at the controller level and should be left to the middleware to handle.
-## Contributors
-
-
-
-
-
-Made with [contrib.rocks](https://contrib.rocks).
From 6ac70a570cbdc1ee0f2d5fc9fcb4be363902b922 Mon Sep 17 00:00:00 2001
From: "Gorkem Cetin (BWL)" <167266851+gorkem-bwl@users.noreply.github.com>
Date: Sun, 28 Jul 2024 19:42:19 -0400
Subject: [PATCH 06/17] Show develop branch stats
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index a4c0f1296..8a94c72d4 100644
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ We love contributors. Here's how you can contribute:
Made with [contrib.rocks](https://contrib.rocks).
-
+
## Getting Started
From 7e8c81c18afb820546afbfb1dbec71c944a45e87 Mon Sep 17 00:00:00 2001
From: Alex Holliday
Date: Tue, 30 Jul 2024 11:27:15 -0700
Subject: [PATCH 07/17] Updated coderabbit.yaml
---
.coderabbit.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.coderabbit.yaml b/.coderabbit.yaml
index 873db5cfe..fa3f25484 100644
--- a/.coderabbit.yaml
+++ b/.coderabbit.yaml
@@ -2,11 +2,11 @@ language: "en-CA"
tone_instructions: "His palms are sweaty, knees weak, arms are heavy There’s vomit on his sweater already, mom’s spaghetti"
early_access: false
reviews:
- profile: "assertive"
+ profile: "chill"
request_changes_workflow: false
high_level_summary: false
poem: false
- review_status: true
+ review_status: false
auto_review:
enabled: true
drafts: false
From dd834fc2c55df1ea0c95e1d81155f707b1d3bf1a Mon Sep 17 00:00:00 2001
From: Daniel C <122758391+danielcj2@users.noreply.github.com>
Date: Tue, 30 Jul 2024 16:09:46 -0400
Subject: [PATCH 08/17] Removed box shadow and fixed button width (#491)
---
Client/src/Components/Button/index.jsx | 5 +++++
Client/src/Components/ButtonSpinner/index.jsx | 5 +++++
Client/src/Pages/Monitors/Configure/index.jsx | 9 ++++++++-
3 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/Client/src/Components/Button/index.jsx b/Client/src/Components/Button/index.jsx
index c53ece09e..5b4953f5e 100644
--- a/Client/src/Components/Button/index.jsx
+++ b/Client/src/Components/Button/index.jsx
@@ -60,10 +60,15 @@ const Button = ({ id, type, level, label, disabled, img, onClick, sx }) => {
onClick={onClick}
disableRipple
sx={{
+ boxShadow: "none",
textTransform: "none",
"&:focus": {
outline: "none",
},
+ "&:hover": {
+ boxShadow: "none",
+ transition: "none"
+ },
...sx,
}}
>
diff --git a/Client/src/Components/ButtonSpinner/index.jsx b/Client/src/Components/ButtonSpinner/index.jsx
index 2d940c539..62cfae477 100644
--- a/Client/src/Components/ButtonSpinner/index.jsx
+++ b/Client/src/Components/ButtonSpinner/index.jsx
@@ -72,10 +72,15 @@ const ButtonSpinner = ({
loading={isLoading}
disableRipple
sx={{
+ boxShadow: "none",
textTransform: "none",
"&:focus": {
outline: "none",
},
+ "&:hover": {
+ boxShadow: "none",
+ transition: "none"
+ },
...sx,
}}
>
diff --git a/Client/src/Pages/Monitors/Configure/index.jsx b/Client/src/Pages/Monitors/Configure/index.jsx
index 2f694c07c..ebdb61ab2 100644
--- a/Client/src/Pages/Monitors/Configure/index.jsx
+++ b/Client/src/Pages/Monitors/Configure/index.jsx
@@ -268,7 +268,14 @@ const Configure = () => {
-
+
From a7c93aee3935e7971bd6f54d52fdffbd65b37312 Mon Sep 17 00:00:00 2001
From: Alex Holliday
Date: Tue, 30 Jul 2024 13:19:37 -0700
Subject: [PATCH 09/17] Add DB operations for notifications
---
Server/db/mongo/modules/notificationModule.js | 41 +++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 Server/db/mongo/modules/notificationModule.js
diff --git a/Server/db/mongo/modules/notificationModule.js b/Server/db/mongo/modules/notificationModule.js
new file mode 100644
index 000000000..7ed2d2064
--- /dev/null
+++ b/Server/db/mongo/modules/notificationModule.js
@@ -0,0 +1,41 @@
+const Notification = require("../../../models/Notification");
+const Notification = require("../../../models/Notification");
+
+/**
+ * Creates a new notification.
+ * @param {Object} notificationData - The data for the new notification.
+ * @param {mongoose.Types.ObjectId} notificationData.monitorId - The ID of the monitor.
+ * @param {string} notificationData.type - The type of the notification (e.g., "email", "sms").
+ * @param {string} [notificationData.address] - The address for the notification (if applicable).
+ * @param {string} [notificationData.phone] - The phone number for the notification (if applicable).
+ * @returns {Promise