@whyour/qinglong 2.25.0-rc.0 → 2.25.0-rc.1
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/cli/README.en.md +2 -2
- package/cli/README.md +2 -2
- package/cli/src/internal/maintenance/panelUpgrade.cjs +9 -3
- package/cli/src/internal/maintenance/upgradePrestart.cjs +21 -15
- package/package.json +7 -3
- package/shell/api.sh +58 -8
- package/shell/cron-command.py +127 -0
- package/shell/otask.sh +2 -1
- package/shell/preload/client.js +18 -10
- package/shell/preload/script-start.cjs +26 -0
- package/shell/preload/sitecustomize.js +6 -0
- package/shell/preload/sitecustomize.py +25 -0
- package/shell/share.sh +3 -3
- package/shell/subscription-files.py +171 -0
- package/shell/system-cron.sh +42 -0
- package/shell/task-timeout.sh +19 -1
- package/shell/task.sh +25 -3
- package/shell/update.sh +115 -147
- package/shell/upgrade-lock.yaml +2186 -1050
- package/static/build/api/cron.js +134 -17
- package/static/build/api/cron.js.map +1 -1
- package/static/build/api/dashboard.js +42 -50
- package/static/build/api/dashboard.js.map +1 -1
- package/static/build/api/log.js +10 -1
- package/static/build/api/log.js.map +1 -1
- package/static/build/api/script.js +11 -8
- package/static/build/api/script.js.map +1 -1
- package/static/build/api/system.js +2 -1
- package/static/build/api/system.js.map +1 -1
- package/static/build/app.js +41 -0
- package/static/build/app.js.map +1 -1
- package/static/build/bootstrap/systemCron.js +70 -0
- package/static/build/bootstrap/systemCron.js.map +1 -0
- package/static/build/config/util.js +75 -15
- package/static/build/config/util.js.map +1 -1
- package/static/build/data/cron.js +9 -0
- package/static/build/data/cron.js.map +1 -1
- package/static/build/data/cronStats.js +7 -0
- package/static/build/data/cronStats.js.map +1 -1
- package/static/build/data/index.js +23 -0
- package/static/build/data/index.js.map +1 -1
- package/static/build/data/runningInstance.js +2 -1
- package/static/build/data/runningInstance.js.map +1 -1
- package/static/build/loaders/express.js +1 -1
- package/static/build/loaders/express.js.map +1 -1
- package/static/build/loaders/initData.js +7 -9
- package/static/build/loaders/initData.js.map +1 -1
- package/static/build/protos/cron.js +83 -3
- package/static/build/protos/cron.js.map +1 -1
- package/static/build/schedule/addCron.js +62 -21
- package/static/build/schedule/addCron.js.map +1 -1
- package/static/build/schedule/client.js +1 -1
- package/static/build/schedule/client.js.map +1 -1
- package/static/build/schedule/registeredPlans.js +46 -0
- package/static/build/schedule/registeredPlans.js.map +1 -0
- package/static/build/services/cron.js +603 -256
- package/static/build/services/cron.js.map +1 -1
- package/static/build/services/grpc.js +2 -3
- package/static/build/services/grpc.js.map +1 -1
- package/static/build/services/retention.js +50 -18
- package/static/build/services/retention.js.map +1 -1
- package/static/build/services/system.js +3 -0
- package/static/build/services/system.js.map +1 -1
- package/static/build/shared/containerResources.js +80 -0
- package/static/build/shared/containerResources.js.map +1 -0
- package/static/build/shared/cronCommandProcess.js +39 -0
- package/static/build/shared/cronCommandProcess.js.map +1 -0
- package/static/build/shared/cronOperand.js +67 -0
- package/static/build/shared/cronOperand.js.map +1 -0
- package/static/build/shared/cronPreview.js +45 -0
- package/static/build/shared/cronPreview.js.map +1 -0
- package/static/build/shared/cronProcess.js +207 -0
- package/static/build/shared/cronProcess.js.map +1 -0
- package/static/build/shared/cronRecovery.js +24 -0
- package/static/build/shared/cronRecovery.js.map +1 -0
- package/static/build/shared/cronScheduler.js +71 -14
- package/static/build/shared/cronScheduler.js.map +1 -1
- package/static/build/shared/cronStatistics.js +53 -0
- package/static/build/shared/cronStatistics.js.map +1 -0
- package/static/build/shared/cronWaitQueue.js +38 -0
- package/static/build/shared/cronWaitQueue.js.map +1 -0
- package/static/build/shared/directoryPage.js +175 -0
- package/static/build/shared/directoryPage.js.map +1 -0
- package/static/build/shared/directoryPageRoute.js +40 -0
- package/static/build/shared/directoryPageRoute.js.map +1 -0
- package/static/build/shared/errors.js +9 -1
- package/static/build/shared/errors.js.map +1 -1
- package/static/build/shared/executionIdentity.js +19 -0
- package/static/build/shared/executionIdentity.js.map +1 -0
- package/static/build/shared/i18n.js +5 -0
- package/static/build/shared/i18n.js.map +1 -1
- package/static/build/shared/legacyDailyStatistics.js +159 -0
- package/static/build/shared/legacyDailyStatistics.js.map +1 -0
- package/static/build/shared/logReader.js +47 -15
- package/static/build/shared/logReader.js.map +1 -1
- package/static/build/shared/managedExit.cjs +462 -0
- package/static/build/shared/managedExit.cjs.map +1 -0
- package/static/build/shared/pLimit.js +34 -6
- package/static/build/shared/pLimit.js.map +1 -1
- package/static/build/shared/queueDiagnostics.js +100 -0
- package/static/build/shared/queueDiagnostics.js.map +1 -0
- package/static/build/shared/runCron.js +123 -20
- package/static/build/shared/runCron.js.map +1 -1
- package/static/build/shared/scheduleAudit.js +208 -0
- package/static/build/shared/scheduleAudit.js.map +1 -0
- package/static/build/shared/schemaMigrations.js +46 -1
- package/static/build/shared/schemaMigrations.js.map +1 -1
- package/static/build/shared/systemScheduleAudit.js +224 -0
- package/static/build/shared/systemScheduleAudit.js.map +1 -0
- package/static/build/shared/triggerHistory.js +1338 -0
- package/static/build/shared/triggerHistory.js.map +1 -0
- package/static/build/validation/schedule.js +5 -4
- package/static/build/validation/schedule.js.map +1 -1
- package/static/build-info.json +458 -402
- package/static/dist/{5876.93680102.async.js → 1013.f391f663.async.js} +1 -1
- package/static/dist/1042.79a1b7b9.async.js +1 -0
- package/static/dist/1042.79a1b7b9.async.js.gz +0 -0
- package/static/dist/1049.ce652253.async.js +1 -0
- package/static/dist/1088.a08a989c.async.js +1 -0
- package/static/dist/1088.a08a989c.async.js.gz +0 -0
- package/static/dist/1425.4f8f8a22.async.js +1 -0
- package/static/dist/1425.4f8f8a22.async.js.gz +0 -0
- package/static/dist/1470.f2ea8437.async.js +1 -0
- package/static/dist/1470.f2ea8437.async.js.gz +0 -0
- package/static/dist/{2783.0787fd60.async.js → 1493.d4855779.async.js} +1 -1
- package/static/dist/1498.9cbd5bb9.async.js +1 -0
- package/static/dist/1498.9cbd5bb9.async.js.gz +0 -0
- package/static/dist/1515.6153a790.async.js +1 -0
- package/static/dist/1515.6153a790.async.js.gz +0 -0
- package/static/dist/1535.e9e477b3.async.js +1 -0
- package/static/dist/1535.e9e477b3.async.js.gz +0 -0
- package/static/dist/1544.9287da56.async.js +1 -0
- package/static/dist/1666.70721323.async.js +1 -0
- package/static/dist/1666.70721323.async.js.gz +0 -0
- package/static/dist/{5878.32535c39.async.js → 1739.62d88535.async.js} +1 -1
- package/static/dist/1782.1157c5a1.async.js +1 -0
- package/static/dist/1782.1157c5a1.async.js.gz +0 -0
- package/static/dist/1817.b289fb2e.async.js +1 -0
- package/static/dist/{6841.e92e9802.async.js → 1821.30f17ea7.async.js} +1 -1
- package/static/dist/1834.4c8d8590.async.js +1 -0
- package/static/dist/1834.4c8d8590.async.js.gz +0 -0
- package/static/dist/{7661.6684ddda.async.js → 1965.7049837c.async.js} +1 -1
- package/static/dist/2021.17d1b18c.async.js +1 -0
- package/static/dist/2021.17d1b18c.async.js.gz +0 -0
- package/static/dist/{4462.02fd0a33.async.js → 2133.4f1a8aa3.async.js} +1 -1
- package/static/dist/{3730.3654e8fa.async.js → 2165.4f689026.async.js} +1 -1
- package/static/dist/{2506.a6334794.async.js → 2171.06fa2587.async.js} +1 -1
- package/static/dist/219.6cd1eb3b.async.js +1 -0
- package/static/dist/219.6cd1eb3b.async.js.gz +0 -0
- package/static/dist/2213.d93a456d.async.js +1 -0
- package/static/dist/2213.d93a456d.async.js.gz +0 -0
- package/static/dist/{591.1c6b5df7.async.js → 2237.d999da2f.async.js} +1 -1
- package/static/dist/2276.370615e4.chunk.css +1 -0
- package/static/dist/2276.370615e4.chunk.css.gz +0 -0
- package/static/dist/2276.8300bac5.async.js +1 -0
- package/static/dist/2276.8300bac5.async.js.gz +0 -0
- package/static/dist/2324.20bd306f.async.js +1 -0
- package/static/dist/2324.20bd306f.async.js.gz +0 -0
- package/static/dist/2326.c2d87fc3.async.js +1 -0
- package/static/dist/2326.c2d87fc3.async.js.gz +0 -0
- package/static/dist/2373.02455a57.async.js +1 -0
- package/static/dist/2424.3f14675e.async.js +1 -0
- package/static/dist/2424.3f14675e.async.js.gz +0 -0
- package/static/dist/2497.b8f4f24c.async.js +1 -0
- package/static/dist/263.a1f04da7.async.js +1 -0
- package/static/dist/263.a1f04da7.async.js.gz +0 -0
- package/static/dist/{4821.64537e48.async.js → 2733.9e525e7d.async.js} +1 -1
- package/static/dist/{8416.69691e31.async.js → 2773.ab860583.async.js} +1 -1
- package/static/dist/2789.0f375c90.async.js +1 -0
- package/static/dist/2789.0f375c90.async.js.gz +0 -0
- package/static/dist/2805.ab342353.async.js +1 -0
- package/static/dist/2805.ab342353.async.js.gz +0 -0
- package/static/dist/2835.bf469780.async.js +1 -0
- package/static/dist/2835.bf469780.async.js.gz +0 -0
- package/static/dist/2840.bd6bfc2f.async.js +1 -0
- package/static/dist/2840.bd6bfc2f.async.js.gz +0 -0
- package/static/dist/{5363.2fedc735.async.js → 2953.5bf0d335.async.js} +1 -1
- package/static/dist/2985.0dcb5919.async.js +1 -0
- package/static/dist/305.bda7c12a.async.js +1 -0
- package/static/dist/305.bda7c12a.async.js.gz +0 -0
- package/static/dist/314.a83f680b.async.js +1 -0
- package/static/dist/{5325.54777fe5.async.js → 3141.3981e6db.async.js} +1 -1
- package/static/dist/325.76b96b5f.async.js +1 -0
- package/static/dist/{4756.64d6d0a4.async.js → 3333.4f9d1af4.async.js} +1 -1
- package/static/dist/{7540.6bb57f5f.async.js → 3394.b3df0cfe.async.js} +1 -1
- package/static/dist/{6638.87a163d2.async.js → 3456.edb5cb58.async.js} +1 -1
- package/static/dist/3456.edb5cb58.async.js.gz +0 -0
- package/static/dist/{1969.d61ba5fb.async.js → 3679.83e4f620.async.js} +1 -1
- package/static/dist/{5759.45438497.async.js → 3765.0fae92bd.async.js} +1 -1
- package/static/dist/3875.f1302872.async.js +1 -0
- package/static/dist/3875.f1302872.async.js.gz +0 -0
- package/static/dist/{5232.f4b06476.async.js → 3877.8ee12c42.async.js} +1 -1
- package/static/dist/4069.dbfcdd8a.async.js +1 -0
- package/static/dist/4210.b6c5d985.async.js +1 -0
- package/static/dist/4210.b6c5d985.async.js.gz +0 -0
- package/static/dist/4293.6d8f5759.async.js +1 -0
- package/static/dist/{9082.9f6c6520.async.js → 4319.856b86a6.async.js} +1 -1
- package/static/dist/{8060.8b699029.async.js → 4351.2ba3f7f8.async.js} +1 -1
- package/static/dist/{4944.3be3e188.async.js → 4357.b7e15ffb.async.js} +1 -1
- package/static/dist/4427.fbb31d76.async.js +1 -0
- package/static/dist/4428.24e59f1f.async.js +1 -0
- package/static/dist/4428.24e59f1f.async.js.gz +0 -0
- package/static/dist/4429.66d7e41f.async.js +1 -0
- package/static/dist/{3617.b7d4b2ed.async.js → 4609.286111c5.async.js} +1 -1
- package/static/dist/4659.0597a258.async.js +1 -0
- package/static/dist/{9187.4bacb25e.async.js → 4719.cc69b2f2.async.js} +1 -1
- package/static/dist/{4507.8541bc6d.async.js → 4725.3fd118d4.async.js} +1 -1
- package/static/dist/{7846.7d689939.async.js → 4754.dad00196.async.js} +1 -1
- package/static/dist/4898.826fa9f5.async.js +1 -0
- package/static/dist/4898.826fa9f5.async.js.gz +0 -0
- package/static/dist/4956.38e3a6c2.async.js +1 -0
- package/static/dist/4956.38e3a6c2.async.js.gz +0 -0
- package/static/dist/4994.ef6ca2ba.async.js +1 -0
- package/static/dist/4994.ef6ca2ba.async.js.gz +0 -0
- package/static/dist/5029.322132ca.async.js +1 -0
- package/static/dist/5101.2d8cc112.async.js +1 -0
- package/static/dist/5177.19a47f75.async.js +1 -0
- package/static/dist/5307.b95ee226.async.js +1 -0
- package/static/dist/{8394.452e865e.async.js → 5323.a4649b86.async.js} +1 -1
- package/static/dist/5420.13afeb19.async.js +1 -0
- package/static/dist/5420.13afeb19.async.js.gz +0 -0
- package/static/dist/5456.c828e5b4.async.js +1 -0
- package/static/dist/5456.c828e5b4.async.js.gz +0 -0
- package/static/dist/{7272.1c73bcc5.async.js → 5573.2b4c3f53.async.js} +1 -1
- package/static/dist/5646.f0ebc19e.async.js +1 -0
- package/static/dist/5646.f0ebc19e.async.js.gz +0 -0
- package/static/dist/5672.0a858802.async.js +1 -0
- package/static/dist/5677.7969d6a6.async.js +1 -0
- package/static/dist/5677.7969d6a6.async.js.gz +0 -0
- package/static/dist/{2843.e968a7af.async.js → 5735.5ac81392.async.js} +1 -1
- package/static/dist/{3711.9814cb8c.async.js → 5829.858a67a0.async.js} +1 -1
- package/static/dist/5888.2e92bdee.async.js +1 -0
- package/static/dist/5888.2e92bdee.async.js.gz +0 -0
- package/static/dist/5904.f23cb541.async.js +1 -0
- package/static/dist/5904.f23cb541.async.js.gz +0 -0
- package/static/dist/5979.41d8d93d.async.js +1 -0
- package/static/dist/5979.41d8d93d.async.js.gz +0 -0
- package/static/dist/{4481.4d51cf36.async.js → 5983.843a4e79.async.js} +1 -1
- package/static/dist/{1212.f87fd07a.async.js → 5985.de461b85.async.js} +1 -1
- package/static/dist/5985.de461b85.async.js.gz +0 -0
- package/static/dist/6049.f95bb9f8.async.js +1 -0
- package/static/dist/6049.f95bb9f8.async.js.gz +0 -0
- package/static/dist/6070.b1fcc5b4.async.js +1 -0
- package/static/dist/6070.b1fcc5b4.async.js.gz +0 -0
- package/static/dist/6107.f62df6ae.async.js +1 -0
- package/static/dist/6107.f62df6ae.async.js.gz +0 -0
- package/static/dist/615.2c53dc81.async.js +1 -0
- package/static/dist/615.2c53dc81.async.js.gz +0 -0
- package/static/dist/617.d89eb389.async.js +1 -0
- package/static/dist/617.d89eb389.async.js.gz +0 -0
- package/static/dist/6186.b1eb8fa3.async.js +1 -0
- package/static/dist/6186.b1eb8fa3.async.js.gz +0 -0
- package/static/dist/{9853.695fdd64.async.js → 6262.d9fc0702.async.js} +1 -1
- package/static/dist/6397.cf1917b0.async.js +1 -0
- package/static/dist/64.5fe1900f.async.js +1 -0
- package/static/dist/{8526.bb556c43.async.js → 6413.3f27247d.async.js} +1 -1
- package/static/dist/{8038.58b0571f.async.js → 6437.65f88a1e.async.js} +1 -1
- package/static/dist/6457.ef8eb546.async.js +1 -0
- package/static/dist/6457.ef8eb546.async.js.gz +0 -0
- package/static/dist/6508.59f796e6.async.js +1 -0
- package/static/dist/6508.59f796e6.async.js.gz +0 -0
- package/static/dist/6511.b01e1a63.async.js +1 -0
- package/static/dist/6552.e15660f5.async.js +1 -0
- package/static/dist/6552.e15660f5.async.js.gz +0 -0
- package/static/dist/6593.6b4cc432.async.js +1 -0
- package/static/dist/{8025.7dc65c6a.async.js → 6661.13953d0c.async.js} +1 -1
- package/static/dist/667.1018a7d1.async.js +1 -0
- package/static/dist/667.1018a7d1.async.js.gz +0 -0
- package/static/dist/{9308.3202ac13.async.js → 6674.3f6cbfb7.async.js} +1 -1
- package/static/dist/6674.3f6cbfb7.async.js.gz +0 -0
- package/static/dist/{3714.8d6dba9e.async.js → 672.09e440db.async.js} +1 -1
- package/static/dist/672.09e440db.async.js.gz +0 -0
- package/static/dist/{8315.3c15bde0.async.js → 6773.f0165234.async.js} +1 -1
- package/static/dist/6956.954dcb7f.async.js +1 -0
- package/static/dist/6956.954dcb7f.async.js.gz +0 -0
- package/static/dist/6991.000de5eb.async.js +1 -0
- package/static/dist/6991.000de5eb.async.js.gz +0 -0
- package/static/dist/6999.333d97b6.async.js +1 -0
- package/static/dist/7045.45a9b0c4.async.js +1 -0
- package/static/dist/7045.45a9b0c4.async.js.gz +0 -0
- package/static/dist/7112.45d46596.async.js +1 -0
- package/static/dist/7112.45d46596.async.js.gz +0 -0
- package/static/dist/7158.f154d91b.async.js +1 -0
- package/static/dist/7171.8fba4715.async.js +1 -0
- package/static/dist/7171.8fba4715.async.js.gz +0 -0
- package/static/dist/{7993.ed86bf44.async.js → 7205.b5ce4f28.async.js} +1 -1
- package/static/dist/{5662.678b0cfb.async.js → 7247.28497f87.async.js} +1 -1
- package/static/dist/7247.28497f87.async.js.gz +0 -0
- package/static/dist/7329.4451ada2.async.js +1 -0
- package/static/dist/743.f9b3f021.async.js +1 -0
- package/static/dist/7468.f78fdcfa.async.js +1 -0
- package/static/dist/7468.f78fdcfa.async.js.gz +0 -0
- package/static/dist/7508.11799658.async.js +1 -0
- package/static/dist/7508.11799658.async.js.gz +0 -0
- package/static/dist/{2635.d4c59d23.async.js → 7559.eed2c5b6.async.js} +1 -1
- package/static/dist/7559.eed2c5b6.async.js.gz +0 -0
- package/static/dist/7573.6892e238.async.js +1 -0
- package/static/dist/7607.ac9cb836.async.js +1 -0
- package/static/dist/7607.ac9cb836.async.js.gz +0 -0
- package/static/dist/{2958.1a7daa3c.async.js → 7653.f22931b8.async.js} +1 -1
- package/static/dist/7681.cffb8dab.async.js +1 -0
- package/static/dist/7681.cffb8dab.async.js.gz +0 -0
- package/static/dist/{9974.c867bc89.async.js → 7701.fac6a316.async.js} +1 -1
- package/static/dist/7728.500760a1.async.js +1 -0
- package/static/dist/7728.500760a1.async.js.gz +0 -0
- package/static/dist/7783.d4562c70.async.js +1 -0
- package/static/dist/7783.d4562c70.async.js.gz +0 -0
- package/static/dist/{6431.c50479be.async.js → 7797.c5a79206.async.js} +1 -1
- package/static/dist/7845.fda583de.async.js +1 -0
- package/static/dist/7857.dbe75770.async.js +1 -0
- package/static/dist/7857.dbe75770.async.js.gz +0 -0
- package/static/dist/7869.2a318fd5.async.js +1 -0
- package/static/dist/7889.ba30e2bc.async.js +1 -0
- package/static/dist/7889.ba30e2bc.async.js.gz +0 -0
- package/static/dist/7901.7726d37e.async.js +1 -0
- package/static/dist/7907.b2699834.async.js +1 -0
- package/static/dist/{8878.8367da80.async.js → 7913.2f69ee1c.async.js} +1 -1
- package/static/dist/{6598.01b8b308.async.js → 8095.baec2da2.async.js} +1 -1
- package/static/dist/8111.d0c7a451.async.js +1 -0
- package/static/dist/8111.d0c7a451.async.js.gz +0 -0
- package/static/dist/8165.ff0c01a7.async.js +1 -0
- package/static/dist/{5580.48b4722f.async.js → 8357.907fff49.async.js} +1 -1
- package/static/dist/842.63fc6c73.async.js +1 -0
- package/static/dist/842.63fc6c73.async.js.gz +0 -0
- package/static/dist/8504.9cc2ad4b.async.js +1 -0
- package/static/dist/8504.9cc2ad4b.async.js.gz +0 -0
- package/static/dist/8516.636f0e95.async.js +1 -0
- package/static/dist/8516.636f0e95.async.js.gz +0 -0
- package/static/dist/8644.e25c61fa.async.js +1 -0
- package/static/dist/8644.e25c61fa.async.js.gz +0 -0
- package/static/dist/8703.1b747c44.async.js +1 -0
- package/static/dist/8703.1b747c44.async.js.gz +0 -0
- package/static/dist/8867.d6253060.async.js +1 -0
- package/static/dist/{5436.f2e37c36.async.js → 8893.8ead5819.async.js} +1 -1
- package/static/dist/{6437.91ff515b.async.js → 8917.9c54ed03.async.js} +1 -1
- package/static/dist/892.47158183.async.js +1 -0
- package/static/dist/892.47158183.async.js.gz +0 -0
- package/static/dist/9015.5b231e77.async.js +1 -0
- package/static/dist/9020.3a396f11.async.js +1 -0
- package/static/dist/9020.3a396f11.async.js.gz +0 -0
- package/static/dist/{6711.84451b08.async.js → 9081.437dcaea.async.js} +1 -1
- package/static/dist/{7647.e9446154.async.js → 9185.7591ccab.async.js} +1 -1
- package/static/dist/9211.c58d5083.async.js +1 -0
- package/static/dist/9211.c58d5083.async.js.gz +0 -0
- package/static/dist/{7036.fdeb74d0.async.js → 9219.c5962724.async.js} +1 -1
- package/static/dist/{1571.94ddca13.async.js → 9380.df4bce3e.async.js} +1 -1
- package/static/dist/9380.df4bce3e.async.js.gz +0 -0
- package/static/dist/9384.e0c1d949.async.js +1 -0
- package/static/dist/9384.e0c1d949.async.js.gz +0 -0
- package/static/dist/{8080.056470f6.async.js → 9445.3647dcaa.async.js} +1 -1
- package/static/dist/951.3aac61ca.async.js +1 -0
- package/static/dist/9541.8e2bab43.async.js +1 -0
- package/static/dist/9541.8e2bab43.async.js.gz +0 -0
- package/static/dist/9621.3a1a2777.async.js +1 -0
- package/static/dist/9645.d470c417.async.js +1 -0
- package/static/dist/9753.f947eb7b.async.js +1 -0
- package/static/dist/9816.1e9930f6.async.js +1 -0
- package/static/dist/9816.1e9930f6.async.js.gz +0 -0
- package/static/dist/{8682.597beedb.async.js → 9829.e4ba1956.async.js} +1 -1
- package/static/dist/{2905.a8f810e1.async.js → 9979.5f051cb4.async.js} +1 -1
- package/static/dist/index.html +3 -3
- package/static/dist/layouts__index.1f483079.async.js +1 -0
- package/static/dist/layouts__index.1f483079.async.js.gz +0 -0
- package/static/dist/layouts__index.32b9042a.chunk.css +1 -0
- package/static/dist/layouts__index.32b9042a.chunk.css.gz +0 -0
- package/static/dist/preload_helper.aed13b44.js +1 -0
- package/static/dist/{src__pages__404.3fd8332e.async.js → src__pages__404.c72d5253.async.js} +1 -1
- package/static/dist/src__pages__config__index.acb8e7a8.async.js +1 -0
- package/static/dist/src__pages__config__index.acb8e7a8.async.js.gz +0 -0
- package/static/dist/{src__pages__crontab__const.aba07deb.async.js → src__pages__crontab__const.3b7b55ae.async.js} +1 -1
- package/static/dist/src__pages__crontab__dailyResults.746e53f8.async.js +1 -0
- package/static/dist/src__pages__crontab__detail.a33259f9.async.js +1 -0
- package/static/dist/src__pages__crontab__detail.a33259f9.async.js.gz +0 -0
- package/static/dist/{src__pages__crontab__index.5bbea517.chunk.css → src__pages__crontab__index.9f12d3bf.chunk.css} +1 -1
- package/static/dist/src__pages__crontab__index.c3c551ca.async.js +1 -0
- package/static/dist/src__pages__crontab__index.c3c551ca.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__instanceHistory.52c7b4b0.async.js +1 -0
- package/static/dist/src__pages__crontab__instanceHistory.52c7b4b0.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__logModal.c95ea819.async.js +1 -0
- package/static/dist/src__pages__crontab__logModal.c95ea819.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__modal.245ba7a7.async.js +1 -0
- package/static/dist/src__pages__crontab__modal.245ba7a7.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__stopRequest.6a8d77ea.async.js +1 -0
- package/static/dist/src__pages__crontab__triggerList.33437e6a.async.js +1 -0
- package/static/dist/src__pages__crontab__triggerList.33437e6a.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__triggerTiming.38d328c7.async.js +1 -0
- package/static/dist/src__pages__crontab__triggerTiming.38d328c7.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__triggerUpdates.e1ddc531.async.js +1 -0
- package/static/dist/{src__pages__crontab__type.d7af36e5.async.js → src__pages__crontab__type.19dd8dd9.async.js} +1 -1
- package/static/dist/src__pages__crontab__viewCreateModal.ef74528f.async.js +1 -0
- package/static/dist/src__pages__crontab__viewCreateModal.ef74528f.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__viewManageModal.8cc7f6c6.async.js +1 -0
- package/static/dist/src__pages__crontab__viewManageModal.8cc7f6c6.async.js.gz +0 -0
- package/static/dist/src__pages__dashboard__index.4f6a65e5.async.js +1 -0
- package/static/dist/src__pages__dashboard__index.4f6a65e5.async.js.gz +0 -0
- package/static/dist/src__pages__dashboard__index.de756a4f.chunk.css +1 -0
- package/static/dist/src__pages__dashboard__taskResultModal.971b6793.async.js +1 -0
- package/static/dist/src__pages__dashboard__timingStatistic.8edabcf4.async.js +1 -0
- package/static/dist/src__pages__dependence__index.ff16abd8.async.js +1 -0
- package/static/dist/src__pages__dependence__index.ff16abd8.async.js.gz +0 -0
- package/static/dist/src__pages__dependence__logModal.306e7477.async.js +1 -0
- package/static/dist/src__pages__dependence__logModal.306e7477.async.js.gz +0 -0
- package/static/dist/src__pages__dependence__modal.2e575a7d.async.js +1 -0
- package/static/dist/src__pages__dependence__modal.2e575a7d.async.js.gz +0 -0
- package/static/dist/{src__pages__dependence__type.e48c5c88.async.js → src__pages__dependence__type.20aded90.async.js} +1 -1
- package/static/dist/src__pages__diff__index.7e1f8cd9.async.js +1 -0
- package/static/dist/src__pages__diff__index.7e1f8cd9.async.js.gz +0 -0
- package/static/dist/src__pages__env__editNameModal.74e8a956.async.js +1 -0
- package/static/dist/src__pages__env__index.8e3c5a16.async.js +1 -0
- package/static/dist/src__pages__env__index.8e3c5a16.async.js.gz +0 -0
- package/static/dist/src__pages__env__modal.58e12beb.async.js +1 -0
- package/static/dist/src__pages__env__modal.58e12beb.async.js.gz +0 -0
- package/static/dist/src__pages__error__index.f943122d.async.js +1 -0
- package/static/dist/src__pages__initialization__index.163202cc.chunk.css +1 -0
- package/static/dist/src__pages__initialization__index.fa306f0a.async.js +1 -0
- package/static/dist/src__pages__initialization__index.fa306f0a.async.js.gz +0 -0
- package/static/dist/src__pages__log__index.c209ed9b.chunk.css +1 -0
- package/static/dist/src__pages__log__index.fc1b1063.async.js +1 -0
- package/static/dist/src__pages__log__index.fc1b1063.async.js.gz +0 -0
- package/static/dist/src__pages__login__index.65d17582.chunk.css +1 -0
- package/static/dist/src__pages__login__index.f8e99429.async.js +1 -0
- package/static/dist/src__pages__login__index.f8e99429.async.js.gz +0 -0
- package/static/dist/src__pages__script__components__UnsupportedFilePreview__index.de7e61ca.async.js +1 -0
- package/static/dist/src__pages__script__components__UnsupportedFilePreview__index.de7e61ca.async.js.gz +0 -0
- package/static/dist/src__pages__script__editModal.030adb78.async.js +1 -0
- package/static/dist/src__pages__script__editModal.030adb78.async.js.gz +0 -0
- package/static/dist/src__pages__script__editModal.0557fafc.chunk.css +1 -0
- package/static/dist/src__pages__script__editNameModal.0557fafc.chunk.css +1 -0
- package/static/dist/src__pages__script__editNameModal.4e4fad4a.async.js +1 -0
- package/static/dist/src__pages__script__editNameModal.4e4fad4a.async.js.gz +0 -0
- package/static/dist/{src__pages__script__historyDrawer.a449193a.chunk.css → src__pages__script__historyDrawer.0ab71b73.chunk.css} +1 -1
- package/static/dist/src__pages__script__historyDrawer.a6420226.async.js +1 -0
- package/static/dist/src__pages__script__historyDrawer.a6420226.async.js.gz +0 -0
- package/static/dist/src__pages__script__index.d4564ccf.chunk.css +1 -0
- package/static/dist/src__pages__script__index.f8d1b03e.async.js +1 -0
- package/static/dist/src__pages__script__index.f8d1b03e.async.js.gz +0 -0
- package/static/dist/src__pages__script__renameModal.640c223b.async.js +1 -0
- package/static/dist/src__pages__script__saveModal.2e5a1cda.async.js +1 -0
- package/static/dist/{src__pages__script__saveWithHistory.99ece830.async.js → src__pages__script__saveWithHistory.6e81e493.async.js} +1 -1
- package/static/dist/src__pages__script__setting.9b1efd4f.async.js +1 -0
- package/static/dist/src__pages__setting__about.96833c94.async.js +1 -0
- package/static/dist/src__pages__setting__about.96833c94.async.js.gz +0 -0
- package/static/dist/src__pages__setting__appModal.d52d8964.async.js +1 -0
- package/static/dist/src__pages__setting__checkUpdate.535b3f37.async.js +1 -0
- package/static/dist/src__pages__setting__checkUpdate.535b3f37.async.js.gz +0 -0
- package/static/dist/src__pages__setting__clientIp.bdec4d8d.async.js +1 -0
- package/static/dist/src__pages__setting__clientIp.bdec4d8d.async.js.gz +0 -0
- package/static/dist/src__pages__setting__dependence.5f2591d8.async.js +1 -0
- package/static/dist/src__pages__setting__dependence.5f2591d8.async.js.gz +0 -0
- package/static/dist/src__pages__setting__index.ef633884.async.js +1 -0
- package/static/dist/src__pages__setting__index.ef633884.async.js.gz +0 -0
- package/static/dist/src__pages__setting__loginLog.16ba8e6b.async.js +1 -0
- package/static/dist/src__pages__setting__loginLog.16ba8e6b.async.js.gz +0 -0
- package/static/dist/src__pages__setting__notification.f53f8d1e.async.js +1 -0
- package/static/dist/src__pages__setting__notifyLog.521431ce.async.js +1 -0
- package/static/dist/src__pages__setting__notifyLog.521431ce.async.js.gz +0 -0
- package/static/dist/src__pages__setting__other.e0a48d72.async.js +1 -0
- package/static/dist/src__pages__setting__other.e0a48d72.async.js.gz +0 -0
- package/static/dist/src__pages__setting__progress.354d7a2f.async.js +1 -0
- package/static/dist/src__pages__setting__security.2e8fd144.async.js +1 -0
- package/static/dist/src__pages__setting__security.2e8fd144.async.js.gz +0 -0
- package/static/dist/src__pages__setting__systemLog.7b116796.async.js +1 -0
- package/static/dist/src__pages__setting__systemLog.7b116796.async.js.gz +0 -0
- package/static/dist/src__pages__subscription__index.03e373fc.async.js +1 -0
- package/static/dist/src__pages__subscription__index.03e373fc.async.js.gz +0 -0
- package/static/dist/src__pages__subscription__logModal.903b015e.async.js +1 -0
- package/static/dist/src__pages__subscription__logModal.903b015e.async.js.gz +0 -0
- package/static/dist/src__pages__subscription__modal.6dec80af.async.js +1 -0
- package/static/dist/umi.70238455.css +1 -0
- package/static/dist/umi.70238455.css.gz +0 -0
- package/static/dist/umi.e0bcb75b.js +1 -0
- package/static/dist/umi.e0bcb75b.js.gz +0 -0
- package/version.yaml +7 -9
- package/static/dist/1089.0ecc5383.async.js +0 -1
- package/static/dist/1089.0ecc5383.async.js.gz +0 -0
- package/static/dist/1134.b851963c.async.js +0 -1
- package/static/dist/1174.41a43fee.async.js +0 -1
- package/static/dist/1174.41a43fee.async.js.gz +0 -0
- package/static/dist/119.89e2d610.async.js +0 -1
- package/static/dist/119.89e2d610.async.js.gz +0 -0
- package/static/dist/1192.4e5740f2.async.js +0 -1
- package/static/dist/1212.f87fd07a.async.js.gz +0 -0
- package/static/dist/1214.c6469b53.async.js +0 -1
- package/static/dist/1352.96a77e1d.async.js +0 -1
- package/static/dist/1352.96a77e1d.async.js.gz +0 -0
- package/static/dist/1379.f91563a1.async.js +0 -1
- 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 +0 -1
- package/static/dist/1706.ac98cb3f.async.js.gz +0 -0
- package/static/dist/1765.5ac01a93.async.js +0 -1
- package/static/dist/1765.5ac01a93.async.js.gz +0 -0
- package/static/dist/1836.f0b74cf1.async.js +0 -1
- package/static/dist/1836.f0b74cf1.async.js.gz +0 -0
- package/static/dist/1885.b8f427bf.async.js +0 -1
- package/static/dist/1885.b8f427bf.async.js.gz +0 -0
- package/static/dist/1887.9e0d3da8.async.js +0 -1
- package/static/dist/1887.9e0d3da8.async.js.gz +0 -0
- package/static/dist/198.db47fc1a.async.js +0 -1
- package/static/dist/198.db47fc1a.async.js.gz +0 -0
- package/static/dist/2003.8eafeca8.async.js +0 -1
- package/static/dist/2031.6af40025.async.js +0 -1
- package/static/dist/2231.29b754cf.async.js +0 -1
- package/static/dist/2325.dfa32834.async.js +0 -1
- package/static/dist/2325.dfa32834.async.js.gz +0 -0
- package/static/dist/2336.0756f45f.async.js +0 -1
- package/static/dist/2338.d678967d.async.js +0 -1
- package/static/dist/2338.d678967d.async.js.gz +0 -0
- package/static/dist/2372.b5a50ee7.async.js +0 -1
- package/static/dist/2372.b5a50ee7.async.js.gz +0 -0
- package/static/dist/2476.4e9b0992.async.js +0 -1
- package/static/dist/2476.4e9b0992.async.js.gz +0 -0
- package/static/dist/2537.2b262ee0.async.js +0 -1
- package/static/dist/2537.2b262ee0.async.js.gz +0 -0
- package/static/dist/2577.aa8fe709.async.js +0 -1
- package/static/dist/2577.aa8fe709.async.js.gz +0 -0
- package/static/dist/2635.d4c59d23.async.js.gz +0 -0
- package/static/dist/2636.70ece391.async.js +0 -1
- package/static/dist/2664.e69530fb.async.js +0 -1
- package/static/dist/2664.e69530fb.async.js.gz +0 -0
- package/static/dist/2693.51c2636b.async.js +0 -1
- package/static/dist/2693.51c2636b.async.js.gz +0 -0
- package/static/dist/2750.7aa38add.async.js +0 -1
- package/static/dist/2808.cdc0995c.async.js +0 -1
- package/static/dist/2808.cdc0995c.async.js.gz +0 -0
- package/static/dist/2821.651f31e5.async.js +0 -1
- package/static/dist/2821.651f31e5.async.js.gz +0 -0
- package/static/dist/2890.add55e85.async.js +0 -1
- package/static/dist/2890.add55e85.async.js.gz +0 -0
- package/static/dist/2901.6d0de54e.async.js +0 -1
- package/static/dist/2901.6d0de54e.async.js.gz +0 -0
- package/static/dist/292.27ce781f.async.js +0 -1
- package/static/dist/292.27ce781f.async.js.gz +0 -0
- package/static/dist/293.80d14a4f.async.js +0 -1
- package/static/dist/2986.4c49eef7.async.js +0 -1
- package/static/dist/300.08ac9875.async.js +0 -1
- package/static/dist/300.08ac9875.async.js.gz +0 -0
- package/static/dist/3055.a99f8e4c.async.js +0 -1
- package/static/dist/3191.3b7e4b42.async.js +0 -1
- package/static/dist/3191.3b7e4b42.async.js.gz +0 -0
- package/static/dist/3382.a584a111.async.js +0 -1
- package/static/dist/3382.a584a111.async.js.gz +0 -0
- package/static/dist/3383.041eee73.async.js +0 -1
- package/static/dist/3383.041eee73.async.js.gz +0 -0
- package/static/dist/3390.fb4b6851.async.js +0 -1
- package/static/dist/3481.333c2962.async.js +0 -1
- package/static/dist/3512.95e41255.async.js +0 -1
- package/static/dist/3512.95e41255.async.js.gz +0 -0
- package/static/dist/3714.8d6dba9e.async.js.gz +0 -0
- package/static/dist/3840.801ded2b.async.js +0 -1
- package/static/dist/3906.a5eee612.async.js +0 -1
- package/static/dist/3906.a5eee612.async.js.gz +0 -0
- package/static/dist/3948.4fe809fd.async.js +0 -1
- package/static/dist/3948.4fe809fd.async.js.gz +0 -0
- package/static/dist/4324.5a5887d1.async.js +0 -1
- package/static/dist/4324.5a5887d1.async.js.gz +0 -0
- package/static/dist/4559.faab3673.async.js +0 -1
- package/static/dist/4559.faab3673.async.js.gz +0 -0
- package/static/dist/4573.16f19278.async.js +0 -1
- package/static/dist/4573.16f19278.async.js.gz +0 -0
- package/static/dist/4736.7c4c489b.async.js +0 -1
- package/static/dist/4736.7c4c489b.async.js.gz +0 -0
- package/static/dist/4818.c83facd7.async.js +0 -1
- package/static/dist/4887.8e3ae573.async.js +0 -1
- package/static/dist/4887.8e3ae573.async.js.gz +0 -0
- package/static/dist/4934.f3539d08.async.js +0 -1
- package/static/dist/4934.f3539d08.async.js.gz +0 -0
- package/static/dist/5.3ebdd181.async.js +0 -1
- package/static/dist/5077.cbd111cd.async.js +0 -1
- package/static/dist/5077.cbd111cd.async.js.gz +0 -0
- package/static/dist/5157.7c5af144.async.js +0 -1
- package/static/dist/540.19ddf020.async.js +0 -1
- package/static/dist/5481.e2945a63.async.js +0 -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 +0 -1
- package/static/dist/5970.5862e59e.async.js.gz +0 -0
- package/static/dist/6013.db535339.async.js +0 -1
- package/static/dist/6013.db535339.async.js.gz +0 -0
- package/static/dist/6016.1e6574b6.async.js +0 -1
- package/static/dist/6035.32ebfad9.async.js +0 -1
- package/static/dist/6035.32ebfad9.async.js.gz +0 -0
- package/static/dist/6212.e056fb2d.async.js +0 -1
- package/static/dist/6212.e056fb2d.async.js.gz +0 -0
- package/static/dist/6341.673fb65c.async.js +0 -1
- package/static/dist/6341.673fb65c.async.js.gz +0 -0
- package/static/dist/6367.8b0e838c.async.js +0 -1
- package/static/dist/6367.8b0e838c.async.js.gz +0 -0
- package/static/dist/6569.55177f6a.async.js +0 -1
- package/static/dist/6569.55177f6a.async.js.gz +0 -0
- package/static/dist/6610.c111af7e.async.js +0 -1
- package/static/dist/6610.c111af7e.async.js.gz +0 -0
- package/static/dist/6636.fed84003.async.js +0 -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 +0 -1
- package/static/dist/6646.95e92533.async.js.gz +0 -0
- package/static/dist/6665.1d099ad1.async.js +0 -1
- package/static/dist/685.2419bacf.async.js +0 -1
- package/static/dist/6872.fcc9ce17.async.js +0 -1
- package/static/dist/6872.fcc9ce17.async.js.gz +0 -0
- package/static/dist/691.187a388c.async.js +0 -1
- package/static/dist/691.187a388c.async.js.gz +0 -0
- package/static/dist/7146.4dc150b1.async.js +0 -1
- package/static/dist/7146.4dc150b1.async.js.gz +0 -0
- package/static/dist/7231.f7e5b668.async.js +0 -1
- package/static/dist/7231.f7e5b668.async.js.gz +0 -0
- package/static/dist/7253.4b9bf133.async.js +0 -1
- package/static/dist/7253.4b9bf133.async.js.gz +0 -0
- package/static/dist/7278.96bf439f.async.js +0 -1
- package/static/dist/7278.96bf439f.async.js.gz +0 -0
- package/static/dist/7285.d561cf26.async.js +0 -1
- package/static/dist/7355.fca746f5.async.js +0 -1
- package/static/dist/7355.fca746f5.async.js.gz +0 -0
- package/static/dist/7384.1bb449d5.async.js +0 -1
- package/static/dist/7384.1bb449d5.async.js.gz +0 -0
- package/static/dist/7441.ee1bf2bb.async.js +0 -1
- package/static/dist/7508.3fffed15.chunk.css +0 -1
- package/static/dist/7508.3fffed15.chunk.css.gz +0 -0
- package/static/dist/7508.d90eac63.async.js +0 -1
- package/static/dist/7508.d90eac63.async.js.gz +0 -0
- package/static/dist/752.66fdc531.async.js +0 -1
- package/static/dist/7714.1e826854.async.js +0 -1
- package/static/dist/7802.34255805.async.js +0 -1
- package/static/dist/7802.34255805.async.js.gz +0 -0
- package/static/dist/7984.eaac7402.async.js +0 -1
- package/static/dist/7984.eaac7402.async.js.gz +0 -0
- package/static/dist/8033.5cb31493.async.js +0 -1
- package/static/dist/8033.5cb31493.async.js.gz +0 -0
- package/static/dist/8078.8586c875.async.js +0 -1
- package/static/dist/8078.8586c875.async.js.gz +0 -0
- package/static/dist/8142.a074ddf1.async.js +0 -1
- package/static/dist/8147.2fb55202.async.js +0 -1
- package/static/dist/8147.2fb55202.async.js.gz +0 -0
- package/static/dist/8187.48c130d6.async.js +0 -1
- package/static/dist/8187.48c130d6.async.js.gz +0 -0
- package/static/dist/831.9756b44d.async.js +0 -1
- package/static/dist/8495.d53e15ca.async.js +0 -1
- package/static/dist/8495.d53e15ca.async.js.gz +0 -0
- package/static/dist/8587.315b06c0.async.js +0 -1
- package/static/dist/8776.e8798a5a.async.js +0 -1
- package/static/dist/8779.3e755010.async.js +0 -1
- package/static/dist/8844.a0fef08e.async.js +0 -1
- package/static/dist/8844.a0fef08e.async.js.gz +0 -0
- package/static/dist/8865.ed665d31.async.js +0 -1
- package/static/dist/901.7ee5c6d3.async.js +0 -1
- package/static/dist/9033.f2e29d04.async.js +0 -1
- package/static/dist/9095.816eeb1a.async.js +0 -1
- package/static/dist/9271.231db2ce.async.js +0 -1
- package/static/dist/9308.3202ac13.async.js.gz +0 -0
- package/static/dist/9323.a33f47da.async.js +0 -1
- package/static/dist/9323.a33f47da.async.js.gz +0 -0
- package/static/dist/965.8d9b1fbd.async.js +0 -1
- package/static/dist/965.8d9b1fbd.async.js.gz +0 -0
- package/static/dist/9730.801665a3.async.js +0 -1
- package/static/dist/9761.360a19d8.async.js +0 -1
- package/static/dist/9761.360a19d8.async.js.gz +0 -0
- package/static/dist/layouts__index.86b6bcbe.chunk.css +0 -1
- package/static/dist/layouts__index.86b6bcbe.chunk.css.gz +0 -0
- package/static/dist/layouts__index.c8e9788e.async.js +0 -1
- package/static/dist/layouts__index.c8e9788e.async.js.gz +0 -0
- package/static/dist/preload_helper.a71416e6.js +0 -1
- package/static/dist/src__pages__config__index.088ddd9d.async.js +0 -1
- package/static/dist/src__pages__config__index.088ddd9d.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__detail.88729e8f.async.js +0 -1
- package/static/dist/src__pages__crontab__detail.88729e8f.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__index.b0ae0f99.async.js +0 -1
- package/static/dist/src__pages__crontab__index.b0ae0f99.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__logModal.930535e2.async.js +0 -1
- package/static/dist/src__pages__crontab__logModal.930535e2.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__modal.a2c8fdcc.async.js +0 -1
- package/static/dist/src__pages__crontab__modal.a2c8fdcc.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__viewCreateModal.7b4f9cbe.async.js +0 -1
- package/static/dist/src__pages__crontab__viewCreateModal.7b4f9cbe.async.js.gz +0 -0
- package/static/dist/src__pages__crontab__viewManageModal.cd454ea0.async.js +0 -1
- package/static/dist/src__pages__crontab__viewManageModal.cd454ea0.async.js.gz +0 -0
- package/static/dist/src__pages__dashboard__index.c05ce904.async.js +0 -1
- package/static/dist/src__pages__dashboard__index.c05ce904.async.js.gz +0 -0
- package/static/dist/src__pages__dashboard__taskResultModal.7795d6e1.async.js +0 -1
- package/static/dist/src__pages__dependence__index.edad6a53.async.js +0 -1
- package/static/dist/src__pages__dependence__index.edad6a53.async.js.gz +0 -0
- package/static/dist/src__pages__dependence__logModal.01729f63.async.js +0 -1
- package/static/dist/src__pages__dependence__logModal.01729f63.async.js.gz +0 -0
- package/static/dist/src__pages__dependence__modal.ef7ae53b.async.js +0 -1
- package/static/dist/src__pages__dependence__modal.ef7ae53b.async.js.gz +0 -0
- package/static/dist/src__pages__diff__index.4233ea93.async.js +0 -1
- package/static/dist/src__pages__diff__index.4233ea93.async.js.gz +0 -0
- package/static/dist/src__pages__env__editNameModal.c13d47d2.async.js +0 -1
- package/static/dist/src__pages__env__index.c236a754.async.js +0 -1
- package/static/dist/src__pages__env__index.c236a754.async.js.gz +0 -0
- package/static/dist/src__pages__env__modal.4d71adb3.async.js +0 -1
- package/static/dist/src__pages__env__modal.4d71adb3.async.js.gz +0 -0
- package/static/dist/src__pages__error__index.66605c72.async.js +0 -1
- package/static/dist/src__pages__initialization__index.66819338.chunk.css +0 -1
- package/static/dist/src__pages__initialization__index.d4d89bf9.async.js +0 -1
- package/static/dist/src__pages__initialization__index.d4d89bf9.async.js.gz +0 -0
- package/static/dist/src__pages__log__index.71250e0d.async.js +0 -1
- package/static/dist/src__pages__log__index.71250e0d.async.js.gz +0 -0
- package/static/dist/src__pages__log__index.9f2eae80.chunk.css +0 -1
- package/static/dist/src__pages__login__index.58bb4b38.async.js +0 -1
- package/static/dist/src__pages__login__index.58bb4b38.async.js.gz +0 -0
- package/static/dist/src__pages__login__index.d00b91e8.chunk.css +0 -1
- package/static/dist/src__pages__script__components__UnsupportedFilePreview__index.c347a13a.async.js +0 -1
- 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 +0 -1
- package/static/dist/src__pages__script__editModal.785f8431.async.js.gz +0 -0
- package/static/dist/src__pages__script__editNameModal.789ad87b.async.js +0 -1
- package/static/dist/src__pages__script__editNameModal.789ad87b.async.js.gz +0 -0
- package/static/dist/src__pages__script__historyDrawer.8c58d958.async.js +0 -1
- package/static/dist/src__pages__script__historyDrawer.8c58d958.async.js.gz +0 -0
- package/static/dist/src__pages__script__index.3e142045.async.js +0 -1
- package/static/dist/src__pages__script__index.3e142045.async.js.gz +0 -0
- package/static/dist/src__pages__script__index.ab360776.chunk.css +0 -1
- package/static/dist/src__pages__script__renameModal.0ab029e7.async.js +0 -1
- package/static/dist/src__pages__script__saveModal.8fca1a22.async.js +0 -1
- package/static/dist/src__pages__script__setting.35ad4f02.async.js +0 -1
- package/static/dist/src__pages__setting__about.3d3c019f.async.js +0 -1
- package/static/dist/src__pages__setting__about.3d3c019f.async.js.gz +0 -0
- package/static/dist/src__pages__setting__appModal.7eaeb9d3.async.js +0 -1
- package/static/dist/src__pages__setting__checkUpdate.429a42f3.async.js +0 -1
- package/static/dist/src__pages__setting__checkUpdate.429a42f3.async.js.gz +0 -0
- package/static/dist/src__pages__setting__clientIp.3a8711ed.async.js +0 -1
- package/static/dist/src__pages__setting__clientIp.3a8711ed.async.js.gz +0 -0
- package/static/dist/src__pages__setting__dependence.c227c0f5.async.js +0 -1
- package/static/dist/src__pages__setting__dependence.c227c0f5.async.js.gz +0 -0
- package/static/dist/src__pages__setting__index.c5615182.async.js +0 -1
- package/static/dist/src__pages__setting__index.c5615182.async.js.gz +0 -0
- package/static/dist/src__pages__setting__loginLog.ef135f19.async.js +0 -1
- package/static/dist/src__pages__setting__loginLog.ef135f19.async.js.gz +0 -0
- package/static/dist/src__pages__setting__notification.2ffe4e5a.async.js +0 -1
- package/static/dist/src__pages__setting__notifyLog.5ef5b578.async.js +0 -1
- package/static/dist/src__pages__setting__notifyLog.5ef5b578.async.js.gz +0 -0
- package/static/dist/src__pages__setting__other.e744c0d1.async.js +0 -1
- package/static/dist/src__pages__setting__other.e744c0d1.async.js.gz +0 -0
- package/static/dist/src__pages__setting__progress.2ccae3d7.async.js +0 -1
- package/static/dist/src__pages__setting__security.e2d71ebb.async.js +0 -1
- package/static/dist/src__pages__setting__security.e2d71ebb.async.js.gz +0 -0
- package/static/dist/src__pages__setting__systemLog.000bcb5e.async.js +0 -1
- package/static/dist/src__pages__setting__systemLog.000bcb5e.async.js.gz +0 -0
- package/static/dist/src__pages__subscription__index.f556ae4c.async.js +0 -1
- package/static/dist/src__pages__subscription__index.f556ae4c.async.js.gz +0 -0
- package/static/dist/src__pages__subscription__logModal.cdba5139.async.js +0 -1
- package/static/dist/src__pages__subscription__logModal.cdba5139.async.js.gz +0 -0
- package/static/dist/src__pages__subscription__modal.8f04f506.async.js +0 -1
- package/static/dist/umi.a4d14b92.css +0 -1
- package/static/dist/umi.a4d14b92.css.gz +0 -0
- package/static/dist/umi.cf08844a.js +0 -1
- package/static/dist/umi.cf08844a.js.gz +0 -0
- /package/static/dist/{1883.675b6a18.chunk.css → 3012.675b6a18.chunk.css} +0 -0
- /package/static/dist/{1883.675b6a18.chunk.css.gz → 3012.675b6a18.chunk.css.gz} +0 -0
- /package/static/dist/{292.1b962b29.chunk.css → 6049.1b962b29.chunk.css} +0 -0
- /package/static/dist/{292.1b962b29.chunk.css.gz → 6049.1b962b29.chunk.css.gz} +0 -0
package/shell/update.sh
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
3
|
dir_shell=$QL_DIR/shell
|
|
4
|
+
if [[ ${QL_TRIGGER_SOURCE:-} == system && -z ${QL_TRIGGER_ID:-} && ${ID:-} =~ ^[0-9]+$ ]]; then
|
|
5
|
+
. "$dir_shell/system-cron.sh"
|
|
6
|
+
fi
|
|
4
7
|
. "$dir_shell/share.sh"
|
|
5
8
|
. "$dir_shell/api.sh"
|
|
6
9
|
load_ql_envs
|
|
@@ -14,17 +17,15 @@ diff_cron() {
|
|
|
14
17
|
local list_task="$2"
|
|
15
18
|
local list_add="$3"
|
|
16
19
|
local list_drop="$4"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
cp -f $list_scripts $list_add
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
if [[ ! -s $list_scripts ]] && [[ -s $list_task ]]; then
|
|
27
|
-
cp -f $list_task $list_drop
|
|
20
|
+
: > "$list_add"
|
|
21
|
+
: > "$list_drop"
|
|
22
|
+
if [[ -s $list_task && -s $list_scripts ]]; then
|
|
23
|
+
grep -Fvx -f "$list_task" "$list_scripts" > "$list_add" || [[ $? == 1 ]] || return 1
|
|
24
|
+
grep -Fvx -f "$list_scripts" "$list_task" > "$list_drop" || [[ $? == 1 ]] || return 1
|
|
25
|
+
elif [[ -s $list_scripts ]]; then
|
|
26
|
+
cp -f "$list_scripts" "$list_add"
|
|
27
|
+
elif [[ -s $list_task ]]; then
|
|
28
|
+
cp -f "$list_task" "$list_drop"
|
|
28
29
|
fi
|
|
29
30
|
}
|
|
30
31
|
|
|
@@ -34,7 +35,7 @@ output_list_add_drop() {
|
|
|
34
35
|
local type=$(t "$2")
|
|
35
36
|
if [[ -s $list ]]; then
|
|
36
37
|
t '检测到有%s的定时任务:' "$type"
|
|
37
|
-
cat $list
|
|
38
|
+
cat "$list"
|
|
38
39
|
fi
|
|
39
40
|
}
|
|
40
41
|
|
|
@@ -46,27 +47,36 @@ del_cron() {
|
|
|
46
47
|
local detail=""
|
|
47
48
|
local ids=""
|
|
48
49
|
t '\n开始尝试自动删除失效的定时任务...'
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
local script_root repo_root cron id file resolved revision result payload records=""
|
|
51
|
+
local -a removed=()
|
|
52
|
+
script_root=$(cd "$dir_scripts" && pwd -P) || return 1
|
|
53
|
+
repo_root="$script_root/$path"
|
|
54
|
+
while IFS=$'\t' read -r id cron revision; do
|
|
55
|
+
[[ $id =~ ^[1-9][0-9]*$ ]] || continue
|
|
56
|
+
grep -Fxq -e "$cron" "$list_drop" || continue
|
|
57
|
+
file="$script_root/$cron"
|
|
58
|
+
if [[ -e $file || -L $file ]]; then
|
|
59
|
+
resolved=$(realpath "$file") || continue
|
|
60
|
+
# Compare against the lexical subscription root too: a symlink in
|
|
61
|
+
# any directory component must not redirect cleanup to another repo.
|
|
62
|
+
case "$cron" in
|
|
63
|
+
"$path"/*) [[ $resolved == "$repo_root/"* ]] || continue ;;
|
|
64
|
+
"$path"_*) [[ $cron != */* && $resolved == "$file" ]] || continue ;;
|
|
65
|
+
*) continue ;;
|
|
66
|
+
esac
|
|
67
|
+
[[ -f $file ]] || continue
|
|
68
|
+
removed+=("$cron")
|
|
55
69
|
fi
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
fi
|
|
61
|
-
[[ -z $cron_name ]] && cron_name="$cron"
|
|
62
|
-
if [[ $detail ]]; then
|
|
63
|
-
detail="${detail}\n${cron_name}"
|
|
64
|
-
else
|
|
65
|
-
detail="${cron_name}"
|
|
66
|
-
fi
|
|
67
|
-
done
|
|
70
|
+
records+="$id"$'\t'"$cron"$'\t'"$revision"$'\n'
|
|
71
|
+
ids="${ids:+$ids,}$id"
|
|
72
|
+
detail="${detail:+$detail\n}$cron"
|
|
73
|
+
done < "$dir_list_tmp/${path}_registered.list"
|
|
68
74
|
if [[ $ids ]]; then
|
|
69
|
-
|
|
75
|
+
payload=$(printf '%s' "$records" | jq -Rn '[inputs | split("\t") | {id:(.[0]|tonumber), script:.[1]} + (if .[2] != "" then {revision:(.[2]|tonumber)} else {} end)]') || return 1
|
|
76
|
+
result=$(del_cron_api "$ids" "$payload") || { printf '%s\n' "$result" >&2; return 1; }
|
|
77
|
+
for cron in "${removed[@]}"; do
|
|
78
|
+
python3 "${dir_shell:-$QL_DIR/shell}/subscription-files.py" unlink "$script_root" "$cron" || return 1
|
|
79
|
+
done
|
|
70
80
|
notify_api "$(t '%s 删除任务%s' "$path" "$result")" "$detail"
|
|
71
81
|
fi
|
|
72
82
|
}
|
|
@@ -78,30 +88,31 @@ add_cron() {
|
|
|
78
88
|
local path=$2
|
|
79
89
|
t '\n开始尝试自动添加定时任务...'
|
|
80
90
|
local detail=""
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
file_name=${
|
|
91
|
+
local file operand
|
|
92
|
+
cd "$dir_scripts" || return 1
|
|
93
|
+
while IFS= read -r file; do
|
|
94
|
+
local file_name=${file#"$path"/}
|
|
95
|
+
file_name=${file_name#"$path"_}
|
|
85
96
|
if [[ -f $file ]]; then
|
|
86
97
|
cron_line=$(
|
|
87
|
-
perl -ne
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
perl -pe "{
|
|
91
|
-
s|[^\d\*]*(([\d\*]*[\*-\/,\d]*[\d\*] ){4,5}[\d\*]*[\*-\/,\d]*[\d\*])( \|,\|\").*/?$file_name.*|\1|g;
|
|
92
|
-
s|\*([\d\*])(.*)|\1\2|g;
|
|
93
|
-
s| | |g;
|
|
94
|
-
}" 2>/dev/null | sort -u | head -1
|
|
98
|
+
QL_SCRIPT_NAME="$file_name" perl -ne '
|
|
99
|
+
print "$1\n" if /((?:[\d*][\d*\/,\-]* ){4,5}[\d*][\d*\/,\-]*)(?: |,|").*\Q$ENV{QL_SCRIPT_NAME}\E/;
|
|
100
|
+
' -- "$file" | sort -u | head -1
|
|
95
101
|
)
|
|
96
|
-
[[ -z $cron_line ]] && cron_line=$(grep "cron:" $file | awk -F ":" '{print $2}' | head -1 | xargs)
|
|
97
|
-
[[ -z $cron_line ]] && cron_line=$(grep "cron " $file | awk -F "cron \"" '{print $2}' | awk -F "\" " '{print $1}' | head -1 | xargs)
|
|
102
|
+
[[ -z $cron_line ]] && cron_line=$(grep "cron:" "$file" | awk -F ":" '{print $2}' | head -1 | xargs)
|
|
103
|
+
[[ -z $cron_line ]] && cron_line=$(grep "cron " "$file" | awk -F "cron \"" '{print $2}' | awk -F "\" " '{print $1}' | head -1 | xargs)
|
|
98
104
|
[[ -z $cron_line ]] && cron_line="$default_cron"
|
|
99
|
-
cron_name=$(grep "new Env" $file | awk -F "\(" '{print $2}' | awk -F "\)" '{print $1}' | sed 's:.*\('\''\|"\)\([^"'\'']*\)\('\''\|"\).*:\2:' | sed 's:"::g' | sed "s:'::g" | head -1)
|
|
100
|
-
[[ -z $cron_name ]] && cron_name=$(grep "name:" $file | awk -F ":" '{print $2}' | head -1 | xargs)
|
|
105
|
+
cron_name=$(grep "new Env" "$file" | awk -F "\(" '{print $2}' | awk -F "\)" '{print $1}' | sed 's:.*\('\''\|"\)\([^"'\'']*\)\('\''\|"\).*:\2:' | sed 's:"::g' | sed "s:'::g" | head -1)
|
|
106
|
+
[[ -z $cron_name ]] && cron_name=$(grep "name:" "$file" | awk -F ":" '{print $2}' | head -1 | xargs)
|
|
101
107
|
[[ -z $cron_name ]] && cron_name=$(basename "$file_name")
|
|
102
108
|
cron_name=${cron_name//$'\r'/}
|
|
103
109
|
cron_line=${cron_line//$'\r'/}
|
|
104
|
-
|
|
110
|
+
operand=$file
|
|
111
|
+
if [[ ! $file =~ ^[[:alnum:]_./-]+$ ]]; then
|
|
112
|
+
local escaped_quote="'\\''"
|
|
113
|
+
operand="'${file//\'/$escaped_quote}'"
|
|
114
|
+
fi
|
|
115
|
+
result=$(add_cron_api "$cron_line" "${cmd_task} ${operand}" "$cron_name" "$SUB_ID") || { printf '%s\n' "$result" >&2; return 1; }
|
|
105
116
|
echo -e "$result"
|
|
106
117
|
if [[ $detail ]]; then
|
|
107
118
|
detail="${detail}${result}\n"
|
|
@@ -109,7 +120,7 @@ add_cron() {
|
|
|
109
120
|
detail="${result}\n"
|
|
110
121
|
fi
|
|
111
122
|
fi
|
|
112
|
-
done
|
|
123
|
+
done < "$list_add"
|
|
113
124
|
notify_api "$(t '%s 新增任务' "$path")" "$detail"
|
|
114
125
|
}
|
|
115
126
|
|
|
@@ -131,17 +142,18 @@ update_repo() {
|
|
|
131
142
|
|
|
132
143
|
local repo_path="${dir_repo}/${uniq_path}"
|
|
133
144
|
|
|
134
|
-
|
|
145
|
+
python3 "${dir_shell:-$QL_DIR/shell}/subscription-files.py" parent "$dir_repo" "$uniq_path" || return 1
|
|
135
146
|
|
|
136
147
|
local formatUrl="$url"
|
|
137
|
-
rm -rf $
|
|
138
|
-
git_clone_scripts "${formatUrl}" $
|
|
148
|
+
rm -rf -- "$repo_path" || return 1
|
|
149
|
+
git_clone_scripts "${formatUrl}" "$repo_path" "${branch}" "${proxy}"
|
|
139
150
|
|
|
140
151
|
if [[ $exit_status -eq 0 ]]; then
|
|
141
152
|
t '拉取 %s 成功...\n' "${uniq_path}"
|
|
142
153
|
diff_scripts "$repo_path" "$author" "$path" "$blackword" "$dependence" "$extensions" "$autoAddCron" "$autoDelCron"
|
|
143
154
|
else
|
|
144
155
|
t '拉取 %s 失败,请检查日志...\n' "${uniq_path}"
|
|
156
|
+
return 1
|
|
145
157
|
fi
|
|
146
158
|
}
|
|
147
159
|
|
|
@@ -164,8 +176,11 @@ update_raw() {
|
|
|
164
176
|
local raw_file_name="${uniq_path}.${suffix}"
|
|
165
177
|
t '开始下载:%s 保存路径:%s\n' "${raw_url}" "$dir_raw/${raw_file_name}"
|
|
166
178
|
|
|
179
|
+
[[ $raw_file_name != */* && $raw_file_name != .* ]] || return 1
|
|
180
|
+
local incoming
|
|
181
|
+
incoming=$(mktemp "$dir_raw/.ql-download.XXXXXXXX") || return 1
|
|
167
182
|
set_proxy "$proxy"
|
|
168
|
-
if wget -q --no-check-certificate -O "$
|
|
183
|
+
if wget -q --no-check-certificate -O "$incoming" "$raw_url"; then
|
|
169
184
|
exit_status=0
|
|
170
185
|
else
|
|
171
186
|
exit_status=$?
|
|
@@ -173,38 +188,30 @@ update_raw() {
|
|
|
173
188
|
unset_proxy
|
|
174
189
|
|
|
175
190
|
if [[ $exit_status -eq 0 ]]; then
|
|
176
|
-
|
|
191
|
+
python3 "${dir_shell:-$QL_DIR/shell}/subscription-files.py" copy "$incoming" "$dir_raw" "$raw_file_name" || { rm -f -- "$incoming"; return 1; }
|
|
192
|
+
rm -f -- "$incoming"
|
|
177
193
|
t '下载 %s 成功...\n' "${raw_file_name}"
|
|
178
194
|
cd "$dir_raw" || return $?
|
|
179
195
|
local filename="raw_${raw_file_name}"
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
}" | sort -u | head -1
|
|
196
|
+
python3 "${dir_shell:-$QL_DIR/shell}/subscription-files.py" copy "$raw_file_name" "$dir_scripts" "$filename" || return 1
|
|
197
|
+
if [[ ${autoAddCron} == true ]]; then
|
|
198
|
+
local work
|
|
199
|
+
work=$(mktemp -d "$dir_raw/.ql-register.XXXXXXXX") || return 1
|
|
200
|
+
(
|
|
201
|
+
# Reuse the repository operand decoder and metadata extraction. Do not
|
|
202
|
+
# interpolate a filename into Perl, grep, or a shell command.
|
|
203
|
+
python3 "${dir_shell:-$QL_DIR/shell}/subscription-files.py" registered "$list_crontab_user" "$cmd_task" "$filename" raw > "$work/registered" || exit 1
|
|
204
|
+
[[ -s $work/registered ]] && exit 0
|
|
205
|
+
printf '%s\n' "$filename" > "$work/added" || exit 1
|
|
206
|
+
add_cron "$work/added" raw
|
|
192
207
|
)
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
[[ -z $cron_line ]] && cron_line=$(grep "cron " $raw_file_name | awk -F "cron \"" '{print $2}' | awk -F "\" " '{print $1}' | head -1 | xargs)
|
|
197
|
-
[[ -z $cron_line ]] && cron_line="$default_cron"
|
|
198
|
-
cron_name=${cron_name//$'\r'/}
|
|
199
|
-
cron_line=${cron_line//$'\r'/}
|
|
200
|
-
result=$(add_cron_api "$cron_line" "${cmd_task} ${filename}" "$cron_name" "$SUB_ID")
|
|
201
|
-
echo -e "$result\n"
|
|
202
|
-
notify_api "$(t '新增任务通知')" "\n$result"
|
|
203
|
-
# update_cron_api "$cron_line:$cmd_task $filename:$cron_name:$cron_id"
|
|
208
|
+
local status=$?
|
|
209
|
+
rm -r -- "$work"
|
|
210
|
+
return "$status"
|
|
204
211
|
fi
|
|
205
212
|
else
|
|
206
213
|
t '下载 %s 失败,保留之前正常下载的版本...\n' "${raw_file_name}"
|
|
207
|
-
[[ -f "$
|
|
214
|
+
[[ -f "$incoming" ]] && rm -f "$incoming"
|
|
208
215
|
return "$exit_status"
|
|
209
216
|
fi
|
|
210
217
|
|
|
@@ -321,13 +328,15 @@ update_qinglong() {
|
|
|
321
328
|
|
|
322
329
|
# Preserve the updater's status through both tee and the final timing output.
|
|
323
330
|
run_update_logged() (
|
|
324
|
-
set -o pipefail
|
|
325
331
|
if [[ "$real_time" == 'true' ]]; then
|
|
326
332
|
"$@"
|
|
327
333
|
elif [[ "$no_tee" == 'true' ]]; then
|
|
328
334
|
"$@" >>"$file_path" 2>&1
|
|
329
335
|
else
|
|
330
336
|
"$@" 2>&1 | tee -a "$file_path"
|
|
337
|
+
local statuses=("${PIPESTATUS[@]}")
|
|
338
|
+
if [[ ${statuses[0]} -ne 0 ]]; then return "${statuses[0]}"; fi
|
|
339
|
+
return "${statuses[1]}"
|
|
331
340
|
fi
|
|
332
341
|
)
|
|
333
342
|
|
|
@@ -350,25 +359,25 @@ diff_scripts() {
|
|
|
350
359
|
autoDelCron=${AutoDelCron}
|
|
351
360
|
fi
|
|
352
361
|
|
|
353
|
-
gen_list_repo "$repo_path" "$author" "$path" "$blackword" "$dependence" "$extensions"
|
|
362
|
+
gen_list_repo "$repo_path" "$author" "$path" "$blackword" "$dependence" "$extensions" || return 1
|
|
354
363
|
|
|
355
364
|
local list_add="$dir_list_tmp/${uniq_path}_add.list"
|
|
356
365
|
local list_drop="$dir_list_tmp/${uniq_path}_drop.list"
|
|
357
|
-
diff_cron "$dir_list_tmp/${uniq_path}_scripts.list" "$dir_list_tmp/${uniq_path}_user.list" $list_add $list_drop
|
|
366
|
+
diff_cron "$dir_list_tmp/${uniq_path}_scripts.list" "$dir_list_tmp/${uniq_path}_user.list" "$list_add" "$list_drop" || return 1
|
|
358
367
|
|
|
359
368
|
if [[ -s $list_drop ]]; then
|
|
360
|
-
output_list_add_drop $list_drop "失效"
|
|
369
|
+
output_list_add_drop "$list_drop" "失效"
|
|
361
370
|
if [[ ${autoDelCron} == true ]]; then
|
|
362
|
-
del_cron $list_drop $uniq_path
|
|
371
|
+
del_cron "$list_drop" "$uniq_path" || return 1
|
|
363
372
|
fi
|
|
364
373
|
fi
|
|
365
374
|
if [[ -s $list_add ]]; then
|
|
366
|
-
output_list_add_drop $list_add "新"
|
|
375
|
+
output_list_add_drop "$list_add" "新"
|
|
367
376
|
if [[ ${autoAddCron} == true ]]; then
|
|
368
|
-
add_cron $list_add $uniq_path
|
|
377
|
+
add_cron "$list_add" "$uniq_path" || return 1
|
|
369
378
|
fi
|
|
370
379
|
fi
|
|
371
|
-
cd $dir_current
|
|
380
|
+
cd "$dir_current"
|
|
372
381
|
}
|
|
373
382
|
|
|
374
383
|
## 生成脚本的路径清单文件
|
|
@@ -380,64 +389,14 @@ gen_list_repo() {
|
|
|
380
389
|
local blackword="$4"
|
|
381
390
|
local dependence="$5"
|
|
382
391
|
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
IFS=$' \t\n' read -r -a extensions <<< "$extension_string"
|
|
392
|
-
local extension
|
|
393
|
-
for extension in "${extensions[@]}"; do
|
|
394
|
-
if [[ ${#find_args[@]} -gt 0 ]]; then
|
|
395
|
-
find_args+=(-o)
|
|
396
|
-
fi
|
|
397
|
-
find_args+=(-name "*.${extension}")
|
|
398
|
-
done
|
|
399
|
-
files=$(find . "${find_args[@]}" | sed 's/^..//')
|
|
400
|
-
if [[ $path ]]; then
|
|
401
|
-
files=$(echo "$files" | egrep "$path")
|
|
402
|
-
fi
|
|
403
|
-
if [[ $blackword ]]; then
|
|
404
|
-
files=$(echo "$files" | egrep -v "$blackword")
|
|
405
|
-
fi
|
|
406
|
-
|
|
407
|
-
cp -f $file_notify_js "${dir_scripts}/${uniq_path}"
|
|
408
|
-
cp -f $file_notify_py "${dir_scripts}/${uniq_path}"
|
|
409
|
-
|
|
410
|
-
if [[ $dependence ]]; then
|
|
411
|
-
cd ${repo_path}
|
|
412
|
-
results=$(find . "${find_args[@]}" | sed 's/^..//' | egrep "$dependence")
|
|
413
|
-
for _file in ${results}; do
|
|
414
|
-
file_path=$(dirname $_file)
|
|
415
|
-
make_dir "${dir_scripts}/${uniq_path}/${file_path}"
|
|
416
|
-
cp -f $_file "${dir_scripts}/${uniq_path}/${file_path}"
|
|
417
|
-
done
|
|
418
|
-
fi
|
|
419
|
-
|
|
420
|
-
if [[ -d $dir_dep ]]; then
|
|
421
|
-
cp -rf $dir_dep/* "${dir_scripts}/${uniq_path}" &>/dev/null
|
|
422
|
-
fi
|
|
423
|
-
|
|
424
|
-
for file in ${files}; do
|
|
425
|
-
dirPath=$(dirname "$file")
|
|
426
|
-
filename=$(basename "$file")
|
|
427
|
-
filePath="${uniq_path}/${filename}"
|
|
428
|
-
if [[ $dirPath ]] && [[ $dirPath != '.' ]]; then
|
|
429
|
-
mkdir -p "${dir_scripts}/${uniq_path}/${dirPath}"
|
|
430
|
-
filePath="${uniq_path}/${dirPath}/${filename}"
|
|
431
|
-
fi
|
|
432
|
-
cp -f $file "${dir_scripts}/$filePath"
|
|
433
|
-
echo "$filePath" >>"$dir_list_tmp/${uniq_path}_scripts.list"
|
|
434
|
-
# cron_id=$(cat $list_crontab_user | grep -E "$cmd_task.* ${uniq_path}_${filename}" | perl -pe "s|.*ID=(.*) $cmd_task.* ${uniq_path}_${filename}\.*|\1|" | head -1 | awk -F " " '{print $1}')
|
|
435
|
-
# if [[ $cron_id ]]; then
|
|
436
|
-
# result=$(update_cron_command_api "$cmd_task ${uniq_path}/${filename}:$cron_id")
|
|
437
|
-
# fi
|
|
438
|
-
done
|
|
439
|
-
grep -E "${cmd_task}.* ${uniq_path}" ${list_crontab_user} | perl -pe "s|.*ID=(.*) ${cmd_task}.* (${uniq_path}.*)\.*|\2|" | awk -F " " '{print $1}' | sort -u >"$dir_list_tmp/${uniq_path}_user.list"
|
|
440
|
-
cd $dir_current
|
|
392
|
+
local scripts_list="$dir_list_tmp/${uniq_path}_scripts.list"
|
|
393
|
+
mkdir -p "$(dirname "$scripts_list")" || return 1
|
|
394
|
+
python3 "${dir_shell:-$QL_DIR/shell}/subscription-files.py" repo "$repo_path" "$dir_scripts" "$uniq_path" "$scripts_list" \
|
|
395
|
+
"$dir_dep" "$file_notify_js" "$file_notify_py" "$path" "$blackword" "$dependence" "${6:-$file_extensions}" || return 1
|
|
396
|
+
python3 "${dir_shell:-$QL_DIR/shell}/subscription-files.py" registered "$list_crontab_user" "$cmd_task" "$uniq_path" repo \
|
|
397
|
+
> "$dir_list_tmp/${uniq_path}_registered.list" || return 1
|
|
398
|
+
cut -f2 "$dir_list_tmp/${uniq_path}_registered.list" | sort -u > "$dir_list_tmp/${uniq_path}_user.list" || return 1
|
|
399
|
+
cd "$dir_current"
|
|
441
400
|
}
|
|
442
401
|
|
|
443
402
|
get_uniq_path() {
|
|
@@ -486,7 +445,9 @@ main() {
|
|
|
486
445
|
local log_dir="${p1}"
|
|
487
446
|
make_dir "$dir_log/$log_dir"
|
|
488
447
|
local log_time=$(date "+%Y-%m-%d-%H-%M-%S")
|
|
489
|
-
local
|
|
448
|
+
local run_suffix=""
|
|
449
|
+
[[ ${QL_TRIGGER_ID:-} =~ ^[a-z0-9-]{1,120}$ ]] && run_suffix="-$QL_TRIGGER_ID"
|
|
450
|
+
local log_path="${real_log_path:-${log_dir}/${log_time}${run_suffix}.log}"
|
|
490
451
|
local file_path="$dir_log/$log_path"
|
|
491
452
|
|
|
492
453
|
printf -v cmd '2>&1 | tee -a %q' "$file_path"
|
|
@@ -509,6 +470,8 @@ main() {
|
|
|
509
470
|
eval "printf '%s\n' $start_message $cmd"
|
|
510
471
|
fi
|
|
511
472
|
|
|
473
|
+
local ql_execution_id=""
|
|
474
|
+
if [[ -n $ID && -z ${QL_TRIGGER_ID:-} ]]; then init_execution_id || return 1; fi
|
|
512
475
|
[[ $ID ]] && update_cron "\"$ID\"" "0" "$$" "$log_path" "$begin_timestamp"
|
|
513
476
|
|
|
514
477
|
local command_status=0
|
|
@@ -524,12 +487,14 @@ main() {
|
|
|
524
487
|
command_status=$?
|
|
525
488
|
;;
|
|
526
489
|
extra)
|
|
527
|
-
|
|
490
|
+
run_update_logged run_extra_shell
|
|
491
|
+
command_status=$?
|
|
528
492
|
;;
|
|
529
493
|
repo)
|
|
530
494
|
get_uniq_path "$p2" "$p6"
|
|
531
495
|
if [[ -n $p2 ]]; then
|
|
532
496
|
update_repo "$p2" "$p3" "$p4" "$p5" "$p6" "$p7" "$p8" "$p9" "$p10"
|
|
497
|
+
command_status=$?
|
|
533
498
|
else
|
|
534
499
|
t '命令输入错误...\n'
|
|
535
500
|
eval usage $cmd
|
|
@@ -576,7 +541,10 @@ main() {
|
|
|
576
541
|
local end_time=$(format_time "$time_format" "$etime")
|
|
577
542
|
local end_timestamp=$(format_timestamp "$time_format" "$etime")
|
|
578
543
|
local diff_time=$(($end_timestamp - $begin_timestamp))
|
|
579
|
-
[[ $ID ]]
|
|
544
|
+
if [[ $ID ]]; then
|
|
545
|
+
update_cron "\"$ID\"" "1" "$$" "$log_path" "$begin_timestamp" "$diff_time" "$command_status" "$end_timestamp"
|
|
546
|
+
record_cron_stat "$ID" "$command_status" "$diff_time" "$end_timestamp"
|
|
547
|
+
fi
|
|
580
548
|
|
|
581
549
|
if [[ "$p1" != "repo" ]] && [[ "$p1" != "raw" ]]; then
|
|
582
550
|
local end_message
|