@whyour/qinglong 2.23.0 → 2.25.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +3 -0
- package/README-NODE.md +10 -0
- package/back/protos/api.proto +10 -0
- package/cli/README.en.md +156 -0
- package/cli/README.md +156 -0
- package/cli/src/internal/maintenance/nodeRuntime.cjs +18 -0
- package/cli/src/internal/maintenance/panelUpgrade.cjs +577 -0
- package/cli/src/internal/maintenance/platformBundle.cjs +582 -0
- package/cli/src/internal/maintenance/upgradeArtifacts.cjs +979 -0
- package/cli/src/internal/maintenance/upgradePrestart.cjs +396 -0
- package/ecosystem.config.js +3 -0
- package/package.json +53 -10
- package/sample/notify.js +308 -135
- package/sample/notify.py +251 -56
- package/shell/api.sh +18 -7
- package/shell/install-bundle.cjs +320 -0
- package/shell/install-package.cjs +74 -0
- package/shell/lang/en.sh +38 -0
- package/shell/node-runtime-probe.cjs +62 -0
- package/shell/otask.sh +38 -36
- package/shell/preload/client.js +1 -0
- package/shell/preload/notificationAudit.js +51 -0
- package/shell/preload/sitecustomize.js +3 -3
- package/shell/preload/sitecustomize.py +5 -5
- package/shell/rmlog.sh +21 -16
- package/shell/share.sh +61 -44
- package/shell/start-simplify.sh +90 -0
- package/shell/start.sh +48 -71
- package/shell/task-timeout.sh +22 -10
- package/shell/task.sh +7 -7
- package/shell/update.sh +52 -38
- package/shell/upgrade-lock.yaml +16122 -0
- package/shell/upgrade.cjs +1 -1
- package/static/build/api/clientIp.js +2 -1
- package/static/build/api/clientIp.js.map +1 -0
- package/static/build/api/config.js.map +1 -0
- package/static/build/api/cron.js.map +1 -0
- package/static/build/api/dashboard.js.map +1 -0
- package/static/build/api/dependence.js +52 -0
- package/static/build/api/dependence.js.map +1 -0
- package/static/build/api/env.js.map +1 -0
- package/static/build/api/health.js +0 -1
- package/static/build/api/health.js.map +1 -0
- package/static/build/api/index.js.map +1 -0
- package/static/build/api/log.js.map +1 -0
- package/static/build/api/open.js +2 -2
- package/static/build/api/open.js.map +1 -0
- package/static/build/api/retention.js.map +1 -0
- package/static/build/api/script.js.map +1 -0
- package/static/build/api/subscription.js.map +1 -0
- package/static/build/api/system.js +18 -0
- package/static/build/api/system.js.map +1 -0
- package/static/build/api/update.js.map +1 -0
- package/static/build/api/user.js +0 -11
- package/static/build/api/user.js.map +1 -0
- package/static/build/app.js +10 -23
- package/static/build/app.js.map +1 -0
- package/static/build/bootstrap/database.js.map +1 -0
- package/static/build/bootstrap/upgradeProbe.js +154 -0
- package/static/build/bootstrap/upgradeProbe.js.map +1 -0
- package/static/build/config/const.js +2 -1
- package/static/build/config/const.js.map +1 -0
- package/static/build/config/container.js.map +1 -0
- package/static/build/config/grpcCerts.js.map +1 -0
- package/static/build/config/http.js.map +1 -0
- package/static/build/config/index.js +0 -2
- package/static/build/config/index.js.map +1 -0
- package/static/build/config/serverEnv.js.map +1 -0
- package/static/build/config/share.js.map +1 -0
- package/static/build/config/subscription.js.map +1 -0
- package/static/build/config/util.js +178 -79
- package/static/build/config/util.js.map +1 -0
- package/static/build/data/cron.js.map +1 -0
- package/static/build/data/cronStats.js.map +1 -0
- package/static/build/data/cronView.js.map +1 -0
- package/static/build/data/dependence.js.map +1 -0
- package/static/build/data/env.js.map +1 -0
- package/static/build/data/index.js.map +1 -0
- package/static/build/data/notify.js.map +1 -0
- package/static/build/data/open.js.map +1 -0
- package/static/build/data/runningInstance.js.map +1 -0
- package/static/build/data/sock.js.map +1 -0
- package/static/build/data/subscription.js.map +1 -0
- package/static/build/data/system.js +3 -1
- package/static/build/data/system.js.map +1 -0
- package/static/build/interface/schedule.js.map +1 -0
- package/static/build/loaders/app.js.map +1 -0
- package/static/build/loaders/bootAfter.js.map +1 -0
- package/static/build/loaders/db.js.map +1 -0
- package/static/build/loaders/depInjector.js.map +1 -0
- package/static/build/loaders/deps.js.map +1 -0
- package/static/build/loaders/express.js +67 -29
- package/static/build/loaders/express.js.map +1 -0
- package/static/build/loaders/httpApplication.js +55 -0
- package/static/build/loaders/httpApplication.js.map +1 -0
- package/static/build/loaders/initData.js +2 -1
- package/static/build/loaders/initData.js.map +1 -0
- package/static/build/loaders/initFile.js.map +1 -0
- package/static/build/loaders/initTask.js +1 -1
- package/static/build/loaders/initTask.js.map +1 -0
- package/static/build/loaders/logger.js.map +1 -0
- package/static/build/loaders/server.js.map +1 -0
- package/static/build/loaders/sock.js.map +1 -0
- package/static/build/middlewares/monitoring.js.map +1 -0
- package/static/build/middlewares/protectedPathCase.js.map +1 -0
- package/static/build/middlewares/uniqueConstraintError.js.map +1 -0
- package/static/build/middlewares/validationErrors.js +17 -0
- package/static/build/middlewares/validationErrors.js.map +1 -0
- package/static/build/protos/api.js +140 -2
- package/static/build/protos/api.js.map +1 -0
- package/static/build/protos/cron.js.map +1 -0
- package/static/build/protos/health.js.map +1 -0
- package/static/build/schedule/addCron.js +2 -2
- package/static/build/schedule/addCron.js.map +1 -0
- package/static/build/schedule/api.js +21 -2
- package/static/build/schedule/api.js.map +1 -0
- package/static/build/schedule/client.js.map +1 -0
- package/static/build/schedule/data.js.map +1 -0
- package/static/build/schedule/delCron.js +5 -3
- package/static/build/schedule/delCron.js.map +1 -0
- package/static/build/schedule/health.js.map +1 -0
- package/static/build/schedule/setConcurrency.js.map +1 -0
- package/static/build/services/config.js.map +1 -0
- package/static/build/services/cron.js +7 -7
- package/static/build/services/cron.js.map +1 -0
- package/static/build/services/cronView.js.map +1 -0
- package/static/build/services/dependence.js +101 -22
- package/static/build/services/dependence.js.map +1 -0
- package/static/build/services/env.js +13 -3
- package/static/build/services/env.js.map +1 -0
- package/static/build/services/grpc.js +2 -2
- package/static/build/services/grpc.js.map +1 -0
- package/static/build/services/health.js +2 -0
- package/static/build/services/health.js.map +1 -0
- package/static/build/services/http.js.map +1 -0
- package/static/build/services/log.js +1 -1
- package/static/build/services/log.js.map +1 -0
- package/static/build/services/metrics.js +2 -1
- package/static/build/services/metrics.js.map +1 -0
- package/static/build/services/notify.js +45 -24
- package/static/build/services/notify.js.map +1 -0
- package/static/build/services/open.js +10 -0
- package/static/build/services/open.js.map +1 -0
- package/static/build/services/retention.js.map +1 -0
- package/static/build/services/schedule.js +13 -12
- package/static/build/services/schedule.js.map +1 -0
- package/static/build/services/script.js.map +1 -0
- package/static/build/services/scriptHistory.js.map +1 -0
- package/static/build/services/sock.js.map +1 -0
- package/static/build/services/sshKey.js +8 -5
- package/static/build/services/sshKey.js.map +1 -0
- package/static/build/services/subscription.js.map +1 -0
- package/static/build/services/system.js +76 -46
- package/static/build/services/system.js.map +1 -0
- package/static/build/services/user.js +2 -2
- package/static/build/services/user.js.map +1 -0
- package/static/build/shared/auth.js.map +1 -0
- package/static/build/shared/authMutation.js.map +1 -0
- package/static/build/shared/childProcess.js.map +1 -0
- package/static/build/shared/clientIp.js.map +1 -0
- package/static/build/shared/cronCommand.js.map +1 -0
- package/static/build/shared/cronSchedule.js +65 -9
- package/static/build/shared/cronSchedule.js.map +1 -0
- package/static/build/shared/cronScheduler.js +3 -2
- package/static/build/shared/cronScheduler.js.map +1 -0
- package/static/build/shared/errors.js.map +1 -0
- package/static/build/shared/fileAccess.js +4 -1
- package/static/build/shared/fileAccess.js.map +1 -0
- package/static/build/shared/i18n.js +165 -85
- package/static/build/shared/i18n.js.map +1 -0
- package/static/build/shared/interface.js.map +1 -0
- package/static/build/shared/languageSync.js +61 -0
- package/static/build/shared/languageSync.js.map +1 -0
- package/static/build/shared/linuxMirror.js +96 -0
- package/static/build/shared/linuxMirror.js.map +1 -0
- package/static/build/shared/logPath.js.map +1 -0
- package/static/build/shared/logReader.js.map +1 -0
- package/static/build/shared/logStreamManager.js.map +1 -0
- package/static/build/shared/loginThrottle.js.map +1 -0
- package/static/build/shared/notificationAudit.js +46 -0
- package/static/build/shared/notificationAudit.js.map +1 -0
- package/static/build/shared/pLimit.js +8 -8
- package/static/build/shared/pLimit.js.map +1 -0
- package/static/build/shared/password.js.map +1 -0
- package/static/build/shared/retention.js.map +1 -0
- package/static/build/shared/runCron.js +69 -26
- package/static/build/shared/runCron.js.map +1 -0
- package/static/build/shared/runtimeBuild.js +44 -0
- package/static/build/shared/runtimeBuild.js.map +1 -0
- package/static/build/shared/schedulerMutationLock.js.map +1 -0
- package/static/build/shared/schedulerReadiness.js.map +1 -0
- package/static/build/shared/schemaMigrations.js +7 -0
- package/static/build/shared/schemaMigrations.js.map +1 -0
- package/static/build/shared/scriptHistory.js.map +1 -0
- package/static/build/shared/shellQuote.js.map +1 -0
- package/static/build/shared/startupProcess.js.map +1 -0
- package/static/build/shared/store.js.map +1 -0
- package/static/build/shared/subscriptionMutationLock.js.map +1 -0
- package/static/build/shared/subscriptionPath.js.map +1 -0
- package/static/build/shared/subscriptionStorage.js.map +1 -0
- package/static/build/shared/taskEnvName.js +79 -0
- package/static/build/shared/taskEnvName.js.map +1 -0
- package/static/build/shared/trustProxy.js +5 -4
- package/static/build/shared/trustProxy.js.map +1 -0
- package/static/build/shared/utils.js.map +1 -0
- package/static/build/token.js.map +1 -0
- package/static/build/validation/schedule.js +19 -1
- package/static/build/validation/schedule.js.map +1 -0
- package/static/build-info.json +757 -0
- package/static/dist/1089.0ecc5383.async.js.gz +0 -0
- package/static/dist/1174.41a43fee.async.js.gz +0 -0
- package/static/dist/119.89e2d610.async.js.gz +0 -0
- package/static/dist/1212.f87fd07a.async.js.gz +0 -0
- package/static/dist/1352.96a77e1d.async.js.gz +0 -0
- package/static/dist/1379.f91563a1.async.js.gz +0 -0
- package/static/dist/1571.94ddca13.async.js.gz +0 -0
- package/static/dist/1706.ac98cb3f.async.js.gz +0 -0
- package/static/dist/1765.5ac01a93.async.js.gz +0 -0
- package/static/dist/1836.f0b74cf1.async.js.gz +0 -0
- package/static/dist/1883.675b6a18.chunk.css.gz +0 -0
- package/static/dist/1885.b8f427bf.async.js.gz +0 -0
- package/static/dist/1887.9e0d3da8.async.js.gz +0 -0
- package/static/dist/198.db47fc1a.async.js.gz +0 -0
- package/static/dist/2325.dfa32834.async.js.gz +0 -0
- package/static/dist/2338.d678967d.async.js.gz +0 -0
- package/static/dist/2372.b5a50ee7.async.js +1 -0
- package/static/dist/2372.b5a50ee7.async.js.gz +0 -0
- package/static/dist/2476.4e9b0992.async.js.gz +0 -0
- package/static/dist/2537.2b262ee0.async.js.gz +0 -0
- package/static/dist/2577.aa8fe709.async.js.gz +0 -0
- package/static/dist/2635.d4c59d23.async.js.gz +0 -0
- package/static/dist/2664.e69530fb.async.js +1 -0
- package/static/dist/2664.e69530fb.async.js.gz +0 -0
- package/static/dist/2693.51c2636b.async.js.gz +0 -0
- package/static/dist/2808.cdc0995c.async.js.gz +0 -0
- package/static/dist/2821.651f31e5.async.js.gz +0 -0
- package/static/dist/2890.add55e85.async.js.gz +0 -0
- package/static/dist/2901.6d0de54e.async.js +1 -0
- package/static/dist/2901.6d0de54e.async.js.gz +0 -0
- package/static/dist/292.1b962b29.chunk.css.gz +0 -0
- package/static/dist/292.27ce781f.async.js +1 -0
- package/static/dist/292.27ce781f.async.js.gz +0 -0
- package/static/dist/300.08ac9875.async.js.gz +0 -0
- package/static/dist/3191.3b7e4b42.async.js +1 -0
- package/static/dist/3191.3b7e4b42.async.js.gz +0 -0
- package/static/dist/3382.a584a111.async.js.gz +0 -0
- package/static/dist/3383.041eee73.async.js.gz +0 -0
- package/static/dist/3512.95e41255.async.js.gz +0 -0
- package/static/dist/3714.8d6dba9e.async.js.gz +0 -0
- package/static/dist/3906.a5eee612.async.js.gz +0 -0
- package/static/dist/3948.4fe809fd.async.js.gz +0 -0
- package/static/dist/4324.5a5887d1.async.js.gz +0 -0
- package/static/dist/4559.faab3673.async.js.gz +0 -0
- package/static/dist/4573.16f19278.async.js.gz +0 -0
- package/static/dist/{4736.1d2b5cb6.async.js → 4736.7c4c489b.async.js} +1 -1
- package/static/dist/4736.7c4c489b.async.js.gz +0 -0
- package/static/dist/4887.8e3ae573.async.js.gz +0 -0
- package/static/dist/4934.f3539d08.async.js.gz +0 -0
- package/static/dist/5077.cbd111cd.async.js.gz +0 -0
- package/static/dist/{5481.624d0e07.async.js → 5481.e2945a63.async.js} +1 -1
- package/static/dist/5481.e2945a63.async.js.gz +0 -0
- package/static/dist/5662.678b0cfb.async.js.gz +0 -0
- package/static/dist/5970.5862e59e.async.js +1 -0
- package/static/dist/5970.5862e59e.async.js.gz +0 -0
- package/static/dist/6013.db535339.async.js.gz +0 -0
- package/static/dist/6035.32ebfad9.async.js.gz +0 -0
- package/static/dist/6212.e056fb2d.async.js +1 -0
- package/static/dist/6212.e056fb2d.async.js.gz +0 -0
- package/static/dist/6341.673fb65c.async.js.gz +0 -0
- package/static/dist/6367.8b0e838c.async.js.gz +0 -0
- package/static/dist/6431.c50479be.async.js +1 -0
- package/static/dist/6569.55177f6a.async.js.gz +0 -0
- package/static/dist/6610.c111af7e.async.js.gz +0 -0
- package/static/dist/{1967.3f3945d0.async.js → 6636.fed84003.async.js} +1 -1
- package/static/dist/6636.fed84003.async.js.gz +0 -0
- package/static/dist/6638.87a163d2.async.js.gz +0 -0
- package/static/dist/6646.95e92533.async.js.gz +0 -0
- package/static/dist/{6872.a503ef55.async.js → 6872.fcc9ce17.async.js} +1 -1
- package/static/dist/6872.fcc9ce17.async.js.gz +0 -0
- package/static/dist/691.187a388c.async.js.gz +0 -0
- package/static/dist/7146.4dc150b1.async.js +1 -0
- package/static/dist/7146.4dc150b1.async.js.gz +0 -0
- package/static/dist/7231.f7e5b668.async.js.gz +0 -0
- package/static/dist/7253.4b9bf133.async.js.gz +0 -0
- package/static/dist/7278.96bf439f.async.js.gz +0 -0
- package/static/dist/7355.fca746f5.async.js.gz +0 -0
- package/static/dist/7384.1bb449d5.async.js.gz +0 -0
- package/static/dist/7508.3fffed15.chunk.css.gz +0 -0
- package/static/dist/7508.d90eac63.async.js.gz +0 -0
- package/static/dist/7802.34255805.async.js.gz +0 -0
- package/static/dist/7984.eaac7402.async.js.gz +0 -0
- package/static/dist/8033.5cb31493.async.js.gz +0 -0
- package/static/dist/8078.8586c875.async.js.gz +0 -0
- package/static/dist/8147.2fb55202.async.js.gz +0 -0
- package/static/dist/8187.48c130d6.async.js.gz +0 -0
- package/static/dist/8495.d53e15ca.async.js.gz +0 -0
- package/static/dist/8844.a0fef08e.async.js.gz +0 -0
- package/static/dist/9308.3202ac13.async.js.gz +0 -0
- package/static/dist/9323.a33f47da.async.js.gz +0 -0
- package/static/dist/965.8d9b1fbd.async.js +1 -0
- package/static/dist/965.8d9b1fbd.async.js.gz +0 -0
- package/static/dist/9761.360a19d8.async.js.gz +0 -0
- package/static/dist/index.html +2 -2
- package/static/dist/layouts__index.86b6bcbe.chunk.css +1 -0
- package/static/dist/layouts__index.86b6bcbe.chunk.css.gz +0 -0
- package/static/dist/layouts__index.c8e9788e.async.js +1 -0
- package/static/dist/layouts__index.c8e9788e.async.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/base/worker/workerMain.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/basic-languages/abap/abap.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/basic-languages/clojure/clojure.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/basic-languages/elixir/elixir.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/basic-languages/freemarker2/freemarker2.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/basic-languages/mysql/mysql.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/basic-languages/pgsql/pgsql.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/basic-languages/powerquery/powerquery.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/basic-languages/redshift/redshift.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/basic-languages/solidity/solidity.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/basic-languages/sql/sql.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/editor/editor.main.css.gz +0 -0
- package/static/dist/monaco-editor/min/vs/editor/editor.main.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/editor/editor.main.nls.de.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/editor/editor.main.nls.es.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/editor/editor.main.nls.fr.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/editor/editor.main.nls.it.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/editor/editor.main.nls.ja.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/editor/editor.main.nls.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/editor/editor.main.nls.ko.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/editor/editor.main.nls.ru.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/editor/editor.main.nls.zh-cn.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/editor/editor.main.nls.zh-tw.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/language/css/cssMode.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/language/css/cssWorker.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/language/html/htmlMode.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/language/html/htmlWorker.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/language/json/jsonMode.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/language/json/jsonWorker.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/language/typescript/tsMode.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/language/typescript/tsWorker.js.gz +0 -0
- package/static/dist/monaco-editor/min/vs/loader.js.gz +0 -0
- package/static/dist/preload_helper.a71416e6.js +1 -0
- package/static/dist/src__pages__404.3fd8332e.async.js +1 -0
- package/static/dist/src__pages__config__index.088ddd9d.async.js +1 -0
- package/static/dist/src__pages__config__index.088ddd9d.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__detail.88729e8f.async.js +1 -0
- package/static/dist/src__pages__crontab__detail.88729e8f.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__index.b0ae0f99.async.js +1 -0
- package/static/dist/src__pages__crontab__index.b0ae0f99.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__logModal.930535e2.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__modal.a2c8fdcc.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__viewCreateModal.7b4f9cbe.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__viewManageModal.cd454ea0.async.js.gz +0 -0
- package/static/dist/src__pages__dashboard__index.c05ce904.async.js +1 -0
- package/static/dist/src__pages__dashboard__index.c05ce904.async.js.gz +0 -0
- package/static/dist/src__pages__dependence__index.edad6a53.async.js +1 -0
- package/static/dist/src__pages__dependence__index.edad6a53.async.js.gz +0 -0
- package/static/dist/{src__pages__dependence__logModal.154efe7a.async.js → src__pages__dependence__logModal.01729f63.async.js} +1 -1
- package/static/dist/src__pages__dependence__logModal.01729f63.async.js.gz +0 -0
- package/static/dist/src__pages__dependence__modal.ef7ae53b.async.js +1 -0
- package/static/dist/src__pages__dependence__modal.ef7ae53b.async.js.gz +0 -0
- package/static/dist/src__pages__diff__index.4233ea93.async.js +1 -0
- package/static/dist/src__pages__diff__index.4233ea93.async.js.gz +0 -0
- package/static/dist/src__pages__env__index.c236a754.async.js +1 -0
- package/static/dist/src__pages__env__index.c236a754.async.js.gz +0 -0
- package/static/dist/src__pages__env__modal.4d71adb3.async.js.gz +0 -0
- package/static/dist/src__pages__error__index.66605c72.async.js +1 -0
- package/static/dist/src__pages__initialization__index.d4d89bf9.async.js +1 -0
- package/static/dist/src__pages__initialization__index.d4d89bf9.async.js.gz +0 -0
- package/static/dist/src__pages__log__index.71250e0d.async.js.gz +0 -0
- package/static/dist/src__pages__login__index.58bb4b38.async.js +1 -0
- package/static/dist/src__pages__login__index.58bb4b38.async.js.gz +0 -0
- package/static/dist/src__pages__script__components__UnsupportedFilePreview__index.c347a13a.async.js.gz +0 -0
- package/static/dist/src__pages__script__editModal.785f8431.async.js +1 -0
- package/static/dist/src__pages__script__editModal.785f8431.async.js.gz +0 -0
- package/static/dist/src__pages__script__editNameModal.789ad87b.async.js.gz +0 -0
- package/static/dist/src__pages__script__historyDrawer.8c58d958.async.js.gz +0 -0
- package/static/dist/src__pages__script__index.3e142045.async.js +1 -0
- package/static/dist/src__pages__script__index.3e142045.async.js.gz +0 -0
- package/static/dist/{src__pages__setting__about.e6db5090.chunk.css → src__pages__setting__about.0d6ea255.chunk.css} +1 -1
- package/static/dist/src__pages__setting__about.3d3c019f.async.js.gz +0 -0
- package/static/dist/src__pages__setting__checkUpdate.429a42f3.async.js +1 -0
- package/static/dist/src__pages__setting__checkUpdate.429a42f3.async.js.gz +0 -0
- package/static/dist/src__pages__setting__clientIp.3a8711ed.async.js.gz +0 -0
- package/static/dist/{src__pages__setting__dependence.28ecea01.chunk.css → src__pages__setting__dependence.80b183a5.chunk.css} +1 -1
- package/static/dist/src__pages__setting__dependence.c227c0f5.async.js +1 -0
- package/static/dist/src__pages__setting__dependence.c227c0f5.async.js.gz +0 -0
- package/static/dist/{src__pages__setting__index.7cf46d4a.chunk.css → src__pages__setting__index.46315660.chunk.css} +1 -1
- package/static/dist/src__pages__setting__index.c5615182.async.js +1 -0
- package/static/dist/src__pages__setting__index.c5615182.async.js.gz +0 -0
- package/static/dist/src__pages__setting__loginLog.ef135f19.async.js +1 -0
- package/static/dist/src__pages__setting__loginLog.ef135f19.async.js.gz +0 -0
- package/static/dist/src__pages__setting__notifyLog.5ef5b578.async.js +1 -0
- package/static/dist/src__pages__setting__notifyLog.5ef5b578.async.js.gz +0 -0
- package/static/dist/{src__pages__setting__other.28ecea01.chunk.css → src__pages__setting__notifyLog.80b183a5.chunk.css} +1 -1
- package/static/dist/src__pages__setting__other.80b183a5.chunk.css +1 -0
- package/static/dist/src__pages__setting__other.e744c0d1.async.js +1 -0
- package/static/dist/src__pages__setting__other.e744c0d1.async.js.gz +0 -0
- package/static/dist/src__pages__setting__security.e2d71ebb.async.js.gz +0 -0
- package/static/dist/src__pages__setting__systemLog.000bcb5e.async.js +1 -0
- package/static/dist/src__pages__setting__systemLog.000bcb5e.async.js.gz +0 -0
- package/static/dist/src__pages__subscription__index.f556ae4c.async.js +1 -0
- package/static/dist/src__pages__subscription__index.f556ae4c.async.js.gz +0 -0
- package/static/dist/src__pages__subscription__logModal.cdba5139.async.js.gz +0 -0
- package/static/dist/src__pages__subscription__modal.8f04f506.async.js +1 -0
- package/static/dist/umi.a4d14b92.css.gz +0 -0
- package/static/dist/umi.cf08844a.js +1 -0
- package/static/dist/umi.cf08844a.js.gz +0 -0
- package/version.yaml +9 -14
- package/.dockerignore +0 -13
- package/AGENTS.md +0 -43
- package/SECURITY.md +0 -5
- package/back/protos/cron.proto +0 -33
- package/back/protos/health.proto +0 -22
- package/deploy/kubernetes/README.md +0 -81
- package/deploy/kubernetes/base/kustomization.yaml +0 -5
- package/deploy/kubernetes/base/qinglong.yaml +0 -95
- package/deploy/kubernetes/overlays/example/kustomization.yaml +0 -10
- package/docker/Dockerfile +0 -113
- package/docker/Dockerfile.310 +0 -113
- package/docker/Dockerfile.debian +0 -128
- package/docker/Dockerfile.debian310 +0 -130
- package/docker/build-manifest.cjs +0 -28
- package/docker/docker-compose.yml +0 -10
- package/docker/docker-entrypoint.sh +0 -147
- package/docker/verify-build.cjs +0 -49
- package/docs/PROJECT_ARCHITECTURE.md +0 -550
- package/docs/development/node-cron-migration.md +0 -49
- package/docs/development/task-startup.md +0 -78
- package/docs/releases/2.22.0-validation.md +0 -49
- package/docs/releases/2.22.0.md +0 -62
- package/docs/releases/2.23.0.md +0 -33
- package/docs/script-history.md +0 -53
- package/sample/tool.ts +0 -40
- package/scripts/benchmark-execution.cjs +0 -96
- package/scripts/benchmark-script-history.cjs +0 -39
- package/scripts/publish-static.sh +0 -34
- package/scripts/sync-static.sh +0 -20
- package/scripts/wait-for-mirror.sh +0 -214
- package/scripts/write-build-info.cjs +0 -27
- package/shell/pub.sh +0 -28
- package/static/dist/255.8a80b983.async.js +0 -1
- package/static/dist/2901.2ca95295.async.js +0 -1
- package/static/dist/292.264757f0.async.js +0 -1
- package/static/dist/3600.7637c822.async.js +0 -1
- package/static/dist/445.a65ff63b.async.js +0 -1
- package/static/dist/5970.d3a6e7bd.async.js +0 -1
- package/static/dist/6212.9e6d9913.async.js +0 -1
- package/static/dist/6431.4603ad0e.async.js +0 -1
- package/static/dist/9066.605168f8.async.js +0 -1
- package/static/dist/9313.37acaf13.async.js +0 -1
- package/static/dist/layouts__index.633d3553.async.js +0 -1
- package/static/dist/layouts__index.adf0692f.chunk.css +0 -1
- package/static/dist/preload_helper.01fcd534.js +0 -1
- package/static/dist/src__pages__404.771168fc.async.js +0 -1
- package/static/dist/src__pages__config__index.9aba4054.async.js +0 -1
- package/static/dist/src__pages__crontab__detail.86b2eebb.async.js +0 -1
- package/static/dist/src__pages__crontab__index.ae4e06f2.async.js +0 -1
- package/static/dist/src__pages__dashboard__index.243c5a35.async.js +0 -1
- package/static/dist/src__pages__dependence__index.874d501f.async.js +0 -1
- package/static/dist/src__pages__dependence__modal.0fa8b421.async.js +0 -1
- package/static/dist/src__pages__diff__index.b94e5dc5.async.js +0 -1
- package/static/dist/src__pages__env__index.fd6fd2b0.async.js +0 -1
- package/static/dist/src__pages__error__index.aae50c94.async.js +0 -1
- package/static/dist/src__pages__initialization__index.82a2e967.async.js +0 -1
- package/static/dist/src__pages__login__index.a0fd5ed8.async.js +0 -1
- package/static/dist/src__pages__script__editModal.afabf073.async.js +0 -1
- package/static/dist/src__pages__script__index.fc575945.async.js +0 -1
- package/static/dist/src__pages__setting__checkUpdate.d175b154.async.js +0 -1
- package/static/dist/src__pages__setting__dependence.9c0f749b.async.js +0 -1
- package/static/dist/src__pages__setting__index.cb397741.async.js +0 -1
- package/static/dist/src__pages__setting__loginLog.e0a1f54d.async.js +0 -1
- package/static/dist/src__pages__setting__other.3d0b8492.async.js +0 -1
- package/static/dist/src__pages__setting__systemLog.b3046955.async.js +0 -1
- package/static/dist/src__pages__subscription__index.43086a06.async.js +0 -1
- package/static/dist/src__pages__subscription__modal.30868ba8.async.js +0 -1
- package/static/dist/umi.3a24a9fa.js +0 -1
- package/test/back/advisory-input-security.test.cjs +0 -416
- package/test/back/auth-security.test.cjs +0 -74
- package/test/back/build-provenance.test.cjs +0 -150
- package/test/back/code-scanning-security.test.cjs +0 -189
- package/test/back/cron-log-name.test.cjs +0 -110
- package/test/back/cron-macros.test.cjs +0 -51
- package/test/back/cron-schedule-compatibility.test.cjs +0 -69
- package/test/back/cron-scheduler-routing.test.cjs +0 -59
- package/test/back/cron-validation.test.cjs +0 -45
- package/test/back/dashboard-failures.test.cjs +0 -173
- package/test/back/database-bootstrap.test.cjs +0 -193
- package/test/back/dependence-cache-status.test.cjs +0 -125
- package/test/back/deprecated-file-routes.test.cjs +0 -82
- package/test/back/draft-path-security.test.cjs +0 -235
- package/test/back/ecosystem.test.cjs +0 -28
- package/test/back/env-import-security.test.cjs +0 -91
- package/test/back/env-name-parsing.test.cjs +0 -96
- package/test/back/execution-lifecycle.test.cjs +0 -236
- package/test/back/file-access-scope.test.cjs +0 -180
- package/test/back/file-access-security.test.cjs +0 -47
- package/test/back/fileTreeListing.test.cjs +0 -57
- package/test/back/grpc-cron-response.test.cjs +0 -60
- package/test/back/grpc-mtls-security.test.cjs +0 -136
- package/test/back/http-exclusive-listen.test.cjs +0 -31
- package/test/back/http-security.test.cjs +0 -313
- package/test/back/legacy-cron-recovery.test.cjs +0 -76
- package/test/back/linux-mirror-result.test.cjs +0 -176
- package/test/back/listen-security.test.cjs +0 -68
- package/test/back/log-path-security.test.cjs +0 -158
- package/test/back/logReader.test.cjs +0 -72
- package/test/back/manual-execution.test.cjs +0 -85
- package/test/back/manual-stop-claim.test.cjs +0 -220
- package/test/back/metrics.test.cjs +0 -34
- package/test/back/mirror-status.test.cjs +0 -257
- package/test/back/monitoring.test.cjs +0 -73
- package/test/back/node-cron-migration.test.cjs +0 -65
- package/test/back/node-path-cache.test.cjs +0 -202
- package/test/back/node-path-lock.test.cjs +0 -182
- package/test/back/npm-publication.test.cjs +0 -70
- package/test/back/preload-lazy-notify.test.cjs +0 -168
- package/test/back/primary-apm.test.cjs +0 -24
- package/test/back/process-exit-state.test.cjs +0 -81
- package/test/back/process-stop-signal.test.cjs +0 -77
- package/test/back/protected-path-case.test.cjs +0 -58
- package/test/back/qlServiceLogCommand.test.cjs +0 -128
- package/test/back/queued-cron-invalidation.test.cjs +0 -98
- package/test/back/restart-instance-recovery.test.cjs +0 -116
- package/test/back/retention.test.cjs +0 -131
- package/test/back/role-loading.test.cjs +0 -118
- package/test/back/schedule-health.test.cjs +0 -86
- package/test/back/scheduler-bulk-recovery.test.cjs +0 -40
- package/test/back/scheduler-concurrency.test.cjs +0 -411
- package/test/back/scheduler-file-lock.test.cjs +0 -51
- package/test/back/scheduler-mutation.test.cjs +0 -312
- package/test/back/scheduler-readiness.test.cjs +0 -85
- package/test/back/scheduler-reconciliation.test.cjs +0 -206
- package/test/back/scheduler-rpc-timeout.test.cjs +0 -49
- package/test/back/schema-migrations.test.cjs +0 -127
- package/test/back/script-file-access.test.cjs +0 -210
- package/test/back/script-history-api.test.cjs +0 -551
- package/test/back/script-history.test.cjs +0 -383
- package/test/back/shell-api-parsing.test.cjs +0 -184
- package/test/back/shell-translation-output.test.cjs +0 -16
- package/test/back/shell-upgrade.test.cjs +0 -312
- package/test/back/shellApiToken.test.cjs +0 -151
- package/test/back/sock-polling.test.cjs +0 -297
- package/test/back/sock-security.test.cjs +0 -72
- package/test/back/ssh-config-home.test.cjs +0 -113
- package/test/back/start-env-preservation.test.cjs +0 -53
- package/test/back/static-mirror-trigger.test.cjs +0 -441
- package/test/back/static-mirror.test.cjs +0 -179
- package/test/back/stop-failure-feedback.test.cjs +0 -158
- package/test/back/stop-race.test.cjs +0 -171
- package/test/back/subscription-cleanup.test.cjs +0 -53
- package/test/back/subscription-mutation-lock.test.cjs +0 -83
- package/test/back/subscription-review-regression.test.cjs +0 -607
- package/test/back/subscription-stop-state.test.cjs +0 -66
- package/test/back/subscription-storage-regression.test.cjs +0 -553
- package/test/back/system-dependence-cache.test.cjs +0 -127
- package/test/back/system-export-history.test.cjs +0 -119
- package/test/back/systemTokenRenewal.test.cjs +0 -497
- package/test/back/task-shell-lifecycle.test.cjs +0 -194
- package/test/back/task-time.test.cjs +0 -116
- package/test/back/unique-constraint-error.test.cjs +0 -72
- package/test/back/upgrade-guards.test.cjs +0 -285
- package/test/back/upgrade-lifecycle.test.cjs +0 -288
- package/test/back/upgrade-transaction.test.cjs +0 -133
- package/test/back/user-api.test.cjs +0 -99
- package/test/back/user-security.test.cjs +0 -349
- package/test/back/worker-apm.test.cjs +0 -84
- package/test/back/wpush-grpc.test.cjs +0 -116
- package/test/fixtures/legacy-cron.json +0 -1371
- package/test/front/cron-log-pagination.test.cjs +0 -214
- package/test/front/diff-file-routing.test.cjs +0 -126
- package/test/front/http-auth.test.cjs +0 -152
- package/test/front/http-error.test.cjs +0 -29
- package/test/front/script-history-save.test.cjs +0 -121
- package/test/helpers/load-security-module.cjs +0 -42
- package/test/helpers/upgrade-fixture.cjs +0 -30
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[5970],{73408:function(e,t,n){n.d(t,{ZP:function(){return P},D7:function(){return T},rJ:function(){return F},nH:function(){return O}});var r=n(57904),a=n(2053),o=n(24744),l=n(84007),u=n(82187),i=n.n(u),c=n(75271);function s(e){return!(!e.addonBefore&&!e.addonAfter)}function f(e){return!!(e.prefix||e.suffix||e.allowClear)}function d(e,t,n,r){if(n){var a=t;if("click"===t.type){var o=e.cloneNode(!0);return a=Object.create(t,{target:{value:o},currentTarget:{value:o}}),o.value="",void n(a)}if(void 0!==r)return a=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,void n(a);n(a)}}function p(e){return null==e?"":String(e)}var v=function(e){var t=e.inputElement,n=e.prefixCls,a=e.prefix,l=e.suffix,u=e.addonBefore,d=e.addonAfter,p=e.className,v=e.style,m=e.affixWrapperClassName,g=e.groupClassName,h=e.wrapperClassName,b=e.disabled,x=e.readOnly,Z=e.focused,C=e.triggerFocus,w=e.allowClear,y=e.value,E=e.handleReset,S=e.hidden,N=(0,c.useRef)(null),z=(0,c.cloneElement)(t,{value:y,hidden:S});if(f(e)){var A,R="".concat(n,"-affix-wrapper"),k=i()(R,(A={},(0,r.Z)(A,"".concat(R,"-disabled"),b),(0,r.Z)(A,"".concat(R,"-focused"),Z),(0,r.Z)(A,"".concat(R,"-readonly"),x),(0,r.Z)(A,"".concat(R,"-input-with-clear-btn"),l&&w&&y),A),!s(e)&&p,m),T=(l||w)&&c.createElement("span",{className:"".concat(n,"-suffix")},function(){var e;if(!w)return null;var t=!b&&!x&&y,a="".concat(n,"-clear-icon"),u="object"===(0,o.Z)(w)&&null!=w&&w.clearIcon?w.clearIcon:"✖";return c.createElement("span",{onClick:E,onMouseDown:function(e){return e.preventDefault()},className:i()(a,(e={},(0,r.Z)(e,"".concat(a,"-hidden"),!t),(0,r.Z)(e,"".concat(a,"-has-suffix"),!!l),e)),role:"button",tabIndex:-1},u)}(),l);z=c.createElement("span",{className:k,style:v,hidden:!s(e)&&S,onClick:function(e){var t;null!==(t=N.current)&&void 0!==t&&t.contains(e.target)&&(null==C||C())},ref:N},a&&c.createElement("span",{className:"".concat(n,"-prefix")},a),(0,c.cloneElement)(t,{style:null,value:y,hidden:null}),T)}if(s(e)){var F="".concat(n,"-group"),O="".concat(F,"-addon"),P=i()("".concat(n,"-wrapper"),F,h),I=i()("".concat(n,"-group-wrapper"),p,g);return c.createElement("span",{className:I,style:v,hidden:S},c.createElement("span",{className:P},u&&c.createElement("span",{className:O},u),(0,c.cloneElement)(z,{style:null,hidden:null}),d&&c.createElement("span",{className:O},d)))}return z},m=n(35047),g=n(99459),h=n(58006),b=n(2021),x=n(6522),Z=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","inputClassName"],C=(0,c.forwardRef)((function(e,t){var n=e.autoComplete,l=e.onChange,u=e.onFocus,C=e.onBlur,w=e.onPressEnter,y=e.onKeyDown,E=e.prefixCls,S=void 0===E?"rc-input":E,N=e.disabled,z=e.htmlSize,A=e.className,R=e.maxLength,k=e.suffix,T=e.showCount,F=e.type,O=void 0===F?"text":F,P=e.inputClassName,I=(0,h.Z)(e,Z),j=(0,x.Z)(e.defaultValue,{value:e.value}),B=(0,g.Z)(j,2),V=B[0],D=B[1],H=(0,c.useState)(!1),M=(0,g.Z)(H,2),K=M[0],L=M[1],_=(0,c.useRef)(null),W=function(e){_.current&&function(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}(_.current,e)};(0,c.useImperativeHandle)(t,(function(){return{focus:W,blur:function(){var e;null===(e=_.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=_.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=_.current)||void 0===e||e.select()},input:_.current}})),(0,c.useEffect)((function(){L((function(e){return(!e||!N)&&e}))}),[N]);var J,q=function(t){void 0===e.value&&D(t.target.value),_.current&&d(_.current,t,l)},U=function(e){w&&"Enter"===e.key&&w(e),null==y||y(e)},Y=function(e){L(!0),null==u||u(e)},Q=function(e){L(!1),null==C||C(e)};return c.createElement(v,(0,a.Z)({},I,{prefixCls:S,className:A,inputElement:(J=(0,b.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName","htmlSize"]),c.createElement("input",(0,a.Z)({autoComplete:n},J,{onChange:q,onFocus:Y,onBlur:Q,onKeyDown:U,className:i()(S,(0,r.Z)({},"".concat(S,"-disabled"),N),P,!s(e)&&!f(e)&&A),ref:_,size:z,type:O}))),handleReset:function(e){D(""),W(),_.current&&d(_.current,e,l)},value:p(V),focused:K,triggerFocus:W,suffix:function(){var e=Number(R)>0;if(k||T){var t=p(V),n=(0,m.Z)(t).length,a="object"===(0,o.Z)(T)?T.formatter({value:t,count:n,maxLength:R}):"".concat(n).concat(e?" / ".concat(R):"");return c.createElement(c.Fragment,null,!!T&&c.createElement("span",{className:i()("".concat(S,"-show-count-suffix"),(0,r.Z)({},"".concat(S,"-show-count-has-suffix"),!!k))},a),k)}return null}(),disabled:N}))})),w=n(3083),y=n(96820),E=n(30107),S=n(38470),N=n(5663),z=n(81393),A=n(28800),R=n(73443);var k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function T(e){return null==e?"":String(e)}function F(e,t,n,r){if(n){var a=t;if("click"===t.type){var o=e.cloneNode(!0);return a=Object.create(t,{target:{value:o},currentTarget:{value:o}}),o.value="",void n(a)}if(void 0!==r)return a=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,void n(a);n(a)}}function O(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}var P=(0,c.forwardRef)((function(e,t){var n=e.prefixCls,u=e.bordered,s=void 0===u||u,f=e.status,d=e.size,p=e.disabled,v=e.onBlur,m=e.onFocus,g=e.suffix,h=e.allowClear,b=e.addonAfter,x=e.addonBefore,Z=e.className,T=e.onChange,F=k(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","onChange"]),O=c.useContext(y.E_),P=O.getPrefixCls,I=O.direction,j=O.input,B=P("input",n),V=(0,c.useRef)(null),D=(0,z.ri)(B,I),H=D.compactSize,M=D.compactItemClassnames,K=c.useContext(S.Z),L=H||d||K,_=c.useContext(E.Z),W=null!=p?p:_,J=(0,c.useContext)(N.aM),q=J.status,U=J.hasFeedback,Y=J.feedbackIcon,Q=(0,A.F)(q,f),X=function(e){return!!(e.prefix||e.suffix||e.allowClear)}(e)||!!U,G=(0,c.useRef)(X);(0,c.useEffect)((function(){X&&G.current,G.current=X}),[X]);var $,ee=(0,R.Z)(V,!0),te=(U||g)&&c.createElement(c.Fragment,null,g,U&&Y);return"object"===(0,o.Z)(h)&&(null==h?void 0:h.clearIcon)?$=h:h&&($={clearIcon:c.createElement(l.Z,null)}),c.createElement(C,(0,a.Z)({ref:(0,w.sQ)(t,V),prefixCls:B,autoComplete:null==j?void 0:j.autoComplete},F,{disabled:W||void 0,onBlur:function(e){ee(),null==v||v(e)},onFocus:function(e){ee(),null==m||m(e)},suffix:te,allowClear:$,className:i()(Z,M),onChange:function(e){ee(),null==T||T(e)},addonAfter:b&&c.createElement(z.BR,null,c.createElement(N.Ux,{override:!0,status:!0},b)),addonBefore:x&&c.createElement(z.BR,null,c.createElement(N.Ux,{override:!0,status:!0},x)),inputClassName:i()((0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(B,"-sm"),"small"===L),"".concat(B,"-lg"),"large"===L),"".concat(B,"-rtl"),"rtl"===I),"".concat(B,"-borderless"),!s),!X&&(0,A.Z)(B,Q)),affixWrapperClassName:i()((0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(B,"-affix-wrapper-sm"),"small"===L),"".concat(B,"-affix-wrapper-lg"),"large"===L),"".concat(B,"-affix-wrapper-rtl"),"rtl"===I),"".concat(B,"-affix-wrapper-borderless"),!s),(0,A.Z)("".concat(B,"-affix-wrapper"),Q,U)),wrapperClassName:i()((0,r.Z)({},"".concat(B,"-group-rtl"),"rtl"===I)),groupClassName:i()((0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(B,"-group-wrapper-sm"),"small"===L),"".concat(B,"-group-wrapper-lg"),"large"===L),"".concat(B,"-group-wrapper-rtl"),"rtl"===I),(0,A.Z)("".concat(B,"-group-wrapper"),Q,U))}))}))},65970:function(e,t,n){n.d(t,{Z:function(){return Y}});var r,a=n(24744),o=n(57904),l=n(2053),u=n(99459),i=n(35047),c=n(82187),s=n.n(c),f=n(73779),d=n(71374),p=n(36326),v=n(10053),m=n(75271),g=n(98037),h=n(58006),b=n(28526),x=n(40570),Z=n(15363),C=n(6522),w="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n",y=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],E={};function S(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&E[n])return E[n];var r=window.getComputedStyle(e),a=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),o=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),l=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),u=y.map((function(e){return"".concat(e,":").concat(r.getPropertyValue(e))})).join(";"),i={sizingStyle:u,paddingSize:o,borderSize:l,boxSizing:a};return t&&n&&(E[n]=i),i}var N=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],z=m.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"rc-textarea":n,c=(e.onPressEnter,e.defaultValue),f=e.value,d=e.autoSize,p=e.onResize,v=e.className,y=e.style,E=e.disabled,z=e.onChange,A=(e.onInternalAutoSize,(0,h.Z)(e,N)),R=(0,C.Z)(c,{value:f,postState:function(e){return null!=e?e:""}}),k=(0,u.Z)(R,2),T=k[0],F=k[1],O=m.useRef();m.useImperativeHandle(t,(function(){return{textArea:O.current}}));var P=m.useMemo((function(){return d&&"object"===(0,a.Z)(d)?[d.minRows,d.maxRows]:[]}),[d]),I=(0,u.Z)(P,2),j=I[0],B=I[1],V=!!d,D=m.useState(2),H=(0,u.Z)(D,2),M=H[0],K=H[1],L=m.useState(),_=(0,u.Z)(L,2),W=_[0],J=_[1],q=function(){K(0)};(0,x.Z)((function(){V&&q()}),[f,j,B,V]),(0,x.Z)((function(){if(0===M)K(1);else if(1===M){var e=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var o=S(e,t),l=o.paddingSize,u=o.borderSize,i=o.boxSizing,c=o.sizingStyle;r.setAttribute("style","".concat(c,";").concat(w)),r.value=e.value||e.placeholder||"";var s,f=void 0,d=void 0,p=r.scrollHeight;if("border-box"===i?p+=u:"content-box"===i&&(p-=l),null!==n||null!==a){r.value=" ";var v=r.scrollHeight-l;null!==n&&(f=v*n,"border-box"===i&&(f=f+l+u),p=Math.max(f,p)),null!==a&&(d=v*a,"border-box"===i&&(d=d+l+u),s=p>d?"":"hidden",p=Math.min(d,p))}var m={height:p,overflowY:s,resize:"none"};return f&&(m.minHeight=f),d&&(m.maxHeight=d),m}(O.current,!1,j,B);K(2),J(e)}else!function(){try{if(document.activeElement===O.current){var e=O.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;O.current.setSelectionRange(t,n),O.current.scrollTop=r}}catch(e){}}()}),[M]);var U=m.useRef(),Y=function(){Z.Z.cancel(U.current)};m.useEffect((function(){return Y}),[]);var Q=V?W:null,X=(0,g.Z)((0,g.Z)({},y),Q);return 0!==M&&1!==M||(X.overflowY="hidden",X.overflowX="hidden"),m.createElement(b.Z,{onResize:function(e){2===M&&(null==p||p(e),d&&(Y(),U.current=(0,Z.Z)((function(){q()}))))},disabled:!(d||p)},m.createElement("textarea",(0,l.Z)({},A,{ref:O,style:X,className:s()(i,v,(0,o.Z)({},"".concat(i,"-disabled"),E)),disabled:E,value:T,onChange:function(e){F(e.target.value),null==z||z(e)}})))})),A=z,R=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(e){var r;(0,f.Z)(this,n),(r=t.call(this,e)).resizableTextArea=void 0,r.focus=function(){r.resizableTextArea.textArea.focus()},r.saveTextArea=function(e){r.resizableTextArea=e},r.handleChange=function(e){var t=r.props.onChange;r.setValue(e.target.value),t&&t(e)},r.handleKeyDown=function(e){var t=r.props,n=t.onPressEnter,a=t.onKeyDown;13===e.keyCode&&n&&n(e),a&&a(e)};var a=void 0===e.value||null===e.value?e.defaultValue:e.value;return r.state={value:a},r}return(0,d.Z)(n,[{key:"setValue",value:function(e,t){"value"in this.props||this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return m.createElement(A,(0,l.Z)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}]),n}(m.Component),k=n(2021),T=n(96820),F=n(30107),O=n(38470),P=n(5663),I=n(28800),j=n(57520),B=n(95531),V=n(52601),D=n(84007),H=n(5555);function M(e,t,n){return t=(0,V.Z)(t),(0,j.Z)(e,(0,B.Z)()?Reflect.construct(t,n||[],(0,V.Z)(e).constructor):t.apply(e,n))}var K=(0,n(86428).b)("text","input");var L=function(e){function t(){return(0,f.Z)(this,t),M(this,t,arguments)}return(0,p.Z)(t,e),(0,d.Z)(t,[{key:"renderClearIcon",value:function(e){var t=this.props,n=t.value,r=t.disabled,a=t.readOnly,l=t.handleReset,u=t.suffix,i=!r&&!a&&n,c="".concat(e,"-clear-icon");return m.createElement(D.Z,{onClick:l,onMouseDown:function(e){return e.preventDefault()},className:s()((0,o.Z)((0,o.Z)({},"".concat(c,"-hidden"),!i),"".concat(c,"-has-suffix"),!!u),c),role:"button"})}},{key:"renderTextAreaWithClearIcon",value:function(e,t,n){var r=this.props,a=r.value,l=r.allowClear,u=r.className,i=r.focused,c=r.style,f=r.direction,d=r.bordered,p=r.hidden,v=r.status,g=n.status,h=n.hasFeedback;if(!l)return(0,H.Tm)(t,{value:a});var b,x=s()("".concat(e,"-affix-wrapper"),"".concat(e,"-affix-wrapper-textarea-with-clear-btn"),(0,I.Z)("".concat(e,"-affix-wrapper"),(0,I.F)(g,v),h),(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(e,"-affix-wrapper-focused"),i),"".concat(e,"-affix-wrapper-rtl"),"rtl"===f),"".concat(e,"-affix-wrapper-borderless"),!d),"".concat(u),!((b=this.props).addonBefore||b.addonAfter)&&u));return m.createElement("span",{className:x,style:c,hidden:p},(0,H.Tm)(t,{style:null,value:a}),this.renderClearIcon(e))}},{key:"render",value:function(){var e=this;return m.createElement(P.aM.Consumer,null,(function(t){var n=e.props,r=n.prefixCls,a=n.inputType,o=n.element;if(a===K[0])return e.renderTextAreaWithClearIcon(r,o,t)}))}}]),t}(m.Component),_=L,W=n(73408),J=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function q(e,t){return(0,i.Z)(e||"").slice(0,t).join("")}function U(e,t,n,r){var a=n;return e?a=q(n,r):(0,i.Z)(t||"").length<n.length&&(0,i.Z)(n||"").length>r&&(a=t),a}var Y=m.forwardRef((function(e,t){var n=e.prefixCls,r=e.bordered,c=void 0===r||r,f=e.showCount,d=void 0!==f&&f,p=e.maxLength,v=e.className,g=e.style,h=e.size,b=e.disabled,x=e.onCompositionStart,Z=e.onCompositionEnd,w=e.onChange,y=e.onFocus,E=e.onBlur,S=e.status,N=J(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","onFocus","onBlur","status"]),z=m.useContext(T.E_),A=z.getPrefixCls,j=z.direction,B=m.useContext(O.Z),V=m.useContext(F.Z),D=null!=b?b:V,H=m.useContext(P.aM),M=H.status,K=H.hasFeedback,L=H.isFormItemInput,Y=H.feedbackIcon,Q=(0,I.F)(M,S),X=m.useRef(null),G=m.useRef(null),$=m.useState(!1),ee=(0,u.Z)($,2),te=ee[0],ne=ee[1],re=m.useState(!1),ae=(0,u.Z)(re,2),oe=ae[0],le=ae[1],ue=m.useRef(),ie=m.useRef(0),ce=(0,C.Z)(N.defaultValue,{value:N.value}),se=(0,u.Z)(ce,2),fe=se[0],de=se[1],pe=N.hidden,ve=function(e,t){void 0===N.value&&(de(e),null==t||t())},me=Number(p)>0;m.useEffect((function(){le((function(e){return!D&&e}))}),[D]);var ge=A("input",n);m.useImperativeHandle(t,(function(){var e;return{resizableTextArea:null===(e=X.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,n;(0,W.nH)(null===(n=null===(t=X.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:function(){var e;return null===(e=X.current)||void 0===e?void 0:e.blur()}}}));var he=m.createElement(R,(0,l.Z)({},(0,k.Z)(N,["allowClear"]),{disabled:D,className:s()((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(ge,"-borderless"),!c),v,v&&!d),"".concat(ge,"-sm"),"small"===B||"small"===h),"".concat(ge,"-lg"),"large"===B||"large"===h),(0,I.Z)(ge,Q)),style:d?{resize:null==g?void 0:g.resize}:g,prefixCls:ge,onCompositionStart:function(e){ne(!0),ue.current=fe,ie.current=e.currentTarget.selectionStart,null==x||x(e)},onChange:function(e){var t=e.target.value;!te&&me&&(t=U(e.target.selectionStart>=p+1||e.target.selectionStart===t.length||!e.target.selectionStart,fe,t,p));ve(t),(0,W.rJ)(e.currentTarget,e,w,t)},onBlur:function(e){le(!1),null==E||E(e)},onFocus:function(e){le(!0),null==y||y(e)},onCompositionEnd:function(e){var t;ne(!1);var n=e.currentTarget.value;me&&(n=U(ie.current>=p+1||ie.current===(null===(t=ue.current)||void 0===t?void 0:t.length),ue.current,n,p));n!==fe&&(ve(n),(0,W.rJ)(e.currentTarget,e,w,n)),null==Z||Z(e)},ref:X})),be=(0,W.D7)(fe);te||!me||null!==N.value&&void 0!==N.value||(be=q(be,p));var xe=m.createElement(_,(0,l.Z)({disabled:D,focused:oe},N,{prefixCls:ge,direction:j,inputType:"text",value:be,element:he,handleReset:function(e){var t,n,r;ve(""),null===(t=X.current)||void 0===t||t.focus(),(0,W.rJ)(null===(r=null===(n=X.current)||void 0===n?void 0:n.resizableTextArea)||void 0===r?void 0:r.textArea,e,w)},ref:G,bordered:c,status:S,style:d?void 0:g}));if(d||K){var Ze=(0,i.Z)(be).length,Ce="";return Ce="object"===(0,a.Z)(d)?d.formatter({value:be,count:Ze,maxLength:p}):"".concat(Ze).concat(me?" / ".concat(p):""),m.createElement("div",{hidden:pe,className:s()("".concat(ge,"-textarea"),(0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(ge,"-textarea-rtl"),"rtl"===j),"".concat(ge,"-textarea-show-count"),d),"".concat(ge,"-textarea-in-form-item"),L),(0,I.Z)("".concat(ge,"-textarea"),Q,K),v),style:g,"data-count":Ce},xe,K&&m.createElement("span",{className:"".concat(ge,"-textarea-suffix")},Y))}return xe}))},73443:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(75271);function a(e,t){var n=(0,r.useRef)([]),a=function(){n.current.push(setTimeout((function(){var t,n,r,a;(null===(t=e.current)||void 0===t?void 0:t.input)&&"password"===(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(a=e.current)||void 0===a||a.input.removeAttribute("value"))})))};return(0,r.useEffect)((function(){return t&&a(),function(){return n.current.forEach((function(e){e&&clearTimeout(e)}))}}),[]),a}}}]);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[6212],{3475:function(e,t,a){var l=a(72317),r=window.__ENV__QlBaseUrl||"/";t.Z={siteName:l.ZP.get("青龙"),baseUrl:r,apiPrefix:"".concat(r,"api/"),authKey:"token",layouts:[{name:"primary",include:[/.*/],exclude:[/(\/(en|zh))*\/login/]}],scopes:[{name:l.ZP.get("定时任务"),value:"crons"},{name:l.ZP.get("定时任务(只读)"),value:"crons:read"},{name:l.ZP.get("环境变量"),value:"envs"},{name:l.ZP.get("环境变量(只读)"),value:"envs:read"},{name:l.ZP.get("订阅管理"),value:"subscriptions"},{name:l.ZP.get("订阅管理(只读)"),value:"subscriptions:read"},{name:l.ZP.get("配置文件"),value:"configs"},{name:l.ZP.get("配置文件(只读)"),value:"configs:read"},{name:l.ZP.get("脚本管理"),value:"scripts"},{name:l.ZP.get("脚本(只读)"),value:"scripts:read"},{name:l.ZP.get("日志管理"),value:"logs"},{name:l.ZP.get("日志管理(只读)"),value:"logs:read"},{name:l.ZP.get("依赖管理"),value:"dependencies"},{name:l.ZP.get("依赖管理(只读)"),value:"dependencies:read"},{name:l.ZP.get("系统信息"),value:"system"},{name:l.ZP.get("仪表盘"),value:"dashboard"},{name:l.ZP.get("仪表盘(只读)"),value:"dashboard:read"}],scopesMap:{crons:l.ZP.get("定时任务"),"crons:read":l.ZP.get("定时任务(只读)"),envs:l.ZP.get("环境变量"),"envs:read":l.ZP.get("环境变量(只读)"),subscriptions:l.ZP.get("订阅管理"),"subscriptions:read":l.ZP.get("订阅管理(只读)"),configs:l.ZP.get("配置文件"),"configs:read":l.ZP.get("配置文件(只读)"),scripts:l.ZP.get("脚本管理"),"scripts:read":l.ZP.get("脚本(只读)"),logs:l.ZP.get("日志管理"),"logs:read":l.ZP.get("日志管理(只读)"),dependencies:l.ZP.get("依赖管理"),"dependencies:read":l.ZP.get("依赖管理(只读)"),system:l.ZP.get("系统信息"),dashboard:l.ZP.get("仪表盘"),"dashboard:read":l.ZP.get("仪表盘(只读)")},notificationModes:[{value:"gotify",label:"Gotify"},{value:"ntfy",label:"Ntfy"},{value:"goCqHttpBot",label:"GoCqHttpBot"},{value:"serverChan",label:l.ZP.get("Server酱")},{value:"pushDeer",label:"PushDeer"},{value:"bark",label:"Bark"},{value:"telegramBot",label:l.ZP.get("Telegram机器人")},{value:"dingtalkBot",label:l.ZP.get("钉钉机器人")},{value:"weWorkBot",label:l.ZP.get("企业微信机器人")},{value:"weWorkApp",label:l.ZP.get("企业微信应用")},{value:"aibotk",label:l.ZP.get("智能微秘书")},{value:"iGot",label:"IGot"},{value:"pushPlus",label:"PushPlus"},{value:"wePlusBot",label:l.ZP.get("微加机器人")},{value:"wxPusherBot",label:"wxPusher"},{value:"wxPusherSpt",label:l.ZP.get("WxPusher(极简推送SPT-推荐)")},{value:"openiLink",label:"OpeniLink"},{value:"wpush",label:"WPUSH"},{value:"chat",label:l.ZP.get("群晖chat")},{value:"email",label:l.ZP.get("邮箱")},{value:"lark",label:l.ZP.get("飞书机器人")},{value:"pushMe",label:"PushMe"},{value:"chronocat",label:"Chronocat"},{value:"webhook",label:l.ZP.get("自定义通知")},{value:"closed",label:l.ZP.get("已关闭")}],notificationModeMap:{gotify:[{label:"gotifyUrl",tip:l.ZP.get("gotify的url地址,例如 https://push.example.de:8080"),required:!0},{label:"gotifyToken",tip:l.ZP.get("gotify的消息应用token码"),required:!0},{label:"gotifyPriority",tip:l.ZP.get("推送消息的优先级")}],ntfy:[{label:"ntfyUrl",tip:l.ZP.get("ntfy的url地址,例如 https://ntfy.sh"),required:!0},{label:"ntfyTopic",tip:l.ZP.get("ntfy应用topic"),required:!0},{label:"ntfyPriority",tip:l.ZP.get("推送消息的优先级")},{label:"ntfyToken",tip:l.ZP.get("ntfy应用token")},{label:"ntfyUsername",tip:l.ZP.get("ntfy应用用户名")},{label:"ntfyPassword",tip:l.ZP.get("ntfy应用密码")},{label:"ntfyActions",tip:l.ZP.get("ntfy用户动作")}],chat:[{label:"synologyChatUrl",tip:l.ZP.get("synologyChat的url地址"),required:!0}],goCqHttpBot:[{label:"goCqHttpBotUrl",tip:l.ZP.get("推送到个人QQ: http://127.0.0.1/send_private_msg,群:http://127.0.0.1/send_group_msg"),required:!0},{label:"goCqHttpBotToken",tip:l.ZP.get("访问密钥"),required:!0},{label:"goCqHttpBotQq",tip:l.ZP.get("如果GOBOT_URL设置 /send_private_msg 则需要填入 user_id=个人QQ 相反如果是 /send_group_msg 则需要填入 group_id=QQ群"),required:!0}],serverChan:[{label:"serverChanKey",tip:l.ZP.get("Server酱SENDKEY"),required:!0}],pushDeer:[{label:"pushDeerKey",tip:l.ZP.get("PushDeer的Key,https://github.com/easychen/pushdeer"),required:!0},{label:"pushDeerUrl",tip:l.ZP.get("PushDeer的自架API endpoint,默认是 https://api2.pushdeer.com/message/push")}],bark:[{label:"barkPush",tip:l.ZP.get("Bark的信息IP/设备码,例如:https://api.day.app/XXXXXXXX"),required:!0},{label:"barkIcon",tip:l.ZP.get("BARK推送图标,自定义推送图标 (需iOS15或以上才能显示)")},{label:"barkSound",tip:l.ZP.get("BARK推送铃声,铃声列表去APP查看复制填写")},{label:"barkGroup",tip:l.ZP.get("BARK推送消息的分组,默认为qinglong")},{label:"barkLevel",tip:l.ZP.get("BARK推送消息的时效性,默认为active")},{label:"barkUrl",tip:l.ZP.get("BARK推送消息的跳转URL")},{label:"barkArchive",tip:l.ZP.get("BARK是否保存推送消息")}],telegramBot:[{label:"telegramBotToken",tip:l.ZP.get("telegram机器人的token,例如:1077xxx4424:AAFjv0FcqxxxxxxgEMGfi22B4yh15R5uw"),required:!0},{label:"telegramBotUserId",tip:l.ZP.get("telegram用户的id,例如:129xxx206"),required:!0},{label:"telegramBotProxyHost",tip:l.ZP.get("代理IP")},{label:"telegramBotProxyPort",tip:l.ZP.get("代理端口")},{label:"telegramBotProxyAuth",tip:l.ZP.get("telegram代理配置认证参数,用户名与密码用英文冒号连接 user:password")},{label:"telegramBotApiHost",tip:l.ZP.get("telegram api自建的反向代理地址,默认tg官方api")}],dingtalkBot:[{label:"dingtalkBotToken",tip:l.ZP.get("钉钉机器人webhook token,例如:5a544165465465645d0f31dca676e7bd07415asdasd"),required:!0},{label:"dingtalkBotSecret",tip:l.ZP.get("密钥,机器人安全设置页面,加签一栏下面显示的SEC开头的字符串")}],weWorkBot:[{label:"weWorkBotKey",tip:l.ZP.get("企业微信机器人的webhook(详见文档 https://work.weixin.qq.com/api/doc/90000/90136/91770),例如:693a91f6-7xxx-4bc4-97a0-0ec2sifa5aaa"),required:!0},{label:"weWorkOrigin",tip:l.ZP.get("企业微信代理地址")}],weWorkApp:[{label:"weWorkAppKey",tip:l.ZP.get("corpid、corpsecret、touser(注:多个成员ID使用|隔开)、agentid、消息类型(选填,不填默认文本消息类型) 注意用,号隔开(英文输入法的逗号),例如:wwcfrs,B-76WERQ,qinglong,1000001,2COat"),required:!0},{label:"weWorkOrigin",tip:l.ZP.get("企业微信代理地址")}],aibotk:[{label:"aibotkKey",tip:l.ZP.get("密钥key,智能微秘书个人中心获取apikey,申请地址:https://wechat.aibotk.com/signup?from=ql"),required:!0},{label:"aibotkType",tip:l.ZP.get("发送的目标,群组或者好友"),required:!0,placeholder:l.ZP.get("请输入要发送的目标"),items:[{value:"room",label:l.ZP.get("群聊")},{value:"contact",label:l.ZP.get("好友")}]},{label:"aibotkName",tip:l.ZP.get("要发送的用户昵称或群名,如果目标是群,需要填群名,如果目标是好友,需要填好友昵称"),required:!0}],iGot:[{label:"iGotPushKey",tip:l.ZP.get("iGot的信息推送key,例如:https://push.hellyw.com/XXXXXXXX"),required:!0}],pushPlus:[{label:"pushPlusToken",tip:l.ZP.get("微信扫码登录后一对一推送或一对多推送下面的token(您的Token),不提供PUSH_PLUS_USER则默认为一对一推送,参考 https://www.pushplus.plus/"),required:!0},{label:"pushPlusUser",tip:l.ZP.get("一对多推送的“群组编码”(一对多推送下面->您的群组(如无则创建)->群组编码,如果您是创建群组人。也需点击“查看二维码”扫描绑定,否则不能接受群组消息推送)")},{label:"pushplusTemplate",tip:l.ZP.get("发送模板")},{label:"pushplusChannel",tip:l.ZP.get("发送渠道")},{label:"pushplusWebhook",tip:l.ZP.get("webhook编码")},{label:"pushplusCallbackUrl",tip:l.ZP.get("发送结果回调地址")},{label:"pushplusTo",tip:l.ZP.get("好友令牌")}],wePlusBot:[{label:"wePlusBotToken",tip:l.ZP.get("用户令牌,扫描登录后 我的—>设置->令牌 中获取,参考 https://www.weplusbot.com/"),required:!0},{label:"wePlusBotReceiver",tip:l.ZP.get("消息接收人")},{label:"wePlusBotVersion",tip:l.ZP.get("调用版本;专业版填写pro,个人版填写personal,为空默认使用专业版")}],wxPusherBot:[{label:"wxPusherBotAppToken",tip:l.ZP.get("wxPusherBot的appToken"),required:!0},{label:"wxPusherBotTopicIds",tip:l.ZP.get("wxPusherBot的topicIds"),required:!1},{label:"wxPusherBotUids",tip:l.ZP.get("wxPusherBot的uids"),required:!1}],wxPusherSpt:[{label:"wxPusherSptList",tip:l.ZP.get("wxPusherSpt的SPT"),required:!0}],wpush:[{label:"wpushApiKey",tip:l.ZP.get("WPUSH的API Key,在 https://wpush.cn/settings 获取,参考 https://wpush.cn/docs"),required:!0},{label:"wpushChannel",tip:l.ZP.get("推送渠道,支持 wechat/app/sms/mail/webhook/dingtalk/feishu/wechat_work/clawbot/qqbot,默认 wechat")},{label:"wpushTopicCode",tip:l.ZP.get("可选,Topic 广播编码;填写后按 Topic 推送,参考 https://wpush.cn/docs")}],openiLink:[{label:"openiLinkAppToken",tip:l.ZP.get("OpeniLink的app_token,在OpeniLink Hub后台安装App后获取,参考 https://openilink.com/docs/hub/apps"),required:!0},{label:"openiLinkHubUrl",tip:l.ZP.get("OpeniLink Hub地址,默认为 https://hub.openilink.com,自建Hub时填写自己的地址")},{label:"openiLinkContextToken",tip:l.ZP.get("OpeniLink的context_token,用于标识消息会话上下文,可从消息事件中获取")}],lark:[{label:"larkKey",tip:l.ZP.get("飞书群组机器人:https://www.feishu.cn/hc/zh-CN/articles/360024984973"),required:!0},{label:"larkSecret",tip:l.ZP.get("飞书群组机器人加签密钥,安全设置中开启签名校验后获得")}],email:[{label:"emailService",tip:l.ZP.get("邮箱服务名称,比如126、163、Gmail、QQ等,支持列表https://github.com/nodemailer/nodemailer/blob/master/lib/well-known/services.json"),required:!0},{label:"emailUser",tip:l.ZP.get("邮箱认证地址"),required:!0},{label:"emailPass",tip:l.ZP.get("SMTP 登录密码,也可能为特殊口令,视具体邮件服务商说明而定"),required:!0},{label:"emailTo",tip:l.ZP.get("收件邮箱地址,多个分号分隔,默认发送给发件邮箱地址")}],pushMe:[{label:"pushMeKey",tip:l.ZP.get("PushMe的Key,https://push.i-i.me/"),required:!0},{label:"pushMeUrl",tip:l.ZP.get("自建的PushMeServer消息接口地址,例如:http://127.0.0.1:3010,不填则使用官方消息接口"),required:!1}],chronocat:[{label:"chronocatURL",tip:l.ZP.get("Chronocat Red 服务的连接地址 https://chronocat.vercel.app/install/docker/official/"),required:!0},{label:"chronocatQQ",tip:l.ZP.get("个人:user_id=个人QQ 群则填入group_id=QQ群 多个用英文;隔开同时支持个人和群 如:user_id=xxx;group_id=xxxx;group_id=xxxxx"),required:!0},{label:"chronocatToken",tip:l.ZP.get("docker安装在持久化config目录下的chronocat.yml文件可找到"),required:!0}],webhook:[{label:"webhookMethod",tip:l.ZP.get("请求方法"),required:!0,items:[{value:"GET"},{value:"POST"},{value:"PUT"}]},{label:"webhookContentType",tip:l.ZP.get("请求头Content-Type"),required:!0,items:[{value:"text/plain"},{value:"application/json"},{value:"multipart/form-data"},{value:"application/x-www-form-urlencoded"}]},{label:"webhookUrl",tip:l.ZP.get("请求链接以http或者https开头。url或者body中必须包含$title,$content可选,对应api内容的位置"),required:!0,placeholder:"https://xxx.cn/api?content=$title\n"},{label:"webhookHeaders",tip:l.ZP.get("请求头格式Custom-Header1: Header1,多个换行分割"),placeholder:"Custom-Header1: Header1\nCustom-Header2: Header2"},{label:"webhookBody",tip:l.ZP.get("请求体格式key1: value1,多个换行分割。url或者body中必须包含$title,$content可选,对应api内容的位置"),placeholder:"key1: $title\nkey2: $content"}]},documentTitleMap:{"/login":l.ZP.get("登录"),"/initialization":l.ZP.get("初始化"),"/crontab":l.ZP.get("定时任务"),"/env":l.ZP.get("环境变量"),"/subscription":l.ZP.get("订阅管理"),"/config":l.ZP.get("配置文件"),"/script":l.ZP.get("脚本管理"),"/diff":l.ZP.get("对比工具"),"/log":l.ZP.get("日志管理"),"/setting":l.ZP.get("系统设置"),"/error":l.ZP.get("错误日志"),"/dependence":l.ZP.get("依赖管理"),"/dashboard":l.ZP.get("仪表盘")},dependenceTypes:["nodejs","python3","linux"]}},56212:function(e,t,a){a.d(t,{W:function(){return Z}});var l=a(90228),r=a.n(l),o=a(87999),i=a.n(o),s=a(72317),n=a(61508),p=a(33839),u=a(3475),g=a(98783),c=a(62664),P=a(52676);n.ZP.config({duration:2});var d=Date.now(),h=c.Z.create({timeout:6e4,params:{t:d}}),b=["".concat(u.Z.baseUrl,"api/health"),"".concat(u.Z.baseUrl,"api/user/login"),"".concat(u.Z.baseUrl,"open/auth/token"),"".concat(u.Z.baseUrl,"api/user/two-factor/login"),"".concat(u.Z.baseUrl,"api/system"),"".concat(u.Z.baseUrl,"api/user/init")];h.interceptors.request.use((function(e){var t=localStorage.getItem(u.Z.authKey);return t&&!b.includes(e.url)?(e.headers.Authorization="Bearer ".concat(t),e):e})),h.interceptors.response.use(function(){var e=i()(r()().mark((function e(t){var a,l,o;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.status,![502,504].includes(a)){e.next=5;break}g.history.push("/error"),e.next=19;break;case 5:if(401!==a){e.next=10;break}localStorage.removeItem(u.Z.authKey),"/login"!==g.history.location.pathname&&g.history.push("/login"),e.next=19;break;case 10:return e.prev=10,200!==(l=t.data).code&&(o=l.message||l.data)&&p.Z.error({message:o,description:null!=l&&l.errors?(0,P.jsx)(P.Fragment,{children:null==l?void 0:l.errors.map((function(e){return(0,P.jsx)("div",{children:e.message})}))}):void 0}),e.abrupt("return",l);case 16:e.prev=16,e.t0=e.catch(10);case 18:case 19:return e.abrupt("return",t);case 20:case"end":return e.stop()}}),e,null,[[10,16]])})));return function(t){return e.apply(this,arguments)}}(),(function(e){if(e.response){var t=e.response.data?e.response.data.message||e.message:e.response.statusText,a=(i=e.response.data,d=(null==i||null===(c=i.errors)||void 0===c?void 0:c.map((function(e){return void 0===e.value?e.message:"".concat(e.message," (").concat(String(e.value),")")})))||[],Object.values((null==i?void 0:i.validation)||{}).forEach((function(e){var t;null!==(t=e.keys)&&void 0!==t&&t.length?e.keys.forEach((function(t){d.push(e.message?"".concat(t,": ").concat(e.message):t)})):e.message&&d.push(e.message)})),d.filter((function(e){return Boolean(e)}))),l=e.response.status;if([502,504].includes(l))g.history.push("/error");else if(401===l)localStorage.removeItem(u.Z.authKey),"/login"!==g.history.location.pathname&&(n.ZP.error(s.ZP.get("登录已过期,请重新登录")),g.history.push("/login"));else{var r,o;if("function"==typeof(null===(r=e.config)||void 0===r?void 0:r.onError))return null===(o=e.config)||void 0===o?void 0:o.onError(e.response);t&&p.Z.error({message:t,description:a.length?(0,P.jsx)(P.Fragment,{children:a.map((function(e,t){return(0,P.jsx)("div",{children:e},"".concat(t,"-").concat(e))}))}):void 0})}}else console.log(e.message);var i,c,d;return Promise.reject(e)}));var Z=h}}]);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[6431],{46431:function(t,e,i){i.r(e),i.d(e,{conf:function(){return r},language:function(){return m}});var r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{#","#}"]},brackets:[["{#","#}"],["{%","%}"],["{{","}}"],["(",")"],["[","]"],["\x3c!--","--\x3e"],["<",">"]],autoClosingPairs:[{open:"{# ",close:" #}"},{open:"{% ",close:" %}"},{open:"{{ ",close:" }}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},m={defaultToken:"",tokenPostfix:"",ignoreCase:!0,keywords:["apply","autoescape","block","deprecated","do","embed","extends","flush","for","from","if","import","include","macro","sandbox","set","use","verbatim","with","endapply","endautoescape","endblock","endembed","endfor","endif","endmacro","endsandbox","endset","endwith","true","false"],tokenizer:{root:[[/\s+/],[/{#/,"comment.twig","@commentState"],[/{%[-~]?/,"delimiter.twig","@blockState"],[/{{[-~]?/,"delimiter.twig","@variableState"],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter.html","tag.html","","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],commentState:[[/#}/,"comment.twig","@pop"],[/./,"comment.twig"]],blockState:[[/[-~]?%}/,"delimiter.twig","@pop"],[/\s+/],[/(verbatim)(\s*)([-~]?%})/,["keyword.twig","",{token:"delimiter.twig",next:"@rawDataState"}]],{include:"expression"}],rawDataState:[[/({%[-~]?)(\s*)(endverbatim)(\s*)([-~]?%})/,["delimiter.twig","","keyword.twig","",{token:"delimiter.twig",next:"@popall"}]],[/./,"string.twig"]],variableState:[[/[-~]?}}/,"delimiter.twig","@pop"],{include:"expression"}],stringState:[[/"/,"string.twig","@pop"],[/#{\s*/,"string.twig","@interpolationState"],[/[^#"\\]*(?:(?:\\.|#(?!\{))[^#"\\]*)*/,"string.twig"]],interpolationState:[[/}/,"string.twig","@pop"],{include:"expression"}],expression:[[/\s+/],[/\+|-|\/{1,2}|%|\*{1,2}/,"operators.twig"],[/(and|or|not|b-and|b-xor|b-or)(\s+)/,["operators.twig",""]],[/==|!=|<|>|>=|<=/,"operators.twig"],[/(starts with|ends with|matches)(\s+)/,["operators.twig",""]],[/(in)(\s+)/,["operators.twig",""]],[/(is)(\s+)/,["operators.twig",""]],[/\||~|:|\.{1,2}|\?{1,2}/,"operators.twig"],[/[^\W\d][\w]*/,{cases:{"@keywords":"keyword.twig","@default":"variable.twig"}}],[/\d+(\.\d+)?/,"number.twig"],[/\(|\)|\[|\]|{|}|,/,"delimiter.twig"],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,"string.twig"],[/"/,"string.twig","@stringState"],[/=>/,"operators.twig"],[/=/,"operators.twig"]],doctype:[[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name.html","@scriptAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter.html","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name.html","@styleAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter.html","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]);
|
|
Binary file
|
|
Binary file
|