Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from louislam:master #146

Merged
merged 368 commits into from
Jan 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
368 commits
Select commit Hold shift + click to select a range
99179c8
Drop @vitejs/plugin-legacy (#3858)
louislam Oct 8, 2023
5b7206f
Fix: Wrong datatype for avgPing (#3724)
chakflying Oct 8, 2023
1b14878
Fix: Update `x-forwarded-host` field when using reverse proxy (#3726)
xuexb Oct 8, 2023
b243952
Fix: Disable status page saving before getData (#3849)
chakflying Oct 8, 2023
2fae40e
Revert "Fix: Disable status page saving before getData (#3849)" (#3859)
louislam Oct 8, 2023
bd9c44c
Fix: Disable status page saving before getData
chakflying Oct 5, 2023
88afab6
Merge pull request from GHSA-g9v2-wqcj-j99g
louislam Oct 8, 2023
a36f2a7
Enable auto-test for 1.23.X branch
louislam Oct 8, 2023
476deb9
Pin npm@9
louislam Oct 8, 2023
168357d
Update dependencies
louislam Oct 9, 2023
794f181
Minor
louislam Oct 9, 2023
c3e3f27
Update to 1.23.3
louislam Oct 9, 2023
852b3fa
Merge branch '1.23.X'
louislam Oct 9, 2023
45b6fab
Merge conflicts
louislam Oct 9, 2023
c39043e
Merge remote-tracking branch 'origin/master'
louislam Oct 9, 2023
b590544
Remove unused scripts
louislam Oct 9, 2023
9d5cf5e
Fix merge conflict
louislam Oct 9, 2023
67d0ef5
🐛 fix: lint warnings & errors (#3862)
Zaid-maker Oct 9, 2023
42bf27f
push monitor: increase token security (#912)
andreasbrett Oct 11, 2023
b484c90
Translated using Weblate (Bulgarian)
MrEddX Oct 9, 2023
a410a9d
Translated using Weblate (German (Switzerland))
marco-doerig Oct 9, 2023
2e3565b
Translated using Weblate (German)
Oct 9, 2023
fc01150
Translated using Weblate (Spanish)
magyarlatin Oct 9, 2023
6d83385
Translated using Weblate (Spanish)
kudebug Oct 9, 2023
1adda58
Translated using Weblate (French)
cyril59310 Oct 9, 2023
e40b48b
Translated using Weblate (Polish)
Saibamen Oct 9, 2023
2af35c1
Translated using Weblate (Russian)
devitq Oct 9, 2023
cd4404c
Translated using Weblate (Swedish)
Brother-Blue Oct 9, 2023
bef4452
Translated using Weblate (Ukrainian)
stanol Oct 9, 2023
05fb3d9
Translated using Weblate (Chinese (Simplified))
AnnAngela Oct 9, 2023
89cfa74
Translated using Weblate (Chinese (Traditional))
cnlancehu Oct 9, 2023
8e5317f
Translated using Weblate (Telugu)
Wisw Oct 9, 2023
2d51cfb
Translated using Weblate (Turkish)
Genc Oct 9, 2023
58263c0
Translated using Weblate (Malay)
kennychan-git Oct 9, 2023
8cb6df2
Translated using Weblate (German (Switzerland))
marco-doerig Oct 9, 2023
bbca828
Translated using Weblate (Korean)
DoyunShin Oct 9, 2023
f527f4b
Translated using Weblate (Czech)
black23 Oct 9, 2023
58bf3c7
Translated using Weblate (German)
Saimo Oct 9, 2023
b6f7e3f
Translated using Weblate (Persian)
aljvdi Oct 9, 2023
ce4461d
Translated using Weblate (Portuguese (Brazil))
nathannogueira Oct 9, 2023
7c05ac6
Translated using Weblate (Japanese)
uoya Oct 9, 2023
aecd95e
Translated using Weblate (Czech)
Buchtic Oct 9, 2023
0ba2c11
Translated using Weblate (Chinese (Traditional))
vincent5753 Oct 9, 2023
b8efc86
Translated using Weblate (German)
marco-doerig Oct 9, 2023
820950f
Translated using Weblate (Korean)
ehdud8451 Oct 9, 2023
8691d17
Translated using Weblate (Danish)
Oct 9, 2023
b0421e9
Translated using Weblate (Croatian)
ivanbratovic Oct 9, 2023
bfaa6fd
Translated using Weblate (Portuguese (Brazil))
1Ale Oct 9, 2023
0e97721
Translated using Weblate (Arabic)
Nick390 Oct 9, 2023
b70b8b8
Translated using Weblate (Thai)
kiznick Oct 9, 2023
6b81554
Translated using Weblate (Czech)
black23 Oct 9, 2023
87d5957
Translated using Weblate (Spanish)
AmadeusGraves Oct 9, 2023
e0ffdb8
Translated using Weblate (Swedish)
Bjorkan Oct 9, 2023
e9efbaa
Translated using Weblate (Chinese (Traditional))
chakflying Oct 9, 2023
d7797b8
Translated using Weblate (French)
Oct 9, 2023
07a7233
Translated using Weblate (Indonesian)
alfari24 Oct 9, 2023
53710b5
Translated using Weblate (Italian)
andreabia Oct 9, 2023
4e401fa
Translated using Weblate (Danish)
simonghpub Oct 9, 2023
a3a81f8
Merge pull request #3659 from UptimeKumaBot/weblate-uptime-kuma-uptim…
louislam Oct 11, 2023
aa67615
Fix shutdown issue and tidy up
louislam Oct 12, 2023
1c13a75
Fix #3868 postgres monitor could possibly crash Uptime Kuma (#3880)
louislam Oct 12, 2023
7212d88
Enable eslint for util.ts (#3887)
louislam Oct 13, 2023
03e43ab
Log color and simplify startup log for production (#3889)
louislam Oct 13, 2023
f6bdaac
Fix: Clear toasts button blocked by bottom bar (#3863)
chakflying Oct 14, 2023
a362206
Fix: do not colorize non-string log message
louislam Oct 14, 2023
9ebf4f9
Add `npm run start-server-dev:watch`
louislam Oct 14, 2023
8e441dd
Follow up #3263 (#3847)
louislam Oct 14, 2023
966dfa6
Drop backup (#3892)
louislam Oct 14, 2023
579d723
Translate login error
louislam Oct 14, 2023
4ccf263
Update docker image base from Node.js 16 to Node.js 18 for Uptime Kum…
louislam Oct 15, 2023
18169c5
[MySQL monitor] Split password into a standalone field (#3899)
louislam Oct 15, 2023
523d137
Lint
louislam Oct 15, 2023
e64bf0e
Fix: Stop notification check on root certs (#3874)
chakflying Oct 15, 2023
3fcb7bf
Feature: SMTP-templating of `customBody` and `customHeader` via liqu…
CommanderStorm Oct 16, 2023
1515f4e
chore:Webhook custom documentation (#3636)
CommanderStorm Oct 16, 2023
adc3548
Update README.md
louislam Oct 17, 2023
8c7dea5
🚀 Add CodeQL Action to analyze code (#3910)
Zaid-maker Oct 18, 2023
e11aad2
Add some comments
louislam Oct 16, 2023
bbaba29
Set default ua for axios: `Uptime-Kuma/version` instead of `axios/ver…
louislam Oct 18, 2023
8412e19
Add a comment
louislam Oct 19, 2023
9b599cc
Add Grafana Oncall notification provider (#2783)
atmaniak Oct 19, 2023
87b2e45
Check if the password changed when user is not null
louislam Oct 21, 2023
1a862e4
Check if the password changed when user is not null
louislam Oct 22, 2023
9379498
Chore: Allow MS Edge for real-browser monitor (#3941)
chakflying Oct 27, 2023
ddd135e
Confirm chrome path in macOS is correct (#3950)
harryzcy Oct 28, 2023
b32d869
Fix: sentence framing (#3945)
check-bot Oct 28, 2023
201c104
Fix: Entry page setting in Dev mode (#3940)
chakflying Oct 28, 2023
9f170a6
🐛 fix: boolean fields in kafka producer monitor (#3949)
mhkarimi1383 Oct 28, 2023
d7b9bcf
Drop install.sh and related files (#3955)
louislam Oct 29, 2023
df832f1
Add Uzbek language (#3959)
louislam Oct 30, 2023
c43223a
Restart running monitors if no heartbeat (#3952)
louislam Nov 1, 2023
fdfb572
Fix: Add axios abort signal (#3961)
chakflying Nov 1, 2023
ce0ba6c
Fix/axios abort signal for 1.23.X (#3971)
louislam Nov 1, 2023
b534fde
Fix: Use ActionSelect for Docker Host & validate input (#3864)
chakflying Nov 3, 2023
5b6522a
Fix: entryPage setting can be null (#3994)
chakflying Nov 8, 2023
38efd97
Fix: Support float ping in push route (#3987)
chakflying Nov 9, 2023
0608881
🐛 fix: kafka producer booleans migration null values (#3984)
mhkarimi1383 Nov 9, 2023
6e80c85
Should be an ulitmate fix for request timeout issue (#4011)
louislam Nov 12, 2023
8e3ff25
Followup #3864, rebase for 1.23.x (#4016)
louislam Nov 12, 2023
291d5d7
Update dependencies
louislam Nov 13, 2023
d56bf08
Update to 1.23.4
louislam Nov 13, 2023
ace1fe0
Merge branch 'master' into 1.23.X-merge-to-2.X.X
louislam Nov 13, 2023
65cbc7b
Migrate kafka_producer patch
louislam Nov 13, 2023
0f980e9
Merge dependencies
louislam Nov 13, 2023
188fdcb
Merge branch 'master' into 1.23.X-merge-to-2.X.X
louislam Nov 13, 2023
014231e
Merge pull request #3883 from louislam/1.23.X-merge-to-2.X.X
louislam Nov 13, 2023
2547515
feat: grammar fixes (#4042)
wdhdev Nov 16, 2023
9964b6c
Fix: Update monitor object on pause (#4032)
chakflying Nov 16, 2023
b383392
Remains Node.js 16' SSL behavior for 1.23.X (#4044)
louislam Nov 17, 2023
40d6a21
Fix kafka migration script again (#4043)
louislam Nov 17, 2023
f0975cd
Should be a final ulitmate fix for request timeout issue (#4045)
louislam Nov 17, 2023
6d4a45f
Update to 1.23.5
louislam Nov 17, 2023
2aa15ea
Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X
louislam Nov 17, 2023
2918f72
Merge pull request #4050 from louislam/1.23.X-merge-to-2.X.X
louislam Nov 17, 2023
954e05b
Fix #4051
louislam Nov 18, 2023
c1aaad0
Update to 1.23.6
louislam Nov 18, 2023
e278281
fix: Clickable link monitors aren't underlined when editing status pa…
dreygur Nov 20, 2023
9973d73
Fix a merge issue
louislam Nov 20, 2023
92e0eec
Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X
louislam Nov 20, 2023
1550a5f
Merge pull request #4064 from louislam/1.23.X-merge-to-2.X.X
louislam Nov 20, 2023
33ce0ef
Fix: Improve error message on timeout (#4054)
chakflying Nov 21, 2023
bf58838
+10 seconds for Abort signal (#4053)
louislam Nov 22, 2023
d810a74
Move rootless images to an another set (#4052)
louislam Nov 22, 2023
dc42420
Change version to 2.0.0-dev
louislam Nov 22, 2023
8e61158
Close the client postgresql connection after rejection. (#4084)
louislam Nov 22, 2023
121d1a1
Revert "Restart running monitors if no heartbeat (#3952)" (#4088)
louislam Nov 23, 2023
ac452bb
Zoom in on real browser screenshot (#3925)
adamhancock Nov 23, 2023
afaa7bb
Do not process debug log for production
louislam Nov 24, 2023
b689733
Fix getGameList, testChrome without checkLogin
louislam Nov 24, 2023
f28dccf
Merge pull request from GHSA-v4v2-8h88-65qj
louislam Nov 24, 2023
4255496
Rewrite Tailscale ping using spawnSync
louislam Nov 24, 2023
9536c6a
Minor
louislam Nov 24, 2023
711380b
Merge pull request #4095 from louislam/update-3
louislam Nov 24, 2023
67250d6
Feat: Retries persistence (#3814)
chakflying Nov 24, 2023
4ceeb30
Add a script to prepare a changelog
louislam Nov 24, 2023
73239d4
Update to 1.23.7
louislam Nov 24, 2023
e9bf02f
Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X-2
louislam Nov 24, 2023
676587b
Merge package-lock.json
louislam Nov 24, 2023
60be875
Fix a merge issue
louislam Nov 24, 2023
5bc8c0c
Merge 1.23.7 (#4102)
louislam Nov 24, 2023
2ad8af9
Minor (#4104)
eltociear Nov 25, 2023
b8bd17d
Fix: Add timeout to testDockerHost (#4097)
chakflying Nov 26, 2023
80efe9b
Handle cookies on redirection (#3589)
dakriy Nov 29, 2023
01855e0
monitor path as a notification title mattermost (#3801)
nennad Nov 30, 2023
1708b67
Change execSync/spawnSync to async (#4123)
louislam Nov 30, 2023
0294118
Update README.md
louislam Nov 30, 2023
57a1895
Update gamedig from ~4.1.0 to ^4.2.0 (#4136)
louislam Dec 1, 2023
cb3a104
Default Retries from 1 to 0 (#4139)
louislam Dec 1, 2023
1e75d81
Update apprise from 1.4.5 to 1.6.0 (#4140)
louislam Dec 1, 2023
9fb95fe
Add support for /snap/bin/chromium (#4141)
louislam Dec 1, 2023
9c9a086
accessible `ActionSelect`/ `ActionInput` (#4132)
CommanderStorm Dec 1, 2023
e339625
accessible domain selector (#4133)
CommanderStorm Dec 1, 2023
6278000
Feature: remote browser support (#3904)
adamhancock Dec 1, 2023
81c9900
Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X-2
louislam Dec 1, 2023
90badfa
Update dependencies
louislam Dec 2, 2023
37666bf
Update to 1.23.8
louislam Dec 2, 2023
0110c4d
Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X-2
louislam Dec 2, 2023
c5d9c54
Merge branch 'master' into 1.23.X-merge-to-2.X.X-2
louislam Dec 2, 2023
c3260bb
Merge lock file
louislam Dec 2, 2023
7772a54
Merge 1.23.8 (#4142)
louislam Dec 2, 2023
35479c7
Fix: Disable timezone conversion for mariadb (#3756)
chakflying Dec 2, 2023
4643261
Feat: Add json-query to MQTT monitor type (#3857)
chakflying Dec 2, 2023
db7a92a
🐛 fix(remote-browser): Remove unused test() function (#4155)
Zaid-maker Dec 3, 2023
9c56c9b
Fixed the buttons of `ActionsSelect` and `ActionsInput` having a defa…
CommanderStorm Dec 3, 2023
8aa497f
Update actions/stale from v7 to v8 and disable it for pull request
louislam Dec 3, 2023
20a68a1
Update CONTRIBUTING.md
louislam Dec 3, 2023
74a908a
Max ESLint warnings 0 (#4158)
Saibamen Dec 4, 2023
0319473
Add an `aria-label` to the monitor search box (#4163)
CommanderStorm Dec 4, 2023
81b84a3
Fix: Filtering works with group monitors (again) (#3685)
chakflying Dec 4, 2023
478403e
Adding a way to reset the admin password via CLI without any user int…
C-Duv Dec 4, 2023
ad4629c
Fix UPTIME_KUMA_DB_NAME issue (#4169)
louislam Dec 4, 2023
b244e8f
Re-export the icon on vectr.com, so it can be editable again. The cur…
louislam Dec 8, 2023
777ef6b
chore: added a helptext for `ntfy`'s `priority` field (#4175)
CommanderStorm Dec 9, 2023
46b3008
Chore: Fix console colors & add JSDoc (#4170)
chakflying Dec 9, 2023
abc8f2b
Fix: Correct Maintenance Start/End Time Input to Use Explicitly Spec…
Ritik0102 Dec 9, 2023
e1147c0
Update denpendecies
louislam Dec 9, 2023
97ed0a9
Missing translation key (#4200)
cyril59310 Dec 10, 2023
2815cc7
Merge pull request from GHSA-mj22-23ff-2hrr
louislam Dec 10, 2023
482049c
Merge pull request from GHSA-88j4-pcx8-q4q3
louislam Dec 10, 2023
621419e
Update to 1.23.9
louislam Dec 10, 2023
530c8e5
Drop cacheable-lookup (#4178)
louislam Dec 10, 2023
869ee8e
Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X
louislam Dec 10, 2023
719ef85
Merge manually
louislam Dec 10, 2023
65e57e5
Merge pull request #4208 from louislam/1.23.X-merge-to-2.X.X
louislam Dec 10, 2023
89beb5f
Fix: Handle trailing slash for status page routing (#4185)
chakflying Dec 10, 2023
99adac3
Fix: typo for `disconnectAllSocketClients` (#4213)
chakflying Dec 11, 2023
fa1214a
Rebse #4213 (#4215)
louislam Dec 11, 2023
f861a48
Smoothing the update for origin check (#4216)
louislam Dec 12, 2023
4245ea8
Update to 1.23.10
louislam Dec 12, 2023
4185ec2
Fix: Origin undefined on error handling (#4224)
chakflying Dec 12, 2023
1a47563
Merge branch '1.23.X' into version-merge
louislam Dec 12, 2023
2078475
1.23.10 to master (#4226)
louislam Dec 12, 2023
26c3b79
Translated using Weblate (Bulgarian)
MrEddX Dec 15, 2023
d28627e
Translated using Weblate (Danish)
simonghpub Dec 15, 2023
332bc43
Translated using Weblate (German (Switzerland))
marco-doerig Dec 15, 2023
f80168e
Translated using Weblate (Uzbek)
louislam Dec 15, 2023
8b13244
Translated using Weblate (French)
cyril59310 Dec 15, 2023
2557cd3
Translated using Weblate (Croatian)
ivanbratovic Dec 15, 2023
59cadc2
Translated using Weblate (Hungarian)
Dec 15, 2023
a06d888
Translated using Weblate (Italian)
davpirelli Dec 15, 2023
45c83fd
Translated using Weblate (Polish)
Saibamen Dec 15, 2023
221f625
Translated using Weblate (Turkish)
Genc Dec 15, 2023
917b20f
Translated using Weblate (Ukrainian)
stanol Dec 15, 2023
127608f
Translated using Weblate (Chinese (Simplified))
AnnAngela Dec 15, 2023
5820c47
Translated using Weblate (Punjabi)
Zaid-maker Dec 15, 2023
43bfb36
Translated using Weblate (Portuguese (Brazil))
Finallf Dec 15, 2023
92324e9
Translated using Weblate (Russian)
sup2007 Dec 15, 2023
643ebea
Translated using Weblate (German)
marco-doerig Dec 15, 2023
cfe35c3
Translated using Weblate (Vietnamese)
xuantan97 Dec 15, 2023
2637f66
Translated using Weblate (Chinese (Simplified))
wc7086 Dec 15, 2023
caf4584
Translated using Weblate (Chinese (Simplified))
AnnAngela Dec 15, 2023
3dbc15c
Translated using Weblate (Czech)
black23 Dec 15, 2023
61f32f5
Translated using Weblate (Greek)
andyxatz Dec 15, 2023
b7ab17b
Translated using Weblate (Hungarian)
Kisem Dec 15, 2023
9113c04
Translated using Weblate (Portuguese (Brazil))
alexmdcampo Dec 15, 2023
60503d0
Translated using Weblate (Uzbek)
golibnarzullayev Dec 15, 2023
b633053
Translated using Weblate (Russian)
Listum Dec 15, 2023
2f595e4
Translated using Weblate (Hebrew)
sk3pp3r Dec 15, 2023
05eb5b0
Translated using Weblate (Dutch)
sander732 Dec 15, 2023
d53d818
Translated using Weblate (Chinese (Traditional))
PeterDaveHello Dec 15, 2023
e21aa12
Translated using Weblate (Dutch)
jochemp264 Dec 15, 2023
3e14c77
Translated using Weblate (Portuguese)
Williamluqui Dec 15, 2023
976b6e6
Translated using Weblate (Portuguese (Brazil))
geovanedev5 Dec 15, 2023
0065eff
Translated using Weblate (German (Switzerland))
0n1cOn3 Dec 15, 2023
b0a771e
Translated using Weblate (Czech)
Buchtic Dec 15, 2023
1f441fa
Translated using Weblate (Portuguese (Brazil))
vechiato Dec 15, 2023
a3bb024
Translated using Weblate (Indonesian)
harsxv Dec 15, 2023
b801d22
Translated using Weblate (Indonesian)
aditbaco Dec 15, 2023
406e5d5
Translated using Weblate (Slovenian)
gregorgodler Dec 15, 2023
8fc693d
Translated using Weblate (Polish)
veroneczek Dec 15, 2023
6c95140
Translated using Weblate (Vietnamese)
LevantinLynx Dec 15, 2023
0bba581
Translated using Weblate (Dutch)
bjornclauw Dec 15, 2023
9fb9212
Translated using Weblate (Arabic)
abosaad11 Dec 15, 2023
8513867
Translated using Weblate (Korean)
Alanimdeo Dec 15, 2023
1b1ceea
Translated using Weblate (German (Switzerland))
marco-doerig Dec 15, 2023
2f982aa
Translated using Weblate (Swedish)
GunnarNorin Dec 15, 2023
3962617
Translated using Weblate (Spanish)
AmadeusGraves Dec 15, 2023
5b277ce
Translated using Weblate (Portuguese (Brazil))
abnerssantana Dec 15, 2023
239b8f4
Translated using Weblate (Slovenian)
rumplin Dec 15, 2023
8acbd14
Translated using Weblate (Chinese (Simplified))
renph Dec 15, 2023
d1d6357
Translated using Weblate (Italian)
berry-13 Dec 15, 2023
6833594
Translated using Weblate (Dutch)
Vincent-Br Dec 15, 2023
dd7a506
Translations Update from Weblate (#3891)
louislam Dec 15, 2023
e2fdfd2
Migrate all `v-html` translations to componentised translations (#4135)
CommanderStorm Dec 15, 2023
f24c358
Attempt an OAuth2 Refresh on 401 (#3903)
HdroguettA Dec 17, 2023
996ff28
Playwright + Native Node Test Runner (#3893)
louislam Dec 17, 2023
c9fe6b5
Feat: Refresh login token for the client initiating password change (…
chakflying Dec 18, 2023
d830fa4
Feat: `Countup` display fixed value (#4266)
chakflying Dec 21, 2023
329e204
Update to respect docker compose v2 (#4289)
louislam Dec 27, 2023
d7d57ea
Update Vue to 3.4 (#4300)
louislam Dec 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .devcontainer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ You can modifiy Uptime Kuma in your browser without setting up a local developme

1. Click `Code` -> `Create codespace on master`
2. Wait a few minutes until you see there are two exposed ports
3. Go to the `3000` url, see if it is working
3. Go to the `3000` url, see if it is working

![image](https://github.com/louislam/uptime-kuma/assets/1336778/909b2eb4-4c5e-44e4-ac26-6d20ed856e7f)

Expand Down
7 changes: 4 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
"customizations": {
"vscode": {
"extensions": [
"streetsidesoftware.code-spell-checker",
"dbaeumer.vscode-eslint"
]
"streetsidesoftware.code-spell-checker",
"dbaeumer.vscode-eslint",
"GitHub.copilot-chat"
]
}
},
"forwardPorts": [3000, 3001]
Expand Down
10 changes: 7 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/.idea
/node_modules
/data
/data*
/cypress
/out
/test
Expand Down Expand Up @@ -30,11 +30,15 @@ SECURITY.md
tsconfig.json
.env
/tmp
/babel.config.js
/ecosystem.config.js
/extra/healthcheck.exe
/extra/healthcheck
extra/exe-builder
/extra/exe-builder
/extra/push-examples
/extra/uptime-kuma-push

# Comment the following line if you want to rebuild the healthcheck binary
/extra/healthcheck-armv7


### .gitignore content (commented rules are duplicated)
Expand Down
78 changes: 60 additions & 18 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
ignorePatterns: [
"test/*",
"test/*.js",
"test/cypress",
"server/modules/apicache/*",
"src/util.js"
],
Expand All @@ -14,13 +15,18 @@ module.exports = {
extends: [
"eslint:recommended",
"plugin:vue/vue3-recommended",
"plugin:jsdoc/recommended-error",
],
parser: "vue-eslint-parser",
parserOptions: {
parser: "@babel/eslint-parser",
parser: "@typescript-eslint/parser",
sourceType: "module",
requireConfigFile: false,
},
plugins: [
"jsdoc",
"@typescript-eslint",
],
rules: {
"yoda": "error",
eqeqeq: [ "warn", "smart" ],
Expand Down Expand Up @@ -71,14 +77,14 @@ module.exports = {
"no-var": "error",
"key-spacing": "warn",
"keyword-spacing": "warn",
"space-infix-ops": "warn",
"space-infix-ops": "error",
"arrow-spacing": "warn",
"no-trailing-spaces": "error",
"no-constant-condition": [ "error", {
"checkLoops": false,
}],
"space-before-blocks": "warn",
//'no-console': 'warn',
//"no-console": "warn",
"no-extra-boolean-cast": "off",
"no-multiple-empty-lines": [ "warn", {
"max": 1,
Expand All @@ -90,14 +96,51 @@ module.exports = {
"no-unneeded-ternary": "error",
"array-bracket-newline": [ "error", "consistent" ],
"eol-last": [ "error", "always" ],
//'prefer-template': 'error',
//"prefer-template": "error",
"template-curly-spacing": [ "warn", "never" ],
"comma-dangle": [ "warn", "only-multiline" ],
"no-empty": [ "error", {
"allowEmptyCatch": true
}],
"no-control-regex": "off",
"one-var": [ "error", "never" ],
"max-statements-per-line": [ "error", { "max": 1 }]
"max-statements-per-line": [ "error", { "max": 1 }],
"jsdoc/check-tag-names": [
"error",
{
"definedTags": [ "link" ]
}
],
"jsdoc/no-undefined-types": "off",
"jsdoc/no-defaults": [
"error",
{ "noOptionalParamNames": true }
],
"jsdoc/require-throws": "warn",
"jsdoc/require-jsdoc": [
"error",
{
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
}
}
],
"jsdoc/no-blank-block-descriptions": "error",
"jsdoc/require-returns-description": "warn",
"jsdoc/require-returns-check": [
"error",
{ "reportMissingReturnForUndefinedTypes": false }
],
"jsdoc/require-returns": [
"warn",
{
"forceRequireReturn": true,
"forceReturnsWithAsync": true
}
],
"jsdoc/require-param-type": "warn",
"jsdoc/require-param-description": "warn"
},
"overrides": [
{
Expand All @@ -107,21 +150,20 @@ module.exports = {
}
},

// Override for jest puppeteer
// Override for TypeScript
{
"files": [
"**/*.spec.js",
"**/*.spec.jsx"
"**/*.ts",
],
env: {
jest: true,
},
globals: {
page: true,
browser: true,
context: true,
jestPuppeteer: true,
},
extends: [
"plugin:@typescript-eslint/recommended",
],
"rules": {
"jsdoc/require-returns-type": "off",
"jsdoc/require-param-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"prefer-const": "off",
}
}
]
};
2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ labels:

DO NOT PROVIDE ANY DETAILS HERE. Please privately report to https://github.com/louislam/uptime-kuma/security/advisories/new.


Why need this issue? It is because GitHub Advisory do not send a notification to @louislam, it is a workaround to do so.

Your GitHub Advisory URL:

9 changes: 4 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
⚠️⚠️⚠️ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma

Tick the checkbox if you understand [x]:
Tick the checkbox if you understand [x]:
- [ ] I have read and understand the pull request rules.

# Description
Expand All @@ -15,7 +15,7 @@ Please delete any options that are not relevant.
- Bug fix (non-breaking change which fixes an issue)
- User interface (UI)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
- Breaking change (a fix or feature that would cause existing functionality to not work as expected)
- Other
- This change requires a documentation update

Expand All @@ -24,9 +24,8 @@ Please delete any options that are not relevant.
- [ ] My code follows the style guidelines of this project
- [ ] I ran ESLint and other linters for modified files
- [ ] I have performed a self-review of my own code and tested it
- [ ] I have commented my code, particularly in hard-to-understand areas
(including JSDoc for methods)
- [ ] My changes generate no new warnings
- [ ] I have commented my code, particularly in hard-to-understand areas (including JSDoc for methods)
- [ ] My changes generates no new warnings
- [ ] My code needed automated testing. I have added them (this is optional task)

## Screenshots (if any)
Expand Down
62 changes: 24 additions & 38 deletions .github/workflows/auto-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,38 @@ name: Auto Test

on:
push:
branches: [ master ]
branches: [ master, 1.23.X ]
paths-ignore:
- '*.md'
pull_request:
branches: [ master, 2.0.X ]
branches: [ master, 1.23.X ]
paths-ignore:
- '*.md'

jobs:
auto-test:
needs: [ check-linters ]
needs: [ check-linters, e2e-test ]
runs-on: ${{ matrix.os }}
timeout-minutes: 15

strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest, ARM64]
node: [ 14, 20 ]
node: [ 14, 20.5 ]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- run: git config --global core.autocrlf false # Mainly for Windows
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install npm@latest -g
- run: npm install npm@9 -g
- run: npm install
- run: npm run build
- run: npm test
- run: npm run test-backend
env:
HEADLESS_TEST: 1
JUST_FOR_TEST: ${{ secrets.JUST_FOR_TEST }}
Expand All @@ -55,55 +55,41 @@ jobs:

steps:
- run: git config --global core.autocrlf false # Mainly for Windows
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install npm@latest -g
- run: npm install npm@9 -g
- run: npm ci --production

check-linters:
runs-on: ubuntu-latest

steps:
- run: git config --global core.autocrlf false # Mainly for Windows
- uses: actions/checkout@v3

- name: Use Node.js 14
uses: actions/setup-node@v3
with:
node-version: 14
- run: npm install
- run: npm run lint

e2e-tests:
needs: [ check-linters ]
runs-on: ubuntu-latest
steps:
- run: git config --global core.autocrlf false # Mainly for Windows
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js 14
uses: actions/setup-node@v3
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20
- run: npm install
- run: npm run build
- run: npm run cy:test
- run: npm run lint:prod

frontend-unit-tests:
e2e-test:
needs: [ check-linters ]
runs-on: ubuntu-latest
runs-on: ARM64
steps:
- run: git config --global core.autocrlf false # Mainly for Windows
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js 14
uses: actions/setup-node@v3
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20
- run: npm install
- run: npx playwright install
- run: npm run build
- run: npm run cy:run:unit
- run: npm run test-e2e
4 changes: 2 additions & 2 deletions .github/workflows/close-incorrect-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
node-version: [16]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: "CodeQL"

on:
push:
branches: [ "master", "1.23.X"]
pull_request:
branches: [ "master", "1.23.X"]
schedule:
- cron: '16 22 * * 0'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 360

permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'go', 'javascript-typescript' ]

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
Loading
Loading