Commit Graph

143 Commits

Author SHA1 Message Date
Alexander Holliday
3275bc49d0 Merge pull request #1058 from bluewave-labs/feat/be/logger-improvement
feat/be/logger improvement
2024-10-25 09:33:47 +08:00
Alexander Holliday
c1963171b3 Merge pull request #1057 from bluewave-labs/fix/be/server-index-cleanup
fix/be/server-index-cleanup
2024-10-25 09:28:33 +08:00
Alex Holliday
268ad695bf replace console.log statements with logger 2024-10-24 15:35:30 +08:00
Alex Holliday
a0248c81c2 standardize log statements 2024-10-24 15:28:13 +08:00
Alex Holliday
0649002d27 removed unused endpoints from index.js, moved db connection to index.js 2024-10-24 12:31:22 +08:00
Alex Holliday
18081ceb77 fix typo in userModule 2024-10-24 11:01:17 +08:00
Alex Holliday
ce20edc2ff Add hardware check module to MongoDB 2024-10-21 11:55:18 +08:00
Alex Holliday
18fe7abaca Add db module for Hardware Checks 2024-10-21 11:54:58 +08:00
Alex Holliday
0dad5c282c Added missing var declaration 2024-10-21 10:07:02 +08:00
Alex Holliday
fd2d16cf78 Format all files on BE with perttier config 2024-10-17 12:07:30 +08:00
Alex Holliday
f057807b56 migrate to esm 2024-10-15 11:57:37 +08:00
Alex Holliday
6e95d28e27 Implement pausing/resuming maintenance windows 2024-10-09 14:28:44 +08:00
Alex Holliday
ad9d735127 implement editing maintenance windows 2024-10-09 14:10:38 +08:00
Alex Holliday
e3c0944062 Add route, controller, and DB methods for fetching maintenance window by ID 2024-10-09 12:06:01 +08:00
Alex Holliday
114cfd6cb7 add put route, controller, and db method for maintenance window 2024-10-09 11:33:12 +08:00
Alex Holliday
7b65debed6 Populate table 2024-10-04 15:25:41 +08:00
Alex Holliday
68296eccc3 Add getMaintenanceWindowsByTeamId 2024-10-04 13:49:53 +08:00
Alex Holliday
c1d1e0ad1d Refactor for clarity and correctness, add JS docs 2024-10-01 10:55:51 +08:00
Alex Holliday
6c598b976f Move db models to db folder 2024-10-01 10:01:25 +08:00
Alex Holliday
11b97ab3b4 add update settings method, remove all env var references possible 2024-09-26 14:37:11 +08:00
Alex Holliday
992bf099fa Add app settings model, routes, db ops, service, use settings for issueToken 2024-09-26 13:41:50 +08:00
Alex Holliday
edd9b5a6aa Update delete user to handle superadmin case 2024-09-26 11:50:50 +08:00
Alex Holliday
888f644c7c user -> User 2024-09-26 10:28:48 +08:00
Alex Holliday
ffd193437e add comments 2024-09-25 15:14:22 +08:00
Alex Holliday
5dbd8378e2 require invite token to register except for initial registration 2024-09-25 15:12:07 +08:00
Alex Holliday
115831ca34 Remove unsued alert module 2024-09-25 11:41:50 +08:00
Alex Holliday
4748afb93a refactor networkSerivce.getMonitorsByTeamId to take a config objet 2024-09-18 10:57:44 +08:00
Alex Holliday
2d2b101eb7 implement sorting 2024-09-18 10:39:47 +08:00
Alex Holliday
7e1a5b6ec8 add filter param, implement filter 2024-09-18 10:32:41 +08:00
Alex Holliday
b0942fdcab optimizations 2024-09-17 09:37:24 +08:00
Alex Holliday
204e0bbf40 Add indices to DB 2024-09-17 09:16:00 +08:00
Alex Holliday
113d577ad2 remove console log 2024-09-17 08:46:55 +08:00
Alex Holliday
3ba6f5a56b Fix type error 2024-09-17 08:46:06 +08:00
Alex Holliday
5c94229994 Merge branch 'develop' into fix/incidents-remove-checks 2024-09-17 08:35:53 +08:00
Alex Holliday
0d12798dd2 Remove checks from monitor query 2024-09-17 08:12:23 +08:00
Alex Holliday
afa5cf1fc0 Implement setting TTL on FE 2024-09-16 12:13:29 +08:00
Alex Holliday
f075e15ab7 Remove duplicate method 2024-09-16 09:48:48 +08:00
Alexander Holliday
858df84a9e Merge branch 'develop' into feat/be/error-handling 2024-09-15 17:23:40 -07:00
Alex Holliday
cb80ea122f Add service name and method name to errors in user module 2024-09-15 09:21:55 +08:00
Alex Holliday
ba85a563bf Add service name and method name to errors in recovery module 2024-09-15 09:18:13 +08:00
Alex Holliday
b4fd895ea2 Add service name and method name to errors in notification and pageSpeedCheck modules 2024-09-15 09:16:55 +08:00
Alex Holliday
f5fb32885e Add service name and method name to errors in monitorModule 2024-09-15 09:15:59 +08:00
Alex Holliday
6ecbe8e1f5 Add service name and method name to errors in maintenanceModule 2024-09-15 08:36:33 +08:00
Alex Holliday
0afba94fb4 Add service name and method name to errors in inviteModule 2024-09-15 08:34:57 +08:00
Alex Holliday
9ccc1b6f44 Add service name and method name to errors in checksModule 2024-09-15 08:34:09 +08:00
Alex Holliday
0d04369c63 Fix typo 2024-09-15 08:26:17 +08:00
Alex Holliday
9bbd5ce12a Add validation for updateTTL body 2024-09-14 12:16:13 +08:00
Alex Holliday
15e067c9bf Add ttl 2024-09-12 12:49:18 +08:00
Alex Holliday
65cc70cbdd remove unresponsive sites from demo list 2024-09-11 11:39:32 +08:00
Alex Holliday
3f5dc337a0 Update delete all method 2024-09-11 11:22:33 +08:00