mirror of
https://github.com/JasonHHouse/gaps.git
synced 2026-01-05 18:40:00 -06:00
Updating npm packages
This commit is contained in:
@@ -36,11 +36,13 @@ export async function saveDiscordNotifications() {
|
||||
const body = {};
|
||||
body.webHookUrl = document.getElementById('discordWebHookUrl').value;
|
||||
body.enabled = document.getElementById('discordEnabled').value;
|
||||
body.notificationTypes = getNotificationTypes(document.getElementById('discordTmdbApiConnectionNotification').checked,
|
||||
body.notificationTypes = getNotificationTypes(
|
||||
document.getElementById('discordTmdbApiConnectionNotification').checked,
|
||||
document.getElementById('discordPlexServerConnectionNotification').checked,
|
||||
document.getElementById('discordPlexMetadataUpdateNotification').checked,
|
||||
document.getElementById('discordPlexLibraryUpdateNotification').checked,
|
||||
document.getElementById('discordGapsMissingCollectionsNotification').checked);
|
||||
document.getElementById('discordGapsMissingCollectionsNotification').checked,
|
||||
);
|
||||
|
||||
const response = await fetch(getContextPath('/notifications/discord'), {
|
||||
method: 'put',
|
||||
|
||||
@@ -46,11 +46,13 @@ export async function saveEmailNotifications() {
|
||||
body.mailSmtpTlsEnabled = document.getElementById('emailSmtpTlsEnabled').value;
|
||||
|
||||
body.enabled = document.getElementById('emailEnabled').value;
|
||||
body.notificationTypes = getNotificationTypes(document.getElementById('emailTmdbApiConnectionNotification').checked,
|
||||
body.notificationTypes = getNotificationTypes(
|
||||
document.getElementById('emailTmdbApiConnectionNotification').checked,
|
||||
document.getElementById('emailPlexServerConnectionNotification').checked,
|
||||
document.getElementById('emailPlexMetadataUpdateNotification').checked,
|
||||
document.getElementById('emailPlexLibraryUpdateNotification').checked,
|
||||
document.getElementById('emailGapsMissingCollectionsNotification').checked);
|
||||
document.getElementById('emailGapsMissingCollectionsNotification').checked,
|
||||
);
|
||||
|
||||
const response = await fetch(getContextPath('/notifications/email'), {
|
||||
method: 'put',
|
||||
|
||||
@@ -38,11 +38,13 @@ export async function saveGotifyNotifications() {
|
||||
body.address = document.getElementById('gotifyAddress').value;
|
||||
body.token = document.getElementById('gotifyToken').value;
|
||||
body.enabled = document.getElementById('gotifyEnabled').value;
|
||||
body.notificationTypes = getNotificationTypes(document.getElementById('gotifyTmdbApiConnectionNotification').checked,
|
||||
body.notificationTypes = getNotificationTypes(
|
||||
document.getElementById('gotifyTmdbApiConnectionNotification').checked,
|
||||
document.getElementById('gotifyPlexServerConnectionNotification').checked,
|
||||
document.getElementById('gotifyPlexMetadataUpdateNotification').checked,
|
||||
document.getElementById('gotifyPlexLibraryUpdateNotification').checked,
|
||||
document.getElementById('gotifyGapsMissingCollectionsNotification').checked);
|
||||
document.getElementById('gotifyGapsMissingCollectionsNotification').checked,
|
||||
);
|
||||
|
||||
const response = await fetch(getContextPath('/notifications/gotify'), {
|
||||
method: 'put',
|
||||
|
||||
@@ -37,11 +37,13 @@ export async function savePushBulletNotifications() {
|
||||
body.channel_tag = document.getElementById('pushBulletChannelTag').value;
|
||||
body.accessToken = document.getElementById('pushBulletAccessToken').value;
|
||||
body.enabled = document.getElementById('pushBulletEnabled').value;
|
||||
body.notificationTypes = getNotificationTypes(document.getElementById('pushBulletTmdbApiConnectionNotification').checked,
|
||||
body.notificationTypes = getNotificationTypes(
|
||||
document.getElementById('pushBulletTmdbApiConnectionNotification').checked,
|
||||
document.getElementById('pushBulletPlexServerConnectionNotification').checked,
|
||||
document.getElementById('pushBulletPlexMetadataUpdateNotification').checked,
|
||||
document.getElementById('pushBulletPlexLibraryUpdateNotification').checked,
|
||||
document.getElementById('pushBulletGapsMissingCollectionsNotification').checked);
|
||||
document.getElementById('pushBulletGapsMissingCollectionsNotification').checked,
|
||||
);
|
||||
|
||||
const response = await fetch(getContextPath('/notifications/pushbullet'), {
|
||||
method: 'put',
|
||||
|
||||
@@ -75,11 +75,13 @@ export async function savePushOverNotifications() {
|
||||
body.retry = document.getElementById('pushOverRetry').value;
|
||||
body.expire = document.getElementById('pushOverExpire').value;
|
||||
body.enabled = document.getElementById('pushOverEnabled').value;
|
||||
body.notificationTypes = getNotificationTypes(document.getElementById('pushOverTmdbApiConnectionNotification').checked,
|
||||
body.notificationTypes = getNotificationTypes(
|
||||
document.getElementById('pushOverTmdbApiConnectionNotification').checked,
|
||||
document.getElementById('pushOverPlexServerConnectionNotification').checked,
|
||||
document.getElementById('pushOverPlexMetadataUpdateNotification').checked,
|
||||
document.getElementById('pushOverPlexLibraryUpdateNotification').checked,
|
||||
document.getElementById('pushOverGapsMissingCollectionsNotification').checked);
|
||||
document.getElementById('pushOverGapsMissingCollectionsNotification').checked,
|
||||
);
|
||||
|
||||
const response = await fetch(getContextPath('/notifications/pushOver'), {
|
||||
method: 'put',
|
||||
|
||||
@@ -36,11 +36,13 @@ export async function saveSlackNotifications() {
|
||||
const body = {};
|
||||
body.webHookUrl = document.getElementById('slackWebHookUrl').value;
|
||||
body.enabled = document.getElementById('slackEnabled').value;
|
||||
body.notificationTypes = getNotificationTypes(document.getElementById('slackTmdbApiConnectionNotification').checked,
|
||||
body.notificationTypes = getNotificationTypes(
|
||||
document.getElementById('slackTmdbApiConnectionNotification').checked,
|
||||
document.getElementById('slackPlexServerConnectionNotification').checked,
|
||||
document.getElementById('slackPlexMetadataUpdateNotification').checked,
|
||||
document.getElementById('slackPlexLibraryUpdateNotification').checked,
|
||||
document.getElementById('slackGapsMissingCollectionsNotification').checked);
|
||||
document.getElementById('slackGapsMissingCollectionsNotification').checked,
|
||||
);
|
||||
|
||||
const response = await fetch(getContextPath('/notifications/slack'), {
|
||||
method: 'put',
|
||||
|
||||
@@ -37,11 +37,13 @@ export async function saveTelegramNotifications() {
|
||||
body.botId = document.getElementById('telegramBotId').value;
|
||||
body.chatId = document.getElementById('telegramChatId').value;
|
||||
body.enabled = document.getElementById('telegramEnabled').value;
|
||||
body.notificationTypes = getNotificationTypes(document.getElementById('telegramTmdbApiConnectionNotification').checked,
|
||||
body.notificationTypes = getNotificationTypes(
|
||||
document.getElementById('telegramTmdbApiConnectionNotification').checked,
|
||||
document.getElementById('telegramPlexServerConnectionNotification').checked,
|
||||
document.getElementById('telegramPlexMetadataUpdateNotification').checked,
|
||||
document.getElementById('telegramPlexLibraryUpdateNotification').checked,
|
||||
document.getElementById('telegramGapsMissingCollectionsNotification').checked);
|
||||
document.getElementById('telegramGapsMissingCollectionsNotification').checked,
|
||||
);
|
||||
|
||||
const response = await fetch(getContextPath('/notifications/telegram'), {
|
||||
method: 'put',
|
||||
|
||||
16326
package-lock.json
generated
16326
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
26
package.json
26
package.json
@@ -4,22 +4,22 @@
|
||||
"description": "Gaps searches through your Plex Server for all movies, then queries for known movies in the same collection. If those movies don't exist in your library, Gaps will recommend getting those movies, legally of course.",
|
||||
"main": "/",
|
||||
"dependencies": {
|
||||
"cssnano": "^4.1.10",
|
||||
"faker": "^5.1.0",
|
||||
"postcss-cli": "^7.1.1",
|
||||
"cssnano": "^5.0.14",
|
||||
"faker": "^5.5.3",
|
||||
"postcss-cli": "^9.1.0",
|
||||
"uglify-es": "^3.3.9",
|
||||
"uglify-js": "^3.10.0",
|
||||
"uglifyjs-folder": "^2.0.0"
|
||||
"uglify-js": "^3.14.5",
|
||||
"uglifyjs-folder": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.14.3",
|
||||
"@babel/node": "^7.14.2",
|
||||
"@babel/preset-env": "^7.14.4",
|
||||
"cypress": "^8.3.0",
|
||||
"eslint": "^7.10.0",
|
||||
"eslint-config-airbnb-base": "^14.2.0",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"jest": "^27.0.3"
|
||||
"@babel/core": "^7.16.7",
|
||||
"@babel/node": "^7.16.7",
|
||||
"@babel/preset-env": "^7.16.7",
|
||||
"cypress": "^9.2.0",
|
||||
"eslint": "^8.6.0",
|
||||
"eslint-config-airbnb-base": "^15.0.0",
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
"jest": "^27.4.7"
|
||||
},
|
||||
"scripts": {
|
||||
"e2e": "cypress open",
|
||||
|
||||
Reference in New Issue
Block a user