Matthew Nickson
97de3959cd
Updated octopush error handling to accept 000
...
The legacy octopush API includes an error code with all responses. A
code other than 000 is an error.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
63e408f4f2
Fixed octopush legacy doesn't return error code
...
The octopush legacy API does not return a HTTP error code and instead
always returns a HTTP 200. This means that no error it thrown even if
something like the parameters are incorrect.
Instead the error code is given in the json response data.
Therefore we must look at the response data and check for the presence
of the "error_code" key in the response data.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Louis Lam
a3b1123e82
Merge pull request #2147 from Computroniks/bug/octopush-notifications-#2144
...
Fixed Octopush Notifier not working #2144
2 years ago
Matthew Nickson
2e54dee817
Fixed Octopush Notifier not working #2144
...
The version number was passed as a string from the frontend but was
checked against a number in the backend provider. This caused the if else
if to fall through into an error. The literal it is now being compared
has been changed to a string and the unknown version error is no longer
encountered.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Louis Lam
ceeb47bf82
Merge pull request #2145 from Faris0520/patch-1
...
update some typo at id-ID.js
2 years ago
FarisDaffa
929d238106
Update id-ID.js
2 years ago
Christian Meis
c03d911657
Update src/languages/en.js
...
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Christian Meis
e12642cf21
Fix double quotes in fallback for no icon url in ntfy notification provider settings
2 years ago
Christian Meis
618d904001
[empty commit] pull request for icon support in ntfy notification provider ( fixes #2135 )
2 years ago
Christian Meis
6f86236b63
Add support for icon to ntfy notification provider (requires minimum ntfy server version 1.28.0 and Android app 1.14.0, no iOS support as of today)
2 years ago
Louis Lam
204339fbed
Make two functions to convert ISO 8601 <=> YYYY-MM-DD hh:mm:ss
2 years ago
Louis Lam
b1465c0282
- Maintenance standardize datetime format to YYYY-MM-DD hh:mm:ss
...
- Import dayjs extensions one time only
- Maintenance activeCondition centralize
2 years ago
Louis Lam
4002b9f577
[WIP] Checking maintenance time using maintenance_timeslot table
2 years ago
Justin Tisdale
f6919aef1d
remove TODO
2 years ago
Justin Tisdale
6537f4fe74
content-type change
2 years ago
Justin Tisdale
5809088f27
Don't override a user-defined content-type header
2 years ago
Patrick
bef9cb6a5f
Linting fixes
2 years ago
Patrick
4157c7d546
Add support for Squadcast incoming webhook
2 years ago
Justin Tisdale
0814d643c1
Merge branch 'master' into feature/expand-http-payload-support
2 years ago
Louis Lam
3f63cb246b
[WIP] Handle timezone offset for timeRange
2 years ago
Louis Lam
c3eef28443
Merge pull request #2122 from mjysci/test
...
feat: Add ServerChan Notification support
2 years ago
Louis Lam
f11dfc8f43
[WIP] Add/Edit Maintenance with new UI and recurring
2 years ago
Louis Lam
9d99c39f30
Update Maintenance UI for recurring
2 years ago
Louis Lam
443235b20b
Update stale-bot.yml
2 years ago
Louis Lam
35810e299d
Merge pull request #2121 from rezzorix/patch-6
...
Update stale-bot.yml
2 years ago
MA Junyi
b03624b7e3
feat: Add ServerChan Notification support
2 years ago
rezzorix
dcbd9c12cf
Update stale-bot.yml
...
1. cron every 6 hours (from 24hrs)
2. close after 2 days scale (from 7)
3. operations per run 200 (from 90)
2 years ago
Louis Lam
83ca74eba7
Merge pull request #2118 from Buchtic/patch-2
...
Update cs-CZ.js
2 years ago
Buchtič
c6cf600722
Update cs-CZ.js
...
localization improvements
2 years ago
Louis Lam
22ef8ff751
Merge pull request #2111 from rezzorix/patch-6
...
Update stale-bot.yml
2 years ago
rezzorix
565e9233fe
Update stale-bot.yml
...
Adding "operations-per-run: 90" to ensure the action catches all 600+ items that need to be processed etc.
If not defined, the default is 30 which captures only about 200 items a run which is not enough.
2 years ago
Louis Lam
9a7c2d562a
Update PULL_REQUEST_TEMPLATE.md
2 years ago
Louis Lam
c4cb825fef
Update PULL_REQUEST_TEMPLATE.md
2 years ago
Louis Lam
3193533a60
Update CONTRIBUTING.md
2 years ago
Louis Lam
1f1825dbff
Update CONTRIBUTING.md
2 years ago
Louis Lam
e4e47c3976
Update README.md
2 years ago
Louis Lam
617ba49e6c
Fix race condition of `selectedStatusPagesOptions`
2 years ago
Louis Lam
7853c2cc38
Update Maintenance UI
2 years ago
Louis Lam
f61c1c47aa
Update Maintenance UI
2 years ago
Louis Lam
9fe07742ea
Linting
2 years ago
Louis Lam
a29eae3213
Update Maintenance UI
2 years ago
Louis Lam
80698a58b8
Tidy up
2 years ago
Louis Lam
bb883e6fa0
Move maintenance under `/maintenance`
2 years ago
Louis Lam
120e578398
Move maintenance code to `maintenance-socket-handler.js`
2 years ago
Louis Lam
7017c2e625
Move maintenance code to `maintenance-socket-handler.js`
2 years ago
Louis Lam
2f67d26702
Merge manually, as this part had been moved
2 years ago
Louis Lam
90761cf831
Merge remote-tracking branch 'origin/master' into karelkryda_master
...
# Conflicts:
# server/database.js
# server/model/monitor.js
# server/routers/api-router.js
# server/server.js
# src/components/HeartbeatBar.vue
# src/components/MonitorList.vue
# src/icon.js
# src/layouts/Layout.vue
# src/mixins/datetime.js
# src/mixins/socket.js
# src/router.js
# src/util.js
2 years ago
Louis Lam
1c4e97439c
Fix pr-test
2 years ago
Louis Lam
d23085cddc
Fix #2100 , the monitor name cannot display if too long
2 years ago
Louis Lam
f96bad1629
Merge pull request #2089 from jakubenglicky/smsmanager
...
feat: Add support notification via SMSManager
2 years ago